mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-30 19:58:50 +00:00
fix: freeze warm-remount stage through chrome settle (#437)
Issue: #437 User-Visible: yes
This commit is contained in:
@@ -1,309 +1,309 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c",
|
||||
"fingerprint": "81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 298547,
|
||||
"initialViewGzipBytes": 298557,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-card.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 300852,
|
||||
"initialPanelGzipBytes": 300858,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2305,
|
||||
"initialPanelOnlyGzipBytes": 2301,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/de-D7NY7RjE.js",
|
||||
"houseplan-assets/editor-CnskaSu-.js",
|
||||
"houseplan-assets/fr-Cqx1kEHG.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-dpcsXuqh.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BkHTGc_9.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DD-0BfNR.js",
|
||||
"houseplan-assets/iso-scene-render-CdA3BsMJ.js",
|
||||
"houseplan-assets/live-interaction-runtime-CLAzKdY6.js",
|
||||
"houseplan-assets/pdf-export-DufZazIP.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CtveBJom.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-dbWCI8PY.js"
|
||||
],
|
||||
"lazyGzipBytes": 413669,
|
||||
"lazyGzipBytes": 413603,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/editor-CnskaSu-.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-dpcsXuqh.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 205658,
|
||||
"lazyEditorGzipBytes": 205639,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BkHTGc_9.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14154,
|
||||
"lazyOnboardingGzipBytes": 14143,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js"
|
||||
"houseplan-assets/de-D7NY7RjE.js",
|
||||
"houseplan-assets/fr-Cqx1kEHG.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 54857,
|
||||
"lazyLocaleGzipBytes": 54836,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js"
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/iso-scene-render-CdA3BsMJ.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13459,
|
||||
"lazyIsometricGzipBytes": 13453,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10252,
|
||||
"lazyFurnitureArtGzipBytes": 10254,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/pdf-export-DufZazIP.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120367,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"sha256": "cad3801b116c319f5c74e3bd1294899f3a05a1ea0c325e042c5e2a7c89d00903",
|
||||
"path": "houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"sha256": "998b429a8dd5cf292a86f6387051de68926a673c7fdadd9949b7de37cddc7b4d",
|
||||
"rawBytes": 21134,
|
||||
"gzipBytes": 7147,
|
||||
"gzipBytes": 7143,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-nGTPTdoo.js",
|
||||
"sha256": "e85f22134eb98b1f56a0567c580cb12da8c145a44307ec604426bd6f9288dfe7",
|
||||
"path": "houseplan-assets/de-D7NY7RjE.js",
|
||||
"sha256": "f922b55b90888d3c76cd8d58d7be423ac6df3a96c59444cf202060148cc78e7c",
|
||||
"rawBytes": 91441,
|
||||
"gzipBytes": 27712,
|
||||
"gzipBytes": 27702,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-DA8l9uCi.js",
|
||||
"sha256": "7ef64d26b6c4b954baa4f8ee562a1f73e8899bafb7a4f29a5eb2aeb3b2a92bd0",
|
||||
"path": "houseplan-assets/editor-CnskaSu-.js",
|
||||
"sha256": "5fb9421340ffd5b3d3dbd479b2e08a34bdbe624f78ec4faef315fda43b6a53bc",
|
||||
"rawBytes": 3837,
|
||||
"gzipBytes": 1587,
|
||||
"gzipBytes": 1585,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-C1gyl7vY.js",
|
||||
"sha256": "e9a1092ecd124a224fc256c49d92593656ccf5202d1c78774b5afde09a6df180",
|
||||
"path": "houseplan-assets/fr-Cqx1kEHG.js",
|
||||
"sha256": "89278fe3e4ab04f3a14d93aaf078317beb81ec8d5c1a5abe7f5bbcae9280fb8e",
|
||||
"rawBytes": 93719,
|
||||
"gzipBytes": 27145,
|
||||
"gzipBytes": 27134,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"sha256": "5865fccbd2b13932393330b2046250cba24705503689a0bf15ff141601a712f0",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"sha256": "6d53c0d84f72969e6a379a675ca29d84c3dda1a4e0ceda09129a47e46f343289",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10252,
|
||||
"gzipBytes": 10254,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-CzD_keK6.js",
|
||||
"sha256": "c4f49cd249997eac2ef66cb591b53c615c4c0797c08f3c048512ea1a18aee988",
|
||||
"path": "houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"sha256": "01428a07846e634a57bfe8c8d774eba4640cc4f323f0cf0c3f2c11b8797fb60f",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 370,
|
||||
"gzipBytes": 369,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"sha256": "10a467bac4d4b8836b432029825a2f7737b8a4a66fffb1d103f4a49c025bc564",
|
||||
"rawBytes": 1075238,
|
||||
"gzipBytes": 297743,
|
||||
"path": "houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"sha256": "091205969deafcf4326e3fdb48c50a7a4a031c7163c6064a0bc0394cdb7f06f9",
|
||||
"rawBytes": 1075320,
|
||||
"gzipBytes": 297755,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js"
|
||||
"houseplan-assets/de-D7NY7RjE.js",
|
||||
"houseplan-assets/editor-CnskaSu-.js",
|
||||
"houseplan-assets/fr-Cqx1kEHG.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-dpcsXuqh.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BkHTGc_9.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DD-0BfNR.js",
|
||||
"houseplan-assets/iso-scene-render-CdA3BsMJ.js",
|
||||
"houseplan-assets/live-interaction-runtime-CLAzKdY6.js",
|
||||
"houseplan-assets/pdf-export-DufZazIP.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CtveBJom.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"sha256": "2bdb3f90f18a4c7a9a909af738ae54e1ef924f2c8c84453648892e6656516561",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-dpcsXuqh.js",
|
||||
"sha256": "b3873753eb7bae95e4c259580b2594e592c6ffa43e70280321f04202a835f0a8",
|
||||
"rawBytes": 671979,
|
||||
"gzipBytes": 178872,
|
||||
"gzipBytes": 178865,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-dbWCI8PY.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"sha256": "a2e0d20389d711e9bc41438ed318e23af7eab7b3773cd6e58753f47807a51fdd",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-BkHTGc_9.js",
|
||||
"sha256": "d08e5440ba775be5fd4f6f14f12230107c9aa6eb54a9440e5233b109bd8d8a40",
|
||||
"rawBytes": 28237,
|
||||
"gzipBytes": 7007,
|
||||
"gzipBytes": 7000,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"sha256": "954621f632a72b57184f70136d87666969e5dbbde5d6f78e000f1ac2d11e5499",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-DD-0BfNR.js",
|
||||
"sha256": "114632d3343de6d54c1c9b20b005f3da11e497c38175e426fdedc41686a250e4",
|
||||
"rawBytes": 11034,
|
||||
"gzipBytes": 3732,
|
||||
"gzipBytes": 3730,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-dbWCI8PY.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"sha256": "265cfc72e1922c62a4535ea04955d99213e0f719115fea097066701005a46c81",
|
||||
"path": "houseplan-assets/iso-scene-render-CdA3BsMJ.js",
|
||||
"sha256": "4ecfc56d979ed0cdfffc34a5bb62178890ba6cd21d35d18246d6a247b1e01e6c",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13089,
|
||||
"gzipBytes": 13084,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"sha256": "84c7793939c5d649463897893db149b64d257234eefe36815891b6210bd35df6",
|
||||
"path": "houseplan-assets/live-interaction-runtime-CLAzKdY6.js",
|
||||
"sha256": "f0f49d47d1304bce2adc171804a979b7f542e6f114f1a5385318dd8000b9eb4d",
|
||||
"rawBytes": 5196,
|
||||
"gzipBytes": 2127,
|
||||
"gzipBytes": 2124,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"sha256": "c1cdd8e42c0a6539af145fffc4138a5c264474d9b3e39ba30f2771a508ef5675",
|
||||
"path": "houseplan-assets/pdf-export-DufZazIP.js",
|
||||
"sha256": "7071be8d5835f75ece11c10f5b51fb2ad3bcc5553a4d4b0c637520b33eb2b29e",
|
||||
"rawBytes": 237254,
|
||||
"gzipBytes": 110115,
|
||||
"gzipBytes": 110113,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-B0TCgUcx.js",
|
||||
"sha256": "90aa92db1748d65671ac38b5f2cd7e6698bd5f86a7f13412ffa3a993986ed529",
|
||||
"path": "houseplan-assets/summary-panel-editor-D6FUiDtF.js",
|
||||
"sha256": "f7d426ee7587d34776a81ba2f31816d06265007ce90d4e0c54107a2e92bc2dc2",
|
||||
"rawBytes": 12383,
|
||||
"gzipBytes": 3103,
|
||||
"gzipBytes": 3098,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CtveBJom.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-BveagTF7.js",
|
||||
"sha256": "bbe591663dc5cb8809a361bdc557010ddfe30c1547a16b785fe3dbbc35b0ad6c",
|
||||
"path": "houseplan-assets/summary-panel-metrics-Dl_5_omk.js",
|
||||
"sha256": "d82c52d965e25dbe036562aa79b304651ca07fdfa2adf00c4080c37366b7461f",
|
||||
"rawBytes": 2195,
|
||||
"gzipBytes": 1123,
|
||||
"gzipBytes": 1118,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js",
|
||||
"sha256": "f1d30cd17d6bd9bd2b2f21eb1001d26a540b1d2e529e3bdad39e37f2c726b5ab",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-CtveBJom.js",
|
||||
"sha256": "6b65e7987152a7f28d3330c773e41278b43ac1de82ac3af5cf60edc4ace8c9fc",
|
||||
"rawBytes": 52125,
|
||||
"gzipBytes": 15319,
|
||||
"gzipBytes": 15315,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-B0TCgUcx.js",
|
||||
"houseplan-assets/summary-panel-metrics-BveagTF7.js"
|
||||
"houseplan-assets/summary-panel-editor-D6FUiDtF.js",
|
||||
"houseplan-assets/summary-panel-metrics-Dl_5_omk.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"sha256": "8630335b3868cbb6baa4ca8b82c6270026f007d64b107e3565439c52586d0c4a",
|
||||
"path": "houseplan-assets/zigbee-topology-Bl8L5Rm5.js",
|
||||
"sha256": "362ef37f91fe13b94bbe74b69da10f1e4f3076ed6fd27c81d1447e07080a48e4",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7430,
|
||||
"gzipBytes": 7423,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js",
|
||||
"sha256": "7f2b9b9f0230d88a2a40f641ca6acfbaaedd7bb6c175a0ae5fc4d1189c8ca66b",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-dbWCI8PY.js",
|
||||
"sha256": "7dbfdf2afbab16df2d5b74a09af87105189f1c68f444fc48a9aa783709a6c25a",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1765,
|
||||
"gzipBytes": 1762,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "25dc85e2280b45658b4b32fd99d588db45af45f1940e355138be2b948e78c3b8",
|
||||
"sha256": "7dca424b1c1e387a7ec82d75caf161ead9fd4b49c01a91d1f6bb4cf20fb98dae",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 804,
|
||||
"gzipBytes": 802,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "e3326265c2ea31f9fb04404fd6b7922655fdb325de2820b67ab2550383393342",
|
||||
"sha256": "4404496457e98d89dc3e2bfdd1a2906224a42611163208bdd8b5d6428f1c4093",
|
||||
"rawBytes": 6124,
|
||||
"gzipBytes": 2305,
|
||||
"gzipBytes": 2301,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-card.js"
|
||||
|
||||
+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
@@ -1,14 +1,14 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{t as e,l as o,x as t,e5 as s,A as a,e6 as i,e7 as l,e8 as n,dV as r,b as c}from"./houseplan-card-Qyj7-UrB.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__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{t as e,l as o,x as t,e5 as s,A as a,e6 as i,e7 as l,e8 as n,dV as r,b as c}from"./houseplan-card-BhViMJTd.js";class f 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,f={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")},h=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}
|
||||
.computeLabel=${e=>h[e.name]||e.name}
|
||||
.computeLabel=${e=>f[e.name]||e.name}
|
||||
@value-changed=${this._valueChanged}
|
||||
></ha-form>`;return c`
|
||||
${d(f.slice(0,3))}
|
||||
${d(h.slice(0,3))}
|
||||
${_?c`<div class="default-floor-error" role="alert"
|
||||
style="color:var(--error-color,#db4437);margin:-4px 0 12px;overflow-wrap:anywhere">
|
||||
${t(s,"editor.default_floor_missing",{id:_})}
|
||||
</div>`:a}
|
||||
${d(f.slice(3))}
|
||||
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}h.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",h);
|
||||
${d(h.slice(3))}
|
||||
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}f.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",f);
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{dT as r,dU as t,dV as e}from"./houseplan-card-Qyj7-UrB.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{dT as r,dU as t,dV as e}from"./houseplan-card-BhViMJTd.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};
|
||||
+252
-252
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+28
-28
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+8
-8
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{b as e,A as t}from"./houseplan-card-Qyj7-UrB.js";import{s as a,n as s,m as l,a as o,b as i,c as r}from"./summary-panel-runtime-loaded-BgzYimug.js";const c=c=>{const{host:u,dialog:n,local:m,problems:d,t:p}=c,$=d.find(e=>"error"===e.kind),b=n.localShow!==n.baseLocalShow||!n.localOnly&&!a(s(n.draft),n.base),y=b&&!n.busy&&!$,v=e=>d.find(t=>t.path===e),h=e=>e?p(`summary.problem.${e.code}`):"",k=()=>c.close(),g=e`<label class="summary-switch"><input type="checkbox"
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{b as e,A as t}from"./houseplan-card-BhViMJTd.js";import{s as a,n as s,m as l,a as o,b as i,c as r}from"./summary-panel-runtime-loaded-CtveBJom.js";const c=c=>{const{host:u,dialog:n,local:m,problems:d,t:p}=c,$=d.find(e=>"error"===e.kind),b=n.localShow!==n.baseLocalShow||!n.localOnly&&!a(s(n.draft),n.base),y=b&&!n.busy&&!$,v=e=>d.find(t=>t.path===e),h=e=>e?p(`summary.problem.${e.code}`):"",k=()=>c.close(),g=e`<label class="summary-switch"><input type="checkbox"
|
||||
.checked=${n.localShow}
|
||||
@change=${e=>c.setDialog({...n,localShow:e.target.checked})} />
|
||||
<span>${p("summary.show_local")}</span></label>`,_=e`<h3 class="summary-sizes-title">${p("summary.sizes_title")}</h3>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{az as e,ea as t,eb as n,bs as i,ec as r,P as a,a5 as s,M as o,aq as c,N as d,bq as l,bp as u,ed as f}from"./houseplan-card-Qyj7-UrB.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,d="device"===a?s:c?.device_id,l="device"===a?o?.area_id:c?.area_id||d&&t.registry.devices?.[d]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||l||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;d&&t.registry.devices?.[d]&&t.spaceIds.has(f)&&(!i.devices.has(d)||"entity"===a&&i.liveEntities.has(s))&&n.add(d)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,d)||t;g=m(g,l(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{az as e,ea as t,eb as n,bs as i,ec as r,P as a,a5 as s,M as o,aq as c,N as d,bq as l,bp as u,ed as f}from"./houseplan-card-BhViMJTd.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,d="device"===a?s:c?.device_id,l="device"===a?o?.area_id:c?.area_id||d&&t.registry.devices?.[d]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||l||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;d&&t.registry.devices?.[d]&&t.spaceIds.has(f)&&(!i.devices.has(d)||"entity"===a&&i.liveEntities.has(s))&&n.add(d)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,d)||t;g=m(g,l(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
+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__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{n as t,b as n}from"./zigbee-topology-COnXLlyp.js";import{F as e}from"./houseplan-card-Qyj7-UrB.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{n as t,b as n}from"./zigbee-topology-Bl8L5Rm5.js";import{F as e}from"./houseplan-card-BhViMJTd.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 g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(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,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const 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&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";try{await import("./houseplan-assets/houseplan-card-Qyj7-UrB.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__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";try{await import("./houseplan-assets/houseplan-card-BhViMJTd.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
@@ -50,10 +50,9 @@ const settle = () => page.evaluate(() => new Promise((resolve) =>
|
||||
const screenPt = (x, y) => page.evaluate(([px, py]) => {
|
||||
const card = window.__card;
|
||||
const stage = card.renderRoot.querySelector('.stage');
|
||||
const rect = stage.getBoundingClientRect();
|
||||
const svg = stage.querySelector('svg');
|
||||
const [vx, vy, vw, vh] = svg.getAttribute('viewBox').split(' ').map(Number);
|
||||
return [rect.left + ((px - vx) / vw) * rect.width, rect.top + ((py - vy) / vh) * rect.height];
|
||||
const point = new DOMPoint(px, py).matrixTransform(svg.getScreenCTM());
|
||||
return [point.x, point.y];
|
||||
}, [x, y]);
|
||||
|
||||
const pointer = (type, clientX, clientY, { cx, cy, pointerId = 77 } = {}) => page.evaluate((args) => {
|
||||
|
||||
@@ -43,6 +43,8 @@ const res = await page.evaluate(async () => {
|
||||
const stage1 = (c1.shadowRoot || c1.renderRoot).querySelector('.stage');
|
||||
const hFinal = stage1.clientHeight;
|
||||
const zoomSaved = c1._zoom;
|
||||
const sourceLayout = { stageH: hFinal, hdrH: c1._hdrH,
|
||||
memo: c1._warmSlot ? [c1._warmSlot.hdrH, c1._warmSlot.stageH] : null };
|
||||
out.zoomArmed = Math.abs(zoomSaved - 1.8) < 0.01;
|
||||
c1.remove(); // Lovelace throws the old element away…
|
||||
await sleep(30);
|
||||
@@ -64,6 +66,8 @@ const res = await page.evaluate(async () => {
|
||||
planVisible: !!zw && getComputedStyle(zw).visibility === 'visible',
|
||||
rooms: stage.querySelectorAll('.room').length,
|
||||
stageH: stage.clientHeight,
|
||||
hdrH: c2._hdrH,
|
||||
memo: c2._warmSlot ? [c2._warmSlot.hdrH, c2._warmSlot.stageH] : null,
|
||||
zoom: c2._zoom,
|
||||
});
|
||||
}
|
||||
@@ -78,7 +82,7 @@ const res = await page.evaluate(async () => {
|
||||
? true : 'a frame hid the plan';
|
||||
const badH = frames.filter((f) => Math.abs(f.stageH - hFinal) > 2);
|
||||
out.warmNoStaleHeightFrame = badH.length === 0
|
||||
? true : `stage h=${badH[0].stageH} vs final ${hFinal} at t=${badH[0].t}ms`;
|
||||
? true : `source=${JSON.stringify(sourceLayout)}; frame=${JSON.stringify(badH[0])}; final=${JSON.stringify(frames.at(-1))}`;
|
||||
out.warmZoomEveryFrame = frames.every((f) => Math.abs(f.zoom - zoomSaved) < 0.01)
|
||||
? true : 'a frame at a non-saved zoom';
|
||||
// the server config reload on a warm mount must not blank the plan
|
||||
|
||||
Vendored
+141
-141
@@ -1,309 +1,309 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"fingerprint": "70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c",
|
||||
"fingerprint": "81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1",
|
||||
"entry": "houseplan-card.js",
|
||||
"panelEntry": "houseplan-panel.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 298547,
|
||||
"initialViewGzipBytes": 298557,
|
||||
"initialPanelFiles": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-card.js",
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelGzipBytes": 300852,
|
||||
"initialPanelGzipBytes": 300858,
|
||||
"initialPanelOnlyFiles": [
|
||||
"houseplan-panel.js"
|
||||
],
|
||||
"initialPanelOnlyGzipBytes": 2305,
|
||||
"initialPanelOnlyGzipBytes": 2301,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/de-D7NY7RjE.js",
|
||||
"houseplan-assets/editor-CnskaSu-.js",
|
||||
"houseplan-assets/fr-Cqx1kEHG.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-dpcsXuqh.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BkHTGc_9.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DD-0BfNR.js",
|
||||
"houseplan-assets/iso-scene-render-CdA3BsMJ.js",
|
||||
"houseplan-assets/live-interaction-runtime-CLAzKdY6.js",
|
||||
"houseplan-assets/pdf-export-DufZazIP.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CtveBJom.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-dbWCI8PY.js"
|
||||
],
|
||||
"lazyGzipBytes": 413669,
|
||||
"lazyGzipBytes": 413603,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/editor-CnskaSu-.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-dpcsXuqh.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 205658,
|
||||
"lazyEditorGzipBytes": 205639,
|
||||
"lazyOnboardingFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BkHTGc_9.js"
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14154,
|
||||
"lazyOnboardingGzipBytes": 14143,
|
||||
"lazyLocaleFiles": [
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js"
|
||||
"houseplan-assets/de-D7NY7RjE.js",
|
||||
"houseplan-assets/fr-Cqx1kEHG.js"
|
||||
],
|
||||
"lazyLocaleGzipBytes": 54857,
|
||||
"lazyLocaleGzipBytes": 54836,
|
||||
"lazyIsometricFiles": [
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js"
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/iso-scene-render-CdA3BsMJ.js"
|
||||
],
|
||||
"lazyIsometricGzipBytes": 13459,
|
||||
"lazyIsometricGzipBytes": 13453,
|
||||
"lazyFurnitureArtFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js"
|
||||
],
|
||||
"lazyFurnitureArtGzipBytes": 10252,
|
||||
"lazyFurnitureArtGzipBytes": 10254,
|
||||
"lazyPdfFiles": [
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/pdf-export-DufZazIP.js"
|
||||
],
|
||||
"lazyPdfGzipBytes": 120367,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"sha256": "cad3801b116c319f5c74e3bd1294899f3a05a1ea0c325e042c5e2a7c89d00903",
|
||||
"path": "houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"sha256": "998b429a8dd5cf292a86f6387051de68926a673c7fdadd9949b7de37cddc7b4d",
|
||||
"rawBytes": 21134,
|
||||
"gzipBytes": 7147,
|
||||
"gzipBytes": 7143,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/de-nGTPTdoo.js",
|
||||
"sha256": "e85f22134eb98b1f56a0567c580cb12da8c145a44307ec604426bd6f9288dfe7",
|
||||
"path": "houseplan-assets/de-D7NY7RjE.js",
|
||||
"sha256": "f922b55b90888d3c76cd8d58d7be423ac6df3a96c59444cf202060148cc78e7c",
|
||||
"rawBytes": 91441,
|
||||
"gzipBytes": 27712,
|
||||
"gzipBytes": 27702,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/editor-DA8l9uCi.js",
|
||||
"sha256": "7ef64d26b6c4b954baa4f8ee562a1f73e8899bafb7a4f29a5eb2aeb3b2a92bd0",
|
||||
"path": "houseplan-assets/editor-CnskaSu-.js",
|
||||
"sha256": "5fb9421340ffd5b3d3dbd479b2e08a34bdbe624f78ec4faef315fda43b6a53bc",
|
||||
"rawBytes": 3837,
|
||||
"gzipBytes": 1587,
|
||||
"gzipBytes": 1585,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/fr-C1gyl7vY.js",
|
||||
"sha256": "e9a1092ecd124a224fc256c49d92593656ccf5202d1c78774b5afde09a6df180",
|
||||
"path": "houseplan-assets/fr-Cqx1kEHG.js",
|
||||
"sha256": "89278fe3e4ab04f3a14d93aaf078317beb81ec8d5c1a5abe7f5bbcae9280fb8e",
|
||||
"rawBytes": 93719,
|
||||
"gzipBytes": 27145,
|
||||
"gzipBytes": 27134,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"sha256": "5865fccbd2b13932393330b2046250cba24705503689a0bf15ff141601a712f0",
|
||||
"path": "houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"sha256": "6d53c0d84f72969e6a379a675ca29d84c3dda1a4e0ceda09129a47e46f343289",
|
||||
"rawBytes": 33655,
|
||||
"gzipBytes": 10252,
|
||||
"gzipBytes": 10254,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/guard-CzD_keK6.js",
|
||||
"sha256": "c4f49cd249997eac2ef66cb591b53c615c4c0797c08f3c048512ea1a18aee988",
|
||||
"path": "houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"sha256": "01428a07846e634a57bfe8c8d774eba4640cc4f323f0cf0c3f2c11b8797fb60f",
|
||||
"rawBytes": 518,
|
||||
"gzipBytes": 370,
|
||||
"gzipBytes": 369,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"sha256": "10a467bac4d4b8836b432029825a2f7737b8a4a66fffb1d103f4a49c025bc564",
|
||||
"rawBytes": 1075238,
|
||||
"gzipBytes": 297743,
|
||||
"path": "houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"sha256": "091205969deafcf4326e3fdb48c50a7a4a031c7163c6064a0bc0394cdb7f06f9",
|
||||
"rawBytes": 1075320,
|
||||
"gzipBytes": 297755,
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-nGTPTdoo.js",
|
||||
"houseplan-assets/editor-DA8l9uCi.js",
|
||||
"houseplan-assets/fr-C1gyl7vY.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js"
|
||||
"houseplan-assets/de-D7NY7RjE.js",
|
||||
"houseplan-assets/editor-CnskaSu-.js",
|
||||
"houseplan-assets/fr-Cqx1kEHG.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-dpcsXuqh.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-BkHTGc_9.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DD-0BfNR.js",
|
||||
"houseplan-assets/iso-scene-render-CdA3BsMJ.js",
|
||||
"houseplan-assets/live-interaction-runtime-CLAzKdY6.js",
|
||||
"houseplan-assets/pdf-export-DufZazIP.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CtveBJom.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-B1p8DwR_.js",
|
||||
"sha256": "2bdb3f90f18a4c7a9a909af738ae54e1ef924f2c8c84453648892e6656516561",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-dpcsXuqh.js",
|
||||
"sha256": "b3873753eb7bae95e4c259580b2594e592c6ffa43e70280321f04202a835f0a8",
|
||||
"rawBytes": 671979,
|
||||
"gzipBytes": 178872,
|
||||
"gzipBytes": 178865,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-dbWCI8PY.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-Ungv7MOC.js",
|
||||
"sha256": "a2e0d20389d711e9bc41438ed318e23af7eab7b3773cd6e58753f47807a51fdd",
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-BkHTGc_9.js",
|
||||
"sha256": "d08e5440ba775be5fd4f6f14f12230107c9aa6eb54a9440e5233b109bd8d8a40",
|
||||
"rawBytes": 28237,
|
||||
"gzipBytes": 7007,
|
||||
"gzipBytes": 7000,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-DIKfTN9Q.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/backdrop-pick-Di1x8cgy.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-doMV0MkI.js",
|
||||
"sha256": "954621f632a72b57184f70136d87666969e5dbbde5d6f78e000f1ac2d11e5499",
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-DD-0BfNR.js",
|
||||
"sha256": "114632d3343de6d54c1c9b20b005f3da11e497c38175e426fdedc41686a250e4",
|
||||
"rawBytes": 11034,
|
||||
"gzipBytes": 3732,
|
||||
"gzipBytes": 3730,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-dbWCI8PY.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/iso-scene-render-BP93PTAw.js",
|
||||
"sha256": "265cfc72e1922c62a4535ea04955d99213e0f719115fea097066701005a46c81",
|
||||
"path": "houseplan-assets/iso-scene-render-CdA3BsMJ.js",
|
||||
"sha256": "4ecfc56d979ed0cdfffc34a5bb62178890ba6cd21d35d18246d6a247b1e01e6c",
|
||||
"rawBytes": 38562,
|
||||
"gzipBytes": 13089,
|
||||
"gzipBytes": 13084,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/guard-CzD_keK6.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/guard-BYY_c7Ar.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/live-interaction-runtime-D0w006Ma.js",
|
||||
"sha256": "84c7793939c5d649463897893db149b64d257234eefe36815891b6210bd35df6",
|
||||
"path": "houseplan-assets/live-interaction-runtime-CLAzKdY6.js",
|
||||
"sha256": "f0f49d47d1304bce2adc171804a979b7f542e6f114f1a5385318dd8000b9eb4d",
|
||||
"rawBytes": 5196,
|
||||
"gzipBytes": 2127,
|
||||
"gzipBytes": 2124,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/pdf-export-ClUq0n-g.js",
|
||||
"sha256": "c1cdd8e42c0a6539af145fffc4138a5c264474d9b3e39ba30f2771a508ef5675",
|
||||
"path": "houseplan-assets/pdf-export-DufZazIP.js",
|
||||
"sha256": "7071be8d5835f75ece11c10f5b51fb2ad3bcc5553a4d4b0c637520b33eb2b29e",
|
||||
"rawBytes": 237254,
|
||||
"gzipBytes": 110115,
|
||||
"gzipBytes": 110113,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/furniture-plan-art.generated-CKxXRJxy.js",
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/furniture-plan-art.generated-C3FvF1Eb.js",
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-editor-B0TCgUcx.js",
|
||||
"sha256": "90aa92db1748d65671ac38b5f2cd7e6698bd5f86a7f13412ffa3a993986ed529",
|
||||
"path": "houseplan-assets/summary-panel-editor-D6FUiDtF.js",
|
||||
"sha256": "f7d426ee7587d34776a81ba2f31816d06265007ce90d4e0c54107a2e92bc2dc2",
|
||||
"rawBytes": 12383,
|
||||
"gzipBytes": 3103,
|
||||
"gzipBytes": 3098,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-assets/summary-panel-runtime-loaded-CtveBJom.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-metrics-BveagTF7.js",
|
||||
"sha256": "bbe591663dc5cb8809a361bdc557010ddfe30c1547a16b785fe3dbbc35b0ad6c",
|
||||
"path": "houseplan-assets/summary-panel-metrics-Dl_5_omk.js",
|
||||
"sha256": "d82c52d965e25dbe036562aa79b304651ca07fdfa2adf00c4080c37366b7461f",
|
||||
"rawBytes": 2195,
|
||||
"gzipBytes": 1123,
|
||||
"gzipBytes": 1118,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-BgzYimug.js",
|
||||
"sha256": "f1d30cd17d6bd9bd2b2f21eb1001d26a540b1d2e529e3bdad39e37f2c726b5ab",
|
||||
"path": "houseplan-assets/summary-panel-runtime-loaded-CtveBJom.js",
|
||||
"sha256": "6b65e7987152a7f28d3330c773e41278b43ac1de82ac3af5cf60edc4ace8c9fc",
|
||||
"rawBytes": 52125,
|
||||
"gzipBytes": 15319,
|
||||
"gzipBytes": 15315,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/summary-panel-editor-B0TCgUcx.js",
|
||||
"houseplan-assets/summary-panel-metrics-BveagTF7.js"
|
||||
"houseplan-assets/summary-panel-editor-D6FUiDtF.js",
|
||||
"houseplan-assets/summary-panel-metrics-Dl_5_omk.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-COnXLlyp.js",
|
||||
"sha256": "8630335b3868cbb6baa4ca8b82c6270026f007d64b107e3565439c52586d0c4a",
|
||||
"path": "houseplan-assets/zigbee-topology-Bl8L5Rm5.js",
|
||||
"sha256": "362ef37f91fe13b94bbe74b69da10f1e4f3076ed6fd27c81d1447e07080a48e4",
|
||||
"rawBytes": 18961,
|
||||
"gzipBytes": 7430,
|
||||
"gzipBytes": 7423,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DTF8HFlM.js",
|
||||
"sha256": "7f2b9b9f0230d88a2a40f641ca6acfbaaedd7bb6c175a0ae5fc4d1189c8ca66b",
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-dbWCI8PY.js",
|
||||
"sha256": "7dbfdf2afbab16df2d5b74a09af87105189f1c68f444fc48a9aa783709a6c25a",
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1765,
|
||||
"gzipBytes": 1762,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js",
|
||||
"houseplan-assets/zigbee-topology-COnXLlyp.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js",
|
||||
"houseplan-assets/zigbee-topology-Bl8L5Rm5.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
"sha256": "25dc85e2280b45658b4b32fd99d588db45af45f1940e355138be2b948e78c3b8",
|
||||
"sha256": "7dca424b1c1e387a7ec82d75caf161ead9fd4b49c01a91d1f6bb4cf20fb98dae",
|
||||
"rawBytes": 1205,
|
||||
"gzipBytes": 804,
|
||||
"gzipBytes": 802,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-Qyj7-UrB.js"
|
||||
"houseplan-assets/houseplan-card-BhViMJTd.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-panel.js",
|
||||
"sha256": "e3326265c2ea31f9fb04404fd6b7922655fdb325de2820b67ab2550383393342",
|
||||
"sha256": "4404496457e98d89dc3e2bfdd1a2906224a42611163208bdd8b5d6428f1c4093",
|
||||
"rawBytes": 6124,
|
||||
"gzipBytes": 2305,
|
||||
"gzipBytes": 2301,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"houseplan-card.js"
|
||||
|
||||
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
+5
-5
@@ -1,14 +1,14 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{t as e,l as o,x as t,e5 as s,A as a,e6 as i,e7 as l,e8 as n,dV as r,b as c}from"./houseplan-card-Qyj7-UrB.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__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{t as e,l as o,x as t,e5 as s,A as a,e6 as i,e7 as l,e8 as n,dV as r,b as c}from"./houseplan-card-BhViMJTd.js";class f 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,f={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")},h=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}
|
||||
.computeLabel=${e=>h[e.name]||e.name}
|
||||
.computeLabel=${e=>f[e.name]||e.name}
|
||||
@value-changed=${this._valueChanged}
|
||||
></ha-form>`;return c`
|
||||
${d(f.slice(0,3))}
|
||||
${d(h.slice(0,3))}
|
||||
${_?c`<div class="default-floor-error" role="alert"
|
||||
style="color:var(--error-color,#db4437);margin:-4px 0 12px;overflow-wrap:anywhere">
|
||||
${t(s,"editor.default_floor_missing",{id:_})}
|
||||
</div>`:a}
|
||||
${d(f.slice(3))}
|
||||
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}h.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",h);
|
||||
${d(h.slice(3))}
|
||||
`}_valueChanged(e){const o={...this._config,...e.detail.value};""===o.floor?delete o.floor:o.floor===this._floorToken&&(o.floor=this._config?.floor);const t=new Event("config-changed",{bubbles:!0,composed:!0});t.detail={config:o},this.dispatchEvent(t)}}f.properties={hass:{attribute:!1},_config:{state:!0},_spaces:{state:!0}},customElements.get("houseplan-card-editor")||customElements.define("houseplan-card-editor",f);
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{dT as r,dU as t,dV as e}from"./houseplan-card-Qyj7-UrB.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{dT as r,dU as t,dV as e}from"./houseplan-card-BhViMJTd.js";const s={},a=r(class extends t{constructor(){super(...arguments),this.ot=s}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every((r,t)=>r===this.ot[t]))return e}else if(this.ot===t)return e;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{a as i};
|
||||
Vendored
+252
-252
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
+28
-28
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+8
-8
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{b as e,A as t}from"./houseplan-card-Qyj7-UrB.js";import{s as a,n as s,m as l,a as o,b as i,c as r}from"./summary-panel-runtime-loaded-BgzYimug.js";const c=c=>{const{host:u,dialog:n,local:m,problems:d,t:p}=c,$=d.find(e=>"error"===e.kind),b=n.localShow!==n.baseLocalShow||!n.localOnly&&!a(s(n.draft),n.base),y=b&&!n.busy&&!$,v=e=>d.find(t=>t.path===e),h=e=>e?p(`summary.problem.${e.code}`):"",k=()=>c.close(),g=e`<label class="summary-switch"><input type="checkbox"
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{b as e,A as t}from"./houseplan-card-BhViMJTd.js";import{s as a,n as s,m as l,a as o,b as i,c as r}from"./summary-panel-runtime-loaded-CtveBJom.js";const c=c=>{const{host:u,dialog:n,local:m,problems:d,t:p}=c,$=d.find(e=>"error"===e.kind),b=n.localShow!==n.baseLocalShow||!n.localOnly&&!a(s(n.draft),n.base),y=b&&!n.busy&&!$,v=e=>d.find(t=>t.path===e),h=e=>e?p(`summary.problem.${e.code}`):"",k=()=>c.close(),g=e`<label class="summary-switch"><input type="checkbox"
|
||||
.checked=${n.localShow}
|
||||
@change=${e=>c.setDialog({...n,localShow:e.target.checked})} />
|
||||
<span>${p("summary.show_local")}</span></label>`,_=e`<h3 class="summary-sizes-title">${p("summary.sizes_title")}</h3>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{az as e,ea as t,eb as n,bs as i,ec as r,P as a,a5 as s,M as o,aq as c,N as d,bq as l,bp as u,ed as f}from"./houseplan-card-Qyj7-UrB.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,d="device"===a?s:c?.device_id,l="device"===a?o?.area_id:c?.area_id||d&&t.registry.devices?.[d]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||l||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;d&&t.registry.devices?.[d]&&t.spaceIds.has(f)&&(!i.devices.has(d)||"entity"===a&&i.liveEntities.has(s))&&n.add(d)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,d)||t;g=m(g,l(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{az as e,ea as t,eb as n,bs as i,ec as r,P as a,a5 as s,M as o,aq as c,N as d,bq as l,bp as u,ed as f}from"./houseplan-card-BhViMJTd.js";function g(t){if(!t.registry.authoritative)return null;const n=new Set,i=e(t.markers);for(const e of Object.values(t.registry.devices||{}))e?.id&&"service"!==e.entry_type&&!i.devices.has(e.id)&&e.area_id&&t.areaToSpace[e.area_id]&&n.add(e.id);for(const e of t.markers||[]){if(e.removed||"virtual"===e.binding)continue;const r=String(e.binding||"").indexOf(":");if(r<1)continue;const a=e.binding.slice(0,r),s=e.binding.slice(r+1),o="device"===a?t.registry.devices?.[s]:null,c="entity"===a?t.registry.entities?.[s]:null,d="device"===a?s:c?.device_id,l="device"===a?o?.area_id:c?.area_id||d&&t.registry.devices?.[d]?.area_id,u="string"==typeof e.room_id&&e.room_id.length>0&&null===e.area?"":e.area||l||"",f=u&&t.areaToSpace[u]||e.space||t.firstSpaceId;d&&t.registry.devices?.[d]&&t.spaceIds.has(f)&&(!i.devices.has(d)||"entity"===a&&i.liveEntities.has(s))&&n.add(d)}return n}function m(e,t){return e?.length?t?.length?f(e,t):e:t}function v(e,t){try{let n=0;for(const i of t){const t=e.spaces.find(e=>String(e?.id)===i.id);if(!t)continue;const f=r(t,i);let g=null;for(const e of i.rooms){if(!e.id)continue;const t=a(e);if(!t)continue;const n=s(i.rooms,e.id,f.walls,f.openCuts,o,f.cellCm,c,d)||t;g=m(g,l(n,f.physicalBodies))}const v=f.cellCm/c;n+=u(g)*v*v/1e4}return n}catch{return null}}function y(e,t,n,r){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:i(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(r||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function _(e,i){const r=e?.states?.[i];if(!r)return null;const a=t(e,i);return a?n(a,String(r.attributes?.unit_of_measurement||"")):null}export{g as representedHaDeviceIds,_ as summaryEntityValue,y as summarySystemValue,v as totalCleanFloorAreaM2};
|
||||
+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__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";import{n as t,b as n}from"./zigbee-topology-COnXLlyp.js";import{F as e}from"./houseplan-card-Qyj7-UrB.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";import{n as t,b as n}from"./zigbee-topology-Bl8L5Rm5.js";import{F as e}from"./houseplan-card-BhViMJTd.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 g(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function m(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(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,m=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,m=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const 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&&m?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await g(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await g(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,m as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="70eab6df053a23d23990b71d010867944f5b11d2f5ce94f0ae4127415539d46c";try{await import("./houseplan-assets/houseplan-card-Qyj7-UrB.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__="81860efb3d03fa8c4235b70dca20201ffdefe227fe06da93ac0c1c3a63d974a1";try{await import("./houseplan-assets/houseplan-card-BhViMJTd.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)}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+3
-2
@@ -38,8 +38,9 @@
|
||||
small. Its settings are touch-friendly and stay attached to the same card
|
||||
when a dashboard reflows. A first camera action also waits for the final
|
||||
header geometry instead of drifting while the new control settles, and a
|
||||
warm card remount preserves the stage height that was actually painted
|
||||
instead of briefly shifting it by a few pixels. Loading another language
|
||||
warm card remount pins the exact stage height that was actually painted
|
||||
until its replacement chrome has settled, instead of briefly shifting it
|
||||
by a few pixels. Loading another language
|
||||
stays visually neutral, and room labels keep their size when the View-only
|
||||
controls disappear on entering an editor
|
||||
([#437](https://github.com/Matysh/houseplan-card/issues/437)).
|
||||
|
||||
@@ -48,8 +48,9 @@
|
||||
остаются привязаны к той же карточке при перестроении дашборда.
|
||||
Первый жест камеры также применяется уже к итоговой геометрии шапки, поэтому
|
||||
план не смещается, пока новый контрол завершает компоновку; при тёплом
|
||||
пересоздании карточка сохраняет фактически показанную высоту сцены и больше
|
||||
не сдвигает её на несколько пикселей в первом кадре. Загрузка другого языка
|
||||
пересоздании карточка удерживает фактически показанную высоту сцены до полной
|
||||
стабилизации новой шапки и больше не сдвигает её на несколько пикселей в
|
||||
первом кадре. Загрузка другого языка
|
||||
остаётся визуально нейтральной, а подписи комнат не меняют размер при переходе
|
||||
в редактор и исчезновении View-контролов
|
||||
([#437](https://github.com/Matysh/houseplan-card/issues/437)).
|
||||
|
||||
@@ -11544,7 +11544,7 @@ export class HouseplanCard extends LitElement {
|
||||
<div class="stage ${iso ? `projection-iso ${deviceThemeClass(this._renderPlanHass)}` : ''} ${this._markup ? 'markup tool-' + this._tool + (this._tool === 'split' && !this._splitSel ? ' pickstage' : '') + (this._tool === 'wallthick' && this._wallThickHover ? ' wallhot' : '') : ''} ${this._mode === 'decor' ? 'dtool-' + this._decorTool : ''} ${space.bg ? '' : 'noplan'} mode-${this._mode}${this._bdMovable ? ' bdgrab' : ''}${this._bdDrag ? ' bdgrabbing' : ''}${dayCycle ? ` daycycle phase-${dayCycle.phase}` : ''}${this._booting ? ' hpboot' : ''}${this._bootSoft ? ' hpsettle' : ''}${this._modeTransitionBusy ? ' mode-transition' : ''}"
|
||||
data-hp-iso-stage=${iso ? '3' : nothing} data-hp-iso-structural-builds=${iso ? this._isoStructuralBuildCount : nothing}
|
||||
?inert=${this._modeTransitionBusy}
|
||||
style="height:${modeVisual ? `${modeVisual.stageHeight}px` : this.panelHost ? 'auto' : this._kiosk ? '100dvh' : `calc(100dvh - ${this._hdrH}px)`}${transitionStageBg ? `;background:${transitionStageBg}` : ''};--hp-cell-visual-scale:${gridVisualScale(this._cellCm)};--wall-fill:${this._fillColors.wall_fill.c};--wall-fill-op:${this._fillColors.wall_fill.a};--hp-mode-architecture-opacity:${modeVisual ? modeVisual.architectureOpacity : this._mode === 'decor' ? 0.35 : 1};--hp-mode-view-weight:${modeVisual?.viewWeight ?? (this._mode === 'view' ? 1 : 0)};--hp-mode-editor-weight:${modeVisual?.editorWeight ?? (this._mode === 'view' ? 0 : 1)}${modeVisual ? `;--hp-mode-paper:${modeVisual.paperColor}` : ''}${dayCycle ? `;${dayCycleStageVars(dayCycle)}` : ''}"
|
||||
style="height:${modeVisual ? `${modeVisual.stageHeight}px` : this.panelHost ? 'auto' : this._kiosk ? '100dvh' : this._bootSoft && this._warmVp && this._warmSlot?.stageH ? `${this._warmSlot.stageH}px` : `calc(100dvh - ${this._hdrH}px)`}${transitionStageBg ? `;background:${transitionStageBg}` : ''};--hp-cell-visual-scale:${gridVisualScale(this._cellCm)};--wall-fill:${this._fillColors.wall_fill.c};--wall-fill-op:${this._fillColors.wall_fill.a};--hp-mode-architecture-opacity:${modeVisual ? modeVisual.architectureOpacity : this._mode === 'decor' ? 0.35 : 1};--hp-mode-view-weight:${modeVisual?.viewWeight ?? (this._mode === 'view' ? 1 : 0)};--hp-mode-editor-weight:${modeVisual?.editorWeight ?? (this._mode === 'view' ? 0 : 1)}${modeVisual ? `;--hp-mode-paper:${modeVisual.paperColor}` : ''}${dayCycle ? `;${dayCycleStageVars(dayCycle)}` : ''}"
|
||||
@click=${(e: MouseEvent) => this._markupClick(e)}
|
||||
@wheel=${(e: WheelEvent) => this._onWheel(e)}
|
||||
@pointerdown=${(e: PointerEvent) => { this._notePointer(e); this._stagePointerDown(e); }}
|
||||
|
||||
Reference in New Issue
Block a user