mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
@@ -1,106 +1,106 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd",
|
||||
"fingerprint": "7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d",
|
||||
"entry": "houseplan-card.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 289611,
|
||||
"initialViewGzipBytes": 289621,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/de-CZ246cdk.js",
|
||||
"houseplan-assets/editor-D8gv2kqT.js",
|
||||
"houseplan-assets/fr-qOPvzulz.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BOFIqkpb.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-B2jpNrBY.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BaQSHmzG.js",
|
||||
"houseplan-assets/iso-scene-render-C3a6fTr3.js",
|
||||
"houseplan-assets/live-interaction-runtime-t8MYyn20.js",
|
||||
"houseplan-assets/pdf-export-hy2vL_vF.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-Dx_TEW7G.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/de-CUxe_Wr8.js",
|
||||
"houseplan-assets/editor-DS48qPea.js",
|
||||
"houseplan-assets/fr-BvUz0PcT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-5WfQhhMX.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CVSDbLQS.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-TDoUjpkK.js",
|
||||
"houseplan-assets/iso-scene-render-CcGPrfMA.js",
|
||||
"houseplan-assets/live-interaction-runtime-CWs4Wo4p.js",
|
||||
"houseplan-assets/pdf-export-c6heqTJW.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-Df4_JV18.js"
|
||||
],
|
||||
"lazyGzipBytes": 377461,
|
||||
"lazyGzipBytes": 377423,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/editor-D8gv2kqT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BOFIqkpb.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/editor-DS48qPea.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-5WfQhhMX.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 195240,
|
||||
"lazyEditorGzipBytes": 195222,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-B2jpNrBY.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CVSDbLQS.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14329,
|
||||
"lazyOnboardingGzipBytes": 14324,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-CZ246cdk.js",
|
||||
"houseplan-assets/fr-qOPvzulz.js"
|
||||
"houseplan-assets/de-CUxe_Wr8.js",
|
||||
"houseplan-assets/fr-BvUz0PcT.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 50272,
|
||||
"lazyLocaleGzipBytes": 50264,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/iso-scene-render-C3a6fTr3.js"
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/iso-scene-render-CcGPrfMA.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13460,
|
||||
"lazyIsometricGzipBytes": 13456,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10253,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/pdf-export-hy2vL_vF.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/pdf-export-c6heqTJW.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 114516,
|
||||
"lazyPdfGzipBytes": 114513,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"sha256": "25bbab5076c879c847b86872195475858315d5f36ca8ff61b8de58d0e2287b17",
|
||||
"path": "houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"sha256": "109a93c71c255fb3f11d8f53c5e41434cc46c41ecf52d93a7ea7eda9c2efe961",
|
||||
"rawBytes": 21592,
|
||||
"gzipBytes": 7361,
|
||||
"gzipBytes": 7356,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-CZ246cdk.js",
|
||||
"sha256": "8a1d2fe22e56bd4220672e135127574c2a9ceb5597f7cd737d143c7a6d6c3c0e",
|
||||
"path": "houseplan-assets/de-CUxe_Wr8.js",
|
||||
"sha256": "3e8245ba8a345de74a8cae2728328b06460d165eaa6e62a8ed7e461a5b4b705e",
|
||||
"rawBytes": 84320,
|
||||
"gzipBytes": 25379,
|
||||
"gzipBytes": 25375,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-D8gv2kqT.js",
|
||||
"sha256": "edcfa79910318f7faccf22e249ec72d3023955f58226206058f8a8a1fdc49b01",
|
||||
"path": "houseplan-assets/editor-DS48qPea.js",
|
||||
"sha256": "bb942e99d8304affb21fdc240c40d1a477a38b75ac3d4a6019cc25fc43c9a941",
|
||||
"rawBytes": 3837,
|
||||
"gzipBytes": 1591,
|
||||
"gzipBytes": 1588,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-qOPvzulz.js",
|
||||
"sha256": "2b4df1a44b0397af345c9761242ca27adf86c290f11943b0e64c552f3bd823e9",
|
||||
"path": "houseplan-assets/fr-BvUz0PcT.js",
|
||||
"sha256": "70b831f48fb74bcff54807abd61de908c00a95b50b58a1ad1d8479dd377ace1d",
|
||||
"rawBytes": 86352,
|
||||
"gzipBytes": 24893,
|
||||
"gzipBytes": 24889,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"sha256": "e5b7ffde40b81da25d60dde7dfcec364010f6c8006ab6efc5faab493f666a5dc",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"sha256": "d38356900bf356e04ccd54dd24cc107e5158975223e628470d4c02dea6df9301",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10253,
|
||||
"isEntry": false,
|
||||
@@ -108,144 +108,144 @@
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"sha256": "7cd13b43649cbc975f89e2dc0eb8c179fa7b8d1cfe2128097e9ed90097dc39d9",
|
||||
"path": "houseplan-assets/guard-BCTQPvjL.js",
|
||||
"sha256": "c093baa3fa7d4637bc4327e69e28bbac6bbb4b55bf6d4fa1457f1acb425ab2ee",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 371,
|
||||
"gzipBytes": 370,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"sha256": "7b6c4ecfe1a1e950f18ff399952f559674e733d89e2c4f35dc8cb98a1ebde0e0",
|
||||
"rawBytes": 1040994,
|
||||
"gzipBytes": 288814,
|
||||
"path": "houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"sha256": "244aaba108eda419305e5ef2c36814f7825b4fd8c6caa5d41ce09805ff425847",
|
||||
"rawBytes": 1041059,
|
||||
"gzipBytes": 288826,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-CZ246cdk.js",
|
||||
"houseplan-assets/editor-D8gv2kqT.js",
|
||||
"houseplan-assets/fr-qOPvzulz.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BOFIqkpb.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-B2jpNrBY.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BaQSHmzG.js",
|
||||
"houseplan-assets/iso-scene-render-C3a6fTr3.js",
|
||||
"houseplan-assets/live-interaction-runtime-t8MYyn20.js",
|
||||
"houseplan-assets/pdf-export-hy2vL_vF.js"
|
||||
"houseplan-assets/de-CUxe_Wr8.js",
|
||||
"houseplan-assets/editor-DS48qPea.js",
|
||||
"houseplan-assets/fr-BvUz0PcT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-5WfQhhMX.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CVSDbLQS.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-TDoUjpkK.js",
|
||||
"houseplan-assets/iso-scene-render-CcGPrfMA.js",
|
||||
"houseplan-assets/live-interaction-runtime-CWs4Wo4p.js",
|
||||
"houseplan-assets/pdf-export-c6heqTJW.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-BOFIqkpb.js",
|
||||
"sha256": "90474d3edd1ea95256183ccca23cca86b1b0aaad3c03e460202b5cd9afb7c490",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-5WfQhhMX.js",
|
||||
"sha256": "e3f73b3ba26282703e377f234132da39565f6f844db2db61b11c3c0576bb2e06",
|
||||
"rawBytes": 631884,
|
||||
"gzipBytes": 168233,
|
||||
"gzipBytes": 168230,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-Dx_TEW7G.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-Df4_JV18.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-B2jpNrBY.js",
|
||||
"sha256": "f55ec1d76800a8efbb95a18aca799ebfe8917f82084e0ca2e32e1de3dde812d8",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CVSDbLQS.js",
|
||||
"sha256": "30cf8e28f045e1b0ada0ff9d59741189069a23acc88207097fd3c3cd4bc5350b",
|
||||
"rawBytes": 28071,
|
||||
"gzipBytes": 6968,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-BaQSHmzG.js",
|
||||
"sha256": "4d7f71f904a595f66fb813a73e5a2adecd3d8464508778729eb789091868dc46",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-TDoUjpkK.js",
|
||||
"sha256": "ad7660503f5a5102ca082b610a9e632d8ccacd8f778ca562092cea3a20e60883",
|
||||
"rawBytes": 11034,
|
||||
"gzipBytes": 3734,
|
||||
"gzipBytes": 3732,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-Dx_TEW7G.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-Df4_JV18.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-C3a6fTr3.js",
|
||||
"sha256": "b9e1d3be325f97a430eb2dae8bc6e851866431c117a395efd40abbb2aa04d980",
|
||||
"path": "houseplan-assets/iso-scene-render-CcGPrfMA.js",
|
||||
"sha256": "fdc0c66b18645fcf610b800765a5a8dadbfa5c87788f317f0066667b705fe113",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13089,
|
||||
"gzipBytes": 13086,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-t8MYyn20.js",
|
||||
"sha256": "dfe11993ef97c19f8747bbfd91651a4a23ce1dd089e7c998e28a65868a04d818",
|
||||
"path": "houseplan-assets/live-interaction-runtime-CWs4Wo4p.js",
|
||||
"sha256": "0a48794048f8c42ab9da796f3fd6587508ce33124997a55c769983672266f477",
|
||||
"rawBytes": 5196,
|
||||
"gzipBytes": 2129,
|
||||
"gzipBytes": 2128,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-hy2vL_vF.js",
|
||||
"sha256": "f3133cfd59e7da5e5269d0d05d05bfe6efed13712b74e93c93263538bb3f141d",
|
||||
"path": "houseplan-assets/pdf-export-c6heqTJW.js",
|
||||
"sha256": "34b29083a7a29208cda45cb6cdb256e878d3ac376f2a612c4e5bf0cef9ebd8b4",
|
||||
"rawBytes": 220566,
|
||||
"gzipBytes": 104263,
|
||||
"gzipBytes": 104260,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-CYIGlVKb.js",
|
||||
"sha256": "df19c8ae6a36468cead501f7520998d5e44143bbeded3bb86d528d800c7c8fd2",
|
||||
"path": "houseplan-assets/zigbee-topology-Dc-X8RS-.js",
|
||||
"sha256": "8acbd5e69e8acc3de608f541b9b1e08204acf58491a435a67055a69a94ec6501",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7431,
|
||||
"gzipBytes": 7425,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-Dx_TEW7G.js",
|
||||
"sha256": "624f512ec66d0c93f6c201b6dadb074dafe290bf49b43d2aa98a6bdbf027baed",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-Df4_JV18.js",
|
||||
"sha256": "a58455e8dd97fbcb375c43fa6686d87e62cd66c9d8a5e00a43c788d12f4d350b",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1766,
|
||||
"gzipBytes": 1763,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "4b6d7663d5b386da1abed2ba3154f1886c20e3c2ac23ee2e27377678c6d63339",
|
||||
"sha256": "23848ec210ec0b24d702fd39e5292435ad1ac2a2070a9d968435886d09444327",
|
||||
"rawBytes": 1183,
|
||||
"gzipBytes": 797,
|
||||
"gzipBytes": 795,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd";import{t as e,l as o,x as t,dV as s,A as a,dW as i,dX as l,dY as n,dM as r,b as c}from"./houseplan-card-B8ohIxZF.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__="7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d";import{t as e,l as o,x as t,dV as s,A as a,dW as i,dX as l,dY as n,dM as r,b as c}from"./houseplan-card-CD6ogmzP.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
.hass=${this.hass}
|
||||
.data=${this._formData}
|
||||
.schema=${e}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d";import{dK as r,dL as t,dM as e}from"./houseplan-card-CD6ogmzP.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd";import{dK as r,dL as t,dM as s}from"./houseplan-card-B8ohIxZF.js";const e={},a=r(class extends t{constructor(){super(...arguments),this.ot=e}render(r,t){return t()}update(r,[t,e]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return s}else if(this.ot===t)return s;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,e)}});export{a as i};
|
||||
+11
-9
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
+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
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd";import{n as t,b as n}from"./zigbee-topology-CYIGlVKb.js";import{F as e}from"./houseplan-card-B8ohIxZF.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__="7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d";import{n as t,b as n}from"./zigbee-topology-Dc-X8RS-.js";import{F as e}from"./houseplan-card-CD6ogmzP.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd";try{await import("./houseplan-assets/houseplan-card-B8ohIxZF.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d";try{await import("./houseplan-assets/houseplan-card-CD6ogmzP.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
|
||||
@@ -85,10 +85,10 @@ await page.waitForFunction(() => window.__card._modeTransitionBusy === false);
|
||||
out.backToView = (await st()).mode;
|
||||
// значения зафиксированы прогоном на v1.43.1 и сверены с кодом (audit T1)
|
||||
checkAll(out, {
|
||||
"start": {"mode": "view", "modeTabs": 3, "editBtns": 2, "gears": 2, "markupBar": false, "stageClass": "stage mode-view"},
|
||||
"start": {"mode": "view", "modeTabs": 3, "editBtns": 3, "gears": 2, "markupBar": false, "stageClass": "stage mode-view"},
|
||||
"viewDragMoved": false,
|
||||
"plan": {"mode": "plan", "modeTabs": 3, "active": "Plan editor", "editBtns": 2, "gears": 2, "markupBar": true, "stageClass": "stage markup tool-draw mode-plan"},
|
||||
"devices": {"mode": "devices", "modeTabs": 3, "active": "Device editor", "editBtns": 2, "gears": 2, "markupBar": true, "stageClass": "stage mode-devices"},
|
||||
"plan": {"mode": "plan", "modeTabs": 3, "active": "Plan editor", "editBtns": 3, "gears": 2, "markupBar": true, "stageClass": "stage markup tool-draw mode-plan"},
|
||||
"devices": {"mode": "devices", "modeTabs": 3, "active": "Device editor", "editBtns": 3, "gears": 2, "markupBar": true, "stageClass": "stage mode-devices"},
|
||||
"backToView": "view",
|
||||
});
|
||||
await finish(browser, out);
|
||||
|
||||
@@ -102,11 +102,13 @@ const result = await page.evaluate(async ({ version, previewText, previewSha })
|
||||
selectedDecor: card._decorSel,
|
||||
};
|
||||
const button = root().querySelector('.support-button');
|
||||
const settings = button?.previousElementSibling;
|
||||
const pdf = button?.previousElementSibling;
|
||||
const settings = pdf?.previousElementSibling;
|
||||
await open();
|
||||
modeResults.push({
|
||||
mode,
|
||||
afterSettings: settings?.querySelector('ha-icon')?.getAttribute('icon') === 'mdi:cog-outline',
|
||||
pdfBetween: pdf?.querySelector('ha-icon')?.getAttribute('icon') === 'mdi:printer-outline',
|
||||
unchanged: JSON.stringify(before) === JSON.stringify({
|
||||
mode: card._mode,
|
||||
zoom: card._zoom,
|
||||
@@ -116,7 +118,7 @@ const result = await page.evaluate(async ({ version, previewText, previewSha })
|
||||
});
|
||||
await close();
|
||||
}
|
||||
out.modeAndOrder = modeResults.every((item) => item.afterSettings && item.unchanged)
|
||||
out.modeAndOrder = modeResults.every((item) => item.afterSettings && item.pdfBetween && item.unchanged)
|
||||
&& new Set(modeResults.map((item) => item.mode)).size === 4;
|
||||
|
||||
const originalConfig = card._config;
|
||||
@@ -139,8 +141,10 @@ const result = await page.evaluate(async ({ version, previewText, previewSha })
|
||||
await open();
|
||||
const dialog = root().querySelector('#support-dialog');
|
||||
const supportButton = root().querySelector('.support-button');
|
||||
const settingsButton = supportButton?.previousElementSibling;
|
||||
const pdfButton = supportButton?.previousElementSibling;
|
||||
const settingsButton = pdfButton?.previousElementSibling;
|
||||
const touchRect = supportButton.getBoundingClientRect();
|
||||
const pdfRect = pdfButton?.getBoundingClientRect();
|
||||
const settingsRect = settingsButton?.getBoundingClientRect();
|
||||
const message = dialog?.querySelector('#support-message');
|
||||
const contact = dialog?.querySelector('#support-contact');
|
||||
@@ -153,9 +157,11 @@ const result = await page.evaluate(async ({ version, previewText, previewSha })
|
||||
&& dialog?.querySelector('#support-message')?.value === ''
|
||||
&& dialog?.querySelector('.supportattach input')?.checked === false;
|
||||
out.touchTarget = touchRect.width >= 44 && touchRect.height >= 44;
|
||||
out.headerActionsMatch = !!settingsRect
|
||||
out.headerActionsMatch = !!settingsRect && !!pdfRect
|
||||
&& Math.abs(touchRect.width - settingsRect.width) < 0.01
|
||||
&& Math.abs(touchRect.height - settingsRect.height) < 0.01;
|
||||
&& Math.abs(touchRect.height - settingsRect.height) < 0.01
|
||||
&& Math.abs(touchRect.width - pdfRect.width) < 0.01
|
||||
&& Math.abs(touchRect.height - pdfRect.height) < 0.01;
|
||||
out.messageSurfaceMatchesContact = !!message && !!contact
|
||||
&& getComputedStyle(message).backgroundColor === getComputedStyle(contact).backgroundColor;
|
||||
out.noHorizontalOverflow = dialog.scrollWidth <= dialog.clientWidth + 1
|
||||
|
||||
Vendored
+117
-117
@@ -1,106 +1,106 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd",
|
||||
"fingerprint": "7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d",
|
||||
"entry": "houseplan-card.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 289611,
|
||||
"initialViewGzipBytes": 289621,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/de-CZ246cdk.js",
|
||||
"houseplan-assets/editor-D8gv2kqT.js",
|
||||
"houseplan-assets/fr-qOPvzulz.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BOFIqkpb.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-B2jpNrBY.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BaQSHmzG.js",
|
||||
"houseplan-assets/iso-scene-render-C3a6fTr3.js",
|
||||
"houseplan-assets/live-interaction-runtime-t8MYyn20.js",
|
||||
"houseplan-assets/pdf-export-hy2vL_vF.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-Dx_TEW7G.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/de-CUxe_Wr8.js",
|
||||
"houseplan-assets/editor-DS48qPea.js",
|
||||
"houseplan-assets/fr-BvUz0PcT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-5WfQhhMX.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CVSDbLQS.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-TDoUjpkK.js",
|
||||
"houseplan-assets/iso-scene-render-CcGPrfMA.js",
|
||||
"houseplan-assets/live-interaction-runtime-CWs4Wo4p.js",
|
||||
"houseplan-assets/pdf-export-c6heqTJW.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-Df4_JV18.js"
|
||||
],
|
||||
"lazyGzipBytes": 377461,
|
||||
"lazyGzipBytes": 377423,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/editor-D8gv2kqT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BOFIqkpb.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/editor-DS48qPea.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-5WfQhhMX.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 195240,
|
||||
"lazyEditorGzipBytes": 195222,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-B2jpNrBY.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CVSDbLQS.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14329,
|
||||
"lazyOnboardingGzipBytes": 14324,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-CZ246cdk.js",
|
||||
"houseplan-assets/fr-qOPvzulz.js"
|
||||
"houseplan-assets/de-CUxe_Wr8.js",
|
||||
"houseplan-assets/fr-BvUz0PcT.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 50272,
|
||||
"lazyLocaleGzipBytes": 50264,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/iso-scene-render-C3a6fTr3.js"
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/iso-scene-render-CcGPrfMA.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13460,
|
||||
"lazyIsometricGzipBytes": 13456,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10253,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/pdf-export-hy2vL_vF.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/pdf-export-c6heqTJW.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 114516,
|
||||
"lazyPdfGzipBytes": 114513,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"sha256": "25bbab5076c879c847b86872195475858315d5f36ca8ff61b8de58d0e2287b17",
|
||||
"path": "houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"sha256": "109a93c71c255fb3f11d8f53c5e41434cc46c41ecf52d93a7ea7eda9c2efe961",
|
||||
"rawBytes": 21592,
|
||||
"gzipBytes": 7361,
|
||||
"gzipBytes": 7356,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-CZ246cdk.js",
|
||||
"sha256": "8a1d2fe22e56bd4220672e135127574c2a9ceb5597f7cd737d143c7a6d6c3c0e",
|
||||
"path": "houseplan-assets/de-CUxe_Wr8.js",
|
||||
"sha256": "3e8245ba8a345de74a8cae2728328b06460d165eaa6e62a8ed7e461a5b4b705e",
|
||||
"rawBytes": 84320,
|
||||
"gzipBytes": 25379,
|
||||
"gzipBytes": 25375,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-D8gv2kqT.js",
|
||||
"sha256": "edcfa79910318f7faccf22e249ec72d3023955f58226206058f8a8a1fdc49b01",
|
||||
"path": "houseplan-assets/editor-DS48qPea.js",
|
||||
"sha256": "bb942e99d8304affb21fdc240c40d1a477a38b75ac3d4a6019cc25fc43c9a941",
|
||||
"rawBytes": 3837,
|
||||
"gzipBytes": 1591,
|
||||
"gzipBytes": 1588,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-qOPvzulz.js",
|
||||
"sha256": "2b4df1a44b0397af345c9761242ca27adf86c290f11943b0e64c552f3bd823e9",
|
||||
"path": "houseplan-assets/fr-BvUz0PcT.js",
|
||||
"sha256": "70b831f48fb74bcff54807abd61de908c00a95b50b58a1ad1d8479dd377ace1d",
|
||||
"rawBytes": 86352,
|
||||
"gzipBytes": 24893,
|
||||
"gzipBytes": 24889,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"sha256": "e5b7ffde40b81da25d60dde7dfcec364010f6c8006ab6efc5faab493f666a5dc",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"sha256": "d38356900bf356e04ccd54dd24cc107e5158975223e628470d4c02dea6df9301",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10253,
|
||||
"isEntry": false,
|
||||
@@ -108,144 +108,144 @@
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"sha256": "7cd13b43649cbc975f89e2dc0eb8c179fa7b8d1cfe2128097e9ed90097dc39d9",
|
||||
"path": "houseplan-assets/guard-BCTQPvjL.js",
|
||||
"sha256": "c093baa3fa7d4637bc4327e69e28bbac6bbb4b55bf6d4fa1457f1acb425ab2ee",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 371,
|
||||
"gzipBytes": 370,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"sha256": "7b6c4ecfe1a1e950f18ff399952f559674e733d89e2c4f35dc8cb98a1ebde0e0",
|
||||
"rawBytes": 1040994,
|
||||
"gzipBytes": 288814,
|
||||
"path": "houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"sha256": "244aaba108eda419305e5ef2c36814f7825b4fd8c6caa5d41ce09805ff425847",
|
||||
"rawBytes": 1041059,
|
||||
"gzipBytes": 288826,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-CZ246cdk.js",
|
||||
"houseplan-assets/editor-D8gv2kqT.js",
|
||||
"houseplan-assets/fr-qOPvzulz.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-BOFIqkpb.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-B2jpNrBY.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BaQSHmzG.js",
|
||||
"houseplan-assets/iso-scene-render-C3a6fTr3.js",
|
||||
"houseplan-assets/live-interaction-runtime-t8MYyn20.js",
|
||||
"houseplan-assets/pdf-export-hy2vL_vF.js"
|
||||
"houseplan-assets/de-CUxe_Wr8.js",
|
||||
"houseplan-assets/editor-DS48qPea.js",
|
||||
"houseplan-assets/fr-BvUz0PcT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-5WfQhhMX.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CVSDbLQS.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-TDoUjpkK.js",
|
||||
"houseplan-assets/iso-scene-render-CcGPrfMA.js",
|
||||
"houseplan-assets/live-interaction-runtime-CWs4Wo4p.js",
|
||||
"houseplan-assets/pdf-export-c6heqTJW.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-BOFIqkpb.js",
|
||||
"sha256": "90474d3edd1ea95256183ccca23cca86b1b0aaad3c03e460202b5cd9afb7c490",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-5WfQhhMX.js",
|
||||
"sha256": "e3f73b3ba26282703e377f234132da39565f6f844db2db61b11c3c0576bb2e06",
|
||||
"rawBytes": 631884,
|
||||
"gzipBytes": 168233,
|
||||
"gzipBytes": 168230,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-Dx_TEW7G.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-Df4_JV18.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-B2jpNrBY.js",
|
||||
"sha256": "f55ec1d76800a8efbb95a18aca799ebfe8917f82084e0ca2e32e1de3dde812d8",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CVSDbLQS.js",
|
||||
"sha256": "30cf8e28f045e1b0ada0ff9d59741189069a23acc88207097fd3c3cd4bc5350b",
|
||||
"rawBytes": 28071,
|
||||
"gzipBytes": 6968,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-B1EefAgT.js",
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/backdrop-pick-BVprf77o.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-BaQSHmzG.js",
|
||||
"sha256": "4d7f71f904a595f66fb813a73e5a2adecd3d8464508778729eb789091868dc46",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-TDoUjpkK.js",
|
||||
"sha256": "ad7660503f5a5102ca082b610a9e632d8ccacd8f778ca562092cea3a20e60883",
|
||||
"rawBytes": 11034,
|
||||
"gzipBytes": 3734,
|
||||
"gzipBytes": 3732,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-Dx_TEW7G.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-Df4_JV18.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-C3a6fTr3.js",
|
||||
"sha256": "b9e1d3be325f97a430eb2dae8bc6e851866431c117a395efd40abbb2aa04d980",
|
||||
"path": "houseplan-assets/iso-scene-render-CcGPrfMA.js",
|
||||
"sha256": "fdc0c66b18645fcf610b800765a5a8dadbfa5c87788f317f0066667b705fe113",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13089,
|
||||
"gzipBytes": 13086,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-e__Wz0Kq.js",
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/guard-BCTQPvjL.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-t8MYyn20.js",
|
||||
"sha256": "dfe11993ef97c19f8747bbfd91651a4a23ce1dd089e7c998e28a65868a04d818",
|
||||
"path": "houseplan-assets/live-interaction-runtime-CWs4Wo4p.js",
|
||||
"sha256": "0a48794048f8c42ab9da796f3fd6587508ce33124997a55c769983672266f477",
|
||||
"rawBytes": 5196,
|
||||
"gzipBytes": 2129,
|
||||
"gzipBytes": 2128,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-hy2vL_vF.js",
|
||||
"sha256": "f3133cfd59e7da5e5269d0d05d05bfe6efed13712b74e93c93263538bb3f141d",
|
||||
"path": "houseplan-assets/pdf-export-c6heqTJW.js",
|
||||
"sha256": "34b29083a7a29208cda45cb6cdb256e878d3ac376f2a612c4e5bf0cef9ebd8b4",
|
||||
"rawBytes": 220566,
|
||||
"gzipBytes": 104263,
|
||||
"gzipBytes": 104260,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-sWkfgXfr.js",
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C9Z0GrAQ.js",
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-CYIGlVKb.js",
|
||||
"sha256": "df19c8ae6a36468cead501f7520998d5e44143bbeded3bb86d528d800c7c8fd2",
|
||||
"path": "houseplan-assets/zigbee-topology-Dc-X8RS-.js",
|
||||
"sha256": "8acbd5e69e8acc3de608f541b9b1e08204acf58491a435a67055a69a94ec6501",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7431,
|
||||
"gzipBytes": 7425,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-Dx_TEW7G.js",
|
||||
"sha256": "624f512ec66d0c93f6c201b6dadb074dafe290bf49b43d2aa98a6bdbf027baed",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-Df4_JV18.js",
|
||||
"sha256": "a58455e8dd97fbcb375c43fa6686d87e62cd66c9d8a5e00a43c788d12f4d350b",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1766,
|
||||
"gzipBytes": 1763,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js",
|
||||
"houseplan-assets/zigbee-topology-CYIGlVKb.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js",
|
||||
"houseplan-assets/zigbee-topology-Dc-X8RS-.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "4b6d7663d5b386da1abed2ba3154f1886c20e3c2ac23ee2e27377678c6d63339",
|
||||
"sha256": "23848ec210ec0b24d702fd39e5292435ad1ac2a2070a9d968435886d09444327",
|
||||
"rawBytes": 1183,
|
||||
"gzipBytes": 797,
|
||||
"gzipBytes": 795,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-B8ohIxZF.js"
|
||||
"houseplan-assets/houseplan-card-CD6ogmzP.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd";import{t as e,l as o,x as t,dV as s,A as a,dW as i,dX as l,dY as n,dM as r,b as c}from"./houseplan-card-B8ohIxZF.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__="7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d";import{t as e,l as o,x as t,dV as s,A as a,dW as i,dX as l,dY as n,dM as r,b as c}from"./houseplan-card-CD6ogmzP.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
|
||||
.hass=${this.hass}
|
||||
.data=${this._formData}
|
||||
.schema=${e}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d";import{dK as r,dL as t,dM as e}from"./houseplan-card-CD6ogmzP.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
-1
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd";import{dK as r,dL as t,dM as s}from"./houseplan-card-B8ohIxZF.js";const e={},a=r(class extends t{constructor(){super(...arguments),this.ot=e}render(r,t){return t()}update(r,[t,e]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return s}else if(this.ot===t)return s;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,e)}});export{a as i};
|
||||
Vendored
+11
-9
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
+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
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd";import{n as t,b as n}from"./zigbee-topology-CYIGlVKb.js";import{F as e}from"./houseplan-card-B8ohIxZF.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__="7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d";import{n as t,b as n}from"./zigbee-topology-Dc-X8RS-.js";import{F as e}from"./houseplan-card-CD6ogmzP.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="b332044218271051c4a939cfbdc8b87e45393dfb7a75b61c6b3535f92b3afdbd";try{await import("./houseplan-assets/houseplan-card-B8ohIxZF.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="7121e2de5173f312895dbfc34e36c4a023158cfe12aa3da9b2bf9dc32745b08d";try{await import("./houseplan-assets/houseplan-card-CD6ogmzP.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
|
||||
@@ -11476,10 +11476,10 @@ export class HouseplanCard extends LitElement {
|
||||
<button class="btn zb" @click=${() => this._stepZoom(1)} title=${this._t('title.zoom_in')}><ha-icon icon="mdi:plus"></ha-icon></button>
|
||||
</div>
|
||||
${this._norm && this._canEdit
|
||||
? html`<button class="btn header-action" @click=${this._openSettingsDialog} title=${this._t('title.general_settings')}>
|
||||
? html`<button class="btn header-action settings-button" @click=${this._openSettingsDialog} title=${this._t('title.general_settings')}>
|
||||
<ha-icon icon="mdi:cog-outline"></ha-icon>
|
||||
</button>
|
||||
<button class="btn header-action" @click=${this._openPdfDialog}
|
||||
<button class="btn header-action pdf-button" @click=${this._openPdfDialog}
|
||||
title=${this._t('title.export_pdf')} aria-label=${this._t('title.export_pdf')}>
|
||||
<ha-icon icon="mdi:printer-outline"></ha-icon>
|
||||
</button>
|
||||
|
||||
@@ -22,9 +22,11 @@ export const dialogsStyles = css`
|
||||
color: var(--hp-accent);
|
||||
--mdc-icon-size: 18px;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.head .count { display: none; }
|
||||
}
|
||||
@media (max-width: 620px) {
|
||||
.head { gap: var(--sp-3); padding: var(--sp-4) 10px; }
|
||||
.head .count { display: none; }
|
||||
.head .title { font-size: var(--fs-m); }
|
||||
}
|
||||
.count {
|
||||
|
||||
Reference in New Issue
Block a user