mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-03 13:18:58 +00:00
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"schema": 1,
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"fingerprint": "ae7c8e5f4037f7411ca44d300e7144531a4d1459ed32af8cb65818605449bfea",
|
||||
"entry": "houseplan-card.js",
|
||||
@@ -36,33 +37,37 @@
|
||||
=======
|
||||
"fingerprint": "e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"fingerprint": "c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"entry": "houseplan-card.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js",
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 296475,
|
||||
"initialViewGzipBytes": 296484,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/de-arUN8Vx7.js",
|
||||
"houseplan-assets/editor-Dd7--z-1.js",
|
||||
"houseplan-assets/fr-Dzu44WpB.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-COSilger.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-GJ38Op_d.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BEnFTAFp.js",
|
||||
"houseplan-assets/live-interaction-runtime-ChrvWqpG.js",
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-B7_gFefR.js"
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/de-DRRWbWgg.js",
|
||||
"houseplan-assets/editor-BiT_NzVH.js",
|
||||
"houseplan-assets/fr-DuHCxf19.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-72wgQp7c.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Cw68F8HP.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DaDSnbby.js",
|
||||
"houseplan-assets/live-interaction-runtime-CCDE_x-p.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BIQaz34m.js"
|
||||
],
|
||||
"lazyGzipBytes": 237656,
|
||||
"lazyGzipBytes": 237727,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/editor-Dd7--z-1.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-COSilger.js",
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js"
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/editor-BiT_NzVH.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-72wgQp7c.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 175452,
|
||||
"lazyEditorGzipBytes": 175464,
|
||||
"lazyOnboardingFiles": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/backdrop-pick-DTvxUUZe.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CIcTVu4w.js"
|
||||
@@ -71,10 +76,15 @@
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-GJ38Op_d.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Cw68F8HP.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14233,
|
||||
"lazyOnboardingGzipBytes": 14237,
|
||||
"lazyLocaleFiles": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/de-BvZPvnYY.js",
|
||||
"houseplan-assets/fr-DjtFhN-Y.js"
|
||||
@@ -96,27 +106,36 @@
|
||||
"houseplan-assets/de-arUN8Vx7.js",
|
||||
"houseplan-assets/fr-Dzu44WpB.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/de-DRRWbWgg.js",
|
||||
"houseplan-assets/fr-DuHCxf19.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"lazyLocaleGzipBytes": 49088,
|
||||
"lazyLocaleGzipBytes": 49102,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"sha256": "e82310130f17562eb77f93fab2d09f24b3e077bd6247e5b517389a7a460f0755",
|
||||
"path": "houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"sha256": "dfa8b28dd4d294cbaab52d7078a168bd4f773b005ad7698c38d587b6132569cc",
|
||||
"rawBytes": 21417,
|
||||
"gzipBytes": 7280,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-7FEkn7sJ.js"
|
||||
>>>>>>> 3e3192f2 (fix: keep large-plan interactions off the full render path)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/de-BvZPvnYY.js",
|
||||
"sha256": "9f3303e77789e32084da7d84bc23988a35264a2c216c88758380ff88e7382b29",
|
||||
@@ -134,12 +153,19 @@
|
||||
"rawBytes": 82182,
|
||||
"gzipBytes": 24814,
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/de-DRRWbWgg.js",
|
||||
"sha256": "67ef76c6c8d2f2a0be7539455b9531fe2535e75b319d209adfc0e85c938dd5a6",
|
||||
"rawBytes": 82182,
|
||||
"gzipBytes": 24821,
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/editor-BTu1pEFs.js",
|
||||
"sha256": "0a9ae05765b95b1a953bba7980c41a3aec5901bcaaf5a0b38eddd7dda4b2f1d3",
|
||||
@@ -151,11 +177,16 @@
|
||||
"path": "houseplan-assets/editor-Dd7--z-1.js",
|
||||
"sha256": "98e83f4240701ed81ed0917e6fb60dbce2c9545e7b3b0c045708829824af4af9",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/editor-BiT_NzVH.js",
|
||||
"sha256": "7d89c228f20aefdb6e02af53980520dfa24262ca8627be3a0a142460cfdb1fcb",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 3826,
|
||||
"gzipBytes": 1578,
|
||||
"gzipBytes": 1579,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-BSrM0Lhk.js"
|
||||
=======
|
||||
@@ -164,11 +195,15 @@
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/fr-DjtFhN-Y.js",
|
||||
"sha256": "32800d08009e00fe879aa19ade33f3a327d114db43e1236743fea0a77fe37efd",
|
||||
@@ -186,12 +221,19 @@
|
||||
"rawBytes": 84312,
|
||||
"gzipBytes": 24274,
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/fr-DuHCxf19.js",
|
||||
"sha256": "d1576f6787ba6f2d87a79c8997ad6d5c332c67f76cac505649b93605ffd95af9",
|
||||
"rawBytes": 84312,
|
||||
"gzipBytes": 24281,
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/houseplan-card-BSrM0Lhk.js",
|
||||
"sha256": "51a395b395bea925d7a7b846cf95918c99add73b71a3d98a5654de525a7f2180",
|
||||
@@ -237,34 +279,41 @@
|
||||
"rawBytes": 1053531,
|
||||
"gzipBytes": 295683,
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"sha256": "221274b5a3a89acb22026137275ad1906c2ed6bad3bbfc63fae07f36beef6629",
|
||||
"rawBytes": 1053531,
|
||||
"gzipBytes": 295689,
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-arUN8Vx7.js",
|
||||
"houseplan-assets/editor-Dd7--z-1.js",
|
||||
"houseplan-assets/fr-Dzu44WpB.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-COSilger.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-GJ38Op_d.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BEnFTAFp.js",
|
||||
"houseplan-assets/live-interaction-runtime-ChrvWqpG.js"
|
||||
"houseplan-assets/de-DRRWbWgg.js",
|
||||
"houseplan-assets/editor-BiT_NzVH.js",
|
||||
"houseplan-assets/fr-DuHCxf19.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-72wgQp7c.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Cw68F8HP.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DaDSnbby.js",
|
||||
"houseplan-assets/live-interaction-runtime-CCDE_x-p.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-COSilger.js",
|
||||
"sha256": "bcea535185179da0fb9bec8a52154235953322887dc7270abe6433df6cf91fce",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-72wgQp7c.js",
|
||||
"sha256": "eb39590f260fdd5076e4aa0f13bc5b8249c4406ca46fd131e2361bc1ad7cefbd",
|
||||
"rawBytes": 613501,
|
||||
"gzipBytes": 161753,
|
||||
"gzipBytes": 161762,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js",
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js"
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-B7_gFefR.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-BIQaz34m.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CIcTVu4w.js",
|
||||
"sha256": "883b032e9cf54efb7e8e1d950cf50e7d6e9ef30d7ef7170703e3db4213c541e7",
|
||||
@@ -273,11 +322,16 @@
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-GJ38Op_d.js",
|
||||
"sha256": "1178130eff594c9a86df180ed0f4f9e02fb87f760e3c326ce61c296f5fd301bf",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-Cw68F8HP.js",
|
||||
"sha256": "d6fccbd0f412377c9db48e0ee3b1be0c1759e41cff1cf00509663bf6d76a4de0",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 28088,
|
||||
"gzipBytes": 6953,
|
||||
"gzipBytes": 6957,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/backdrop-pick-DZzpEyIT.js",
|
||||
"houseplan-assets/houseplan-card-BSrM0Lhk.js"
|
||||
@@ -289,11 +343,16 @@
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-ut3HMh-r.js",
|
||||
"sha256": "44cc78e932500432956f0405570dd4552ecff82ca936a18c4c8c8a75d1725d2a",
|
||||
@@ -311,10 +370,15 @@
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-BEnFTAFp.js",
|
||||
"sha256": "0bb4ca492119385d54423374be6306a262170061b82c5dcf37b5ba0ccabb497a",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-DaDSnbby.js",
|
||||
"sha256": "fc946472af2a550a9347528a3429e32570ed7d3ae49b6b8f68a2e6fbf1770277",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 6006,
|
||||
"gzipBytes": 2375,
|
||||
"gzipBytes": 2378,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-7FEkn7sJ.js",
|
||||
"houseplan-assets/zigbee-topology-ChPbHkF3.js",
|
||||
@@ -325,11 +389,17 @@
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-B7_gFefR.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BIQaz34m.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/zigbee-topology-rDtALgJu.js",
|
||||
"sha256": "8cbd5fd28f72ef1dff7472bf8d11f72ed0539e7586e9afd94a50b345449396b0",
|
||||
@@ -344,13 +414,20 @@
|
||||
"rawBytes": 4907,
|
||||
"gzipBytes": 2030,
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/live-interaction-runtime-CCDE_x-p.js",
|
||||
"sha256": "5a4f954c759af7f68d9171bc8aeb135deeb7153df53f060319f3b2aff5c199d1",
|
||||
"rawBytes": 4999,
|
||||
"gzipBytes": 2064,
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/zigbee-topology-ChPbHkF3.js",
|
||||
"sha256": "3e78f044f9e7abb1e20f094cf594639b1614e9fd738485bc7de285d69e85c61a",
|
||||
@@ -359,11 +436,16 @@
|
||||
"path": "houseplan-assets/zigbee-topology-CgmzeuiK.js",
|
||||
"sha256": "a51cf6ff507f456e6d4cb07658fa9d00d17e7410b3a5295d15434afee7a9f69f",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/zigbee-topology-BPD7cM0g.js",
|
||||
"sha256": "4628296d15a431e034f7de77dec2169a57d2bec69f6725c7b06533ce397c9b02",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 12382,
|
||||
"gzipBytes": 4841,
|
||||
"gzipBytes": 4843,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-BSrM0Lhk.js"
|
||||
=======
|
||||
@@ -372,11 +454,15 @@
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DNuifEaQ.js",
|
||||
"sha256": "6aebacb4d38a64c447b42fc0c1fd9e8af30aeec9ed414b8caa72e76d3dd6a3b1",
|
||||
@@ -393,10 +479,15 @@
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-B7_gFefR.js",
|
||||
"sha256": "4ca4d213abbdb285237c64d27fcc8c22d01a5ef2c0ac93c56b1124c031129141",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-BIQaz34m.js",
|
||||
"sha256": "8e1efb21ea859a12b1eea8ea53cc3c24b03062d0ac19b166e07f90f87b887934",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1758,
|
||||
"gzipBytes": 1762,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-7FEkn7sJ.js",
|
||||
"houseplan-assets/zigbee-topology-ChPbHkF3.js"
|
||||
@@ -405,12 +496,17 @@
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js",
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"sha256": "72a73dc69ec2b320184a11d0e841df00acb1da3c57555e7b987c4fa63556a0c5",
|
||||
=======
|
||||
@@ -419,11 +515,15 @@
|
||||
=======
|
||||
"sha256": "fefe2a716e43c08df2644ceab0f3286072a17f6d66ffde99af6fde0db5998103",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"sha256": "2a3e7ac72555babadda763dec137f69f65c8590299dd4f81a9a7966f012e62e1",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 1183,
|
||||
"gzipBytes": 792,
|
||||
"gzipBytes": 795,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-BSrM0Lhk.js"
|
||||
=======
|
||||
@@ -432,6 +532,9 @@
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
+10
-6
File diff suppressed because one or more lines are too long
+4
File diff suppressed because one or more lines are too long
+4
@@ -1,3 +1,4 @@
|
||||
<<<<<<< HEAD:dist/houseplan-assets/editor-Dd7--z-1.js
|
||||
<<<<<<< HEAD:custom_components/houseplan/frontend/houseplan-assets/editor-E9FeI5Qc.js
|
||||
<<<<<<<< HEAD:custom_components/houseplan/frontend/houseplan-assets/editor-BTu1pEFs.js
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="ae7c8e5f4037f7411ca44d300e7144531a4d1459ed32af8cb65818605449bfea";import{k as e,l as o,t,dq as s,A as a,dr as i,ds as l,dt as r,E as n,c}from"./houseplan-card-BSrM0Lhk.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 r="string"==typeof this._config?.default_floor?this._config.default_floor:"",n=[...e];return r&&!e.some(e=>e.value===r)&&n.unshift({value:r,label:r}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:n}}}:{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 r();if("warm"===e)return n;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
|
||||
@@ -7,6 +8,9 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="9cc5ce6d3f552668321875d6bbd7d4dea32b
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";import{k as e,l as o,t,dq as s,A as a,dr as i,ds as l,dt as r,E as n,c}from"./houseplan-card-DWJtraIS.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 r="string"==typeof this._config?.default_floor?this._config.default_floor:"",n=[...e];return r&&!e.some(e=>e.value===r)&&n.unshift({value:r,label:r}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:n}}}:{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 r();if("warm"===e)return n;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
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates):dist/houseplan-assets/editor-Dd7--z-1.js
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";import{k as e,l as o,t,dq as s,A as a,dr as i,ds as l,dt as r,E as n,c}from"./houseplan-card-Dc6_C1GY.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 r="string"==typeof this._config?.default_floor?this._config.default_floor:"",n=[...e];return r&&!e.some(e=>e.value===r)&&n.unshift({value:r,label:r}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:n}}}:{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 r();if("warm"===e)return n;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
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing):custom_components/houseplan/frontend/houseplan-assets/editor-BiT_NzVH.js
|
||||
.hass=${this.hass}
|
||||
.data=${this._formData}
|
||||
.schema=${e}
|
||||
+4
File diff suppressed because one or more lines are too long
+20
File diff suppressed because one or more lines are too long
+12
File diff suppressed because one or more lines are too long
+7
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";import{k as e,A as t,du as i,w as s,c as o,l as r,j as n}from"./houseplan-card-DWJtraIS.js";import{a,r as h,t as d}from"./zigbee-topology-CgmzeuiK.js";import{zigbeeTopologyRuntimeSnapshot as p,subscribeZigbeeTopology as c}from"./zigbee-topology-runtime-B7_gFefR.js";const l={revision:0,topologies:[],states:{}};class v extends e{constructor(){super(...arguments),this.devices=[],this.currentSpace="",this._runtime=l,this._hovered="",this._pointerOver=e=>{if(!this._mouseAllowed(e))return void this._clear();const t=this._deviceFromEvent(e),i=t?.dataset.id||"";i&&i!==this._hovered&&(this._hovered=i,this.requestUpdate())},this._pointerOut=e=>{const t=this._deviceFromEvent(e);if(!t||t.dataset.id!==this._hovered)return;const i=e.relatedTarget instanceof Element?e.relatedTarget.closest('[data-hp="device"]'):null;i?.dataset.id!==this._hovered&&this._clear()},this._pointerDown=e=>{"mouse"!==e.pointerType&&this._clear()}}connectedCallback(){super.connectedCallback();const e=this.getRootNode();e.host&&"undefined"!=typeof MutationObserver&&(this._hoverGateObserver=new MutationObserver(()=>{e.host.hasAttribute("data-pointer-hover")||this._clear()}),this._hoverGateObserver.observe(e.host,{attributes:!0,attributeFilter:["data-pointer-hover"]})),queueMicrotask(()=>this._connectParent())}disconnectedCallback(){this._release?.(),this._release=void 0,this._disconnectParent(),this._hoverGateObserver?.disconnect(),this._hoverGateObserver=void 0,this._hovered="",super.disconnectedCallback()}updated(e){e.has("hass")&&(this._release?.(),this._runtime=p(this.hass),this._mappedMemo=void 0,this._release=c(this.hass,()=>{this._runtime=p(this.hass),this._mappedMemo=void 0,this.requestUpdate()})),(e.has("currentSpace")||e.has("devices")||e.has("registry"))&&(this._mappedMemo=void 0,this.devices.some(e=>e.id===this._hovered&&e.space===this.currentSpace)||(this._hovered=""))}_connectParent(){const e=this.parentElement;e&&e!==this._parent&&(this._disconnectParent(),this._parent=e,e.addEventListener("pointerover",this._pointerOver),e.addEventListener("pointerout",this._pointerOut),e.addEventListener("pointerdown",this._pointerDown,!0))}_disconnectParent(){this._parent?.removeEventListener("pointerover",this._pointerOver),this._parent?.removeEventListener("pointerout",this._pointerOut),this._parent?.removeEventListener("pointerdown",this._pointerDown,!0),this._parent=void 0}_deviceFromEvent(e){for(const t of e.composedPath())if(t instanceof HTMLElement&&"device"===t.dataset.hp)return t;return null}_mouseAllowed(e){const t=this.getRootNode();return"mouse"===e.pointerType&&t.host?.hasAttribute?.("data-pointer-hover")}_clear(){this._hovered&&(this._hovered="",this.requestUpdate())}_position(e){const t=[...this._parent?.querySelectorAll(".dev[data-id]")||[]].find(t=>t.dataset.id===e);if(!t)return null;const i=Number.parseFloat(t.style.left),s=Number.parseFloat(t.style.top),o=t.getBoundingClientRect();return Number.isFinite(i)&&Number.isFinite(s)?{x:i,y:s,width:o.width,height:o.height}:null}render(){if(!this._hovered||!this.registry||!this._runtime.topologies.length)return t;const e=this._mappedMemo,n=e&&e.runtime===this._runtime&&e.devices===this.devices&&e.registry===this.registry?e.mapped:a(this._runtime.topologies,this.devices,this.registry);e&&n===e.mapped||(this._mappedMemo={runtime:this._runtime,devices:this.devices,registry:this.registry,mapped:n});const p=h(n,this.currentSpace,this._hovered),c=this._position(this._hovered);if(!c)return t;const l=p.lines.map(e=>({...e,point:this._position(e.neighborMarkerId)})).filter(e=>!!e.point);return o`
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";import{k as e,A as t,du as i,w as s,c as o,l as r,j as n}from"./houseplan-card-Dc6_C1GY.js";import{a,r as h,t as d}from"./zigbee-topology-BPD7cM0g.js";import{zigbeeTopologyRuntimeSnapshot as p,subscribeZigbeeTopology as c}from"./zigbee-topology-runtime-BIQaz34m.js";const l={revision:0,topologies:[],states:{}};class v extends e{constructor(){super(...arguments),this.devices=[],this.currentSpace="",this._runtime=l,this._hovered="",this._pointerOver=e=>{if(!this._mouseAllowed(e))return void this._clear();const t=this._deviceFromEvent(e),i=t?.dataset.id||"";i&&i!==this._hovered&&(this._hovered=i,this.requestUpdate())},this._pointerOut=e=>{const t=this._deviceFromEvent(e);if(!t||t.dataset.id!==this._hovered)return;const i=e.relatedTarget instanceof Element?e.relatedTarget.closest('[data-hp="device"]'):null;i?.dataset.id!==this._hovered&&this._clear()},this._pointerDown=e=>{"mouse"!==e.pointerType&&this._clear()}}connectedCallback(){super.connectedCallback();const e=this.getRootNode();e.host&&"undefined"!=typeof MutationObserver&&(this._hoverGateObserver=new MutationObserver(()=>{e.host.hasAttribute("data-pointer-hover")||this._clear()}),this._hoverGateObserver.observe(e.host,{attributes:!0,attributeFilter:["data-pointer-hover"]})),queueMicrotask(()=>this._connectParent())}disconnectedCallback(){this._release?.(),this._release=void 0,this._disconnectParent(),this._hoverGateObserver?.disconnect(),this._hoverGateObserver=void 0,this._hovered="",super.disconnectedCallback()}updated(e){e.has("hass")&&(this._release?.(),this._runtime=p(this.hass),this._mappedMemo=void 0,this._release=c(this.hass,()=>{this._runtime=p(this.hass),this._mappedMemo=void 0,this.requestUpdate()})),(e.has("currentSpace")||e.has("devices")||e.has("registry"))&&(this._mappedMemo=void 0,this.devices.some(e=>e.id===this._hovered&&e.space===this.currentSpace)||(this._hovered=""))}_connectParent(){const e=this.parentElement;e&&e!==this._parent&&(this._disconnectParent(),this._parent=e,e.addEventListener("pointerover",this._pointerOver),e.addEventListener("pointerout",this._pointerOut),e.addEventListener("pointerdown",this._pointerDown,!0))}_disconnectParent(){this._parent?.removeEventListener("pointerover",this._pointerOver),this._parent?.removeEventListener("pointerout",this._pointerOut),this._parent?.removeEventListener("pointerdown",this._pointerDown,!0),this._parent=void 0}_deviceFromEvent(e){for(const t of e.composedPath())if(t instanceof HTMLElement&&"device"===t.dataset.hp)return t;return null}_mouseAllowed(e){const t=this.getRootNode();return"mouse"===e.pointerType&&t.host?.hasAttribute?.("data-pointer-hover")}_clear(){this._hovered&&(this._hovered="",this.requestUpdate())}_position(e){const t=[...this._parent?.querySelectorAll(".dev[data-id]")||[]].find(t=>t.dataset.id===e);if(!t)return null;const i=Number.parseFloat(t.style.left),s=Number.parseFloat(t.style.top),o=t.getBoundingClientRect();return Number.isFinite(i)&&Number.isFinite(s)?{x:i,y:s,width:o.width,height:o.height}:null}render(){if(!this._hovered||!this.registry||!this._runtime.topologies.length)return t;const e=this._mappedMemo,n=e&&e.runtime===this._runtime&&e.devices===this.devices&&e.registry===this.registry?e.mapped:a(this._runtime.topologies,this.devices,this.registry);e&&n===e.mapped||(this._mappedMemo={runtime:this._runtime,devices:this.devices,registry:this.registry,mapped:n});const p=h(n,this.currentSpace,this._hovered),c=this._position(this._hovered);if(!c)return t;const l=p.lines.map(e=>({...e,point:this._position(e.neighborMarkerId)})).filter(e=>!!e.point);return o`
|
||||
${l.length?s`<svg viewBox="0 0 100 100" preserveAspectRatio="none"
|
||||
aria-hidden="true" data-hp="zigbee-topology-lines">
|
||||
${l.map(e=>s`<line x1=${c.x} y1=${c.y}
|
||||
+1
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";import{du as e}from"./houseplan-card-Dc6_C1GY.js";const t=new WeakMap,o=e=>{let o=t.get(e);return o||(o={painted:null,pending:null,raf:0},t.set(e,o)),o},n=e=>`${e.x} ${e.y} ${e.w} ${e.h}`;const r=e=>0===e.translateXPercent&&0===e.translateYPercent&&1===e.scaleX&&1===e.scaleY,a=e=>[e.x,e.y,e.w,e.h].every(Number.isFinite)&&e.w>0&&e.h>0,s=(e,t)=>{if(!t)return e.style.removeProperty("transform"),e.style.removeProperty("transform-origin"),void e.style.removeProperty("will-change");e.style.transformOrigin="0 0",e.style.willChange="transform",e.style.transform=`translate(${t.translateXPercent}%,${t.translateYPercent}%) scale(${t.scaleX},${t.scaleY})`};function i(e,t,o){if(!a(t.view)||!a(o.view)||!a(o.floor))return;const i=n(o.view),l=n(o.floor);for(const t of e.querySelectorAll('[data-hp-live-viewbox="camera"]'))t.setAttribute("viewBox",i);for(const t of e.querySelectorAll('[data-hp-live-viewbox="floor"]'))t.setAttribute("viewBox",l);const c=(f=t.view,u=o.view,{translateXPercent:(f.x-u.x)/u.w*100,translateYPercent:(f.y-u.y)/u.h*100,scaleX:f.w/u.w,scaleY:f.h/u.h});var f,u;for(const t of e.querySelectorAll('[data-hp-live-layer="camera"]'))s(t,r(c)?null:c);const d=e.querySelector("[data-hp-live-zoom]");if(d){d.hidden=o.zoom<=1;const e=d.querySelector("[data-hp-live-zoom-value]");e&&(e.textContent=`${Math.round(100*o.zoom)}%`)}}const l=e=>{const t=e._viewOr(e._baseVb());return{view:{...t},floor:{...e._floorView(t)},zoom:e._zoom}};const c=new WeakMap,f=(e,t,o,n)=>{if(!o)return;const r=document.createElement("span");if(r.className="m",t){r.append(`${t} `);const e=document.createElement("b");e.textContent=o,n&&(e.style.color=n),r.append(e)}else r.textContent=o;e.append(r)},u=(e,t,o)=>{const n=e.querySelector(t);n&&(n.setAttribute("d",o),n.toggleAttribute("hidden",!o))};function d(t){const o=t,n=o.renderRoot;if(!n)return;((t,o)=>{const n=o.querySelector("[data-hp-live-tip]");if(!n)return;const r=t._tip;if(!r)return n.hidden=!0,void n.replaceChildren();n.style.left=`${r.x+12}px`,n.style.top=`${r.y+12}px`,n.replaceChildren();const a=document.createElement("b");a.textContent=r.title,n.append(a),f(n,"",r.meta),f(n,t._t("tip.temp_avg"),null==r.temp?"":`${r.temp}°`),f(n,t._t("tip.hum_avg"),null==r.hum?"":`${r.hum}%`),f(n,t._t("tip.lqi"),null==r.lqi?"":String(r.lqi),null==r.lqi?void 0:e(r.lqi)),n.hidden=!1})(o,n);const r=o._hoverRoom,a=c.get(t),s=r?.space||"",i=r?.room||null;if(a?.room===i&&a?.space===s)return;c.set(t,{room:i,space:s});const l=r&&o._spaceModel(),d=l?o._roomHoverPaths(l):null;u(n,'[data-hp-live-room-hover="fill"]',d?.fillD||""),u(n,'[data-hp-live-room-hover="halo"]',d?.outlineD||""),u(n,'[data-hp-live-room-hover="outline"]',d?.outlineD||"")}function m(e){c.delete(e)}class h{constructor(e){this.host=e,this.deferredHass=!1}hass(e,t,o,n){const r=function(e,t,o){if(e===t)return"none";if(!e||!t||!o)return"structural";if(e.connection!==t.connection||e.entities!==t.entities||e.devices!==t.devices||e.areas!==t.areas||e.themes!==t.themes||e.user!==t.user||e.config!==t.config||e.floors!==t.floors||e.services!==t.services||e.panels!==t.panels||e.language!==t.language||e.locale?.language!==t.locale?.language||e.locale?.number_format!==t.locale?.number_format||e.locale?.time_format!==t.locale?.time_format||e.locale?.date_format!==t.locale?.date_format)return"structural";const n=new Set(["states","connection","entities","devices","areas","themes","user","config","floors","services","panels","language","locale"]);for(const o of new Set([...Object.keys(e),...Object.keys(t)]))if(!n.has(o)&&e[o]!==t[o])return"structural";for(const n of o.entityIds)if(e.states?.[n]!==t.states?.[n])return"state";return"none"}(e,t,o),a="state"===r&&this.active();return a&&(this.deferredHass=!0),this.host._renderLife.observe(e,t,o,n),"none"!==r&&!a}clear(){this.deferredHass=!1}take(){const e=this.deferredHass;return this.deferredHass=!1,e}viewport(){!function(e){const t=e,n=o(e);n.pending=l(t),n.raf||"function"!=typeof requestAnimationFrame||(n.raf=requestAnimationFrame(()=>{n.raf=0;const e=n.pending;n.pending=null;const o=t.renderRoot;e&&o&&(n.painted||(n.painted=e),i(o,n.painted,e))}))}(this.host)}hover(){d(this.host)}active(){const e=this.host;return e._pointers.size>0||e._cameraTransition.active||!!e._deviceDrag||!!e._physicalDrag||!!e._physicalRotate||!!e._decorMove||!!e._decorDraft||!!e._dtDrag||!!e._bdDrag||!!e._opDrag||!!e._resize?.dragging}commit(){!function(e){const t=e,n=o(e);n.raf&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n.raf),n.raf=0,n.pending=null,n.painted=l(t);const r=t.renderRoot;if(r){for(const e of r.querySelectorAll('[data-hp-live-layer="camera"]'))s(e,null);i(r,n.painted,n.painted)}}(this.host),m(this.host),d(this.host)}dispose(){!function(e){const o=t.get(e);o?.raf&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(o.raf),t.delete(e)}(this.host),m(this.host)}}export{h as LiveRuntime};
|
||||
-1
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";import{du as e}from"./houseplan-card-DWJtraIS.js";const t=new WeakMap,o=e=>{let o=t.get(e);return o||(o={painted:null,pending:null,raf:0},t.set(e,o)),o},r=e=>`${e.x} ${e.y} ${e.w} ${e.h}`;const n=e=>[e.x,e.y,e.w,e.h].every(Number.isFinite)&&e.w>0&&e.h>0,a=(e,t)=>{if(!t)return e.style.removeProperty("transform"),e.style.removeProperty("transform-origin"),void e.style.removeProperty("will-change");e.style.transformOrigin="0 0",e.style.willChange="transform",e.style.transform=`translate(${t.translateXPercent}%,${t.translateYPercent}%) scale(${t.scaleX},${t.scaleY})`};function s(e,t,o){if(!n(t.view)||!n(o.view)||!n(o.floor))return;const s=r(o.view),i=r(o.floor);for(const t of e.querySelectorAll('[data-hp-live-viewbox="camera"]'))t.setAttribute("viewBox",s);for(const t of e.querySelectorAll('[data-hp-live-viewbox="floor"]'))t.setAttribute("viewBox",i);const l=(c=t.view,f=o.view,{translateXPercent:(c.x-f.x)/f.w*100,translateYPercent:(c.y-f.y)/f.h*100,scaleX:c.w/f.w,scaleY:c.h/f.h});var c,f;for(const t of e.querySelectorAll('[data-hp-live-layer="camera"]'))a(t,l);const u=e.querySelector("[data-hp-live-zoom]");if(u){u.hidden=o.zoom<=1;const e=u.querySelector("[data-hp-live-zoom-value]");e&&(e.textContent=`${Math.round(100*o.zoom)}%`)}}const i=e=>{const t=e._viewOr(e._baseVb());return{view:{...t},floor:{...e._floorView(t)},zoom:e._zoom}};const l=new WeakMap,c=(e,t,o,r)=>{if(!o)return;const n=document.createElement("span");if(n.className="m",t){n.append(`${t} `);const e=document.createElement("b");e.textContent=o,r&&(e.style.color=r),n.append(e)}else n.textContent=o;e.append(n)},f=(e,t,o)=>{const r=e.querySelector(t);r&&(r.setAttribute("d",o),r.toggleAttribute("hidden",!o))};function u(t){const o=t,r=o.renderRoot;if(!r)return;((t,o)=>{const r=o.querySelector("[data-hp-live-tip]");if(!r)return;const n=t._tip;if(!n)return r.hidden=!0,void r.replaceChildren();r.style.left=`${n.x+12}px`,r.style.top=`${n.y+12}px`,r.replaceChildren();const a=document.createElement("b");a.textContent=n.title,r.append(a),c(r,"",n.meta),c(r,t._t("tip.temp_avg"),null==n.temp?"":`${n.temp}°`),c(r,t._t("tip.hum_avg"),null==n.hum?"":`${n.hum}%`),c(r,t._t("tip.lqi"),null==n.lqi?"":String(n.lqi),null==n.lqi?void 0:e(n.lqi)),r.hidden=!1})(o,r);const n=o._hoverRoom,a=l.get(t),s=n?.space||"",i=n?.room||null;if(a?.room===i&&a?.space===s)return;l.set(t,{room:i,space:s});const u=n&&o._spaceModel(),d=u?o._roomHoverPaths(u):null;f(r,'[data-hp-live-room-hover="fill"]',d?.fillD||""),f(r,'[data-hp-live-room-hover="halo"]',d?.outlineD||""),f(r,'[data-hp-live-room-hover="outline"]',d?.outlineD||"")}function d(e){l.delete(e)}class m{constructor(e){this.host=e,this.deferredHass=!1}hass(e,t,o,r){const n=function(e,t,o){if(e===t)return"none";if(!e||!t||!o)return"structural";if(e.connection!==t.connection||e.entities!==t.entities||e.devices!==t.devices||e.areas!==t.areas||e.themes!==t.themes||e.user!==t.user||e.config!==t.config||e.floors!==t.floors||e.services!==t.services||e.panels!==t.panels||e.language!==t.language||e.locale?.language!==t.locale?.language||e.locale?.number_format!==t.locale?.number_format||e.locale?.time_format!==t.locale?.time_format||e.locale?.date_format!==t.locale?.date_format)return"structural";const r=new Set(["states","connection","entities","devices","areas","themes","user","config","floors","services","panels","language","locale"]);for(const o of new Set([...Object.keys(e),...Object.keys(t)]))if(!r.has(o)&&e[o]!==t[o])return"structural";for(const r of o.entityIds)if(e.states?.[r]!==t.states?.[r])return"state";return"none"}(e,t,o),a="state"===n&&this.active();return a&&(this.deferredHass=!0),this.host._renderLife.observe(e,t,o,r),"none"!==n&&!a}clear(){this.deferredHass=!1}take(){const e=this.deferredHass;return this.deferredHass=!1,e}viewport(){!function(e){const t=e,r=o(e);r.pending=i(t),r.raf||"function"!=typeof requestAnimationFrame||(r.raf=requestAnimationFrame(()=>{r.raf=0;const e=r.pending;r.pending=null;const o=t.renderRoot;e&&o&&(r.painted||(r.painted=e),s(o,r.painted,e))}))}(this.host)}hover(){u(this.host)}active(){const e=this.host;return e._pointers.size>0||e._cameraTransition.active||!!e._deviceDrag||!!e._physicalDrag||!!e._physicalRotate||!!e._decorMove||!!e._decorDraft||!!e._dtDrag||!!e._bdDrag||!!e._opDrag||!!e._resize?.dragging}commit(){!function(e){const t=e,r=o(e);r.raf&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r.raf),r.raf=0,r.pending=null,r.painted=i(t);const n=t.renderRoot;if(n){for(const e of n.querySelectorAll('[data-hp-live-layer="camera"]'))a(e,null);s(n,r.painted,r.painted)}}(this.host),d(this.host),u(this.host)}dispose(){!function(e){const o=t.get(e);o?.raf&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(o.raf),t.delete(e)}(this.host),d(this.host)}}export{m as LiveRuntime};
|
||||
+4
File diff suppressed because one or more lines are too long
+4
@@ -1,3 +1,4 @@
|
||||
<<<<<<< HEAD:custom_components/houseplan/frontend/houseplan-assets/zigbee-topology-runtime-B7_gFefR.js
|
||||
<<<<<<< HEAD:custom_components/houseplan/frontend/houseplan-assets/zigbee-topology-runtime-BWmFmXEu.js
|
||||
<<<<<<<< HEAD:custom_components/houseplan/frontend/houseplan-assets/zigbee-topology-runtime-DNuifEaQ.js
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="ae7c8e5f4037f7411ca44d300e7144531a4d1459ed32af8cb65818605449bfea";import{n as t,b as n}from"./zigbee-topology-rDtALgJu.js";import{y as e}from"./houseplan-card-BSrM0Lhk.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
@@ -7,3 +8,6 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="9cc5ce6d3f552668321875d6bbd7d4dea32b
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";import{n as t,b as n}from"./zigbee-topology-CgmzeuiK.js";import{z as e}from"./houseplan-card-DWJtraIS.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates):custom_components/houseplan/frontend/houseplan-assets/zigbee-topology-runtime-B7_gFefR.js
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";import{n as t,b as n}from"./zigbee-topology-BPD7cM0g.js";import{z as e}from"./houseplan-card-Dc6_C1GY.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing):custom_components/houseplan/frontend/houseplan-assets/zigbee-topology-runtime-BIQaz34m.js
|
||||
@@ -1,5 +1,6 @@
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="ae7c8e5f4037f7411ca44d300e7144531a4d1459ed32af8cb65818605449bfea";try{await import("./houseplan-assets/houseplan-card-BSrM0Lhk.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="9cc5ce6d3f552668321875d6bbd7d4dea32b2ae365030a354e6d7910313c1f5d";try{await import("./houseplan-assets/houseplan-card-7FEkn7sJ.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
@@ -7,3 +8,6 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="9cc5ce6d3f552668321875d6bbd7d4dea32b
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";try{await import("./houseplan-assets/houseplan-card-DWJtraIS.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";try{await import("./houseplan-assets/houseplan-card-Dc6_C1GY.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
|
||||
Vendored
+146
-43
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"schema": 1,
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"fingerprint": "ae7c8e5f4037f7411ca44d300e7144531a4d1459ed32af8cb65818605449bfea",
|
||||
"entry": "houseplan-card.js",
|
||||
@@ -36,33 +37,37 @@
|
||||
=======
|
||||
"fingerprint": "e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"fingerprint": "c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"entry": "houseplan-card.js",
|
||||
"initialViewFiles": [
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js",
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"houseplan-card.js"
|
||||
],
|
||||
"initialViewGzipBytes": 296475,
|
||||
"initialViewGzipBytes": 296484,
|
||||
"lazyFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/de-arUN8Vx7.js",
|
||||
"houseplan-assets/editor-Dd7--z-1.js",
|
||||
"houseplan-assets/fr-Dzu44WpB.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-COSilger.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-GJ38Op_d.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BEnFTAFp.js",
|
||||
"houseplan-assets/live-interaction-runtime-ChrvWqpG.js",
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-B7_gFefR.js"
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/de-DRRWbWgg.js",
|
||||
"houseplan-assets/editor-BiT_NzVH.js",
|
||||
"houseplan-assets/fr-DuHCxf19.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-72wgQp7c.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Cw68F8HP.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DaDSnbby.js",
|
||||
"houseplan-assets/live-interaction-runtime-CCDE_x-p.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BIQaz34m.js"
|
||||
],
|
||||
"lazyGzipBytes": 237656,
|
||||
"lazyGzipBytes": 237727,
|
||||
"lazyEditorFiles": [
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/editor-Dd7--z-1.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-COSilger.js",
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js"
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/editor-BiT_NzVH.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-72wgQp7c.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js"
|
||||
],
|
||||
"lazyEditorGzipBytes": 175452,
|
||||
"lazyEditorGzipBytes": 175464,
|
||||
"lazyOnboardingFiles": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/backdrop-pick-DTvxUUZe.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-CIcTVu4w.js"
|
||||
@@ -71,10 +76,15 @@
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-GJ38Op_d.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Cw68F8HP.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"lazyOnboardingGzipBytes": 14233,
|
||||
"lazyOnboardingGzipBytes": 14237,
|
||||
"lazyLocaleFiles": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/de-BvZPvnYY.js",
|
||||
"houseplan-assets/fr-DjtFhN-Y.js"
|
||||
@@ -96,27 +106,36 @@
|
||||
"houseplan-assets/de-arUN8Vx7.js",
|
||||
"houseplan-assets/fr-Dzu44WpB.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/de-DRRWbWgg.js",
|
||||
"houseplan-assets/fr-DuHCxf19.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"lazyLocaleGzipBytes": 49088,
|
||||
"lazyLocaleGzipBytes": 49102,
|
||||
"files": [
|
||||
{
|
||||
"path": "houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"sha256": "e82310130f17562eb77f93fab2d09f24b3e077bd6247e5b517389a7a460f0755",
|
||||
"path": "houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"sha256": "dfa8b28dd4d294cbaab52d7078a168bd4f773b005ad7698c38d587b6132569cc",
|
||||
"rawBytes": 21417,
|
||||
"gzipBytes": 7280,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-7FEkn7sJ.js"
|
||||
>>>>>>> 3e3192f2 (fix: keep large-plan interactions off the full render path)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/de-BvZPvnYY.js",
|
||||
"sha256": "9f3303e77789e32084da7d84bc23988a35264a2c216c88758380ff88e7382b29",
|
||||
@@ -134,12 +153,19 @@
|
||||
"rawBytes": 82182,
|
||||
"gzipBytes": 24814,
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/de-DRRWbWgg.js",
|
||||
"sha256": "67ef76c6c8d2f2a0be7539455b9531fe2535e75b319d209adfc0e85c938dd5a6",
|
||||
"rawBytes": 82182,
|
||||
"gzipBytes": 24821,
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/editor-BTu1pEFs.js",
|
||||
"sha256": "0a9ae05765b95b1a953bba7980c41a3aec5901bcaaf5a0b38eddd7dda4b2f1d3",
|
||||
@@ -151,11 +177,16 @@
|
||||
"path": "houseplan-assets/editor-Dd7--z-1.js",
|
||||
"sha256": "98e83f4240701ed81ed0917e6fb60dbce2c9545e7b3b0c045708829824af4af9",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/editor-BiT_NzVH.js",
|
||||
"sha256": "7d89c228f20aefdb6e02af53980520dfa24262ca8627be3a0a142460cfdb1fcb",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 3826,
|
||||
"gzipBytes": 1578,
|
||||
"gzipBytes": 1579,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-BSrM0Lhk.js"
|
||||
=======
|
||||
@@ -164,11 +195,15 @@
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/fr-DjtFhN-Y.js",
|
||||
"sha256": "32800d08009e00fe879aa19ade33f3a327d114db43e1236743fea0a77fe37efd",
|
||||
@@ -186,12 +221,19 @@
|
||||
"rawBytes": 84312,
|
||||
"gzipBytes": 24274,
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/fr-DuHCxf19.js",
|
||||
"sha256": "d1576f6787ba6f2d87a79c8997ad6d5c332c67f76cac505649b93605ffd95af9",
|
||||
"rawBytes": 84312,
|
||||
"gzipBytes": 24281,
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/houseplan-card-BSrM0Lhk.js",
|
||||
"sha256": "51a395b395bea925d7a7b846cf95918c99add73b71a3d98a5654de525a7f2180",
|
||||
@@ -237,34 +279,41 @@
|
||||
"rawBytes": 1053531,
|
||||
"gzipBytes": 295683,
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"sha256": "221274b5a3a89acb22026137275ad1906c2ed6bad3bbfc63fae07f36beef6629",
|
||||
"rawBytes": 1053531,
|
||||
"gzipBytes": 295689,
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"isEntry": false,
|
||||
"imports": [],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/de-arUN8Vx7.js",
|
||||
"houseplan-assets/editor-Dd7--z-1.js",
|
||||
"houseplan-assets/fr-Dzu44WpB.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-COSilger.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-GJ38Op_d.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-BEnFTAFp.js",
|
||||
"houseplan-assets/live-interaction-runtime-ChrvWqpG.js"
|
||||
"houseplan-assets/de-DRRWbWgg.js",
|
||||
"houseplan-assets/editor-BiT_NzVH.js",
|
||||
"houseplan-assets/fr-DuHCxf19.js",
|
||||
"houseplan-assets/houseplan-editor-runtime-72wgQp7c.js",
|
||||
"houseplan-assets/houseplan-onboarding-runtime-Cw68F8HP.js",
|
||||
"houseplan-assets/hp-zigbee-topology-overlay-DaDSnbby.js",
|
||||
"houseplan-assets/live-interaction-runtime-CCDE_x-p.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-COSilger.js",
|
||||
"sha256": "bcea535185179da0fb9bec8a52154235953322887dc7270abe6433df6cf91fce",
|
||||
"path": "houseplan-assets/houseplan-editor-runtime-72wgQp7c.js",
|
||||
"sha256": "eb39590f260fdd5076e4aa0f13bc5b8249c4406ca46fd131e2361bc1ad7cefbd",
|
||||
"rawBytes": 613501,
|
||||
"gzipBytes": 161753,
|
||||
"gzipBytes": 161762,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js",
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js"
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"houseplan-assets/zigbee-topology-runtime-B7_gFefR.js"
|
||||
"houseplan-assets/zigbee-topology-runtime-BIQaz34m.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-CIcTVu4w.js",
|
||||
"sha256": "883b032e9cf54efb7e8e1d950cf50e7d6e9ef30d7ef7170703e3db4213c541e7",
|
||||
@@ -273,11 +322,16 @@
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-GJ38Op_d.js",
|
||||
"sha256": "1178130eff594c9a86df180ed0f4f9e02fb87f760e3c326ce61c296f5fd301bf",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/houseplan-onboarding-runtime-Cw68F8HP.js",
|
||||
"sha256": "d6fccbd0f412377c9db48e0ee3b1be0c1759e41cff1cf00509663bf6d76a4de0",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 28088,
|
||||
"gzipBytes": 6953,
|
||||
"gzipBytes": 6957,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/backdrop-pick-DZzpEyIT.js",
|
||||
"houseplan-assets/houseplan-card-BSrM0Lhk.js"
|
||||
@@ -289,11 +343,16 @@
|
||||
"houseplan-assets/backdrop-pick-DIgi2Yuh.js",
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/backdrop-pick-Z95eZVCu.js",
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-ut3HMh-r.js",
|
||||
"sha256": "44cc78e932500432956f0405570dd4552ecff82ca936a18c4c8c8a75d1725d2a",
|
||||
@@ -311,10 +370,15 @@
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-BEnFTAFp.js",
|
||||
"sha256": "0bb4ca492119385d54423374be6306a262170061b82c5dcf37b5ba0ccabb497a",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/hp-zigbee-topology-overlay-DaDSnbby.js",
|
||||
"sha256": "fc946472af2a550a9347528a3429e32570ed7d3ae49b6b8f68a2e6fbf1770277",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 6006,
|
||||
"gzipBytes": 2375,
|
||||
"gzipBytes": 2378,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-7FEkn7sJ.js",
|
||||
"houseplan-assets/zigbee-topology-ChPbHkF3.js",
|
||||
@@ -325,11 +389,17 @@
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-B7_gFefR.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js",
|
||||
"houseplan-assets/zigbee-topology-runtime-BIQaz34m.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/zigbee-topology-rDtALgJu.js",
|
||||
"sha256": "8cbd5fd28f72ef1dff7472bf8d11f72ed0539e7586e9afd94a50b345449396b0",
|
||||
@@ -344,13 +414,20 @@
|
||||
"rawBytes": 4907,
|
||||
"gzipBytes": 2030,
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/live-interaction-runtime-CCDE_x-p.js",
|
||||
"sha256": "5a4f954c759af7f68d9171bc8aeb135deeb7153df53f060319f3b2aff5c199d1",
|
||||
"rawBytes": 4999,
|
||||
"gzipBytes": 2064,
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/zigbee-topology-ChPbHkF3.js",
|
||||
"sha256": "3e78f044f9e7abb1e20f094cf594639b1614e9fd738485bc7de285d69e85c61a",
|
||||
@@ -359,11 +436,16 @@
|
||||
"path": "houseplan-assets/zigbee-topology-CgmzeuiK.js",
|
||||
"sha256": "a51cf6ff507f456e6d4cb07658fa9d00d17e7410b3a5295d15434afee7a9f69f",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/zigbee-topology-BPD7cM0g.js",
|
||||
"sha256": "4628296d15a431e034f7de77dec2169a57d2bec69f6725c7b06533ce397c9b02",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 12382,
|
||||
"gzipBytes": 4841,
|
||||
"gzipBytes": 4843,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-BSrM0Lhk.js"
|
||||
=======
|
||||
@@ -372,11 +454,15 @@
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-DNuifEaQ.js",
|
||||
"sha256": "6aebacb4d38a64c447b42fc0c1fd9e8af30aeec9ed414b8caa72e76d3dd6a3b1",
|
||||
@@ -393,10 +479,15 @@
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-B7_gFefR.js",
|
||||
"sha256": "4ca4d213abbdb285237c64d27fcc8c22d01a5ef2c0ac93c56b1124c031129141",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"path": "houseplan-assets/zigbee-topology-runtime-BIQaz34m.js",
|
||||
"sha256": "8e1efb21ea859a12b1eea8ea53cc3c24b03062d0ac19b166e07f90f87b887934",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 3941,
|
||||
"gzipBytes": 1758,
|
||||
"gzipBytes": 1762,
|
||||
"isEntry": false,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-7FEkn7sJ.js",
|
||||
"houseplan-assets/zigbee-topology-ChPbHkF3.js"
|
||||
@@ -405,12 +496,17 @@
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js",
|
||||
"houseplan-assets/zigbee-topology-CgmzeuiK.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js",
|
||||
"houseplan-assets/zigbee-topology-BPD7cM0g.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
},
|
||||
{
|
||||
"path": "houseplan-card.js",
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"sha256": "72a73dc69ec2b320184a11d0e841df00acb1da3c57555e7b987c4fa63556a0c5",
|
||||
=======
|
||||
@@ -419,11 +515,15 @@
|
||||
=======
|
||||
"sha256": "fefe2a716e43c08df2644ceab0f3286072a17f6d66ffde99af6fde0db5998103",
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"sha256": "2a3e7ac72555babadda763dec137f69f65c8590299dd4f81a9a7966f012e62e1",
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
"rawBytes": 1183,
|
||||
"gzipBytes": 792,
|
||||
"gzipBytes": 795,
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"houseplan-assets/houseplan-card-BSrM0Lhk.js"
|
||||
=======
|
||||
@@ -432,6 +532,9 @@
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-DWJtraIS.js"
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
"houseplan-assets/houseplan-card-Dc6_C1GY.js"
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
],
|
||||
"dynamicImports": []
|
||||
}
|
||||
|
||||
Vendored
+10
-6
File diff suppressed because one or more lines are too long
+4
File diff suppressed because one or more lines are too long
+4
@@ -1,3 +1,4 @@
|
||||
<<<<<<< HEAD:custom_components/houseplan/frontend/houseplan-assets/editor-Dd7--z-1.js
|
||||
<<<<<<< HEAD:dist/houseplan-assets/editor-E9FeI5Qc.js
|
||||
<<<<<<<< HEAD:dist/houseplan-assets/editor-BTu1pEFs.js
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="ae7c8e5f4037f7411ca44d300e7144531a4d1459ed32af8cb65818605449bfea";import{k as e,l as o,t,dq as s,A as a,dr as i,ds as l,dt as r,E as n,c}from"./houseplan-card-BSrM0Lhk.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 r="string"==typeof this._config?.default_floor?this._config.default_floor:"",n=[...e];return r&&!e.some(e=>e.value===r)&&n.unshift({value:r,label:r}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:n}}}:{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 r();if("warm"===e)return n;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
|
||||
@@ -7,6 +8,9 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="9cc5ce6d3f552668321875d6bbd7d4dea32b
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";import{k as e,l as o,t,dq as s,A as a,dr as i,ds as l,dt as r,E as n,c}from"./houseplan-card-DWJtraIS.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 r="string"==typeof this._config?.default_floor?this._config.default_floor:"",n=[...e];return r&&!e.some(e=>e.value===r)&&n.unshift({value:r,label:r}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:n}}}:{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 r();if("warm"===e)return n;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
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates):custom_components/houseplan/frontend/houseplan-assets/editor-Dd7--z-1.js
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";import{k as e,l as o,t,dq as s,A as a,dr as i,ds as l,dt as r,E as n,c}from"./houseplan-card-Dc6_C1GY.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 r="string"==typeof this._config?.default_floor?this._config.default_floor:"",n=[...e];return r&&!e.some(e=>e.value===r)&&n.unshift({value:r,label:r}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:n}}}:{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 r();if("warm"===e)return n;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
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing):dist/houseplan-assets/editor-BiT_NzVH.js
|
||||
.hass=${this.hass}
|
||||
.data=${this._formData}
|
||||
.schema=${e}
|
||||
+4
File diff suppressed because one or more lines are too long
Vendored
+20
File diff suppressed because one or more lines are too long
+12
File diff suppressed because one or more lines are too long
+7
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";import{k as e,A as t,du as i,w as s,c as o,l as r,j as n}from"./houseplan-card-DWJtraIS.js";import{a,r as h,t as d}from"./zigbee-topology-CgmzeuiK.js";import{zigbeeTopologyRuntimeSnapshot as p,subscribeZigbeeTopology as c}from"./zigbee-topology-runtime-B7_gFefR.js";const l={revision:0,topologies:[],states:{}};class v extends e{constructor(){super(...arguments),this.devices=[],this.currentSpace="",this._runtime=l,this._hovered="",this._pointerOver=e=>{if(!this._mouseAllowed(e))return void this._clear();const t=this._deviceFromEvent(e),i=t?.dataset.id||"";i&&i!==this._hovered&&(this._hovered=i,this.requestUpdate())},this._pointerOut=e=>{const t=this._deviceFromEvent(e);if(!t||t.dataset.id!==this._hovered)return;const i=e.relatedTarget instanceof Element?e.relatedTarget.closest('[data-hp="device"]'):null;i?.dataset.id!==this._hovered&&this._clear()},this._pointerDown=e=>{"mouse"!==e.pointerType&&this._clear()}}connectedCallback(){super.connectedCallback();const e=this.getRootNode();e.host&&"undefined"!=typeof MutationObserver&&(this._hoverGateObserver=new MutationObserver(()=>{e.host.hasAttribute("data-pointer-hover")||this._clear()}),this._hoverGateObserver.observe(e.host,{attributes:!0,attributeFilter:["data-pointer-hover"]})),queueMicrotask(()=>this._connectParent())}disconnectedCallback(){this._release?.(),this._release=void 0,this._disconnectParent(),this._hoverGateObserver?.disconnect(),this._hoverGateObserver=void 0,this._hovered="",super.disconnectedCallback()}updated(e){e.has("hass")&&(this._release?.(),this._runtime=p(this.hass),this._mappedMemo=void 0,this._release=c(this.hass,()=>{this._runtime=p(this.hass),this._mappedMemo=void 0,this.requestUpdate()})),(e.has("currentSpace")||e.has("devices")||e.has("registry"))&&(this._mappedMemo=void 0,this.devices.some(e=>e.id===this._hovered&&e.space===this.currentSpace)||(this._hovered=""))}_connectParent(){const e=this.parentElement;e&&e!==this._parent&&(this._disconnectParent(),this._parent=e,e.addEventListener("pointerover",this._pointerOver),e.addEventListener("pointerout",this._pointerOut),e.addEventListener("pointerdown",this._pointerDown,!0))}_disconnectParent(){this._parent?.removeEventListener("pointerover",this._pointerOver),this._parent?.removeEventListener("pointerout",this._pointerOut),this._parent?.removeEventListener("pointerdown",this._pointerDown,!0),this._parent=void 0}_deviceFromEvent(e){for(const t of e.composedPath())if(t instanceof HTMLElement&&"device"===t.dataset.hp)return t;return null}_mouseAllowed(e){const t=this.getRootNode();return"mouse"===e.pointerType&&t.host?.hasAttribute?.("data-pointer-hover")}_clear(){this._hovered&&(this._hovered="",this.requestUpdate())}_position(e){const t=[...this._parent?.querySelectorAll(".dev[data-id]")||[]].find(t=>t.dataset.id===e);if(!t)return null;const i=Number.parseFloat(t.style.left),s=Number.parseFloat(t.style.top),o=t.getBoundingClientRect();return Number.isFinite(i)&&Number.isFinite(s)?{x:i,y:s,width:o.width,height:o.height}:null}render(){if(!this._hovered||!this.registry||!this._runtime.topologies.length)return t;const e=this._mappedMemo,n=e&&e.runtime===this._runtime&&e.devices===this.devices&&e.registry===this.registry?e.mapped:a(this._runtime.topologies,this.devices,this.registry);e&&n===e.mapped||(this._mappedMemo={runtime:this._runtime,devices:this.devices,registry:this.registry,mapped:n});const p=h(n,this.currentSpace,this._hovered),c=this._position(this._hovered);if(!c)return t;const l=p.lines.map(e=>({...e,point:this._position(e.neighborMarkerId)})).filter(e=>!!e.point);return o`
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";import{k as e,A as t,du as i,w as s,c as o,l as r,j as n}from"./houseplan-card-Dc6_C1GY.js";import{a,r as h,t as d}from"./zigbee-topology-BPD7cM0g.js";import{zigbeeTopologyRuntimeSnapshot as p,subscribeZigbeeTopology as c}from"./zigbee-topology-runtime-BIQaz34m.js";const l={revision:0,topologies:[],states:{}};class v extends e{constructor(){super(...arguments),this.devices=[],this.currentSpace="",this._runtime=l,this._hovered="",this._pointerOver=e=>{if(!this._mouseAllowed(e))return void this._clear();const t=this._deviceFromEvent(e),i=t?.dataset.id||"";i&&i!==this._hovered&&(this._hovered=i,this.requestUpdate())},this._pointerOut=e=>{const t=this._deviceFromEvent(e);if(!t||t.dataset.id!==this._hovered)return;const i=e.relatedTarget instanceof Element?e.relatedTarget.closest('[data-hp="device"]'):null;i?.dataset.id!==this._hovered&&this._clear()},this._pointerDown=e=>{"mouse"!==e.pointerType&&this._clear()}}connectedCallback(){super.connectedCallback();const e=this.getRootNode();e.host&&"undefined"!=typeof MutationObserver&&(this._hoverGateObserver=new MutationObserver(()=>{e.host.hasAttribute("data-pointer-hover")||this._clear()}),this._hoverGateObserver.observe(e.host,{attributes:!0,attributeFilter:["data-pointer-hover"]})),queueMicrotask(()=>this._connectParent())}disconnectedCallback(){this._release?.(),this._release=void 0,this._disconnectParent(),this._hoverGateObserver?.disconnect(),this._hoverGateObserver=void 0,this._hovered="",super.disconnectedCallback()}updated(e){e.has("hass")&&(this._release?.(),this._runtime=p(this.hass),this._mappedMemo=void 0,this._release=c(this.hass,()=>{this._runtime=p(this.hass),this._mappedMemo=void 0,this.requestUpdate()})),(e.has("currentSpace")||e.has("devices")||e.has("registry"))&&(this._mappedMemo=void 0,this.devices.some(e=>e.id===this._hovered&&e.space===this.currentSpace)||(this._hovered=""))}_connectParent(){const e=this.parentElement;e&&e!==this._parent&&(this._disconnectParent(),this._parent=e,e.addEventListener("pointerover",this._pointerOver),e.addEventListener("pointerout",this._pointerOut),e.addEventListener("pointerdown",this._pointerDown,!0))}_disconnectParent(){this._parent?.removeEventListener("pointerover",this._pointerOver),this._parent?.removeEventListener("pointerout",this._pointerOut),this._parent?.removeEventListener("pointerdown",this._pointerDown,!0),this._parent=void 0}_deviceFromEvent(e){for(const t of e.composedPath())if(t instanceof HTMLElement&&"device"===t.dataset.hp)return t;return null}_mouseAllowed(e){const t=this.getRootNode();return"mouse"===e.pointerType&&t.host?.hasAttribute?.("data-pointer-hover")}_clear(){this._hovered&&(this._hovered="",this.requestUpdate())}_position(e){const t=[...this._parent?.querySelectorAll(".dev[data-id]")||[]].find(t=>t.dataset.id===e);if(!t)return null;const i=Number.parseFloat(t.style.left),s=Number.parseFloat(t.style.top),o=t.getBoundingClientRect();return Number.isFinite(i)&&Number.isFinite(s)?{x:i,y:s,width:o.width,height:o.height}:null}render(){if(!this._hovered||!this.registry||!this._runtime.topologies.length)return t;const e=this._mappedMemo,n=e&&e.runtime===this._runtime&&e.devices===this.devices&&e.registry===this.registry?e.mapped:a(this._runtime.topologies,this.devices,this.registry);e&&n===e.mapped||(this._mappedMemo={runtime:this._runtime,devices:this.devices,registry:this.registry,mapped:n});const p=h(n,this.currentSpace,this._hovered),c=this._position(this._hovered);if(!c)return t;const l=p.lines.map(e=>({...e,point:this._position(e.neighborMarkerId)})).filter(e=>!!e.point);return o`
|
||||
${l.length?s`<svg viewBox="0 0 100 100" preserveAspectRatio="none"
|
||||
aria-hidden="true" data-hp="zigbee-topology-lines">
|
||||
${l.map(e=>s`<line x1=${c.x} y1=${c.y}
|
||||
@@ -0,0 +1 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";import{du as e}from"./houseplan-card-Dc6_C1GY.js";const t=new WeakMap,o=e=>{let o=t.get(e);return o||(o={painted:null,pending:null,raf:0},t.set(e,o)),o},n=e=>`${e.x} ${e.y} ${e.w} ${e.h}`;const r=e=>0===e.translateXPercent&&0===e.translateYPercent&&1===e.scaleX&&1===e.scaleY,a=e=>[e.x,e.y,e.w,e.h].every(Number.isFinite)&&e.w>0&&e.h>0,s=(e,t)=>{if(!t)return e.style.removeProperty("transform"),e.style.removeProperty("transform-origin"),void e.style.removeProperty("will-change");e.style.transformOrigin="0 0",e.style.willChange="transform",e.style.transform=`translate(${t.translateXPercent}%,${t.translateYPercent}%) scale(${t.scaleX},${t.scaleY})`};function i(e,t,o){if(!a(t.view)||!a(o.view)||!a(o.floor))return;const i=n(o.view),l=n(o.floor);for(const t of e.querySelectorAll('[data-hp-live-viewbox="camera"]'))t.setAttribute("viewBox",i);for(const t of e.querySelectorAll('[data-hp-live-viewbox="floor"]'))t.setAttribute("viewBox",l);const c=(f=t.view,u=o.view,{translateXPercent:(f.x-u.x)/u.w*100,translateYPercent:(f.y-u.y)/u.h*100,scaleX:f.w/u.w,scaleY:f.h/u.h});var f,u;for(const t of e.querySelectorAll('[data-hp-live-layer="camera"]'))s(t,r(c)?null:c);const d=e.querySelector("[data-hp-live-zoom]");if(d){d.hidden=o.zoom<=1;const e=d.querySelector("[data-hp-live-zoom-value]");e&&(e.textContent=`${Math.round(100*o.zoom)}%`)}}const l=e=>{const t=e._viewOr(e._baseVb());return{view:{...t},floor:{...e._floorView(t)},zoom:e._zoom}};const c=new WeakMap,f=(e,t,o,n)=>{if(!o)return;const r=document.createElement("span");if(r.className="m",t){r.append(`${t} `);const e=document.createElement("b");e.textContent=o,n&&(e.style.color=n),r.append(e)}else r.textContent=o;e.append(r)},u=(e,t,o)=>{const n=e.querySelector(t);n&&(n.setAttribute("d",o),n.toggleAttribute("hidden",!o))};function d(t){const o=t,n=o.renderRoot;if(!n)return;((t,o)=>{const n=o.querySelector("[data-hp-live-tip]");if(!n)return;const r=t._tip;if(!r)return n.hidden=!0,void n.replaceChildren();n.style.left=`${r.x+12}px`,n.style.top=`${r.y+12}px`,n.replaceChildren();const a=document.createElement("b");a.textContent=r.title,n.append(a),f(n,"",r.meta),f(n,t._t("tip.temp_avg"),null==r.temp?"":`${r.temp}°`),f(n,t._t("tip.hum_avg"),null==r.hum?"":`${r.hum}%`),f(n,t._t("tip.lqi"),null==r.lqi?"":String(r.lqi),null==r.lqi?void 0:e(r.lqi)),n.hidden=!1})(o,n);const r=o._hoverRoom,a=c.get(t),s=r?.space||"",i=r?.room||null;if(a?.room===i&&a?.space===s)return;c.set(t,{room:i,space:s});const l=r&&o._spaceModel(),d=l?o._roomHoverPaths(l):null;u(n,'[data-hp-live-room-hover="fill"]',d?.fillD||""),u(n,'[data-hp-live-room-hover="halo"]',d?.outlineD||""),u(n,'[data-hp-live-room-hover="outline"]',d?.outlineD||"")}function m(e){c.delete(e)}class h{constructor(e){this.host=e,this.deferredHass=!1}hass(e,t,o,n){const r=function(e,t,o){if(e===t)return"none";if(!e||!t||!o)return"structural";if(e.connection!==t.connection||e.entities!==t.entities||e.devices!==t.devices||e.areas!==t.areas||e.themes!==t.themes||e.user!==t.user||e.config!==t.config||e.floors!==t.floors||e.services!==t.services||e.panels!==t.panels||e.language!==t.language||e.locale?.language!==t.locale?.language||e.locale?.number_format!==t.locale?.number_format||e.locale?.time_format!==t.locale?.time_format||e.locale?.date_format!==t.locale?.date_format)return"structural";const n=new Set(["states","connection","entities","devices","areas","themes","user","config","floors","services","panels","language","locale"]);for(const o of new Set([...Object.keys(e),...Object.keys(t)]))if(!n.has(o)&&e[o]!==t[o])return"structural";for(const n of o.entityIds)if(e.states?.[n]!==t.states?.[n])return"state";return"none"}(e,t,o),a="state"===r&&this.active();return a&&(this.deferredHass=!0),this.host._renderLife.observe(e,t,o,n),"none"!==r&&!a}clear(){this.deferredHass=!1}take(){const e=this.deferredHass;return this.deferredHass=!1,e}viewport(){!function(e){const t=e,n=o(e);n.pending=l(t),n.raf||"function"!=typeof requestAnimationFrame||(n.raf=requestAnimationFrame(()=>{n.raf=0;const e=n.pending;n.pending=null;const o=t.renderRoot;e&&o&&(n.painted||(n.painted=e),i(o,n.painted,e))}))}(this.host)}hover(){d(this.host)}active(){const e=this.host;return e._pointers.size>0||e._cameraTransition.active||!!e._deviceDrag||!!e._physicalDrag||!!e._physicalRotate||!!e._decorMove||!!e._decorDraft||!!e._dtDrag||!!e._bdDrag||!!e._opDrag||!!e._resize?.dragging}commit(){!function(e){const t=e,n=o(e);n.raf&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n.raf),n.raf=0,n.pending=null,n.painted=l(t);const r=t.renderRoot;if(r){for(const e of r.querySelectorAll('[data-hp-live-layer="camera"]'))s(e,null);i(r,n.painted,n.painted)}}(this.host),m(this.host),d(this.host)}dispose(){!function(e){const o=t.get(e);o?.raf&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(o.raf),t.delete(e)}(this.host),m(this.host)}}export{h as LiveRuntime};
|
||||
@@ -1 +0,0 @@
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";import{du as e}from"./houseplan-card-DWJtraIS.js";const t=new WeakMap,o=e=>{let o=t.get(e);return o||(o={painted:null,pending:null,raf:0},t.set(e,o)),o},r=e=>`${e.x} ${e.y} ${e.w} ${e.h}`;const n=e=>[e.x,e.y,e.w,e.h].every(Number.isFinite)&&e.w>0&&e.h>0,a=(e,t)=>{if(!t)return e.style.removeProperty("transform"),e.style.removeProperty("transform-origin"),void e.style.removeProperty("will-change");e.style.transformOrigin="0 0",e.style.willChange="transform",e.style.transform=`translate(${t.translateXPercent}%,${t.translateYPercent}%) scale(${t.scaleX},${t.scaleY})`};function s(e,t,o){if(!n(t.view)||!n(o.view)||!n(o.floor))return;const s=r(o.view),i=r(o.floor);for(const t of e.querySelectorAll('[data-hp-live-viewbox="camera"]'))t.setAttribute("viewBox",s);for(const t of e.querySelectorAll('[data-hp-live-viewbox="floor"]'))t.setAttribute("viewBox",i);const l=(c=t.view,f=o.view,{translateXPercent:(c.x-f.x)/f.w*100,translateYPercent:(c.y-f.y)/f.h*100,scaleX:c.w/f.w,scaleY:c.h/f.h});var c,f;for(const t of e.querySelectorAll('[data-hp-live-layer="camera"]'))a(t,l);const u=e.querySelector("[data-hp-live-zoom]");if(u){u.hidden=o.zoom<=1;const e=u.querySelector("[data-hp-live-zoom-value]");e&&(e.textContent=`${Math.round(100*o.zoom)}%`)}}const i=e=>{const t=e._viewOr(e._baseVb());return{view:{...t},floor:{...e._floorView(t)},zoom:e._zoom}};const l=new WeakMap,c=(e,t,o,r)=>{if(!o)return;const n=document.createElement("span");if(n.className="m",t){n.append(`${t} `);const e=document.createElement("b");e.textContent=o,r&&(e.style.color=r),n.append(e)}else n.textContent=o;e.append(n)},f=(e,t,o)=>{const r=e.querySelector(t);r&&(r.setAttribute("d",o),r.toggleAttribute("hidden",!o))};function u(t){const o=t,r=o.renderRoot;if(!r)return;((t,o)=>{const r=o.querySelector("[data-hp-live-tip]");if(!r)return;const n=t._tip;if(!n)return r.hidden=!0,void r.replaceChildren();r.style.left=`${n.x+12}px`,r.style.top=`${n.y+12}px`,r.replaceChildren();const a=document.createElement("b");a.textContent=n.title,r.append(a),c(r,"",n.meta),c(r,t._t("tip.temp_avg"),null==n.temp?"":`${n.temp}°`),c(r,t._t("tip.hum_avg"),null==n.hum?"":`${n.hum}%`),c(r,t._t("tip.lqi"),null==n.lqi?"":String(n.lqi),null==n.lqi?void 0:e(n.lqi)),r.hidden=!1})(o,r);const n=o._hoverRoom,a=l.get(t),s=n?.space||"",i=n?.room||null;if(a?.room===i&&a?.space===s)return;l.set(t,{room:i,space:s});const u=n&&o._spaceModel(),d=u?o._roomHoverPaths(u):null;f(r,'[data-hp-live-room-hover="fill"]',d?.fillD||""),f(r,'[data-hp-live-room-hover="halo"]',d?.outlineD||""),f(r,'[data-hp-live-room-hover="outline"]',d?.outlineD||"")}function d(e){l.delete(e)}class m{constructor(e){this.host=e,this.deferredHass=!1}hass(e,t,o,r){const n=function(e,t,o){if(e===t)return"none";if(!e||!t||!o)return"structural";if(e.connection!==t.connection||e.entities!==t.entities||e.devices!==t.devices||e.areas!==t.areas||e.themes!==t.themes||e.user!==t.user||e.config!==t.config||e.floors!==t.floors||e.services!==t.services||e.panels!==t.panels||e.language!==t.language||e.locale?.language!==t.locale?.language||e.locale?.number_format!==t.locale?.number_format||e.locale?.time_format!==t.locale?.time_format||e.locale?.date_format!==t.locale?.date_format)return"structural";const r=new Set(["states","connection","entities","devices","areas","themes","user","config","floors","services","panels","language","locale"]);for(const o of new Set([...Object.keys(e),...Object.keys(t)]))if(!r.has(o)&&e[o]!==t[o])return"structural";for(const r of o.entityIds)if(e.states?.[r]!==t.states?.[r])return"state";return"none"}(e,t,o),a="state"===n&&this.active();return a&&(this.deferredHass=!0),this.host._renderLife.observe(e,t,o,r),"none"!==n&&!a}clear(){this.deferredHass=!1}take(){const e=this.deferredHass;return this.deferredHass=!1,e}viewport(){!function(e){const t=e,r=o(e);r.pending=i(t),r.raf||"function"!=typeof requestAnimationFrame||(r.raf=requestAnimationFrame(()=>{r.raf=0;const e=r.pending;r.pending=null;const o=t.renderRoot;e&&o&&(r.painted||(r.painted=e),s(o,r.painted,e))}))}(this.host)}hover(){u(this.host)}active(){const e=this.host;return e._pointers.size>0||e._cameraTransition.active||!!e._deviceDrag||!!e._physicalDrag||!!e._physicalRotate||!!e._decorMove||!!e._decorDraft||!!e._dtDrag||!!e._bdDrag||!!e._opDrag||!!e._resize?.dragging}commit(){!function(e){const t=e,r=o(e);r.raf&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r.raf),r.raf=0,r.pending=null,r.painted=i(t);const n=t.renderRoot;if(n){for(const e of n.querySelectorAll('[data-hp-live-layer="camera"]'))a(e,null);s(n,r.painted,r.painted)}}(this.host),d(this.host),u(this.host)}dispose(){!function(e){const o=t.get(e);o?.raf&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(o.raf),t.delete(e)}(this.host),d(this.host)}}export{m as LiveRuntime};
|
||||
+4
File diff suppressed because one or more lines are too long
+4
@@ -1,3 +1,4 @@
|
||||
<<<<<<< HEAD:dist/houseplan-assets/zigbee-topology-runtime-B7_gFefR.js
|
||||
<<<<<<< HEAD:dist/houseplan-assets/zigbee-topology-runtime-BWmFmXEu.js
|
||||
<<<<<<<< HEAD:dist/houseplan-assets/zigbee-topology-runtime-DNuifEaQ.js
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="ae7c8e5f4037f7411ca44d300e7144531a4d1459ed32af8cb65818605449bfea";import{n as t,b as n}from"./zigbee-topology-rDtALgJu.js";import{y as e}from"./houseplan-card-BSrM0Lhk.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function p(t){if(!0!==t?.user?.is_admin)throw a("permission")}function f(n){const e=i(n);return e?c(e,"zha",async()=>{if(p(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(p(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,f=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{f=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const p=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&f?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof p&&b.push(p),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{f as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
@@ -7,3 +8,6 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="9cc5ce6d3f552668321875d6bbd7d4dea32b
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";import{n as t,b as n}from"./zigbee-topology-CgmzeuiK.js";import{z as e}from"./houseplan-card-DWJtraIS.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates):dist/houseplan-assets/zigbee-topology-runtime-B7_gFefR.js
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";import{n as t,b as n}from"./zigbee-topology-BPD7cM0g.js";import{z as e}from"./houseplan-card-Dc6_C1GY.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing):dist/houseplan-assets/zigbee-topology-runtime-BIQaz34m.js
|
||||
Vendored
+4
@@ -1,5 +1,6 @@
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="ae7c8e5f4037f7411ca44d300e7144531a4d1459ed32af8cb65818605449bfea";try{await import("./houseplan-assets/houseplan-card-BSrM0Lhk.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="9cc5ce6d3f552668321875d6bbd7d4dea32b2ae365030a354e6d7910313c1f5d";try{await import("./houseplan-assets/houseplan-card-7FEkn7sJ.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
@@ -7,3 +8,6 @@ globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="9cc5ce6d3f552668321875d6bbd7d4dea32b
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="e41a5310d5f3fc04fbdfd0262a5176efe9ef37bfccec822ba8fe61abce72cfb2";try{await import("./houseplan-assets/houseplan-card-DWJtraIS.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
>>>>>>> 5ef300b8 (fix: satisfy render performance validation gates)
|
||||
=======
|
||||
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="c7dfd3e006eea5eee4423a8f33e89f71c11e8f34de9a6e05891f767097d7ff5d";try{await import("./houseplan-assets/houseplan-card-Dc6_C1GY.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}
|
||||
>>>>>>> c62e9a7e (fix: clear settled viewport compositing)
|
||||
|
||||
+10
-1
@@ -58,6 +58,12 @@ export function liveLayerProjection(
|
||||
};
|
||||
}
|
||||
|
||||
export const isIdentityLiveLayerProjection = (projection: LiveLayerProjection): boolean =>
|
||||
projection.translateXPercent === 0
|
||||
&& projection.translateYPercent === 0
|
||||
&& projection.scaleX === 1
|
||||
&& projection.scaleY === 1;
|
||||
|
||||
const finiteView = (view: LiveViewBox): boolean =>
|
||||
[view.x, view.y, view.w, view.h].every(Number.isFinite) && view.w > 0 && view.h > 0;
|
||||
|
||||
@@ -93,7 +99,10 @@ export function paintLiveViewport(
|
||||
}
|
||||
const projection = liveLayerProjection(painted.view, current.view);
|
||||
for (const layer of root.querySelectorAll<HTMLElement>('[data-hp-live-layer="camera"]')) {
|
||||
setLayerProjection(layer, projection);
|
||||
// Keeping an identity transform after terminal reconciliation changes the
|
||||
// browser compositing path and therefore the settled raster by a few colour
|
||||
// levels. The fast path must leave byte-equivalent DOM/CSS when it is idle.
|
||||
setLayerProjection(layer, isIdentityLiveLayerProjection(projection) ? null : projection);
|
||||
}
|
||||
const badge = root.querySelector<HTMLElement>('[data-hp-live-zoom]');
|
||||
if (badge) {
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
|
||||
import { liveLayerProjection, liveViewBoxText } from '../test-build/live-viewport.js';
|
||||
import {
|
||||
isIdentityLiveLayerProjection,
|
||||
liveLayerProjection,
|
||||
liveViewBoxText,
|
||||
} from '../test-build/live-viewport.js';
|
||||
|
||||
test('live viewport projects pan and zoom from the last complete frame', () => {
|
||||
assert.deepEqual(
|
||||
@@ -16,3 +20,12 @@ test('live viewport projects pan and zoom from the last complete frame', () => {
|
||||
test('live viewport serializes one exact SVG camera box', () => {
|
||||
assert.equal(liveViewBoxText({ x: -12.5, y: 4, w: 800, h: 450 }), '-12.5 4 800 450');
|
||||
});
|
||||
|
||||
test('a settled live viewport removes its compositor transform', () => {
|
||||
const settled = { x: 17.25, y: -4, w: 800, h: 450 };
|
||||
assert.equal(isIdentityLiveLayerProjection(liveLayerProjection(settled, settled)), true);
|
||||
assert.equal(isIdentityLiveLayerProjection(liveLayerProjection(
|
||||
settled,
|
||||
{ ...settled, x: settled.x + 0.001 },
|
||||
)), false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user