mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix(settings): validate drafts and preserve dialog baselines (#614)
Issue: #614 User-Visible: yes
This commit is contained in:
@@ -1,312 +1,312 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "34ed8381ef1adf8c591e66e7e06a85168914fdc4d58c21a841ade47a105c7ef0",
|
||||
"fingerprint": "ee4bb90c614d8795523c81996894e4cd97b0b0f9688056806b1360894423e89f",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js",
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 290841,
|
||||
"initialViewGzipBytes": 291041,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js",
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 292363,
|
||||
"initialPanelGzipBytes": 292563,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2322,
|
||||
"initialPanelOnlyGzipBytes": 2329,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-4y8dV8Ve.js",
|
||||
"houseplan-assets/de-Cf-Yh-qD.js",
|
||||
"houseplan-assets/editor-COYbDg2h.js",
|
||||
"houseplan-assets/form-kit.styles-eIw2y67V.js",
|
||||
"houseplan-assets/fr-C5bQpwdy.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CkHr8lOA.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-C54tPnne.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ch5D7oRi.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CQpKEtLv.js",
|
||||
"houseplan-assets/iso-scene-render-CqI3ABeb.js",
|
||||
"houseplan-assets/live-interaction-runtime-qZV2DHRS.js",
|
||||
"houseplan-assets/pdf-export-Bmt-_V6k.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CPobCF-I.js",
|
||||
"houseplan-assets/zigbee-topology-PPd-Bqxz.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DlN1vrja.js"
|
||||
"houseplan-assets/backdrop-pick-CEFFBWtH.js",
|
||||
"houseplan-assets/de-BY3Q2H6Q.js",
|
||||
"houseplan-assets/editor-CLEMaXMP.js",
|
||||
"houseplan-assets/form-kit.styles-D0x_MDAu.js",
|
||||
"houseplan-assets/fr-DfZ8EoEQ.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Dh-AZCLQ.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-CkKrqXj7.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime--kqFpsax.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Ciq3uAlC.js",
|
||||
"houseplan-assets/iso-scene-render-BId9b3m-.js",
|
||||
"houseplan-assets/live-interaction-runtime-fkDW2_fZ.js",
|
||||
"houseplan-assets/pdf-export-Cqk4ZmER.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-6n_p_IDv.js",
|
||||
"houseplan-assets/zigbee-topology-aVRjewRB.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-CDGFNs8t.js"
|
||||
],
|
||||
"lazyGzipBytes": 460178,
|
||||
"lazyGzipBytes": 460908,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-4y8dV8Ve.js",
|
||||
"houseplan-assets/editor-COYbDg2h.js",
|
||||
"houseplan-assets/form-kit.styles-eIw2y67V.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CkHr8lOA.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-C54tPnne.js",
|
||||
"houseplan-assets/zigbee-topology-PPd-Bqxz.js"
|
||||
"houseplan-assets/backdrop-pick-CEFFBWtH.js",
|
||||
"houseplan-assets/editor-CLEMaXMP.js",
|
||||
"houseplan-assets/form-kit.styles-D0x_MDAu.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Dh-AZCLQ.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-CkKrqXj7.js",
|
||||
"houseplan-assets/zigbee-topology-aVRjewRB.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 243641,
|
||||
"lazyEditorGzipBytes": 244356,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-4y8dV8Ve.js",
|
||||
"houseplan-assets/form-kit.styles-eIw2y67V.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ch5D7oRi.js"
|
||||
"houseplan-assets/backdrop-pick-CEFFBWtH.js",
|
||||
"houseplan-assets/form-kit.styles-D0x_MDAu.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime--kqFpsax.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 34053,
|
||||
"lazyOnboardingGzipBytes": 34535,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-Cf-Yh-qD.js",
|
||||
"houseplan-assets/fr-C5bQpwdy.js"
|
||||
"houseplan-assets/de-BY3Q2H6Q.js",
|
||||
"houseplan-assets/fr-DfZ8EoEQ.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 55369,
|
||||
"lazyLocaleGzipBytes": 55269,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/iso-scene-render-CqI3ABeb.js"
|
||||
"houseplan-assets/iso-scene-render-BId9b3m-.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 17639,
|
||||
"lazyIsometricGzipBytes": 17647,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-CkHr8lOA.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-Dh-AZCLQ.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 16939,
|
||||
"lazyFurnitureArtGzipBytes": 16934,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-CkHr8lOA.js",
|
||||
"houseplan-assets/pdf-export-Bmt-_V6k.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-Dh-AZCLQ.js",
|
||||
"houseplan-assets/pdf-export-Cqk4ZmER.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 126825,
|
||||
"lazyPdfGzipBytes": 126822,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-4y8dV8Ve.js",
|
||||
"sha256": "16794f5a4841f5a099f9e788342a0b36517795f667591e798fccc9d7c66259b7",
|
||||
"rawBytes": 74683,
|
||||
"gzipBytes": 24171,
|
||||
"path": "houseplan-assets/backdrop-pick-CEFFBWtH.js",
|
||||
"sha256": "f69f4e0792f0a4264b4c4396bae662f1b8069c701df6308e897cb909df62eaf1",
|
||||
"rawBytes": 76524,
|
||||
"gzipBytes": 24576,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/form-kit.styles-eIw2y67V.js",
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/form-kit.styles-D0x_MDAu.js",
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-Cf-Yh-qD.js",
|
||||
"sha256": "26098db87918225904088f44664b86f8c803177f05081cfab7869afa5459b268",
|
||||
"rawBytes": 92496,
|
||||
"gzipBytes": 27926,
|
||||
"path": "houseplan-assets/de-BY3Q2H6Q.js",
|
||||
"sha256": "f2fa522fcebdea8947173711c3ec2121391c85d56bc74c48e4e16a406515ec55",
|
||||
"rawBytes": 92247,
|
||||
"gzipBytes": 27872,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-COYbDg2h.js",
|
||||
"sha256": "47233950f346534ac171ab2bc9cd000c21bfbeaae8cc18f3c4c3d99533ece040",
|
||||
"path": "houseplan-assets/editor-CLEMaXMP.js",
|
||||
"sha256": "8cce7620e65ddd7bd929585b8c2531f286064ccc3d9960858055da7a431e2b21",
|
||||
"rawBytes": 3833,
|
||||
"gzipBytes": 1581,
|
||||
"gzipBytes": 1587,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/form-kit.styles-eIw2y67V.js",
|
||||
"sha256": "9e92c98fab6738941682b03c6a21153dd96de8211de3edd83e86ec8a0e09f847",
|
||||
"path": "houseplan-assets/form-kit.styles-D0x_MDAu.js",
|
||||
"sha256": "1a176be165e2d1648fd196af2b50b3105cbdcd64d283e17c1f6e16411559f07f",
|
||||
"rawBytes": 25600,
|
||||
"gzipBytes": 5054,
|
||||
"gzipBytes": 5058,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-C5bQpwdy.js",
|
||||
"sha256": "3133e01d3bee3c3038d4c4dc1f0c1fa06d1e8d4ae3d21731533aff1b219c84a1",
|
||||
"rawBytes": 94813,
|
||||
"gzipBytes": 27443,
|
||||
"path": "houseplan-assets/fr-DfZ8EoEQ.js",
|
||||
"sha256": "bb450ab7cea4d67bf171b529f3dfbadbb6aeda4558c8fb3559327c3a6cd9951f",
|
||||
"rawBytes": 94579,
|
||||
"gzipBytes": 27397,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-CkHr8lOA.js",
|
||||
"sha256": "56d372ba8e0b7d8c30259ccebd3c7c25715c6f980c800477223c46b23e932b1e",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-Dh-AZCLQ.js",
|
||||
"sha256": "605855cb91e170968d462b7540d8231c018af682d01c34b496fa3f0af9870b8f",
|
||||
"rawBytes": 52035,
|
||||
"gzipBytes": 16939,
|
||||
"gzipBytes": 16934,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-Dvtr52xr.js",
|
||||
"sha256": "c8f730ccefec2a91571c000911d1fb8d0efc4e872edeb08fb1d8a17fc453447d",
|
||||
"rawBytes": 1031560,
|
||||
"gzipBytes": 290041,
|
||||
"path": "houseplan-assets/houseplan-card-BLjfDMVp.js",
|
||||
"sha256": "7e8788933f6a0a296fecace06c3e85d28e411a9b8d2d69ceab3b2fe5bb997d82",
|
||||
"rawBytes": 1031784,
|
||||
"gzipBytes": 290234,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-Cf-Yh-qD.js",
|
||||
"houseplan-assets/editor-COYbDg2h.js",
|
||||
"houseplan-assets/fr-C5bQpwdy.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CkHr8lOA.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-C54tPnne.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ch5D7oRi.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CQpKEtLv.js",
|
||||
"houseplan-assets/iso-scene-render-CqI3ABeb.js",
|
||||
"houseplan-assets/live-interaction-runtime-qZV2DHRS.js",
|
||||
"houseplan-assets/pdf-export-Bmt-_V6k.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CPobCF-I.js"
|
||||
"houseplan-assets/de-BY3Q2H6Q.js",
|
||||
"houseplan-assets/editor-CLEMaXMP.js",
|
||||
"houseplan-assets/fr-DfZ8EoEQ.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Dh-AZCLQ.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-CkKrqXj7.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime--kqFpsax.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-Ciq3uAlC.js",
|
||||
"houseplan-assets/iso-scene-render-BId9b3m-.js",
|
||||
"houseplan-assets/live-interaction-runtime-fkDW2_fZ.js",
|
||||
"houseplan-assets/pdf-export-Cqk4ZmER.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-6n_p_IDv.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-C54tPnne.js",
|
||||
"sha256": "972acd8d6e338b16e197c2eadac07457034cf3fefea39c5a9b1c37d08d4a8ab8",
|
||||
"rawBytes": 677942,
|
||||
"gzipBytes": 188472,
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-CkKrqXj7.js",
|
||||
"sha256": "fdaec929d1366fc99486f5a7270e2b61b99b19bc7648690b187c29a66dd5ff5e",
|
||||
"rawBytes": 679038,
|
||||
"gzipBytes": 188767,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-4y8dV8Ve.js",
|
||||
"houseplan-assets/form-kit.styles-eIw2y67V.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CkHr8lOA.js",
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js",
|
||||
"houseplan-assets/zigbee-topology-PPd-Bqxz.js"
|
||||
"houseplan-assets/backdrop-pick-CEFFBWtH.js",
|
||||
"houseplan-assets/form-kit.styles-D0x_MDAu.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Dh-AZCLQ.js",
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js",
|
||||
"houseplan-assets/zigbee-topology-aVRjewRB.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-DlN1vrja.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-CDGFNs8t.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-Ch5D7oRi.js",
|
||||
"sha256": "b40d0ea3bd87b970334ee2482338cd8aa3674e6fd7a51a53d06bc4720273dfed",
|
||||
"rawBytes": 15667,
|
||||
"gzipBytes": 4828,
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime--kqFpsax.js",
|
||||
"sha256": "5c5bede141022a23b3db2501ee157ec07f23ec5da76f3f314b52a449fc11b627",
|
||||
"rawBytes": 15986,
|
||||
"gzipBytes": 4901,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-4y8dV8Ve.js",
|
||||
"houseplan-assets/form-kit.styles-eIw2y67V.js",
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/backdrop-pick-CEFFBWtH.js",
|
||||
"houseplan-assets/form-kit.styles-D0x_MDAu.js",
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-CQpKEtLv.js",
|
||||
"sha256": "9d4f76a5c0326ff856c2dae97f233ded939549480a4e60c6d42d7b407aeadcd7",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-Ciq3uAlC.js",
|
||||
"sha256": "bbeadfa98dac5e870b184af677193c21208e42258e30657aa58183c3d4dc7ca1",
|
||||
"rawBytes": 10759,
|
||||
"gzipBytes": 3680,
|
||||
"gzipBytes": 3689,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js",
|
||||
"houseplan-assets/zigbee-topology-PPd-Bqxz.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DlN1vrja.js"
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js",
|
||||
"houseplan-assets/zigbee-topology-aVRjewRB.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-CDGFNs8t.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-CqI3ABeb.js",
|
||||
"sha256": "dc1afe7f4524595faf6dbca1dbd1430c795182070291ab48f037eb9099c4d110",
|
||||
"path": "houseplan-assets/iso-scene-render-BId9b3m-.js",
|
||||
"sha256": "31a1ee1357450833f04cd1e20ec53f41c1bbee2309390a3bcbfab01d3aacdffb",
|
||||
"rawBytes": 51983,
|
||||
"gzipBytes": 17639,
|
||||
"gzipBytes": 17647,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-qZV2DHRS.js",
|
||||
"sha256": "dd2853b8ecd883ad55f15dc30219ba5ab1417c9fbfd48df9f0a4d76aa0971008",
|
||||
"path": "houseplan-assets/live-interaction-runtime-fkDW2_fZ.js",
|
||||
"sha256": "2f8f2def28c01c68f1e420cf3181c540a90825e951868e2196c1bb3aa326f823",
|
||||
"rawBytes": 8216,
|
||||
"gzipBytes": 3204,
|
||||
"gzipBytes": 3213,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-Bmt-_V6k.js",
|
||||
"sha256": "c90d4fa9c838be1a1132109ec13f6ad04e3e4cea6a3298e0177413677a2298a1",
|
||||
"path": "houseplan-assets/pdf-export-Cqk4ZmER.js",
|
||||
"sha256": "10902be37dbc455f003ca26162a4f49b7e55667b328a16bbb6a8a01a7422d6c5",
|
||||
"rawBytes": 236264,
|
||||
"gzipBytes": 109886,
|
||||
"gzipBytes": 109888,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-CkHr8lOA.js",
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-Dh-AZCLQ.js",
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-BBxrM3sF.js",
|
||||
"sha256": "bfedcc5ca13c71e1623ec92dc5979359192caa4c49bf993fe385734adcb9293c",
|
||||
"path": "houseplan-assets/summary-panel-editor-NDmEPDhZ.js",
|
||||
"sha256": "b53e6e62d1b994b94d7259c3276dec57dfda226bbaed48e54207e5ef4496cfd2",
|
||||
"rawBytes": 14862,
|
||||
"gzipBytes": 3420,
|
||||
"gzipBytes": 3428,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/form-kit.styles-eIw2y67V.js",
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CPobCF-I.js"
|
||||
"houseplan-assets/form-kit.styles-D0x_MDAu.js",
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-6n_p_IDv.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-Ck5HHl5d.js",
|
||||
"sha256": "d691ab7cbb3a76f1337147091c4443cea8fb51f133dcf788c49aaafb81bcd2c2",
|
||||
"path": "houseplan-assets/summary-panel-metrics-BOfy_fo6.js",
|
||||
"sha256": "4414cb4fa0b1a1586864705cf6320f9cb6406da202e3dd35c1f169ac9c58d09f",
|
||||
"rawBytes": 2611,
|
||||
"gzipBytes": 1306,
|
||||
"gzipBytes": 1310,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-CPobCF-I.js",
|
||||
"sha256": "d782b2a4faa18bb30a1099aa9384d4a837b18b5884fad9cf9b32c89ac4d70b0b",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-6n_p_IDv.js",
|
||||
"sha256": "9e343f4e991527d9c3e9782947eb67e41a2e01a1f789a770aaa078d311214ce3",
|
||||
"rawBytes": 72733,
|
||||
"gzipBytes": 20169,
|
||||
"gzipBytes": 20178,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/form-kit.styles-eIw2y67V.js",
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/form-kit.styles-D0x_MDAu.js",
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-BBxrM3sF.js",
|
||||
"houseplan-assets/summary-panel-metrics-Ck5HHl5d.js"
|
||||
"houseplan-assets/summary-panel-editor-NDmEPDhZ.js",
|
||||
"houseplan-assets/summary-panel-metrics-BOfy_fo6.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-PPd-Bqxz.js",
|
||||
"sha256": "26dafa1b5f06ec4fe01aab1e492c80896593fd62a7f16e9766075d25b15e88fb",
|
||||
"path": "houseplan-assets/zigbee-topology-aVRjewRB.js",
|
||||
"sha256": "dfbed31392aa92c1471b243d98b86de5033315a78acf9d3ffd643fc2ffc3b174",
|
||||
"rawBytes": 18962,
|
||||
"gzipBytes": 7424,
|
||||
"gzipBytes": 7434,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DlN1vrja.js",
|
||||
"sha256": "26dd9b4f4962e0f6b19cba4a4e7d222de6fa6324eea56bb9cd2db1a807a91486",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-CDGFNs8t.js",
|
||||
"sha256": "186c9747b08af525a3a3ab477056cb20edc676e897ac56971ebcbaf7e34afe85",
|
||||
"rawBytes": 3942,
|
||||
"gzipBytes": 1762,
|
||||
"gzipBytes": 1767,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js",
|
||||
"houseplan-assets/zigbee-topology-PPd-Bqxz.js"
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js",
|
||||
"houseplan-assets/zigbee-topology-aVRjewRB.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "ed977d6515b2c79736c48c1e4c67526abd633cfb2b308099119b2c8b601d98f3",
|
||||
"sha256": "f900ad33b36c25273ccf06e4311e9202f4b0985ecae24c6dc3258c85bbadb14e",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 800,
|
||||
"gzipBytes": 807,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "4ab6d42187cda8188950e8e64f71b3cda0f44cb4955eeb2b07bb0ad87c8a7f82",
|
||||
"sha256": "08df56566e33fc29a86183b968652418dfa9bb42bf440611b8b9e47c5fb4fca9",
|
||||
"rawBytes": 6165,
|
||||
"gzipBytes": 2322,
|
||||
"gzipBytes": 2329,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Dvtr52xr.js"
|
||||
"houseplan-assets/houseplan-card-BLjfDMVp.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="34ed8381ef1adf8c591e66e7e06a85168914fdc4d58c21a841ade47a105c7ef0";import{az as e,l as o,aC as t,e8 as s,A as a,e9 as i,ea as l,eb as n,E as r,c}from"./houseplan-card-Dvtr52xr.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__="ee4bb90c614d8795523c81996894e4cd97b0b0f9688056806b1360894423e89f";import{aD as e,l as o,aG as t,ee as s,A as a,ef as i,eg as l,eh as n,E as r,c}from"./houseplan-card-BLjfDMVp.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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+68
-68
File diff suppressed because one or more lines are too long
+293
-290
File diff suppressed because one or more lines are too long
+44
File diff suppressed because one or more lines are too long
-44
File diff suppressed because one or more lines are too long
+1
-1
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
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="34ed8381ef1adf8c591e66e7e06a85168914fdc4d58c21a841ade47a105c7ef0";import{c as a,A as e}from"./houseplan-card-Dvtr52xr.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-CPobCF-I.js";import"./form-kit.styles-eIw2y67V.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="ee4bb90c614d8795523c81996894e4cd97b0b0f9688056806b1360894423e89f";import{c as a,A as e}from"./houseplan-card-BLjfDMVp.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-6n_p_IDv.js";import"./form-kit.styles-D0x_MDAu.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
|
||||
<span class="summary-switch-caption"><strong>${b("summary.show_local")}</strong>
|
||||
<small id="summary-local-show-hint">${b("summary.show_local_hint")}</small></span>
|
||||
<input id="summary-local-show" data-summary-local-show type="checkbox"
|
||||
+1
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="ee4bb90c614d8795523c81996894e4cd97b0b0f9688056806b1360894423e89f";import{ek as e,N as t,a$ as n,L as i,ae as o,ac as r,bT as s,bS as a,a_ as l,aZ as c,b0 as u,el as d,em as f,bV as m,en as g}from"./houseplan-card-BLjfDMVp.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,l="entity"===r?e.registry.entities?.[s]:null,c="device"===r?s:l?.device_id,u="device"===r?a?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(s))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*b(l,c,u=_){try{let d=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(l,m.physicalBodies)),yield}const _=m.cellCm/o;d+=a(v)*_*_/1e4}return d}catch{return null}}function h(e,t,n=_){const i=b(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function p(e,t,n,i){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:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{b as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,p as summarySystemValue,h as totalCleanFloorAreaM2};
|
||||
-1
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="34ed8381ef1adf8c591e66e7e06a85168914fdc4d58c21a841ade47a105c7ef0";import{ee as e,J as t,aX as n,H as i,aa as o,a8 as r,bP as a,bO as s,aW as c,aV as l,aY as d,ef as u,eg as f,bR as m,eh as g}from"./houseplan-card-Dvtr52xr.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=d(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),a=i.binding.slice(o+1),s="device"===r?e.registry.devices?.[a]:null,c="entity"===r?e.registry.entities?.[a]:null,l="device"===r?a:c?.device_id,d="device"===r?s?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,u="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||d||"",f=u&&e.areaToSpace[u]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===r&&n.liveEntities.has(a))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*h(c,l,d=_){try{let u=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(c,m.physicalBodies)),yield}const _=m.cellCm/o;u+=s(v)*_*_/1e4}return u}catch{return null}}function p(e,t,n=_){const i=h(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function S(e,t,n,i){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:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function b(e,t){const n=e?.states?.[t];if(!n)return null;const i=u(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,b as summaryEntityValue,S as summarySystemValue,p as totalCleanFloorAreaM2};
|
||||
+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
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="34ed8381ef1adf8c591e66e7e06a85168914fdc4d58c21a841ade47a105c7ef0";import{n as t,b as n}from"./zigbee-topology-PPd-Bqxz.js";import{aI as e}from"./houseplan-card-Dvtr52xr.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__="ee4bb90c614d8795523c81996894e4cd97b0b0f9688056806b1360894423e89f";import{n as t,b as n}from"./zigbee-topology-aVRjewRB.js";import{aM as e}from"./houseplan-card-BLjfDMVp.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 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(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,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=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 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&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),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{f as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="34ed8381ef1adf8c591e66e7e06a85168914fdc4d58c21a841ade47a105c7ef0";try{await import("./houseplan-assets/houseplan-card-Dvtr52xr.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__="ee4bb90c614d8795523c81996894e4cd97b0b0f9688056806b1360894423e89f";try{await import("./houseplan-assets/houseplan-card-BLjfDMVp.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
Reference in New Issue
Block a user