mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-04 05:41:34 +00:00
fix: preserve warm-remount viewport through layout settle (#437)
Issue: #437 User-Visible: yes
This commit is contained in:
@@ -1,309 +1,309 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1",
|
||||
"fingerprint": "70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 298523,
|
||||
"initialViewGzipBytes": 298547,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-card.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 300826,
|
||||
"initialPanelGzipBytes": 300852,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2303,
|
||||
"initialPanelOnlyGzipBytes": 2305,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/de-D1lyRDSs.js",
|
||||
"houseplan-assets/editor-lgrAaUD9.js",
|
||||
"houseplan-assets/fr-DuFtkVup.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-DfB9e3vR.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CvhAzTZe.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Czi0VT2U.js",
|
||||
"houseplan-assets/iso-scene-render-BglwmJlz.js",
|
||||
"houseplan-assets/live-interaction-runtime-D5RNv_dx.js",
|
||||
"houseplan-assets/pdf-export-Boz4I84E.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CHQAgpMO.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DxZLAXKj.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
],
|
||||
"lazyGzipBytes": 413636,
|
||||
"lazyGzipBytes": 413669,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/editor-lgrAaUD9.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-DfB9e3vR.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 205651,
|
||||
"lazyEditorGzipBytes": 205658,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CvhAzTZe.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14150,
|
||||
"lazyOnboardingGzipBytes": 14154,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-D1lyRDSs.js",
|
||||
"houseplan-assets/fr-DuFtkVup.js"
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 54843,
|
||||
"lazyLocaleGzipBytes": 54857,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/iso-scene-render-BglwmJlz.js"
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13457,
|
||||
"lazyIsometricGzipBytes": 13459,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10254,
|
||||
"lazyFurnitureArtGzipBytes": 10252,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/pdf-export-Boz4I84E.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120369,
|
||||
"lazyPdfGzipBytes": 120367,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"sha256": "8daf328b67655e2a556adbbd294188e2af2020be1261df12c3aa2ba1585a5e97",
|
||||
"path": "houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"sha256": "cad3801b116c319f5c74e3bd1294899f3a05a1ea0c325e042c5e2a7c89d00903",
|
||||
"rawBytes": 21134,
|
||||
"gzipBytes": 7146,
|
||||
"gzipBytes": 7147,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-D1lyRDSs.js",
|
||||
"sha256": "7fda9841d30133385841f9aedc0f45d0d9e4aa77c209d3c649c858951650107e",
|
||||
"path": "houseplan-assets/de-nGTPTdoo.js",
|
||||
"sha256": "e85f22134eb98b1f56a0567c580cb12da8c145a44307ec604426bd6f9288dfe7",
|
||||
"rawBytes": 91441,
|
||||
"gzipBytes": 27706,
|
||||
"gzipBytes": 27712,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-lgrAaUD9.js",
|
||||
"sha256": "266f9e80f401865f95b362367916f317f2ba076a0bd2f4e6ea6e1d6aeb538f40",
|
||||
"path": "houseplan-assets/editor-DA8l9uCi.js",
|
||||
"sha256": "7ef64d26b6c4b954baa4f8ee562a1f73e8899bafb7a4f29a5eb2aeb3b2a92bd0",
|
||||
"rawBytes": 3837,
|
||||
"gzipBytes": 1586,
|
||||
"gzipBytes": 1587,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-DuFtkVup.js",
|
||||
"sha256": "add00c412b5b57697b256b44e0a5b5af33a019c8e94c16dd379bd94b33bba900",
|
||||
"path": "houseplan-assets/fr-C1gyl7vY.js",
|
||||
"sha256": "e9a1092ecd124a224fc256c49d92593656ccf5202d1c78774b5afde09a6df180",
|
||||
"rawBytes": 93719,
|
||||
"gzipBytes": 27137,
|
||||
"gzipBytes": 27145,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"sha256": "014a9ac1b7ddaa69969f6f68f470bf620942491aeeb5ee6b2be20d6be61548fa",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"sha256": "5865fccbd2b13932393330b2046250cba24705503689a0bf15ff141601a712f0",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10254,
|
||||
"gzipBytes": 10252,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-DgMIHj84.js",
|
||||
"sha256": "a2d67c97e80e0890134b6d44f0ec860ffd45691e1ae7ed3fa76eb53d5a309fd0",
|
||||
"path": "houseplan-assets/guard-CzD_keK6.js",
|
||||
"sha256": "c4f49cd249997eac2ef66cb591b53c615c4c0797c08f3c048512ea1a18aee988",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 371,
|
||||
"gzipBytes": 370,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"sha256": "9127b6a1d77376370b0a0586dfefeabde910a521b7fb2c947997fdba1629f3d0",
|
||||
"rawBytes": 1075116,
|
||||
"gzipBytes": 297720,
|
||||
"path": "houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"sha256": "10a467bac4d4b8836b432029825a2f7737b8a4a66fffb1d103f4a49c025bc564",
|
||||
"rawBytes": 1075238,
|
||||
"gzipBytes": 297743,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-D1lyRDSs.js",
|
||||
"houseplan-assets/editor-lgrAaUD9.js",
|
||||
"houseplan-assets/fr-DuFtkVup.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-DfB9e3vR.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CvhAzTZe.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Czi0VT2U.js",
|
||||
"houseplan-assets/iso-scene-render-BglwmJlz.js",
|
||||
"houseplan-assets/live-interaction-runtime-D5RNv_dx.js",
|
||||
"houseplan-assets/pdf-export-Boz4I84E.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CHQAgpMO.js"
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-DfB9e3vR.js",
|
||||
"sha256": "fb5a1456cb115c6ee2b75d0356dbf589ebb1e93002557fb5ddea01c054730e05",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"sha256": "2bdb3f90f18a4c7a9a909af738ae54e1ef924f2c8c84453648892e6656516561",
|
||||
"rawBytes": 671979,
|
||||
"gzipBytes": 178870,
|
||||
"gzipBytes": 178872,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-DxZLAXKj.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CvhAzTZe.js",
|
||||
"sha256": "ca2188fff158fcbb404462389251e9d7b4cf8cbe56e98fd053cd5851cc0b77a7",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"sha256": "a2e0d20389d711e9bc41438ed318e23af7eab7b3773cd6e58753f47807a51fdd",
|
||||
"rawBytes": 28237,
|
||||
"gzipBytes": 7004,
|
||||
"gzipBytes": 7007,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-Czi0VT2U.js",
|
||||
"sha256": "3a34abbf403d129195055f64a7d6a9f19df801fa120e7a2e3808fe9c8e9d8593",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"sha256": "954621f632a72b57184f70136d87666969e5dbbde5d6f78e000f1ac2d11e5499",
|
||||
"rawBytes": 11034,
|
||||
"gzipBytes": 3731,
|
||||
"gzipBytes": 3732,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DxZLAXKj.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-BglwmJlz.js",
|
||||
"sha256": "9f0284aad78b24f6e4ac84f79ec1127ebdb86f504f295520b38bfdf829f85cd3",
|
||||
"path": "houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"sha256": "265cfc72e1922c62a4535ea04955d99213e0f719115fea097066701005a46c81",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13086,
|
||||
"gzipBytes": 13089,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-D5RNv_dx.js",
|
||||
"sha256": "81465c964acdfdb860d23edc611e833ff1b1deea4acb643358558a4a7a121018",
|
||||
"path": "houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"sha256": "84c7793939c5d649463897893db149b64d257234eefe36815891b6210bd35df6",
|
||||
"rawBytes": 5196,
|
||||
"gzipBytes": 2126,
|
||||
"gzipBytes": 2127,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-Boz4I84E.js",
|
||||
"sha256": "1c7800087f82ef30f2dcd659be2bd37260d3698f03e6ecf5a7fba45ea2a5b4a0",
|
||||
"path": "houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"sha256": "c1cdd8e42c0a6539af145fffc4138a5c264474d9b3e39ba30f2771a508ef5675",
|
||||
"rawBytes": 237254,
|
||||
"gzipBytes": 110115,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-B7ucltA6.js",
|
||||
"sha256": "7bd08293bd526219f414e084f8af606a09d95ac4c4b17fb39ea9b32451b5edb8",
|
||||
"path": "houseplan-assets/summary-panel-editor-B0TCgUcx.js",
|
||||
"sha256": "90aa92db1748d65671ac38b5f2cd7e6698bd5f86a7f13412ffa3a993986ed529",
|
||||
"rawBytes": 12383,
|
||||
"gzipBytes": 3103,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CHQAgpMO.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-D4VvRuye.js",
|
||||
"sha256": "e7c5b69918b88cce30ba458820ca682ef102e51eb988da8f08eb892af6acc15e",
|
||||
"path": "houseplan-assets/summary-panel-metrics-BveagTF7.js",
|
||||
"sha256": "bbe591663dc5cb8809a361bdc557010ddfe30c1547a16b785fe3dbbc35b0ad6c",
|
||||
"rawBytes": 2195,
|
||||
"gzipBytes": 1122,
|
||||
"gzipBytes": 1123,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-CHQAgpMO.js",
|
||||
"sha256": "bf1aea8dc1d8277e2ec4101a1ee488078df41662e3429548f320875112641775",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js",
|
||||
"sha256": "f1d30cd17d6bd9bd2b2f21eb1001d26a540b1d2e529e3bdad39e37f2c726b5ab",
|
||||
"rawBytes": 52125,
|
||||
"gzipBytes": 15317,
|
||||
"gzipBytes": 15319,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-B7ucltA6.js",
|
||||
"houseplan-assets/summary-panel-metrics-D4VvRuye.js"
|
||||
"houseplan-assets/summary-panel-editor-B0TCgUcx.js",
|
||||
"houseplan-assets/summary-panel-metrics-BveagTF7.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-CaqT0vlN.js",
|
||||
"sha256": "625665f76eb5b33262af9c6e12e30d7fa8a95784eb2a21125d94cd74a3b67fc1",
|
||||
"path": "houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"sha256": "8630335b3868cbb6baa4ca8b82c6270026f007d64b107e3565439c52586d0c4a",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7424,
|
||||
"gzipBytes": 7430,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DxZLAXKj.js",
|
||||
"sha256": "3a2c4a5a0ae395cba0ea36841d906253fe90c209bbd59a814f635c7600ff781f",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js",
|
||||
"sha256": "7f2b9b9f0230d88a2a40f641ca6acfbaaedd7bb6c175a0ae5fc4d1189c8ca66b",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1763,
|
||||
"gzipBytes": 1765,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "2154be7b4ac2d7202484953fbec98bbb117dcef092e548e002bb93e06dd6e17b",
|
||||
"sha256": "25dc85e2280b45658b4b32fd99d588db45af45f1940e355138be2b948e78c3b8",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 803,
|
||||
"gzipBytes": 804,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "c2b45225d60daacc6b9022bb6dc7fc58eea3a8d496df2950ab6b9281845a41f4",
|
||||
"sha256": "e3326265c2ea31f9fb04404fd6b7922655fdb325de2820b67ab2550383393342",
|
||||
"rawBytes": 6124,
|
||||
"gzipBytes": 2303,
|
||||
"gzipBytes": 2305,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-card.js"
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{t as e,l as o,x as t,e5 as s,A as a,e6 as i,e7 as l,e8 as n,dV as r,b as c}from"./houseplan-card-Dp-WMK_A.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{t as e,l as o,x as t,e5 as s,A as a,e6 as i,e7 as l,e8 as n,dV as r,b as c}from"./houseplan-card-Qyj7-UrB.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
.hass=${this.hass}
|
||||
.data=${this._formData}
|
||||
.schema=${e}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{dT as r,dU as t,dV as e}from"./houseplan-card-Qyj7-UrB.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{dT as r,dU as t,dV as s}from"./houseplan-card-Dp-WMK_A.js";const e={},a=r(class extends t{constructor(){super(...arguments),this.ot=e}render(r,t){return t()}update(r,[t,e]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return s}else if(this.ot===t)return s;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,e)}});export{a as i};
|
||||
+7
-7
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+28
-28
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+8
-8
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{b as e,A as t}from"./houseplan-card-Dp-WMK_A.js";import{s as a,n as s,m as l,a as o,b as i,c as r}from"./summary-panel-runtime-loaded-CHQAgpMO.js";const c=c=>{const{host:u,dialog:n,local:m,problems:d,t:p}=c,$=d.find(e=>"error"===e.kind),b=n.localShow!==n.baseLocalShow||!n.localOnly&&!a(s(n.draft),n.base),y=b&&!n.busy&&!$,v=e=>d.find(t=>t.path===e),h=e=>e?p(`summary.problem.${e.code}`):"",k=()=>c.close(),g=e`<label class="summary-switch"><input type="checkbox"
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{b as e,A as t}from"./houseplan-card-Qyj7-UrB.js";import{s as a,n as s,m as l,a as o,b as i,c as r}from"./summary-panel-runtime-loaded-BgzYimug.js";const c=c=>{const{host:u,dialog:n,local:m,problems:d,t:p}=c,$=d.find(e=>"error"===e.kind),b=n.localShow!==n.baseLocalShow||!n.localOnly&&!a(s(n.draft),n.base),y=b&&!n.busy&&!$,v=e=>d.find(t=>t.path===e),h=e=>e?p(`summary.problem.${e.code}`):"",k=()=>c.close(),g=e`<label class="summary-switch"><input type="checkbox"
|
||||
.checked=${n.localShow}
|
||||
@change=${e=>c.setDialog({...n,localShow:e.target.checked})} />
|
||||
<span>${p("summary.show_local")}</span></label>`,_=e`<h3 class="summary-sizes-title">${p("summary.sizes_title")}</h3>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{az as e,ea as t,eb as n,bs as i,ec as r,P as a,a5 as s,M as o,aq as c,N as d,bq as l,bp as u,ed as f}from"./houseplan-card-Dp-WMK_A.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,d="device"===a?s:c?.device_id,l="device"===a?o?.area_id:c?.area_id||d&&t.registry.devices?.[d]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||l||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;d&&t.registry.devices?.[d]&&t.spaceIds.has(f)&&(!i.devices.has(d)||"entity"===a&&i.liveEntities.has(s))&&n.add(d)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,d)||t;g=m(g,l(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{az as e,ea as t,eb as n,bs as i,ec as r,P as a,a5 as s,M as o,aq as c,N as d,bq as l,bp as u,ed as f}from"./houseplan-card-Qyj7-UrB.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,d="device"===a?s:c?.device_id,l="device"===a?o?.area_id:c?.area_id||d&&t.registry.devices?.[d]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||l||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;d&&t.registry.devices?.[d]&&t.spaceIds.has(f)&&(!i.devices.has(d)||"entity"===a&&i.liveEntities.has(s))&&n.add(d)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,d)||t;g=m(g,l(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{n as t,b as n}from"./zigbee-topology-CaqT0vlN.js";import{F as e}from"./houseplan-card-Dp-WMK_A.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{n as t,b as n}from"./zigbee-topology-COnXLlyp.js";import{F as e}from"./houseplan-card-Qyj7-UrB.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";try{await import("./houseplan-assets/houseplan-card-Dp-WMK_A.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";try{await import("./houseplan-assets/houseplan-card-Qyj7-UrB.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -42,6 +42,29 @@ const res = await page.evaluate(async () => {
|
||||
};
|
||||
const rect = (c) => (c._view ? [c._view.x, c._view.y, c._view.w, c._view.h] : null);
|
||||
const same = (a, b) => JSON.stringify(a) === JSON.stringify(b);
|
||||
/** The source instance must contribute its final painted viewport to the
|
||||
* memo. Lazy editor chrome can deliver ResizeObserver after updateComplete;
|
||||
* a fixed sleep occasionally captured that intermediate box and then asked
|
||||
* the successor to preserve something the source itself would not keep. */
|
||||
const waitForStableView = async (c, quietMs = 250, timeout = 2500) => {
|
||||
const started = performance.now();
|
||||
let stableAt = started;
|
||||
let previous = '';
|
||||
while (performance.now() - started < timeout) {
|
||||
await new Promise((done) => requestAnimationFrame(done));
|
||||
const stage = (c.shadowRoot || c.renderRoot).querySelector('.stage');
|
||||
const current = JSON.stringify({
|
||||
mode: c._mode,
|
||||
busy: c._modeTransitionBusy,
|
||||
stage: stage ? [stage.clientWidth, stage.clientHeight] : null,
|
||||
zoom: c._zoom,
|
||||
view: rect(c),
|
||||
});
|
||||
if (current !== previous) { previous = current; stableAt = performance.now(); }
|
||||
if (performance.now() - stableAt >= quietMs) return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
/** покадрово: ни один кадр после пересоздания не отличается от эталона */
|
||||
const watchView = async (c, zoom0, v0, ms = 700) => {
|
||||
const bad = [];
|
||||
@@ -49,13 +72,22 @@ const res = await page.evaluate(async () => {
|
||||
await new Promise((done) => {
|
||||
const s = () => {
|
||||
if (Math.abs(c._zoom - zoom0) > 1e-6 || !same(rect(c), v0)) {
|
||||
bad.push({ t: Math.round(performance.now() - t1), zoom: c._zoom, v: rect(c) });
|
||||
const stage = (c.shadowRoot || c.renderRoot).querySelector('.stage');
|
||||
const chrome = (c.shadowRoot || c.renderRoot).querySelector('.editorchrome');
|
||||
bad.push({
|
||||
t: Math.round(performance.now() - t1), zoom: c._zoom, v: rect(c),
|
||||
stage: stage ? [stage.clientWidth, stage.clientHeight] : null,
|
||||
chrome: chrome ? [chrome.clientWidth, chrome.clientHeight, chrome.scrollHeight] : null,
|
||||
hdrH: c._hdrH,
|
||||
transition: [c._modeTransitionPreparing, c._modeTransitionBusy],
|
||||
memo: c._warmSlot ? [c._warmSlot.hdrH, c._warmSlot.stageH] : null,
|
||||
});
|
||||
}
|
||||
if (performance.now() - t1 < ms) requestAnimationFrame(s); else done();
|
||||
};
|
||||
requestAnimationFrame(s);
|
||||
});
|
||||
return bad.length === 0 ? true : `кадр ${bad[0].t}мс: zoom=${bad[0].zoom} view=${JSON.stringify(bad[0].v)} (ждали ${zoom0} / ${JSON.stringify(v0)})`;
|
||||
return bad.length === 0 ? true : `кадр ${bad[0].t}мс: ${JSON.stringify(bad[0])} (ждали zoom=${zoom0} view=${JSON.stringify(v0)})`;
|
||||
};
|
||||
|
||||
// ================= A. просмотр: пан+зум и настройки пространства ==========
|
||||
@@ -63,7 +95,8 @@ const res = await page.evaluate(async () => {
|
||||
await settle(c);
|
||||
c._applyView(2.4, 260, 720); // зум в угол — вид точно не по центру
|
||||
c._saveZoom();
|
||||
c.requestUpdate(); await c.updateComplete; await sleep(100);
|
||||
c.requestUpdate(); await c.updateComplete;
|
||||
out.aSourceSettled = await waitForStableView(c);
|
||||
const zoomA = c._zoom, viewA = rect(c);
|
||||
out.aPanned = viewA[0] > 1 || viewA[1] > 1; // sanity: вид действительно смещён
|
||||
await c._ensureEditorRuntime();
|
||||
@@ -88,7 +121,8 @@ const res = await page.evaluate(async () => {
|
||||
// ================= B. редактор устройств: зум редактора + карточка =======
|
||||
await c._requestMode('devices'); await c.updateComplete;
|
||||
await waitFor(() => !c._modeTransitionBusy);
|
||||
c._applyView(3.4, 430, 380); c.requestUpdate(); await c.updateComplete; await sleep(100);
|
||||
c._applyView(3.4, 430, 380); c.requestUpdate(); await c.updateComplete;
|
||||
out.bSourceSettled = await waitForStableView(c);
|
||||
const zoomB = c._zoom, viewB = rect(c);
|
||||
const dev = c._devices.find((d) => d.space === c._space);
|
||||
c._openMarkerDialog(dev); await c.updateComplete;
|
||||
|
||||
Vendored
+140
-140
@@ -1,309 +1,309 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1",
|
||||
"fingerprint": "70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 298523,
|
||||
"initialViewGzipBytes": 298547,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-card.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 300826,
|
||||
"initialPanelGzipBytes": 300852,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2303,
|
||||
"initialPanelOnlyGzipBytes": 2305,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/de-D1lyRDSs.js",
|
||||
"houseplan-assets/editor-lgrAaUD9.js",
|
||||
"houseplan-assets/fr-DuFtkVup.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-DfB9e3vR.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CvhAzTZe.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Czi0VT2U.js",
|
||||
"houseplan-assets/iso-scene-render-BglwmJlz.js",
|
||||
"houseplan-assets/live-interaction-runtime-D5RNv_dx.js",
|
||||
"houseplan-assets/pdf-export-Boz4I84E.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CHQAgpMO.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DxZLAXKj.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
],
|
||||
"lazyGzipBytes": 413636,
|
||||
"lazyGzipBytes": 413669,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/editor-lgrAaUD9.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-DfB9e3vR.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 205651,
|
||||
"lazyEditorGzipBytes": 205658,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CvhAzTZe.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14150,
|
||||
"lazyOnboardingGzipBytes": 14154,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-D1lyRDSs.js",
|
||||
"houseplan-assets/fr-DuFtkVup.js"
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 54843,
|
||||
"lazyLocaleGzipBytes": 54857,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/iso-scene-render-BglwmJlz.js"
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13457,
|
||||
"lazyIsometricGzipBytes": 13459,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10254,
|
||||
"lazyFurnitureArtGzipBytes": 10252,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/pdf-export-Boz4I84E.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120369,
|
||||
"lazyPdfGzipBytes": 120367,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"sha256": "8daf328b67655e2a556adbbd294188e2af2020be1261df12c3aa2ba1585a5e97",
|
||||
"path": "houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"sha256": "cad3801b116c319f5c74e3bd1294899f3a05a1ea0c325e042c5e2a7c89d00903",
|
||||
"rawBytes": 21134,
|
||||
"gzipBytes": 7146,
|
||||
"gzipBytes": 7147,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-D1lyRDSs.js",
|
||||
"sha256": "7fda9841d30133385841f9aedc0f45d0d9e4aa77c209d3c649c858951650107e",
|
||||
"path": "houseplan-assets/de-nGTPTdoo.js",
|
||||
"sha256": "e85f22134eb98b1f56a0567c580cb12da8c145a44307ec604426bd6f9288dfe7",
|
||||
"rawBytes": 91441,
|
||||
"gzipBytes": 27706,
|
||||
"gzipBytes": 27712,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-lgrAaUD9.js",
|
||||
"sha256": "266f9e80f401865f95b362367916f317f2ba076a0bd2f4e6ea6e1d6aeb538f40",
|
||||
"path": "houseplan-assets/editor-DA8l9uCi.js",
|
||||
"sha256": "7ef64d26b6c4b954baa4f8ee562a1f73e8899bafb7a4f29a5eb2aeb3b2a92bd0",
|
||||
"rawBytes": 3837,
|
||||
"gzipBytes": 1586,
|
||||
"gzipBytes": 1587,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-DuFtkVup.js",
|
||||
"sha256": "add00c412b5b57697b256b44e0a5b5af33a019c8e94c16dd379bd94b33bba900",
|
||||
"path": "houseplan-assets/fr-C1gyl7vY.js",
|
||||
"sha256": "e9a1092ecd124a224fc256c49d92593656ccf5202d1c78774b5afde09a6df180",
|
||||
"rawBytes": 93719,
|
||||
"gzipBytes": 27137,
|
||||
"gzipBytes": 27145,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"sha256": "014a9ac1b7ddaa69969f6f68f470bf620942491aeeb5ee6b2be20d6be61548fa",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"sha256": "5865fccbd2b13932393330b2046250cba24705503689a0bf15ff141601a712f0",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10254,
|
||||
"gzipBytes": 10252,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-DgMIHj84.js",
|
||||
"sha256": "a2d67c97e80e0890134b6d44f0ec860ffd45691e1ae7ed3fa76eb53d5a309fd0",
|
||||
"path": "houseplan-assets/guard-CzD_keK6.js",
|
||||
"sha256": "c4f49cd249997eac2ef66cb591b53c615c4c0797c08f3c048512ea1a18aee988",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 371,
|
||||
"gzipBytes": 370,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"sha256": "9127b6a1d77376370b0a0586dfefeabde910a521b7fb2c947997fdba1629f3d0",
|
||||
"rawBytes": 1075116,
|
||||
"gzipBytes": 297720,
|
||||
"path": "houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"sha256": "10a467bac4d4b8836b432029825a2f7737b8a4a66fffb1d103f4a49c025bc564",
|
||||
"rawBytes": 1075238,
|
||||
"gzipBytes": 297743,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-D1lyRDSs.js",
|
||||
"houseplan-assets/editor-lgrAaUD9.js",
|
||||
"houseplan-assets/fr-DuFtkVup.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-DfB9e3vR.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CvhAzTZe.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Czi0VT2U.js",
|
||||
"houseplan-assets/iso-scene-render-BglwmJlz.js",
|
||||
"houseplan-assets/live-interaction-runtime-D5RNv_dx.js",
|
||||
"houseplan-assets/pdf-export-Boz4I84E.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CHQAgpMO.js"
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-DfB9e3vR.js",
|
||||
"sha256": "fb5a1456cb115c6ee2b75d0356dbf589ebb1e93002557fb5ddea01c054730e05",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"sha256": "2bdb3f90f18a4c7a9a909af738ae54e1ef924f2c8c84453648892e6656516561",
|
||||
"rawBytes": 671979,
|
||||
"gzipBytes": 178870,
|
||||
"gzipBytes": 178872,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-DxZLAXKj.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CvhAzTZe.js",
|
||||
"sha256": "ca2188fff158fcbb404462389251e9d7b4cf8cbe56e98fd053cd5851cc0b77a7",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"sha256": "a2e0d20389d711e9bc41438ed318e23af7eab7b3773cd6e58753f47807a51fdd",
|
||||
"rawBytes": 28237,
|
||||
"gzipBytes": 7004,
|
||||
"gzipBytes": 7007,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-CTa3WCXT.js",
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-Czi0VT2U.js",
|
||||
"sha256": "3a34abbf403d129195055f64a7d6a9f19df801fa120e7a2e3808fe9c8e9d8593",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"sha256": "954621f632a72b57184f70136d87666969e5dbbde5d6f78e000f1ac2d11e5499",
|
||||
"rawBytes": 11034,
|
||||
"gzipBytes": 3731,
|
||||
"gzipBytes": 3732,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DxZLAXKj.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-BglwmJlz.js",
|
||||
"sha256": "9f0284aad78b24f6e4ac84f79ec1127ebdb86f504f295520b38bfdf829f85cd3",
|
||||
"path": "houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"sha256": "265cfc72e1922c62a4535ea04955d99213e0f719115fea097066701005a46c81",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13086,
|
||||
"gzipBytes": 13089,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-DgMIHj84.js",
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-D5RNv_dx.js",
|
||||
"sha256": "81465c964acdfdb860d23edc611e833ff1b1deea4acb643358558a4a7a121018",
|
||||
"path": "houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"sha256": "84c7793939c5d649463897893db149b64d257234eefe36815891b6210bd35df6",
|
||||
"rawBytes": 5196,
|
||||
"gzipBytes": 2126,
|
||||
"gzipBytes": 2127,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-Boz4I84E.js",
|
||||
"sha256": "1c7800087f82ef30f2dcd659be2bd37260d3698f03e6ecf5a7fba45ea2a5b4a0",
|
||||
"path": "houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"sha256": "c1cdd8e42c0a6539af145fffc4138a5c264474d9b3e39ba30f2771a508ef5675",
|
||||
"rawBytes": 237254,
|
||||
"gzipBytes": 110115,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-Cvo949Pp.js",
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-B7ucltA6.js",
|
||||
"sha256": "7bd08293bd526219f414e084f8af606a09d95ac4c4b17fb39ea9b32451b5edb8",
|
||||
"path": "houseplan-assets/summary-panel-editor-B0TCgUcx.js",
|
||||
"sha256": "90aa92db1748d65671ac38b5f2cd7e6698bd5f86a7f13412ffa3a993986ed529",
|
||||
"rawBytes": 12383,
|
||||
"gzipBytes": 3103,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CHQAgpMO.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-D4VvRuye.js",
|
||||
"sha256": "e7c5b69918b88cce30ba458820ca682ef102e51eb988da8f08eb892af6acc15e",
|
||||
"path": "houseplan-assets/summary-panel-metrics-BveagTF7.js",
|
||||
"sha256": "bbe591663dc5cb8809a361bdc557010ddfe30c1547a16b785fe3dbbc35b0ad6c",
|
||||
"rawBytes": 2195,
|
||||
"gzipBytes": 1122,
|
||||
"gzipBytes": 1123,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-CHQAgpMO.js",
|
||||
"sha256": "bf1aea8dc1d8277e2ec4101a1ee488078df41662e3429548f320875112641775",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js",
|
||||
"sha256": "f1d30cd17d6bd9bd2b2f21eb1001d26a540b1d2e529e3bdad39e37f2c726b5ab",
|
||||
"rawBytes": 52125,
|
||||
"gzipBytes": 15317,
|
||||
"gzipBytes": 15319,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-B7ucltA6.js",
|
||||
"houseplan-assets/summary-panel-metrics-D4VvRuye.js"
|
||||
"houseplan-assets/summary-panel-editor-B0TCgUcx.js",
|
||||
"houseplan-assets/summary-panel-metrics-BveagTF7.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-CaqT0vlN.js",
|
||||
"sha256": "625665f76eb5b33262af9c6e12e30d7fa8a95784eb2a21125d94cd74a3b67fc1",
|
||||
"path": "houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"sha256": "8630335b3868cbb6baa4ca8b82c6270026f007d64b107e3565439c52586d0c4a",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7424,
|
||||
"gzipBytes": 7430,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DxZLAXKj.js",
|
||||
"sha256": "3a2c4a5a0ae395cba0ea36841d906253fe90c209bbd59a814f635c7600ff781f",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js",
|
||||
"sha256": "7f2b9b9f0230d88a2a40f641ca6acfbaaedd7bb6c175a0ae5fc4d1189c8ca66b",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1763,
|
||||
"gzipBytes": 1765,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js",
|
||||
"houseplan-assets/zigbee-topology-CaqT0vlN.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "2154be7b4ac2d7202484953fbec98bbb117dcef092e548e002bb93e06dd6e17b",
|
||||
"sha256": "25dc85e2280b45658b4b32fd99d588db45af45f1940e355138be2b948e78c3b8",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 803,
|
||||
"gzipBytes": 804,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dp-WMK_A.js"
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "c2b45225d60daacc6b9022bb6dc7fc58eea3a8d496df2950ab6b9281845a41f4",
|
||||
"sha256": "e3326265c2ea31f9fb04404fd6b7922655fdb325de2820b67ab2550383393342",
|
||||
"rawBytes": 6124,
|
||||
"gzipBytes": 2303,
|
||||
"gzipBytes": 2305,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-card.js"
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{t as e,l as o,x as t,e5 as s,A as a,e6 as i,e7 as l,e8 as n,dV as r,b as c}from"./houseplan-card-Dp-WMK_A.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{t as e,l as o,x as t,e5 as s,A as a,e6 as i,e7 as l,e8 as n,dV as r,b as c}from"./houseplan-card-Qyj7-UrB.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
.hass=${this.hass}
|
||||
.data=${this._formData}
|
||||
.schema=${e}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{dT as r,dU as t,dV as e}from"./houseplan-card-Qyj7-UrB.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
-1
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{dT as r,dU as t,dV as s}from"./houseplan-card-Dp-WMK_A.js";const e={},a=r(class extends t{constructor(){super(...arguments),this.ot=e}render(r,t){return t()}update(r,[t,e]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return s}else if(this.ot===t)return s;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,e)}});export{a as i};
|
||||
Vendored
+7
-7
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+28
-28
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+8
-8
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{b as e,A as t}from"./houseplan-card-Dp-WMK_A.js";import{s as a,n as s,m as l,a as o,b as i,c as r}from"./summary-panel-runtime-loaded-CHQAgpMO.js";const c=c=>{const{host:u,dialog:n,local:m,problems:d,t:p}=c,$=d.find(e=>"error"===e.kind),b=n.localShow!==n.baseLocalShow||!n.localOnly&&!a(s(n.draft),n.base),y=b&&!n.busy&&!$,v=e=>d.find(t=>t.path===e),h=e=>e?p(`summary.problem.${e.code}`):"",k=()=>c.close(),g=e`<label class="summary-switch"><input type="checkbox"
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{b as e,A as t}from"./houseplan-card-Qyj7-UrB.js";import{s as a,n as s,m as l,a as o,b as i,c as r}from"./summary-panel-runtime-loaded-BgzYimug.js";const c=c=>{const{host:u,dialog:n,local:m,problems:d,t:p}=c,$=d.find(e=>"error"===e.kind),b=n.localShow!==n.baseLocalShow||!n.localOnly&&!a(s(n.draft),n.base),y=b&&!n.busy&&!$,v=e=>d.find(t=>t.path===e),h=e=>e?p(`summary.problem.${e.code}`):"",k=()=>c.close(),g=e`<label class="summary-switch"><input type="checkbox"
|
||||
.checked=${n.localShow}
|
||||
@change=${e=>c.setDialog({...n,localShow:e.target.checked})} />
|
||||
<span>${p("summary.show_local")}</span></label>`,_=e`<h3 class="summary-sizes-title">${p("summary.sizes_title")}</h3>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{az as e,ea as t,eb as n,bs as i,ec as r,P as a,a5 as s,M as o,aq as c,N as d,bq as l,bp as u,ed as f}from"./houseplan-card-Dp-WMK_A.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,d="device"===a?s:c?.device_id,l="device"===a?o?.area_id:c?.area_id||d&&t.registry.devices?.[d]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||l||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;d&&t.registry.devices?.[d]&&t.spaceIds.has(f)&&(!i.devices.has(d)||"entity"===a&&i.liveEntities.has(s))&&n.add(d)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,d)||t;g=m(g,l(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{az as e,ea as t,eb as n,bs as i,ec as r,P as a,a5 as s,M as o,aq as c,N as d,bq as l,bp as u,ed as f}from"./houseplan-card-Qyj7-UrB.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,d="device"===a?s:c?.device_id,l="device"===a?o?.area_id:c?.area_id||d&&t.registry.devices?.[d]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||l||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;d&&t.registry.devices?.[d]&&t.spaceIds.has(f)&&(!i.devices.has(d)||"entity"===a&&i.liveEntities.has(s))&&n.add(d)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,d)||t;g=m(g,l(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";import{n as t,b as n}from"./zigbee-topology-CaqT0vlN.js";import{F as e}from"./houseplan-card-Dp-WMK_A.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{n as t,b as n}from"./zigbee-topology-COnXLlyp.js";import{F as e}from"./houseplan-card-Qyj7-UrB.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="a4eb6988aaa19c2c59f66beb5ac3db29d11d0730cda50fc9d5041f54bf7334c1";try{await import("./houseplan-assets/houseplan-card-Dp-WMK_A.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";try{await import("./houseplan-assets/houseplan-card-Qyj7-UrB.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+5
-3
@@ -37,9 +37,11 @@
|
||||
edges, respects Home Assistant mobile mode, and hides when the card is too
|
||||
small. Its settings are touch-friendly and stay attached to the same card
|
||||
when a dashboard reflows. A first camera action also waits for the final
|
||||
header geometry instead of drifting while the new control settles; loading
|
||||
another language stays visually neutral, and room labels keep their size
|
||||
when the View-only controls disappear on entering an editor
|
||||
header geometry instead of drifting while the new control settles, and a
|
||||
warm card remount preserves the stage height that was actually painted
|
||||
instead of briefly shifting it by a few pixels. Loading another language
|
||||
stays visually neutral, and room labels keep their size when the View-only
|
||||
controls disappear on entering an editor
|
||||
([#437](https://github.com/Matysh/houseplan-card/issues/437)).
|
||||
- Presence radars can now show live, room-clipped observations on the plan.
|
||||
House Plan recognizes ESPHome LD2450 coordinate sets, also supports explicit
|
||||
|
||||
@@ -47,9 +47,11 @@
|
||||
скрывается, если карточка слишком мала. Настройки удобны для касания и
|
||||
остаются привязаны к той же карточке при перестроении дашборда.
|
||||
Первый жест камеры также применяется уже к итоговой геометрии шапки, поэтому
|
||||
план не смещается, пока новый контрол завершает компоновку; загрузка другого
|
||||
языка остаётся визуально нейтральной, а подписи комнат не меняют размер при
|
||||
переходе в редактор и исчезновении View-контролов
|
||||
план не смещается, пока новый контрол завершает компоновку; при тёплом
|
||||
пересоздании карточка сохраняет фактически показанную высоту сцены и больше
|
||||
не сдвигает её на несколько пикселей в первом кадре. Загрузка другого языка
|
||||
остаётся визуально нейтральной, а подписи комнат не меняют размер при переходе
|
||||
в редактор и исчезновении View-контролов
|
||||
([#437](https://github.com/Matysh/houseplan-card/issues/437)).
|
||||
- Радары присутствия теперь могут показывать на плане актуальные наблюдения,
|
||||
обрезанные по границам выбранной комнаты. House Plan распознаёт координатные
|
||||
|
||||
@@ -3536,7 +3536,7 @@ export class HouseplanCard extends LitElement {
|
||||
const patch: Partial<WarmEntry> = {
|
||||
vp: this._warmViewportState(),
|
||||
frameFingerprint: this._continuity.frameFingerprint,
|
||||
devices: this._devices,
|
||||
devices: this._devices, hdrH: this._hdrH,
|
||||
};
|
||||
// do not overwrite the snapshot we are about to revive FROM
|
||||
if (!this._warmRevivePending) patch.dlg = this._warmDialogState();
|
||||
@@ -6613,7 +6613,7 @@ export class HouseplanCard extends LitElement {
|
||||
if (!this._viewportInvalidAt) this._viewportInvalidAt = Date.now();
|
||||
return;
|
||||
}
|
||||
const size: [number, number] = [stage.clientWidth, stage.clientHeight];
|
||||
const size: [number, number] = [stage.clientWidth, stage.clientHeight]; if (this._bootSoft && this._warmVp) { this._lastValidStageSize = size; this._pendingRefitSize = null; return; }
|
||||
const previous = this._lastValidStageSize;
|
||||
const sameSize = !!previous
|
||||
&& Math.abs(previous[0] - size[0]) <= 0.5
|
||||
|
||||
Reference in New Issue
Block a user