mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix: harden summary panel review cases (#437)
Issue: #437 User-Visible: yes
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "c5cc4f6bf78be3b5938ec01c92ef7d0615b92cbf94e2b16be32474c92d34d720",
|
||||
"fingerprint": "7c83399f3ae024789fa21e852e679e103d872b8e501bf4c92d851fc2d1448b65",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js",
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 291234,
|
||||
"initialViewGzipBytes": 291233,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js",
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js",
|
||||
"houseplan-card.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
@@ -17,293 +17,293 @@
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2287,
|
||||
"initialPanelOnlyGzipBytes": 2288,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-BBK0Wsd-.js",
|
||||
"houseplan-assets/de-BdTJQ6-7.js",
|
||||
"houseplan-assets/editor-DgZzHEsw.js",
|
||||
"houseplan-assets/fr-DGS5Sb3K.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-BvVjPp5-.js",
|
||||
"houseplan-assets/guard-D9rtKTEi.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-CUBHU5Lj.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-nezROKVj.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CYcfsSP5.js",
|
||||
"houseplan-assets/iso-scene-render-B2zEExYD.js",
|
||||
"houseplan-assets/live-interaction-runtime-BG9OZ0me.js",
|
||||
"houseplan-assets/pdf-export-CSUA9f7D.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DXURZGPW.js",
|
||||
"houseplan-assets/zigbee-topology-4A5WlAdA.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-CzJBkfDV.js"
|
||||
"houseplan-assets/backdrop-pick-BRxWHlkA.js",
|
||||
"houseplan-assets/de-BM6m1opK.js",
|
||||
"houseplan-assets/editor-BEuHtSf6.js",
|
||||
"houseplan-assets/fr-CZioiym0.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DK144qGt.js",
|
||||
"houseplan-assets/guard-CNHlhiHy.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-CsSNfBdO.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-C5-cS_93.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CfzLVB_P.js",
|
||||
"houseplan-assets/iso-scene-render-BN1QOGlt.js",
|
||||
"houseplan-assets/live-interaction-runtime-U2ZwnKXN.js",
|
||||
"houseplan-assets/pdf-export-DkQRI1m7.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CtMn3WiI.js",
|
||||
"houseplan-assets/zigbee-topology-DlaHYqmK.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BmE9yJae.js"
|
||||
],
|
||||
"lazyGzipBytes": 396736,
|
||||
"lazyGzipBytes": 396986,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-BBK0Wsd-.js",
|
||||
"houseplan-assets/editor-DgZzHEsw.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-BvVjPp5-.js",
|
||||
"houseplan-assets/guard-D9rtKTEi.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-CUBHU5Lj.js",
|
||||
"houseplan-assets/zigbee-topology-4A5WlAdA.js"
|
||||
"houseplan-assets/backdrop-pick-BRxWHlkA.js",
|
||||
"houseplan-assets/editor-BEuHtSf6.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DK144qGt.js",
|
||||
"houseplan-assets/guard-CNHlhiHy.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-CsSNfBdO.js",
|
||||
"houseplan-assets/zigbee-topology-DlaHYqmK.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 195415,
|
||||
"lazyEditorGzipBytes": 195414,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-BBK0Wsd-.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-nezROKVj.js"
|
||||
"houseplan-assets/backdrop-pick-BRxWHlkA.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-C5-cS_93.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14080,
|
||||
"lazyOnboardingGzipBytes": 14084,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-BdTJQ6-7.js",
|
||||
"houseplan-assets/fr-DGS5Sb3K.js"
|
||||
"houseplan-assets/de-BM6m1opK.js",
|
||||
"houseplan-assets/fr-CZioiym0.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 50571,
|
||||
"lazyLocaleGzipBytes": 50580,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-D9rtKTEi.js",
|
||||
"houseplan-assets/iso-scene-render-B2zEExYD.js"
|
||||
"houseplan-assets/guard-CNHlhiHy.js",
|
||||
"houseplan-assets/iso-scene-render-BN1QOGlt.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13460,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-BvVjPp5-.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-DK144qGt.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10254,
|
||||
"lazyFurnitureArtGzipBytes": 10252,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-BvVjPp5-.js",
|
||||
"houseplan-assets/pdf-export-CSUA9f7D.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-DK144qGt.js",
|
||||
"houseplan-assets/pdf-export-DkQRI1m7.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120334,
|
||||
"lazyPdfGzipBytes": 120332,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-BBK0Wsd-.js",
|
||||
"sha256": "828a162439305cb43713ce6ee70ce21125dde6a3fe08aeedb071e2ca52e9cf22",
|
||||
"path": "houseplan-assets/backdrop-pick-BRxWHlkA.js",
|
||||
"sha256": "b6981840ba31d882db691de5a5dfc3ec165c993bdaa66c27d09ef9d8ae4f5db4",
|
||||
"rawBytes": 21012,
|
||||
"gzipBytes": 7111,
|
||||
"gzipBytes": 7112,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-BdTJQ6-7.js",
|
||||
"sha256": "4e899c40494e2a64fd2273c2396d3836cee232978943157dcfad1d9699d16436",
|
||||
"path": "houseplan-assets/de-BM6m1opK.js",
|
||||
"sha256": "5da37f699f24183fed2daf2e532883b578cceb5fd2cc838be39bb566ea6add01",
|
||||
"rawBytes": 84771,
|
||||
"gzipBytes": 25539,
|
||||
"gzipBytes": 25544,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-DgZzHEsw.js",
|
||||
"sha256": "e0e619f9bbc840eb9467549d38b5c1d32480db10592cb10fd8fe21eaef13e7cc",
|
||||
"path": "houseplan-assets/editor-BEuHtSf6.js",
|
||||
"sha256": "6e4e2ad5508cebc91169d5b16f8ea83e4e8666d3bcedfb534d1ffff9d36acbd0",
|
||||
"rawBytes": 3837,
|
||||
"gzipBytes": 1587,
|
||||
"gzipBytes": 1586,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-DGS5Sb3K.js",
|
||||
"sha256": "1caf5e300e6cfd50968bba72a3a2cb1df40de6856b17f8748628a1e73006d7a6",
|
||||
"path": "houseplan-assets/fr-CZioiym0.js",
|
||||
"sha256": "1aacf38a798fe287018431468b127abb871c3476c363cd9e69ae8172c9cacc03",
|
||||
"rawBytes": 86828,
|
||||
"gzipBytes": 25032,
|
||||
"gzipBytes": 25036,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-BvVjPp5-.js",
|
||||
"sha256": "a42d324cf168dd2822d67a3c997c7e00988bb038f490487851463c1bb3f3ea71",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-DK144qGt.js",
|
||||
"sha256": "8e5e130497b823f8e04f87debf39ca40e79f5cc396d4ec4fa946aef9f6f398fa",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10254,
|
||||
"gzipBytes": 10252,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-D9rtKTEi.js",
|
||||
"sha256": "3294413ff289dc463eca548598af6bc15702c8b2793bce39d33e4586b4aa9cd9",
|
||||
"path": "houseplan-assets/guard-CNHlhiHy.js",
|
||||
"sha256": "24a9f365f2fb6da24b6868e8498f558c00ec1132da16510c8e19b05008f5fb85",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 370,
|
||||
"gzipBytes": 371,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-BCOnQcLE.js",
|
||||
"sha256": "e5e6ba495cc9f759ae2182c93db08873e71329fdbfd76416469bd5b1882a9ade",
|
||||
"path": "houseplan-assets/houseplan-card-BxnavZkQ.js",
|
||||
"sha256": "78e1c0a7f9548d6f189a93c7f3df64d5c1d4c2bd1ea649c65cf95d1757fe217f",
|
||||
"rawBytes": 1046864,
|
||||
"gzipBytes": 290430,
|
||||
"gzipBytes": 290428,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-BdTJQ6-7.js",
|
||||
"houseplan-assets/editor-DgZzHEsw.js",
|
||||
"houseplan-assets/fr-DGS5Sb3K.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-BvVjPp5-.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-CUBHU5Lj.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-nezROKVj.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CYcfsSP5.js",
|
||||
"houseplan-assets/iso-scene-render-B2zEExYD.js",
|
||||
"houseplan-assets/live-interaction-runtime-BG9OZ0me.js",
|
||||
"houseplan-assets/pdf-export-CSUA9f7D.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DXURZGPW.js"
|
||||
"houseplan-assets/de-BM6m1opK.js",
|
||||
"houseplan-assets/editor-BEuHtSf6.js",
|
||||
"houseplan-assets/fr-CZioiym0.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DK144qGt.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-CsSNfBdO.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-C5-cS_93.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-CfzLVB_P.js",
|
||||
"houseplan-assets/iso-scene-render-BN1QOGlt.js",
|
||||
"houseplan-assets/live-interaction-runtime-U2ZwnKXN.js",
|
||||
"houseplan-assets/pdf-export-DkQRI1m7.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CtMn3WiI.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-CUBHU5Lj.js",
|
||||
"sha256": "1452c153793d8b8b638fc450ebb4508d21f313b3eb171e70fa445f4aca76a4b9",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-CsSNfBdO.js",
|
||||
"sha256": "4deca87cfdf655580801b2e23ad8b21cd0fe2c9276fd70c4d0eddd10931b58b3",
|
||||
"rawBytes": 633719,
|
||||
"gzipBytes": 168664,
|
||||
"gzipBytes": 168666,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-BBK0Wsd-.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-BvVjPp5-.js",
|
||||
"houseplan-assets/guard-D9rtKTEi.js",
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js",
|
||||
"houseplan-assets/zigbee-topology-4A5WlAdA.js"
|
||||
"houseplan-assets/backdrop-pick-BRxWHlkA.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DK144qGt.js",
|
||||
"houseplan-assets/guard-CNHlhiHy.js",
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js",
|
||||
"houseplan-assets/zigbee-topology-DlaHYqmK.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-CzJBkfDV.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-BmE9yJae.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-nezROKVj.js",
|
||||
"sha256": "5e728b7909b35f0a5369b67fb2f4856776415014ef5bbbf6e2401c2c4d12fd0a",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-C5-cS_93.js",
|
||||
"sha256": "d05e2b0f9bdbfeabc8a0591f0f5e390fd555c38629a8ab956205c948fa164e1f",
|
||||
"rawBytes": 28075,
|
||||
"gzipBytes": 6969,
|
||||
"gzipBytes": 6972,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-BBK0Wsd-.js",
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/backdrop-pick-BRxWHlkA.js",
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-CYcfsSP5.js",
|
||||
"sha256": "210185e0cfc59ec5001748b5d223bd1e2082ee80c5bfdbee0dcb0f9ba0f60a3d",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-CfzLVB_P.js",
|
||||
"sha256": "2608a36453c6d15b02618ff56b4d97c4eec849473abcd6fa3f0bffdd8711abbd",
|
||||
"rawBytes": 11034,
|
||||
"gzipBytes": 3732,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js",
|
||||
"houseplan-assets/zigbee-topology-4A5WlAdA.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-CzJBkfDV.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js",
|
||||
"houseplan-assets/zigbee-topology-DlaHYqmK.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BmE9yJae.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-B2zEExYD.js",
|
||||
"sha256": "1f2d4654bb5e50f5771a744cd2869f9b86c84e51772ed16e376e91b04c46b9db",
|
||||
"path": "houseplan-assets/iso-scene-render-BN1QOGlt.js",
|
||||
"sha256": "87658f2e672efb17678353325c3b603f3b5d97bb3146a1324d6f93fa548f5e07",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13090,
|
||||
"gzipBytes": 13089,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-D9rtKTEi.js",
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/guard-CNHlhiHy.js",
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-BG9OZ0me.js",
|
||||
"sha256": "871fca07768e489765deba2f4a32905b0cb8bafe8577f8e115d0e6cbc3ea1a5b",
|
||||
"path": "houseplan-assets/live-interaction-runtime-U2ZwnKXN.js",
|
||||
"sha256": "9eed089f29c467c1433601aec58258dcaf132e7a83c6d6a4d19c71570a3d75a9",
|
||||
"rawBytes": 5196,
|
||||
"gzipBytes": 2126,
|
||||
"gzipBytes": 2128,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-CSUA9f7D.js",
|
||||
"sha256": "55ce2ac89d89b3e589ec823d0822cf3ce5c674572fdb84f1034729c5488a7622",
|
||||
"path": "houseplan-assets/pdf-export-DkQRI1m7.js",
|
||||
"sha256": "6b3e6e2400afb9f03d9e39344c870d9f5b4a300609893dc3b4937e03e11bf621",
|
||||
"rawBytes": 237163,
|
||||
"gzipBytes": 110080,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-BvVjPp5-.js",
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-DK144qGt.js",
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-Bzt91B0Z.js",
|
||||
"sha256": "0911e9c1d6535ae722df8f779c704eb65b3a4e77c3b2a5be74bc7a27eb5f317b",
|
||||
"path": "houseplan-assets/summary-panel-editor-maMcJbPs.js",
|
||||
"sha256": "a0991dc7bc9a2e667d7eac6cef7cbd554c09c4aa1db2e8037b89e9f9f5b49a5f",
|
||||
"rawBytes": 10904,
|
||||
"gzipBytes": 2842,
|
||||
"gzipBytes": 2841,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-DXURZGPW.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CtMn3WiI.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-tlxL-L7n.js",
|
||||
"sha256": "4e65cb3ae23bff76823912af35440f7c5860712621e8436481eebdcdf5a60bb3",
|
||||
"path": "houseplan-assets/summary-panel-metrics-CImxYk0n.js",
|
||||
"sha256": "71488cfdf3c8c596ba8049d124e3586d19a7078807511a5bdfb6422028789484",
|
||||
"rawBytes": 2195,
|
||||
"gzipBytes": 1124,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-DXURZGPW.js",
|
||||
"sha256": "431b29c320751aadad73587db8c8d3f01375cbd1f24a93407e50df588be44ea9",
|
||||
"rawBytes": 42456,
|
||||
"gzipBytes": 12990,
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-CtMn3WiI.js",
|
||||
"sha256": "1b624c29ecce15ed6f5625b0a6af5bbb43f6350c06fada900d66dcaa2d6f5335",
|
||||
"rawBytes": 43236,
|
||||
"gzipBytes": 13225,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-Bzt91B0Z.js",
|
||||
"houseplan-assets/summary-panel-metrics-tlxL-L7n.js"
|
||||
"houseplan-assets/summary-panel-editor-maMcJbPs.js",
|
||||
"houseplan-assets/summary-panel-metrics-CImxYk0n.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-4A5WlAdA.js",
|
||||
"sha256": "f7d48add16cb1d1b3f0f0f83e79dd7ea02cdd7120924f0325d914255edcda6de",
|
||||
"path": "houseplan-assets/zigbee-topology-DlaHYqmK.js",
|
||||
"sha256": "67282ce4951a56a039ce8df24702bda4fe1c621c41518559baf3c6b2d55c20c6",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7429,
|
||||
"gzipBytes": 7427,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-CzJBkfDV.js",
|
||||
"sha256": "18c2cbe297747697ebd92e3c9507149bdb2f36020e1c6dd3c37c0e51e2aa3e42",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-BmE9yJae.js",
|
||||
"sha256": "efbecc890bf33b6edaeceebb5e9ca4b14c7e1266e0d3b8a373b311e40faeda90",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1763,
|
||||
"gzipBytes": 1766,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js",
|
||||
"houseplan-assets/zigbee-topology-4A5WlAdA.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js",
|
||||
"houseplan-assets/zigbee-topology-DlaHYqmK.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "75d9bbb50fc5d6baf464be81156630e4813c17f2e73ea1f74fe4aa29eda34f32",
|
||||
"sha256": "6f59aa7579cd0eaff7301c0163e9148dbb62d2e0a88811e4eccc42ffb13ddbc0",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 804,
|
||||
"gzipBytes": 805,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-BCOnQcLE.js"
|
||||
"houseplan-assets/houseplan-card-BxnavZkQ.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "01162c7d70fd01697f6635e160d70cce32e4ef723d2fa821085ca866ee1d4a6b",
|
||||
"sha256": "9d67f752cd8560244a904cfa2c1824675f2d1ef6e807552cdd5cc34894a084eb",
|
||||
"rawBytes": 6071,
|
||||
"gzipBytes": 2287,
|
||||
"gzipBytes": 2288,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-card.js"
|
||||
|
||||
+7
-7
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__="c5cc4f6bf78be3b5938ec01c92ef7d0615b92cbf94e2b16be32474c92d34d720";import{t as e,l as o,x as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,dU as r,b as c}from"./houseplan-card-BCOnQcLE.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__="7c83399f3ae024789fa21e852e679e103d872b8e501bf4c92d851fc2d1448b65";import{t as e,l as o,x as t,e4 as s,A as a,e5 as i,e6 as l,e7 as n,dU as r,b as c}from"./houseplan-card-BxnavZkQ.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
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c5cc4f6bf78be3b5938ec01c92ef7d0615b92cbf94e2b16be32474c92d34d720";import{dS as r,dT as t,dU as e}from"./houseplan-card-BCOnQcLE.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};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7c83399f3ae024789fa21e852e679e103d872b8e501bf4c92d851fc2d1448b65";import{dS as r,dT as t,dU as e}from"./houseplan-card-BxnavZkQ.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
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c5cc4f6bf78be3b5938ec01c92ef7d0615b92cbf94e2b16be32474c92d34d720";import{l as t,b0 as s,A as e,x as o,b as a,ck as l,cl as i,cm as h,cn as c,aZ as n,co as r,ct as p,cp as _,cq as d,cr as u,cs as g,cu as m,cv as b,dp as $,dq as v,dr as f,aY as y,a_ as w,ds as D}from"./houseplan-card-BCOnQcLE.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-BBK0Wsd-.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="c5cc4f6bf78be3b5938ec01c92ef7d0615b92cbf94e2b16be32474c92d34d720";class L{constructor(t){this.host=t,this._toggleServerPlans=async()=>{const t=this.host._spaceDialog;if(t)if(t.pickSaved)this.host._spaceDialog={...t,pickSaved:!1};else{this.host._spaceDialog={...t,pickSaved:!0,savedBusy:!0};try{const t=await this.host.hass.callWS({type:"houseplan/plans/list"}),s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:t?.plans||[],savedBusy:!1})}catch(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:[],savedBusy:!1}),this.host._showToast(this.host._t("toast.plans_list_failed",{err:this.host._errText(t)}))}}}}_help(l){const i=`${l}.aria`,h=t(this.host.hass,this.host._config?.language);return s(h,l)&&s(h,i)?a`<hp-help data-help-key=${l}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7c83399f3ae024789fa21e852e679e103d872b8e501bf4c92d851fc2d1448b65";import{l as t,b0 as s,A as e,x as o,b as a,ck as l,cl as i,cm as h,cn as c,aZ as n,co as r,ct as p,cp as _,cq as d,cr as u,cs as g,cu as m,cv as b,dp as $,dq as v,dr as f,aY as y,a_ as w,ds as D}from"./houseplan-card-BxnavZkQ.js";import{c as k,e as S,r as C,a as M}from"./backdrop-pick-BRxWHlkA.js";const F=1e3,x=t=>{if(!t.trim())return null;const s=Number(t.replace(",","."));return Number.isFinite(s)?s:null},T="7c83399f3ae024789fa21e852e679e103d872b8e501bf4c92d851fc2d1448b65";class L{constructor(t){this.host=t,this._toggleServerPlans=async()=>{const t=this.host._spaceDialog;if(t)if(t.pickSaved)this.host._spaceDialog={...t,pickSaved:!1};else{this.host._spaceDialog={...t,pickSaved:!0,savedBusy:!0};try{const t=await this.host.hass.callWS({type:"houseplan/plans/list"}),s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:t?.plans||[],savedBusy:!1})}catch(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,saved:[],savedBusy:!1}),this.host._showToast(this.host._t("toast.plans_list_failed",{err:this.host._errText(t)}))}}}}_help(l){const i=`${l}.aria`,h=t(this.host.hass,this.host._config?.language);return s(h,l)&&s(h,i)?a`<hp-help data-help-key=${l}
|
||||
.text=${o(h,l)} .ariaLabel=${o(h,i)}></hp-help>`:e}_openSpaceDialog(t,s){if(!this.host._serverStorage||!this.host._serverCfg)return void this.host._showToast(this.host._t("toast.integration_missing"));if("edit"===t){const e=this.host._serverCfg.spaces.find(t=>t.id===s);if(!e)return;const o=l(e),a=e.settings?.custom_fill&&"object"==typeof e.settings.custom_fill?i(e.settings.custom_fill):null,p="none"===o.fill?{...a||h,a:0}:a;return void(this.host._spaceDialog={mode:t,spaceId:s,title:e.title,planUrl:e.plan_url||null,planFile:null,source:e.plan_url?"file":"draw",showBorders:o.showBorders,showNames:o.showNames,zeroWallStyle:r(e),displayTouched:!0,hideDecor:o.hideDecor,hideOpenings:o.hideOpenings,roomColor:o.color,roomOpacity:o.opacity,fillMode:"none"===o.fill?"custom":o.fill,customFill:p,glowEnabled:o.glow,bgColor:o.bgColor,bgMode:"static"===e.settings?.bg_mode||"daynight"===e.settings?.bg_mode?e.settings.bg_mode:null,northDeg:n({},e.settings),sunRays:"boolean"==typeof e.settings?.sun_rays?e.settings.sun_rays:null,tempMin:o.tempMin,tempMax:o.tempMax,showLqi:o.showLqi??this.host._config?.show_signal??!0,cardFontScale:o.cardFontScale,labelTemp:o.labelTemp,labelHum:o.labelHum,labelLqi:o.labelLqi,labelLight:o.labelLight,cellCm:Number(e.cell_cm)>0?Number(e.cell_cm):5,cellCmInput:c(Number(e.cell_cm)>0?Number(e.cell_cm):5,this.host._imperial),cellCmTouched:!1,busy:!1})}const e=p(this.host._imperial);this.host._spaceDialog={mode:t,title:"",planUrl:null,planFile:null,...m(),hideDecor:!1,hideOpenings:!1,zeroWallStyle:"dashed",roomColor:g,roomOpacity:u,fillMode:"custom",customFill:{...h,a:0},glowEnabled:!0,bgColor:null,bgMode:"daynight",northDeg:null,sunRays:null,tempMin:d,tempMax:_,showLqi:this.host._config?.show_signal??!0,cardFontScale:1,labelTemp:!1,labelHum:!1,labelLqi:!1,labelLight:!1,cellCm:e,cellCmInput:c(e,this.host._imperial),cellCmTouched:!1,busy:!1}}async _pickPlanFile(t){const s=t.target,e=s.files?.[0];if(!e||!this.host._spaceDialog)return;s.value="";const o=await k(e);if("reject"===o.kind)return void this.host._showToast(this.host._t("toast.plan_formats"));if("guard"===o.kind)return void(this.host._backdropGuard=o.state);const a=await S(e,o.ext,e.name);this.host._spaceDialog&&(this.host._spaceDialog={...this.host._spaceDialog,planFile:a})}_renderBackdropGuard(){return C(this.host,t=>{this.host._spaceDialog&&(this.host._spaceDialog={...this.host._spaceDialog,planFile:t})},()=>{this.host._backdropGuard=null},this.host.hass)??e}_useServerPlan(t){const s=this.host._spaceDialog;s&&(this.host._spaceDialog={...s,planUrl:t,planFile:null,pickSaved:!1,savedAspect:void 0},this.host._aspectJob=this._readPlanAspect(t))}async _readPlanAspect(t){for(let s=0;s<40;s++){const s=this.host._display(t);if(s){const e=await new Promise(t=>{const e=new Image;e.onload=()=>t(e.naturalWidth&&e.naturalHeight?e.naturalWidth/e.naturalHeight:0),e.onerror=()=>t(0),e.src=s}),o=this.host._spaceDialog;return o&&o.planUrl===t&&Number.isFinite(e)&&e>0?(this.host._spaceDialog={...o,savedAspect:e},e):0}if(await new Promise(t=>setTimeout(t,150)),this.host._spaceDialog?.planUrl!==t)return 0}return 0}async _deleteServerPlan(t){const s=this.host._spaceDialog,e=s?.saved?.find(s=>s.name===t);if(!s||!e||e.used_by.length||e.url===s.planUrl)return;const o=await this.host._confirmDanger({key:"delete-plan",kind:"destructive",title:this.host._t("confirm.delete_plan_title"),message:this.host._t("confirm.delete_plan_body"),objectName:t,confirmLabel:this.host._t("btn.delete"),cancelLabel:this.host._t("btn.cancel")}),a=this.host._spaceDialog,l=a?.saved?.find(s=>s.name===t);if(o&&a&&l&&l.url===e.url&&l.modified===e.modified&&!l.used_by.length&&l.url!==a.planUrl)try{await this.host.hass.callWS({type:"houseplan/plans/delete",name:t});const s=this.host._spaceDialog;s?.saved&&(this.host._spaceDialog={...s,saved:s.saved.filter(s=>s.name!==t)})}catch(t){this.host._showToast(this.host._t("toast.plan_delete_failed",{err:this.host._errText(t)}))}}_renderServerPlans(t){if(t.savedBusy)return a`<div class="savedplans muted">${this.host._t("space.loading")}</div>`;const s=t.saved||[];if(!s.length)return a`<div class="savedplans muted">${this.host._t("space.no_saved")}</div>`;return a`<div class="savedplans">
|
||||
${s.map(s=>{return a`
|
||||
<div class="savedplan ${s.url===t.planUrl?"cur":""}">
|
||||
+7
-7
File diff suppressed because one or more lines are too long
+31
-31
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__="c5cc4f6bf78be3b5938ec01c92ef7d0615b92cbf94e2b16be32474c92d34d720";import{b as e,A as t}from"./houseplan-card-BCOnQcLE.js";import{s as a,n as s,m as l,a as o,b as i}from"./summary-panel-runtime-loaded-DXURZGPW.js";const r=r=>{const{host:c,dialog:u,local:n,problems:m,t:d}=r,p=m.find(e=>"error"===e.kind),$=u.localShow!==u.baseLocalShow||!u.localOnly&&!a(s(u.draft),u.base),b=$&&!u.busy&&!p,y=e=>m.find(t=>t.path===e),v=e=>e?d(`summary.problem.${e.code}`):"",h=Object.entries(c.hass?.states||{}).sort((e,t)=>{const a=String(e[1]?.attributes?.friendly_name||e[0]),s=String(t[1]?.attributes?.friendly_name||t[0]);return a.localeCompare(s)}),g=u.entityFilter.trim().toLocaleLowerCase(),_=g?h.filter(([e,t])=>`${e} ${t.attributes?.friendly_name||""}`.toLocaleLowerCase().includes(g)):h,k=()=>r.close(),f=e`<label class="summary-switch"><input type="checkbox"
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7c83399f3ae024789fa21e852e679e103d872b8e501bf4c92d851fc2d1448b65";import{b as e,A as t}from"./houseplan-card-BxnavZkQ.js";import{s as a,n as s,m as l,a as o,b as i}from"./summary-panel-runtime-loaded-CtMn3WiI.js";const r=r=>{const{host:c,dialog:u,local:n,problems:m,t:d}=r,p=m.find(e=>"error"===e.kind),$=u.localShow!==u.baseLocalShow||!u.localOnly&&!a(s(u.draft),u.base),b=$&&!u.busy&&!p,y=e=>m.find(t=>t.path===e),v=e=>e?d(`summary.problem.${e.code}`):"",h=Object.entries(c.hass?.states||{}).sort((e,t)=>{const a=String(e[1]?.attributes?.friendly_name||e[0]),s=String(t[1]?.attributes?.friendly_name||t[0]);return a.localeCompare(s)}),g=u.entityFilter.trim().toLocaleLowerCase(),_=g?h.filter(([e,t])=>`${e} ${t.attributes?.friendly_name||""}`.toLocaleLowerCase().includes(g)):h,k=()=>r.close(),f=e`<label class="summary-switch"><input type="checkbox"
|
||||
.checked=${u.localShow}
|
||||
@change=${e=>r.setDialog({...u,localShow:e.target.checked})} />
|
||||
<span>${d("summary.show_local")}</span></label>`,w=e`<h3 class="summary-sizes-title">${d("summary.sizes_title")}</h3>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c5cc4f6bf78be3b5938ec01c92ef7d0615b92cbf94e2b16be32474c92d34d720";import{az as e,e9 as t,ea as n,br as i,eb as r,P as s,a5 as a,M as o,aq as c,N as l,bp as d,bo as u,ec as f}from"./houseplan-card-BCOnQcLE.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const s=e.binding.slice(0,r),a=e.binding.slice(r+1),o="device"===s?t.registry.devices?.[a]:null,c="entity"===s?t.registry.entities?.[a]:null,l="device"===s?a:c?.device_id,d="device"===s?o?.area_id:c?.area_id||l&&t.registry.devices?.[l]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||d||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;l&&t.registry.devices?.[l]&&t.spaceIds.has(f)&&(!i.devices.has(l)||"entity"===s&&i.liveEntities.has(a))&&n.add(l)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=s(e);if(!t)continue;const n=a(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,l)||t;g=m(g,d(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const s=t(e,i);return s?n(s,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7c83399f3ae024789fa21e852e679e103d872b8e501bf4c92d851fc2d1448b65";import{az as e,e9 as t,ea as n,br as i,eb as r,P as a,a5 as s,M as o,aq as c,N as l,bp as d,bo as u,ec as f}from"./houseplan-card-BxnavZkQ.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,l="device"===a?s:c?.device_id,d="device"===a?o?.area_id:c?.area_id||l&&t.registry.devices?.[l]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||d||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;l&&t.registry.devices?.[l]&&t.spaceIds.has(f)&&(!i.devices.has(l)||"entity"===a&&i.liveEntities.has(s))&&n.add(l)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,l)||t;g=m(g,d(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
+26
-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
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c5cc4f6bf78be3b5938ec01c92ef7d0615b92cbf94e2b16be32474c92d34d720";import{n as t,b as n}from"./zigbee-topology-4A5WlAdA.js";import{F as e}from"./houseplan-card-BCOnQcLE.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7c83399f3ae024789fa21e852e679e103d872b8e501bf4c92d851fc2d1448b65";import{n as t,b as n}from"./zigbee-topology-DlaHYqmK.js";import{F as e}from"./houseplan-card-BxnavZkQ.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c5cc4f6bf78be3b5938ec01c92ef7d0615b92cbf94e2b16be32474c92d34d720";try{await import("./houseplan-assets/houseplan-card-BCOnQcLE.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__="7c83399f3ae024789fa21e852e679e103d872b8e501bf4c92d851fc2d1448b65";try{await import("./houseplan-assets/houseplan-card-BxnavZkQ.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