@matter-server/dashboard 1.3.3 → 1.4.0-alpha.0-20260802-ac0d816
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/client/models/descriptions.d.ts.map +1 -1
- package/dist/esm/client/models/descriptions.js +67 -62
- package/dist/esm/client/models/descriptions.js.map +1 -1
- package/dist/esm/components/avsum-ptz-strip.d.ts.map +1 -1
- package/dist/esm/components/avsum-ptz-strip.js +75 -75
- package/dist/esm/components/avsum-ptz-strip.js.map +1 -1
- package/dist/esm/components/dialog-box/dialog-box.d.ts.map +1 -1
- package/dist/esm/components/dialog-box/dialog-box.js +6 -4
- package/dist/esm/components/dialog-box/dialog-box.js.map +1 -1
- package/dist/esm/components/dialogs/acl/acl-actions.d.ts.map +1 -1
- package/dist/esm/components/dialogs/acl/acl-actions.js +11 -4
- package/dist/esm/components/dialogs/acl/acl-actions.js.map +1 -1
- package/dist/esm/components/dialogs/acl/node-acl-add-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/acl/node-acl-add-dialog.js +15 -15
- package/dist/esm/components/dialogs/acl/node-acl-add-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/binding/binding-actions.d.ts +8 -3
- package/dist/esm/components/dialogs/binding/binding-actions.d.ts.map +1 -1
- package/dist/esm/components/dialogs/binding/binding-actions.js +45 -11
- package/dist/esm/components/dialogs/binding/binding-actions.js.map +1 -1
- package/dist/esm/components/dialogs/binding/node-binding-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/binding/node-binding-dialog.js +37 -37
- package/dist/esm/components/dialogs/binding/node-binding-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-dialog.js +16 -16
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-thread.d.ts.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-thread.js +13 -13
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-thread.js.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-wifi.d.ts.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-wifi.js +13 -13
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-wifi.js.map +1 -1
- package/dist/esm/components/dialogs/dev/attribute-write-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/dev/attribute-write-dialog.js +5 -1
- package/dist/esm/components/dialogs/dev/attribute-write-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/dev/command-invoke-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/dev/command-invoke-dialog.js +3 -3
- package/dist/esm/components/dialogs/dev/command-invoke-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/settings/log-level-section.d.ts.map +1 -1
- package/dist/esm/components/dialogs/settings/log-level-section.js +14 -14
- package/dist/esm/components/dialogs/settings/log-level-section.js.map +1 -1
- package/dist/esm/components/dialogs/settings/settings-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/settings/settings-dialog.js +83 -81
- package/dist/esm/components/dialogs/settings/settings-dialog.js.map +1 -1
- package/dist/esm/components/webrtc-stream-view.d.ts.map +1 -1
- package/dist/esm/components/webrtc-stream-view.js +11 -11
- package/dist/esm/components/webrtc-stream-view.js.map +1 -1
- package/dist/esm/pages/camera-overlay.d.ts.map +1 -1
- package/dist/esm/pages/camera-overlay.js +90 -87
- package/dist/esm/pages/camera-overlay.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/access-control-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/access-control-commands.js +32 -28
- package/dist/esm/pages/cluster-commands/clusters/access-control-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/avsum-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/avsum-commands.js +130 -129
- package/dist/esm/pages/cluster-commands/clusters/avsum-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/basic-information-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/basic-information-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/binding-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/binding-commands.js +32 -30
- package/dist/esm/pages/cluster-commands/clusters/binding-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/chime-commands.d.ts +5 -0
- package/dist/esm/pages/cluster-commands/clusters/chime-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/chime-commands.js +45 -24
- package/dist/esm/pages/cluster-commands/clusters/chime-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/closure-control-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/closure-control-commands.js +79 -79
- package/dist/esm/pages/cluster-commands/clusters/closure-control-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.js +27 -20
- package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.js.map +1 -1
- package/dist/esm/pages/components/header.d.ts.map +1 -1
- package/dist/esm/pages/components/header.js +32 -32
- package/dist/esm/pages/components/header.js.map +1 -1
- package/dist/esm/pages/components/node-details.d.ts.map +1 -1
- package/dist/esm/pages/components/node-details.js +43 -42
- package/dist/esm/pages/components/node-details.js.map +1 -1
- package/dist/esm/pages/matter-cluster-view.d.ts +3 -0
- package/dist/esm/pages/matter-cluster-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-cluster-view.js +105 -90
- package/dist/esm/pages/matter-cluster-view.js.map +1 -1
- package/dist/esm/pages/matter-endpoint-view.d.ts +3 -2
- package/dist/esm/pages/matter-endpoint-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-endpoint-view.js +65 -20
- package/dist/esm/pages/matter-endpoint-view.js.map +1 -1
- package/dist/esm/pages/matter-network-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-network-view.js +20 -20
- package/dist/esm/pages/matter-network-view.js.map +1 -1
- package/dist/esm/pages/matter-node-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-node-view.js +9 -5
- package/dist/esm/pages/matter-node-view.js.map +1 -1
- package/dist/esm/pages/matter-server-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-server-view.js +6 -6
- package/dist/esm/pages/matter-server-view.js.map +1 -1
- package/dist/esm/pages/network/device-panel.d.ts.map +1 -1
- package/dist/esm/pages/network/device-panel.js +10 -10
- package/dist/esm/pages/network/device-panel.js.map +1 -1
- package/dist/esm/pages/network/network-details.d.ts.map +1 -1
- package/dist/esm/pages/network/network-details.js +384 -382
- package/dist/esm/pages/network/network-details.js.map +1 -1
- package/dist/esm/pages/network/thread-graph.d.ts.map +1 -1
- package/dist/esm/pages/network/thread-graph.js.map +1 -1
- package/dist/esm/pages/network/update-connections-dialog.d.ts.map +1 -1
- package/dist/esm/pages/network/update-connections-dialog.js +30 -30
- package/dist/esm/pages/network/update-connections-dialog.js.map +1 -1
- package/dist/esm/util/binding.d.ts +18 -0
- package/dist/esm/util/binding.d.ts.map +1 -1
- package/dist/esm/util/binding.js +28 -6
- package/dist/esm/util/binding.js.map +1 -1
- package/dist/esm/util/chime.d.ts.map +1 -1
- package/dist/esm/util/chime.js +9 -2
- package/dist/esm/util/chime.js.map +1 -1
- package/dist/esm/util/icd.d.ts +6 -2
- package/dist/esm/util/icd.d.ts.map +1 -1
- package/dist/esm/util/icd.js +6 -6
- package/dist/esm/util/icd.js.map +1 -1
- package/dist/esm/util/matter-status.d.ts +11 -0
- package/dist/esm/util/matter-status.d.ts.map +1 -1
- package/dist/esm/util/matter-status.js +16 -0
- package/dist/esm/util/matter-status.js.map +1 -1
- package/dist/esm/util/node-label.d.ts +1 -1
- package/dist/esm/util/node-label.d.ts.map +1 -1
- package/dist/esm/util/node-label.js +6 -2
- package/dist/esm/util/node-label.js.map +1 -1
- package/dist/esm/util/shared-styles.d.ts +2 -0
- package/dist/esm/util/shared-styles.d.ts.map +1 -1
- package/dist/esm/util/shared-styles.js +38 -0
- package/dist/esm/util/shared-styles.js.map +1 -1
- package/dist/web/index.html +1 -0
- package/dist/web/js/{attribute-write-dialog-Dfm95ZtQ.js → attribute-write-dialog-lNuCZ3k9.js} +2 -2
- package/dist/web/js/{command-invoke-dialog-DrORSE5f.js → command-invoke-dialog-BsvOYKuy.js} +4 -4
- package/dist/web/js/{commission-node-dialog-Wjb4chGv.js → commission-node-dialog-BHdEFbdo.js} +21 -21
- package/dist/web/js/{commission-node-existing-Ykm-eejQ.js → commission-node-existing-DHnKVo6U.js} +1 -1
- package/dist/web/js/{commission-node-thread-DacHGwnB.js → commission-node-thread-Cj3toV8W.js} +14 -14
- package/dist/web/js/{commission-node-wifi-CEKp93HM.js → commission-node-wifi-BdAS2Vof.js} +14 -14
- package/dist/web/js/{dialog-box-DEKE_ZlH.js → dialog-box-DQV4kYxU.js} +7 -5
- package/dist/web/js/{fabric-label-dialog-CcMZOA7F.js → fabric-label-dialog-Be5bxfzQ.js} +1 -1
- package/dist/web/js/main.js +1 -1
- package/dist/web/js/{matter-dashboard-app-CEG7MSLx.js → matter-dashboard-app-B186DbKC.js} +1494 -1209
- package/dist/web/js/{node-acl-add-dialog-BDM3Rcou.js → node-acl-add-dialog-D4ZLnora.js} +16 -16
- package/dist/web/js/{node-binding-dialog-CYsbUPsh.js → node-binding-dialog-MGTLF9MJ.js} +38 -38
- package/dist/web/js/{node-label-dialog-DFIMPMuJ.js → node-label-dialog-DgbTIGwf.js} +1 -1
- package/dist/web/js/{settings-dialog-CGXliJcr.js → settings-dialog-BQJbHl4j.js} +98 -96
- package/package.json +3 -3
- package/src/client/models/descriptions.ts +67 -62
- package/src/components/avsum-ptz-strip.ts +109 -100
- package/src/components/dialog-box/dialog-box.ts +20 -12
- package/src/components/dialogs/acl/acl-actions.ts +15 -6
- package/src/components/dialogs/acl/node-acl-add-dialog.ts +35 -29
- package/src/components/dialogs/binding/binding-actions.ts +58 -15
- package/src/components/dialogs/binding/node-binding-dialog.ts +78 -66
- package/src/components/dialogs/commission-node-dialog/commission-node-dialog.ts +25 -23
- package/src/components/dialogs/commission-node-dialog/commission-node-thread.ts +22 -20
- package/src/components/dialogs/commission-node-dialog/commission-node-wifi.ts +22 -20
- package/src/components/dialogs/dev/attribute-write-dialog.ts +10 -4
- package/src/components/dialogs/dev/command-invoke-dialog.ts +13 -9
- package/src/components/dialogs/settings/log-level-section.ts +21 -19
- package/src/components/dialogs/settings/settings-dialog.ts +141 -115
- package/src/components/webrtc-stream-view.ts +30 -22
- package/src/pages/camera-overlay.ts +165 -132
- package/src/pages/cluster-commands/clusters/access-control-commands.ts +47 -37
- package/src/pages/cluster-commands/clusters/avsum-commands.ts +210 -187
- package/src/pages/cluster-commands/clusters/basic-information-commands.ts +5 -3
- package/src/pages/cluster-commands/clusters/binding-commands.ts +40 -36
- package/src/pages/cluster-commands/clusters/chime-commands.ts +84 -52
- package/src/pages/cluster-commands/clusters/closure-control-commands.ts +171 -139
- package/src/pages/cluster-commands/clusters/icd-management-commands.ts +51 -34
- package/src/pages/components/header.ts +62 -50
- package/src/pages/components/node-details.ts +87 -72
- package/src/pages/matter-cluster-view.ts +154 -121
- package/src/pages/matter-endpoint-view.ts +76 -25
- package/src/pages/matter-network-view.ts +36 -30
- package/src/pages/matter-node-view.ts +14 -8
- package/src/pages/matter-server-view.ts +11 -9
- package/src/pages/network/device-panel.ts +20 -18
- package/src/pages/network/network-details.ts +758 -618
- package/src/pages/network/thread-graph.ts +5 -3
- package/src/pages/network/update-connections-dialog.ts +64 -52
- package/src/util/binding.ts +42 -6
- package/src/util/chime.ts +9 -2
- package/src/util/icd.ts +12 -8
- package/src/util/matter-status.ts +26 -0
- package/src/util/node-label.ts +6 -2
- package/src/util/shared-styles.ts +39 -0
|
@@ -832,7 +832,7 @@ function c$5({
|
|
|
832
832
|
}
|
|
833
833
|
|
|
834
834
|
// Material Design Icons v7.4.47
|
|
835
|
-
var mdiAccessPoint="M4.93,4.93C3.12,6.74 2,9.24 2,12C2,14.76 3.12,17.26 4.93,19.07L6.34,17.66C4.89,16.22 4,14.22 4,12C4,9.79 4.89,7.78 6.34,6.34L4.93,4.93M19.07,4.93L17.66,6.34C19.11,7.78 20,9.79 20,12C20,14.22 19.11,16.22 17.66,17.66L19.07,19.07C20.88,17.26 22,14.76 22,12C22,9.24 20.88,6.74 19.07,4.93M7.76,7.76C6.67,8.85 6,10.35 6,12C6,13.65 6.67,15.15 7.76,16.24L9.17,14.83C8.45,14.11 8,13.11 8,12C8,10.89 8.45,9.89 9.17,9.17L7.76,7.76M16.24,7.76L14.83,9.17C15.55,9.89 16,10.89 16,12C16,13.11 15.55,14.11 14.83,14.83L16.24,16.24C17.33,15.15 18,13.65 18,12C18,10.35 17.33,8.85 16.24,7.76M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z";var mdiAirConditioner="M6.59,0.66C8.93,-1.15 11.47,1.06 12.04,4.5C12.47,4.5 12.89,4.62 13.27,4.84C13.79,4.24 14.25,3.42 14.07,2.5C13.65,0.35 16.06,-1.39 18.35,1.58C20.16,3.92 17.95,6.46 14.5,7.03C14.5,7.46 14.39,7.89 14.16,8.27C14.76,8.78 15.58,9.24 16.5,9.06C18.63,8.64 20.38,11.04 17.41,13.34C15.07,15.15 12.53,12.94 11.96,9.5C11.53,9.5 11.11,9.37 10.74,9.15C10.22,9.75 9.75,10.58 9.93,11.5C10.35,13.64 7.94,15.39 5.65,12.42C3.83,10.07 6.05,7.53 9.5,6.97C9.5,6.54 9.63,6.12 9.85,5.74C9.25,5.23 8.43,4.76 7.5,4.94C5.37,5.36 3.62,2.96 6.59,0.66M5,16H7A2,2 0 0,1 9,18V24H7V22H5V24H3V18A2,2 0 0,1 5,16M5,18V20H7V18H5M12.93,16H15L12.07,24H10L12.93,16M18,16H21V18H18V22H21V24H18A2,2 0 0,1 16,22V18A2,2 0 0,1 18,16Z";var mdiAirFilter="M19,18.31V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V16.3C4.54,16.12 3.95,16 3,16A1,1 0 0,1 2,15A1,1 0 0,1 3,14C3.82,14 4.47,14.08 5,14.21V12.3C4.54,12.12 3.95,12 3,12A1,1 0 0,1 2,11A1,1 0 0,1 3,10C3.82,10 4.47,10.08 5,10.21V8.3C4.54,8.12 3.95,8 3,8A1,1 0 0,1 2,7A1,1 0 0,1 3,6C3.82,6 4.47,6.08 5,6.21V4A2,2 0 0,1 7,2H17A2,2 0 0,1 19,4V6.16C20.78,6.47 21.54,7.13 21.71,7.29C22.1,7.68 22.1,8.32 21.71,8.71C21.32,9.1 20.8,9.09 20.29,8.71V8.71C20.29,8.71 19.25,8 17,8C15.74,8 14.91,8.41 13.95,8.9C12.91,9.41 11.74,10 10,10C9.64,10 9.31,10 9,9.96V7.95C9.3,8 9.63,8 10,8C11.26,8 12.09,7.59 13.05,7.11C14.09,6.59 15.27,6 17,6V4H7V20H17V18C18.5,18 18.97,18.29 19,18.31M17,10C15.27,10 14.09,10.59 13.05,11.11C12.09,11.59 11.26,12 10,12C9.63,12 9.3,12 9,11.95V13.96C9.31,14 9.64,14 10,14C11.74,14 12.91,13.41 13.95,12.9C14.91,12.42 15.74,12 17,12C19.25,12 20.29,12.71 20.29,12.71V12.71C20.8,13.1 21.32,13.1 21.71,12.71C22.1,12.32 22.1,11.69 21.71,11.29C21.5,11.08 20.25,10 17,10M17,14C15.27,14 14.09,14.59 13.05,15.11C12.09,15.59 11.26,16 10,16C9.63,16 9.3,16 9,15.95V17.96C9.31,18 9.64,18 10,18C11.74,18 12.91,17.41 13.95,16.9C14.91,16.42 15.74,16 17,16C19.25,16 20.29,16.71 20.29,16.71V16.71C20.8,17.1 21.32,17.1 21.71,16.71C22.1,16.32 22.1,15.69 21.71,15.29C21.5,15.08 20.25,14 17,14Z";var mdiAirPurifier="M11,9A4,4 0 0,1 15,13A4,4 0 0,1 11,17A4,4 0 0,1 7,13A4,4 0 0,1 11,9M11,11A2,2 0 0,0 9,13A2,2 0 0,0 11,15A2,2 0 0,0 13,13A2,2 0 0,0 11,11M7,4H14A4,4 0 0,1 18,8V9H16V8A2,2 0 0,0 14,6H7A2,2 0 0,0 5,8V20H16V18H18V22H3V8A4,4 0 0,1 7,4M16,11C18.5,11 18.5,9 21,9V11C18.5,11 18.5,13 16,13V11M16,15C18.5,15 18.5,13 21,13V15C18.5,15 18.5,17 16,17V15Z";var mdiAlert="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z";var mdiAlertCircle="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";var mdiAlertCircleOutline="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z";var mdiArrowDown="M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z";var mdiArrowLeft="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z";var mdiArrowRight="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z";var mdiArrowUp="M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z";var mdiBell="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21";var mdiBlindsHorizontal="M20 19V3H4V19H2V21H22V19H20M16 9H18V11H16V9M14 11H6V9H14V11M18 7H16V5H18V7M14 5V7H6V5H14M6 19V13H14V14.82C13.55 15.14 13.25 15.66 13.25 16.25C13.25 17.22 14.03 18 15 18S16.75 17.22 16.75 16.25C16.75 15.66 16.45 15.13 16 14.82V13H18V19H6Z";var mdiBrightnessAuto="M14.3,16L13.6,14H10.4L9.7,16H7.8L11,7H13L16.2,16H14.3M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69M10.85,12.65H13.15L12,9L10.85,12.65Z";var mdiBrightnessPercent="M20.04,8.71V4H15.34L12,0.69L8.71,4H4V8.71L0.69,12L4,15.34V20.04H8.71L12,23.35L15.34,20.04H20.04V15.34L23.35,12L20.04,8.71M8.83,7.05C9.81,7.05 10.6,7.84 10.6,8.83A1.77,1.77 0 0,1 8.83,10.6C7.84,10.6 7.05,9.81 7.05,8.83C7.05,7.84 7.84,7.05 8.83,7.05M15.22,17C14.24,17 13.45,16.2 13.45,15.22A1.77,1.77 0 0,1 15.22,13.45C16.2,13.45 17,14.24 17,15.22A1.78,1.78 0 0,1 15.22,17M8.5,17.03L7,15.53L15.53,7L17.03,8.5L8.5,17.03Z";var mdiCamera="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z";var mdiCast="M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z";var mdiCctv="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z";var mdiChatProcessing="M12,3C17.5,3 22,6.58 22,11C22,15.42 17.5,19 12,19C10.76,19 9.57,18.82 8.47,18.5C5.55,21 2,21 2,21C4.33,18.67 4.7,17.1 4.75,16.5C3.05,15.07 2,13.13 2,11C2,6.58 6.5,3 12,3M17,12V10H15V12H17M13,12V10H11V12H13M9,12V10H7V12H9Z";var mdiChevronDown="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z";var mdiChevronRight="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";var mdiChip="M6,4H18V5H21V7H18V9H21V11H18V13H21V15H18V17H21V19H18V20H6V19H3V17H6V15H3V13H6V11H3V9H6V7H3V5H6V4M11,15V18H12V15H11M13,15V18H14V15H13M15,15V18H16V15H15Z";var mdiCircleMedium="M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z";var mdiClose="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";var mdiCog="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z";var mdiCogRefresh="M18 14.5C19.1 14.5 20.1 14.9 20.8 15.7L22 14.5V18.5H18L19.8 16.7C19.3 16.3 18.7 16 18 16C16.6 16 15.5 17.1 15.5 18.5S16.6 21 18 21C18.8 21 19.5 20.6 20 20H21.7C21.1 21.5 19.7 22.5 18 22.5C15.8 22.5 14 20.7 14 18.5S15.8 14.5 18 14.5M11.5 18.5C11.5 17.4 11.8 16.4 12.2 15.5H12C10.1 15.5 8.5 13.9 8.5 12S10.1 8.5 12 8.5 15.5 10.1 15.5 12C15.5 12.2 15.5 12.4 15.4 12.5C16.2 12.2 17 12 18 12C18.5 12 19 12.1 19.5 12.2V12C19.5 11.7 19.5 11.3 19.4 11L21.5 9.4C21.7 9.2 21.7 9 21.6 8.8L19.6 5.3C19.5 5 19.3 5 19 5L16.5 6C16 5.6 15.4 5.3 14.8 5L14.4 2.3C14.5 2.2 14.2 2 14 2H10C9.8 2 9.5 2.2 9.5 2.4L9.1 5.1C8.5 5.3 8 5.7 7.4 6L5 5C4.7 5 4.5 5 4.3 5.3L2.3 8.8C2.2 9 2.3 9.2 2.5 9.4L4.6 11C4.6 11.3 4.5 11.7 4.5 12S4.5 12.7 4.6 13L2.5 14.7C2.3 14.9 2.3 15.1 2.4 15.3L4.4 18.8C4.5 19 4.7 19 5 19L7.5 18C8 18.4 8.6 18.7 9.2 19L9.6 21.7C9.6 21.9 9.8 22.1 10.1 22.1H12.6C11.9 21 11.5 19.8 11.5 18.5Z";var mdiContentSaveOutline="M17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V7L17 3M19 19H5V5H16.17L19 7.83V19M12 12C10.34 12 9 13.34 9 15S10.34 18 12 18 15 16.66 15 15 13.66 12 12 12M6 6H15V10H6V6Z";var mdiCrown="M5 16L3 5L8.5 10L12 4L15.5 10L21 5L19 16H5M19 19C19 19.6 18.6 20 18 20H6C5.4 20 5 19.6 5 19V18H19V19Z";var mdiDelete="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z";var mdiDishwasher="M18,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2M10,4A1,1 0 0,1 11,5A1,1 0 0,1 10,6A1,1 0 0,1 9,5A1,1 0 0,1 10,4M7,4A1,1 0 0,1 8,5A1,1 0 0,1 7,6A1,1 0 0,1 6,5A1,1 0 0,1 7,4M18,20H6V8H18V20M14.67,15.33C14.69,16.03 14.41,16.71 13.91,17.21C12.86,18.26 11.15,18.27 10.09,17.21C9.59,16.71 9.31,16.03 9.33,15.33C9.4,14.62 9.63,13.94 10,13.33C10.37,12.5 10.81,11.73 11.33,11L12,10C13.79,12.59 14.67,14.36 14.67,15.33";var mdiDoorOpen="M12,3C10.89,3 10,3.89 10,5H3V19H2V21H22V19H21V5C21,3.89 20.11,3 19,3H12M12,5H19V19H12V5M5,11H7V13H5V11Z";var mdiDoorbell="M12 10C10.9 10 10 10.9 10 12S10.9 14 12 14 14 13.1 14 12 13.1 10 12 10M16 2H8C6.9 2 6 2.9 6 4V20C6 21.1 6.9 22 8 22H16C17.1 22 18 21.1 18 20V4C18 2.9 17.1 2 16 2M16 20H8V4H16V20Z";var mdiDoorbellVideo="M14 15C14 16.11 13.11 17 12 17S10 16.11 10 15 10.9 13 12 13 14 13.9 14 15M18 4V20C18 21.1 17.11 22 16 22H8C6.9 22 6 21.11 6 20V4C6 2.9 6.9 2 8 2H16C17.11 2 18 2.9 18 4M10.5 7C10.5 7.83 11.17 8.5 12 8.5S13.5 7.83 13.5 7 12.83 5.5 12 5.5 10.5 6.17 10.5 7M16 10H8V20H16V10Z";var mdiEthernet="M7,15H9V18H11V15H13V18H15V15H17V18H19V9H15V6H9V9H5V18H7V15M4.38,3H19.63C20.94,3 22,4.06 22,5.38V19.63A2.37,2.37 0 0,1 19.63,22H4.38C3.06,22 2,20.94 2,19.63V5.38C2,4.06 3.06,3 4.38,3Z";var mdiEvStation="M19.77,7.23L19.78,7.22L16.06,3.5L15,4.56L17.11,6.67C16.17,7.03 15.5,7.93 15.5,9A2.5,2.5 0 0,0 18,11.5C18.36,11.5 18.69,11.42 19,11.29V18.5A1,1 0 0,1 18,19.5A1,1 0 0,1 17,18.5V14A2,2 0 0,0 15,12H14V5A2,2 0 0,0 12,3H6A2,2 0 0,0 4,5V21H14V13.5H15.5V18.5A2.5,2.5 0 0,0 18,21A2.5,2.5 0 0,0 20.5,18.5V9C20.5,8.31 20.22,7.68 19.77,7.23M18,10A1,1 0 0,1 17,9A1,1 0 0,1 18,8A1,1 0 0,1 19,9A1,1 0 0,1 18,10M8,18V13.5H6L10,6V11H12L8,18Z";var mdiEye="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z";var mdiEyeOff="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z";var mdiFan="M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12.5,2C17,2 17.11,5.57 14.75,6.75C13.76,7.24 13.32,8.29 13.13,9.22C13.61,9.42 14.03,9.73 14.35,10.13C18.05,8.13 22.03,8.92 22.03,12.5C22.03,17 18.46,17.1 17.28,14.73C16.78,13.74 15.72,13.3 14.79,13.11C14.59,13.59 14.28,14 13.88,14.34C15.87,18.03 15.08,22 11.5,22C7,22 6.91,18.42 9.27,17.24C10.25,16.75 10.69,15.71 10.89,14.79C10.4,14.59 9.97,14.27 9.65,13.87C5.96,15.85 2,15.07 2,11.5C2,7 5.56,6.89 6.74,9.26C7.24,10.25 8.29,10.68 9.22,10.87C9.41,10.39 9.73,9.97 10.14,9.65C8.15,5.96 8.94,2 12.5,2Z";var mdiFile="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z";var mdiFitToScreen="M17 4H20C21.1 4 22 4.9 22 6V8H20V6H17V4M4 8V6H7V4H4C2.9 4 2 4.9 2 6V8H4M20 16V18H17V20H20C21.1 20 22 19.1 22 18V16H20M7 18H4V16H2V18C2 19.1 2.9 20 4 20H7V18M18 8H6V16H18V8Z";var mdiFridge="M7,2H17A2,2 0 0,1 19,4V9H5V4A2,2 0 0,1 7,2M19,19A2,2 0 0,1 17,21V22H15V21H9V22H7V21A2,2 0 0,1 5,19V10H19V19M8,5V7H10V5H8M8,12V15H10V12H8Z";var mdiGauge="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12C20,14.4 19,16.5 17.3,18C15.9,16.7 14,16 12,16C10,16 8.2,16.7 6.7,18C5,16.5 4,14.4 4,12A8,8 0 0,1 12,4M14,5.89C13.62,5.9 13.26,6.15 13.1,6.54L11.81,9.77L11.71,10C11,10.13 10.41,10.6 10.14,11.26C9.73,12.29 10.23,13.45 11.26,13.86C12.29,14.27 13.45,13.77 13.86,12.74C14.12,12.08 14,11.32 13.57,10.76L13.67,10.5L14.96,7.29L14.97,7.26C15.17,6.75 14.92,6.17 14.41,5.96C14.28,5.91 14.15,5.89 14,5.89M10,6A1,1 0 0,0 9,7A1,1 0 0,0 10,8A1,1 0 0,0 11,7A1,1 0 0,0 10,6M7,9A1,1 0 0,0 6,10A1,1 0 0,0 7,11A1,1 0 0,0 8,10A1,1 0 0,0 7,9M17,9A1,1 0 0,0 16,10A1,1 0 0,0 17,11A1,1 0 0,0 18,10A1,1 0 0,0 17,9Z";var mdiGraphOutline="M19.5 17C19.36 17 19.24 17 19.11 17.04L17.5 13.8C17.95 13.35 18.25 12.71 18.25 12C18.25 10.62 17.13 9.5 15.75 9.5C15.61 9.5 15.5 9.5 15.35 9.54L13.74 6.3C14.21 5.84 14.5 5.21 14.5 4.5C14.5 3.12 13.38 2 12 2S9.5 3.12 9.5 4.5C9.5 5.2 9.79 5.84 10.26 6.29L8.65 9.54C8.5 9.5 8.39 9.5 8.25 9.5C6.87 9.5 5.75 10.62 5.75 12C5.75 12.71 6.04 13.34 6.5 13.79L4.89 17.04C4.76 17 4.64 17 4.5 17C3.12 17 2 18.12 2 19.5C2 20.88 3.12 22 4.5 22S7 20.88 7 19.5C7 18.8 6.71 18.16 6.24 17.71L7.86 14.46C8 14.5 8.12 14.5 8.25 14.5C8.38 14.5 8.5 14.5 8.63 14.46L10.26 17.71C9.79 18.16 9.5 18.8 9.5 19.5C9.5 20.88 10.62 22 12 22S14.5 20.88 14.5 19.5C14.5 18.12 13.38 17 12 17C11.87 17 11.74 17 11.61 17.04L10 13.8C10.45 13.35 10.75 12.71 10.75 12C10.75 11.3 10.46 10.67 10 10.21L11.61 6.96C11.74 7 11.87 7 12 7C12.13 7 12.26 7 12.39 6.96L14 10.21C13.54 10.66 13.25 11.3 13.25 12C13.25 13.38 14.37 14.5 15.75 14.5C15.88 14.5 16 14.5 16.13 14.46L17.76 17.71C17.29 18.16 17 18.8 17 19.5C17 20.88 18.12 22 19.5 22S22 20.88 22 19.5C22 18.12 20.88 17 19.5 17M4.5 20.5C3.95 20.5 3.5 20.05 3.5 19.5S3.95 18.5 4.5 18.5 5.5 18.95 5.5 19.5 5.05 20.5 4.5 20.5M13 19.5C13 20.05 12.55 20.5 12 20.5S11 20.05 11 19.5 11.45 18.5 12 18.5 13 18.95 13 19.5M7.25 12C7.25 11.45 7.7 11 8.25 11S9.25 11.45 9.25 12 8.8 13 8.25 13 7.25 12.55 7.25 12M11 4.5C11 3.95 11.45 3.5 12 3.5S13 3.95 13 4.5 12.55 5.5 12 5.5 11 5.05 11 4.5M14.75 12C14.75 11.45 15.2 11 15.75 11S16.75 11.45 16.75 12 16.3 13 15.75 13 14.75 12.55 14.75 12M19.5 20.5C18.95 20.5 18.5 20.05 18.5 19.5S18.95 18.5 19.5 18.5 20.5 18.95 20.5 19.5 20.05 20.5 19.5 20.5Z";var mdiHeatPump="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M12.75 7.08C13.57 7.2 14.32 7.5 14.95 8L12.75 10.19V7.08M11.25 7.08V10.19L9.05 8C9.68 7.5 10.43 7.2 11.25 7.08M8 9.05L10.19 11.25H7.08C7.2 10.43 7.5 9.68 8 9.05M7.08 12.75H10.19L8 14.95C7.5 14.32 7.2 13.57 7.08 12.75M11.25 16.92C10.43 16.8 9.68 16.5 9.05 16L11.25 13.81V16.92M12 13C11.45 13 11 12.55 11 12S11.45 11 12 11 13 11.45 13 12 12.55 13 12 13M12.75 16.92V13.81L14.95 16C14.32 16.5 13.57 16.8 12.75 16.92M16 14.95L13.81 12.75H16.92C16.8 13.57 16.5 14.32 16 14.95M13.81 11.25L16 9.05C16.5 9.69 16.8 10.44 16.92 11.25H13.81Z";var mdiHelp="M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z";var mdiHome="M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z";var mdiLeaf="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z";var mdiLightbulb="M12,2A7,7 0 0,0 5,9C5,11.38 6.19,13.47 8,14.74V17A1,1 0 0,0 9,18H15A1,1 0 0,0 16,17V14.74C17.81,13.47 19,11.38 19,9A7,7 0 0,0 12,2M9,21A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21V20H9V21Z";var mdiLink="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z";var mdiLinkVariantOff="M2,5.27L3.28,4L20,20.72L18.73,22L13.9,17.17L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L12.5,15.76L10.88,14.15C10.87,14.39 10.77,14.64 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C8.12,13.77 7.63,12.37 7.72,11L2,5.27M12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.79,8.97L9.38,7.55L12.71,4.22M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.2,10.54 16.61,12.5 16.06,14.23L14.28,12.46C14.23,11.78 13.94,11.11 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z";var mdiLoading="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z";var mdiLock="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z";var mdiLogout="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z";var mdiMagnifyMinus="M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M5,8V10H13V8H5Z";var mdiMagnifyPlus="M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M8,5V8H5V10H8V13H10V10H13V8H10V5H8Z";var mdiMeterElectric="M12 2C7.04 2 3 6.04 3 11C3 14.91 5.5 18.24 9 19.47V22H11V19.94C11.33 20 11.66 20 12 20S12.67 20 13 19.94V22H15V19.47C18.5 18.23 21 14.9 21 11C21 6.04 16.96 2 12 2M14.25 14L11.25 17L9.75 15.5L11 14.25L9.75 13L12.75 10L14.25 11.5L13 12.75L14.25 14M16 9H8V7H16V9Z";var mdiMicrophone="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z";var mdiMicrowave="M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H16V17H4V7M19,7A1,1 0 0,1 20,8A1,1 0 0,1 19,9A1,1 0 0,1 18,8A1,1 0 0,1 19,7M13,9V15H15V9H13M19,11A1,1 0 0,1 20,12A1,1 0 0,1 19,13A1,1 0 0,1 18,12A1,1 0 0,1 19,11Z";var mdiMinus="M19,13H5V11H19V13Z";var mdiMotionSensor="M10,0.2C9,0.2 8.2,1 8.2,2C8.2,3 9,3.8 10,3.8C11,3.8 11.8,3 11.8,2C11.8,1 11,0.2 10,0.2M15.67,1A7.33,7.33 0 0,0 23,8.33V7A6,6 0 0,1 17,1H15.67M18.33,1C18.33,3.58 20.42,5.67 23,5.67V4.33C21.16,4.33 19.67,2.84 19.67,1H18.33M21,1A2,2 0 0,0 23,3V1H21M7.92,4.03C7.75,4.03 7.58,4.06 7.42,4.11L2,5.8V11H3.8V7.33L5.91,6.67L2,22H3.8L6.67,13.89L9,17V22H10.8V15.59L8.31,11.05L9.04,8.18L10.12,10H15V8.2H11.38L9.38,4.87C9.08,4.37 8.54,4.03 7.92,4.03Z";var mdiPause="M14,19H18V5H14M6,19H10V5H6V19Z";var mdiPencil="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z";var mdiPlay="M8,5.14V19.14L19,12.14L8,5.14Z";var mdiPlus="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";var mdiPowerPlug="M16,7V3H14V7H10V3H8V7H8C7,7 6,8 6,9V14.5L9.5,18V21H14.5V18L18,14.5V9C18,8 17,7 16,7Z";var mdiPump="M2 21V15H3.5C3.18 14.06 3 13.05 3 12C3 7.03 7.03 3 12 3H22V9H20.5C20.82 9.94 21 10.95 21 12C21 16.97 16.97 21 12 21H2M5 12C5 13.28 5.34 14.47 5.94 15.5L9.4 13.5C9.15 13.06 9 12.55 9 12C9 11.35 9.21 10.75 9.56 10.26L6.3 7.93C5.5 9.08 5 10.5 5 12M12 19C14.59 19 16.85 17.59 18.06 15.5L14.6 13.5C14.08 14.4 13.11 15 12 15L11.71 15L11.33 18.97L12 19M12 9C13.21 9 14.26 9.72 14.73 10.76L18.37 9.1C17.27 6.68 14.83 5 12 5V9M12 11C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13C12.55 13 13 12.55 13 12C13 11.45 12.55 11 12 11Z";var mdiRefresh="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z";var mdiRemote="M12,0C8.96,0 6.21,1.23 4.22,3.22L5.63,4.63C7.26,3 9.5,2 12,2C14.5,2 16.74,3 18.36,4.64L19.77,3.23C17.79,1.23 15.04,0 12,0M7.05,6.05L8.46,7.46C9.37,6.56 10.62,6 12,6C13.38,6 14.63,6.56 15.54,7.46L16.95,6.05C15.68,4.78 13.93,4 12,4C10.07,4 8.32,4.78 7.05,6.05M12,15A2,2 0 0,1 10,13A2,2 0 0,1 12,11A2,2 0 0,1 14,13A2,2 0 0,1 12,15M15,9H9A1,1 0 0,0 8,10V22A1,1 0 0,0 9,23H15A1,1 0 0,0 16,22V10A1,1 0 0,0 15,9Z";var mdiRobotVacuum="M12,2C14.65,2 17.19,3.06 19.07,4.93L17.65,6.35C16.15,4.85 14.12,4 12,4C9.88,4 7.84,4.84 6.35,6.35L4.93,4.93C6.81,3.06 9.35,2 12,2M3.66,6.5L5.11,7.94C4.39,9.17 4,10.57 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,10.57 19.61,9.17 18.88,7.94L20.34,6.5C21.42,8.12 22,10.04 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12C2,10.04 2.58,8.12 3.66,6.5M12,6A6,6 0 0,1 18,12C18,13.59 17.37,15.12 16.24,16.24L14.83,14.83C14.08,15.58 13.06,16 12,16C10.94,16 9.92,15.58 9.17,14.83L7.76,16.24C6.63,15.12 6,13.59 6,12A6,6 0 0,1 12,6M12,8A1,1 0 0,0 11,9A1,1 0 0,0 12,10A1,1 0 0,0 13,9A1,1 0 0,0 12,8Z";var mdiRouter="M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2M12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20M13 13V16H15L12 19L9 16H11V13M5 13H8V15L11 12L8 9V11H5M11 11V8H9L12 5L15 8H13V11M19 11H16V9L13 12L16 15V13H19";var mdiRouterWireless="M20.2,5.9L21,5.1C19.6,3.7 17.8,3 16,3C14.2,3 12.4,3.7 11,5.1L11.8,5.9C13,4.8 14.5,4.2 16,4.2C17.5,4.2 19,4.8 20.2,5.9M19.3,6.7C18.4,5.8 17.2,5.3 16,5.3C14.8,5.3 13.6,5.8 12.7,6.7L13.5,7.5C14.2,6.8 15.1,6.5 16,6.5C16.9,6.5 17.8,6.8 18.5,7.5L19.3,6.7M19,13H17V9H15V13H5A2,2 0 0,0 3,15V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V15A2,2 0 0,0 19,13M8,18H6V16H8V18M11.5,18H9.5V16H11.5V18M15,18H13V16H15V18Z";var mdiShareVariant="M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z";var mdiSignalCellular1="M19.5,5.5V18.5H17.5V5.5H19.5M12.5,10.5V18.5H10.5V10.5H12.5M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSignalCellular2="M19.5,5.5V18.5H17.5V5.5H19.5M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSignalCellular3="M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSleep="M23,12H17V10L20.39,6H17V4H23V6L19.62,10H23V12M15,16H9V14L12.39,10H9V8H15V10L11.62,14H15V16M7,20H1V18L4.39,14H1V12H7V14L3.62,18H7V20Z";var mdiSmokeDetector="M12,18A6,6 0 0,0 18,12C18,8.68 15.31,6 12,6C8.68,6 6,8.68 6,12A6,6 0 0,0 12,18M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M8,12A4,4 0 0,1 12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12Z";var mdiSnowflakeAlert="M16.46,9.41L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L16.46,14.61M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44M19,13V7H21V13H19M19,17V15H21V17H19Z";var mdiSolarPower="M11.45,2V5.55L15,3.77L11.45,2M10.45,8L8,10.46L11.75,11.71L10.45,8M2,11.45L3.77,15L5.55,11.45H2M10,2H2V10C2.57,10.17 3.17,10.25 3.77,10.25C7.35,10.26 10.26,7.35 10.27,3.75C10.26,3.16 10.17,2.57 10,2M17,22V16H14L19,7V13H22L17,22Z";var mdiSpeaker="M12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M17,2H7C5.89,2 5,2.89 5,4V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V4C19,2.89 18.1,2 17,2Z";var mdiSprinkler="M11 7H13V9H11V7M5 22H9V10H5V22M14 11H16V9H14V11M17 10H19V8H17V10M17 5V7H19V5H17M14 8H16V6H14V8M17 13H19V11H17V13M5 7H5.33L6 9H8L8.67 7H9V6H5V7Z";var mdiStar="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z";var mdiStop="M18,18H6V6H18V18Z";var mdiStove="M6,14H8L11,17H9L6,14M4,4H5V3A1,1 0 0,1 6,2H10A1,1 0 0,1 11,3V4H13V3A1,1 0 0,1 14,2H18A1,1 0 0,1 19,3V4H20A2,2 0 0,1 22,6V19A2,2 0 0,1 20,21V22H17V21H7V22H4V21A2,2 0 0,1 2,19V6A2,2 0 0,1 4,4M18,7A1,1 0 0,1 19,8A1,1 0 0,1 18,9A1,1 0 0,1 17,8A1,1 0 0,1 18,7M14,7A1,1 0 0,1 15,8A1,1 0 0,1 14,9A1,1 0 0,1 13,8A1,1 0 0,1 14,7M20,6H4V10H20V6M4,19H20V12H4V19M6,7A1,1 0 0,1 7,8A1,1 0 0,1 6,9A1,1 0 0,1 5,8A1,1 0 0,1 6,7M13,14H15L18,17H16L13,14Z";var mdiSwapHorizontal="M21,9L17,5V8H10V10H17V13M7,11L3,15L7,19V16H14V14H7V11Z";var mdiTelevision="M21,17H3V5H21M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H8V21H16V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z";var mdiThermometer="M15 13V5A3 3 0 0 0 9 5V13A5 5 0 1 0 15 13M12 4A1 1 0 0 1 13 5V8H11V5A1 1 0 0 1 12 4Z";var mdiToggleSwitch="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z";var mdiTrashCan="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z";var mdiTumbleDryer="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M10,4A1,1 0 0,0 9,5A1,1 0 0,0 10,6A1,1 0 0,0 11,5A1,1 0 0,0 10,4M12,8A6,6 0 0,0 6,14A6,6 0 0,0 12,20A6,6 0 0,0 18,14A6,6 0 0,0 12,8M8.11,10.5H10C9.76,11.88 10,12.67 10.58,13.29C11.68,14.36 12.16,15.71 11.89,17.5H10C10.24,16.12 10,15.33 9.42,14.71C8.32,13.64 7.85,12.29 8.11,10.5M12.11,10.5H14C13.76,11.88 14,12.67 14.58,13.29C15.68,14.36 16.16,15.71 15.89,17.5H14C14.24,16.12 14,15.33 13.42,14.71C12.32,13.64 11.85,12.29 12.11,10.5Z";var mdiUpdate="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z";var mdiVideo="M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z";var mdiVideoOutline="M15,8V16H5V8H15M16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5V7A1,1 0 0,0 16,6Z";var mdiVolumeHigh="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z";var mdiVolumeOff="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z";var mdiWashingMachine="M14.83,11.17C16.39,12.73 16.39,15.27 14.83,16.83C13.27,18.39 10.73,18.39 9.17,16.83L14.83,11.17M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M10,4A1,1 0 0,0 9,5A1,1 0 0,0 10,6A1,1 0 0,0 11,5A1,1 0 0,0 10,4M12,8A6,6 0 0,0 6,14A6,6 0 0,0 12,20A6,6 0 0,0 18,14A6,6 0 0,0 12,8Z";var mdiWater="M12,20A6,6 0 0,1 6,14C6,10 12,3.25 12,3.25C12,3.25 18,10 18,14A6,6 0 0,1 12,20Z";var mdiWaterBoiler="M8 2C6.89 2 6 2.89 6 4V16C6 17.11 6.89 18 8 18H9V20H6V22H9C10.11 22 11 21.11 11 20V18H13V20C13 21.11 13.89 22 15 22H18V20H15V18H16C17.11 18 18 17.11 18 16V4C18 2.89 17.11 2 16 2H8M12 4.97A2 2 0 0 1 14 6.97A2 2 0 0 1 12 8.97A2 2 0 0 1 10 6.97A2 2 0 0 1 12 4.97M10 14.5H14V16H10V14.5Z";var mdiWaterPercent="M12,3.25C12,3.25 6,10 6,14C6,17.32 8.69,20 12,20A6,6 0 0,0 18,14C18,10 12,3.25 12,3.25M14.47,9.97L15.53,11.03L9.53,17.03L8.47,15.97M9.75,10A1.25,1.25 0 0,1 11,11.25A1.25,1.25 0 0,1 9.75,12.5A1.25,1.25 0 0,1 8.5,11.25A1.25,1.25 0 0,1 9.75,10M14.25,14.5A1.25,1.25 0 0,1 15.5,15.75A1.25,1.25 0 0,1 14.25,17A1.25,1.25 0 0,1 13,15.75A1.25,1.25 0 0,1 14.25,14.5Z";var mdiWeatherNight="M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z";var mdiWeatherRainy="M6,14.03A1,1 0 0,1 7,15.03C7,15.58 6.55,16.03 6,16.03C3.24,16.03 1,13.79 1,11.03C1,8.27 3.24,6.03 6,6.03C7,3.68 9.3,2.03 12,2.03C15.43,2.03 18.24,4.69 18.5,8.06L19,8.03A4,4 0 0,1 23,12.03C23,14.23 21.21,16.03 19,16.03H18C17.45,16.03 17,15.58 17,15.03C17,14.47 17.45,14.03 18,14.03H19A2,2 0 0,0 21,12.03A2,2 0 0,0 19,10.03H17V9.03C17,6.27 14.76,4.03 12,4.03C9.5,4.03 7.45,5.84 7.06,8.21C6.73,8.09 6.37,8.03 6,8.03A3,3 0 0,0 3,11.03A3,3 0 0,0 6,14.03M12,14.15C12.18,14.39 12.37,14.66 12.56,14.94C13,15.56 14,17.03 14,18C14,19.11 13.1,20 12,20A2,2 0 0,1 10,18C10,17.03 11,15.56 11.44,14.94C11.63,14.66 11.82,14.4 12,14.15M12,11.03L11.5,11.59C11.5,11.59 10.65,12.55 9.79,13.81C8.93,15.06 8,16.56 8,18A4,4 0 0,0 12,22A4,4 0 0,0 16,18C16,16.56 15.07,15.06 14.21,13.81C13.35,12.55 12.5,11.59 12.5,11.59";var mdiWeatherSunny="M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M3.36,17L5.12,13.23C5.26,14 5.53,14.78 5.95,15.5C6.37,16.24 6.91,16.86 7.5,17.37L3.36,17M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M20.64,17L16.5,17.36C17.09,16.85 17.62,16.22 18.04,15.5C18.46,14.77 18.73,14 18.87,13.21L20.64,17M12,22L9.59,18.56C10.33,18.83 11.14,19 12,19C12.82,19 13.63,18.83 14.37,18.56L12,22Z";var mdiWifi="M12,21L15.6,16.2C14.6,15.45 13.35,15 12,15C10.65,15 9.4,15.45 8.4,16.2L12,21M12,3C7.95,3 4.21,4.34 1.2,6.6L3,9C5.5,7.12 8.62,6 12,6C15.38,6 18.5,7.12 21,9L22.8,6.6C19.79,4.34 16.05,3 12,3M12,9C9.3,9 6.81,9.89 4.8,11.4L6.6,13.8C8.1,12.67 9.97,12 12,12C14.03,12 15.9,12.67 17.4,13.8L19.2,11.4C17.19,9.89 14.7,9 12,9Z";
|
|
835
|
+
var mdiAccessPoint="M4.93,4.93C3.12,6.74 2,9.24 2,12C2,14.76 3.12,17.26 4.93,19.07L6.34,17.66C4.89,16.22 4,14.22 4,12C4,9.79 4.89,7.78 6.34,6.34L4.93,4.93M19.07,4.93L17.66,6.34C19.11,7.78 20,9.79 20,12C20,14.22 19.11,16.22 17.66,17.66L19.07,19.07C20.88,17.26 22,14.76 22,12C22,9.24 20.88,6.74 19.07,4.93M7.76,7.76C6.67,8.85 6,10.35 6,12C6,13.65 6.67,15.15 7.76,16.24L9.17,14.83C8.45,14.11 8,13.11 8,12C8,10.89 8.45,9.89 9.17,9.17L7.76,7.76M16.24,7.76L14.83,9.17C15.55,9.89 16,10.89 16,12C16,13.11 15.55,14.11 14.83,14.83L16.24,16.24C17.33,15.15 18,13.65 18,12C18,10.35 17.33,8.85 16.24,7.76M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z";var mdiAirConditioner="M6.59,0.66C8.93,-1.15 11.47,1.06 12.04,4.5C12.47,4.5 12.89,4.62 13.27,4.84C13.79,4.24 14.25,3.42 14.07,2.5C13.65,0.35 16.06,-1.39 18.35,1.58C20.16,3.92 17.95,6.46 14.5,7.03C14.5,7.46 14.39,7.89 14.16,8.27C14.76,8.78 15.58,9.24 16.5,9.06C18.63,8.64 20.38,11.04 17.41,13.34C15.07,15.15 12.53,12.94 11.96,9.5C11.53,9.5 11.11,9.37 10.74,9.15C10.22,9.75 9.75,10.58 9.93,11.5C10.35,13.64 7.94,15.39 5.65,12.42C3.83,10.07 6.05,7.53 9.5,6.97C9.5,6.54 9.63,6.12 9.85,5.74C9.25,5.23 8.43,4.76 7.5,4.94C5.37,5.36 3.62,2.96 6.59,0.66M5,16H7A2,2 0 0,1 9,18V24H7V22H5V24H3V18A2,2 0 0,1 5,16M5,18V20H7V18H5M12.93,16H15L12.07,24H10L12.93,16M18,16H21V18H18V22H21V24H18A2,2 0 0,1 16,22V18A2,2 0 0,1 18,16Z";var mdiAirFilter="M19,18.31V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V16.3C4.54,16.12 3.95,16 3,16A1,1 0 0,1 2,15A1,1 0 0,1 3,14C3.82,14 4.47,14.08 5,14.21V12.3C4.54,12.12 3.95,12 3,12A1,1 0 0,1 2,11A1,1 0 0,1 3,10C3.82,10 4.47,10.08 5,10.21V8.3C4.54,8.12 3.95,8 3,8A1,1 0 0,1 2,7A1,1 0 0,1 3,6C3.82,6 4.47,6.08 5,6.21V4A2,2 0 0,1 7,2H17A2,2 0 0,1 19,4V6.16C20.78,6.47 21.54,7.13 21.71,7.29C22.1,7.68 22.1,8.32 21.71,8.71C21.32,9.1 20.8,9.09 20.29,8.71V8.71C20.29,8.71 19.25,8 17,8C15.74,8 14.91,8.41 13.95,8.9C12.91,9.41 11.74,10 10,10C9.64,10 9.31,10 9,9.96V7.95C9.3,8 9.63,8 10,8C11.26,8 12.09,7.59 13.05,7.11C14.09,6.59 15.27,6 17,6V4H7V20H17V18C18.5,18 18.97,18.29 19,18.31M17,10C15.27,10 14.09,10.59 13.05,11.11C12.09,11.59 11.26,12 10,12C9.63,12 9.3,12 9,11.95V13.96C9.31,14 9.64,14 10,14C11.74,14 12.91,13.41 13.95,12.9C14.91,12.42 15.74,12 17,12C19.25,12 20.29,12.71 20.29,12.71V12.71C20.8,13.1 21.32,13.1 21.71,12.71C22.1,12.32 22.1,11.69 21.71,11.29C21.5,11.08 20.25,10 17,10M17,14C15.27,14 14.09,14.59 13.05,15.11C12.09,15.59 11.26,16 10,16C9.63,16 9.3,16 9,15.95V17.96C9.31,18 9.64,18 10,18C11.74,18 12.91,17.41 13.95,16.9C14.91,16.42 15.74,16 17,16C19.25,16 20.29,16.71 20.29,16.71V16.71C20.8,17.1 21.32,17.1 21.71,16.71C22.1,16.32 22.1,15.69 21.71,15.29C21.5,15.08 20.25,14 17,14Z";var mdiAirPurifier="M11,9A4,4 0 0,1 15,13A4,4 0 0,1 11,17A4,4 0 0,1 7,13A4,4 0 0,1 11,9M11,11A2,2 0 0,0 9,13A2,2 0 0,0 11,15A2,2 0 0,0 13,13A2,2 0 0,0 11,11M7,4H14A4,4 0 0,1 18,8V9H16V8A2,2 0 0,0 14,6H7A2,2 0 0,0 5,8V20H16V18H18V22H3V8A4,4 0 0,1 7,4M16,11C18.5,11 18.5,9 21,9V11C18.5,11 18.5,13 16,13V11M16,15C18.5,15 18.5,13 21,13V15C18.5,15 18.5,17 16,17V15Z";var mdiAlert="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z";var mdiAlertCircle="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";var mdiAlertCircleOutline="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z";var mdiArrowDown="M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z";var mdiArrowLeft="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z";var mdiArrowRight="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z";var mdiArrowUp="M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z";var mdiBell="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21";var mdiBlindsHorizontal="M20 19V3H4V19H2V21H22V19H20M16 9H18V11H16V9M14 11H6V9H14V11M18 7H16V5H18V7M14 5V7H6V5H14M6 19V13H14V14.82C13.55 15.14 13.25 15.66 13.25 16.25C13.25 17.22 14.03 18 15 18S16.75 17.22 16.75 16.25C16.75 15.66 16.45 15.13 16 14.82V13H18V19H6Z";var mdiBrightnessAuto="M14.3,16L13.6,14H10.4L9.7,16H7.8L11,7H13L16.2,16H14.3M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69M10.85,12.65H13.15L12,9L10.85,12.65Z";var mdiBrightnessPercent="M20.04,8.71V4H15.34L12,0.69L8.71,4H4V8.71L0.69,12L4,15.34V20.04H8.71L12,23.35L15.34,20.04H20.04V15.34L23.35,12L20.04,8.71M8.83,7.05C9.81,7.05 10.6,7.84 10.6,8.83A1.77,1.77 0 0,1 8.83,10.6C7.84,10.6 7.05,9.81 7.05,8.83C7.05,7.84 7.84,7.05 8.83,7.05M15.22,17C14.24,17 13.45,16.2 13.45,15.22A1.77,1.77 0 0,1 15.22,13.45C16.2,13.45 17,14.24 17,15.22A1.78,1.78 0 0,1 15.22,17M8.5,17.03L7,15.53L15.53,7L17.03,8.5L8.5,17.03Z";var mdiCamera="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z";var mdiCast="M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z";var mdiCctv="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z";var mdiChatProcessing="M12,3C17.5,3 22,6.58 22,11C22,15.42 17.5,19 12,19C10.76,19 9.57,18.82 8.47,18.5C5.55,21 2,21 2,21C4.33,18.67 4.7,17.1 4.75,16.5C3.05,15.07 2,13.13 2,11C2,6.58 6.5,3 12,3M17,12V10H15V12H17M13,12V10H11V12H13M9,12V10H7V12H9Z";var mdiChevronDown="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z";var mdiChevronRight="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";var mdiChip="M6,4H18V5H21V7H18V9H21V11H18V13H21V15H18V17H21V19H18V20H6V19H3V17H6V15H3V13H6V11H3V9H6V7H3V5H6V4M11,15V18H12V15H11M13,15V18H14V15H13M15,15V18H16V15H15Z";var mdiCircleMedium="M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z";var mdiClose="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";var mdiCog="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z";var mdiCogRefresh="M18 14.5C19.1 14.5 20.1 14.9 20.8 15.7L22 14.5V18.5H18L19.8 16.7C19.3 16.3 18.7 16 18 16C16.6 16 15.5 17.1 15.5 18.5S16.6 21 18 21C18.8 21 19.5 20.6 20 20H21.7C21.1 21.5 19.7 22.5 18 22.5C15.8 22.5 14 20.7 14 18.5S15.8 14.5 18 14.5M11.5 18.5C11.5 17.4 11.8 16.4 12.2 15.5H12C10.1 15.5 8.5 13.9 8.5 12S10.1 8.5 12 8.5 15.5 10.1 15.5 12C15.5 12.2 15.5 12.4 15.4 12.5C16.2 12.2 17 12 18 12C18.5 12 19 12.1 19.5 12.2V12C19.5 11.7 19.5 11.3 19.4 11L21.5 9.4C21.7 9.2 21.7 9 21.6 8.8L19.6 5.3C19.5 5 19.3 5 19 5L16.5 6C16 5.6 15.4 5.3 14.8 5L14.4 2.3C14.5 2.2 14.2 2 14 2H10C9.8 2 9.5 2.2 9.5 2.4L9.1 5.1C8.5 5.3 8 5.7 7.4 6L5 5C4.7 5 4.5 5 4.3 5.3L2.3 8.8C2.2 9 2.3 9.2 2.5 9.4L4.6 11C4.6 11.3 4.5 11.7 4.5 12S4.5 12.7 4.6 13L2.5 14.7C2.3 14.9 2.3 15.1 2.4 15.3L4.4 18.8C4.5 19 4.7 19 5 19L7.5 18C8 18.4 8.6 18.7 9.2 19L9.6 21.7C9.6 21.9 9.8 22.1 10.1 22.1H12.6C11.9 21 11.5 19.8 11.5 18.5Z";var mdiContentSaveOutline="M17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V7L17 3M19 19H5V5H16.17L19 7.83V19M12 12C10.34 12 9 13.34 9 15S10.34 18 12 18 15 16.66 15 15 13.66 12 12 12M6 6H15V10H6V6Z";var mdiCrown="M5 16L3 5L8.5 10L12 4L15.5 10L21 5L19 16H5M19 19C19 19.6 18.6 20 18 20H6C5.4 20 5 19.6 5 19V18H19V19Z";var mdiDelete="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z";var mdiDishwasher="M18,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2M10,4A1,1 0 0,1 11,5A1,1 0 0,1 10,6A1,1 0 0,1 9,5A1,1 0 0,1 10,4M7,4A1,1 0 0,1 8,5A1,1 0 0,1 7,6A1,1 0 0,1 6,5A1,1 0 0,1 7,4M18,20H6V8H18V20M14.67,15.33C14.69,16.03 14.41,16.71 13.91,17.21C12.86,18.26 11.15,18.27 10.09,17.21C9.59,16.71 9.31,16.03 9.33,15.33C9.4,14.62 9.63,13.94 10,13.33C10.37,12.5 10.81,11.73 11.33,11L12,10C13.79,12.59 14.67,14.36 14.67,15.33";var mdiDoorOpen="M12,3C10.89,3 10,3.89 10,5H3V19H2V21H22V19H21V5C21,3.89 20.11,3 19,3H12M12,5H19V19H12V5M5,11H7V13H5V11Z";var mdiDoorbell="M12 10C10.9 10 10 10.9 10 12S10.9 14 12 14 14 13.1 14 12 13.1 10 12 10M16 2H8C6.9 2 6 2.9 6 4V20C6 21.1 6.9 22 8 22H16C17.1 22 18 21.1 18 20V4C18 2.9 17.1 2 16 2M16 20H8V4H16V20Z";var mdiDoorbellVideo="M14 15C14 16.11 13.11 17 12 17S10 16.11 10 15 10.9 13 12 13 14 13.9 14 15M18 4V20C18 21.1 17.11 22 16 22H8C6.9 22 6 21.11 6 20V4C6 2.9 6.9 2 8 2H16C17.11 2 18 2.9 18 4M10.5 7C10.5 7.83 11.17 8.5 12 8.5S13.5 7.83 13.5 7 12.83 5.5 12 5.5 10.5 6.17 10.5 7M16 10H8V20H16V10Z";var mdiEthernet="M7,15H9V18H11V15H13V18H15V15H17V18H19V9H15V6H9V9H5V18H7V15M4.38,3H19.63C20.94,3 22,4.06 22,5.38V19.63A2.37,2.37 0 0,1 19.63,22H4.38C3.06,22 2,20.94 2,19.63V5.38C2,4.06 3.06,3 4.38,3Z";var mdiEvStation="M19.77,7.23L19.78,7.22L16.06,3.5L15,4.56L17.11,6.67C16.17,7.03 15.5,7.93 15.5,9A2.5,2.5 0 0,0 18,11.5C18.36,11.5 18.69,11.42 19,11.29V18.5A1,1 0 0,1 18,19.5A1,1 0 0,1 17,18.5V14A2,2 0 0,0 15,12H14V5A2,2 0 0,0 12,3H6A2,2 0 0,0 4,5V21H14V13.5H15.5V18.5A2.5,2.5 0 0,0 18,21A2.5,2.5 0 0,0 20.5,18.5V9C20.5,8.31 20.22,7.68 19.77,7.23M18,10A1,1 0 0,1 17,9A1,1 0 0,1 18,8A1,1 0 0,1 19,9A1,1 0 0,1 18,10M8,18V13.5H6L10,6V11H12L8,18Z";var mdiEye="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z";var mdiEyeOff="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z";var mdiFan="M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12.5,2C17,2 17.11,5.57 14.75,6.75C13.76,7.24 13.32,8.29 13.13,9.22C13.61,9.42 14.03,9.73 14.35,10.13C18.05,8.13 22.03,8.92 22.03,12.5C22.03,17 18.46,17.1 17.28,14.73C16.78,13.74 15.72,13.3 14.79,13.11C14.59,13.59 14.28,14 13.88,14.34C15.87,18.03 15.08,22 11.5,22C7,22 6.91,18.42 9.27,17.24C10.25,16.75 10.69,15.71 10.89,14.79C10.4,14.59 9.97,14.27 9.65,13.87C5.96,15.85 2,15.07 2,11.5C2,7 5.56,6.89 6.74,9.26C7.24,10.25 8.29,10.68 9.22,10.87C9.41,10.39 9.73,9.97 10.14,9.65C8.15,5.96 8.94,2 12.5,2Z";var mdiFile="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z";var mdiFilterOffOutline="M2.39 1.73L1.11 3L9 10.89V15.87C8.96 16.16 9.06 16.47 9.29 16.7L13.3 20.71C13.69 21.1 14.32 21.1 14.71 20.71C14.94 20.5 15.04 20.18 15 19.88V16.89L20.84 22.73L22.11 21.46L15 14.35V14.34L13 12.35L11 10.34L4.15 3.5L2.39 1.73M6.21 3L8.2 5H16.96L13.11 9.91L15 11.8V10.75L19.79 4.62C20.13 4.19 20.05 3.56 19.62 3.22C19.43 3.08 19.22 3 19 3H6.21M11 12.89L13 14.89V17.58L11 15.58V12.89Z";var mdiFitToScreen="M17 4H20C21.1 4 22 4.9 22 6V8H20V6H17V4M4 8V6H7V4H4C2.9 4 2 4.9 2 6V8H4M20 16V18H17V20H20C21.1 20 22 19.1 22 18V16H20M7 18H4V16H2V18C2 19.1 2.9 20 4 20H7V18M18 8H6V16H18V8Z";var mdiFridge="M7,2H17A2,2 0 0,1 19,4V9H5V4A2,2 0 0,1 7,2M19,19A2,2 0 0,1 17,21V22H15V21H9V22H7V21A2,2 0 0,1 5,19V10H19V19M8,5V7H10V5H8M8,12V15H10V12H8Z";var mdiGauge="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12C20,14.4 19,16.5 17.3,18C15.9,16.7 14,16 12,16C10,16 8.2,16.7 6.7,18C5,16.5 4,14.4 4,12A8,8 0 0,1 12,4M14,5.89C13.62,5.9 13.26,6.15 13.1,6.54L11.81,9.77L11.71,10C11,10.13 10.41,10.6 10.14,11.26C9.73,12.29 10.23,13.45 11.26,13.86C12.29,14.27 13.45,13.77 13.86,12.74C14.12,12.08 14,11.32 13.57,10.76L13.67,10.5L14.96,7.29L14.97,7.26C15.17,6.75 14.92,6.17 14.41,5.96C14.28,5.91 14.15,5.89 14,5.89M10,6A1,1 0 0,0 9,7A1,1 0 0,0 10,8A1,1 0 0,0 11,7A1,1 0 0,0 10,6M7,9A1,1 0 0,0 6,10A1,1 0 0,0 7,11A1,1 0 0,0 8,10A1,1 0 0,0 7,9M17,9A1,1 0 0,0 16,10A1,1 0 0,0 17,11A1,1 0 0,0 18,10A1,1 0 0,0 17,9Z";var mdiGraphOutline="M19.5 17C19.36 17 19.24 17 19.11 17.04L17.5 13.8C17.95 13.35 18.25 12.71 18.25 12C18.25 10.62 17.13 9.5 15.75 9.5C15.61 9.5 15.5 9.5 15.35 9.54L13.74 6.3C14.21 5.84 14.5 5.21 14.5 4.5C14.5 3.12 13.38 2 12 2S9.5 3.12 9.5 4.5C9.5 5.2 9.79 5.84 10.26 6.29L8.65 9.54C8.5 9.5 8.39 9.5 8.25 9.5C6.87 9.5 5.75 10.62 5.75 12C5.75 12.71 6.04 13.34 6.5 13.79L4.89 17.04C4.76 17 4.64 17 4.5 17C3.12 17 2 18.12 2 19.5C2 20.88 3.12 22 4.5 22S7 20.88 7 19.5C7 18.8 6.71 18.16 6.24 17.71L7.86 14.46C8 14.5 8.12 14.5 8.25 14.5C8.38 14.5 8.5 14.5 8.63 14.46L10.26 17.71C9.79 18.16 9.5 18.8 9.5 19.5C9.5 20.88 10.62 22 12 22S14.5 20.88 14.5 19.5C14.5 18.12 13.38 17 12 17C11.87 17 11.74 17 11.61 17.04L10 13.8C10.45 13.35 10.75 12.71 10.75 12C10.75 11.3 10.46 10.67 10 10.21L11.61 6.96C11.74 7 11.87 7 12 7C12.13 7 12.26 7 12.39 6.96L14 10.21C13.54 10.66 13.25 11.3 13.25 12C13.25 13.38 14.37 14.5 15.75 14.5C15.88 14.5 16 14.5 16.13 14.46L17.76 17.71C17.29 18.16 17 18.8 17 19.5C17 20.88 18.12 22 19.5 22S22 20.88 22 19.5C22 18.12 20.88 17 19.5 17M4.5 20.5C3.95 20.5 3.5 20.05 3.5 19.5S3.95 18.5 4.5 18.5 5.5 18.95 5.5 19.5 5.05 20.5 4.5 20.5M13 19.5C13 20.05 12.55 20.5 12 20.5S11 20.05 11 19.5 11.45 18.5 12 18.5 13 18.95 13 19.5M7.25 12C7.25 11.45 7.7 11 8.25 11S9.25 11.45 9.25 12 8.8 13 8.25 13 7.25 12.55 7.25 12M11 4.5C11 3.95 11.45 3.5 12 3.5S13 3.95 13 4.5 12.55 5.5 12 5.5 11 5.05 11 4.5M14.75 12C14.75 11.45 15.2 11 15.75 11S16.75 11.45 16.75 12 16.3 13 15.75 13 14.75 12.55 14.75 12M19.5 20.5C18.95 20.5 18.5 20.05 18.5 19.5S18.95 18.5 19.5 18.5 20.5 18.95 20.5 19.5 20.05 20.5 19.5 20.5Z";var mdiHeatPump="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M12.75 7.08C13.57 7.2 14.32 7.5 14.95 8L12.75 10.19V7.08M11.25 7.08V10.19L9.05 8C9.68 7.5 10.43 7.2 11.25 7.08M8 9.05L10.19 11.25H7.08C7.2 10.43 7.5 9.68 8 9.05M7.08 12.75H10.19L8 14.95C7.5 14.32 7.2 13.57 7.08 12.75M11.25 16.92C10.43 16.8 9.68 16.5 9.05 16L11.25 13.81V16.92M12 13C11.45 13 11 12.55 11 12S11.45 11 12 11 13 11.45 13 12 12.55 13 12 13M12.75 16.92V13.81L14.95 16C14.32 16.5 13.57 16.8 12.75 16.92M16 14.95L13.81 12.75H16.92C16.8 13.57 16.5 14.32 16 14.95M13.81 11.25L16 9.05C16.5 9.69 16.8 10.44 16.92 11.25H13.81Z";var mdiHelp="M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z";var mdiHome="M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z";var mdiLeaf="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z";var mdiLightbulb="M12,2A7,7 0 0,0 5,9C5,11.38 6.19,13.47 8,14.74V17A1,1 0 0,0 9,18H15A1,1 0 0,0 16,17V14.74C17.81,13.47 19,11.38 19,9A7,7 0 0,0 12,2M9,21A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21V20H9V21Z";var mdiLink="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z";var mdiLinkVariantOff="M2,5.27L3.28,4L20,20.72L18.73,22L13.9,17.17L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L12.5,15.76L10.88,14.15C10.87,14.39 10.77,14.64 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C8.12,13.77 7.63,12.37 7.72,11L2,5.27M12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.79,8.97L9.38,7.55L12.71,4.22M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.2,10.54 16.61,12.5 16.06,14.23L14.28,12.46C14.23,11.78 13.94,11.11 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z";var mdiLoading="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z";var mdiLock="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z";var mdiLogout="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z";var mdiMagnifyMinus="M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M5,8V10H13V8H5Z";var mdiMagnifyPlus="M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M8,5V8H5V10H8V13H10V10H13V8H10V5H8Z";var mdiMeterElectric="M12 2C7.04 2 3 6.04 3 11C3 14.91 5.5 18.24 9 19.47V22H11V19.94C11.33 20 11.66 20 12 20S12.67 20 13 19.94V22H15V19.47C18.5 18.23 21 14.9 21 11C21 6.04 16.96 2 12 2M14.25 14L11.25 17L9.75 15.5L11 14.25L9.75 13L12.75 10L14.25 11.5L13 12.75L14.25 14M16 9H8V7H16V9Z";var mdiMicrophone="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z";var mdiMicrowave="M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H16V17H4V7M19,7A1,1 0 0,1 20,8A1,1 0 0,1 19,9A1,1 0 0,1 18,8A1,1 0 0,1 19,7M13,9V15H15V9H13M19,11A1,1 0 0,1 20,12A1,1 0 0,1 19,13A1,1 0 0,1 18,12A1,1 0 0,1 19,11Z";var mdiMinus="M19,13H5V11H19V13Z";var mdiMotionSensor="M10,0.2C9,0.2 8.2,1 8.2,2C8.2,3 9,3.8 10,3.8C11,3.8 11.8,3 11.8,2C11.8,1 11,0.2 10,0.2M15.67,1A7.33,7.33 0 0,0 23,8.33V7A6,6 0 0,1 17,1H15.67M18.33,1C18.33,3.58 20.42,5.67 23,5.67V4.33C21.16,4.33 19.67,2.84 19.67,1H18.33M21,1A2,2 0 0,0 23,3V1H21M7.92,4.03C7.75,4.03 7.58,4.06 7.42,4.11L2,5.8V11H3.8V7.33L5.91,6.67L2,22H3.8L6.67,13.89L9,17V22H10.8V15.59L8.31,11.05L9.04,8.18L10.12,10H15V8.2H11.38L9.38,4.87C9.08,4.37 8.54,4.03 7.92,4.03Z";var mdiPause="M14,19H18V5H14M6,19H10V5H6V19Z";var mdiPencil="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z";var mdiPlay="M8,5.14V19.14L19,12.14L8,5.14Z";var mdiPlus="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";var mdiPowerPlug="M16,7V3H14V7H10V3H8V7H8C7,7 6,8 6,9V14.5L9.5,18V21H14.5V18L18,14.5V9C18,8 17,7 16,7Z";var mdiPump="M2 21V15H3.5C3.18 14.06 3 13.05 3 12C3 7.03 7.03 3 12 3H22V9H20.5C20.82 9.94 21 10.95 21 12C21 16.97 16.97 21 12 21H2M5 12C5 13.28 5.34 14.47 5.94 15.5L9.4 13.5C9.15 13.06 9 12.55 9 12C9 11.35 9.21 10.75 9.56 10.26L6.3 7.93C5.5 9.08 5 10.5 5 12M12 19C14.59 19 16.85 17.59 18.06 15.5L14.6 13.5C14.08 14.4 13.11 15 12 15L11.71 15L11.33 18.97L12 19M12 9C13.21 9 14.26 9.72 14.73 10.76L18.37 9.1C17.27 6.68 14.83 5 12 5V9M12 11C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13C12.55 13 13 12.55 13 12C13 11.45 12.55 11 12 11Z";var mdiRefresh="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z";var mdiRemote="M12,0C8.96,0 6.21,1.23 4.22,3.22L5.63,4.63C7.26,3 9.5,2 12,2C14.5,2 16.74,3 18.36,4.64L19.77,3.23C17.79,1.23 15.04,0 12,0M7.05,6.05L8.46,7.46C9.37,6.56 10.62,6 12,6C13.38,6 14.63,6.56 15.54,7.46L16.95,6.05C15.68,4.78 13.93,4 12,4C10.07,4 8.32,4.78 7.05,6.05M12,15A2,2 0 0,1 10,13A2,2 0 0,1 12,11A2,2 0 0,1 14,13A2,2 0 0,1 12,15M15,9H9A1,1 0 0,0 8,10V22A1,1 0 0,0 9,23H15A1,1 0 0,0 16,22V10A1,1 0 0,0 15,9Z";var mdiRobotVacuum="M12,2C14.65,2 17.19,3.06 19.07,4.93L17.65,6.35C16.15,4.85 14.12,4 12,4C9.88,4 7.84,4.84 6.35,6.35L4.93,4.93C6.81,3.06 9.35,2 12,2M3.66,6.5L5.11,7.94C4.39,9.17 4,10.57 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,10.57 19.61,9.17 18.88,7.94L20.34,6.5C21.42,8.12 22,10.04 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12C2,10.04 2.58,8.12 3.66,6.5M12,6A6,6 0 0,1 18,12C18,13.59 17.37,15.12 16.24,16.24L14.83,14.83C14.08,15.58 13.06,16 12,16C10.94,16 9.92,15.58 9.17,14.83L7.76,16.24C6.63,15.12 6,13.59 6,12A6,6 0 0,1 12,6M12,8A1,1 0 0,0 11,9A1,1 0 0,0 12,10A1,1 0 0,0 13,9A1,1 0 0,0 12,8Z";var mdiRouter="M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2M12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20M13 13V16H15L12 19L9 16H11V13M5 13H8V15L11 12L8 9V11H5M11 11V8H9L12 5L15 8H13V11M19 11H16V9L13 12L16 15V13H19";var mdiRouterWireless="M20.2,5.9L21,5.1C19.6,3.7 17.8,3 16,3C14.2,3 12.4,3.7 11,5.1L11.8,5.9C13,4.8 14.5,4.2 16,4.2C17.5,4.2 19,4.8 20.2,5.9M19.3,6.7C18.4,5.8 17.2,5.3 16,5.3C14.8,5.3 13.6,5.8 12.7,6.7L13.5,7.5C14.2,6.8 15.1,6.5 16,6.5C16.9,6.5 17.8,6.8 18.5,7.5L19.3,6.7M19,13H17V9H15V13H5A2,2 0 0,0 3,15V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V15A2,2 0 0,0 19,13M8,18H6V16H8V18M11.5,18H9.5V16H11.5V18M15,18H13V16H15V18Z";var mdiShareVariant="M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z";var mdiSignalCellular1="M19.5,5.5V18.5H17.5V5.5H19.5M12.5,10.5V18.5H10.5V10.5H12.5M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSignalCellular2="M19.5,5.5V18.5H17.5V5.5H19.5M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSignalCellular3="M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSleep="M23,12H17V10L20.39,6H17V4H23V6L19.62,10H23V12M15,16H9V14L12.39,10H9V8H15V10L11.62,14H15V16M7,20H1V18L4.39,14H1V12H7V14L3.62,18H7V20Z";var mdiSmokeDetector="M12,18A6,6 0 0,0 18,12C18,8.68 15.31,6 12,6C8.68,6 6,8.68 6,12A6,6 0 0,0 12,18M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M8,12A4,4 0 0,1 12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12Z";var mdiSnowflakeAlert="M16.46,9.41L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L16.46,14.61M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44M19,13V7H21V13H19M19,17V15H21V17H19Z";var mdiSolarPower="M11.45,2V5.55L15,3.77L11.45,2M10.45,8L8,10.46L11.75,11.71L10.45,8M2,11.45L3.77,15L5.55,11.45H2M10,2H2V10C2.57,10.17 3.17,10.25 3.77,10.25C7.35,10.26 10.26,7.35 10.27,3.75C10.26,3.16 10.17,2.57 10,2M17,22V16H14L19,7V13H22L17,22Z";var mdiSpeaker="M12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M17,2H7C5.89,2 5,2.89 5,4V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V4C19,2.89 18.1,2 17,2Z";var mdiSprinkler="M11 7H13V9H11V7M5 22H9V10H5V22M14 11H16V9H14V11M17 10H19V8H17V10M17 5V7H19V5H17M14 8H16V6H14V8M17 13H19V11H17V13M5 7H5.33L6 9H8L8.67 7H9V6H5V7Z";var mdiStar="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z";var mdiStop="M18,18H6V6H18V18Z";var mdiStove="M6,14H8L11,17H9L6,14M4,4H5V3A1,1 0 0,1 6,2H10A1,1 0 0,1 11,3V4H13V3A1,1 0 0,1 14,2H18A1,1 0 0,1 19,3V4H20A2,2 0 0,1 22,6V19A2,2 0 0,1 20,21V22H17V21H7V22H4V21A2,2 0 0,1 2,19V6A2,2 0 0,1 4,4M18,7A1,1 0 0,1 19,8A1,1 0 0,1 18,9A1,1 0 0,1 17,8A1,1 0 0,1 18,7M14,7A1,1 0 0,1 15,8A1,1 0 0,1 14,9A1,1 0 0,1 13,8A1,1 0 0,1 14,7M20,6H4V10H20V6M4,19H20V12H4V19M6,7A1,1 0 0,1 7,8A1,1 0 0,1 6,9A1,1 0 0,1 5,8A1,1 0 0,1 6,7M13,14H15L18,17H16L13,14Z";var mdiSwapHorizontal="M21,9L17,5V8H10V10H17V13M7,11L3,15L7,19V16H14V14H7V11Z";var mdiTelevision="M21,17H3V5H21M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H8V21H16V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z";var mdiThermometer="M15 13V5A3 3 0 0 0 9 5V13A5 5 0 1 0 15 13M12 4A1 1 0 0 1 13 5V8H11V5A1 1 0 0 1 12 4Z";var mdiToggleSwitch="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z";var mdiTrashCan="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z";var mdiTumbleDryer="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M10,4A1,1 0 0,0 9,5A1,1 0 0,0 10,6A1,1 0 0,0 11,5A1,1 0 0,0 10,4M12,8A6,6 0 0,0 6,14A6,6 0 0,0 12,20A6,6 0 0,0 18,14A6,6 0 0,0 12,8M8.11,10.5H10C9.76,11.88 10,12.67 10.58,13.29C11.68,14.36 12.16,15.71 11.89,17.5H10C10.24,16.12 10,15.33 9.42,14.71C8.32,13.64 7.85,12.29 8.11,10.5M12.11,10.5H14C13.76,11.88 14,12.67 14.58,13.29C15.68,14.36 16.16,15.71 15.89,17.5H14C14.24,16.12 14,15.33 13.42,14.71C12.32,13.64 11.85,12.29 12.11,10.5Z";var mdiUpdate="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z";var mdiVideo="M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z";var mdiVideoOutline="M15,8V16H5V8H15M16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5V7A1,1 0 0,0 16,6Z";var mdiVolumeHigh="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z";var mdiVolumeOff="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z";var mdiWashingMachine="M14.83,11.17C16.39,12.73 16.39,15.27 14.83,16.83C13.27,18.39 10.73,18.39 9.17,16.83L14.83,11.17M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M10,4A1,1 0 0,0 9,5A1,1 0 0,0 10,6A1,1 0 0,0 11,5A1,1 0 0,0 10,4M12,8A6,6 0 0,0 6,14A6,6 0 0,0 12,20A6,6 0 0,0 18,14A6,6 0 0,0 12,8Z";var mdiWater="M12,20A6,6 0 0,1 6,14C6,10 12,3.25 12,3.25C12,3.25 18,10 18,14A6,6 0 0,1 12,20Z";var mdiWaterBoiler="M8 2C6.89 2 6 2.89 6 4V16C6 17.11 6.89 18 8 18H9V20H6V22H9C10.11 22 11 21.11 11 20V18H13V20C13 21.11 13.89 22 15 22H18V20H15V18H16C17.11 18 18 17.11 18 16V4C18 2.89 17.11 2 16 2H8M12 4.97A2 2 0 0 1 14 6.97A2 2 0 0 1 12 8.97A2 2 0 0 1 10 6.97A2 2 0 0 1 12 4.97M10 14.5H14V16H10V14.5Z";var mdiWaterPercent="M12,3.25C12,3.25 6,10 6,14C6,17.32 8.69,20 12,20A6,6 0 0,0 18,14C18,10 12,3.25 12,3.25M14.47,9.97L15.53,11.03L9.53,17.03L8.47,15.97M9.75,10A1.25,1.25 0 0,1 11,11.25A1.25,1.25 0 0,1 9.75,12.5A1.25,1.25 0 0,1 8.5,11.25A1.25,1.25 0 0,1 9.75,10M14.25,14.5A1.25,1.25 0 0,1 15.5,15.75A1.25,1.25 0 0,1 14.25,17A1.25,1.25 0 0,1 13,15.75A1.25,1.25 0 0,1 14.25,14.5Z";var mdiWeatherNight="M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z";var mdiWeatherRainy="M6,14.03A1,1 0 0,1 7,15.03C7,15.58 6.55,16.03 6,16.03C3.24,16.03 1,13.79 1,11.03C1,8.27 3.24,6.03 6,6.03C7,3.68 9.3,2.03 12,2.03C15.43,2.03 18.24,4.69 18.5,8.06L19,8.03A4,4 0 0,1 23,12.03C23,14.23 21.21,16.03 19,16.03H18C17.45,16.03 17,15.58 17,15.03C17,14.47 17.45,14.03 18,14.03H19A2,2 0 0,0 21,12.03A2,2 0 0,0 19,10.03H17V9.03C17,6.27 14.76,4.03 12,4.03C9.5,4.03 7.45,5.84 7.06,8.21C6.73,8.09 6.37,8.03 6,8.03A3,3 0 0,0 3,11.03A3,3 0 0,0 6,14.03M12,14.15C12.18,14.39 12.37,14.66 12.56,14.94C13,15.56 14,17.03 14,18C14,19.11 13.1,20 12,20A2,2 0 0,1 10,18C10,17.03 11,15.56 11.44,14.94C11.63,14.66 11.82,14.4 12,14.15M12,11.03L11.5,11.59C11.5,11.59 10.65,12.55 9.79,13.81C8.93,15.06 8,16.56 8,18A4,4 0 0,0 12,22A4,4 0 0,0 16,18C16,16.56 15.07,15.06 14.21,13.81C13.35,12.55 12.5,11.59 12.5,11.59";var mdiWeatherSunny="M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M3.36,17L5.12,13.23C5.26,14 5.53,14.78 5.95,15.5C6.37,16.24 6.91,16.86 7.5,17.37L3.36,17M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M20.64,17L16.5,17.36C17.09,16.85 17.62,16.22 18.04,15.5C18.46,14.77 18.73,14 18.87,13.21L20.64,17M12,22L9.59,18.56C10.33,18.83 11.14,19 12,19C12.82,19 13.63,18.83 14.37,18.56L12,22Z";var mdiWifi="M12,21L15.6,16.2C14.6,15.45 13.35,15 12,15C10.65,15 9.4,15.45 8.4,16.2L12,21M12,3C7.95,3 4.21,4.34 1.2,6.6L3,9C5.5,7.12 8.62,6 12,6C15.38,6 18.5,7.12 21,9L22.8,6.6C19.79,4.34 16.05,3 12,3M12,9C9.3,9 6.81,9.89 4.8,11.4L6.6,13.8C8.1,12.67 9.97,12 12,12C14.03,12 15.9,12.67 17.4,13.8L19.2,11.4C17.19,9.89 14.7,9 12,9Z";
|
|
836
836
|
|
|
837
837
|
/**
|
|
838
838
|
* @license
|
|
@@ -4839,7 +4839,7 @@ MdListItem = __decorate([t$1('md-list-item')], MdListItem);
|
|
|
4839
4839
|
* SPDX-License-Identifier: Apache-2.0
|
|
4840
4840
|
*/
|
|
4841
4841
|
const showSettingsDialog = async section => {
|
|
4842
|
-
await import('./settings-dialog-
|
|
4842
|
+
await import('./settings-dialog-BQJbHl4j.js');
|
|
4843
4843
|
const dialog = document.createElement("settings-dialog");
|
|
4844
4844
|
if (section) dialog.scrollToSection = section;
|
|
4845
4845
|
document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
|
|
@@ -4910,6 +4910,43 @@ const reducedMotionStyles = i$7`
|
|
|
4910
4910
|
}
|
|
4911
4911
|
}
|
|
4912
4912
|
`;
|
|
4913
|
+
const infoPanelStyles = i$7`
|
|
4914
|
+
.info-panel {
|
|
4915
|
+
background-color: var(--md-sys-color-surface-container);
|
|
4916
|
+
border: 1px solid var(--md-sys-color-outline-variant);
|
|
4917
|
+
border-radius: 12px;
|
|
4918
|
+
padding: 14px 16px;
|
|
4919
|
+
}
|
|
4920
|
+
|
|
4921
|
+
.info-section + .info-section {
|
|
4922
|
+
margin-top: 12px;
|
|
4923
|
+
padding-top: 12px;
|
|
4924
|
+
border-top: 1px solid var(--md-sys-color-outline-variant);
|
|
4925
|
+
}
|
|
4926
|
+
|
|
4927
|
+
.info-section-header {
|
|
4928
|
+
font-weight: 500;
|
|
4929
|
+
color: var(--md-sys-color-on-surface);
|
|
4930
|
+
margin-bottom: 10px;
|
|
4931
|
+
}
|
|
4932
|
+
|
|
4933
|
+
.chip-list {
|
|
4934
|
+
list-style: none;
|
|
4935
|
+
margin: 0;
|
|
4936
|
+
padding: 0;
|
|
4937
|
+
display: flex;
|
|
4938
|
+
flex-wrap: wrap;
|
|
4939
|
+
gap: 8px;
|
|
4940
|
+
}
|
|
4941
|
+
|
|
4942
|
+
.chip {
|
|
4943
|
+
font-size: 0.85rem;
|
|
4944
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
4945
|
+
background: var(--md-sys-color-secondary-container);
|
|
4946
|
+
padding: 4px 10px;
|
|
4947
|
+
border-radius: 8px;
|
|
4948
|
+
}
|
|
4949
|
+
`;
|
|
4913
4950
|
const notFoundStyles = i$7`
|
|
4914
4951
|
.not-found {
|
|
4915
4952
|
display: flex;
|
|
@@ -5016,17 +5053,17 @@ let DashboardHeader = class extends i$4 {
|
|
|
5016
5053
|
>Nodes</a
|
|
5017
5054
|
>
|
|
5018
5055
|
${showThreadTab ? b`<a
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5056
|
+
href="#thread"
|
|
5057
|
+
class="nav-tab ${this.activeView === "thread" ? "active" : ""}"
|
|
5058
|
+
aria-current=${this.activeView === "thread" ? "page" : A}
|
|
5059
|
+
>Thread</a
|
|
5060
|
+
>` : A}
|
|
5024
5061
|
${showWifiTab ? b`<a
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5062
|
+
href="#wifi"
|
|
5063
|
+
class="nav-tab ${this.activeView === "wifi" ? "active" : ""}"
|
|
5064
|
+
aria-current=${this.activeView === "wifi" ? "page" : A}
|
|
5065
|
+
>WiFi</a
|
|
5066
|
+
>` : A}
|
|
5030
5067
|
</nav>
|
|
5031
5068
|
`;
|
|
5032
5069
|
}
|
|
@@ -5035,11 +5072,11 @@ let DashboardHeader = class extends i$4 {
|
|
|
5035
5072
|
<div class="header">
|
|
5036
5073
|
<!-- optional back button -->
|
|
5037
5074
|
${this.backButton ? b` <md-icon-button title="Back" aria-label="Back" @click=${this._goBack}>
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5075
|
+
<ha-svg-icon .path=${mdiArrowLeft}></ha-svg-icon>
|
|
5076
|
+
</md-icon-button>
|
|
5077
|
+
<md-icon-button title="Home" aria-label="Home" @click=${this._goHome}>
|
|
5078
|
+
<ha-svg-icon .path=${mdiHome}></ha-svg-icon>
|
|
5079
|
+
</md-icon-button>` : ""}
|
|
5043
5080
|
|
|
5044
5081
|
<div class="title">${this.title ?? ""}</div>
|
|
5045
5082
|
${this._renderNavTabs()}
|
|
@@ -5053,31 +5090,31 @@ let DashboardHeader = class extends i$4 {
|
|
|
5053
5090
|
})}
|
|
5054
5091
|
<!-- dev-mode badge (only when dev mode is active and a client exists) -->
|
|
5055
5092
|
${this._devMode && this.client ? b`
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5093
|
+
<button
|
|
5094
|
+
class="dev-badge"
|
|
5095
|
+
@click=${this._openSettings}
|
|
5096
|
+
title="Developer mode active — click to open settings"
|
|
5097
|
+
aria-label="Developer mode active — click to open settings"
|
|
5098
|
+
>
|
|
5099
|
+
DEV
|
|
5100
|
+
</button>
|
|
5101
|
+
` : A}
|
|
5065
5102
|
<!-- settings button (only when connected) -->
|
|
5066
5103
|
${this.client ? b`
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5104
|
+
<md-icon-button @click=${this._openSettings} title="Settings">
|
|
5105
|
+
<ha-svg-icon .path=${mdiCog}></ha-svg-icon>
|
|
5106
|
+
</md-icon-button>
|
|
5107
|
+
` : A}
|
|
5071
5108
|
<!-- theme toggle button -->
|
|
5072
5109
|
<md-icon-button @click=${this._cycleTheme} .title=${this._getThemeTooltip()}>
|
|
5073
5110
|
<ha-svg-icon .path=${this._getThemeIcon()}></ha-svg-icon>
|
|
5074
5111
|
</md-icon-button>
|
|
5075
5112
|
<!-- optional logout button (only when client exists and not in production) -->
|
|
5076
5113
|
${this.client && !this.client.isProduction ? b`
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5114
|
+
<md-icon-button @click=${this.client.disconnect}>
|
|
5115
|
+
<ha-svg-icon .path=${mdiLogout}></ha-svg-icon>
|
|
5116
|
+
</md-icon-button>
|
|
5117
|
+
` : A}
|
|
5081
5118
|
</div>
|
|
5082
5119
|
</div>
|
|
5083
5120
|
`;
|
|
@@ -9417,8 +9454,8 @@ const clusters = {
|
|
|
9417
9454
|
}
|
|
9418
9455
|
},
|
|
9419
9456
|
"features": {
|
|
9420
|
-
"
|
|
9421
|
-
"bit":
|
|
9457
|
+
"20": {
|
|
9458
|
+
"bit": 20,
|
|
9422
9459
|
"code": "BIS",
|
|
9423
9460
|
"label": "Bridged Icd Support"
|
|
9424
9461
|
}
|
|
@@ -10970,8 +11007,8 @@ const clusters = {
|
|
|
10970
11007
|
"code": "DEPONOFF",
|
|
10971
11008
|
"label": "On Off"
|
|
10972
11009
|
},
|
|
10973
|
-
"
|
|
10974
|
-
"bit":
|
|
11010
|
+
"20": {
|
|
11011
|
+
"bit": 20,
|
|
10975
11012
|
"code": "DIRECTMODECH",
|
|
10976
11013
|
"label": "Direct Mode Change"
|
|
10977
11014
|
}
|
|
@@ -11066,8 +11103,8 @@ const clusters = {
|
|
|
11066
11103
|
"code": "DEPONOFF",
|
|
11067
11104
|
"label": "On Off"
|
|
11068
11105
|
},
|
|
11069
|
-
"
|
|
11070
|
-
"bit":
|
|
11106
|
+
"20": {
|
|
11107
|
+
"bit": 20,
|
|
11071
11108
|
"code": "DIRECTMODECH",
|
|
11072
11109
|
"label": "Direct Mode Change"
|
|
11073
11110
|
}
|
|
@@ -12459,48 +12496,53 @@ const clusters = {
|
|
|
12459
12496
|
"code": "RESET",
|
|
12460
12497
|
"label": "Reset"
|
|
12461
12498
|
},
|
|
12462
|
-
"
|
|
12463
|
-
"bit":
|
|
12499
|
+
"20": {
|
|
12500
|
+
"bit": 20,
|
|
12501
|
+
"code": "OVER",
|
|
12502
|
+
"label": "Over Temperature"
|
|
12503
|
+
},
|
|
12504
|
+
"21": {
|
|
12505
|
+
"bit": 21,
|
|
12464
12506
|
"code": "UNDER",
|
|
12465
12507
|
"label": "Under Temperature"
|
|
12466
12508
|
},
|
|
12467
|
-
"
|
|
12468
|
-
"bit":
|
|
12509
|
+
"22": {
|
|
12510
|
+
"bit": 22,
|
|
12469
12511
|
"code": "MAJOR",
|
|
12470
12512
|
"label": "Major Threshold"
|
|
12471
12513
|
},
|
|
12472
|
-
"
|
|
12473
|
-
"bit":
|
|
12514
|
+
"23": {
|
|
12515
|
+
"bit": 23,
|
|
12474
12516
|
"code": "MINOR",
|
|
12475
12517
|
"label": "Minor Threshold"
|
|
12476
12518
|
},
|
|
12477
|
-
"
|
|
12478
|
-
"bit":
|
|
12519
|
+
"24": {
|
|
12520
|
+
"bit": 24,
|
|
12479
12521
|
"code": "OCRIADJ",
|
|
12480
12522
|
"label": "Over Critical Adjustable"
|
|
12481
12523
|
},
|
|
12482
|
-
"
|
|
12483
|
-
"bit":
|
|
12524
|
+
"25": {
|
|
12525
|
+
"bit": 25,
|
|
12484
12526
|
"code": "OMAJADJ",
|
|
12485
12527
|
"label": "Over Major Adjustable"
|
|
12486
12528
|
},
|
|
12487
|
-
"
|
|
12488
|
-
"bit":
|
|
12529
|
+
"26": {
|
|
12530
|
+
"bit": 26,
|
|
12489
12531
|
"code": "OMINADJ",
|
|
12490
12532
|
"label": "Over Minor Adjustable"
|
|
12491
12533
|
},
|
|
12492
|
-
"
|
|
12493
|
-
"bit":
|
|
12534
|
+
"27": {
|
|
12535
|
+
"bit": 27,
|
|
12494
12536
|
"code": "UMINADJ",
|
|
12495
12537
|
"label": "Under Minor Adjustable"
|
|
12496
12538
|
},
|
|
12497
|
-
"
|
|
12498
|
-
"bit":
|
|
12539
|
+
"28": {
|
|
12540
|
+
"bit": 28,
|
|
12499
12541
|
"code": "UMAJADJ",
|
|
12500
12542
|
"label": "Under Major Adjustable"
|
|
12501
12543
|
},
|
|
12502
|
-
"
|
|
12503
|
-
"bit":
|
|
12544
|
+
"29": {
|
|
12545
|
+
"bit": 29,
|
|
12504
12546
|
"code": "UCRIADJ",
|
|
12505
12547
|
"label": "Under Critical Adjustable"
|
|
12506
12548
|
}
|
|
@@ -15443,53 +15485,53 @@ const clusters = {
|
|
|
15443
15485
|
"code": "FGP",
|
|
15444
15486
|
"label": "Finger Credentials"
|
|
15445
15487
|
},
|
|
15446
|
-
"
|
|
15447
|
-
"bit":
|
|
15488
|
+
"4": {
|
|
15489
|
+
"bit": 4,
|
|
15448
15490
|
"code": "WDSCH",
|
|
15449
15491
|
"label": "Week Day Access Schedules"
|
|
15450
15492
|
},
|
|
15451
|
-
"
|
|
15452
|
-
"bit":
|
|
15493
|
+
"5": {
|
|
15494
|
+
"bit": 5,
|
|
15453
15495
|
"code": "DPS",
|
|
15454
15496
|
"label": "Door Position Sensor"
|
|
15455
15497
|
},
|
|
15456
|
-
"
|
|
15457
|
-
"bit":
|
|
15498
|
+
"6": {
|
|
15499
|
+
"bit": 6,
|
|
15458
15500
|
"code": "FACE",
|
|
15459
15501
|
"label": "Face Credentials"
|
|
15460
15502
|
},
|
|
15461
|
-
"
|
|
15462
|
-
"bit":
|
|
15503
|
+
"7": {
|
|
15504
|
+
"bit": 7,
|
|
15463
15505
|
"code": "COTA",
|
|
15464
15506
|
"label": "Credential Over The Air Access"
|
|
15465
15507
|
},
|
|
15466
|
-
"
|
|
15467
|
-
"bit":
|
|
15508
|
+
"8": {
|
|
15509
|
+
"bit": 8,
|
|
15468
15510
|
"code": "USR",
|
|
15469
15511
|
"label": "User"
|
|
15470
15512
|
},
|
|
15471
|
-
"
|
|
15472
|
-
"bit":
|
|
15513
|
+
"10": {
|
|
15514
|
+
"bit": 10,
|
|
15473
15515
|
"code": "YDSCH",
|
|
15474
15516
|
"label": "Year Day Access Schedules"
|
|
15475
15517
|
},
|
|
15476
|
-
"
|
|
15477
|
-
"bit":
|
|
15518
|
+
"11": {
|
|
15519
|
+
"bit": 11,
|
|
15478
15520
|
"code": "HDSCH",
|
|
15479
15521
|
"label": "Holiday Schedules"
|
|
15480
15522
|
},
|
|
15481
|
-
"
|
|
15482
|
-
"bit":
|
|
15523
|
+
"12": {
|
|
15524
|
+
"bit": 12,
|
|
15483
15525
|
"code": "UBOLT",
|
|
15484
15526
|
"label": "Unbolting"
|
|
15485
15527
|
},
|
|
15486
|
-
"
|
|
15487
|
-
"bit":
|
|
15528
|
+
"13": {
|
|
15529
|
+
"bit": 13,
|
|
15488
15530
|
"code": "ALIRO",
|
|
15489
15531
|
"label": "Aliro Provisioning"
|
|
15490
15532
|
},
|
|
15491
|
-
"
|
|
15492
|
-
"bit":
|
|
15533
|
+
"14": {
|
|
15534
|
+
"bit": 14,
|
|
15493
15535
|
"code": "ALBU",
|
|
15494
15536
|
"label": "Aliro Bleuwb"
|
|
15495
15537
|
}
|
|
@@ -15688,8 +15730,8 @@ const clusters = {
|
|
|
15688
15730
|
"code": "PA_LF",
|
|
15689
15731
|
"label": "Position Aware Lift"
|
|
15690
15732
|
},
|
|
15691
|
-
"
|
|
15692
|
-
"bit":
|
|
15733
|
+
"4": {
|
|
15734
|
+
"bit": 4,
|
|
15693
15735
|
"code": "PA_TL",
|
|
15694
15736
|
"label": "Position Aware Tilt"
|
|
15695
15737
|
}
|
|
@@ -16943,38 +16985,38 @@ const clusters = {
|
|
|
16943
16985
|
"code": "OCC",
|
|
16944
16986
|
"label": "Occupancy"
|
|
16945
16987
|
},
|
|
16946
|
-
"
|
|
16947
|
-
"bit":
|
|
16988
|
+
"4": {
|
|
16989
|
+
"bit": 4,
|
|
16948
16990
|
"code": "SB",
|
|
16949
16991
|
"label": "Setback"
|
|
16950
16992
|
},
|
|
16951
|
-
"
|
|
16952
|
-
"bit":
|
|
16993
|
+
"5": {
|
|
16994
|
+
"bit": 5,
|
|
16953
16995
|
"code": "AUTO",
|
|
16954
16996
|
"label": "Auto Mode"
|
|
16955
16997
|
},
|
|
16956
|
-
"
|
|
16957
|
-
"bit":
|
|
16998
|
+
"6": {
|
|
16999
|
+
"bit": 6,
|
|
16958
17000
|
"code": "LTNE",
|
|
16959
17001
|
"label": "Local Temperature Not Exposed"
|
|
16960
17002
|
},
|
|
16961
|
-
"
|
|
16962
|
-
"bit":
|
|
17003
|
+
"7": {
|
|
17004
|
+
"bit": 7,
|
|
16963
17005
|
"code": "MSCH",
|
|
16964
17006
|
"label": "Matter Schedule Configuration"
|
|
16965
17007
|
},
|
|
16966
|
-
"
|
|
16967
|
-
"bit":
|
|
17008
|
+
"8": {
|
|
17009
|
+
"bit": 8,
|
|
16968
17010
|
"code": "PRES",
|
|
16969
17011
|
"label": "Presets"
|
|
16970
17012
|
},
|
|
16971
|
-
"
|
|
16972
|
-
"bit":
|
|
17013
|
+
"9": {
|
|
17014
|
+
"bit": 9,
|
|
16973
17015
|
"code": "TEVT",
|
|
16974
17016
|
"label": "Events"
|
|
16975
17017
|
},
|
|
16976
|
-
"
|
|
16977
|
-
"bit":
|
|
17018
|
+
"10": {
|
|
17019
|
+
"bit": 10,
|
|
16978
17020
|
"code": "TSUGGEST",
|
|
16979
17021
|
"label": "Thermostat Suggestions"
|
|
16980
17022
|
}
|
|
@@ -18403,8 +18445,8 @@ const clusters = {
|
|
|
18403
18445
|
"code": "VIS",
|
|
18404
18446
|
"label": "Vision"
|
|
18405
18447
|
},
|
|
18406
|
-
"
|
|
18407
|
-
"bit":
|
|
18448
|
+
"9": {
|
|
18449
|
+
"bit": 9,
|
|
18408
18450
|
"code": "OCCEVENT",
|
|
18409
18451
|
"label": "Occupancy Event"
|
|
18410
18452
|
}
|
|
@@ -26501,7 +26543,7 @@ const semantic_tag_namespaces = {
|
|
|
26501
26543
|
* SPDX-License-Identifier: Apache-2.0
|
|
26502
26544
|
*/
|
|
26503
26545
|
const showDialogBox = async (type, dialogParams) => {
|
|
26504
|
-
await import('./dialog-box-
|
|
26546
|
+
await import('./dialog-box-DQV4kYxU.js');
|
|
26505
26547
|
return new Promise(resolve => {
|
|
26506
26548
|
const dialog = document.createElement("dialog-box");
|
|
26507
26549
|
dialog.params = dialogParams;
|
|
@@ -26519,7 +26561,7 @@ const showPromptDialog = dialogParams => showDialogBox("prompt", dialogParams);
|
|
|
26519
26561
|
* SPDX-License-Identifier: Apache-2.0
|
|
26520
26562
|
*/
|
|
26521
26563
|
const showAttributeWriteDialog = async options => {
|
|
26522
|
-
await import('./attribute-write-dialog-
|
|
26564
|
+
await import('./attribute-write-dialog-lNuCZ3k9.js');
|
|
26523
26565
|
const dialog = document.createElement("attribute-write-dialog");
|
|
26524
26566
|
dialog.client = options.client;
|
|
26525
26567
|
dialog.nodeId = options.nodeId;
|
|
@@ -26537,7 +26579,7 @@ const showAttributeWriteDialog = async options => {
|
|
|
26537
26579
|
* SPDX-License-Identifier: Apache-2.0
|
|
26538
26580
|
*/
|
|
26539
26581
|
const showCommandInvokeDialog = async options => {
|
|
26540
|
-
await import('./command-invoke-dialog-
|
|
26582
|
+
await import('./command-invoke-dialog-BsvOYKuy.js');
|
|
26541
26583
|
const dialog = document.createElement("command-invoke-dialog");
|
|
26542
26584
|
dialog.client = options.client;
|
|
26543
26585
|
dialog.nodeId = options.nodeId;
|
|
@@ -26713,7 +26755,7 @@ MdTextButton = __decorate([t$1('md-text-button')], MdTextButton);
|
|
|
26713
26755
|
* SPDX-License-Identifier: Apache-2.0
|
|
26714
26756
|
*/
|
|
26715
26757
|
const showNodeLabelDialog = async (client, node) => {
|
|
26716
|
-
await import('./node-label-dialog-
|
|
26758
|
+
await import('./node-label-dialog-DgbTIGwf.js');
|
|
26717
26759
|
const dialog = document.createElement("node-label-dialog");
|
|
26718
26760
|
dialog.client = client;
|
|
26719
26761
|
dialog.node = node;
|
|
@@ -26729,6 +26771,7 @@ function handleAsync(fn, onError) {
|
|
|
26729
26771
|
return () => {
|
|
26730
26772
|
fn().catch(error => {
|
|
26731
26773
|
console.error("Async operation failed:", error);
|
|
26774
|
+
onError?.(error);
|
|
26732
26775
|
});
|
|
26733
26776
|
};
|
|
26734
26777
|
}
|
|
@@ -26736,6 +26779,7 @@ function handleAsyncEvent(fn, onError) {
|
|
|
26736
26779
|
return event => {
|
|
26737
26780
|
fn(event).catch(error => {
|
|
26738
26781
|
console.error("Async operation failed:", error);
|
|
26782
|
+
onError?.(error);
|
|
26739
26783
|
});
|
|
26740
26784
|
};
|
|
26741
26785
|
}
|
|
@@ -31152,19 +31196,19 @@ let WebRtcStreamView = class extends i$4 {
|
|
|
31152
31196
|
?hidden=${this._state !== "streaming"}
|
|
31153
31197
|
></video>
|
|
31154
31198
|
${this._state === "idle" ? b`<div class="placeholder">
|
|
31155
|
-
|
|
31156
|
-
|
|
31157
|
-
|
|
31158
|
-
|
|
31159
|
-
|
|
31199
|
+
<ha-svg-icon class="placeholder-icon" .path=${mdiVideoOutline}></ha-svg-icon>
|
|
31200
|
+
<div class="placeholder-text">
|
|
31201
|
+
${this.liveViewSupported ? b`Click <b>Start</b> to begin streaming` : "Live view not supported \u2014 use Snapshot"}
|
|
31202
|
+
</div>
|
|
31203
|
+
</div>` : null}
|
|
31160
31204
|
${this._state === "connecting" ? b`<div class="placeholder">
|
|
31161
|
-
|
|
31162
|
-
|
|
31163
|
-
|
|
31205
|
+
<div class="spinner"></div>
|
|
31206
|
+
<div class="placeholder-text">Connecting…</div>
|
|
31207
|
+
</div>` : null}
|
|
31164
31208
|
${this._state === "error" ? b`<div class="placeholder error">
|
|
31165
|
-
|
|
31166
|
-
|
|
31167
|
-
|
|
31209
|
+
<ha-svg-icon class="placeholder-icon" .path=${mdiAlertCircleOutline}></ha-svg-icon>
|
|
31210
|
+
<div class="placeholder-text">${this._errorMessage ?? "Stream error"}</div>
|
|
31211
|
+
</div>` : null}
|
|
31168
31212
|
`;
|
|
31169
31213
|
}
|
|
31170
31214
|
async start() {
|
|
@@ -32115,82 +32159,82 @@ let AvsumPtzStrip = class extends i$4 {
|
|
|
32115
32159
|
return b`
|
|
32116
32160
|
<div class="strip">
|
|
32117
32161
|
${hasMech || features.dptz ? b`<div class="group movement">
|
|
32118
|
-
|
|
32119
|
-
|
|
32120
|
-
|
|
32121
|
-
|
|
32122
|
-
|
|
32123
|
-
|
|
32124
|
-
|
|
32125
|
-
|
|
32126
|
-
|
|
32127
|
-
|
|
32128
|
-
|
|
32129
|
-
|
|
32130
|
-
|
|
32131
|
-
|
|
32132
|
-
|
|
32133
|
-
|
|
32134
|
-
|
|
32135
|
-
|
|
32136
|
-
|
|
32137
|
-
|
|
32138
|
-
|
|
32139
|
-
|
|
32140
|
-
|
|
32141
|
-
|
|
32142
|
-
|
|
32143
|
-
|
|
32144
|
-
|
|
32145
|
-
|
|
32146
|
-
|
|
32147
|
-
|
|
32148
|
-
|
|
32149
|
-
|
|
32150
|
-
|
|
32151
|
-
|
|
32152
|
-
|
|
32153
|
-
|
|
32154
|
-
|
|
32155
|
-
|
|
32156
|
-
|
|
32157
|
-
|
|
32158
|
-
|
|
32159
|
-
|
|
32160
|
-
|
|
32161
|
-
|
|
32162
|
-
|
|
32163
|
-
|
|
32164
|
-
|
|
32165
|
-
|
|
32166
|
-
|
|
32167
|
-
|
|
32168
|
-
|
|
32169
|
-
|
|
32170
|
-
|
|
32171
|
-
|
|
32172
|
-
|
|
32173
|
-
|
|
32174
|
-
|
|
32175
|
-
|
|
32176
|
-
|
|
32177
|
-
|
|
32178
|
-
|
|
32179
|
-
|
|
32180
|
-
|
|
32181
|
-
|
|
32182
|
-
|
|
32183
|
-
|
|
32184
|
-
|
|
32162
|
+
<div class="dpad">
|
|
32163
|
+
<span></span>
|
|
32164
|
+
<md-icon-button
|
|
32165
|
+
?disabled=${this._isDisabled(effective, "tilt", features, movement)}
|
|
32166
|
+
title="Tilt up"
|
|
32167
|
+
@click=${handleAsyncEvent(e => this._move(effective, "tilt", this._step(e, 10)))}
|
|
32168
|
+
>
|
|
32169
|
+
<ha-svg-icon .path=${mdiArrowUp}></ha-svg-icon>
|
|
32170
|
+
</md-icon-button>
|
|
32171
|
+
<span></span>
|
|
32172
|
+
<md-icon-button
|
|
32173
|
+
?disabled=${this._isDisabled(effective, "pan", features, movement)}
|
|
32174
|
+
title="Pan left"
|
|
32175
|
+
@click=${handleAsyncEvent(e => this._move(effective, "pan", this._step(e, -10)))}
|
|
32176
|
+
>
|
|
32177
|
+
<ha-svg-icon .path=${mdiArrowLeft}></ha-svg-icon>
|
|
32178
|
+
</md-icon-button>
|
|
32179
|
+
<span></span>
|
|
32180
|
+
<md-icon-button
|
|
32181
|
+
?disabled=${this._isDisabled(effective, "pan", features, movement)}
|
|
32182
|
+
title="Pan right"
|
|
32183
|
+
@click=${handleAsyncEvent(e => this._move(effective, "pan", this._step(e, 10)))}
|
|
32184
|
+
>
|
|
32185
|
+
<ha-svg-icon .path=${mdiArrowRight}></ha-svg-icon>
|
|
32186
|
+
</md-icon-button>
|
|
32187
|
+
<span></span>
|
|
32188
|
+
<md-icon-button
|
|
32189
|
+
?disabled=${this._isDisabled(effective, "tilt", features, movement)}
|
|
32190
|
+
title="Tilt down"
|
|
32191
|
+
@click=${handleAsyncEvent(e => this._move(effective, "tilt", this._step(e, -10)))}
|
|
32192
|
+
>
|
|
32193
|
+
<ha-svg-icon .path=${mdiArrowDown}></ha-svg-icon>
|
|
32194
|
+
</md-icon-button>
|
|
32195
|
+
<span></span>
|
|
32196
|
+
</div>
|
|
32197
|
+
<div class="zoom">
|
|
32198
|
+
<md-icon-button
|
|
32199
|
+
?disabled=${this._isDisabled(effective, "zoom", features, movement)}
|
|
32200
|
+
title="Zoom in"
|
|
32201
|
+
@click=${handleAsyncEvent(e => this._move(effective, "zoom", this._step(e, 10)))}
|
|
32202
|
+
>
|
|
32203
|
+
<ha-svg-icon .path=${mdiPlus}></ha-svg-icon>
|
|
32204
|
+
</md-icon-button>
|
|
32205
|
+
<md-icon-button
|
|
32206
|
+
?disabled=${this._isDisabled(effective, "zoom", features, movement)}
|
|
32207
|
+
title="Zoom out"
|
|
32208
|
+
@click=${handleAsyncEvent(e => this._move(effective, "zoom", this._step(e, -10)))}
|
|
32209
|
+
>
|
|
32210
|
+
<ha-svg-icon .path=${mdiMinus}></ha-svg-icon>
|
|
32211
|
+
</md-icon-button>
|
|
32212
|
+
</div>
|
|
32213
|
+
${hasMech && features.dptz ? b`<div class="mode-toggle">
|
|
32214
|
+
<button
|
|
32215
|
+
class=${this._mode === "mech" ? "active" : ""}
|
|
32216
|
+
@click=${() => this._mode = "mech"}
|
|
32217
|
+
>
|
|
32218
|
+
Mech
|
|
32219
|
+
</button>
|
|
32220
|
+
<button
|
|
32221
|
+
class=${this._mode === "digital" ? "active" : ""}
|
|
32222
|
+
@click=${() => this._mode = "digital"}
|
|
32223
|
+
>
|
|
32224
|
+
Digital
|
|
32225
|
+
</button>
|
|
32226
|
+
</div>` : A}
|
|
32227
|
+
${effective === "digital" && this.activeVideoStreamId === null ? b`<span class="mode-hint">Start stream to enable DPTZ</span>` : A}
|
|
32228
|
+
</div>` : A}
|
|
32185
32229
|
${features.mPresets && presets.length > 0 ? b`<div class="group presets">
|
|
32186
|
-
|
|
32187
|
-
|
|
32188
|
-
|
|
32189
|
-
|
|
32190
|
-
|
|
32191
|
-
|
|
32192
|
-
|
|
32193
|
-
|
|
32230
|
+
${presets.map(p => b`<button
|
|
32231
|
+
class="chip"
|
|
32232
|
+
title="p=${p.settings.pan ?? 0}° · t=${p.settings.tilt ?? 0}° · z=${p.settings.zoom ?? 1}×"
|
|
32233
|
+
@click=${handleAsync(() => this._handleGoPreset(p.presetId))}
|
|
32234
|
+
>
|
|
32235
|
+
${p.name}
|
|
32236
|
+
</button>`)}
|
|
32237
|
+
</div>` : A}
|
|
32194
32238
|
<div class="group readout">
|
|
32195
32239
|
${features.mPan && pos.pan !== null ? b`<span>Pan ${this._fmt(pos.pan)}°</span>` : A}
|
|
32196
32240
|
${features.mTilt && pos.tilt !== null ? b`<span>Tilt ${this._fmt(pos.tilt)}°</span>` : A}
|
|
@@ -32682,41 +32726,41 @@ let CameraOverlay = class extends i$4 {
|
|
|
32682
32726
|
<span>Node ${this.nodeId} • Endpoint ${this.endpointId}</span>
|
|
32683
32727
|
</header>
|
|
32684
32728
|
${this._avsumPresent() ? b`<avsum-ptz-strip
|
|
32685
|
-
.nodeId=${this.nodeId}
|
|
32686
|
-
.endpointId=${this.endpointId}
|
|
32687
|
-
.activeVideoStreamId=${this._activeVideoStreamId}
|
|
32688
|
-
.sensorSize=${this._getSensorSize()}
|
|
32689
|
-
></avsum-ptz-strip>` : A}
|
|
32690
|
-
<main>
|
|
32691
|
-
${this.client ? b`<webrtc-stream-view
|
|
32692
|
-
${n(this._streamViewRef)}
|
|
32693
32729
|
.nodeId=${this.nodeId}
|
|
32694
32730
|
.endpointId=${this.endpointId}
|
|
32695
|
-
.
|
|
32696
|
-
.
|
|
32697
|
-
|
|
32698
|
-
|
|
32699
|
-
|
|
32700
|
-
|
|
32701
|
-
|
|
32731
|
+
.activeVideoStreamId=${this._activeVideoStreamId}
|
|
32732
|
+
.sensorSize=${this._getSensorSize()}
|
|
32733
|
+
></avsum-ptz-strip>` : A}
|
|
32734
|
+
<main>
|
|
32735
|
+
${this.client ? b`<webrtc-stream-view
|
|
32736
|
+
${n(this._streamViewRef)}
|
|
32737
|
+
.nodeId=${this.nodeId}
|
|
32738
|
+
.endpointId=${this.endpointId}
|
|
32739
|
+
.liveViewSupported=${liveViewSupported}
|
|
32740
|
+
.resolution=${this._selectedResolution}
|
|
32741
|
+
.watermarkEnabled=${this._watermarkEnabled}
|
|
32742
|
+
.osdEnabled=${this._osdEnabled}
|
|
32743
|
+
.snapshotResolution=${this._selectedSnapshotResolution}
|
|
32744
|
+
@streamstate=${this._onStreamState}
|
|
32745
|
+
></webrtc-stream-view>` : b`<div class="status error">No Matter client available.</div>`}
|
|
32702
32746
|
${this._snapshotDataUri ? b`
|
|
32703
|
-
|
|
32704
|
-
|
|
32705
|
-
|
|
32706
|
-
|
|
32707
|
-
|
|
32708
|
-
|
|
32709
|
-
|
|
32710
|
-
|
|
32711
|
-
|
|
32747
|
+
<div class="snapshot-preview">
|
|
32748
|
+
<img
|
|
32749
|
+
src=${this._snapshotDataUri}
|
|
32750
|
+
@click=${this._downloadSnapshot}
|
|
32751
|
+
title="Click to download${this._snapshotResolution ? ` (${this._snapshotResolution.width}\xD7${this._snapshotResolution.height})` : ""}"
|
|
32752
|
+
alt="Snapshot"
|
|
32753
|
+
/>
|
|
32754
|
+
<md-icon-button
|
|
32755
|
+
@click=${() => {
|
|
32712
32756
|
this._snapshotDataUri = null;
|
|
32713
32757
|
}}
|
|
32714
|
-
|
|
32715
|
-
|
|
32716
|
-
|
|
32717
|
-
|
|
32718
|
-
|
|
32719
|
-
|
|
32758
|
+
aria-label="Close snapshot"
|
|
32759
|
+
>
|
|
32760
|
+
<ha-svg-icon .path=${mdiClose}></ha-svg-icon>
|
|
32761
|
+
</md-icon-button>
|
|
32762
|
+
</div>
|
|
32763
|
+
` : A}
|
|
32720
32764
|
${this._snapshotError ? b`<div class="snapshot-error">${this._snapshotError}</div>` : A}
|
|
32721
32765
|
</main>
|
|
32722
32766
|
<footer>
|
|
@@ -32724,69 +32768,72 @@ let CameraOverlay = class extends i$4 {
|
|
|
32724
32768
|
${!this._closing && this._state === "connecting" ? b`<span class="footer-status">Waiting for camera response…</span>` : A}
|
|
32725
32769
|
${!this._closing && this._state === "error" && this._errorMessage ? b`<span class="footer-status error">${this._errorMessage}</span>` : A}
|
|
32726
32770
|
${canStart && this._resolutions.length > 0 ? b`
|
|
32727
|
-
|
|
32728
|
-
|
|
32729
|
-
|
|
32730
|
-
|
|
32731
|
-
|
|
32732
|
-
|
|
32733
|
-
|
|
32734
|
-
|
|
32735
|
-
|
|
32736
|
-
|
|
32737
|
-
|
|
32738
|
-
|
|
32771
|
+
<md-outlined-select
|
|
32772
|
+
label="Resolution"
|
|
32773
|
+
.value=${this._selectedResolution ? `${this._selectedResolution.width}x${this._selectedResolution.height}` : ""}
|
|
32774
|
+
@change=${this._onResolutionChange}
|
|
32775
|
+
>
|
|
32776
|
+
${this._resolutions.map(r => b`
|
|
32777
|
+
<md-select-option value=${`${r.width}x${r.height}`}>
|
|
32778
|
+
<div slot="headline">${r.width}×${r.height}</div>
|
|
32779
|
+
</md-select-option>
|
|
32780
|
+
`)}
|
|
32781
|
+
</md-outlined-select>
|
|
32782
|
+
` : A}
|
|
32739
32783
|
${idleOrError && this._snapshotSupported && this._snapshotResolutions.length > 0 ? b`
|
|
32740
|
-
|
|
32741
|
-
|
|
32742
|
-
|
|
32743
|
-
|
|
32744
|
-
|
|
32745
|
-
|
|
32746
|
-
|
|
32747
|
-
|
|
32748
|
-
|
|
32749
|
-
|
|
32750
|
-
|
|
32751
|
-
|
|
32784
|
+
<md-outlined-select
|
|
32785
|
+
label="Snapshot"
|
|
32786
|
+
.value=${this._selectedSnapshotResolution ? `${this._selectedSnapshotResolution.width}x${this._selectedSnapshotResolution.height}` : ""}
|
|
32787
|
+
@change=${this._onSnapshotResolutionChange}
|
|
32788
|
+
>
|
|
32789
|
+
${this._snapshotResolutions.map(r => b`
|
|
32790
|
+
<md-select-option value=${`${r.width}x${r.height}`}>
|
|
32791
|
+
<div slot="headline">${r.width}×${r.height}</div>
|
|
32792
|
+
</md-select-option>
|
|
32793
|
+
`)}
|
|
32794
|
+
</md-outlined-select>
|
|
32795
|
+
` : A}
|
|
32752
32796
|
${canStart && this._avsmFeatures().wmark ? b`<label class="overlay-toggle">
|
|
32753
|
-
|
|
32754
|
-
|
|
32755
|
-
|
|
32756
|
-
|
|
32757
|
-
|
|
32758
|
-
|
|
32759
|
-
|
|
32797
|
+
<input
|
|
32798
|
+
type="checkbox"
|
|
32799
|
+
?checked=${this._watermarkEnabled}
|
|
32800
|
+
@change=${e => this._watermarkEnabled = e.target.checked}
|
|
32801
|
+
/>
|
|
32802
|
+
Watermark
|
|
32803
|
+
</label>` : A}
|
|
32760
32804
|
${canStart && this._avsmFeatures().osd ? b`<label class="overlay-toggle">
|
|
32761
|
-
|
|
32762
|
-
|
|
32763
|
-
|
|
32764
|
-
|
|
32765
|
-
|
|
32766
|
-
|
|
32767
|
-
|
|
32805
|
+
<input
|
|
32806
|
+
type="checkbox"
|
|
32807
|
+
?checked=${this._osdEnabled}
|
|
32808
|
+
@change=${e => this._osdEnabled = e.target.checked}
|
|
32809
|
+
/>
|
|
32810
|
+
OSD
|
|
32811
|
+
</label>` : A}
|
|
32768
32812
|
${canStart ? b`<md-filled-button
|
|
32769
|
-
|
|
32770
|
-
|
|
32771
|
-
|
|
32772
|
-
|
|
32773
|
-
|
|
32813
|
+
@click=${this._start}
|
|
32814
|
+
?disabled=${!this.client || this._resolutionsLoading}
|
|
32815
|
+
>
|
|
32816
|
+
${this._state === "error" ? "Retry" : "Start"}
|
|
32817
|
+
</md-filled-button>` : A}
|
|
32774
32818
|
${this._state === "streaming" ? b`<md-filled-button @click=${this._stop}>End</md-filled-button>
|
|
32775
|
-
|
|
32776
|
-
|
|
32777
|
-
|
|
32778
|
-
|
|
32779
|
-
|
|
32780
|
-
|
|
32781
|
-
|
|
32819
|
+
<md-text-button
|
|
32820
|
+
@click=${this._toggleMute}
|
|
32821
|
+
aria-label=${this._muted ? "Unmute" : "Mute"}
|
|
32822
|
+
>
|
|
32823
|
+
<ha-svg-icon
|
|
32824
|
+
slot="icon"
|
|
32825
|
+
.path=${this._muted ? mdiVolumeOff : mdiVolumeHigh}
|
|
32826
|
+
></ha-svg-icon>
|
|
32827
|
+
${this._muted ? "Unmute" : "Mute"}
|
|
32828
|
+
</md-text-button>` : A}
|
|
32782
32829
|
${this._snapshotSupported ? b`<md-text-button
|
|
32783
|
-
|
|
32784
|
-
|
|
32785
|
-
|
|
32786
|
-
|
|
32787
|
-
|
|
32788
|
-
|
|
32789
|
-
|
|
32830
|
+
@click=${this._onSnapshot}
|
|
32831
|
+
?disabled=${this._snapshotBusy || !this.client}
|
|
32832
|
+
aria-label="Take snapshot"
|
|
32833
|
+
>
|
|
32834
|
+
<ha-svg-icon .path=${mdiCamera} slot="icon"></ha-svg-icon>
|
|
32835
|
+
${this._snapshotBusy ? "Capturing\u2026" : "Snapshot"}
|
|
32836
|
+
</md-text-button>` : A}
|
|
32790
32837
|
<md-text-button @click=${this._close} ?disabled=${this._closing}>Close</md-text-button>
|
|
32791
32838
|
</footer>
|
|
32792
32839
|
</div>
|
|
@@ -33559,15 +33606,11 @@ function nodeOrSubjectId(value) {
|
|
|
33559
33606
|
}
|
|
33560
33607
|
function decodeRegisteredClient(entry) {
|
|
33561
33608
|
if (!isRecord$2(entry)) return void 0;
|
|
33562
|
-
const checkInNodeId = nodeOrSubjectId(entry["1"]);
|
|
33563
|
-
const monitoredSubject = nodeOrSubjectId(entry["2"]);
|
|
33564
33609
|
const fabricIndex = entry["254"];
|
|
33565
|
-
if (
|
|
33566
|
-
return void 0;
|
|
33567
|
-
}
|
|
33610
|
+
if (typeof fabricIndex !== "number") return void 0;
|
|
33568
33611
|
return {
|
|
33569
|
-
checkInNodeId,
|
|
33570
|
-
monitoredSubject,
|
|
33612
|
+
checkInNodeId: nodeOrSubjectId(entry["1"]),
|
|
33613
|
+
monitoredSubject: nodeOrSubjectId(entry["2"]),
|
|
33571
33614
|
fabricIndex
|
|
33572
33615
|
};
|
|
33573
33616
|
}
|
|
@@ -35420,21 +35463,21 @@ let NodeDetails = class extends i$4 {
|
|
|
35420
35463
|
<div slot="headline" class="node-label-row">
|
|
35421
35464
|
<b>${this.node.nodeLabel || "Node Info"}</b>
|
|
35422
35465
|
${this.node.available ? b`
|
|
35423
|
-
|
|
35424
|
-
|
|
35425
|
-
|
|
35426
|
-
|
|
35427
|
-
|
|
35428
|
-
|
|
35429
|
-
|
|
35430
|
-
|
|
35466
|
+
<md-icon-button
|
|
35467
|
+
@click=${() => this._editNodeLabel()}
|
|
35468
|
+
aria-label="Edit node label"
|
|
35469
|
+
title="Edit node label"
|
|
35470
|
+
>
|
|
35471
|
+
<ha-svg-icon .path=${mdiPencil}></ha-svg-icon>
|
|
35472
|
+
</md-icon-button>
|
|
35473
|
+
` : A}
|
|
35431
35474
|
${this.node.available ? A : b` <span class="status">OFFLINE</span>`}
|
|
35432
35475
|
${badge ? b`<a
|
|
35433
|
-
|
|
35434
|
-
|
|
35435
|
-
|
|
35436
|
-
|
|
35437
|
-
|
|
35476
|
+
class="icd-badge icd-${badge.state}"
|
|
35477
|
+
href="#node/${this.node.node_id}/0/${ICD_CLUSTER_ID}"
|
|
35478
|
+
title=${badge.hint}
|
|
35479
|
+
>ICD</a
|
|
35480
|
+
>` : A}
|
|
35438
35481
|
</div>
|
|
35439
35482
|
</md-list-item>
|
|
35440
35483
|
<md-list-item>
|
|
@@ -35449,13 +35492,13 @@ let NodeDetails = class extends i$4 {
|
|
|
35449
35492
|
<div slot="supporting-text"><span class="left">Is bridge: </span>${this.node.is_bridge}</div>
|
|
35450
35493
|
<div slot="supporting-text"><span class="left">Serialnumber: </span>${this.node.serialNumber}</div>
|
|
35451
35494
|
${this.node.matter_version ? b`<div slot="supporting-text">
|
|
35452
|
-
|
|
35453
|
-
|
|
35495
|
+
<span class="left">Matter version: </span>${this.node.matter_version}
|
|
35496
|
+
</div>` : A}
|
|
35454
35497
|
${this.node.is_bridge ? "" : b` <div slot="supporting-text">
|
|
35455
|
-
|
|
35498
|
+
<span class="left">All device types: </span>${getNodeDeviceTypes(this.node).map(deviceType => {
|
|
35456
35499
|
return deviceType.label;
|
|
35457
35500
|
}).join(" / ")}
|
|
35458
|
-
|
|
35501
|
+
</div>`}
|
|
35459
35502
|
</md-list-item>
|
|
35460
35503
|
<md-list-item>
|
|
35461
35504
|
<div class="btn-row">
|
|
@@ -35463,24 +35506,24 @@ let NodeDetails = class extends i$4 {
|
|
|
35463
35506
|
>Interview<ha-svg-icon slot="icon" .path=${mdiChatProcessing}></ha-svg-icon
|
|
35464
35507
|
></md-outlined-button>
|
|
35465
35508
|
${this._updateInitiated ? b` <md-outlined-button disabled
|
|
35466
|
-
|
|
35467
|
-
|
|
35468
|
-
|
|
35469
|
-
|
|
35470
|
-
|
|
35471
|
-
|
|
35509
|
+
>Checking for updates<ha-svg-icon slot="icon" .path=${mdiUpdate}></ha-svg-icon
|
|
35510
|
+
></md-outlined-button>` : (this.node.updateState ?? 0) > 1 ? b` <md-outlined-button disabled
|
|
35511
|
+
>${getUpdateStateLabel(this.node.updateState, this.node.updateStateProgress)}<ha-svg-icon slot="icon" .path=${mdiUpdate}></ha-svg-icon
|
|
35512
|
+
></md-outlined-button>` : b`<md-outlined-button @click=${handleAsync(() => this._searchUpdate())}
|
|
35513
|
+
>Update<ha-svg-icon slot="icon" .path=${mdiUpdate}></ha-svg-icon
|
|
35514
|
+
></md-outlined-button>`}
|
|
35472
35515
|
${isCamera ? b`
|
|
35473
|
-
|
|
35474
|
-
|
|
35475
|
-
|
|
35476
|
-
|
|
35477
|
-
|
|
35478
|
-
|
|
35479
|
-
|
|
35480
|
-
|
|
35481
|
-
|
|
35482
|
-
|
|
35483
|
-
|
|
35516
|
+
<md-outlined-button
|
|
35517
|
+
@click=${() => this._openCameraOverlay()}
|
|
35518
|
+
?disabled=${!this.node.available}
|
|
35519
|
+
>
|
|
35520
|
+
${isAudioOnly ? "Listen" : isLiveViewCamera ? "Live View" : "Snapshot"}
|
|
35521
|
+
<ha-svg-icon
|
|
35522
|
+
slot="icon"
|
|
35523
|
+
.path=${isAudioOnly ? mdiMicrophone : isLiveViewCamera ? mdiVideo : mdiCamera}
|
|
35524
|
+
></ha-svg-icon>
|
|
35525
|
+
</md-outlined-button>
|
|
35526
|
+
` : A}
|
|
35484
35527
|
<md-outlined-button @click=${handleAsync(() => this._openCommissioningWindow())}
|
|
35485
35528
|
>Share<ha-svg-icon slot="icon" .path=${mdiShareVariant}></ha-svg-icon
|
|
35486
35529
|
></md-outlined-button>
|
|
@@ -35566,20 +35609,21 @@ let NodeDetails = class extends i$4 {
|
|
|
35566
35609
|
title: "Firmware update available",
|
|
35567
35610
|
text: b`Found a firmware update for this node on <b>${nodeUpdate.update_source}</b>.
|
|
35568
35611
|
${isUnverifiedSource ? b`
|
|
35569
|
-
|
|
35570
|
-
|
|
35612
|
+
<p
|
|
35613
|
+
style="
|
|
35571
35614
|
background: var(--md-sys-color-error, #b3261e);
|
|
35572
35615
|
color: var(--md-sys-color-on-error, #fff);
|
|
35573
35616
|
padding: 8px 12px;
|
|
35574
35617
|
border-radius: 4px;
|
|
35575
35618
|
font-weight: bold;
|
|
35576
35619
|
"
|
|
35577
|
-
|
|
35578
|
-
|
|
35579
|
-
|
|
35580
|
-
|
|
35581
|
-
|
|
35582
|
-
|
|
35620
|
+
>
|
|
35621
|
+
Warning: This update was found on an unverified source. Updates from test-net or
|
|
35622
|
+
local sources have not been certified and may contain untested firmware that could
|
|
35623
|
+
result in non-functional devices. Applying these updates is entirely at your own
|
|
35624
|
+
risk.
|
|
35625
|
+
</p>
|
|
35626
|
+
` : A}
|
|
35583
35627
|
<p>
|
|
35584
35628
|
Current version: <b>${this._formatSoftwareVersion()}</b><br />
|
|
35585
35629
|
Do you want to update this node to version
|
|
@@ -36004,6 +36048,117 @@ __decorateClass$n([n$5({
|
|
|
36004
36048
|
type: Number
|
|
36005
36049
|
})], BaseClusterCommands.prototype, "cluster");
|
|
36006
36050
|
|
|
36051
|
+
/**
|
|
36052
|
+
* @license
|
|
36053
|
+
* Copyright 2025-2026 Open Home Foundation
|
|
36054
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
36055
|
+
*/
|
|
36056
|
+
const MatterStatusNames = {
|
|
36057
|
+
0: "Success",
|
|
36058
|
+
1: "Failure",
|
|
36059
|
+
125: "InvalidSubscription",
|
|
36060
|
+
126: "UnsupportedAccess",
|
|
36061
|
+
127: "UnsupportedEndpoint",
|
|
36062
|
+
128: "InvalidAction",
|
|
36063
|
+
129: "UnsupportedCommand",
|
|
36064
|
+
133: "InvalidCommand",
|
|
36065
|
+
134: "UnsupportedAttribute",
|
|
36066
|
+
135: "ConstraintError",
|
|
36067
|
+
136: "UnsupportedWrite",
|
|
36068
|
+
137: "ResourceExhausted",
|
|
36069
|
+
139: "NotFound",
|
|
36070
|
+
140: "UnreportableAttribute",
|
|
36071
|
+
141: "InvalidDataType",
|
|
36072
|
+
143: "UnsupportedRead",
|
|
36073
|
+
146: "DataVersionMismatch",
|
|
36074
|
+
148: "Timeout",
|
|
36075
|
+
155: "UnsupportedNode",
|
|
36076
|
+
156: "Busy",
|
|
36077
|
+
157: "AccessRestricted",
|
|
36078
|
+
195: "UnsupportedCluster",
|
|
36079
|
+
197: "NoUpstreamSubscription",
|
|
36080
|
+
198: "NeedsTimedInteraction",
|
|
36081
|
+
199: "UnsupportedEvent",
|
|
36082
|
+
200: "PathsExhausted",
|
|
36083
|
+
201: "TimedRequestMismatch",
|
|
36084
|
+
202: "FailsafeRequired",
|
|
36085
|
+
203: "InvalidInState",
|
|
36086
|
+
204: "NoCommandResponse",
|
|
36087
|
+
205: "TermsAndConditionsChanged",
|
|
36088
|
+
206: "MaintenanceRequired",
|
|
36089
|
+
207: "DynamicConstraintError",
|
|
36090
|
+
208: "AlreadyExists",
|
|
36091
|
+
209: "InvalidTransportType"
|
|
36092
|
+
};
|
|
36093
|
+
function getMatterStatusName(status) {
|
|
36094
|
+
return MatterStatusNames[status] ?? `Unknown(${status})`;
|
|
36095
|
+
}
|
|
36096
|
+
function analyzeBatchResults(results) {
|
|
36097
|
+
if (!results || results.length === 0) {
|
|
36098
|
+
return {
|
|
36099
|
+
outcome: "all_failed",
|
|
36100
|
+
successCount: 0,
|
|
36101
|
+
failureCount: 0,
|
|
36102
|
+
errorCounts: {},
|
|
36103
|
+
message: "No response/results returned"
|
|
36104
|
+
};
|
|
36105
|
+
}
|
|
36106
|
+
let successCount = 0;
|
|
36107
|
+
let failureCount = 0;
|
|
36108
|
+
const errorCounts = {};
|
|
36109
|
+
for (const result of results) {
|
|
36110
|
+
if (result.status === 0) {
|
|
36111
|
+
successCount++;
|
|
36112
|
+
} else {
|
|
36113
|
+
failureCount++;
|
|
36114
|
+
errorCounts[result.status] = (errorCounts[result.status] ?? 0) + 1;
|
|
36115
|
+
}
|
|
36116
|
+
}
|
|
36117
|
+
let outcome;
|
|
36118
|
+
if (failureCount === 0) {
|
|
36119
|
+
outcome = "all_success";
|
|
36120
|
+
} else if (successCount === 0) {
|
|
36121
|
+
outcome = "all_failed";
|
|
36122
|
+
} else {
|
|
36123
|
+
outcome = "partial";
|
|
36124
|
+
}
|
|
36125
|
+
const message = formatBatchMessage(outcome, successCount, failureCount, errorCounts);
|
|
36126
|
+
return {
|
|
36127
|
+
outcome,
|
|
36128
|
+
successCount,
|
|
36129
|
+
failureCount,
|
|
36130
|
+
errorCounts,
|
|
36131
|
+
message
|
|
36132
|
+
};
|
|
36133
|
+
}
|
|
36134
|
+
function requireWriteSuccess(results, what) {
|
|
36135
|
+
const batch = analyzeBatchResults(results);
|
|
36136
|
+
if (batch.outcome === "all_success") return;
|
|
36137
|
+
if (results?.length === 1) {
|
|
36138
|
+
throw new Error(`${what}: ${getMatterStatusName(results[0].status)} (${results[0].status})`);
|
|
36139
|
+
}
|
|
36140
|
+
throw new Error(`${what}: ${batch.message}`);
|
|
36141
|
+
}
|
|
36142
|
+
function requireAttributeWriteSuccess(results, what) {
|
|
36143
|
+
requireWriteSuccess(results?.map(result => ({
|
|
36144
|
+
status: result.Status
|
|
36145
|
+
})), what);
|
|
36146
|
+
}
|
|
36147
|
+
function formatBatchMessage(outcome, successCount, failureCount, errorCounts) {
|
|
36148
|
+
const entryWord = count => count === 1 ? "entry" : "entries";
|
|
36149
|
+
if (outcome === "all_success") {
|
|
36150
|
+
return "Write successful";
|
|
36151
|
+
}
|
|
36152
|
+
const errorParts = Object.entries(errorCounts).map(([code, count]) => {
|
|
36153
|
+
const statusCode = parseInt(code, 10);
|
|
36154
|
+
return `${count}x ${getMatterStatusName(statusCode)} (${code})`;
|
|
36155
|
+
}).join(", ");
|
|
36156
|
+
if (outcome === "all_failed") {
|
|
36157
|
+
return `All ${failureCount} ${entryWord(failureCount)} failed: ${errorParts}`;
|
|
36158
|
+
}
|
|
36159
|
+
return `Partial failure: ${successCount} ${entryWord(successCount)} succeeded, ${failureCount} failed (${errorParts}). Please verify.`;
|
|
36160
|
+
}
|
|
36161
|
+
|
|
36007
36162
|
/**
|
|
36008
36163
|
* @license
|
|
36009
36164
|
* Copyright 2025-2026 Open Home Foundation
|
|
@@ -36022,7 +36177,10 @@ function toApiAcl$1(e) {
|
|
|
36022
36177
|
};
|
|
36023
36178
|
}
|
|
36024
36179
|
async function freshOurAcl$1(client, nodeId) {
|
|
36025
|
-
const res = await client.readAttribute(nodeId, ["0/31/0", "0/62/5"]);
|
|
36180
|
+
const res = await client.readAttribute(nodeId, ["0/31/0", "0/62/5"], void 0, true);
|
|
36181
|
+
if (!("0/31/0" in res)) {
|
|
36182
|
+
throw new Error(`Could not read the access control list (0/31/0) from node ${nodeId}`);
|
|
36183
|
+
}
|
|
36026
36184
|
const all = attributeArray(res["0/31/0"]).map(v => AccessControlEntryDataTransformer.transform(v));
|
|
36027
36185
|
const fi = res["0/62/5"];
|
|
36028
36186
|
if (typeof fi !== "number") {
|
|
@@ -36033,7 +36191,7 @@ async function freshOurAcl$1(client, nodeId) {
|
|
|
36033
36191
|
async function addAclEntry(client, nodeId, entry) {
|
|
36034
36192
|
const acl = await freshOurAcl$1(client, nodeId);
|
|
36035
36193
|
acl.push(entry);
|
|
36036
|
-
await client.setACLEntry(nodeId, acl.map(toApiAcl$1));
|
|
36194
|
+
requireWriteSuccess(await client.setACLEntry(nodeId, acl.map(toApiAcl$1)), "Writing the access control list failed");
|
|
36037
36195
|
}
|
|
36038
36196
|
async function deleteAclEntry(client, nodeId, key) {
|
|
36039
36197
|
const acl = await freshOurAcl$1(client, nodeId);
|
|
@@ -36045,7 +36203,7 @@ async function deleteAclEntry(client, nodeId, key) {
|
|
|
36045
36203
|
}
|
|
36046
36204
|
return true;
|
|
36047
36205
|
});
|
|
36048
|
-
await client.setACLEntry(nodeId, kept.map(toApiAcl$1));
|
|
36206
|
+
requireWriteSuccess(await client.setACLEntry(nodeId, kept.map(toApiAcl$1)), "Writing the access control list failed");
|
|
36049
36207
|
}
|
|
36050
36208
|
async function downgradeToOperate(client, nodeId, keys) {
|
|
36051
36209
|
const acl = await freshOurAcl$1(client, nodeId);
|
|
@@ -36053,7 +36211,7 @@ async function downgradeToOperate(client, nodeId, keys) {
|
|
|
36053
36211
|
...e,
|
|
36054
36212
|
privilege: Privilege.Operate
|
|
36055
36213
|
} : e);
|
|
36056
|
-
await client.setACLEntry(nodeId, updated.map(toApiAcl$1));
|
|
36214
|
+
requireWriteSuccess(await client.setACLEntry(nodeId, updated.map(toApiAcl$1)), "Writing the access control list failed");
|
|
36057
36215
|
}
|
|
36058
36216
|
|
|
36059
36217
|
/**
|
|
@@ -36062,7 +36220,7 @@ async function downgradeToOperate(client, nodeId, keys) {
|
|
|
36062
36220
|
* SPDX-License-Identifier: Apache-2.0
|
|
36063
36221
|
*/
|
|
36064
36222
|
const showNodeAclAddDialog = async node => {
|
|
36065
|
-
await import('./node-acl-add-dialog-
|
|
36223
|
+
await import('./node-acl-add-dialog-D4ZLnora.js');
|
|
36066
36224
|
const dialog = document.createElement("node-acl-add-dialog");
|
|
36067
36225
|
dialog.node = node;
|
|
36068
36226
|
document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
|
|
@@ -36119,29 +36277,39 @@ _staticBlock$1();
|
|
|
36119
36277
|
* Copyright 2025-2026 Open Home Foundation
|
|
36120
36278
|
* SPDX-License-Identifier: Apache-2.0
|
|
36121
36279
|
*/
|
|
36122
|
-
const
|
|
36280
|
+
const BINDING_CLUSTER_ID = 30;
|
|
36281
|
+
const BINDING_KEY_RE = new RegExp(`^(\\d+)/${BINDING_CLUSTER_ID}/0$`);
|
|
36123
36282
|
function readBindings(node, endpoint) {
|
|
36124
|
-
return attributeArray(node.attributes[`${endpoint}/
|
|
36283
|
+
return attributeArray(node.attributes[`${endpoint}/${BINDING_CLUSTER_ID}/0`]).map(value => BindingEntryDataTransformer.transform(value));
|
|
36284
|
+
}
|
|
36285
|
+
function readOurBindings(node, endpoint) {
|
|
36286
|
+
const fabricIndex = nodeFabricIndex(node);
|
|
36287
|
+
return readBindings(node, endpoint).filter(b => fabricIndex === void 0 || b.fabricIndex === fabricIndex);
|
|
36288
|
+
}
|
|
36289
|
+
function sameBindingTarget(a, b) {
|
|
36290
|
+
const key = id => id == null ? "" : nodeIdKey(id);
|
|
36291
|
+
return key(a.node) === key(b.node) && a.group === b.group && a.endpoint === b.endpoint && a.cluster === b.cluster;
|
|
36125
36292
|
}
|
|
36126
36293
|
function readAllBindings(node) {
|
|
36294
|
+
const fabricIndex = nodeFabricIndex(node);
|
|
36127
36295
|
const result = new Array();
|
|
36128
36296
|
for (const key of Object.keys(node.attributes)) {
|
|
36129
36297
|
const m = BINDING_KEY_RE.exec(key);
|
|
36130
36298
|
if (!m) continue;
|
|
36131
36299
|
const endpoint = Number(m[1]);
|
|
36132
36300
|
for (const value of attributeArray(node.attributes[key])) {
|
|
36301
|
+
const binding = BindingEntryDataTransformer.transform(value);
|
|
36302
|
+
if (fabricIndex !== void 0 && binding.fabricIndex !== fabricIndex) continue;
|
|
36133
36303
|
result.push({
|
|
36134
36304
|
endpoint,
|
|
36135
|
-
binding
|
|
36305
|
+
binding
|
|
36136
36306
|
});
|
|
36137
36307
|
}
|
|
36138
36308
|
}
|
|
36139
36309
|
return result;
|
|
36140
36310
|
}
|
|
36141
36311
|
function numberList(node, key) {
|
|
36142
|
-
|
|
36143
|
-
if (!Array.isArray(raw)) return new Array();
|
|
36144
|
-
return raw.map(v => Number(v));
|
|
36312
|
+
return attributeArray(node.attributes[key]).map(v => Number(v));
|
|
36145
36313
|
}
|
|
36146
36314
|
function targetServerClusters(node, endpoint) {
|
|
36147
36315
|
return numberList(node, `${endpoint}/29/1`);
|
|
@@ -36149,6 +36317,14 @@ function targetServerClusters(node, endpoint) {
|
|
|
36149
36317
|
function sourceClientClusters(node, endpoint) {
|
|
36150
36318
|
return numberList(node, `${endpoint}/29/2`);
|
|
36151
36319
|
}
|
|
36320
|
+
function boundClientClusterIds(node, endpoint) {
|
|
36321
|
+
const bindings = readOurBindings(node, endpoint);
|
|
36322
|
+
const bound = new Set(bindings.map(b => b.cluster).filter(c => c !== void 0));
|
|
36323
|
+
if (bindings.some(b => b.cluster === void 0 && (b.group !== void 0 || b.endpoint !== void 0))) {
|
|
36324
|
+
for (const cluster of sourceClientClusters(node, endpoint)) bound.add(cluster);
|
|
36325
|
+
}
|
|
36326
|
+
return bound;
|
|
36327
|
+
}
|
|
36152
36328
|
function bindableClusters(source, sourceEndpoint, target, targetEndpoint) {
|
|
36153
36329
|
const client = new Set(sourceClientClusters(source, sourceEndpoint));
|
|
36154
36330
|
const server = targetServerClusters(target, targetEndpoint);
|
|
@@ -36284,7 +36460,7 @@ let AccessControlClusterCommands = class extends BaseClusterCommands {
|
|
|
36284
36460
|
if (this._loadedKey === key) return;
|
|
36285
36461
|
this._loadedKey = key;
|
|
36286
36462
|
try {
|
|
36287
|
-
const res = await this.client.readAttribute(node.node_id, ["0/31/0", "0/62/5"]);
|
|
36463
|
+
const res = await this.client.readAttribute(node.node_id, ["0/31/0", "0/62/5"], void 0, true);
|
|
36288
36464
|
if (!this.isSameContext(node, endpoint)) return;
|
|
36289
36465
|
for (const [k, v] of Object.entries(res)) this.node.attributes[k] = v;
|
|
36290
36466
|
this.requestUpdate();
|
|
@@ -36326,6 +36502,8 @@ let AccessControlClusterCommands = class extends BaseClusterCommands {
|
|
|
36326
36502
|
title: "Delete failed",
|
|
36327
36503
|
text: err instanceof Error ? err.message : String(err)
|
|
36328
36504
|
});
|
|
36505
|
+
} else {
|
|
36506
|
+
console.error("Delete failed", err);
|
|
36329
36507
|
}
|
|
36330
36508
|
} finally {
|
|
36331
36509
|
this._busy = false;
|
|
@@ -36343,6 +36521,8 @@ let AccessControlClusterCommands = class extends BaseClusterCommands {
|
|
|
36343
36521
|
title: "Fix failed",
|
|
36344
36522
|
text: err instanceof Error ? err.message : String(err)
|
|
36345
36523
|
});
|
|
36524
|
+
} else {
|
|
36525
|
+
console.error("Fix failed", err);
|
|
36346
36526
|
}
|
|
36347
36527
|
} finally {
|
|
36348
36528
|
this._busy = false;
|
|
@@ -36405,16 +36585,16 @@ let AccessControlClusterCommands = class extends BaseClusterCommands {
|
|
|
36405
36585
|
<summary>Access Control — ACL Entries (${entries.length})</summary>
|
|
36406
36586
|
<div class="command-content">
|
|
36407
36587
|
${overPrivilegedKeys.size >= 2 ? b`<div class="banner">
|
|
36408
|
-
|
|
36409
|
-
|
|
36410
|
-
|
|
36411
|
-
|
|
36412
|
-
|
|
36413
|
-
|
|
36414
|
-
|
|
36415
|
-
|
|
36416
|
-
|
|
36417
|
-
|
|
36588
|
+
<span
|
|
36589
|
+
>${overPrivilegedKeys.size} binding ACL entries grant Administer where Operate is
|
|
36590
|
+
sufficient.</span
|
|
36591
|
+
>
|
|
36592
|
+
<md-outlined-button
|
|
36593
|
+
?disabled=${this._busy || !this.node.available}
|
|
36594
|
+
@click=${handleAsync(() => this._fix(overPrivilegedKeys))}
|
|
36595
|
+
>Fix all → Operate</md-outlined-button
|
|
36596
|
+
>
|
|
36597
|
+
</div>` : A}
|
|
36418
36598
|
<table class="acl">
|
|
36419
36599
|
<thead>
|
|
36420
36600
|
<tr>
|
|
@@ -36451,13 +36631,13 @@ let AccessControlClusterCommands = class extends BaseClusterCommands {
|
|
|
36451
36631
|
>${PRIVILEGE_NAMES[entry.privilege] ?? entry.privilege} · ${entry.privilege}</span
|
|
36452
36632
|
>
|
|
36453
36633
|
${overPrivileged ? b`<div>
|
|
36454
|
-
|
|
36455
|
-
|
|
36456
|
-
|
|
36457
|
-
|
|
36458
|
-
|
|
36459
|
-
|
|
36460
|
-
|
|
36634
|
+
<md-outlined-button
|
|
36635
|
+
class="fix"
|
|
36636
|
+
?disabled=${this._busy || !this.node.available}
|
|
36637
|
+
@click=${handleAsync(() => this._fix(/* @__PURE__ */new Set([aclEntryKey(entry)])))}
|
|
36638
|
+
>Fix → Operate</md-outlined-button
|
|
36639
|
+
>
|
|
36640
|
+
</div>` : A}
|
|
36461
36641
|
</td>
|
|
36462
36642
|
<td>${AUTH_MODE_NAMES[entry.authMode] ?? entry.authMode}</td>
|
|
36463
36643
|
<td>${this._renderSubjects(entry)}</td>
|
|
@@ -36465,16 +36645,16 @@ let AccessControlClusterCommands = class extends BaseClusterCommands {
|
|
|
36465
36645
|
<td>${this._renderRelationship(rel)}</td>
|
|
36466
36646
|
<td>
|
|
36467
36647
|
${protectedEntry ? b`<ha-svg-icon
|
|
36468
|
-
|
|
36469
|
-
|
|
36470
|
-
|
|
36471
|
-
|
|
36472
|
-
|
|
36473
|
-
|
|
36474
|
-
|
|
36475
|
-
|
|
36476
|
-
|
|
36477
|
-
|
|
36648
|
+
class="lock"
|
|
36649
|
+
.path=${mdiLock}
|
|
36650
|
+
title="Your controller's administrator entry — deleting it would lock you out."
|
|
36651
|
+
></ha-svg-icon>` : b`<md-outlined-button
|
|
36652
|
+
class="danger"
|
|
36653
|
+
?disabled=${this._busy || !this.node.available}
|
|
36654
|
+
@click=${handleAsync(() => this._delete(entry))}
|
|
36655
|
+
>
|
|
36656
|
+
<ha-svg-icon .path=${mdiTrashCan} slot="icon"></ha-svg-icon>delete
|
|
36657
|
+
</md-outlined-button>`}
|
|
36478
36658
|
</td>
|
|
36479
36659
|
</tr>
|
|
36480
36660
|
`;
|
|
@@ -36652,86 +36832,86 @@ let AvsumClusterCommands = class extends BaseClusterCommands {
|
|
|
36652
36832
|
${features.mTilt && pos.tilt !== null ? b`<span><b>Tilt</b> ${this._fmtDeg(pos.tilt)}</span>` : A}
|
|
36653
36833
|
${features.mZoom && pos.zoom !== null ? b`<span><b>Zoom</b> ${pos.zoom}×</span>` : A}
|
|
36654
36834
|
${movement !== "unknown" ? b`<span class="badge ${movement === "moving" ? "moving" : ""}"
|
|
36655
|
-
|
|
36656
|
-
|
|
36835
|
+
>${movement === "moving" ? "Moving\u2026" : "Idle"}</span
|
|
36836
|
+
>` : A}
|
|
36657
36837
|
${features.mPan && ranges.panMin !== null && ranges.panMax !== null ? b`<span class="range">P [${ranges.panMin}°, ${ranges.panMax}°]</span>` : A}
|
|
36658
36838
|
${features.mTilt && ranges.tiltMin !== null && ranges.tiltMax !== null ? b`<span class="range">T [${ranges.tiltMin}°, ${ranges.tiltMax}°]</span>` : A}
|
|
36659
36839
|
${features.mZoom && ranges.zoomMax !== null ? b`<span class="range">Z [1×, ${ranges.zoomMax}×]</span>` : A}
|
|
36660
36840
|
</div>
|
|
36661
36841
|
${features.mPan || features.mTilt || features.mZoom ? b`<div class="dpad-row">
|
|
36662
|
-
|
|
36663
|
-
|
|
36664
|
-
|
|
36665
|
-
|
|
36666
|
-
|
|
36667
|
-
|
|
36668
|
-
|
|
36842
|
+
<div class="dpad-grid">
|
|
36843
|
+
<span></span>
|
|
36844
|
+
<md-outlined-icon-button
|
|
36845
|
+
?disabled=${!features.mTilt || movement === "moving"}
|
|
36846
|
+
title="Tilt up (Shift = fine)"
|
|
36847
|
+
aria-label="Tilt up"
|
|
36848
|
+
@click=${handleAsyncEvent(e => this._move({
|
|
36669
36849
|
tiltDelta: this._stepFromEvent(e, 10)
|
|
36670
36850
|
}))}
|
|
36671
|
-
|
|
36672
|
-
|
|
36673
|
-
|
|
36674
|
-
|
|
36675
|
-
|
|
36676
|
-
|
|
36677
|
-
|
|
36678
|
-
|
|
36679
|
-
|
|
36851
|
+
>
|
|
36852
|
+
<ha-svg-icon .path=${mdiArrowUp}></ha-svg-icon>
|
|
36853
|
+
</md-outlined-icon-button>
|
|
36854
|
+
<span></span>
|
|
36855
|
+
<md-outlined-icon-button
|
|
36856
|
+
?disabled=${!features.mPan || movement === "moving"}
|
|
36857
|
+
title="Pan left (Shift = fine)"
|
|
36858
|
+
aria-label="Pan left"
|
|
36859
|
+
@click=${handleAsyncEvent(e => this._move({
|
|
36680
36860
|
panDelta: this._stepFromEvent(e, -10)
|
|
36681
36861
|
}))}
|
|
36682
|
-
|
|
36683
|
-
|
|
36684
|
-
|
|
36685
|
-
|
|
36686
|
-
|
|
36687
|
-
|
|
36688
|
-
|
|
36689
|
-
|
|
36690
|
-
|
|
36691
|
-
|
|
36692
|
-
|
|
36862
|
+
>
|
|
36863
|
+
<ha-svg-icon .path=${mdiArrowLeft}></ha-svg-icon>
|
|
36864
|
+
</md-outlined-icon-button>
|
|
36865
|
+
<span class="dpad-center" aria-hidden="true">
|
|
36866
|
+
<ha-svg-icon .path=${mdiCircleMedium}></ha-svg-icon>
|
|
36867
|
+
</span>
|
|
36868
|
+
<md-outlined-icon-button
|
|
36869
|
+
?disabled=${!features.mPan || movement === "moving"}
|
|
36870
|
+
title="Pan right (Shift = fine)"
|
|
36871
|
+
aria-label="Pan right"
|
|
36872
|
+
@click=${handleAsyncEvent(e => this._move({
|
|
36693
36873
|
panDelta: this._stepFromEvent(e, 10)
|
|
36694
36874
|
}))}
|
|
36695
|
-
|
|
36696
|
-
|
|
36697
|
-
|
|
36698
|
-
|
|
36699
|
-
|
|
36700
|
-
|
|
36701
|
-
|
|
36702
|
-
|
|
36703
|
-
|
|
36875
|
+
>
|
|
36876
|
+
<ha-svg-icon .path=${mdiArrowRight}></ha-svg-icon>
|
|
36877
|
+
</md-outlined-icon-button>
|
|
36878
|
+
<span></span>
|
|
36879
|
+
<md-outlined-icon-button
|
|
36880
|
+
?disabled=${!features.mTilt || movement === "moving"}
|
|
36881
|
+
title="Tilt down (Shift = fine)"
|
|
36882
|
+
aria-label="Tilt down"
|
|
36883
|
+
@click=${handleAsyncEvent(e => this._move({
|
|
36704
36884
|
tiltDelta: this._stepFromEvent(e, -10)
|
|
36705
36885
|
}))}
|
|
36706
|
-
|
|
36707
|
-
|
|
36708
|
-
|
|
36709
|
-
|
|
36710
|
-
|
|
36711
|
-
|
|
36712
|
-
|
|
36713
|
-
|
|
36714
|
-
|
|
36715
|
-
|
|
36716
|
-
|
|
36886
|
+
>
|
|
36887
|
+
<ha-svg-icon .path=${mdiArrowDown}></ha-svg-icon>
|
|
36888
|
+
</md-outlined-icon-button>
|
|
36889
|
+
<span></span>
|
|
36890
|
+
</div>
|
|
36891
|
+
${features.mZoom ? b`<div class="zoom-col">
|
|
36892
|
+
<md-outlined-icon-button
|
|
36893
|
+
?disabled=${movement === "moving"}
|
|
36894
|
+
title="Zoom in (Shift = fine)"
|
|
36895
|
+
aria-label="Zoom in"
|
|
36896
|
+
@click=${handleAsyncEvent(e => this._move({
|
|
36717
36897
|
zoomDelta: this._stepFromEvent(e, 10)
|
|
36718
36898
|
}))}
|
|
36719
|
-
|
|
36720
|
-
|
|
36721
|
-
|
|
36722
|
-
|
|
36723
|
-
|
|
36724
|
-
|
|
36725
|
-
|
|
36726
|
-
|
|
36727
|
-
|
|
36899
|
+
>
|
|
36900
|
+
<ha-svg-icon .path=${mdiPlus}></ha-svg-icon>
|
|
36901
|
+
</md-outlined-icon-button>
|
|
36902
|
+
<span class="muted small">zoom</span>
|
|
36903
|
+
<md-outlined-icon-button
|
|
36904
|
+
?disabled=${movement === "moving"}
|
|
36905
|
+
title="Zoom out (Shift = fine)"
|
|
36906
|
+
aria-label="Zoom out"
|
|
36907
|
+
@click=${handleAsyncEvent(e => this._move({
|
|
36728
36908
|
zoomDelta: this._stepFromEvent(e, -10)
|
|
36729
36909
|
}))}
|
|
36730
|
-
|
|
36731
|
-
|
|
36732
|
-
|
|
36733
|
-
|
|
36734
|
-
|
|
36910
|
+
>
|
|
36911
|
+
<ha-svg-icon .path=${mdiMinus}></ha-svg-icon>
|
|
36912
|
+
</md-outlined-icon-button>
|
|
36913
|
+
</div>` : A}
|
|
36914
|
+
</div>` : A}
|
|
36735
36915
|
${this._toast ? b`<div class="toast">${this._toast}</div>` : A}
|
|
36736
36916
|
${features.mPresets ? (() => {
|
|
36737
36917
|
const {
|
|
@@ -36739,76 +36919,77 @@ let AvsumClusterCommands = class extends BaseClusterCommands {
|
|
|
36739
36919
|
max
|
|
36740
36920
|
} = readPresets(this.node, this.endpoint);
|
|
36741
36921
|
return b`
|
|
36742
|
-
|
|
36743
|
-
|
|
36744
|
-
|
|
36745
|
-
|
|
36746
|
-
|
|
36747
|
-
|
|
36748
|
-
|
|
36749
|
-
|
|
36750
|
-
|
|
36751
|
-
|
|
36752
|
-
>
|
|
36753
|
-
${p.name}
|
|
36754
|
-
</button>`)}
|
|
36755
|
-
${items.length === 0 ? b`<span class="muted small">No presets saved.</span>` : A}
|
|
36756
|
-
</div>
|
|
36757
|
-
<details class="manager">
|
|
36758
|
-
<summary>Manage presets…</summary>
|
|
36759
|
-
${items.map(p => b`<div class="preset-row">
|
|
36760
|
-
<span class="pid">#${p.presetId}</span>
|
|
36761
|
-
<span class="pname">${p.name}</span>
|
|
36762
|
-
<span class="pcoord">
|
|
36763
|
-
p=${this._fmtDeg(p.settings.pan ?? 0)} ·
|
|
36764
|
-
t=${this._fmtDeg(p.settings.tilt ?? 0)} ·
|
|
36765
|
-
z=${p.settings.zoom ?? 1}×
|
|
36766
|
-
</span>
|
|
36767
|
-
<span class="grow"></span>
|
|
36768
|
-
<md-outlined-icon-button
|
|
36769
|
-
title="Overwrite with current MPTZ"
|
|
36770
|
-
@click=${handleAsync(() => this._savePresetUpdate(p.presetId))}
|
|
36771
|
-
>
|
|
36772
|
-
<ha-svg-icon .path=${mdiContentSaveOutline}></ha-svg-icon>
|
|
36773
|
-
</md-outlined-icon-button>
|
|
36774
|
-
<md-outlined-icon-button
|
|
36775
|
-
title="Rename (also overwrites position with current MPTZ)"
|
|
36776
|
-
aria-label="Rename preset"
|
|
36777
|
-
@click=${handleAsync(() => this._renamePreset(p.presetId, p.name))}
|
|
36778
|
-
>
|
|
36779
|
-
<ha-svg-icon .path=${mdiPencil}></ha-svg-icon>
|
|
36780
|
-
</md-outlined-icon-button>
|
|
36781
|
-
<md-outlined-icon-button
|
|
36782
|
-
title="Remove"
|
|
36783
|
-
@click=${handleAsync(() => this._removePreset(p.presetId, p.name))}
|
|
36922
|
+
<div class="presets-frame">
|
|
36923
|
+
<div class="presets-header">
|
|
36924
|
+
<span>Presets</span>
|
|
36925
|
+
<span class="muted small">${items.length} / ${max}</span>
|
|
36926
|
+
</div>
|
|
36927
|
+
<div class="chip-row">
|
|
36928
|
+
${items.map(p => b`<button
|
|
36929
|
+
class="chip"
|
|
36930
|
+
title="p=${this._fmtDeg(p.settings.pan ?? 0)} · t=${this._fmtDeg(p.settings.tilt ?? 0)} · z=${p.settings.zoom ?? 1}×"
|
|
36931
|
+
@click=${handleAsync(() => this._goPreset(p.presetId))}
|
|
36784
36932
|
>
|
|
36785
|
-
|
|
36786
|
-
</
|
|
36787
|
-
|
|
36788
|
-
<div class="add-bar">
|
|
36789
|
-
<input
|
|
36790
|
-
class="add-input"
|
|
36791
|
-
placeholder="New preset name…"
|
|
36792
|
-
.value=${this._newPresetName}
|
|
36793
|
-
@input=${e => this._newPresetName = e.target.value}
|
|
36794
|
-
/>
|
|
36795
|
-
<md-outlined-button
|
|
36796
|
-
?disabled=${!this._newPresetName.trim() || items.length >= max}
|
|
36797
|
-
@click=${handleAsync(() => this._saveNewPreset())}
|
|
36798
|
-
>
|
|
36799
|
-
Save current MPTZ
|
|
36800
|
-
</md-outlined-button>
|
|
36933
|
+
${p.name}
|
|
36934
|
+
</button>`)}
|
|
36935
|
+
${items.length === 0 ? b`<span class="muted small">No presets saved.</span>` : A}
|
|
36801
36936
|
</div>
|
|
36802
|
-
|
|
36803
|
-
|
|
36804
|
-
|
|
36937
|
+
<details class="manager">
|
|
36938
|
+
<summary>Manage presets…</summary>
|
|
36939
|
+
${items.map(p => b`<div class="preset-row">
|
|
36940
|
+
<span class="pid">#${p.presetId}</span>
|
|
36941
|
+
<span class="pname">${p.name}</span>
|
|
36942
|
+
<span class="pcoord">
|
|
36943
|
+
p=${this._fmtDeg(p.settings.pan ?? 0)} ·
|
|
36944
|
+
t=${this._fmtDeg(p.settings.tilt ?? 0)} ·
|
|
36945
|
+
z=${p.settings.zoom ?? 1}×
|
|
36946
|
+
</span>
|
|
36947
|
+
<span class="grow"></span>
|
|
36948
|
+
<md-outlined-icon-button
|
|
36949
|
+
title="Overwrite with current MPTZ"
|
|
36950
|
+
@click=${handleAsync(() => this._savePresetUpdate(p.presetId))}
|
|
36951
|
+
>
|
|
36952
|
+
<ha-svg-icon .path=${mdiContentSaveOutline}></ha-svg-icon>
|
|
36953
|
+
</md-outlined-icon-button>
|
|
36954
|
+
<md-outlined-icon-button
|
|
36955
|
+
title="Rename (also overwrites position with current MPTZ)"
|
|
36956
|
+
aria-label="Rename preset"
|
|
36957
|
+
@click=${handleAsync(() => this._renamePreset(p.presetId, p.name))}
|
|
36958
|
+
>
|
|
36959
|
+
<ha-svg-icon .path=${mdiPencil}></ha-svg-icon>
|
|
36960
|
+
</md-outlined-icon-button>
|
|
36961
|
+
<md-outlined-icon-button
|
|
36962
|
+
title="Remove"
|
|
36963
|
+
@click=${handleAsync(() => this._removePreset(p.presetId, p.name))}
|
|
36964
|
+
>
|
|
36965
|
+
<ha-svg-icon .path=${mdiTrashCan}></ha-svg-icon>
|
|
36966
|
+
</md-outlined-icon-button>
|
|
36967
|
+
</div>`)}
|
|
36968
|
+
<div class="add-bar">
|
|
36969
|
+
<input
|
|
36970
|
+
class="add-input"
|
|
36971
|
+
placeholder="New preset name…"
|
|
36972
|
+
.value=${this._newPresetName}
|
|
36973
|
+
@input=${e => this._newPresetName = e.target.value}
|
|
36974
|
+
/>
|
|
36975
|
+
<md-outlined-button
|
|
36976
|
+
?disabled=${!this._newPresetName.trim() || items.length >= max}
|
|
36977
|
+
@click=${handleAsync(() => this._saveNewPreset())}
|
|
36978
|
+
>
|
|
36979
|
+
Save current MPTZ
|
|
36980
|
+
</md-outlined-button>
|
|
36981
|
+
</div>
|
|
36982
|
+
</details>
|
|
36983
|
+
</div>
|
|
36984
|
+
`;
|
|
36805
36985
|
})() : A}
|
|
36806
36986
|
${features.dptz ? (() => {
|
|
36807
36987
|
const streams = readDptzStreams(this.node, this.endpoint);
|
|
36808
36988
|
return b`<div class="dptz-note">
|
|
36809
|
-
|
|
36810
|
-
|
|
36811
|
-
|
|
36989
|
+
Digital PTZ: <b>${streams.length}</b> active
|
|
36990
|
+
stream${streams.length === 1 ? "" : "s"}
|
|
36991
|
+
<span class="muted small">(controls available during live view)</span>
|
|
36992
|
+
</div>`;
|
|
36812
36993
|
})() : A}
|
|
36813
36994
|
</div>
|
|
36814
36995
|
</details>
|
|
@@ -38091,8 +38272,8 @@ const NODE_LABEL_CLUSTER_ID = 40;
|
|
|
38091
38272
|
const NODE_LABEL_ATTRIBUTE_ID = 5;
|
|
38092
38273
|
const MAX_NODE_LABEL_LENGTH = 32;
|
|
38093
38274
|
const NODE_LABEL_ATTRIBUTE_PATH = `0/${NODE_LABEL_CLUSTER_ID}/${NODE_LABEL_ATTRIBUTE_ID}`;
|
|
38094
|
-
function writeNodeLabel(client, node, label) {
|
|
38095
|
-
|
|
38275
|
+
async function writeNodeLabel(client, node, label) {
|
|
38276
|
+
requireAttributeWriteSuccess(await client.writeAttribute(node.node_id, NODE_LABEL_ATTRIBUTE_PATH, label.trim()), "Writing the node label failed");
|
|
38096
38277
|
}
|
|
38097
38278
|
|
|
38098
38279
|
var __defProp$h = Object.defineProperty;
|
|
@@ -38253,14 +38434,21 @@ function requireFabricIndex(res, nodeId) {
|
|
|
38253
38434
|
}
|
|
38254
38435
|
return fi;
|
|
38255
38436
|
}
|
|
38437
|
+
function requireList(res, path, nodeId) {
|
|
38438
|
+
if (!(path in res)) {
|
|
38439
|
+
throw new Error(`Could not read ${path} from node ${nodeId}`);
|
|
38440
|
+
}
|
|
38441
|
+
return res[path];
|
|
38442
|
+
}
|
|
38256
38443
|
async function freshOurAcl(client, nodeId) {
|
|
38257
|
-
const res = await client.readAttribute(nodeId, ["0/31/0", "0/62/5"]);
|
|
38258
|
-
const all = attributeArray(res
|
|
38444
|
+
const res = await client.readAttribute(nodeId, ["0/31/0", "0/62/5"], void 0, true);
|
|
38445
|
+
const all = attributeArray(requireList(res, "0/31/0", nodeId)).map(v => AccessControlEntryDataTransformer.transform(v));
|
|
38259
38446
|
return entriesForFabric(all, requireFabricIndex(res, nodeId));
|
|
38260
38447
|
}
|
|
38261
38448
|
async function freshOurBindings(client, nodeId, endpoint) {
|
|
38262
|
-
const
|
|
38263
|
-
const
|
|
38449
|
+
const path = `${endpoint}/${BINDING_CLUSTER_ID}/0`;
|
|
38450
|
+
const res = await client.readAttribute(nodeId, [path, "0/62/5"], void 0, true);
|
|
38451
|
+
const all = attributeArray(requireList(res, path, nodeId)).map(v => BindingEntryDataTransformer.transform(v));
|
|
38264
38452
|
const fabricIndex = requireFabricIndex(res, nodeId);
|
|
38265
38453
|
return all.filter(b => b.fabricIndex === fabricIndex);
|
|
38266
38454
|
}
|
|
@@ -38300,7 +38488,7 @@ async function ensureBindingAcl(client, sourceNodeId, targetNodeId, targetEndpoi
|
|
|
38300
38488
|
fabricIndex: 0
|
|
38301
38489
|
});
|
|
38302
38490
|
}
|
|
38303
|
-
await client.setACLEntry(targetNodeId, acl.map(toApiAcl));
|
|
38491
|
+
requireWriteSuccess(await client.setACLEntry(targetNodeId, acl.map(toApiAcl)), "Writing the access control list on the target node failed");
|
|
38304
38492
|
}
|
|
38305
38493
|
async function fixOverPrivilegedBindingAcl(client, sourceNodeId, targetNodeId, targetEndpoint, cluster) {
|
|
38306
38494
|
const acl = await freshOurAcl(client, targetNodeId);
|
|
@@ -38308,7 +38496,7 @@ async function fixOverPrivilegedBindingAcl(client, sourceNodeId, targetNodeId, t
|
|
|
38308
38496
|
...e,
|
|
38309
38497
|
privilege: Privilege.Operate
|
|
38310
38498
|
} : e);
|
|
38311
|
-
await client.setACLEntry(targetNodeId, updated.map(toApiAcl));
|
|
38499
|
+
requireWriteSuccess(await client.setACLEntry(targetNodeId, updated.map(toApiAcl)), "Writing the access control list on the target node failed");
|
|
38312
38500
|
}
|
|
38313
38501
|
async function addBinding(client, sourceNode, sourceEndpoint, targetNodeId, targetEndpoint, cluster) {
|
|
38314
38502
|
await ensureBindingAcl(client, sourceNode.node_id, targetNodeId, targetEndpoint, cluster);
|
|
@@ -38323,14 +38511,20 @@ async function addBinding(client, sourceNode, sourceEndpoint, targetNodeId, targ
|
|
|
38323
38511
|
cluster,
|
|
38324
38512
|
fabricIndex: void 0
|
|
38325
38513
|
});
|
|
38326
|
-
|
|
38514
|
+
try {
|
|
38515
|
+
requireWriteSuccess(await client.setNodeBinding(sourceNode.node_id, sourceEndpoint, bindings.map(toBindingTarget)), "Writing the binding table failed");
|
|
38516
|
+
} catch (err) {
|
|
38517
|
+
const detail = err instanceof Error ? err.message : String(err);
|
|
38518
|
+
throw new Error(`${detail}. An access grant for this node was already added on the target and may need cleanup.`);
|
|
38519
|
+
}
|
|
38327
38520
|
}
|
|
38328
|
-
async function
|
|
38521
|
+
async function deleteBinding(client, sourceNode, sourceEndpoint, target) {
|
|
38329
38522
|
const bindings = await freshOurBindings(client, sourceNode.node_id, sourceEndpoint);
|
|
38523
|
+
const index = bindings.findIndex(b => sameBindingTarget(b, target));
|
|
38330
38524
|
const removed = bindings[index];
|
|
38331
38525
|
if (!removed) return;
|
|
38332
38526
|
const updated = [...bindings.slice(0, index), ...bindings.slice(index + 1)];
|
|
38333
|
-
await client.setNodeBinding(sourceNode.node_id, sourceEndpoint, updated.map(toBindingTarget));
|
|
38527
|
+
requireWriteSuccess(await client.setNodeBinding(sourceNode.node_id, sourceEndpoint, updated.map(toBindingTarget)), "Writing the binding table failed");
|
|
38334
38528
|
if (removed.node == null || removed.endpoint == null) return;
|
|
38335
38529
|
if (nodeIdKey(removed.node) === nodeIdKey(sourceNode.node_id)) return;
|
|
38336
38530
|
const targetEndpoint = removed.endpoint;
|
|
@@ -38346,7 +38540,7 @@ async function deleteBindingAtIndex(client, sourceNode, sourceEndpoint, index) {
|
|
|
38346
38540
|
targets
|
|
38347
38541
|
};
|
|
38348
38542
|
}).filter(e => e !== void 0);
|
|
38349
|
-
await client.setACLEntry(removed.node, kept.map(toApiAcl));
|
|
38543
|
+
requireWriteSuccess(await client.setACLEntry(removed.node, kept.map(toApiAcl)), "Writing the access control list failed");
|
|
38350
38544
|
} catch (err) {
|
|
38351
38545
|
const detail = err instanceof Error ? err.message : String(err);
|
|
38352
38546
|
throw new Error(`Binding removed, but cleaning up the access control entry on the target node failed: ${detail}. The target may retain a stale access grant.`);
|
|
@@ -38359,7 +38553,7 @@ async function deleteBindingAtIndex(client, sourceNode, sourceEndpoint, index) {
|
|
|
38359
38553
|
* SPDX-License-Identifier: Apache-2.0
|
|
38360
38554
|
*/
|
|
38361
38555
|
const showNodeBindingDialog = async (node, endpoint) => {
|
|
38362
|
-
await import('./node-binding-dialog-
|
|
38556
|
+
await import('./node-binding-dialog-MGTLF9MJ.js');
|
|
38363
38557
|
const dialog = document.createElement("node-binding-dialog");
|
|
38364
38558
|
dialog.node = node;
|
|
38365
38559
|
dialog.endpoint = endpoint;
|
|
@@ -38374,7 +38568,7 @@ var __decorateClass$j = (decorators, target, key, kind) => {
|
|
|
38374
38568
|
if (kind && result) __defProp$g(target, key, result);
|
|
38375
38569
|
return result;
|
|
38376
38570
|
};
|
|
38377
|
-
const CLUSTER_ID$2 =
|
|
38571
|
+
const CLUSTER_ID$2 = BINDING_CLUSTER_ID;
|
|
38378
38572
|
let BindingClusterCommands = class extends BaseClusterCommands {
|
|
38379
38573
|
constructor() {
|
|
38380
38574
|
super(...arguments);
|
|
@@ -38392,7 +38586,7 @@ let BindingClusterCommands = class extends BaseClusterCommands {
|
|
|
38392
38586
|
super.disconnectedCallback();
|
|
38393
38587
|
this._unsubscribe?.();
|
|
38394
38588
|
}
|
|
38395
|
-
/** Read the
|
|
38589
|
+
/** Read the binding attribute and each target's ACL into the cache on open. */
|
|
38396
38590
|
async _ensureLoaded() {
|
|
38397
38591
|
if (!this.client || !this.node || !this.node.available || this.endpoint === void 0) return;
|
|
38398
38592
|
const node = this.node;
|
|
@@ -38401,8 +38595,8 @@ let BindingClusterCommands = class extends BaseClusterCommands {
|
|
|
38401
38595
|
if (this._loadedKey === key) return;
|
|
38402
38596
|
this._loadedKey = key;
|
|
38403
38597
|
try {
|
|
38404
|
-
await this._readInto(node.node_id, [`${endpoint}/
|
|
38405
|
-
const targets = new Set(
|
|
38598
|
+
await this._readInto(node.node_id, [`${endpoint}/${CLUSTER_ID$2}/0`, "0/62/5"]);
|
|
38599
|
+
const targets = new Set(readOurBindings(node, endpoint).map(b => b.node != null ? nodeIdKey(b.node) : void 0).filter(k => k !== void 0));
|
|
38406
38600
|
await Promise.all([...targets].map(k => {
|
|
38407
38601
|
const target = this.client.nodes[k];
|
|
38408
38602
|
return target?.available ? this._readInto(target.node_id, ["0/31/0", "0/62/5"]) : void 0;
|
|
@@ -38413,8 +38607,13 @@ let BindingClusterCommands = class extends BaseClusterCommands {
|
|
|
38413
38607
|
console.error("Failed to load binding/ACL data", err);
|
|
38414
38608
|
}
|
|
38415
38609
|
}
|
|
38610
|
+
/**
|
|
38611
|
+
* Fabric-filtered so the merged values match what the subscription caches: matter.js only feeds
|
|
38612
|
+
* a one-shot read back into the datasource when its filtering matches the subscription's, so an
|
|
38613
|
+
* unfiltered response would put other fabrics' entries into the cache and nothing would clear them.
|
|
38614
|
+
*/
|
|
38416
38615
|
async _readInto(nodeId, path) {
|
|
38417
|
-
const res = await this.client.readAttribute(nodeId, path);
|
|
38616
|
+
const res = await this.client.readAttribute(nodeId, path, void 0, true);
|
|
38418
38617
|
const node = this.client.nodes[nodeIdKey(nodeId)];
|
|
38419
38618
|
if (node) for (const [k, v] of Object.entries(res)) node.attributes[k] = v;
|
|
38420
38619
|
}
|
|
@@ -38439,12 +38638,14 @@ let BindingClusterCommands = class extends BaseClusterCommands {
|
|
|
38439
38638
|
title: failTitle,
|
|
38440
38639
|
text: err instanceof Error ? err.message : String(err)
|
|
38441
38640
|
});
|
|
38641
|
+
} else {
|
|
38642
|
+
console.error(failTitle, err);
|
|
38442
38643
|
}
|
|
38443
38644
|
} finally {
|
|
38444
38645
|
this._busy = false;
|
|
38445
38646
|
}
|
|
38446
38647
|
}
|
|
38447
|
-
async _delete(
|
|
38648
|
+
async _delete(binding) {
|
|
38448
38649
|
const node = this.node;
|
|
38449
38650
|
const endpoint = this.endpoint;
|
|
38450
38651
|
const confirmed = await showPromptDialog({
|
|
@@ -38453,7 +38654,7 @@ let BindingClusterCommands = class extends BaseClusterCommands {
|
|
|
38453
38654
|
confirmText: "Remove"
|
|
38454
38655
|
});
|
|
38455
38656
|
if (!confirmed || !this.isSameContext(node, endpoint)) return;
|
|
38456
|
-
await this._run(node, endpoint, () =>
|
|
38657
|
+
await this._run(node, endpoint, () => deleteBinding(this.client, node, endpoint, binding), "Delete failed");
|
|
38457
38658
|
}
|
|
38458
38659
|
async _fixAcl(b, mode) {
|
|
38459
38660
|
if (b.node == null || b.endpoint == null) return;
|
|
@@ -38463,25 +38664,25 @@ let BindingClusterCommands = class extends BaseClusterCommands {
|
|
|
38463
38664
|
}
|
|
38464
38665
|
render() {
|
|
38465
38666
|
if (!this.node || this.cluster !== CLUSTER_ID$2) return A;
|
|
38466
|
-
const bindings =
|
|
38667
|
+
const bindings = readOurBindings(this.node, this.endpoint);
|
|
38467
38668
|
return b`
|
|
38468
38669
|
<details class="command-panel">
|
|
38469
38670
|
<summary>Bindings (${bindings.length})</summary>
|
|
38470
38671
|
<div class="command-content">
|
|
38471
38672
|
${bindings.length === 0 ? b`<div class="empty">No bindings on this endpoint.</div>` : b`<table class="bt">
|
|
38472
|
-
|
|
38473
|
-
|
|
38474
|
-
|
|
38475
|
-
|
|
38476
|
-
|
|
38477
|
-
|
|
38478
|
-
|
|
38479
|
-
|
|
38480
|
-
|
|
38481
|
-
|
|
38482
|
-
|
|
38483
|
-
|
|
38484
|
-
|
|
38673
|
+
<thead>
|
|
38674
|
+
<tr>
|
|
38675
|
+
<th>Target node</th>
|
|
38676
|
+
<th>Endpoint</th>
|
|
38677
|
+
<th>Cluster</th>
|
|
38678
|
+
<th>ACL on target</th>
|
|
38679
|
+
<th></th>
|
|
38680
|
+
</tr>
|
|
38681
|
+
</thead>
|
|
38682
|
+
<tbody>
|
|
38683
|
+
${bindings.map(b => this._row(b))}
|
|
38684
|
+
</tbody>
|
|
38685
|
+
</table>`}
|
|
38485
38686
|
<md-outlined-button
|
|
38486
38687
|
?disabled=${this._busy || !this.node.available}
|
|
38487
38688
|
@click=${handleAsync(() => this._openAdd())}
|
|
@@ -38491,7 +38692,7 @@ let BindingClusterCommands = class extends BaseClusterCommands {
|
|
|
38491
38692
|
</details>
|
|
38492
38693
|
`;
|
|
38493
38694
|
}
|
|
38494
|
-
_row(b$1
|
|
38695
|
+
_row(b$1) {
|
|
38495
38696
|
const target = this._targetNode(b$1.node);
|
|
38496
38697
|
const aclState = b$1.node == null ? "cannotVerify" : reverseAclState(this.node.node_id, b$1, target).state;
|
|
38497
38698
|
const name = b$1.group != null ? `Group ${b$1.group}` : target ? getDeviceName(target) : "Unknown node";
|
|
@@ -38511,7 +38712,7 @@ let BindingClusterCommands = class extends BaseClusterCommands {
|
|
|
38511
38712
|
<md-outlined-button
|
|
38512
38713
|
class="danger"
|
|
38513
38714
|
?disabled=${this._busy || !this.node.available}
|
|
38514
|
-
@click=${handleAsync(() => this._delete(
|
|
38715
|
+
@click=${handleAsync(() => this._delete(b$1))}
|
|
38515
38716
|
>
|
|
38516
38717
|
<ha-svg-icon .path=${mdiTrashCan} slot="icon"></ha-svg-icon>delete
|
|
38517
38718
|
</md-outlined-button>
|
|
@@ -38898,10 +39099,10 @@ function readRevision(node, endpoint) {
|
|
|
38898
39099
|
return typeof v === "number" ? v : 1;
|
|
38899
39100
|
}
|
|
38900
39101
|
async function setEnabled(client, nodeId, endpoint, enabled) {
|
|
38901
|
-
await client.writeAttribute(nodeId, `${endpoint}/${CHIME_CLUSTER_ID}/${ATTR_ENABLED}`, enabled);
|
|
39102
|
+
requireAttributeWriteSuccess(await client.writeAttribute(nodeId, `${endpoint}/${CHIME_CLUSTER_ID}/${ATTR_ENABLED}`, enabled), "Writing the Chime Enabled attribute failed");
|
|
38902
39103
|
}
|
|
38903
39104
|
async function setSelected(client, nodeId, endpoint, chimeId) {
|
|
38904
|
-
await client.writeAttribute(nodeId, `${endpoint}/${CHIME_CLUSTER_ID}/${ATTR_SELECTED_CHIME}`, chimeId);
|
|
39105
|
+
requireAttributeWriteSuccess(await client.writeAttribute(nodeId, `${endpoint}/${CHIME_CLUSTER_ID}/${ATTR_SELECTED_CHIME}`, chimeId), "Writing the selected chime failed");
|
|
38905
39106
|
}
|
|
38906
39107
|
async function play(client, nodeId, endpoint, chimeId) {
|
|
38907
39108
|
const payload = chimeId !== void 0 ? {
|
|
@@ -38924,6 +39125,17 @@ let ChimeClusterCommands = class extends BaseClusterCommands {
|
|
|
38924
39125
|
this._lastPlayed = null;
|
|
38925
39126
|
this._playDisabledUntil = 0;
|
|
38926
39127
|
}
|
|
39128
|
+
/**
|
|
39129
|
+
* The control has already moved itself to the value the device refused, and no report will arrive
|
|
39130
|
+
* to correct it — re-render to snap it back to the cached state.
|
|
39131
|
+
*/
|
|
39132
|
+
_reportWriteFailure(err) {
|
|
39133
|
+
this.requestUpdate();
|
|
39134
|
+
showAlertDialog({
|
|
39135
|
+
title: "Chime write failed",
|
|
39136
|
+
text: err.message
|
|
39137
|
+
}).catch(dialogErr => console.error("Failed to show the chime write error", dialogErr));
|
|
39138
|
+
}
|
|
38927
39139
|
updated(changedProperties) {
|
|
38928
39140
|
super.updated(changedProperties);
|
|
38929
39141
|
if (changedProperties.has("client") && this.client && !this._unsubscribeNodes) {
|
|
@@ -38970,7 +39182,7 @@ let ChimeClusterCommands = class extends BaseClusterCommands {
|
|
|
38970
39182
|
?selected=${enabled}
|
|
38971
39183
|
@change=${handleAsyncEvent(e => setEnabled(this.client, this.node.node_id, this.endpoint,
|
|
38972
39184
|
// md-switch exposes `.selected` but has no typed CustomEvent subclass
|
|
38973
|
-
e.target.selected))}
|
|
39185
|
+
e.target.selected), err => this._reportWriteFailure(err))}
|
|
38974
39186
|
></md-switch>
|
|
38975
39187
|
<span>Enabled</span>
|
|
38976
39188
|
</label>
|
|
@@ -38982,7 +39194,7 @@ let ChimeClusterCommands = class extends BaseClusterCommands {
|
|
|
38982
39194
|
@change=${handleAsyncEvent(e => {
|
|
38983
39195
|
const v = Number(e.target.value);
|
|
38984
39196
|
return setSelected(this.client, this.node.node_id, this.endpoint, v);
|
|
38985
|
-
})}
|
|
39197
|
+
}, err => this._reportWriteFailure(err))}
|
|
38986
39198
|
>
|
|
38987
39199
|
${sounds.map(s => b`
|
|
38988
39200
|
<md-select-option value=${String(s.chimeId)}>
|
|
@@ -39003,30 +39215,30 @@ let ChimeClusterCommands = class extends BaseClusterCommands {
|
|
|
39003
39215
|
<div class="sounds">
|
|
39004
39216
|
<div class="sounds-header">Installed sounds (${sounds.length})</div>
|
|
39005
39217
|
${sounds.length === 0 ? b`<div class="muted empty">No sounds installed.</div>` : sounds.map(s => b`
|
|
39006
|
-
|
|
39007
|
-
|
|
39008
|
-
|
|
39009
|
-
|
|
39010
|
-
|
|
39011
|
-
|
|
39012
|
-
|
|
39013
|
-
|
|
39014
|
-
|
|
39015
|
-
|
|
39016
|
-
|
|
39218
|
+
<div
|
|
39219
|
+
class="sound-row ${s.chimeId === selected ? "selected" : ""}"
|
|
39220
|
+
@click=${handleAsync(() => setSelected(this.client, this.node.node_id, this.endpoint, s.chimeId), err => this._reportWriteFailure(err))}
|
|
39221
|
+
>
|
|
39222
|
+
<span class="pid">#${s.chimeId}</span>
|
|
39223
|
+
<span class="pname">${s.name}</span>
|
|
39224
|
+
${s.chimeId === selected ? b`<span class="muted">✓ selected</span>` : A}
|
|
39225
|
+
<span class="grow"></span>
|
|
39226
|
+
${showPerRowPlay ? b`<md-icon-button
|
|
39227
|
+
?disabled=${!enabled}
|
|
39228
|
+
@click=${handleAsyncEvent(e => {
|
|
39017
39229
|
e.stopPropagation();
|
|
39018
39230
|
return play(this.client, this.node.node_id, this.endpoint, s.chimeId);
|
|
39019
39231
|
})}
|
|
39020
|
-
|
|
39021
|
-
|
|
39022
|
-
|
|
39023
|
-
|
|
39024
|
-
|
|
39232
|
+
>
|
|
39233
|
+
<ha-svg-icon .path=${mdiPlay}></ha-svg-icon>
|
|
39234
|
+
</md-icon-button>` : A}
|
|
39235
|
+
</div>
|
|
39236
|
+
`)}
|
|
39025
39237
|
</div>
|
|
39026
39238
|
|
|
39027
39239
|
${showLastPlayed ? b`<div class="last-played">
|
|
39028
|
-
|
|
39029
|
-
|
|
39240
|
+
Last played: ${lastSoundName} · ${new Date(this._lastPlayed.at).toLocaleTimeString()}
|
|
39241
|
+
</div>` : A}
|
|
39030
39242
|
</div>
|
|
39031
39243
|
</details>
|
|
39032
39244
|
`;
|
|
@@ -39308,15 +39520,15 @@ let ClosureControlClusterCommands = class extends BaseClusterCommands {
|
|
|
39308
39520
|
</div>
|
|
39309
39521
|
|
|
39310
39522
|
${errors.length > 0 ? b`
|
|
39311
|
-
|
|
39312
|
-
|
|
39313
|
-
|
|
39314
|
-
|
|
39315
|
-
|
|
39316
|
-
|
|
39317
|
-
|
|
39318
|
-
|
|
39319
|
-
|
|
39523
|
+
<div class="errors">
|
|
39524
|
+
${errors.map(e => b`
|
|
39525
|
+
<span class="error-chip">
|
|
39526
|
+
<ha-svg-icon .path=${mdiAlertCircle}></ha-svg-icon>
|
|
39527
|
+
${CLOSURE_ERROR_LABELS[e] ?? `Error ${e}`}
|
|
39528
|
+
</span>
|
|
39529
|
+
`)}
|
|
39530
|
+
</div>
|
|
39531
|
+
` : A}
|
|
39320
39532
|
|
|
39321
39533
|
<div class="states-grid">
|
|
39322
39534
|
<div class="state-block">
|
|
@@ -39331,73 +39543,73 @@ let ClosureControlClusterCommands = class extends BaseClusterCommands {
|
|
|
39331
39543
|
|
|
39332
39544
|
<div class="actions">
|
|
39333
39545
|
${!features.instantaneous ? b`<md-outlined-button @click=${handleAsync(() => this._handleStop())}>
|
|
39334
|
-
|
|
39335
|
-
|
|
39336
|
-
|
|
39546
|
+
<ha-svg-icon slot="icon" .path=${mdiStop}></ha-svg-icon>
|
|
39547
|
+
Stop
|
|
39548
|
+
</md-outlined-button>` : A}
|
|
39337
39549
|
${features.calibration ? b`<md-outlined-button @click=${handleAsync(() => this._handleCalibrate())}>
|
|
39338
|
-
|
|
39339
|
-
|
|
39340
|
-
|
|
39550
|
+
<ha-svg-icon slot="icon" .path=${mdiCogRefresh}></ha-svg-icon>
|
|
39551
|
+
Calibrate
|
|
39552
|
+
</md-outlined-button>` : A}
|
|
39341
39553
|
</div>
|
|
39342
39554
|
|
|
39343
39555
|
<div class="move-to">
|
|
39344
39556
|
<div class="move-to-header">Move to</div>
|
|
39345
39557
|
<div class="move-to-controls">
|
|
39346
39558
|
${features.positioning ? b`
|
|
39347
|
-
|
|
39348
|
-
|
|
39349
|
-
|
|
39350
|
-
|
|
39559
|
+
<md-outlined-select
|
|
39560
|
+
label="Position"
|
|
39561
|
+
.value=${this._moveToPosition}
|
|
39562
|
+
@change=${e => {
|
|
39351
39563
|
this._moveToPosition = e.target.value;
|
|
39352
39564
|
}}
|
|
39353
|
-
|
|
39354
|
-
|
|
39355
|
-
|
|
39356
|
-
|
|
39357
|
-
|
|
39358
|
-
|
|
39359
|
-
|
|
39360
|
-
|
|
39361
|
-
|
|
39362
|
-
|
|
39363
|
-
|
|
39565
|
+
>
|
|
39566
|
+
<md-select-option value="">
|
|
39567
|
+
<div slot="headline">(unchanged)</div>
|
|
39568
|
+
</md-select-option>
|
|
39569
|
+
${Object.entries(TARGET_POSITION_LABELS).filter(([id]) => (id !== "2" || features.pedestrian) && (id !== "3" || features.ventilation)).map(([id, label]) => b`
|
|
39570
|
+
<md-select-option value=${id}>
|
|
39571
|
+
<div slot="headline">${label}</div>
|
|
39572
|
+
</md-select-option>
|
|
39573
|
+
`)}
|
|
39574
|
+
</md-outlined-select>
|
|
39575
|
+
` : A}
|
|
39364
39576
|
${features.motionLatching && (latchControlModes.remoteLatching || latchControlModes.remoteUnlatching) ? b`
|
|
39365
|
-
|
|
39366
|
-
|
|
39367
|
-
|
|
39368
|
-
|
|
39577
|
+
<md-outlined-select
|
|
39578
|
+
label="Latch"
|
|
39579
|
+
.value=${this._moveToLatch}
|
|
39580
|
+
@change=${e => {
|
|
39369
39581
|
this._moveToLatch = e.target.value;
|
|
39370
39582
|
}}
|
|
39371
|
-
|
|
39372
|
-
|
|
39373
|
-
|
|
39374
|
-
|
|
39375
|
-
|
|
39376
|
-
|
|
39377
|
-
|
|
39378
|
-
|
|
39379
|
-
|
|
39380
|
-
|
|
39381
|
-
|
|
39382
|
-
|
|
39583
|
+
>
|
|
39584
|
+
<md-select-option value="">
|
|
39585
|
+
<div slot="headline">(unchanged)</div>
|
|
39586
|
+
</md-select-option>
|
|
39587
|
+
${latchControlModes.remoteLatching ? b`<md-select-option value="true">
|
|
39588
|
+
<div slot="headline">Latch</div>
|
|
39589
|
+
</md-select-option>` : A}
|
|
39590
|
+
${latchControlModes.remoteUnlatching ? b`<md-select-option value="false">
|
|
39591
|
+
<div slot="headline">Unlatch</div>
|
|
39592
|
+
</md-select-option>` : A}
|
|
39593
|
+
</md-outlined-select>
|
|
39594
|
+
` : A}
|
|
39383
39595
|
${features.speed ? b`
|
|
39384
|
-
|
|
39385
|
-
|
|
39386
|
-
|
|
39387
|
-
|
|
39596
|
+
<md-outlined-select
|
|
39597
|
+
label="Speed"
|
|
39598
|
+
.value=${this._moveToSpeed}
|
|
39599
|
+
@change=${e => {
|
|
39388
39600
|
this._moveToSpeed = e.target.value;
|
|
39389
39601
|
}}
|
|
39390
|
-
|
|
39391
|
-
|
|
39392
|
-
|
|
39393
|
-
|
|
39394
|
-
|
|
39395
|
-
|
|
39396
|
-
|
|
39397
|
-
|
|
39398
|
-
|
|
39399
|
-
|
|
39400
|
-
|
|
39602
|
+
>
|
|
39603
|
+
<md-select-option value="">
|
|
39604
|
+
<div slot="headline">(unchanged)</div>
|
|
39605
|
+
</md-select-option>
|
|
39606
|
+
${Object.entries(SPEED_LABELS).map(([id, label]) => b`
|
|
39607
|
+
<md-select-option value=${id}>
|
|
39608
|
+
<div slot="headline">${label}</div>
|
|
39609
|
+
</md-select-option>
|
|
39610
|
+
`)}
|
|
39611
|
+
</md-outlined-select>
|
|
39612
|
+
` : A}
|
|
39401
39613
|
<md-filled-button
|
|
39402
39614
|
?disabled=${this._moveToPosition === "" && this._moveToLatch === "" && this._moveToSpeed === ""}
|
|
39403
39615
|
@click=${handleAsync(() => this._handleMoveTo())}
|
|
@@ -39416,27 +39628,27 @@ let ClosureControlClusterCommands = class extends BaseClusterCommands {
|
|
|
39416
39628
|
return b`
|
|
39417
39629
|
<div class="state-fields">
|
|
39418
39630
|
${features.positioning ? b`<div class="state-field">
|
|
39419
|
-
|
|
39420
|
-
|
|
39421
|
-
|
|
39422
|
-
|
|
39423
|
-
|
|
39631
|
+
<span class="muted">Position:</span>
|
|
39632
|
+
<span>
|
|
39633
|
+
${state2.position !== null ? positionLabels[state2.position] ?? `#${state2.position}` : "Unknown"}
|
|
39634
|
+
</span>
|
|
39635
|
+
</div>` : A}
|
|
39424
39636
|
${features.motionLatching ? b`<div class="state-field">
|
|
39425
|
-
|
|
39426
|
-
|
|
39427
|
-
|
|
39637
|
+
<span class="muted">Latch:</span>
|
|
39638
|
+
<span>${state2.latch === null ? "Unknown" : state2.latch ? "Latched" : "Unlatched"}</span>
|
|
39639
|
+
</div>` : A}
|
|
39428
39640
|
${features.speed ? b`<div class="state-field">
|
|
39429
|
-
|
|
39430
|
-
|
|
39431
|
-
|
|
39432
|
-
|
|
39433
|
-
|
|
39641
|
+
<span class="muted">Speed:</span>
|
|
39642
|
+
<span
|
|
39643
|
+
>${state2.speed !== null ? SPEED_LABELS[state2.speed] ?? `#${state2.speed}` : "Unknown"}</span
|
|
39644
|
+
>
|
|
39645
|
+
</div>` : A}
|
|
39434
39646
|
${"secureState" in state2 ? b`<div class="state-field">
|
|
39435
|
-
|
|
39436
|
-
|
|
39437
|
-
|
|
39438
|
-
|
|
39439
|
-
|
|
39647
|
+
<span class="muted">Secure:</span>
|
|
39648
|
+
<span>
|
|
39649
|
+
${state2.secureState === null ? "Unknown" : state2.secureState ? "Secure" : "Not secure"}
|
|
39650
|
+
</span>
|
|
39651
|
+
</div>` : A}
|
|
39440
39652
|
</div>
|
|
39441
39653
|
`;
|
|
39442
39654
|
}
|
|
@@ -40364,18 +40576,18 @@ let IcdManagementClusterCommands = class extends BaseClusterCommands {
|
|
|
40364
40576
|
<div class="command-content">
|
|
40365
40577
|
<p>This device saves power by sleeping between short check-in windows.</p>
|
|
40366
40578
|
${info.operatingMode === "LIT" ? b`<p class="info-banner">
|
|
40367
|
-
|
|
40368
|
-
|
|
40369
|
-
|
|
40370
|
-
|
|
40371
|
-
|
|
40372
|
-
|
|
40373
|
-
|
|
40374
|
-
|
|
40375
|
-
|
|
40376
|
-
|
|
40377
|
-
|
|
40378
|
-
|
|
40579
|
+
This device is currently in <b>Battery Saver Mode</b>: any action you trigger
|
|
40580
|
+
(commands, reads, re-subscriptions) may take up to <b>${this._idleText}</b> while the
|
|
40581
|
+
device sleeps. Updates reported by the device itself (e.g. sensor changes) are not
|
|
40582
|
+
delayed — the device wakes up on its own to report them.
|
|
40583
|
+
${this.node.available ? A : b`<br /><b class="offline-line"
|
|
40584
|
+
>The device is currently offline — reconnecting on its own can take
|
|
40585
|
+
up to ${this._idleText}.</b
|
|
40586
|
+
>`}
|
|
40587
|
+
</p>` : b`<p>
|
|
40588
|
+
Current mode: <b>Standard</b> — the device sleeps between short check-ins and
|
|
40589
|
+
typically reacts within seconds to a few minutes.
|
|
40590
|
+
</p>`}
|
|
40379
40591
|
${info.features.userActiveModeTrigger ? this._renderWakeHint(info) : A}
|
|
40380
40592
|
${info.features.longIdleTimeSupport || this._registered ? this._renderIcdManagement() : A}
|
|
40381
40593
|
</div>
|
|
@@ -40456,7 +40668,7 @@ let IcdManagementClusterCommands = class extends BaseClusterCommands {
|
|
|
40456
40668
|
Matter LIT (Long Idle Time) ICD). You can switch back to Standard Mode later as long as no other
|
|
40457
40669
|
ecosystem is registered for it.
|
|
40458
40670
|
${!single && !this._registered ? b` This device is already paired with <b>${this._commissionedFabrics - 1}</b> other
|
|
40459
|
-
|
|
40671
|
+
ecosystem(s).` : A}
|
|
40460
40672
|
</p>
|
|
40461
40673
|
<div class="command-row">
|
|
40462
40674
|
<md-filled-button
|
|
@@ -40473,7 +40685,7 @@ let IcdManagementClusterCommands = class extends BaseClusterCommands {
|
|
|
40473
40685
|
Resync state
|
|
40474
40686
|
</md-outlined-button>
|
|
40475
40687
|
${this._busy ? b`<md-circular-progress indeterminate></md-circular-progress>
|
|
40476
|
-
|
|
40688
|
+
<span class="busy">${this._busyLabel}</span>` : A}
|
|
40477
40689
|
</div>
|
|
40478
40690
|
`;
|
|
40479
40691
|
}
|
|
@@ -40496,10 +40708,10 @@ let IcdManagementClusterCommands = class extends BaseClusterCommands {
|
|
|
40496
40708
|
<p>
|
|
40497
40709
|
<b>Important:</b>
|
|
40498
40710
|
${single ? b`every ecosystem (e.g. Apple, Google) you pair this device with later must support Battery
|
|
40499
|
-
|
|
40500
|
-
|
|
40501
|
-
|
|
40502
|
-
|
|
40711
|
+
Saver Mode (called Matter LIT (Long Idle Time) ICD). In an ecosystem without support the
|
|
40712
|
+
device will appear offline or unresponsive.` : b`this device is already paired with <b>${this._commissionedFabrics - 1}</b> other
|
|
40713
|
+
ecosystem(s). All of them must support Battery Saver Mode (called Matter LIT (Long Idle
|
|
40714
|
+
Time) ICD), otherwise the device will appear offline or unresponsive in those ecosystems.`}
|
|
40503
40715
|
</p>
|
|
40504
40716
|
<p>
|
|
40505
40717
|
You can switch back to Standard Mode later as long as no other ecosystem is registered for Battery Saver
|
|
@@ -40602,11 +40814,18 @@ let IcdManagementClusterCommands = class extends BaseClusterCommands {
|
|
|
40602
40814
|
await this.client.unregisterIcd(node.node_id, false, this._actionTimeoutMs);
|
|
40603
40815
|
});
|
|
40604
40816
|
}
|
|
40605
|
-
/**
|
|
40817
|
+
/**
|
|
40818
|
+
* Non-fabric-filtered RegisteredClients read; counts clients on other fabrics. Its result must not
|
|
40819
|
+
* reach the attribute cache: node ids are per-fabric and can collide, so a foreign entry could
|
|
40820
|
+
* false-positive `isRegisteredByUs`, and the subscription keeps that attribute fabric-filtered.
|
|
40821
|
+
*/
|
|
40606
40822
|
async _otherClientCount(node, endpoint) {
|
|
40607
40823
|
const ourFabricIndexRaw = node.attributes[CURRENT_FABRIC_INDEX_PATH];
|
|
40608
40824
|
const result = await this.client.readAttribute(node.node_id, [REGISTERED_CLIENTS_PATH, CURRENT_FABRIC_INDEX_PATH], this._actionTimeoutMs);
|
|
40609
|
-
|
|
40825
|
+
const currentFabricIndex = result[CURRENT_FABRIC_INDEX_PATH];
|
|
40826
|
+
if (this.isSameContext(node, endpoint) && typeof currentFabricIndex === "number") {
|
|
40827
|
+
this.node.attributes[CURRENT_FABRIC_INDEX_PATH] = currentFabricIndex;
|
|
40828
|
+
}
|
|
40610
40829
|
const clients = decodeRegisteredClients(result[REGISTERED_CLIENTS_PATH]);
|
|
40611
40830
|
const ourFabricIndex = result[CURRENT_FABRIC_INDEX_PATH] ?? ourFabricIndexRaw;
|
|
40612
40831
|
return otherFabricClientCount(clients, typeof ourFabricIndex === "number" ? ourFabricIndex : void 0);
|
|
@@ -40917,6 +41136,8 @@ let MatterClusterView = class extends i$4 {
|
|
|
40917
41136
|
this._tick = 0;
|
|
40918
41137
|
this._devMode = DevModeService.active;
|
|
40919
41138
|
this._refreshState = {};
|
|
41139
|
+
this._unfilteredBusy = {};
|
|
41140
|
+
this._viewKey = "";
|
|
40920
41141
|
}
|
|
40921
41142
|
connectedCallback() {
|
|
40922
41143
|
super.connectedCallback();
|
|
@@ -40986,12 +41207,12 @@ let MatterClusterView = class extends i$4 {
|
|
|
40986
41207
|
<div slot="end" class="row-end">
|
|
40987
41208
|
${this._devMode ? this._renderAttributeDevActions(attribute.key, attribute.value) : A}
|
|
40988
41209
|
${toBigIntAwareJson(attribute.value).length > 30 ? b`<md-outlined-button
|
|
40989
|
-
|
|
41210
|
+
@click=${() => {
|
|
40990
41211
|
this._showAttributeValue(attribute.value);
|
|
40991
41212
|
}}
|
|
40992
|
-
|
|
40993
|
-
|
|
40994
|
-
|
|
41213
|
+
>
|
|
41214
|
+
Show value
|
|
41215
|
+
</md-outlined-button>` : b`<code>${toBigIntAwareJson(attribute.value)}</code>`}
|
|
40995
41216
|
</div>
|
|
40996
41217
|
</md-list-item>
|
|
40997
41218
|
`)}
|
|
@@ -41015,17 +41236,26 @@ let MatterClusterView = class extends i$4 {
|
|
|
41015
41236
|
>
|
|
41016
41237
|
<ha-svg-icon .path=${mdiRefresh}></ha-svg-icon>
|
|
41017
41238
|
</md-outlined-icon-button>
|
|
41239
|
+
<md-outlined-icon-button
|
|
41240
|
+
class="dev-action unfiltered"
|
|
41241
|
+
title="Read unfiltered (all fabrics) — shown only, not cached"
|
|
41242
|
+
aria-label="Read attribute unfiltered"
|
|
41243
|
+
?disabled=${!online || this._unfilteredBusy[attributeId] === true}
|
|
41244
|
+
@click=${() => this._readUnfiltered(attributeId)}
|
|
41245
|
+
>
|
|
41246
|
+
<ha-svg-icon .path=${mdiFilterOffOutline}></ha-svg-icon>
|
|
41247
|
+
</md-outlined-icon-button>
|
|
41018
41248
|
${meta?.writable ? b`
|
|
41019
|
-
|
|
41020
|
-
|
|
41021
|
-
|
|
41022
|
-
|
|
41023
|
-
|
|
41024
|
-
|
|
41025
|
-
|
|
41026
|
-
|
|
41027
|
-
|
|
41028
|
-
|
|
41249
|
+
<md-outlined-icon-button
|
|
41250
|
+
class="dev-action pencil"
|
|
41251
|
+
title="Write attribute…"
|
|
41252
|
+
aria-label="Write attribute"
|
|
41253
|
+
?disabled=${!online}
|
|
41254
|
+
@click=${() => this._openAttributeWriteDialog(attributeId, currentValue, meta.label)}
|
|
41255
|
+
>
|
|
41256
|
+
<ha-svg-icon .path=${mdiPencil}></ha-svg-icon>
|
|
41257
|
+
</md-outlined-icon-button>
|
|
41258
|
+
` : A}
|
|
41029
41259
|
</span>
|
|
41030
41260
|
`;
|
|
41031
41261
|
}
|
|
@@ -41041,7 +41271,7 @@ let MatterClusterView = class extends i$4 {
|
|
|
41041
41271
|
[attributeId]: "loading"
|
|
41042
41272
|
};
|
|
41043
41273
|
try {
|
|
41044
|
-
const result = await this.client.readAttribute(nodeId, path);
|
|
41274
|
+
const result = await this.client.readAttribute(nodeId, path, void 0, true);
|
|
41045
41275
|
if (!isSameContext()) return;
|
|
41046
41276
|
for (const [key, value] of Object.entries(result)) {
|
|
41047
41277
|
this.node.attributes[key] = value;
|
|
@@ -41070,7 +41300,44 @@ let MatterClusterView = class extends i$4 {
|
|
|
41070
41300
|
showAlertDialog({
|
|
41071
41301
|
title: "Read failed",
|
|
41072
41302
|
text: message
|
|
41073
|
-
});
|
|
41303
|
+
}).catch(alertErr => console.error("Failed to show the read error", alertErr));
|
|
41304
|
+
}
|
|
41305
|
+
}
|
|
41306
|
+
/**
|
|
41307
|
+
* Read across all fabrics for diagnostics. The result is displayed only — merging it would put
|
|
41308
|
+
* values into the attribute cache that the fabric-filtered subscription never refreshes.
|
|
41309
|
+
*/
|
|
41310
|
+
async _readUnfiltered(attributeId) {
|
|
41311
|
+
if (!this.node) return;
|
|
41312
|
+
const nodeId = this.node.node_id;
|
|
41313
|
+
const endpoint = this.endpoint;
|
|
41314
|
+
const cluster = this.cluster;
|
|
41315
|
+
const path = `${endpoint}/${cluster}/${attributeId}`;
|
|
41316
|
+
const isSameView = () => this.node?.node_id === nodeId && this.endpoint === endpoint && this.cluster === cluster;
|
|
41317
|
+
const isSameContext = () => this.isConnected && isSameView();
|
|
41318
|
+
this._unfilteredBusy = {
|
|
41319
|
+
...this._unfilteredBusy,
|
|
41320
|
+
[attributeId]: true
|
|
41321
|
+
};
|
|
41322
|
+
try {
|
|
41323
|
+
const result = await this.client.readAttribute(nodeId, path, void 0, false);
|
|
41324
|
+
if (!isSameContext()) return;
|
|
41325
|
+
showAlertDialog({
|
|
41326
|
+
title: "Unfiltered read (all fabrics)",
|
|
41327
|
+
text: path in result ? toBigIntAwareJson(result[path]) : "The device returned no value for this path.",
|
|
41328
|
+
asCodeBlock: true
|
|
41329
|
+
}).catch(err => console.error("Failed to show the unfiltered read", err));
|
|
41330
|
+
} catch (err) {
|
|
41331
|
+
if (!isSameContext()) return;
|
|
41332
|
+
showAlertDialog({
|
|
41333
|
+
title: "Read failed",
|
|
41334
|
+
text: err instanceof Error ? err.message : String(err)
|
|
41335
|
+
}).catch(alertErr => console.error("Failed to show the read error", alertErr));
|
|
41336
|
+
} finally {
|
|
41337
|
+
if (isSameView()) this._unfilteredBusy = {
|
|
41338
|
+
...this._unfilteredBusy,
|
|
41339
|
+
[attributeId]: false
|
|
41340
|
+
};
|
|
41074
41341
|
}
|
|
41075
41342
|
}
|
|
41076
41343
|
_openAttributeWriteDialog(attributeId, currentValue, label) {
|
|
@@ -41100,28 +41367,28 @@ let MatterClusterView = class extends i$4 {
|
|
|
41100
41367
|
</summary>
|
|
41101
41368
|
<div class="dev-commands-content">
|
|
41102
41369
|
${commands.length === 0 ? b`<p class="empty">No invokable commands for this cluster.</p>` : b`
|
|
41103
|
-
|
|
41104
|
-
|
|
41105
|
-
|
|
41106
|
-
|
|
41107
|
-
|
|
41108
|
-
|
|
41109
|
-
|
|
41110
|
-
|
|
41370
|
+
<ul class="command-list">
|
|
41371
|
+
${commands.map(cmd => b`
|
|
41372
|
+
<li class="command-row">
|
|
41373
|
+
<div class="command-meta">
|
|
41374
|
+
<span class="command-label">${cmd.label}</span>
|
|
41375
|
+
<span class="command-sub"
|
|
41376
|
+
>CommandId ${cmd.id} (${formatHex(cmd.id)}) ·
|
|
41377
|
+
<code>${cmd.name}</code></span
|
|
41378
|
+
>
|
|
41379
|
+
</div>
|
|
41380
|
+
<md-outlined-button
|
|
41381
|
+
class="dev-invoke-button"
|
|
41382
|
+
?disabled=${!online}
|
|
41383
|
+
@click=${() => this._openCommandInvokeDialog(cmd.id, cmd.name)}
|
|
41111
41384
|
>
|
|
41112
|
-
|
|
41113
|
-
|
|
41114
|
-
|
|
41115
|
-
|
|
41116
|
-
|
|
41117
|
-
|
|
41118
|
-
|
|
41119
|
-
Invoke
|
|
41120
|
-
</md-outlined-button>
|
|
41121
|
-
</li>
|
|
41122
|
-
`)}
|
|
41123
|
-
</ul>
|
|
41124
|
-
`}
|
|
41385
|
+
<ha-svg-icon slot="icon" .path=${mdiPlay}></ha-svg-icon>
|
|
41386
|
+
Invoke
|
|
41387
|
+
</md-outlined-button>
|
|
41388
|
+
</li>
|
|
41389
|
+
`)}
|
|
41390
|
+
</ul>
|
|
41391
|
+
`}
|
|
41125
41392
|
</div>
|
|
41126
41393
|
</details>
|
|
41127
41394
|
</div>
|
|
@@ -41162,14 +41429,14 @@ let MatterClusterView = class extends i$4 {
|
|
|
41162
41429
|
<div class="info-section">
|
|
41163
41430
|
<div class="info-section-header">Active Features</div>
|
|
41164
41431
|
${activeFeatures.length === 0 ? b`<p class="empty">No active features</p>` : b`
|
|
41165
|
-
|
|
41166
|
-
|
|
41167
|
-
|
|
41168
|
-
|
|
41169
|
-
|
|
41170
|
-
|
|
41171
|
-
|
|
41172
|
-
|
|
41432
|
+
<ul class="chip-list">
|
|
41433
|
+
${activeFeatures.map(feature => b`
|
|
41434
|
+
<li class="chip" title="Bit ${feature.bit} (${feature.code})">
|
|
41435
|
+
${feature.label}
|
|
41436
|
+
</li>
|
|
41437
|
+
`)}
|
|
41438
|
+
</ul>
|
|
41439
|
+
`}
|
|
41173
41440
|
</div>
|
|
41174
41441
|
`;
|
|
41175
41442
|
}
|
|
@@ -41182,19 +41449,19 @@ let MatterClusterView = class extends i$4 {
|
|
|
41182
41449
|
<div class="info-section">
|
|
41183
41450
|
<div class="info-section-header">Semantic Tags (TagList)</div>
|
|
41184
41451
|
${tagList.length === 0 ? b`<p class="empty">No semantic tags</p>` : b`
|
|
41185
|
-
|
|
41186
|
-
|
|
41452
|
+
<ul class="chip-list">
|
|
41453
|
+
${tagList.map(entry => {
|
|
41187
41454
|
const {
|
|
41188
41455
|
text,
|
|
41189
41456
|
title,
|
|
41190
41457
|
erroneous
|
|
41191
41458
|
} = describeSemanticTagListEntry(entry);
|
|
41192
41459
|
return b`<li class=${erroneous ? "chip chip-error" : "chip"} title=${title}>
|
|
41193
|
-
|
|
41194
|
-
|
|
41460
|
+
${text}
|
|
41461
|
+
</li>`;
|
|
41195
41462
|
})}
|
|
41196
|
-
|
|
41197
|
-
|
|
41463
|
+
</ul>
|
|
41464
|
+
`}
|
|
41198
41465
|
</div>
|
|
41199
41466
|
`;
|
|
41200
41467
|
}
|
|
@@ -41221,8 +41488,11 @@ let MatterClusterView = class extends i$4 {
|
|
|
41221
41488
|
}
|
|
41222
41489
|
updated(changedProperties) {
|
|
41223
41490
|
super.updated(changedProperties);
|
|
41224
|
-
|
|
41491
|
+
const viewKey = `${this.node?.node_id ?? ""}/${this.endpoint}/${this.cluster}`;
|
|
41492
|
+
if (viewKey !== this._viewKey) {
|
|
41493
|
+
this._viewKey = viewKey;
|
|
41225
41494
|
this._refreshState = {};
|
|
41495
|
+
this._unfilteredBusy = {};
|
|
41226
41496
|
this._scrollCommandPanelIntoView();
|
|
41227
41497
|
}
|
|
41228
41498
|
const container = this.shadowRoot?.getElementById("cluster-commands-container");
|
|
@@ -41249,7 +41519,7 @@ let MatterClusterView = class extends i$4 {
|
|
|
41249
41519
|
history.back();
|
|
41250
41520
|
}
|
|
41251
41521
|
};
|
|
41252
|
-
MatterClusterView.styles = [notFoundStyles, i$7`
|
|
41522
|
+
MatterClusterView.styles = [notFoundStyles, infoPanelStyles, i$7`
|
|
41253
41523
|
:host {
|
|
41254
41524
|
display: block;
|
|
41255
41525
|
background-color: var(--md-sys-color-background);
|
|
@@ -41470,42 +41740,6 @@ MatterClusterView.styles = [notFoundStyles, i$7`
|
|
|
41470
41740
|
border-radius: 3px;
|
|
41471
41741
|
}
|
|
41472
41742
|
|
|
41473
|
-
.info-panel {
|
|
41474
|
-
background-color: var(--md-sys-color-surface-container);
|
|
41475
|
-
border: 1px solid var(--md-sys-color-outline-variant);
|
|
41476
|
-
border-radius: 12px;
|
|
41477
|
-
padding: 14px 16px;
|
|
41478
|
-
}
|
|
41479
|
-
|
|
41480
|
-
.info-section + .info-section {
|
|
41481
|
-
margin-top: 12px;
|
|
41482
|
-
padding-top: 12px;
|
|
41483
|
-
border-top: 1px solid var(--md-sys-color-outline-variant);
|
|
41484
|
-
}
|
|
41485
|
-
|
|
41486
|
-
.info-section-header {
|
|
41487
|
-
font-weight: 500;
|
|
41488
|
-
color: var(--md-sys-color-on-surface);
|
|
41489
|
-
margin-bottom: 10px;
|
|
41490
|
-
}
|
|
41491
|
-
|
|
41492
|
-
.chip-list {
|
|
41493
|
-
list-style: none;
|
|
41494
|
-
margin: 0;
|
|
41495
|
-
padding: 0;
|
|
41496
|
-
display: flex;
|
|
41497
|
-
flex-wrap: wrap;
|
|
41498
|
-
gap: 8px;
|
|
41499
|
-
}
|
|
41500
|
-
|
|
41501
|
-
.chip {
|
|
41502
|
-
font-size: 0.85rem;
|
|
41503
|
-
color: var(--md-sys-color-on-secondary-container);
|
|
41504
|
-
background: var(--md-sys-color-secondary-container);
|
|
41505
|
-
padding: 4px 10px;
|
|
41506
|
-
border-radius: 8px;
|
|
41507
|
-
}
|
|
41508
|
-
|
|
41509
41743
|
.chip.chip-error {
|
|
41510
41744
|
color: var(--md-sys-color-on-error-container);
|
|
41511
41745
|
background: var(--md-sys-color-error-container);
|
|
@@ -41527,6 +41761,7 @@ __decorateClass$d([e$b({
|
|
|
41527
41761
|
__decorateClass$d([n$5()], MatterClusterView.prototype, "cluster", 2);
|
|
41528
41762
|
__decorateClass$d([r$3()], MatterClusterView.prototype, "_devMode", 2);
|
|
41529
41763
|
__decorateClass$d([r$3()], MatterClusterView.prototype, "_refreshState", 2);
|
|
41764
|
+
__decorateClass$d([r$3()], MatterClusterView.prototype, "_unfilteredBusy", 2);
|
|
41530
41765
|
MatterClusterView = __decorateClass$d([t$1("matter-cluster-view")], MatterClusterView);
|
|
41531
41766
|
|
|
41532
41767
|
/**
|
|
@@ -41580,7 +41815,10 @@ let MatterEndpointView = class extends i$4 {
|
|
|
41580
41815
|
`;
|
|
41581
41816
|
}
|
|
41582
41817
|
const fabricIndex = getEffectiveFabricIndex(this.client.serverInfo.fabric_index, isTestNodeId(this.node.node_id));
|
|
41583
|
-
const
|
|
41818
|
+
const nodeId = this.node.node_id;
|
|
41819
|
+
const nodeHex = formatNodeAddress(fabricIndex, nodeId);
|
|
41820
|
+
const endpointClusters = getUniqueClusters(this.node, this.endpoint);
|
|
41821
|
+
const hasBindingCluster = endpointClusters.includes(BINDING_CLUSTER_ID);
|
|
41584
41822
|
return b`
|
|
41585
41823
|
<dashboard-header
|
|
41586
41824
|
.title=${`Node ${this.node.node_id} ${nodeHex} | Endpoint ${this.endpoint}`}
|
|
@@ -41592,14 +41830,16 @@ let MatterEndpointView = class extends i$4 {
|
|
|
41592
41830
|
<node-details .node=${this.node}></node-details>
|
|
41593
41831
|
</div>
|
|
41594
41832
|
|
|
41833
|
+
${hasBindingCluster ? this._renderClientClustersSection(this.node) : A}
|
|
41834
|
+
|
|
41595
41835
|
<!-- Binding editor (when this endpoint has a Binding cluster) -->
|
|
41596
|
-
${
|
|
41597
|
-
|
|
41598
|
-
|
|
41599
|
-
|
|
41600
|
-
|
|
41601
|
-
|
|
41602
|
-
|
|
41836
|
+
${hasBindingCluster ? b`<div class="container">
|
|
41837
|
+
<binding-cluster-commands
|
|
41838
|
+
.node=${this.node}
|
|
41839
|
+
.endpoint=${this.endpoint}
|
|
41840
|
+
.cluster=${BINDING_CLUSTER_ID}
|
|
41841
|
+
></binding-cluster-commands>
|
|
41842
|
+
</div>` : A}
|
|
41603
41843
|
|
|
41604
41844
|
<!-- Endpoint clusters listing -->
|
|
41605
41845
|
<div class="container">
|
|
@@ -41615,17 +41855,19 @@ let MatterEndpointView = class extends i$4 {
|
|
|
41615
41855
|
}).join(" / ")}
|
|
41616
41856
|
</div>
|
|
41617
41857
|
</md-list-item>
|
|
41618
|
-
${i(
|
|
41858
|
+
${i(
|
|
41859
|
+
// Must name the rendered set itself; anything derived from the attribute
|
|
41860
|
+
// cache depends on how that cache mutates and can go stale.
|
|
41861
|
+
[nodeId, this.endpoint, endpointClusters.join(",")], () => endpointClusters.map(cluster => {
|
|
41619
41862
|
return b`
|
|
41620
|
-
|
|
41621
|
-
|
|
41622
|
-
|
|
41623
|
-
|
|
41624
|
-
|
|
41625
|
-
|
|
41626
|
-
|
|
41627
|
-
|
|
41628
|
-
`;
|
|
41863
|
+
<md-list-item type="link" href=${`#node/${nodeId}/${this.endpoint}/${cluster}`}>
|
|
41864
|
+
<div slot="headline">
|
|
41865
|
+
${clusters[cluster]?.label ?? "Custom/Unknown Cluster"}
|
|
41866
|
+
</div>
|
|
41867
|
+
<div slot="supporting-text">ClusterId ${cluster} (${formatHex(cluster)})</div>
|
|
41868
|
+
<ha-svg-icon slot="end" .path=${mdiChevronRight}></ha-svg-icon>
|
|
41869
|
+
</md-list-item>
|
|
41870
|
+
`;
|
|
41629
41871
|
}))}
|
|
41630
41872
|
</md-list>
|
|
41631
41873
|
</div>
|
|
@@ -41634,8 +41876,33 @@ let MatterEndpointView = class extends i$4 {
|
|
|
41634
41876
|
_goBack() {
|
|
41635
41877
|
history.back();
|
|
41636
41878
|
}
|
|
41879
|
+
_renderClientClustersSection(node) {
|
|
41880
|
+
const clientClusters = sourceClientClusters(node, this.endpoint);
|
|
41881
|
+
if (clientClusters.length === 0) return A;
|
|
41882
|
+
const boundClusterIds = boundClientClusterIds(node, this.endpoint);
|
|
41883
|
+
return b`
|
|
41884
|
+
<div class="container">
|
|
41885
|
+
<div class="info-panel">
|
|
41886
|
+
<div class="info-section">
|
|
41887
|
+
<div class="info-section-header">Client Clusters</div>
|
|
41888
|
+
<ul class="chip-list" role="list">
|
|
41889
|
+
${clientClusters.map(id => {
|
|
41890
|
+
const bound = boundClusterIds.has(id);
|
|
41891
|
+
return b`
|
|
41892
|
+
<li class=${bound ? "chip chip-bound" : "chip"}>
|
|
41893
|
+
${clusters[id]?.label ?? "Custom/Unknown Cluster"} ${formatHex(id)}
|
|
41894
|
+
${bound ? b`<span class="chip-state">Bound</span>` : A}
|
|
41895
|
+
</li>
|
|
41896
|
+
`;
|
|
41897
|
+
})}
|
|
41898
|
+
</ul>
|
|
41899
|
+
</div>
|
|
41900
|
+
</div>
|
|
41901
|
+
</div>
|
|
41902
|
+
`;
|
|
41903
|
+
}
|
|
41637
41904
|
};
|
|
41638
|
-
MatterEndpointView.styles = [notFoundStyles, i$7`
|
|
41905
|
+
MatterEndpointView.styles = [notFoundStyles, infoPanelStyles, i$7`
|
|
41639
41906
|
:host {
|
|
41640
41907
|
display: block;
|
|
41641
41908
|
background-color: var(--md-sys-color-background);
|
|
@@ -41671,6 +41938,18 @@ MatterEndpointView.styles = [notFoundStyles, i$7`
|
|
|
41671
41938
|
font-weight: bold;
|
|
41672
41939
|
font-size: 0.8em;
|
|
41673
41940
|
}
|
|
41941
|
+
|
|
41942
|
+
.chip.chip-bound {
|
|
41943
|
+
color: var(--md-sys-color-on-primary-container);
|
|
41944
|
+
background: var(--md-sys-color-primary-container);
|
|
41945
|
+
}
|
|
41946
|
+
|
|
41947
|
+
.chip-state {
|
|
41948
|
+
font-weight: 500;
|
|
41949
|
+
margin-left: 8px;
|
|
41950
|
+
padding-left: 8px;
|
|
41951
|
+
border-left: 1px solid currentcolor;
|
|
41952
|
+
}
|
|
41674
41953
|
`];
|
|
41675
41954
|
__decorateClass$c([c$5({
|
|
41676
41955
|
context: clientContext
|
|
@@ -42163,20 +42442,20 @@ let DevicePanel = class extends i$4 {
|
|
|
42163
42442
|
></ha-svg-icon>
|
|
42164
42443
|
</div>
|
|
42165
42444
|
${this._isExpanded ? b`
|
|
42166
|
-
|
|
42167
|
-
|
|
42445
|
+
<md-list class="device-list">
|
|
42446
|
+
${this.nodeIds.map(nodeId => {
|
|
42168
42447
|
const node = this.nodes[nodeId.toString()];
|
|
42169
42448
|
if (!node) return A;
|
|
42170
42449
|
return b`
|
|
42171
|
-
|
|
42172
|
-
|
|
42173
|
-
|
|
42174
|
-
|
|
42175
|
-
|
|
42176
|
-
|
|
42450
|
+
<md-list-item type="button" @click=${() => this._handleNodeClick(nodeId)}>
|
|
42451
|
+
<div slot="headline">Node ${nodeId}</div>
|
|
42452
|
+
<div slot="supporting-text">${getDeviceName(node)}</div>
|
|
42453
|
+
<ha-svg-icon slot="end" .path=${mdiChevronRight}></ha-svg-icon>
|
|
42454
|
+
</md-list-item>
|
|
42455
|
+
`;
|
|
42177
42456
|
})}
|
|
42178
|
-
|
|
42179
|
-
|
|
42457
|
+
</md-list>
|
|
42458
|
+
` : A}
|
|
42180
42459
|
</div>
|
|
42181
42460
|
`;
|
|
42182
42461
|
}
|
|
@@ -43401,47 +43680,47 @@ let UpdateConnectionsDialog = class extends i$4 {
|
|
|
43401
43680
|
const plural = neighborCount !== 1 ? "s" : "";
|
|
43402
43681
|
return b`
|
|
43403
43682
|
${sleepy ? b`
|
|
43404
|
-
|
|
43405
|
-
|
|
43406
|
-
|
|
43407
|
-
|
|
43408
|
-
|
|
43683
|
+
<p>
|
|
43684
|
+
"<strong>${this.selectedNodeName}</strong>" is a sleepy device (Matter LIT). It answers
|
|
43685
|
+
only when it next wakes, so its own network data arrives later.
|
|
43686
|
+
</p>
|
|
43687
|
+
` : b`<p>Refresh network information for "<strong>${this.selectedNodeName}</strong>".</p>`}
|
|
43409
43688
|
${neighborCount > 0 ? b`
|
|
43410
|
-
|
|
43411
|
-
|
|
43412
|
-
|
|
43413
|
-
|
|
43414
|
-
|
|
43415
|
-
|
|
43416
|
-
|
|
43417
|
-
|
|
43418
|
-
|
|
43419
|
-
|
|
43420
|
-
|
|
43421
|
-
|
|
43689
|
+
<label class="checkbox-row">
|
|
43690
|
+
<md-checkbox
|
|
43691
|
+
?checked=${this._includeNeighbors}
|
|
43692
|
+
@change=${this._handleCheckboxChange}
|
|
43693
|
+
?disabled=${this._isUpdating}
|
|
43694
|
+
></md-checkbox>
|
|
43695
|
+
<span
|
|
43696
|
+
>${sleepy ? "Refresh" : "Include"} ${neighborCount} connected online
|
|
43697
|
+
neighbor${plural}${sleepy ? " for current link data" : ""}</span
|
|
43698
|
+
>
|
|
43699
|
+
</label>
|
|
43700
|
+
` : sleepy ? b`<p class="note">No online neighbor can report its current link data either.</p>` : A}
|
|
43422
43701
|
`;
|
|
43423
43702
|
}
|
|
43424
43703
|
_renderOfflineContent() {
|
|
43425
43704
|
return b`
|
|
43426
43705
|
<p>"<strong>${this.selectedNodeName}</strong>" appears to be offline.</p>
|
|
43427
43706
|
${this.onlineNeighborIds.length > 0 ? b`
|
|
43428
|
-
|
|
43429
|
-
|
|
43430
|
-
|
|
43431
|
-
|
|
43432
|
-
|
|
43707
|
+
<p>
|
|
43708
|
+
Update network data from its ${this.onlineNeighborIds.length} online
|
|
43709
|
+
neighbor${this.onlineNeighborIds.length !== 1 ? "s" : ""} to refresh connection info.
|
|
43710
|
+
</p>
|
|
43711
|
+
` : b` <p>No online neighbors available to update.</p> `}
|
|
43433
43712
|
`;
|
|
43434
43713
|
}
|
|
43435
43714
|
_renderUnknownContent() {
|
|
43436
43715
|
return b`
|
|
43437
43716
|
<p>This device is not commissioned to this fabric and cannot be queried directly.</p>
|
|
43438
43717
|
${this.onlineNeighborIds.length > 0 ? b`
|
|
43439
|
-
|
|
43440
|
-
|
|
43441
|
-
|
|
43442
|
-
|
|
43443
|
-
|
|
43444
|
-
|
|
43718
|
+
<p>
|
|
43719
|
+
Update network data from ${this.onlineNeighborIds.length}
|
|
43720
|
+
node${this.onlineNeighborIds.length !== 1 ? "s" : ""} that
|
|
43721
|
+
see${this.onlineNeighborIds.length === 1 ? "s" : ""} this device to refresh info.
|
|
43722
|
+
</p>
|
|
43723
|
+
` : b` <p>No online nodes available that see this device.</p> `}
|
|
43445
43724
|
`;
|
|
43446
43725
|
}
|
|
43447
43726
|
_renderLongIdleTimeNote() {
|
|
@@ -43472,8 +43751,8 @@ let UpdateConnectionsDialog = class extends i$4 {
|
|
|
43472
43751
|
?disabled=${this._isUpdating || this._updateCount === 0}
|
|
43473
43752
|
>
|
|
43474
43753
|
${this._isUpdating ? b`<span class="updating-content"
|
|
43475
|
-
|
|
43476
|
-
|
|
43754
|
+
>${w`<svg class="spinner" viewBox="0 0 24 24" width="18" height="18"><path fill="currentColor" d="${mdiLoading}"/></svg>`}Updating...</span
|
|
43755
|
+
>` : buttonText}
|
|
43477
43756
|
</md-filled-button>
|
|
43478
43757
|
</div>
|
|
43479
43758
|
</md-dialog>
|
|
@@ -43652,35 +43931,35 @@ let NetworkDetails = class extends i$4 {
|
|
|
43652
43931
|
<div class="section">
|
|
43653
43932
|
<h4>WiFi Network</h4>
|
|
43654
43933
|
${wifiDiag.bssid ? b`
|
|
43655
|
-
|
|
43656
|
-
|
|
43657
|
-
|
|
43658
|
-
|
|
43659
|
-
|
|
43934
|
+
<div class="info-row">
|
|
43935
|
+
<span class="label">BSSID:</span>
|
|
43936
|
+
<span class="value mono">${wifiDiag.bssid}</span>
|
|
43937
|
+
</div>
|
|
43938
|
+
` : A}
|
|
43660
43939
|
${wifiDiag.rssi !== null ? b`
|
|
43661
|
-
|
|
43662
|
-
|
|
43663
|
-
|
|
43664
|
-
|
|
43665
|
-
|
|
43940
|
+
<div class="info-row">
|
|
43941
|
+
<span class="label">Signal:</span>
|
|
43942
|
+
<span class="value" style="color: ${signalColor}">${wifiDiag.rssi} dBm</span>
|
|
43943
|
+
</div>
|
|
43944
|
+
` : A}
|
|
43666
43945
|
${wifiDiag.channel !== null ? b`
|
|
43667
|
-
|
|
43668
|
-
|
|
43669
|
-
|
|
43670
|
-
|
|
43671
|
-
|
|
43946
|
+
<div class="info-row">
|
|
43947
|
+
<span class="label">Channel:</span>
|
|
43948
|
+
<span class="value">${wifiDiag.channel}</span>
|
|
43949
|
+
</div>
|
|
43950
|
+
` : A}
|
|
43672
43951
|
${wifiDiag.securityType !== null ? b`
|
|
43673
|
-
|
|
43674
|
-
|
|
43675
|
-
|
|
43676
|
-
|
|
43677
|
-
|
|
43952
|
+
<div class="info-row">
|
|
43953
|
+
<span class="label">Security:</span>
|
|
43954
|
+
<span class="value">${getWiFiSecurityTypeName(wifiDiag.securityType)}</span>
|
|
43955
|
+
</div>
|
|
43956
|
+
` : A}
|
|
43678
43957
|
${wifiDiag.wifiVersion !== null ? b`
|
|
43679
|
-
|
|
43680
|
-
|
|
43681
|
-
|
|
43682
|
-
|
|
43683
|
-
|
|
43958
|
+
<div class="info-row">
|
|
43959
|
+
<span class="label">WiFi version:</span>
|
|
43960
|
+
<span class="value">${getWiFiVersionName(wifiDiag.wifiVersion)}</span>
|
|
43961
|
+
</div>
|
|
43962
|
+
` : A}
|
|
43684
43963
|
</div>
|
|
43685
43964
|
`;
|
|
43686
43965
|
}
|
|
@@ -43705,23 +43984,23 @@ let NetworkDetails = class extends i$4 {
|
|
|
43705
43984
|
</div>
|
|
43706
43985
|
<p class="hint-text inline-note">${getThreadRoleDescription(threadRole)}</p>
|
|
43707
43986
|
${threadVersion !== void 0 ? b`
|
|
43708
|
-
|
|
43709
|
-
|
|
43710
|
-
|
|
43711
|
-
|
|
43712
|
-
|
|
43987
|
+
<div class="info-row">
|
|
43988
|
+
<span class="label">Thread version:</span>
|
|
43989
|
+
<span class="value">${formatThreadVersion(threadVersion)}</span>
|
|
43990
|
+
</div>
|
|
43991
|
+
` : A}
|
|
43713
43992
|
${channel !== void 0 ? b`
|
|
43714
|
-
|
|
43715
|
-
|
|
43716
|
-
|
|
43717
|
-
|
|
43718
|
-
|
|
43993
|
+
<div class="info-row">
|
|
43994
|
+
<span class="label">Channel:</span>
|
|
43995
|
+
<span class="value">${channel}</span>
|
|
43996
|
+
</div>
|
|
43997
|
+
` : A}
|
|
43719
43998
|
${extAddressHex ? b`
|
|
43720
|
-
|
|
43721
|
-
|
|
43722
|
-
|
|
43723
|
-
|
|
43724
|
-
|
|
43999
|
+
<div class="info-row">
|
|
44000
|
+
<span class="label">Extended address:</span>
|
|
44001
|
+
<span class="value mono">${extAddressHex}</span>
|
|
44002
|
+
</div>
|
|
44003
|
+
` : A}
|
|
43725
44004
|
<div class="info-row">
|
|
43726
44005
|
<span class="label">Direct neighbors:</span>
|
|
43727
44006
|
<span class="value">${connections.length}</span>
|
|
@@ -43738,11 +44017,11 @@ let NetworkDetails = class extends i$4 {
|
|
|
43738
44017
|
</div>
|
|
43739
44018
|
|
|
43740
44019
|
${connections.length > 0 ? b`
|
|
43741
|
-
|
|
43742
|
-
|
|
43743
|
-
|
|
43744
|
-
|
|
43745
|
-
|
|
44020
|
+
<md-divider></md-divider>
|
|
44021
|
+
<div class="section">
|
|
44022
|
+
<h4>Connections (${connections.length})</h4>
|
|
44023
|
+
<div class="neighbors-list">
|
|
44024
|
+
${connections.toSorted((a, b) => {
|
|
43746
44025
|
const score = conn => {
|
|
43747
44026
|
if (conn.rssi !== null && conn.rssi !== void 0) {
|
|
43748
44027
|
return conn.rssi;
|
|
@@ -43755,45 +44034,47 @@ let NetworkDetails = class extends i$4 {
|
|
|
43755
44034
|
return score(b) - score(a);
|
|
43756
44035
|
}).map(conn => {
|
|
43757
44036
|
return b`
|
|
43758
|
-
|
|
43759
|
-
|
|
43760
|
-
|
|
43761
|
-
|
|
43762
|
-
|
|
43763
|
-
|
|
43764
|
-
|
|
43765
|
-
|
|
43766
|
-
|
|
43767
|
-
|
|
43768
|
-
|
|
43769
|
-
|
|
43770
|
-
|
|
43771
|
-
|
|
43772
|
-
|
|
43773
|
-
|
|
43774
|
-
|
|
43775
|
-
|
|
43776
|
-
|
|
43777
|
-
|
|
43778
|
-
|
|
43779
|
-
|
|
43780
|
-
|
|
43781
|
-
|
|
43782
|
-
|
|
43783
|
-
|
|
43784
|
-
|
|
43785
|
-
|
|
43786
|
-
|
|
43787
|
-
|
|
43788
|
-
|
|
44037
|
+
<div
|
|
44038
|
+
class="neighbor-item clickable"
|
|
44039
|
+
role="button"
|
|
44040
|
+
tabindex="0"
|
|
44041
|
+
@click=${() => this._handleSelectNode(conn.connectedNodeId)}
|
|
44042
|
+
@keydown=${e => this._handleKeyDown(e, conn.connectedNodeId)}
|
|
44043
|
+
>
|
|
44044
|
+
<ha-svg-icon
|
|
44045
|
+
.path=${this._getSignalIcon(conn.signalLevel)}
|
|
44046
|
+
style="--icon-primary-color: ${conn.signalColor}"
|
|
44047
|
+
></ha-svg-icon>
|
|
44048
|
+
<div class="neighbor-info">
|
|
44049
|
+
<div class="neighbor-name">
|
|
44050
|
+
${conn.connectedNode ? b`Node ${conn.connectedNodeId}
|
|
44051
|
+
<span class="node-id-hex"
|
|
44052
|
+
>${this._formatNodeIdHex(conn.connectedNodeId)}</span
|
|
44053
|
+
>: ${getDeviceName(conn.connectedNode)}` : this._getExternalDeviceLabel(conn)}
|
|
44054
|
+
</div>
|
|
44055
|
+
<div class="neighbor-signal">
|
|
44056
|
+
${conn.rssi !== null ? b`RSSI: ${conn.rssi} dBm` : A}${conn.rssi !== null && conn.lqi !== null ? ", " : A}${conn.lqi !== null ? b`LQI: ${conn.lqi}` : A}${conn.bidirectionalLqi !== void 0 ? b`<span class="route-info"
|
|
44057
|
+
>, Bidir: ${conn.bidirectionalLqi}</span
|
|
44058
|
+
>` : A}${conn.pathCost !== void 0 ? b`<span class="route-info"
|
|
44059
|
+
>, Cost: ${conn.pathCost}</span
|
|
44060
|
+
>` : A}
|
|
44061
|
+
${conn.isReverseOnly ? b`
|
|
44062
|
+
<span
|
|
44063
|
+
class="direction-hint reverse-only"
|
|
44064
|
+
title="Peer reports this node but this node has no matching neighbor-table entry. Possible one-way visibility (range, TX power, or stale neighbor table)."
|
|
44065
|
+
>← one-way</span
|
|
44066
|
+
>
|
|
44067
|
+
` : !conn.isOutgoing ? b`
|
|
44068
|
+
<span class="direction-hint">(reverse)</span>
|
|
44069
|
+
` : A}
|
|
44070
|
+
</div>
|
|
43789
44071
|
</div>
|
|
43790
44072
|
</div>
|
|
43791
|
-
|
|
43792
|
-
`;
|
|
44073
|
+
`;
|
|
43793
44074
|
})}
|
|
44075
|
+
</div>
|
|
43794
44076
|
</div>
|
|
43795
|
-
|
|
43796
|
-
` : A}
|
|
44077
|
+
` : A}
|
|
43797
44078
|
`;
|
|
43798
44079
|
}
|
|
43799
44080
|
_renderNodeInfo(node) {
|
|
@@ -43814,11 +44095,11 @@ let NetworkDetails = class extends i$4 {
|
|
|
43814
44095
|
<span class="value">${node.productName ?? "Unknown"}</span>
|
|
43815
44096
|
</div>
|
|
43816
44097
|
${node.serialNumber ? b`
|
|
43817
|
-
|
|
43818
|
-
|
|
43819
|
-
|
|
43820
|
-
|
|
43821
|
-
|
|
44098
|
+
<div class="info-row">
|
|
44099
|
+
<span class="label">Serial:</span>
|
|
44100
|
+
<span class="value mono">${node.serialNumber}</span>
|
|
44101
|
+
</div>
|
|
44102
|
+
` : A}
|
|
43822
44103
|
<div class="info-row">
|
|
43823
44104
|
<span class="label">Network:</span>
|
|
43824
44105
|
<span class="value">${networkType.charAt(0).toUpperCase() + networkType.slice(1)}</span>
|
|
@@ -43832,13 +44113,13 @@ let NetworkDetails = class extends i$4 {
|
|
|
43832
44113
|
</div>
|
|
43833
44114
|
|
|
43834
44115
|
${networkType === "thread" ? b`
|
|
43835
|
-
|
|
43836
|
-
|
|
43837
|
-
|
|
44116
|
+
<md-divider></md-divider>
|
|
44117
|
+
${this._renderThreadInfo(node)} ${this._renderNodeDiagnostics(node)}
|
|
44118
|
+
` : A}
|
|
43838
44119
|
${networkType === "wifi" ? b`
|
|
43839
|
-
|
|
43840
|
-
|
|
43841
|
-
|
|
44120
|
+
<md-divider></md-divider>
|
|
44121
|
+
${this._renderWiFiInfo(node)}
|
|
44122
|
+
` : A}
|
|
43842
44123
|
`;
|
|
43843
44124
|
}
|
|
43844
44125
|
_renderDiagnosticMeshNodeInfo(nodeId) {
|
|
@@ -43875,23 +44156,23 @@ let NetworkDetails = class extends i$4 {
|
|
|
43875
44156
|
<span class="value">${isRouter ? "Router" : "End Device"}</span>
|
|
43876
44157
|
</div>
|
|
43877
44158
|
${extMac !== void 0 ? b`
|
|
43878
|
-
|
|
43879
|
-
|
|
43880
|
-
|
|
43881
|
-
|
|
43882
|
-
|
|
44159
|
+
<div class="info-row">
|
|
44160
|
+
<span class="label">Extended address:</span>
|
|
44161
|
+
<span class="value mono">${extMac}</span>
|
|
44162
|
+
</div>
|
|
44163
|
+
` : A}
|
|
43883
44164
|
${rlocHex !== void 0 ? b`
|
|
43884
|
-
|
|
43885
|
-
|
|
43886
|
-
|
|
43887
|
-
|
|
43888
|
-
|
|
44165
|
+
<div class="info-row">
|
|
44166
|
+
<span class="label">RLOC16:</span>
|
|
44167
|
+
<span class="value mono">${rlocHex}</span>
|
|
44168
|
+
</div>
|
|
44169
|
+
` : A}
|
|
43889
44170
|
${extPanId !== void 0 ? b`
|
|
43890
|
-
|
|
43891
|
-
|
|
43892
|
-
|
|
43893
|
-
|
|
43894
|
-
|
|
44171
|
+
<div class="info-row">
|
|
44172
|
+
<span class="label">Extended PAN ID:</span>
|
|
44173
|
+
<span class="value mono">${extPanId}</span>
|
|
44174
|
+
</div>
|
|
44175
|
+
` : A}
|
|
43895
44176
|
</div>
|
|
43896
44177
|
|
|
43897
44178
|
<md-divider></md-divider>
|
|
@@ -43919,23 +44200,23 @@ let NetworkDetails = class extends i$4 {
|
|
|
43919
44200
|
<span class="value mono">${unknown.extAddressHex}</span>
|
|
43920
44201
|
</div>
|
|
43921
44202
|
${unknown.networkName !== void 0 ? b`
|
|
43922
|
-
|
|
43923
|
-
|
|
43924
|
-
|
|
43925
|
-
|
|
43926
|
-
|
|
44203
|
+
<div class="info-row">
|
|
44204
|
+
<span class="label">Thread network:</span>
|
|
44205
|
+
<span class="value">${unknown.networkName}</span>
|
|
44206
|
+
</div>
|
|
44207
|
+
` : A}
|
|
43927
44208
|
${unknown.extendedPanIdHex !== void 0 ? b`
|
|
43928
|
-
|
|
43929
|
-
|
|
43930
|
-
|
|
43931
|
-
|
|
43932
|
-
|
|
44209
|
+
<div class="info-row">
|
|
44210
|
+
<span class="label">Extended PAN ID:</span>
|
|
44211
|
+
<span class="value mono">${unknown.extendedPanIdHex}</span>
|
|
44212
|
+
</div>
|
|
44213
|
+
` : A}
|
|
43933
44214
|
${unknown.bestRssi !== null ? b`
|
|
43934
|
-
|
|
43935
|
-
|
|
43936
|
-
|
|
43937
|
-
|
|
43938
|
-
|
|
44215
|
+
<div class="info-row">
|
|
44216
|
+
<span class="label">Best RSSI:</span>
|
|
44217
|
+
<span class="value">${unknown.bestRssi} dBm</span>
|
|
44218
|
+
</div>
|
|
44219
|
+
` : A}
|
|
43939
44220
|
</div>
|
|
43940
44221
|
|
|
43941
44222
|
${this._renderExternalDeviceNeighbors(deviceId)}
|
|
@@ -44017,47 +44298,47 @@ let NetworkDetails = class extends i$4 {
|
|
|
44017
44298
|
_renderBorderRouterIdentityRows(br, includeExtAddr) {
|
|
44018
44299
|
return b`
|
|
44019
44300
|
${br.networkName ? b`
|
|
44020
|
-
|
|
44021
|
-
|
|
44022
|
-
|
|
44023
|
-
|
|
44024
|
-
|
|
44301
|
+
<div class="info-row">
|
|
44302
|
+
<span class="label">Network name:</span>
|
|
44303
|
+
<span class="value">${br.networkName}</span>
|
|
44304
|
+
</div>
|
|
44305
|
+
` : A}
|
|
44025
44306
|
${br.vendorName ? b`
|
|
44026
|
-
|
|
44027
|
-
|
|
44028
|
-
|
|
44029
|
-
|
|
44030
|
-
|
|
44307
|
+
<div class="info-row">
|
|
44308
|
+
<span class="label">Vendor:</span>
|
|
44309
|
+
<span class="value">${br.vendorName}</span>
|
|
44310
|
+
</div>
|
|
44311
|
+
` : A}
|
|
44031
44312
|
${br.modelName ? b`
|
|
44032
|
-
|
|
44033
|
-
|
|
44034
|
-
|
|
44035
|
-
|
|
44036
|
-
|
|
44313
|
+
<div class="info-row">
|
|
44314
|
+
<span class="label">Model:</span>
|
|
44315
|
+
<span class="value">${br.modelName}</span>
|
|
44316
|
+
</div>
|
|
44317
|
+
` : A}
|
|
44037
44318
|
${br.threadVersion ? b`
|
|
44038
|
-
|
|
44039
|
-
|
|
44040
|
-
|
|
44041
|
-
|
|
44042
|
-
|
|
44319
|
+
<div class="info-row">
|
|
44320
|
+
<span class="label">Thread version:</span>
|
|
44321
|
+
<span class="value">${br.threadVersion}</span>
|
|
44322
|
+
</div>
|
|
44323
|
+
` : A}
|
|
44043
44324
|
${br.swVersion ? b`
|
|
44044
|
-
|
|
44045
|
-
|
|
44046
|
-
|
|
44047
|
-
|
|
44048
|
-
|
|
44325
|
+
<div class="info-row">
|
|
44326
|
+
<span class="label">SW version:</span>
|
|
44327
|
+
<span class="value">${br.swVersion}</span>
|
|
44328
|
+
</div>
|
|
44329
|
+
` : A}
|
|
44049
44330
|
${br.recordVersion ? b`
|
|
44050
|
-
|
|
44051
|
-
|
|
44052
|
-
|
|
44053
|
-
|
|
44054
|
-
|
|
44331
|
+
<div class="info-row">
|
|
44332
|
+
<span class="label">Record version:</span>
|
|
44333
|
+
<span class="value">${br.recordVersion}</span>
|
|
44334
|
+
</div>
|
|
44335
|
+
` : A}
|
|
44055
44336
|
${includeExtAddr ? b`
|
|
44056
|
-
|
|
44057
|
-
|
|
44058
|
-
|
|
44059
|
-
|
|
44060
|
-
|
|
44337
|
+
<div class="info-row">
|
|
44338
|
+
<span class="label">Extended address:</span>
|
|
44339
|
+
<span class="value mono">${br.extAddressHex}</span>
|
|
44340
|
+
</div>
|
|
44341
|
+
` : A}
|
|
44061
44342
|
`;
|
|
44062
44343
|
}
|
|
44063
44344
|
/**
|
|
@@ -44102,13 +44383,13 @@ let NetworkDetails = class extends i$4 {
|
|
|
44102
44383
|
<span class="value">${decoded.epskcSupported ? "supported" : "not supported"}</span>
|
|
44103
44384
|
</div>
|
|
44104
44385
|
${decoded.multiAilStateValue !== 0 ? b`
|
|
44105
|
-
|
|
44106
|
-
|
|
44107
|
-
|
|
44108
|
-
|
|
44109
|
-
|
|
44110
|
-
|
|
44111
|
-
|
|
44386
|
+
<div class="info-row">
|
|
44387
|
+
<span class="label">Multi-AIL:</span>
|
|
44388
|
+
<span class="value">
|
|
44389
|
+
${decoded.multiAilState ?? `reserved (${decoded.multiAilStateValue})`}
|
|
44390
|
+
</span>
|
|
44391
|
+
</div>
|
|
44392
|
+
` : A}
|
|
44112
44393
|
<div class="info-row">
|
|
44113
44394
|
<span class="label">State bitmap (raw):</span>
|
|
44114
44395
|
<span class="value mono">${hex}</span>
|
|
@@ -44124,36 +44405,36 @@ let NetworkDetails = class extends i$4 {
|
|
|
44124
44405
|
if (!hasAny) return A;
|
|
44125
44406
|
return b`
|
|
44126
44407
|
${br.extendedPanIdHex ? b`
|
|
44127
|
-
|
|
44128
|
-
|
|
44129
|
-
|
|
44130
|
-
|
|
44131
|
-
|
|
44408
|
+
<div class="info-row">
|
|
44409
|
+
<span class="label">Extended PAN ID:</span>
|
|
44410
|
+
<span class="value mono">${br.extendedPanIdHex}</span>
|
|
44411
|
+
</div>
|
|
44412
|
+
` : A}
|
|
44132
44413
|
${br.partitionIdHex ? b`
|
|
44133
|
-
|
|
44134
|
-
|
|
44135
|
-
|
|
44136
|
-
|
|
44137
|
-
|
|
44414
|
+
<div class="info-row">
|
|
44415
|
+
<span class="label">Partition ID:</span>
|
|
44416
|
+
<span class="value mono">${br.partitionIdHex}</span>
|
|
44417
|
+
</div>
|
|
44418
|
+
` : A}
|
|
44138
44419
|
${br.activeTimestampHex ? b`
|
|
44139
|
-
|
|
44140
|
-
|
|
44141
|
-
|
|
44142
|
-
|
|
44143
|
-
|
|
44420
|
+
<div class="info-row">
|
|
44421
|
+
<span class="label">Active timestamp:</span>
|
|
44422
|
+
<span class="value mono">${br.activeTimestampHex}</span>
|
|
44423
|
+
</div>
|
|
44424
|
+
` : A}
|
|
44144
44425
|
${this._renderStateBitmap(br.stateBitmapHex)}
|
|
44145
44426
|
${br.domainName ? b`
|
|
44146
|
-
|
|
44147
|
-
|
|
44148
|
-
|
|
44149
|
-
|
|
44150
|
-
|
|
44427
|
+
<div class="info-row">
|
|
44428
|
+
<span class="label">Domain:</span>
|
|
44429
|
+
<span class="value">${br.domainName}</span>
|
|
44430
|
+
</div>
|
|
44431
|
+
` : A}
|
|
44151
44432
|
${br.borderAgentIdHex ? b`
|
|
44152
|
-
|
|
44153
|
-
|
|
44154
|
-
|
|
44155
|
-
|
|
44156
|
-
|
|
44433
|
+
<div class="info-row">
|
|
44434
|
+
<span class="label">Border agent ID:</span>
|
|
44435
|
+
<span class="value mono">${br.borderAgentIdHex}</span>
|
|
44436
|
+
</div>
|
|
44437
|
+
` : A}
|
|
44157
44438
|
`;
|
|
44158
44439
|
}
|
|
44159
44440
|
/**
|
|
@@ -44164,11 +44445,11 @@ let NetworkDetails = class extends i$4 {
|
|
|
44164
44445
|
if (!hasAny) return A;
|
|
44165
44446
|
return b`
|
|
44166
44447
|
${br.hostname ? b`
|
|
44167
|
-
|
|
44168
|
-
|
|
44169
|
-
|
|
44170
|
-
|
|
44171
|
-
|
|
44448
|
+
<div class="info-row">
|
|
44449
|
+
<span class="label">Hostname:</span>
|
|
44450
|
+
<span class="value mono">${br.hostname}</span>
|
|
44451
|
+
</div>
|
|
44452
|
+
` : A}
|
|
44172
44453
|
${br.addresses.map(addr => b`
|
|
44173
44454
|
<div class="info-row">
|
|
44174
44455
|
<span class="label">Address:</span>
|
|
@@ -44176,23 +44457,23 @@ let NetworkDetails = class extends i$4 {
|
|
|
44176
44457
|
</div>
|
|
44177
44458
|
`)}
|
|
44178
44459
|
${br.meshcopPort !== void 0 ? b`
|
|
44179
|
-
|
|
44180
|
-
|
|
44181
|
-
|
|
44182
|
-
|
|
44183
|
-
|
|
44460
|
+
<div class="info-row">
|
|
44461
|
+
<span class="label">MeshCoP port:</span>
|
|
44462
|
+
<span class="value">${br.meshcopPort}</span>
|
|
44463
|
+
</div>
|
|
44464
|
+
` : A}
|
|
44184
44465
|
${br.trelPort !== void 0 ? b`
|
|
44185
|
-
|
|
44186
|
-
|
|
44187
|
-
|
|
44188
|
-
|
|
44189
|
-
|
|
44466
|
+
<div class="info-row">
|
|
44467
|
+
<span class="label">TREL port:</span>
|
|
44468
|
+
<span class="value">${br.trelPort}</span>
|
|
44469
|
+
</div>
|
|
44470
|
+
` : A}
|
|
44190
44471
|
${br.sources.length > 0 ? b`
|
|
44191
|
-
|
|
44192
|
-
|
|
44193
|
-
|
|
44194
|
-
|
|
44195
|
-
|
|
44472
|
+
<div class="info-row">
|
|
44473
|
+
<span class="label">Sources:</span>
|
|
44474
|
+
<span class="value">${br.sources.join(", ")}</span>
|
|
44475
|
+
</div>
|
|
44476
|
+
` : A}
|
|
44196
44477
|
`;
|
|
44197
44478
|
}
|
|
44198
44479
|
/**
|
|
@@ -44255,55 +44536,55 @@ let NetworkDetails = class extends i$4 {
|
|
|
44255
44536
|
<div class="section">
|
|
44256
44537
|
${heading}${errorBanner}
|
|
44257
44538
|
${batch.source !== "none" ? b`
|
|
44258
|
-
|
|
44259
|
-
|
|
44260
|
-
|
|
44261
|
-
|
|
44262
|
-
|
|
44539
|
+
<div class="info-row">
|
|
44540
|
+
<span class="label">Source:</span>
|
|
44541
|
+
<span class="value">${batch.source}</span>
|
|
44542
|
+
</div>
|
|
44543
|
+
` : A}
|
|
44263
44544
|
<div class="info-row">
|
|
44264
44545
|
<span class="label">Updated:</span>
|
|
44265
44546
|
<span class="value">${collected}</span>
|
|
44266
44547
|
</div>
|
|
44267
44548
|
${routerCount > 0 ? b`
|
|
44268
|
-
|
|
44269
|
-
|
|
44270
|
-
|
|
44271
|
-
|
|
44272
|
-
|
|
44549
|
+
<div class="info-row">
|
|
44550
|
+
<span class="label">Routers:</span>
|
|
44551
|
+
<span class="value">${routerCount}</span>
|
|
44552
|
+
</div>
|
|
44553
|
+
` : A}
|
|
44273
44554
|
${brNode?.leaderData !== void 0 ? b`
|
|
44274
|
-
|
|
44275
|
-
|
|
44276
|
-
|
|
44277
|
-
|
|
44278
|
-
|
|
44279
|
-
|
|
44280
|
-
|
|
44281
|
-
|
|
44282
|
-
|
|
44555
|
+
<div class="info-row">
|
|
44556
|
+
<span class="label">Leader router ID:</span>
|
|
44557
|
+
<span class="value">${brNode.leaderData.leaderRouterId}</span>
|
|
44558
|
+
</div>
|
|
44559
|
+
<div class="info-row">
|
|
44560
|
+
<span class="label">Partition ID:</span>
|
|
44561
|
+
<span class="value mono">${brNode.leaderData.partitionId.toString(16)}</span>
|
|
44562
|
+
</div>
|
|
44563
|
+
` : A}
|
|
44283
44564
|
${childCount > 0 ? b`
|
|
44284
|
-
|
|
44285
|
-
|
|
44286
|
-
|
|
44287
|
-
|
|
44288
|
-
|
|
44565
|
+
<div class="info-row">
|
|
44566
|
+
<span class="label">Children:</span>
|
|
44567
|
+
<span class="value">${childCount}</span>
|
|
44568
|
+
</div>
|
|
44569
|
+
` : A}
|
|
44289
44570
|
${brNode?.vendorName !== void 0 ? b`
|
|
44290
|
-
|
|
44291
|
-
|
|
44292
|
-
|
|
44293
|
-
|
|
44294
|
-
|
|
44571
|
+
<div class="info-row">
|
|
44572
|
+
<span class="label">Diagnostic vendor:</span>
|
|
44573
|
+
<span class="value">${brNode.vendorName}</span>
|
|
44574
|
+
</div>
|
|
44575
|
+
` : A}
|
|
44295
44576
|
${brNode?.vendorModel !== void 0 ? b`
|
|
44296
|
-
|
|
44297
|
-
|
|
44298
|
-
|
|
44299
|
-
|
|
44300
|
-
|
|
44577
|
+
<div class="info-row">
|
|
44578
|
+
<span class="label">Diagnostic model:</span>
|
|
44579
|
+
<span class="value">${brNode.vendorModel}</span>
|
|
44580
|
+
</div>
|
|
44581
|
+
` : A}
|
|
44301
44582
|
${brNode?.threadStackVersion !== void 0 ? b`
|
|
44302
|
-
|
|
44303
|
-
|
|
44304
|
-
|
|
44305
|
-
|
|
44306
|
-
|
|
44583
|
+
<div class="info-row">
|
|
44584
|
+
<span class="label">Stack version:</span>
|
|
44585
|
+
<span class="value">${brNode.threadStackVersion}</span>
|
|
44586
|
+
</div>
|
|
44587
|
+
` : A}
|
|
44307
44588
|
</div>
|
|
44308
44589
|
`;
|
|
44309
44590
|
}
|
|
@@ -44321,47 +44602,47 @@ let NetworkDetails = class extends i$4 {
|
|
|
44321
44602
|
<div class="section">
|
|
44322
44603
|
<h4>Thread Diagnostics</h4>
|
|
44323
44604
|
${diagNode.vendorName !== void 0 ? b`
|
|
44324
|
-
|
|
44325
|
-
|
|
44326
|
-
|
|
44327
|
-
|
|
44328
|
-
|
|
44605
|
+
<div class="info-row">
|
|
44606
|
+
<span class="label">Diagnostic vendor:</span>
|
|
44607
|
+
<span class="value">${diagNode.vendorName}</span>
|
|
44608
|
+
</div>
|
|
44609
|
+
` : A}
|
|
44329
44610
|
${diagNode.vendorModel !== void 0 ? b`
|
|
44330
|
-
|
|
44331
|
-
|
|
44332
|
-
|
|
44333
|
-
|
|
44334
|
-
|
|
44611
|
+
<div class="info-row">
|
|
44612
|
+
<span class="label">Diagnostic model:</span>
|
|
44613
|
+
<span class="value">${diagNode.vendorModel}</span>
|
|
44614
|
+
</div>
|
|
44615
|
+
` : A}
|
|
44335
44616
|
${diagNode.vendorSwVersion !== void 0 ? b`
|
|
44336
|
-
|
|
44337
|
-
|
|
44338
|
-
|
|
44339
|
-
|
|
44340
|
-
|
|
44617
|
+
<div class="info-row">
|
|
44618
|
+
<span class="label">SW version:</span>
|
|
44619
|
+
<span class="value">${diagNode.vendorSwVersion}</span>
|
|
44620
|
+
</div>
|
|
44621
|
+
` : A}
|
|
44341
44622
|
${diagNode.threadStackVersion !== void 0 ? b`
|
|
44342
|
-
|
|
44343
|
-
|
|
44344
|
-
|
|
44345
|
-
|
|
44346
|
-
|
|
44623
|
+
<div class="info-row">
|
|
44624
|
+
<span class="label">Stack version:</span>
|
|
44625
|
+
<span class="value">${diagNode.threadStackVersion}</span>
|
|
44626
|
+
</div>
|
|
44627
|
+
` : A}
|
|
44347
44628
|
${ipv6Count > 0 ? b`
|
|
44348
|
-
|
|
44349
|
-
|
|
44350
|
-
|
|
44351
|
-
|
|
44352
|
-
|
|
44629
|
+
<div class="info-row">
|
|
44630
|
+
<span class="label">IPv6 addresses:</span>
|
|
44631
|
+
<span class="value">${ipv6Count}</span>
|
|
44632
|
+
</div>
|
|
44633
|
+
` : A}
|
|
44353
44634
|
${macTx !== void 0 && macRx !== void 0 ? b`
|
|
44354
|
-
|
|
44355
|
-
|
|
44356
|
-
|
|
44357
|
-
|
|
44358
|
-
|
|
44635
|
+
<div class="info-row">
|
|
44636
|
+
<span class="label">MAC tx/rx:</span>
|
|
44637
|
+
<span class="value">${macTx} / ${macRx}</span>
|
|
44638
|
+
</div>
|
|
44639
|
+
` : A}
|
|
44359
44640
|
${diagNode.mleCounters?.parentChanges !== void 0 ? b`
|
|
44360
|
-
|
|
44361
|
-
|
|
44362
|
-
|
|
44363
|
-
|
|
44364
|
-
|
|
44641
|
+
<div class="info-row">
|
|
44642
|
+
<span class="label">Parent changes:</span>
|
|
44643
|
+
<span class="value">${diagNode.mleCounters.parentChanges}</span>
|
|
44644
|
+
</div>
|
|
44645
|
+
` : A}
|
|
44365
44646
|
</div>
|
|
44366
44647
|
`;
|
|
44367
44648
|
}
|
|
@@ -44378,27 +44659,27 @@ let NetworkDetails = class extends i$4 {
|
|
|
44378
44659
|
<h4>Border Router</h4>
|
|
44379
44660
|
${this._renderBorderRouterIdentityRows(br, true)}
|
|
44380
44661
|
${br.bestRssi !== null ? b`
|
|
44381
|
-
|
|
44382
|
-
|
|
44383
|
-
|
|
44384
|
-
|
|
44385
|
-
|
|
44662
|
+
<div class="info-row">
|
|
44663
|
+
<span class="label">Best RSSI:</span>
|
|
44664
|
+
<span class="value">${br.bestRssi} dBm</span>
|
|
44665
|
+
</div>
|
|
44666
|
+
` : A}
|
|
44386
44667
|
</div>
|
|
44387
44668
|
|
|
44388
44669
|
${networkRows !== A ? b`
|
|
44389
|
-
|
|
44390
|
-
|
|
44391
|
-
|
|
44392
|
-
|
|
44393
|
-
|
|
44394
|
-
|
|
44670
|
+
<md-divider></md-divider>
|
|
44671
|
+
<div class="section">
|
|
44672
|
+
<h4>Thread Network</h4>
|
|
44673
|
+
${networkRows}
|
|
44674
|
+
</div>
|
|
44675
|
+
` : A}
|
|
44395
44676
|
${addressRows !== A ? b`
|
|
44396
|
-
|
|
44397
|
-
|
|
44398
|
-
|
|
44399
|
-
|
|
44400
|
-
|
|
44401
|
-
|
|
44677
|
+
<md-divider></md-divider>
|
|
44678
|
+
<div class="section">
|
|
44679
|
+
<h4>Addresses</h4>
|
|
44680
|
+
${addressRows}
|
|
44681
|
+
</div>
|
|
44682
|
+
` : A}
|
|
44402
44683
|
${this._renderBorderRouterDiagnostics(br)} ${this._renderExternalDeviceNeighbors(deviceId)}
|
|
44403
44684
|
`;
|
|
44404
44685
|
}
|
|
@@ -44523,11 +44804,11 @@ let NetworkDetails = class extends i$4 {
|
|
|
44523
44804
|
</div>
|
|
44524
44805
|
</div>
|
|
44525
44806
|
${ap.connectedNodes.length > 0 ? b`
|
|
44526
|
-
|
|
44527
|
-
|
|
44528
|
-
|
|
44529
|
-
|
|
44530
|
-
|
|
44807
|
+
<md-divider></md-divider>
|
|
44808
|
+
<div class="section">
|
|
44809
|
+
<h4>Connected Nodes</h4>
|
|
44810
|
+
<div class="connected-nodes-list">
|
|
44811
|
+
${ap.connectedNodes.toSorted((a, b) => {
|
|
44531
44812
|
const nodeA = this.nodes[a.toString()];
|
|
44532
44813
|
const nodeB = this.nodes[b.toString()];
|
|
44533
44814
|
const rssiA = nodeA ? getWiFiDiagnostics(nodeA)?.rssi ?? -Infinity : -Infinity;
|
|
@@ -44539,27 +44820,27 @@ let NetworkDetails = class extends i$4 {
|
|
|
44539
44820
|
const wifiDiag = getWiFiDiagnostics(node);
|
|
44540
44821
|
const signalColor = getSignalColorFromRssi(wifiDiag.rssi);
|
|
44541
44822
|
return b`
|
|
44542
|
-
|
|
44543
|
-
|
|
44544
|
-
|
|
44545
|
-
|
|
44546
|
-
|
|
44547
|
-
|
|
44548
|
-
|
|
44549
|
-
|
|
44550
|
-
|
|
44551
|
-
|
|
44552
|
-
|
|
44823
|
+
<div
|
|
44824
|
+
class="connected-node-item clickable"
|
|
44825
|
+
role="button"
|
|
44826
|
+
tabindex="0"
|
|
44827
|
+
@click=${() => this._handleSelectNode(nodeId)}
|
|
44828
|
+
@keydown=${e => this._handleKeyDown(e, nodeId)}
|
|
44829
|
+
>
|
|
44830
|
+
<div class="node-name">
|
|
44831
|
+
Node ${nodeId}
|
|
44832
|
+
<span class="node-id-hex">${this._formatNodeIdHex(nodeId)}</span>:
|
|
44833
|
+
${getDeviceName(node)}
|
|
44834
|
+
</div>
|
|
44835
|
+
${wifiDiag.rssi !== null ? b`<div class="node-signal" style="color: ${signalColor}">
|
|
44836
|
+
${wifiDiag.rssi} dBm
|
|
44837
|
+
</div>` : A}
|
|
44553
44838
|
</div>
|
|
44554
|
-
|
|
44555
|
-
${wifiDiag.rssi} dBm
|
|
44556
|
-
</div>` : A}
|
|
44557
|
-
</div>
|
|
44558
|
-
`;
|
|
44839
|
+
`;
|
|
44559
44840
|
})}
|
|
44841
|
+
</div>
|
|
44560
44842
|
</div>
|
|
44561
|
-
|
|
44562
|
-
` : A}
|
|
44843
|
+
` : A}
|
|
44563
44844
|
<md-divider></md-divider>
|
|
44564
44845
|
<div class="section">
|
|
44565
44846
|
<p class="hint-text">
|
|
@@ -44585,13 +44866,13 @@ let NetworkDetails = class extends i$4 {
|
|
|
44585
44866
|
<h4>Also a Border Router</h4>
|
|
44586
44867
|
${this._renderBorderRouterIdentityRows(br, false)}
|
|
44587
44868
|
${networkRows !== A ? b`
|
|
44588
|
-
|
|
44589
|
-
|
|
44590
|
-
|
|
44869
|
+
<div class="subsection-label">Thread Network</div>
|
|
44870
|
+
${networkRows}
|
|
44871
|
+
` : A}
|
|
44591
44872
|
${addressRows !== A ? b`
|
|
44592
|
-
|
|
44593
|
-
|
|
44594
|
-
|
|
44873
|
+
<div class="subsection-label">Addresses</div>
|
|
44874
|
+
${addressRows}
|
|
44875
|
+
` : A}
|
|
44595
44876
|
</div>
|
|
44596
44877
|
`;
|
|
44597
44878
|
}
|
|
@@ -44612,15 +44893,15 @@ let NetworkDetails = class extends i$4 {
|
|
|
44612
44893
|
<h3>External Device</h3>
|
|
44613
44894
|
<div class="header-actions">
|
|
44614
44895
|
${onlineSeenByNodes.length > 0 ? b`
|
|
44615
|
-
|
|
44616
|
-
|
|
44617
|
-
|
|
44618
|
-
|
|
44619
|
-
|
|
44620
|
-
|
|
44621
|
-
|
|
44622
|
-
|
|
44623
|
-
|
|
44896
|
+
<button
|
|
44897
|
+
class="action-button"
|
|
44898
|
+
@click=${this._handleUpdateConnections}
|
|
44899
|
+
aria-label="Update connection data"
|
|
44900
|
+
title="Update connection data"
|
|
44901
|
+
>
|
|
44902
|
+
<ha-svg-icon .path=${mdiRefresh}></ha-svg-icon>
|
|
44903
|
+
</button>
|
|
44904
|
+
` : A}
|
|
44624
44905
|
<button class="close-button" @click=${this._handleClose} aria-label="Close details panel">
|
|
44625
44906
|
<ha-svg-icon .path=${mdiClose}></ha-svg-icon>
|
|
44626
44907
|
</button>
|
|
@@ -44629,15 +44910,15 @@ let NetworkDetails = class extends i$4 {
|
|
|
44629
44910
|
<div class="content">${this._renderUnknownDeviceInfo(this.selectedNodeId)}</div>
|
|
44630
44911
|
</div>
|
|
44631
44912
|
${this._showUpdateDialog ? b`
|
|
44632
|
-
|
|
44633
|
-
|
|
44634
|
-
|
|
44635
|
-
|
|
44636
|
-
|
|
44637
|
-
|
|
44638
|
-
|
|
44639
|
-
|
|
44640
|
-
|
|
44913
|
+
<update-connections-dialog
|
|
44914
|
+
.nodes=${this.nodes}
|
|
44915
|
+
selectedNodeType="unknown"
|
|
44916
|
+
.selectedNodeName=${this._getSelectedNodeName()}
|
|
44917
|
+
.selectedNodeId=${this.selectedNodeId}
|
|
44918
|
+
.onlineNeighborIds=${onlineSeenByNodes}
|
|
44919
|
+
@dialog-closed=${this._handleDialogClose}
|
|
44920
|
+
></update-connections-dialog>
|
|
44921
|
+
` : A}
|
|
44641
44922
|
`;
|
|
44642
44923
|
}
|
|
44643
44924
|
const borderRouterId = typeof this.selectedNodeId === "string" && this.selectedNodeId.startsWith("br_") ? this.selectedNodeId : null;
|
|
@@ -44649,15 +44930,15 @@ let NetworkDetails = class extends i$4 {
|
|
|
44649
44930
|
<h3>Border Router</h3>
|
|
44650
44931
|
<div class="header-actions">
|
|
44651
44932
|
${onlineSeenByNodes.length > 0 ? b`
|
|
44652
|
-
|
|
44653
|
-
|
|
44654
|
-
|
|
44655
|
-
|
|
44656
|
-
|
|
44657
|
-
|
|
44658
|
-
|
|
44659
|
-
|
|
44660
|
-
|
|
44933
|
+
<button
|
|
44934
|
+
class="action-button"
|
|
44935
|
+
@click=${this._handleUpdateConnections}
|
|
44936
|
+
aria-label="Update connection data"
|
|
44937
|
+
title="Update connection data"
|
|
44938
|
+
>
|
|
44939
|
+
<ha-svg-icon .path=${mdiRefresh}></ha-svg-icon>
|
|
44940
|
+
</button>
|
|
44941
|
+
` : A}
|
|
44661
44942
|
<button class="close-button" @click=${this._handleClose} aria-label="Close details panel">
|
|
44662
44943
|
<ha-svg-icon .path=${mdiClose}></ha-svg-icon>
|
|
44663
44944
|
</button>
|
|
@@ -44666,15 +44947,15 @@ let NetworkDetails = class extends i$4 {
|
|
|
44666
44947
|
<div class="content">${this._renderBorderRouterInfo(borderRouterId)}</div>
|
|
44667
44948
|
</div>
|
|
44668
44949
|
${this._showUpdateDialog ? b`
|
|
44669
|
-
|
|
44670
|
-
|
|
44671
|
-
|
|
44672
|
-
|
|
44673
|
-
|
|
44674
|
-
|
|
44675
|
-
|
|
44676
|
-
|
|
44677
|
-
|
|
44950
|
+
<update-connections-dialog
|
|
44951
|
+
.nodes=${this.nodes}
|
|
44952
|
+
selectedNodeType="unknown"
|
|
44953
|
+
.selectedNodeName=${this._getSelectedNodeName()}
|
|
44954
|
+
.selectedNodeId=${this.selectedNodeId}
|
|
44955
|
+
.onlineNeighborIds=${onlineSeenByNodes}
|
|
44956
|
+
@dialog-closed=${this._handleDialogClose}
|
|
44957
|
+
></update-connections-dialog>
|
|
44958
|
+
` : A}
|
|
44678
44959
|
`;
|
|
44679
44960
|
}
|
|
44680
44961
|
const isAccessPoint = typeof this.selectedNodeId === "string" && this.selectedNodeId.startsWith("ap_");
|
|
@@ -44725,15 +45006,15 @@ let NetworkDetails = class extends i$4 {
|
|
|
44725
45006
|
</h3>
|
|
44726
45007
|
<div class="header-actions">
|
|
44727
45008
|
${canUpdate ? b`
|
|
44728
|
-
|
|
44729
|
-
|
|
44730
|
-
|
|
44731
|
-
|
|
44732
|
-
|
|
44733
|
-
|
|
44734
|
-
|
|
44735
|
-
|
|
44736
|
-
|
|
45009
|
+
<button
|
|
45010
|
+
class="action-button"
|
|
45011
|
+
@click=${this._handleUpdateConnections}
|
|
45012
|
+
aria-label="Update connection data"
|
|
45013
|
+
title="Update connection data"
|
|
45014
|
+
>
|
|
45015
|
+
<ha-svg-icon .path=${mdiRefresh}></ha-svg-icon>
|
|
45016
|
+
</button>
|
|
45017
|
+
` : A}
|
|
44737
45018
|
<button class="close-button" @click=${this._handleClose} aria-label="Close details panel">
|
|
44738
45019
|
<ha-svg-icon .path=${mdiClose}></ha-svg-icon>
|
|
44739
45020
|
</button>
|
|
@@ -44747,15 +45028,15 @@ let NetworkDetails = class extends i$4 {
|
|
|
44747
45028
|
</div>
|
|
44748
45029
|
</div>
|
|
44749
45030
|
${this._showUpdateDialog ? b`
|
|
44750
|
-
|
|
44751
|
-
|
|
44752
|
-
|
|
44753
|
-
|
|
44754
|
-
|
|
44755
|
-
|
|
44756
|
-
|
|
44757
|
-
|
|
44758
|
-
|
|
45031
|
+
<update-connections-dialog
|
|
45032
|
+
.nodes=${this.nodes}
|
|
45033
|
+
.selectedNodeType=${nodeType}
|
|
45034
|
+
.selectedNodeName=${this._getSelectedNodeName()}
|
|
45035
|
+
.selectedNodeId=${this.selectedNodeId}
|
|
45036
|
+
.onlineNeighborIds=${onlineNeighbors}
|
|
45037
|
+
@dialog-closed=${this._handleDialogClose}
|
|
45038
|
+
></update-connections-dialog>
|
|
45039
|
+
` : A}
|
|
44759
45040
|
`;
|
|
44760
45041
|
}
|
|
44761
45042
|
};
|
|
@@ -54610,24 +54891,24 @@ let MatterNetworkView = class extends i$4 {
|
|
|
54610
54891
|
<ha-svg-icon .path=${mdiEyeOff}></ha-svg-icon>
|
|
54611
54892
|
</button>
|
|
54612
54893
|
${this._showHideMenu ? b`
|
|
54613
|
-
|
|
54614
|
-
|
|
54615
|
-
|
|
54616
|
-
|
|
54617
|
-
|
|
54618
|
-
|
|
54619
|
-
|
|
54620
|
-
|
|
54621
|
-
|
|
54622
|
-
|
|
54623
|
-
|
|
54624
|
-
|
|
54625
|
-
|
|
54626
|
-
|
|
54627
|
-
|
|
54628
|
-
|
|
54629
|
-
|
|
54630
|
-
|
|
54894
|
+
<div
|
|
54895
|
+
id="hide-options-menu"
|
|
54896
|
+
class="hide-dropdown"
|
|
54897
|
+
role="group"
|
|
54898
|
+
aria-label="Hide options"
|
|
54899
|
+
>
|
|
54900
|
+
${HIDE_OPTIONS.map(option => b`
|
|
54901
|
+
<label class="hide-option">
|
|
54902
|
+
<input
|
|
54903
|
+
type="checkbox"
|
|
54904
|
+
.checked=${this[option.key]}
|
|
54905
|
+
@change=${() => this._handleToggleHideOption(option.key)}
|
|
54906
|
+
/>
|
|
54907
|
+
<span>${option.label}</span>
|
|
54908
|
+
</label>
|
|
54909
|
+
`)}
|
|
54910
|
+
</div>
|
|
54911
|
+
` : ""}
|
|
54631
54912
|
</div>
|
|
54632
54913
|
<button
|
|
54633
54914
|
class="control-button ${this._physicsEnabled ? "" : "active"}"
|
|
@@ -54640,8 +54921,8 @@ let MatterNetworkView = class extends i$4 {
|
|
|
54640
54921
|
</div>
|
|
54641
54922
|
</div>
|
|
54642
54923
|
${this._threadAddressSearchStatus === "idle" ? "" : b`<div class="thread-search-status ${this._threadAddressSearchStatus}">
|
|
54643
|
-
|
|
54644
|
-
|
|
54924
|
+
${this._threadAddressSearchStatus === "found" ? "Node highlighted." : "No matching device found."}
|
|
54925
|
+
</div>`}
|
|
54645
54926
|
<thread-graph
|
|
54646
54927
|
.nodes=${this.nodes}
|
|
54647
54928
|
.borderRouters=${this._borderRouterStore.entries}
|
|
@@ -55078,11 +55359,15 @@ let MatterNodeView = class extends i$4 {
|
|
|
55078
55359
|
<ha-svg-icon class="node-icon" .path=${getDeviceIcon(this.node)}></ha-svg-icon>
|
|
55079
55360
|
<h2>Node ${this.node.node_id} <span class="node-id-hex">${nodeHex}</span></h2>
|
|
55080
55361
|
${showGraphButton ? b`
|
|
55081
|
-
|
|
55082
|
-
|
|
55083
|
-
|
|
55084
|
-
|
|
55085
|
-
|
|
55362
|
+
<a
|
|
55363
|
+
href=${graphUrl}
|
|
55364
|
+
class="show-in-graph-button"
|
|
55365
|
+
title="Show in ${graphViewType} graph"
|
|
55366
|
+
>
|
|
55367
|
+
<ha-svg-icon .path=${mdiGraphOutline}></ha-svg-icon>
|
|
55368
|
+
<span class="button-text">Show in graph</span>
|
|
55369
|
+
</a>
|
|
55370
|
+
` : ""}
|
|
55086
55371
|
</div>
|
|
55087
55372
|
<node-details .node=${this.node}></node-details>
|
|
55088
55373
|
</div>
|
|
@@ -55246,7 +55531,7 @@ MatterNodeView = __decorateClass$3([t$1("matter-node-view")], MatterNodeView);
|
|
|
55246
55531
|
* SPDX-License-Identifier: Apache-2.0
|
|
55247
55532
|
*/
|
|
55248
55533
|
const showCommissionNodeDialog = async () => {
|
|
55249
|
-
await import('./commission-node-dialog-
|
|
55534
|
+
await import('./commission-node-dialog-BHdEFbdo.js');
|
|
55250
55535
|
const dialog = document.createElement("commission-node-dialog");
|
|
55251
55536
|
document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
|
|
55252
55537
|
};
|
|
@@ -55257,7 +55542,7 @@ const showCommissionNodeDialog = async () => {
|
|
|
55257
55542
|
* SPDX-License-Identifier: Apache-2.0
|
|
55258
55543
|
*/
|
|
55259
55544
|
const showFabricLabelDialog = async (client, currentLabel, onSaved) => {
|
|
55260
|
-
await import('./fabric-label-dialog-
|
|
55545
|
+
await import('./fabric-label-dialog-Be5bxfzQ.js');
|
|
55261
55546
|
const dialog = document.createElement("fabric-label-dialog");
|
|
55262
55547
|
dialog.client = client;
|
|
55263
55548
|
dialog.currentLabel = currentLabel;
|
|
@@ -55510,12 +55795,12 @@ let MatterServerView = class extends i$4 {
|
|
|
55510
55795
|
>
|
|
55511
55796
|
${node.available ? "" : b` <span class="status">OFFLINE</span>`}
|
|
55512
55797
|
${badge ? b`<a
|
|
55513
|
-
|
|
55514
|
-
|
|
55515
|
-
|
|
55516
|
-
|
|
55517
|
-
|
|
55518
|
-
|
|
55798
|
+
class="icd-badge icd-${badge.state}"
|
|
55799
|
+
href="#node/${node.node_id}/0/${ICD_CLUSTER_ID}"
|
|
55800
|
+
title=${badge.hint}
|
|
55801
|
+
@click=${e => e.stopPropagation()}
|
|
55802
|
+
>ICD</a
|
|
55803
|
+
>` : ""}
|
|
55519
55804
|
</div>
|
|
55520
55805
|
<div slot="supporting-text">
|
|
55521
55806
|
${node.nodeLabel ? `${node.nodeLabel} | ` : A} ${node.vendorName} |
|
|
@@ -55901,4 +56186,4 @@ var matterDashboardApp = /*#__PURE__*/Object.freeze({
|
|
|
55901
56186
|
__proto__: null
|
|
55902
56187
|
});
|
|
55903
56188
|
|
|
55904
|
-
export { A,
|
|
56189
|
+
export { A, clusters as B, AuthMode as C, DevModeService as D, addAclEntry as E, PRIVILEGE_NAMES as F, mdiClose as G, getDeviceName as H, targetAclCapacityForBinding as I, addBinding as J, bindableClusters as K, getEndpointDeviceTypes as L, MAX_NODE_LABEL_LENGTH as M, showSettingsDialog$1 as N, matterDashboardApp as O, Privilege as P, clientContext as a, i$4 as b, c$5 as c, b as d, e$6 as e, fireAndForget as f, t$1 as g, handleAsync as h, i$7 as i, mdiPlus as j, mdiPencil as k, mdiDelete as l, mdiWifi as m, n$5 as n, mdiEyeOff as o, mdiEye as p, mdiAccessPoint as q, r$3 as r, showAlertDialog as s, tickContext as t, requireAttributeWriteSuccess as u, formatHex as v, writeNodeLabel as w, nodeIdKey as x, aclCapacity as y, targetServerClusters as z };
|