mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
@@ -1,251 +1,251 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052",
|
||||
"fingerprint": "219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577",
|
||||
"entry": "houseplan-card.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 289564,
|
||||
"initialViewGzipBytes": 289583,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/de-B5nWn9bW.js",
|
||||
"houseplan-assets/editor-iHBA-oUp.js",
|
||||
"houseplan-assets/fr-XkRc4raH.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-Cmf3mfy4.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-lQQH9baj.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DnQJWPHS.js",
|
||||
"houseplan-assets/iso-scene-render-CqObNAuO.js",
|
||||
"houseplan-assets/live-interaction-runtime-BTJIurjC.js",
|
||||
"houseplan-assets/pdf-export-aiG0mOqu.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DCCMMdQK.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/de-DdagYw6a.js",
|
||||
"houseplan-assets/editor-DvMO7dmN.js",
|
||||
"houseplan-assets/fr-YZHpdzf_.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rQg71nY3.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CJGV-V2T.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CKcp2r3Q.js",
|
||||
"houseplan-assets/iso-scene-render-BVdXqcuh.js",
|
||||
"houseplan-assets/live-interaction-runtime-DHOJt5Ja.js",
|
||||
"houseplan-assets/pdf-export-DRKHC5vx.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BBigvT7_.js"
|
||||
],
|
||||
"lazyGzipBytes": 382842,
|
||||
"lazyGzipBytes": 382901,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/editor-iHBA-oUp.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-Cmf3mfy4.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/editor-DvMO7dmN.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rQg71nY3.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 195213,
|
||||
"lazyEditorGzipBytes": 195233,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-lQQH9baj.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CJGV-V2T.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14321,
|
||||
"lazyOnboardingGzipBytes": 14325,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-B5nWn9bW.js",
|
||||
"houseplan-assets/fr-XkRc4raH.js"
|
||||
"houseplan-assets/de-DdagYw6a.js",
|
||||
"houseplan-assets/fr-YZHpdzf_.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 50156,
|
||||
"lazyLocaleGzipBytes": 50173,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/iso-scene-render-CqObNAuO.js"
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/iso-scene-render-BVdXqcuh.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13452,
|
||||
"lazyIsometricGzipBytes": 13457,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10254,
|
||||
"lazyFurnitureArtGzipBytes": 10252,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/pdf-export-aiG0mOqu.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/pdf-export-DRKHC5vx.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120063,
|
||||
"lazyPdfGzipBytes": 120070,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"sha256": "0d1ab74d1ad07be975eb4d4a720f3c7b17bf806c3939678cc060d953a3f0555e",
|
||||
"path": "houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"sha256": "09d7d034a227e006998819a5707cabeefaac327c50d4188e4e045ba688a97741",
|
||||
"rawBytes": 21592,
|
||||
"gzipBytes": 7355,
|
||||
"gzipBytes": 7358,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-B5nWn9bW.js",
|
||||
"sha256": "fddc7406e44cb5b16626bcccb6ba6ca2816eb45ce34f66c3c2627817f2bf377b",
|
||||
"path": "houseplan-assets/de-DdagYw6a.js",
|
||||
"sha256": "8ab4eb2a085ac7e5df73f25e33facf3c1f9b67e3a9c2a36445596ee83a7c8a34",
|
||||
"rawBytes": 84140,
|
||||
"gzipBytes": 25328,
|
||||
"gzipBytes": 25336,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-iHBA-oUp.js",
|
||||
"sha256": "e6a512d6eddc318690c27eb8fdeba898546c198851c37d7e58e8fd37b4069414",
|
||||
"path": "houseplan-assets/editor-DvMO7dmN.js",
|
||||
"sha256": "e882257eb5c9bdbf1a71bdd3edf2e19daf8693423d1f59dfa222b6f164d2c5c5",
|
||||
"rawBytes": 3837,
|
||||
"gzipBytes": 1586,
|
||||
"gzipBytes": 1590,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-XkRc4raH.js",
|
||||
"sha256": "df7af73c0a6cae677322cf2cfa1122953b2803ef735c169446fa66c56161b25f",
|
||||
"path": "houseplan-assets/fr-YZHpdzf_.js",
|
||||
"sha256": "b7c46a397190c9d441f9465bfcf1b7fb4b092c443b6b3776fb122fc19803b5ee",
|
||||
"rawBytes": 86167,
|
||||
"gzipBytes": 24828,
|
||||
"gzipBytes": 24837,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"sha256": "53927f653863abf4dfd6967f9e62c06e2f44f56b8ea53330540fb588cd7c1811",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"sha256": "1ae4c75dc6ce8797c20faa0daf4da0d68e8c91ea1890bd4236c0f0f1dd1df4a0",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10254,
|
||||
"gzipBytes": 10252,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-CzLpxjSt.js",
|
||||
"sha256": "d9b65a0cb2007bcfd8a4dcd90a22c271c9a5ef81afaa4eb1c4bb89848b7242e3",
|
||||
"path": "houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"sha256": "6bdede18abadeb7c34492a92db43cf92a5027f34e5ae6513c3610bc5e7d1ffe5",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 370,
|
||||
"gzipBytes": 371,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"sha256": "55c59cb937b222d041f35fc5ee7dacf72abf54d90fb72ab33fa0738a0b3507ff",
|
||||
"path": "houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"sha256": "0563de4471cf1f835801bc737dee5d55f9c59537f946c83d0c0fde74450d8dc7",
|
||||
"rawBytes": 1040786,
|
||||
"gzipBytes": 288770,
|
||||
"gzipBytes": 288786,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-B5nWn9bW.js",
|
||||
"houseplan-assets/editor-iHBA-oUp.js",
|
||||
"houseplan-assets/fr-XkRc4raH.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-Cmf3mfy4.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-lQQH9baj.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DnQJWPHS.js",
|
||||
"houseplan-assets/iso-scene-render-CqObNAuO.js",
|
||||
"houseplan-assets/live-interaction-runtime-BTJIurjC.js",
|
||||
"houseplan-assets/pdf-export-aiG0mOqu.js"
|
||||
"houseplan-assets/de-DdagYw6a.js",
|
||||
"houseplan-assets/editor-DvMO7dmN.js",
|
||||
"houseplan-assets/fr-YZHpdzf_.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rQg71nY3.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CJGV-V2T.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CKcp2r3Q.js",
|
||||
"houseplan-assets/iso-scene-render-BVdXqcuh.js",
|
||||
"houseplan-assets/live-interaction-runtime-DHOJt5Ja.js",
|
||||
"houseplan-assets/pdf-export-DRKHC5vx.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-Cmf3mfy4.js",
|
||||
"sha256": "a1f21bb04f6a47832402a83ec91e61795cb4d72426300b45d491d9f677cfea49",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-rQg71nY3.js",
|
||||
"sha256": "9f9d5ee56004ff56b16edb9f691a2914d296518948475544c035703d4ba9f2e2",
|
||||
"rawBytes": 631884,
|
||||
"gzipBytes": 168226,
|
||||
"gzipBytes": 168231,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-DCCMMdQK.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-BBigvT7_.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-lQQH9baj.js",
|
||||
"sha256": "e9f8fdb61bf17d97b850bc68ac160038abd0c7f9641155b2ec6dcfdb7cc212a5",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CJGV-V2T.js",
|
||||
"sha256": "d3d013b60075c828d67cf00680982bdd19a10da3ade7e29d7908fce3c5b67c2b",
|
||||
"rawBytes": 28071,
|
||||
"gzipBytes": 6966,
|
||||
"gzipBytes": 6967,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-DnQJWPHS.js",
|
||||
"sha256": "f4f5aa35d2d322d263391c628210e4bcb41ed366858fe6412ab6f1ceef34a4d1",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-CKcp2r3Q.js",
|
||||
"sha256": "6fbf7193a9fd6ae5a373632c48fc092a2213eb9b796790ef49e4ee1d5473f09c",
|
||||
"rawBytes": 11034,
|
||||
"gzipBytes": 3729,
|
||||
"gzipBytes": 3732,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DCCMMdQK.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BBigvT7_.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-CqObNAuO.js",
|
||||
"sha256": "b18eecf1053b686828becad79adc319f253468421c945cedce2c883e47239ca8",
|
||||
"path": "houseplan-assets/iso-scene-render-BVdXqcuh.js",
|
||||
"sha256": "0630ada274dea319a801f0c7a80fff037807bc77977fb62a9766e9460ee83b59",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13082,
|
||||
"gzipBytes": 13086,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-BTJIurjC.js",
|
||||
"sha256": "8ddcfca473456fe2cf3d76f82d7b00c5d071d30f41294e28b703529b712d6339",
|
||||
"path": "houseplan-assets/live-interaction-runtime-DHOJt5Ja.js",
|
||||
"sha256": "f332ca2c25152309f1041db5b9a8e9d9750e7bf8331d156b589cf29fbef30425",
|
||||
"rawBytes": 5196,
|
||||
"gzipBytes": 2125,
|
||||
"gzipBytes": 2127,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-aiG0mOqu.js",
|
||||
"sha256": "483e75b76d624396531c2bfe231d9e31e60ced3cefbbd2d6efe68ecc534fd32d",
|
||||
"rawBytes": 236477,
|
||||
"gzipBytes": 109809,
|
||||
"path": "houseplan-assets/pdf-export-DRKHC5vx.js",
|
||||
"sha256": "7b82efe17b9825eaa2fafc4e1dfc457bac01c881e3578429ff85177f150a0b83",
|
||||
"rawBytes": 236480,
|
||||
"gzipBytes": 109818,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-g-D8uGsS.js",
|
||||
"sha256": "5a425d751bfcaee4e0c6b47c6bc85037836e8f6b581a1fab5da54e43b7a879dc",
|
||||
"path": "houseplan-assets/zigbee-topology-DmkV1lUj.js",
|
||||
"sha256": "c8a6a4733fe8d4495b7b55fa7b76ae8a2792986c0431071fab4e3603717a7bcd",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7422,
|
||||
"gzipBytes": 7431,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DCCMMdQK.js",
|
||||
"sha256": "2fbc8ad1e8038a8b08c25501dee725120c9b1d7068d0b913d5ece6788985af51",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-BBigvT7_.js",
|
||||
"sha256": "2d96c4bca171cfcafa0cc8f06937268bbcf1920639e959d6a78943ac6101dcaf",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1762,
|
||||
"gzipBytes": 1765,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "fd13438912c16d1478921f4177323ea2f06eb13a4ef66f3b2d17407d8e748ec7",
|
||||
"sha256": "6d3a9a3c96fba4a8b069649b716747cb68a28bd2f95bca05d907148f80b96225",
|
||||
"rawBytes": 1183,
|
||||
"gzipBytes": 794,
|
||||
"gzipBytes": 797,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
+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__="fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052";import{t as e,l as o,x as t,dX as s,A as a,dY as i,dZ as l,d_ as n,dM as r,b as c}from"./houseplan-card-DYWNslK4.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__="219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577";import{t as e,l as o,x as t,dX as s,A as a,dY as i,dZ as l,d_ as n,dM as r,b as c}from"./houseplan-card-BH1J5iXh.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 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052";import{dK as r,dL as e,dM as t}from"./houseplan-card-DYWNslK4.js";const s={},a=r(class extends e{constructor(){super(...arguments),this.ot=s}render(r,e){return e()}update(r,[e,s]){if(Array.isArray(e)){if(Array.isArray(this.ot)&&this.ot.length===e.length&&e.every((r,e)=>r===this.ot[e]))return t}else if(this.ot===e)return t;return this.ot=Array.isArray(e)?Array.from(e):e,this.render(e,s)}});export{a as i};
|
||||
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577";import{dK as r,dL as t,dM as e}from"./houseplan-card-BH1J5iXh.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};
|
||||
+6
-6
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+3
-3
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
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052";import{n as t,b as n}from"./zigbee-topology-g-D8uGsS.js";import{F as e}from"./houseplan-card-DYWNslK4.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 f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(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 m(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 g(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(f(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,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=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 f=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&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(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 m(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{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577";import{n as t,b as n}from"./zigbee-topology-DmkV1lUj.js";import{F as e}from"./houseplan-card-BH1J5iXh.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 f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(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 m(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 g(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(f(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,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=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 f=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&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(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 m(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{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052";try{await import("./houseplan-assets/houseplan-card-DYWNslK4.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 entry: the main chunk is unavailable",e)}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577";try{await import("./houseplan-assets/houseplan-card-BH1J5iXh.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 entry: the main chunk is unavailable",e)}
|
||||
|
||||
Vendored
+120
-120
@@ -1,251 +1,251 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052",
|
||||
"fingerprint": "219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577",
|
||||
"entry": "houseplan-card.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 289564,
|
||||
"initialViewGzipBytes": 289583,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/de-B5nWn9bW.js",
|
||||
"houseplan-assets/editor-iHBA-oUp.js",
|
||||
"houseplan-assets/fr-XkRc4raH.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-Cmf3mfy4.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-lQQH9baj.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DnQJWPHS.js",
|
||||
"houseplan-assets/iso-scene-render-CqObNAuO.js",
|
||||
"houseplan-assets/live-interaction-runtime-BTJIurjC.js",
|
||||
"houseplan-assets/pdf-export-aiG0mOqu.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DCCMMdQK.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/de-DdagYw6a.js",
|
||||
"houseplan-assets/editor-DvMO7dmN.js",
|
||||
"houseplan-assets/fr-YZHpdzf_.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rQg71nY3.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CJGV-V2T.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CKcp2r3Q.js",
|
||||
"houseplan-assets/iso-scene-render-BVdXqcuh.js",
|
||||
"houseplan-assets/live-interaction-runtime-DHOJt5Ja.js",
|
||||
"houseplan-assets/pdf-export-DRKHC5vx.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BBigvT7_.js"
|
||||
],
|
||||
"lazyGzipBytes": 382842,
|
||||
"lazyGzipBytes": 382901,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/editor-iHBA-oUp.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-Cmf3mfy4.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/editor-DvMO7dmN.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rQg71nY3.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 195213,
|
||||
"lazyEditorGzipBytes": 195233,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-lQQH9baj.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CJGV-V2T.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14321,
|
||||
"lazyOnboardingGzipBytes": 14325,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-B5nWn9bW.js",
|
||||
"houseplan-assets/fr-XkRc4raH.js"
|
||||
"houseplan-assets/de-DdagYw6a.js",
|
||||
"houseplan-assets/fr-YZHpdzf_.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 50156,
|
||||
"lazyLocaleGzipBytes": 50173,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/iso-scene-render-CqObNAuO.js"
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/iso-scene-render-BVdXqcuh.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13452,
|
||||
"lazyIsometricGzipBytes": 13457,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10254,
|
||||
"lazyFurnitureArtGzipBytes": 10252,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/pdf-export-aiG0mOqu.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/pdf-export-DRKHC5vx.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120063,
|
||||
"lazyPdfGzipBytes": 120070,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"sha256": "0d1ab74d1ad07be975eb4d4a720f3c7b17bf806c3939678cc060d953a3f0555e",
|
||||
"path": "houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"sha256": "09d7d034a227e006998819a5707cabeefaac327c50d4188e4e045ba688a97741",
|
||||
"rawBytes": 21592,
|
||||
"gzipBytes": 7355,
|
||||
"gzipBytes": 7358,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-B5nWn9bW.js",
|
||||
"sha256": "fddc7406e44cb5b16626bcccb6ba6ca2816eb45ce34f66c3c2627817f2bf377b",
|
||||
"path": "houseplan-assets/de-DdagYw6a.js",
|
||||
"sha256": "8ab4eb2a085ac7e5df73f25e33facf3c1f9b67e3a9c2a36445596ee83a7c8a34",
|
||||
"rawBytes": 84140,
|
||||
"gzipBytes": 25328,
|
||||
"gzipBytes": 25336,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-iHBA-oUp.js",
|
||||
"sha256": "e6a512d6eddc318690c27eb8fdeba898546c198851c37d7e58e8fd37b4069414",
|
||||
"path": "houseplan-assets/editor-DvMO7dmN.js",
|
||||
"sha256": "e882257eb5c9bdbf1a71bdd3edf2e19daf8693423d1f59dfa222b6f164d2c5c5",
|
||||
"rawBytes": 3837,
|
||||
"gzipBytes": 1586,
|
||||
"gzipBytes": 1590,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-XkRc4raH.js",
|
||||
"sha256": "df7af73c0a6cae677322cf2cfa1122953b2803ef735c169446fa66c56161b25f",
|
||||
"path": "houseplan-assets/fr-YZHpdzf_.js",
|
||||
"sha256": "b7c46a397190c9d441f9465bfcf1b7fb4b092c443b6b3776fb122fc19803b5ee",
|
||||
"rawBytes": 86167,
|
||||
"gzipBytes": 24828,
|
||||
"gzipBytes": 24837,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"sha256": "53927f653863abf4dfd6967f9e62c06e2f44f56b8ea53330540fb588cd7c1811",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"sha256": "1ae4c75dc6ce8797c20faa0daf4da0d68e8c91ea1890bd4236c0f0f1dd1df4a0",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10254,
|
||||
"gzipBytes": 10252,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-CzLpxjSt.js",
|
||||
"sha256": "d9b65a0cb2007bcfd8a4dcd90a22c271c9a5ef81afaa4eb1c4bb89848b7242e3",
|
||||
"path": "houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"sha256": "6bdede18abadeb7c34492a92db43cf92a5027f34e5ae6513c3610bc5e7d1ffe5",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 370,
|
||||
"gzipBytes": 371,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"sha256": "55c59cb937b222d041f35fc5ee7dacf72abf54d90fb72ab33fa0738a0b3507ff",
|
||||
"path": "houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"sha256": "0563de4471cf1f835801bc737dee5d55f9c59537f946c83d0c0fde74450d8dc7",
|
||||
"rawBytes": 1040786,
|
||||
"gzipBytes": 288770,
|
||||
"gzipBytes": 288786,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-B5nWn9bW.js",
|
||||
"houseplan-assets/editor-iHBA-oUp.js",
|
||||
"houseplan-assets/fr-XkRc4raH.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-Cmf3mfy4.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-lQQH9baj.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DnQJWPHS.js",
|
||||
"houseplan-assets/iso-scene-render-CqObNAuO.js",
|
||||
"houseplan-assets/live-interaction-runtime-BTJIurjC.js",
|
||||
"houseplan-assets/pdf-export-aiG0mOqu.js"
|
||||
"houseplan-assets/de-DdagYw6a.js",
|
||||
"houseplan-assets/editor-DvMO7dmN.js",
|
||||
"houseplan-assets/fr-YZHpdzf_.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-rQg71nY3.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CJGV-V2T.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CKcp2r3Q.js",
|
||||
"houseplan-assets/iso-scene-render-BVdXqcuh.js",
|
||||
"houseplan-assets/live-interaction-runtime-DHOJt5Ja.js",
|
||||
"houseplan-assets/pdf-export-DRKHC5vx.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-Cmf3mfy4.js",
|
||||
"sha256": "a1f21bb04f6a47832402a83ec91e61795cb4d72426300b45d491d9f677cfea49",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-rQg71nY3.js",
|
||||
"sha256": "9f9d5ee56004ff56b16edb9f691a2914d296518948475544c035703d4ba9f2e2",
|
||||
"rawBytes": 631884,
|
||||
"gzipBytes": 168226,
|
||||
"gzipBytes": 168231,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-DCCMMdQK.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-BBigvT7_.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-lQQH9baj.js",
|
||||
"sha256": "e9f8fdb61bf17d97b850bc68ac160038abd0c7f9641155b2ec6dcfdb7cc212a5",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CJGV-V2T.js",
|
||||
"sha256": "d3d013b60075c828d67cf00680982bdd19a10da3ade7e29d7908fce3c5b67c2b",
|
||||
"rawBytes": 28071,
|
||||
"gzipBytes": 6966,
|
||||
"gzipBytes": 6967,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-BF2_lCUG.js",
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/backdrop-pick-DxMaGM3b.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-DnQJWPHS.js",
|
||||
"sha256": "f4f5aa35d2d322d263391c628210e4bcb41ed366858fe6412ab6f1ceef34a4d1",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-CKcp2r3Q.js",
|
||||
"sha256": "6fbf7193a9fd6ae5a373632c48fc092a2213eb9b796790ef49e4ee1d5473f09c",
|
||||
"rawBytes": 11034,
|
||||
"gzipBytes": 3729,
|
||||
"gzipBytes": 3732,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DCCMMdQK.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BBigvT7_.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-CqObNAuO.js",
|
||||
"sha256": "b18eecf1053b686828becad79adc319f253468421c945cedce2c883e47239ca8",
|
||||
"path": "houseplan-assets/iso-scene-render-BVdXqcuh.js",
|
||||
"sha256": "0630ada274dea319a801f0c7a80fff037807bc77977fb62a9766e9460ee83b59",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13082,
|
||||
"gzipBytes": 13086,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-CzLpxjSt.js",
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/guard-Dxn1fDOV.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-BTJIurjC.js",
|
||||
"sha256": "8ddcfca473456fe2cf3d76f82d7b00c5d071d30f41294e28b703529b712d6339",
|
||||
"path": "houseplan-assets/live-interaction-runtime-DHOJt5Ja.js",
|
||||
"sha256": "f332ca2c25152309f1041db5b9a8e9d9750e7bf8331d156b589cf29fbef30425",
|
||||
"rawBytes": 5196,
|
||||
"gzipBytes": 2125,
|
||||
"gzipBytes": 2127,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-aiG0mOqu.js",
|
||||
"sha256": "483e75b76d624396531c2bfe231d9e31e60ced3cefbbd2d6efe68ecc534fd32d",
|
||||
"rawBytes": 236477,
|
||||
"gzipBytes": 109809,
|
||||
"path": "houseplan-assets/pdf-export-DRKHC5vx.js",
|
||||
"sha256": "7b82efe17b9825eaa2fafc4e1dfc457bac01c881e3578429ff85177f150a0b83",
|
||||
"rawBytes": 236480,
|
||||
"gzipBytes": 109818,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-DlINMspi.js",
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-Bn6-rX_n.js",
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-g-D8uGsS.js",
|
||||
"sha256": "5a425d751bfcaee4e0c6b47c6bc85037836e8f6b581a1fab5da54e43b7a879dc",
|
||||
"path": "houseplan-assets/zigbee-topology-DmkV1lUj.js",
|
||||
"sha256": "c8a6a4733fe8d4495b7b55fa7b76ae8a2792986c0431071fab4e3603717a7bcd",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7422,
|
||||
"gzipBytes": 7431,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DCCMMdQK.js",
|
||||
"sha256": "2fbc8ad1e8038a8b08c25501dee725120c9b1d7068d0b913d5ece6788985af51",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-BBigvT7_.js",
|
||||
"sha256": "2d96c4bca171cfcafa0cc8f06937268bbcf1920639e959d6a78943ac6101dcaf",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1762,
|
||||
"gzipBytes": 1765,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js",
|
||||
"houseplan-assets/zigbee-topology-g-D8uGsS.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js",
|
||||
"houseplan-assets/zigbee-topology-DmkV1lUj.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "fd13438912c16d1478921f4177323ea2f06eb13a4ef66f3b2d17407d8e748ec7",
|
||||
"sha256": "6d3a9a3c96fba4a8b069649b716747cb68a28bd2f95bca05d907148f80b96225",
|
||||
"rawBytes": 1183,
|
||||
"gzipBytes": 794,
|
||||
"gzipBytes": 797,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DYWNslK4.js"
|
||||
"houseplan-assets/houseplan-card-BH1J5iXh.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
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__="fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052";import{t as e,l as o,x as t,dX as s,A as a,dY as i,dZ as l,d_ as n,dM as r,b as c}from"./houseplan-card-DYWNslK4.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__="219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577";import{t as e,l as o,x as t,dX as s,A as a,dY as i,dZ as l,d_ as n,dM as r,b as c}from"./houseplan-card-BH1J5iXh.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
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052";import{dK as r,dL as e,dM as t}from"./houseplan-card-DYWNslK4.js";const s={},a=r(class extends e{constructor(){super(...arguments),this.ot=s}render(r,e){return e()}update(r,[e,s]){if(Array.isArray(e)){if(Array.isArray(this.ot)&&this.ot.length===e.length&&e.every((r,e)=>r===this.ot[e]))return t}else if(this.ot===e)return t;return this.ot=Array.isArray(e)?Array.from(e):e,this.render(e,s)}});export{a as i};
|
||||
+1
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577";import{dK as r,dL as t,dM as e}from"./houseplan-card-BH1J5iXh.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};
|
||||
Vendored
+6
-6
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+3
-3
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
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052";import{n as t,b as n}from"./zigbee-topology-g-D8uGsS.js";import{F as e}from"./houseplan-card-DYWNslK4.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 f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(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 m(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 g(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(f(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,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=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 f=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&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(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 m(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{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577";import{n as t,b as n}from"./zigbee-topology-DmkV1lUj.js";import{F as e}from"./houseplan-card-BH1J5iXh.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 f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(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 m(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 g(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(f(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,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=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 f=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&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(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 m(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{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="fde7d02111505fddafaea1121e05ea9d9dea7e495f82e9c95e3536945dc41052";try{await import("./houseplan-assets/houseplan-card-DYWNslK4.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 entry: the main chunk is unavailable",e)}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="219d306c8803bbfba431837fafe6e6352c405971c4e6fed12893aa5d23d62577";try{await import("./houseplan-assets/houseplan-card-BH1J5iXh.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 entry: the main chunk is unavailable",e)}
|
||||
|
||||
+2
-1
@@ -4,7 +4,8 @@
|
||||
|
||||
- PDF export now fits its complete scene more efficiently on the page, uses
|
||||
hatched grey walls and a proper vector compass, and presents cleaner
|
||||
horizontal/vertical dimensions without locally duplicated opposite sides.
|
||||
horizontal/vertical dimensions without locally duplicated opposite sides or
|
||||
labels crossing the plan geometry.
|
||||
The symbol legend is removed, and the export dialog no longer needs
|
||||
horizontal scrolling on narrow screens
|
||||
([#482](https://github.com/Matysh/houseplan-card/issues/482)).
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
- PDF-экспорт теперь эффективнее вписывает в лист всю сцену, печатает серые
|
||||
стены со штриховкой и полноценный векторный компас, а также показывает более
|
||||
чистые горизонтальные и вертикальные размеры без локального дублирования
|
||||
противоположных сторон. Техническая легенда убрана, а узкому диалогу больше
|
||||
противоположных сторон и наложения подписей на геометрию плана. Техническая
|
||||
легенда убрана, а узкому диалогу больше
|
||||
не нужна горизонтальная прокрутка
|
||||
([#482](https://github.com/Matysh/houseplan-card/issues/482)).
|
||||
|
||||
|
||||
@@ -458,11 +458,11 @@ const MUTANT_DEFINITIONS = [
|
||||
because: 'a paired outer dimension must retain the side with a collision-free lane',
|
||||
patches: [{
|
||||
file: 'src/pdf/pdf-scene.ts',
|
||||
find: ' const hasSafeLane = Array.from({ length: 21 }, (_, index) => index * 4)\n'
|
||||
+ ' .some((lane) => !externalPlacementTouchesArchitecture(\n'
|
||||
find: ' const firstSafeLane = Array.from({ length: 21 }, (_, index) => index * 4)\n'
|
||||
+ ' .find((lane) => !externalPlacementTouchesArchitecture(\n'
|
||||
+ ' externalPlacement(edge, outward, lane),\n'
|
||||
+ ' ));',
|
||||
replace: ' const hasSafeLane = true;',
|
||||
replace: ' const firstSafeLane = 0;',
|
||||
}],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -507,8 +507,8 @@ function buildPdfCandidate(
|
||||
-edge.inwardNormal[0], -edge.inwardNormal[1],
|
||||
];
|
||||
const base = pt(edge.mid);
|
||||
const hasSafeLane = Array.from({ length: 21 }, (_, index) => index * 4)
|
||||
.some((lane) => !externalPlacementTouchesArchitecture(
|
||||
const firstSafeLane = Array.from({ length: 21 }, (_, index) => index * 4)
|
||||
.find((lane) => !externalPlacementTouchesArchitecture(
|
||||
externalPlacement(edge, outward, lane),
|
||||
));
|
||||
const centeredX = base[0] + (planFieldWidth - drawingWidth) / 2;
|
||||
@@ -516,7 +516,10 @@ function buildPdfCandidate(
|
||||
const normalClearance = Math.abs(outward[0]) > 0.5
|
||||
? (outward[0] > 0 ? planFieldWidth - centeredX : centeredX)
|
||||
: (outward[1] > 0 ? fieldHeight - centeredY : centeredY);
|
||||
return { hardCollisions: Number(!hasSafeLane), normalClearance };
|
||||
return {
|
||||
hardCollisions: firstSafeLane === undefined ? 21 : firstSafeLane / 4,
|
||||
normalClearance,
|
||||
};
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
+16
-10
@@ -374,7 +374,7 @@ test('blocked rectangular dimension is omitted instead of using an unsafe text f
|
||||
const dimensionValues = output.commands.filter((command) => command.kind === 'text')
|
||||
.map((command) => command.text)
|
||||
.filter((value) => /^[-+]?\d+(?:[.,]\d+)?\s(?:m|cm|ft|in)$/.test(value));
|
||||
assert.ok(!dimensionValues.includes('9.6 m'),
|
||||
assert.ok(!dimensionValues.includes('9.60 m'),
|
||||
'a label that cannot fit between the two walls is never printed through them');
|
||||
assert.ok(!output.commands.some((command) => command.kind === 'text' && /^R\d+$/.test(command.text)),
|
||||
'a rectangle does not invent an ambiguous numbered callout');
|
||||
@@ -411,12 +411,17 @@ test('opposite dedupe keeps the thick near-axis side with a safe external lane',
|
||||
const pairedNearAxis = polygonRaw('paired-near-axis', [
|
||||
[0.1, 0.1], [0.9, 0.103], [0.9, 0.8], [0.1, 0.8],
|
||||
], { wallCm: 15, name: '' });
|
||||
pairedNearAxis.view_box = [0, -0.1, 1, 1];
|
||||
pairedNearAxis.wall_columns = [{
|
||||
id: 'near-top-obstacle', shape: 'square', center: [0.5, 0.05], cm: 100, angle: 0,
|
||||
}];
|
||||
const output = buildRawPage(pairedNearAxis,
|
||||
{ dimensions: true, roomNames: false, decor: false, backdrop: false });
|
||||
const values = output.commands.filter((command) => command.kind === 'text')
|
||||
.map((command) => command.text);
|
||||
assert.ok(values.includes('9.75 m'),
|
||||
'the opposite near-axis pair selects the side that has a collision-free external lane');
|
||||
const external = output.commands.find((command) => command.kind === 'text'
|
||||
&& command.text === '9.75 m');
|
||||
assert.ok(external, 'the paired physical outer face keeps one external dimension');
|
||||
assert.ok(external.y > (output.planField.minY + output.planField.maxY) / 2,
|
||||
'the side with a clear base lane wins instead of pushing the blocked side far away');
|
||||
});
|
||||
|
||||
test('actual annotated scene bbox selects portrait/landscape, fits and centers at standard scale', () => {
|
||||
@@ -606,10 +611,11 @@ test('current 20-room large-house space builds from the visible geometry cache u
|
||||
}, 0) / 2);
|
||||
return [room.id, area];
|
||||
}));
|
||||
// The full suite runs test files concurrently on CI. Measuring wall time here would
|
||||
// count periods when this worker is descheduled, so use the CPU consumed by the
|
||||
// scene build itself while keeping the agreed 200 ms product budget unchanged.
|
||||
const started = process.cpuUsage();
|
||||
// The full suite runs test files concurrently on CI. Wall time counts periods when
|
||||
// this worker is descheduled, while process.cpuUsage() also counts sibling test
|
||||
// workers. Measure only this worker thread so the agreed 200 ms product budget is
|
||||
// neither weakened nor made dependent on unrelated parallel tests.
|
||||
const started = process.threadCpuUsage();
|
||||
let contourCacheReads = 0;
|
||||
let areaCacheReads = 0;
|
||||
buildPdfPage({
|
||||
@@ -627,7 +633,7 @@ test('current 20-room large-house space builds from the visible geometry cache u
|
||||
imperial: false, cardTitle: 'House', version: 'test',
|
||||
now: new Date('2026-09-07T00:00:00Z'), t,
|
||||
});
|
||||
const elapsed = process.cpuUsage(started);
|
||||
const elapsed = process.threadCpuUsage(started);
|
||||
const elapsedMs = (elapsed.user + elapsed.system) / 1000;
|
||||
assert.equal(contourCacheReads, largeSpace.rooms.length);
|
||||
assert.equal(areaCacheReads, largeSpace.rooms.length);
|
||||
|
||||
Reference in New Issue
Block a user