mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix: commit slider-number input atomically (#608)
Issue: #608 User-Visible: yes
This commit is contained in:
@@ -1,109 +1,109 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "7d666f118b3321f5eca092f330ca7f1a3985cf7ab65ea69a2247c9064d4d2e7d",
|
||||
"fingerprint": "79d13951017700bba056e6dd98da8aab1d6e1ffc681b5b46b0fb8620701e370b",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js",
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 290838,
|
||||
"initialViewGzipBytes": 290834,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js",
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 292361,
|
||||
"initialPanelGzipBytes": 292357,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2326,
|
||||
"initialPanelOnlyGzipBytes": 2325,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-ChtekkjK.js",
|
||||
"houseplan-assets/de-Dd67KZRi.js",
|
||||
"houseplan-assets/editor-BqYGJdy_.js",
|
||||
"houseplan-assets/form-kit.styles-B_5CMgdi.js",
|
||||
"houseplan-assets/fr-B8p_WqZo.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bnv81nQu.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-Bgfhnyaz.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CFTGZBOM.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-I70HvJ5c.js",
|
||||
"houseplan-assets/iso-scene-render-DYDlHSpW.js",
|
||||
"houseplan-assets/live-interaction-runtime-oBr6T3-s.js",
|
||||
"houseplan-assets/pdf-export-jsY2v0QA.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-Cp3oDBoZ.js",
|
||||
"houseplan-assets/zigbee-topology-Cn7gwCu3.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DOdiOjPF.js"
|
||||
"houseplan-assets/backdrop-pick-MAfy3Fgx.js",
|
||||
"houseplan-assets/de-FquvF99L.js",
|
||||
"houseplan-assets/editor-JLCZ5yuE.js",
|
||||
"houseplan-assets/form-kit.styles-CWDTYsRT.js",
|
||||
"houseplan-assets/fr-BDyCkzrj.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DVhlsduR.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-DyTn1EyM.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BgykCFzU.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BrTjRdRJ.js",
|
||||
"houseplan-assets/iso-scene-render-DyHnlutS.js",
|
||||
"houseplan-assets/live-interaction-runtime-BYbgq8Pq.js",
|
||||
"houseplan-assets/pdf-export-CAMox4n-.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BSB_2NmO.js",
|
||||
"houseplan-assets/zigbee-topology-4cGq3pAK.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BKWaSjok.js"
|
||||
],
|
||||
"lazyGzipBytes": 459941,
|
||||
"lazyGzipBytes": 460163,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-ChtekkjK.js",
|
||||
"houseplan-assets/editor-BqYGJdy_.js",
|
||||
"houseplan-assets/form-kit.styles-B_5CMgdi.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bnv81nQu.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-Bgfhnyaz.js",
|
||||
"houseplan-assets/zigbee-topology-Cn7gwCu3.js"
|
||||
"houseplan-assets/backdrop-pick-MAfy3Fgx.js",
|
||||
"houseplan-assets/editor-JLCZ5yuE.js",
|
||||
"houseplan-assets/form-kit.styles-CWDTYsRT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DVhlsduR.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-DyTn1EyM.js",
|
||||
"houseplan-assets/zigbee-topology-4cGq3pAK.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 243377,
|
||||
"lazyEditorGzipBytes": 243597,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-ChtekkjK.js",
|
||||
"houseplan-assets/form-kit.styles-B_5CMgdi.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CFTGZBOM.js"
|
||||
"houseplan-assets/backdrop-pick-MAfy3Fgx.js",
|
||||
"houseplan-assets/form-kit.styles-CWDTYsRT.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BgykCFzU.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 33820,
|
||||
"lazyOnboardingGzipBytes": 34039,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-Dd67KZRi.js",
|
||||
"houseplan-assets/fr-B8p_WqZo.js"
|
||||
"houseplan-assets/de-FquvF99L.js",
|
||||
"houseplan-assets/fr-BDyCkzrj.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 55376,
|
||||
"lazyLocaleGzipBytes": 55371,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/iso-scene-render-DYDlHSpW.js"
|
||||
"houseplan-assets/iso-scene-render-DyHnlutS.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 17643,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-Bnv81nQu.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-DVhlsduR.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 16940,
|
||||
"lazyFurnitureArtGzipBytes": 16939,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-Bnv81nQu.js",
|
||||
"houseplan-assets/pdf-export-jsY2v0QA.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-DVhlsduR.js",
|
||||
"houseplan-assets/pdf-export-CAMox4n-.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 126827,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-ChtekkjK.js",
|
||||
"sha256": "fb263226fc7bf7a9d872823209b3844f0162bdcf3bed278fb79123e00e750b39",
|
||||
"rawBytes": 74076,
|
||||
"gzipBytes": 23935,
|
||||
"path": "houseplan-assets/backdrop-pick-MAfy3Fgx.js",
|
||||
"sha256": "be54fb53f443554bc70c64725967ca828aacaafc2cbb7cbc0d45c5475d642ace",
|
||||
"rawBytes": 74599,
|
||||
"gzipBytes": 24153,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/form-kit.styles-B_5CMgdi.js",
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/form-kit.styles-CWDTYsRT.js",
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-Dd67KZRi.js",
|
||||
"sha256": "dd8beef1b1848fe6d617084ade594a5022e2b89585bcc5ae52ce80290aa04ea0",
|
||||
"path": "houseplan-assets/de-FquvF99L.js",
|
||||
"sha256": "4088bf9d0b807e5e467f23029fda63d77e21a2a6f0c4c8049f290f32a226ac07",
|
||||
"rawBytes": 92496,
|
||||
"gzipBytes": 27930,
|
||||
"gzipBytes": 27929,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-BqYGJdy_.js",
|
||||
"sha256": "4b98e3971c9d0061f4cbf48e86c7298ccc396287db7b6435577a2d4548906f03",
|
||||
"path": "houseplan-assets/editor-JLCZ5yuE.js",
|
||||
"sha256": "8a0b670eea856fef2ddbbcfeac1fe44bddc8bc4718e640b6c7aa683166f511bd",
|
||||
"rawBytes": 3833,
|
||||
"gzipBytes": 1584,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/form-kit.styles-B_5CMgdi.js",
|
||||
"sha256": "bda85962b57af51da115177735c9804ca7420bf400704e9fb23e1f9c7e5d453d",
|
||||
"path": "houseplan-assets/form-kit.styles-CWDTYsRT.js",
|
||||
"sha256": "e59aaad7511800ec1428404391a7d8844ce5d0397d40ea468615f1233909fef6",
|
||||
"rawBytes": 25600,
|
||||
"gzipBytes": 5056,
|
||||
"isEntry": false,
|
||||
@@ -111,202 +111,202 @@
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-B8p_WqZo.js",
|
||||
"sha256": "2a7573174d1aac3335014ec134d1abbe04bb4956d32a0c1d69ff99134d263af0",
|
||||
"path": "houseplan-assets/fr-BDyCkzrj.js",
|
||||
"sha256": "a1ae7a1a68cf4884235b28348353d4a2f4b16cdc7483f6d955e4ffe95133bd7c",
|
||||
"rawBytes": 94813,
|
||||
"gzipBytes": 27446,
|
||||
"gzipBytes": 27442,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-Bnv81nQu.js",
|
||||
"sha256": "983b8b9426569c19dbb8e1d4f63eb7a9b2306f13ed585a735b13f2775cca3fcc",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-DVhlsduR.js",
|
||||
"sha256": "b95cc312d0e730d47149c1ec696c847b5c083c1043c3592216f51bbd2126596b",
|
||||
"rawBytes": 52035,
|
||||
"gzipBytes": 16940,
|
||||
"gzipBytes": 16939,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-CY6xhpFf.js",
|
||||
"sha256": "a071fa981f36914383139e644326e72b1e6176b3252ccc3aa78dd72518fa2801",
|
||||
"path": "houseplan-assets/houseplan-card-CmMGL9Ly.js",
|
||||
"sha256": "55df057bc6e58a2e5f242cb4d6c1a243893042e5694f47ab167c8358b2a237da",
|
||||
"rawBytes": 1031490,
|
||||
"gzipBytes": 290035,
|
||||
"gzipBytes": 290032,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-Dd67KZRi.js",
|
||||
"houseplan-assets/editor-BqYGJdy_.js",
|
||||
"houseplan-assets/fr-B8p_WqZo.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bnv81nQu.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-Bgfhnyaz.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CFTGZBOM.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-I70HvJ5c.js",
|
||||
"houseplan-assets/iso-scene-render-DYDlHSpW.js",
|
||||
"houseplan-assets/live-interaction-runtime-oBr6T3-s.js",
|
||||
"houseplan-assets/pdf-export-jsY2v0QA.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-Cp3oDBoZ.js"
|
||||
"houseplan-assets/de-FquvF99L.js",
|
||||
"houseplan-assets/editor-JLCZ5yuE.js",
|
||||
"houseplan-assets/fr-BDyCkzrj.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DVhlsduR.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-DyTn1EyM.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BgykCFzU.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BrTjRdRJ.js",
|
||||
"houseplan-assets/iso-scene-render-DyHnlutS.js",
|
||||
"houseplan-assets/live-interaction-runtime-BYbgq8Pq.js",
|
||||
"houseplan-assets/pdf-export-CAMox4n-.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BSB_2NmO.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-Bgfhnyaz.js",
|
||||
"sha256": "bdbe0ffab960a7814af052425af929597c229a02633bc9fd7dd3e2e39e128b16",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-DyTn1EyM.js",
|
||||
"sha256": "67f1c557ccdd32cd5ae09dd3be19789548b6b5324abe1e97a165d68d7f293382",
|
||||
"rawBytes": 677705,
|
||||
"gzipBytes": 188434,
|
||||
"gzipBytes": 188437,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-ChtekkjK.js",
|
||||
"houseplan-assets/form-kit.styles-B_5CMgdi.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-Bnv81nQu.js",
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js",
|
||||
"houseplan-assets/zigbee-topology-Cn7gwCu3.js"
|
||||
"houseplan-assets/backdrop-pick-MAfy3Fgx.js",
|
||||
"houseplan-assets/form-kit.styles-CWDTYsRT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-DVhlsduR.js",
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js",
|
||||
"houseplan-assets/zigbee-topology-4cGq3pAK.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-DOdiOjPF.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-BKWaSjok.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CFTGZBOM.js",
|
||||
"sha256": "a30ae97d1a1ee105d299d7ddf92aff7dbf7c57827f2c58a42327acecb7e7df58",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-BgykCFzU.js",
|
||||
"sha256": "fc7cd172aaf3a12bc57d04140c0939595508d7b8abcbd70eec6d6bda9a089fad",
|
||||
"rawBytes": 15667,
|
||||
"gzipBytes": 4829,
|
||||
"gzipBytes": 4830,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-ChtekkjK.js",
|
||||
"houseplan-assets/form-kit.styles-B_5CMgdi.js",
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/backdrop-pick-MAfy3Fgx.js",
|
||||
"houseplan-assets/form-kit.styles-CWDTYsRT.js",
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-I70HvJ5c.js",
|
||||
"sha256": "dc97d171ad8c66d0adb46d5a94fb727727f2f76db984ac5598b52ef7520504ae",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-BrTjRdRJ.js",
|
||||
"sha256": "77f4831574f28b3d6411ab6164f3ba3fd22bc16cdbc584486f5eed19bc0e9ec0",
|
||||
"rawBytes": 10759,
|
||||
"gzipBytes": 3685,
|
||||
"gzipBytes": 3687,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js",
|
||||
"houseplan-assets/zigbee-topology-Cn7gwCu3.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DOdiOjPF.js"
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js",
|
||||
"houseplan-assets/zigbee-topology-4cGq3pAK.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BKWaSjok.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-DYDlHSpW.js",
|
||||
"sha256": "ac15c4107f62521a9c0ff188784dd8048d3a3c033d990a8646bc1a3306e8493e",
|
||||
"path": "houseplan-assets/iso-scene-render-DyHnlutS.js",
|
||||
"sha256": "51cbaafa4fb4b6ab6ef4b75ff9258b196cde7e900e2710b68c9aa5fc0642b1f8",
|
||||
"rawBytes": 51983,
|
||||
"gzipBytes": 17643,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-oBr6T3-s.js",
|
||||
"sha256": "dfb401c44908a734908c7498fe57e94f4ede193ba6becaecec25bff7e44d4e16",
|
||||
"path": "houseplan-assets/live-interaction-runtime-BYbgq8Pq.js",
|
||||
"sha256": "4895b712ae8422600c33928e9a45d69fc72f905cdc54fcb77b4e94ffcfffa35c",
|
||||
"rawBytes": 8216,
|
||||
"gzipBytes": 3208,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-jsY2v0QA.js",
|
||||
"sha256": "95de6a7c44d4972d44572c42994ebafb2fbc81f0a2b273c64129aaa330eba130",
|
||||
"path": "houseplan-assets/pdf-export-CAMox4n-.js",
|
||||
"sha256": "d150a7fcc088da21a8942cf335f6708d8517e289bad3cad40851ddd74646a572",
|
||||
"rawBytes": 236264,
|
||||
"gzipBytes": 109887,
|
||||
"gzipBytes": 109888,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-Bnv81nQu.js",
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-DVhlsduR.js",
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-cpiH9JRK.js",
|
||||
"sha256": "3f4c5c2846bcfb5761333c2fcc60f2b57b47efa00e83a3d2b615cd97f196579b",
|
||||
"path": "houseplan-assets/summary-panel-editor-BoWBu4OH.js",
|
||||
"sha256": "06a21fd975f8d4953ff8423d1d4dadcbabc2af45514cb64f0a7dc0232f7f1ae9",
|
||||
"rawBytes": 14862,
|
||||
"gzipBytes": 3426,
|
||||
"gzipBytes": 3427,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/form-kit.styles-B_5CMgdi.js",
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-Cp3oDBoZ.js"
|
||||
"houseplan-assets/form-kit.styles-CWDTYsRT.js",
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BSB_2NmO.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-DVO3nA8Q.js",
|
||||
"sha256": "e53a0c89f5f9c1854953dec538667a0ef98344b401e461298ea5f430c6b47a68",
|
||||
"path": "houseplan-assets/summary-panel-metrics-Dr8m_CpN.js",
|
||||
"sha256": "fc9d3f936e68edb40dffe827607f7ad97f5456168db062838a5bb6aba5514d28",
|
||||
"rawBytes": 2611,
|
||||
"gzipBytes": 1309,
|
||||
"gzipBytes": 1307,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-Cp3oDBoZ.js",
|
||||
"sha256": "f3d8a2822ed3df349f17587996d8166779e5e7c9ce402c56efeca680f8f80903",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-BSB_2NmO.js",
|
||||
"sha256": "c112e208c1235b7a749469d77b0740fc3098f44929391487e9d183dba3cc126f",
|
||||
"rawBytes": 72733,
|
||||
"gzipBytes": 20173,
|
||||
"gzipBytes": 20174,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/form-kit.styles-B_5CMgdi.js",
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/form-kit.styles-CWDTYsRT.js",
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-cpiH9JRK.js",
|
||||
"houseplan-assets/summary-panel-metrics-DVO3nA8Q.js"
|
||||
"houseplan-assets/summary-panel-editor-BoWBu4OH.js",
|
||||
"houseplan-assets/summary-panel-metrics-Dr8m_CpN.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-Cn7gwCu3.js",
|
||||
"sha256": "58e3ec3368c47a6ababf3538e9724bed821011c8cc4e21f2005f1a05fc6c41ff",
|
||||
"path": "houseplan-assets/zigbee-topology-4cGq3pAK.js",
|
||||
"sha256": "cc5f8b62604137c8f83388c017a60066bf60b42b34c2a5c72a3b4d871de46ede",
|
||||
"rawBytes": 18962,
|
||||
"gzipBytes": 7428,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DOdiOjPF.js",
|
||||
"sha256": "1b8ab20cb53758f4e60ed54c27de581790eebb119a402272de079113806d2945",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-BKWaSjok.js",
|
||||
"sha256": "5fce5c4b8a79f8684d8d194099429f2200fab052a20592c4d26b104d2963027a",
|
||||
"rawBytes": 3942,
|
||||
"gzipBytes": 1763,
|
||||
"gzipBytes": 1765,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js",
|
||||
"houseplan-assets/zigbee-topology-Cn7gwCu3.js"
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js",
|
||||
"houseplan-assets/zigbee-topology-4cGq3pAK.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "c35a1d67e9778ca5675e016b51eae45b1bebafeb5ade2adb15b74a066a3c14a6",
|
||||
"sha256": "72a41b510395d6bae075db84091404d309b91b38ac4f8e118a28e833295e5acc",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 803,
|
||||
"gzipBytes": 802,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "62e291ba3a12c13facec2582b6a150ede0849125d27d6c9226a310a6427447bd",
|
||||
"sha256": "fefbcd5f634bb6f7cecbebabb2fcfa98ebc6351688226218a0dd69b03429be55",
|
||||
"rawBytes": 6165,
|
||||
"gzipBytes": 2326,
|
||||
"gzipBytes": 2325,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-CY6xhpFf.js"
|
||||
"houseplan-assets/houseplan-card-CmMGL9Ly.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
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
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7d666f118b3321f5eca092f330ca7f1a3985cf7ab65ea69a2247c9064d4d2e7d";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-CY6xhpFf.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__="79d13951017700bba056e6dd98da8aab1d6e1ffc681b5b46b0fb8620701e370b";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-CmMGL9Ly.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
File diff suppressed because one or more lines are too long
+5
-5
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+6
-6
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
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__="7d666f118b3321f5eca092f330ca7f1a3985cf7ab65ea69a2247c9064d4d2e7d";import{c as a,A as e}from"./houseplan-card-CY6xhpFf.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-Cp3oDBoZ.js";import"./form-kit.styles-B_5CMgdi.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__="79d13951017700bba056e6dd98da8aab1d6e1ffc681b5b46b0fb8620701e370b";import{c as a,A as e}from"./houseplan-card-CmMGL9Ly.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-BSB_2NmO.js";import"./form-kit.styles-CWDTYsRT.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
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7d666f118b3321f5eca092f330ca7f1a3985cf7ab65ea69a2247c9064d4d2e7d";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-CY6xhpFf.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 b(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=u(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
|
||||
+1
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="79d13951017700bba056e6dd98da8aab1d6e1ffc681b5b46b0fb8620701e370b";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 l,aV as c,aY as d,ef as u,eg as f,bR as m,eh as g}from"./houseplan-card-CmMGL9Ly.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,l="entity"===r?e.registry.entities?.[a]:null,c="device"===r?a:l?.device_id,d="device"===r?s?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.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;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(a))&&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,d=_){try{let u=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=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const s=t(e);if(!s)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||s;v=y(v,a(l,m.physicalBodies)),yield}const _=m.cellCm/o;u+=s(v)*_*_/1e4}return u}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=u(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};
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7d666f118b3321f5eca092f330ca7f1a3985cf7ab65ea69a2247c9064d4d2e7d";import{n as t,b as n}from"./zigbee-topology-Cn7gwCu3.js";import{aI as e}from"./houseplan-card-CY6xhpFf.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__="79d13951017700bba056e6dd98da8aab1d6e1ffc681b5b46b0fb8620701e370b";import{n as t,b as n}from"./zigbee-topology-4cGq3pAK.js";import{aI as e}from"./houseplan-card-CmMGL9Ly.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__="7d666f118b3321f5eca092f330ca7f1a3985cf7ab65ea69a2247c9064d4d2e7d";try{await import("./houseplan-assets/houseplan-card-CY6xhpFf.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__="79d13951017700bba056e6dd98da8aab1d6e1ffc681b5b46b0fb8620701e370b";try{await import("./houseplan-assets/houseplan-card-CmMGL9Ly.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