@matter-server/dashboard 1.3.2-alpha.0-20260727-ec21ba7 → 1.3.2

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.
Files changed (46) hide show
  1. package/dist/esm/client/models/descriptions.d.ts +12 -0
  2. package/dist/esm/client/models/descriptions.d.ts.map +1 -1
  3. package/dist/esm/client/models/descriptions.js +1480 -1
  4. package/dist/esm/client/models/descriptions.js.map +1 -1
  5. package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.d.ts +1 -1
  6. package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.d.ts.map +1 -1
  7. package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.js +3 -3
  8. package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.js.map +1 -1
  9. package/dist/esm/pages/matter-cluster-view.d.ts +3 -1
  10. package/dist/esm/pages/matter-cluster-view.d.ts.map +1 -1
  11. package/dist/esm/pages/matter-cluster-view.js +72 -25
  12. package/dist/esm/pages/matter-cluster-view.js.map +1 -1
  13. package/dist/esm/pages/network/update-connections-dialog.d.ts +14 -1
  14. package/dist/esm/pages/network/update-connections-dialog.d.ts.map +1 -1
  15. package/dist/esm/pages/network/update-connections-dialog.js +107 -15
  16. package/dist/esm/pages/network/update-connections-dialog.js.map +1 -1
  17. package/dist/esm/util/icd.d.ts +2 -6
  18. package/dist/esm/util/icd.d.ts.map +1 -1
  19. package/dist/esm/util/icd.js +3 -9
  20. package/dist/esm/util/icd.js.map +1 -1
  21. package/dist/esm/util/semantic-tags.d.ts +31 -0
  22. package/dist/esm/util/semantic-tags.d.ts.map +1 -0
  23. package/dist/esm/util/semantic-tags.js +65 -0
  24. package/dist/esm/util/semantic-tags.js.map +6 -0
  25. package/dist/web/js/{attribute-write-dialog-DQ9quSZw.js → attribute-write-dialog-0cxaSZB5.js} +1 -1
  26. package/dist/web/js/{command-invoke-dialog-CztMjUn9.js → command-invoke-dialog-_8bFD1ig.js} +1 -1
  27. package/dist/web/js/{commission-node-dialog-B4r-97Ng.js → commission-node-dialog-V9V2umsa.js} +5 -5
  28. package/dist/web/js/{commission-node-existing-BhR5cegs.js → commission-node-existing-fdDrRxoL.js} +1 -1
  29. package/dist/web/js/{commission-node-thread-dtQAPgAE.js → commission-node-thread-CQEWKKOl.js} +1 -1
  30. package/dist/web/js/{commission-node-wifi-Dyxa8cfO.js → commission-node-wifi-BPNdhbb9.js} +1 -1
  31. package/dist/web/js/{dialog-box-DkZh3xw5.js → dialog-box-82Jr5Nw_.js} +1 -1
  32. package/dist/web/js/{fabric-label-dialog-B38vLRHA.js → fabric-label-dialog-D4Us5kQC.js} +1 -1
  33. package/dist/web/js/main.js +1 -1
  34. package/dist/web/js/{matter-dashboard-app-D_fK75eF.js → matter-dashboard-app-ZHThIPO5.js} +2168 -456
  35. package/dist/web/js/{node-acl-add-dialog-CC_Cbnx3.js → node-acl-add-dialog-CQysaUCt.js} +1 -1
  36. package/dist/web/js/{node-binding-dialog-COAoH_PY.js → node-binding-dialog-BFp0rWiU.js} +1 -1
  37. package/dist/web/js/{node-label-dialog-Cts_ibpe.js → node-label-dialog-BJ2n0-fu.js} +1 -1
  38. package/dist/web/js/{settings-dialog-CGgXCmWv.js → settings-dialog-DE0vIsq8.js} +1 -1
  39. package/package.json +4 -4
  40. package/src/client/models/descriptions.ts +1490 -0
  41. package/src/pages/cluster-commands/AGENTS.md +6 -0
  42. package/src/pages/cluster-commands/clusters/icd-management-commands.ts +3 -6
  43. package/src/pages/matter-cluster-view.ts +83 -29
  44. package/src/pages/network/update-connections-dialog.ts +142 -22
  45. package/src/util/icd.ts +5 -13
  46. package/src/util/semantic-tags.ts +89 -0
@@ -1,4 +1,27 @@
1
- import { T as ThemeService, S as ServerCommandError, t as toBigIntAwareJson } from './main.js';
1
+ import { T as ThemeService, t as toBigIntAwareJson, S as ServerCommandError } from './main.js';
2
+
3
+ /**
4
+ * @license
5
+ * Copyright 2025-2026 Open Home Foundation
6
+ * SPDX-License-Identifier: Apache-2.0
7
+ */
8
+ const OPERATING_MODE_PATH = "0/70/8";
9
+ const FEATURE_MAP_PATH = "0/70/65532";
10
+ const SPECIFICATION_VERSION_PATH = "0/40/21";
11
+ const OPERATING_MODE_LIT = 1;
12
+ const FEATURE_LONG_IDLE_TIME_SUPPORT = 1 << 2;
13
+ const MIN_LIT_SPECIFICATION_VERSION = 17039360;
14
+ function isLongIdleTimeCapable(attributes) {
15
+ const featureMap = attributes[FEATURE_MAP_PATH];
16
+ if (typeof featureMap !== "number" || (featureMap & FEATURE_LONG_IDLE_TIME_SUPPORT) === 0) {
17
+ return false;
18
+ }
19
+ const specificationVersion = attributes[SPECIFICATION_VERSION_PATH];
20
+ return typeof specificationVersion === "number" && specificationVersion >= MIN_LIT_SPECIFICATION_VERSION;
21
+ }
22
+ function isLongIdleTimeDevice(attributes) {
23
+ return attributes[OPERATING_MODE_PATH] === OPERATING_MODE_LIT && isLongIdleTimeCapable(attributes);
24
+ }
2
25
 
3
26
  /**
4
27
  * @license
@@ -26,6 +49,7 @@ function isTestNodeId(nodeId) {
26
49
  const WIFI_FEATURE = 1 << 0;
27
50
  const THREAD_FEATURE = 1 << 1;
28
51
  const ETHERNET_FEATURE = 1 << 2;
52
+ const THREAD_TOPOLOGY_ATTRIBUTE_PATHS = ["0/53/7", "0/53/8", "0/51/0"];
29
53
  const LQI_STRONG_THRESHOLD = 2;
30
54
  const LQI_MEDIUM_THRESHOLD = 1;
31
55
  function base64ToBigInt(base64) {
@@ -53,9 +77,9 @@ function normalizeExtAddress(value) {
53
77
  }
54
78
  return 0n;
55
79
  }
56
- function getNetworkType(node) {
57
- const featureMap = node.attributes["0/49/65532"];
58
- if (featureMap === void 0) {
80
+ function getNetworkTypeFromAttributes(attributes) {
81
+ const featureMap = attributes["0/49/65532"];
82
+ if (typeof featureMap !== "number") {
59
83
  return "unknown";
60
84
  }
61
85
  if (featureMap & THREAD_FEATURE) {
@@ -69,6 +93,9 @@ function getNetworkType(node) {
69
93
  }
70
94
  return "unknown";
71
95
  }
96
+ function getNetworkType(node) {
97
+ return getNetworkTypeFromAttributes(node.attributes);
98
+ }
72
99
  function getThreadVersion(node) {
73
100
  const v = node.attributes["0/49/10"];
74
101
  return typeof v === "number" ? v : void 0;
@@ -4812,7 +4839,7 @@ MdListItem = __decorate([t$1('md-list-item')], MdListItem);
4812
4839
  * SPDX-License-Identifier: Apache-2.0
4813
4840
  */
4814
4841
  const showSettingsDialog = async section => {
4815
- await import('./settings-dialog-CGgXCmWv.js');
4842
+ await import('./settings-dialog-DE0vIsq8.js');
4816
4843
  const dialog = document.createElement("settings-dialog");
4817
4844
  if (section) dialog.scrollToSection = section;
4818
4845
  document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
@@ -24989,403 +25016,1881 @@ const clusters = {
24989
25016
  "features": {}
24990
25017
  }
24991
25018
  };
24992
-
24993
- /**
24994
- * @license
24995
- * Copyright 2025-2026 Open Home Foundation
24996
- * SPDX-License-Identifier: Apache-2.0
24997
- */
24998
- const showDialogBox = async (type, dialogParams) => {
24999
- await import('./dialog-box-DkZh3xw5.js');
25000
- return new Promise(resolve => {
25001
- const dialog = document.createElement("dialog-box");
25002
- dialog.params = dialogParams;
25003
- dialog.dialogResult = resolve;
25004
- dialog.type = type;
25005
- document.body.appendChild(dialog);
25006
- });
25007
- };
25008
- const showAlertDialog = dialogParams => showDialogBox("alert", dialogParams);
25009
- const showPromptDialog = dialogParams => showDialogBox("prompt", dialogParams);
25010
-
25011
- /**
25012
- * @license
25013
- * Copyright 2025-2026 Open Home Foundation
25014
- * SPDX-License-Identifier: Apache-2.0
25015
- */
25016
- const showAttributeWriteDialog = async options => {
25017
- await import('./attribute-write-dialog-DQ9quSZw.js');
25018
- const dialog = document.createElement("attribute-write-dialog");
25019
- dialog.client = options.client;
25020
- dialog.nodeId = options.nodeId;
25021
- dialog.endpointId = options.endpointId;
25022
- dialog.clusterId = options.clusterId;
25023
- dialog.attributeId = options.attributeId;
25024
- dialog.label = options.label;
25025
- dialog.currentValue = options.currentValue;
25026
- document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
25027
- };
25028
-
25029
- /**
25030
- * @license
25031
- * Copyright 2025-2026 Open Home Foundation
25032
- * SPDX-License-Identifier: Apache-2.0
25033
- */
25034
- const showCommandInvokeDialog = async options => {
25035
- await import('./command-invoke-dialog-CztMjUn9.js');
25036
- const dialog = document.createElement("command-invoke-dialog");
25037
- dialog.client = options.client;
25038
- dialog.nodeId = options.nodeId;
25039
- dialog.endpointId = options.endpointId;
25040
- dialog.clusterId = options.clusterId;
25041
- dialog.commandId = options.commandId;
25042
- dialog.commandName = options.commandName;
25043
- document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
25044
- };
25045
-
25046
- /**
25047
- * @license
25048
- * Copyright 2022 Google LLC
25049
- * SPDX-License-Identifier: Apache-2.0
25050
- */
25051
- /**
25052
- * A component for elevation.
25053
- */
25054
- class Elevation extends i$4 {
25055
- connectedCallback() {
25056
- super.connectedCallback();
25057
- // Needed for VoiceOver, which will create a "group" if the element is a
25058
- // sibling to other content.
25059
- this.setAttribute('aria-hidden', 'true');
25060
- }
25061
- render() {
25062
- return b`<span class="shadow"></span>`;
25063
- }
25064
- }
25065
-
25066
- /**
25067
- * @license
25068
- * Copyright 2026 Google LLC
25069
- * SPDX-License-Identifier: Apache-2.0
25070
- */
25071
- // Generated stylesheet for ./elevation/internal/elevation-styles.css.
25072
- const styles$g = i$7`:host,.shadow,.shadow::before,.shadow::after{border-radius:inherit;inset:0;position:absolute;transition-duration:inherit;transition-property:inherit;transition-timing-function:inherit}:host{display:flex;pointer-events:none;transition-property:box-shadow,opacity}.shadow::before,.shadow::after{content:"";transition-property:box-shadow,opacity;--_level: var(--md-elevation-level, 0);--_shadow-color: var(--md-elevation-shadow-color, var(--md-sys-color-shadow, #000))}.shadow::before{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 3,1) + 2*clamp(0,var(--_level) - 4,1))) calc(1px*(2*clamp(0,var(--_level),1) + clamp(0,var(--_level) - 2,1) + clamp(0,var(--_level) - 4,1))) 0px var(--_shadow-color);opacity:.3}.shadow::after{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 1,1) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(3*clamp(0,var(--_level),2) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(clamp(0,var(--_level),4) + 2*clamp(0,var(--_level) - 4,1))) var(--_shadow-color);opacity:.15}
25073
- `;
25074
- styles$g.styleSheet;
25075
-
25076
- /**
25077
- * @license
25078
- * Copyright 2022 Google LLC
25079
- * SPDX-License-Identifier: Apache-2.0
25080
- */
25081
- /**
25082
- * The `<md-elevation>` custom element with default styles.
25083
- *
25084
- * Elevation is the relative distance between two surfaces along the z-axis.
25085
- *
25086
- * @final
25087
- * @suppress {visibility}
25088
- */
25089
- let MdElevation = class MdElevation extends Elevation {};
25090
- MdElevation.styles = [styles$g];
25091
- MdElevation = __decorate([t$1('md-elevation')], MdElevation);
25092
-
25093
- /**
25094
- * @license
25095
- * Copyright 2021 Google LLC
25096
- * SPDX-License-Identifier: Apache-2.0
25097
- */
25098
- /**
25099
- * A filled button component.
25100
- */
25101
- class FilledButton extends Button {
25102
- renderElevationOrOutline() {
25103
- return b`<md-elevation part="elevation"></md-elevation>`;
25104
- }
25105
- }
25106
-
25107
- /**
25108
- * @license
25109
- * Copyright 2026 Google LLC
25110
- * SPDX-License-Identifier: Apache-2.0
25111
- */
25112
- // Generated stylesheet for ./button/internal/filled-styles.css.
25113
- const styles$f = i$7`:host{--_container-color: var(--md-filled-button-container-color, var(--md-sys-color-primary, #6750a4));--_container-elevation: var(--md-filled-button-container-elevation, 0);--_container-height: var(--md-filled-button-container-height, 40px);--_container-shadow-color: var(--md-filled-button-container-shadow-color, var(--md-sys-color-shadow, #000));--_disabled-container-color: var(--md-filled-button-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-container-elevation: var(--md-filled-button-disabled-container-elevation, 0);--_disabled-container-opacity: var(--md-filled-button-disabled-container-opacity, 0.12);--_disabled-label-text-color: var(--md-filled-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filled-button-disabled-label-text-opacity, 0.38);--_focus-container-elevation: var(--md-filled-button-focus-container-elevation, 0);--_focus-label-text-color: var(--md-filled-button-focus-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-container-elevation: var(--md-filled-button-hover-container-elevation, 1);--_hover-label-text-color: var(--md-filled-button-hover-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-color: var(--md-filled-button-hover-state-layer-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-opacity: var(--md-filled-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filled-button-label-text-color, var(--md-sys-color-on-primary, #fff));--_label-text-font: var(--md-filled-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filled-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filled-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filled-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-container-elevation: var(--md-filled-button-pressed-container-elevation, 0);--_pressed-label-text-color: var(--md-filled-button-pressed-label-text-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-color: var(--md-filled-button-pressed-state-layer-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-opacity: var(--md-filled-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-filled-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-filled-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-filled-button-focus-icon-color, var(--md-sys-color-on-primary, #fff));--_hover-icon-color: var(--md-filled-button-hover-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-color: var(--md-filled-button-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-size: var(--md-filled-button-icon-size, 18px);--_pressed-icon-color: var(--md-filled-button-pressed-icon-color, var(--md-sys-color-on-primary, #fff));--_container-shape-start-start: var(--md-filled-button-container-shape-start-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-filled-button-container-shape-start-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-filled-button-container-shape-end-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-filled-button-container-shape-end-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-filled-button-leading-space, 24px);--_trailing-space: var(--md-filled-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-filled-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-filled-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-filled-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-filled-button-with-trailing-icon-trailing-space, 16px)}
25114
- `;
25115
- styles$f.styleSheet;
25116
-
25117
- /**
25118
- * @license
25119
- * Copyright 2026 Google LLC
25120
- * SPDX-License-Identifier: Apache-2.0
25121
- */
25122
- // Generated stylesheet for ./button/internal/shared-elevation-styles.css.
25123
- const styles$e = i$7`md-elevation{transition-duration:280ms}:host(:is([disabled],[soft-disabled])) md-elevation{transition:none}md-elevation{--md-elevation-level: var(--_container-elevation);--md-elevation-shadow-color: var(--_container-shadow-color)}:host(:focus-within) md-elevation{--md-elevation-level: var(--_focus-container-elevation)}:host(:hover) md-elevation{--md-elevation-level: var(--_hover-container-elevation)}:host(:active) md-elevation{--md-elevation-level: var(--_pressed-container-elevation)}:host(:is([disabled],[soft-disabled])) md-elevation{--md-elevation-level: var(--_disabled-container-elevation)}
25124
- `;
25125
- styles$e.styleSheet;
25126
-
25127
- /**
25128
- * @license
25129
- * Copyright 2021 Google LLC
25130
- * SPDX-License-Identifier: Apache-2.0
25131
- */
25132
- /**
25133
- * @summary Buttons help people take action, such as sending an email, sharing a
25134
- * document, or liking a comment.
25135
- *
25136
- * @description
25137
- * __Emphasis:__ High emphasis – For the primary, most important, or most common
25138
- * action on a screen
25139
- *
25140
- * __Rationale:__ The filled button’s contrasting surface color makes it the
25141
- * most prominent button after the FAB. It’s used for final or unblocking
25142
- * actions in a flow.
25143
- *
25144
- * __Example usages:__
25145
- * - Save
25146
- * - Confirm
25147
- * - Done
25148
- *
25149
- * @final
25150
- * @suppress {visibility}
25151
- */
25152
- let MdFilledButton = class MdFilledButton extends FilledButton {};
25153
- MdFilledButton.styles = [styles$o, styles$e, styles$f];
25154
- MdFilledButton = __decorate([t$1('md-filled-button')], MdFilledButton);
25155
-
25156
- /**
25157
- * @license
25158
- * Copyright 2021 Google LLC
25159
- * SPDX-License-Identifier: Apache-2.0
25160
- */
25161
- /**
25162
- * A text button component.
25163
- */
25164
- class TextButton extends Button {}
25165
-
25166
- /**
25167
- * @license
25168
- * Copyright 2026 Google LLC
25169
- * SPDX-License-Identifier: Apache-2.0
25170
- */
25171
- // Generated stylesheet for ./button/internal/text-styles.css.
25172
- const styles$d = i$7`:host{--_container-height: var(--md-text-button-container-height, 40px);--_disabled-label-text-color: var(--md-text-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-text-button-disabled-label-text-opacity, 0.38);--_focus-label-text-color: var(--md-text-button-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-text-button-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-text-button-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-text-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-text-button-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-text-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-text-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-text-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-text-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-label-text-color: var(--md-text-button-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-color: var(--md-text-button-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-text-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-text-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-text-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-text-button-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-icon-color: var(--md-text-button-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-color: var(--md-text-button-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-text-button-icon-size, 18px);--_pressed-icon-color: var(--md-text-button-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_container-shape-start-start: var(--md-text-button-container-shape-start-start, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-text-button-container-shape-start-end, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-text-button-container-shape-end-end, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-text-button-container-shape-end-start, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-text-button-leading-space, 12px);--_trailing-space: var(--md-text-button-trailing-space, 12px);--_with-leading-icon-leading-space: var(--md-text-button-with-leading-icon-leading-space, 12px);--_with-leading-icon-trailing-space: var(--md-text-button-with-leading-icon-trailing-space, 16px);--_with-trailing-icon-leading-space: var(--md-text-button-with-trailing-icon-leading-space, 16px);--_with-trailing-icon-trailing-space: var(--md-text-button-with-trailing-icon-trailing-space, 12px);--_container-color: none;--_disabled-container-color: none;--_disabled-container-opacity: 0}
25173
- `;
25174
- styles$d.styleSheet;
25175
-
25176
- /**
25177
- * @license
25178
- * Copyright 2021 Google LLC
25179
- * SPDX-License-Identifier: Apache-2.0
25180
- */
25181
- /**
25182
- * @summary Buttons help people take action, such as sending an email, sharing a
25183
- * document, or liking a comment.
25184
- *
25185
- * @description
25186
- * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
25187
- * least amount of prominence
25188
- *
25189
- * __Rationale:__ Text buttons have less visual prominence, so should be used
25190
- * for low emphasis actions, such as an alternative option.
25191
- *
25192
- * __Example usages:__
25193
- * - Learn more
25194
- * - View all
25195
- * - Change account
25196
- * - Turn on
25197
- *
25198
- * @final
25199
- * @suppress {visibility}
25200
- */
25201
- let MdTextButton = class MdTextButton extends TextButton {};
25202
- MdTextButton.styles = [styles$o, styles$d];
25203
- MdTextButton = __decorate([t$1('md-text-button')], MdTextButton);
25204
-
25205
- /**
25206
- * @license
25207
- * Copyright 2026 Open Home Foundation
25208
- * SPDX-License-Identifier: Apache-2.0
25209
- */
25210
- const showNodeLabelDialog = async (client, node) => {
25211
- await import('./node-label-dialog-Cts_ibpe.js');
25212
- const dialog = document.createElement("node-label-dialog");
25213
- dialog.client = client;
25214
- dialog.node = node;
25215
- document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
25216
- };
25217
-
25218
- /**
25219
- * @license
25220
- * Copyright 2025-2026 Open Home Foundation
25221
- * SPDX-License-Identifier: Apache-2.0
25222
- */
25223
- function handleAsync(fn, onError) {
25224
- return () => {
25225
- fn().catch(error => {
25226
- console.error("Async operation failed:", error);
25227
- });
25228
- };
25229
- }
25230
- function handleAsyncEvent(fn, onError) {
25231
- return event => {
25232
- fn(event).catch(error => {
25233
- console.error("Async operation failed:", error);
25234
- });
25235
- };
25236
- }
25237
- function fireAndForget(promise, onError) {
25238
- promise.catch(error => {
25239
- console.error("Async operation failed:", error);
25240
- });
25241
- }
25242
-
25243
- /**
25244
- * @license
25245
- * Copyright 2021 Google LLC
25246
- * SPDX-License-Identifier: Apache-2.0
25247
- */
25248
- /**
25249
- * A field component.
25250
- */
25251
- class Field extends i$4 {
25252
- constructor() {
25253
- super(...arguments);
25254
- this.disabled = false;
25255
- this.error = false;
25256
- this.focused = false;
25257
- this.label = '';
25258
- this.noAsterisk = false;
25259
- this.populated = false;
25260
- this.required = false;
25261
- this.resizable = false;
25262
- this.supportingText = '';
25263
- this.errorText = '';
25264
- this.count = -1;
25265
- this.max = -1;
25266
- /**
25267
- * Whether or not the field has leading content.
25268
- */
25269
- this.hasStart = false;
25270
- /**
25271
- * Whether or not the field has trailing content.
25272
- */
25273
- this.hasEnd = false;
25274
- this.isAnimating = false;
25275
- /**
25276
- * When set to true, the error text's `role="alert"` will be removed, then
25277
- * re-added after an animation frame. This will re-announce an error message
25278
- * to screen readers.
25279
- */
25280
- this.refreshErrorAlert = false;
25281
- this.disableTransitions = false;
25282
- }
25283
- get counterText() {
25284
- // Count and max are typed as number, but can be set to null when Lit removes
25285
- // their attributes. These getters coerce back to a number for calculations.
25286
- const countAsNumber = this.count ?? -1;
25287
- const maxAsNumber = this.max ?? -1;
25288
- // Counter does not show if count is negative, or max is negative or 0.
25289
- if (countAsNumber < 0 || maxAsNumber <= 0) {
25290
- return '';
25019
+ const semantic_tag_namespaces = {
25020
+ "1": {
25021
+ "id": 1,
25022
+ "label": "Common Closure",
25023
+ "tags": {
25024
+ "0": {
25025
+ "id": 0,
25026
+ "label": "Opening"
25027
+ },
25028
+ "1": {
25029
+ "id": 1,
25030
+ "label": "Closing"
25031
+ },
25032
+ "2": {
25033
+ "id": 2,
25034
+ "label": "Stop"
25035
+ }
25291
25036
  }
25292
- return `${countAsNumber} / ${maxAsNumber}`;
25293
- }
25294
- get supportingOrErrorText() {
25295
- return this.error && this.errorText ? this.errorText : this.supportingText;
25296
- }
25297
- /**
25298
- * Re-announces the field's error supporting text to screen readers.
25299
- *
25300
- * Error text announces to screen readers anytime it is visible and changes.
25301
- * Use the method to re-announce the message when the text has not changed,
25302
- * but announcement is still needed (such as for `reportValidity()`).
25303
- */
25304
- reannounceError() {
25305
- this.refreshErrorAlert = true;
25306
- }
25307
- update(props) {
25308
- // Client-side property updates
25309
- const isDisabledChanging = props.has('disabled') && props.get('disabled') !== undefined;
25310
- if (isDisabledChanging) {
25311
- this.disableTransitions = true;
25037
+ },
25038
+ "2": {
25039
+ "id": 2,
25040
+ "label": "Common Compass Direction",
25041
+ "tags": {
25042
+ "0": {
25043
+ "id": 0,
25044
+ "label": "Northward"
25045
+ },
25046
+ "1": {
25047
+ "id": 1,
25048
+ "label": "North Eastward"
25049
+ },
25050
+ "2": {
25051
+ "id": 2,
25052
+ "label": "Eastward"
25053
+ },
25054
+ "3": {
25055
+ "id": 3,
25056
+ "label": "South Eastward"
25057
+ },
25058
+ "4": {
25059
+ "id": 4,
25060
+ "label": "Southward"
25061
+ },
25062
+ "5": {
25063
+ "id": 5,
25064
+ "label": "South Westward"
25065
+ },
25066
+ "6": {
25067
+ "id": 6,
25068
+ "label": "Westward"
25069
+ },
25070
+ "7": {
25071
+ "id": 7,
25072
+ "label": "North Westward"
25073
+ }
25312
25074
  }
25313
- // When disabling, remove focus styles if focused.
25314
- if (this.disabled && this.focused) {
25315
- props.set('focused', true);
25316
- this.focused = false;
25075
+ },
25076
+ "3": {
25077
+ "id": 3,
25078
+ "label": "Common Compass Location",
25079
+ "tags": {
25080
+ "0": {
25081
+ "id": 0,
25082
+ "label": "North"
25083
+ },
25084
+ "1": {
25085
+ "id": 1,
25086
+ "label": "North East"
25087
+ },
25088
+ "2": {
25089
+ "id": 2,
25090
+ "label": "East"
25091
+ },
25092
+ "3": {
25093
+ "id": 3,
25094
+ "label": "South East"
25095
+ },
25096
+ "4": {
25097
+ "id": 4,
25098
+ "label": "South"
25099
+ },
25100
+ "5": {
25101
+ "id": 5,
25102
+ "label": "South West"
25103
+ },
25104
+ "6": {
25105
+ "id": 6,
25106
+ "label": "West"
25107
+ },
25108
+ "7": {
25109
+ "id": 7,
25110
+ "label": "North West"
25111
+ }
25317
25112
  }
25318
- // Animate if focused or populated change.
25319
- this.animateLabelIfNeeded({
25320
- wasFocused: props.get('focused'),
25321
- wasPopulated: props.get('populated')
25322
- });
25323
- super.update(props);
25324
- }
25325
- render() {
25326
- const floatingLabel = this.renderLabel(/*isFloating*/true);
25327
- const restingLabel = this.renderLabel(/*isFloating*/false);
25328
- const outline = this.renderOutline?.(floatingLabel);
25329
- const classes = {
25330
- 'disabled': this.disabled,
25331
- 'disable-transitions': this.disableTransitions,
25332
- 'error': this.error && !this.disabled,
25333
- 'focused': this.focused,
25334
- 'with-start': this.hasStart,
25335
- 'with-end': this.hasEnd,
25336
- 'populated': this.populated,
25337
- 'resizable': this.resizable,
25338
- 'required': this.required,
25339
- 'no-label': !this.label
25340
- };
25341
- return b`
25342
- <div class="field ${e$3(classes)}">
25343
- <div class="container-overflow">
25344
- ${this.renderBackground?.()}
25345
- <slot name="container"></slot>
25346
- ${this.renderStateLayer?.()} ${this.renderIndicator?.()} ${outline}
25347
- <div class="container">
25348
- <div class="start">
25349
- <slot name="start"></slot>
25350
- </div>
25351
- <div class="middle">
25352
- <div class="label-wrapper">
25353
- ${restingLabel} ${outline ? A : floatingLabel}
25354
- </div>
25355
- <div class="content">
25356
- <slot></slot>
25357
- </div>
25358
- </div>
25359
- <div class="end">
25360
- <slot name="end"></slot>
25361
- </div>
25362
- </div>
25363
- </div>
25364
- ${this.renderSupportingText()}
25365
- </div>
25366
- `;
25367
- }
25368
- updated(changed) {
25369
- if (changed.has('supportingText') || changed.has('errorText') || changed.has('count') || changed.has('max')) {
25370
- this.updateSlottedAriaDescribedBy();
25113
+ },
25114
+ "4": {
25115
+ "id": 4,
25116
+ "label": "Common Direction",
25117
+ "tags": {
25118
+ "0": {
25119
+ "id": 0,
25120
+ "label": "Upward"
25121
+ },
25122
+ "1": {
25123
+ "id": 1,
25124
+ "label": "Downward"
25125
+ },
25126
+ "2": {
25127
+ "id": 2,
25128
+ "label": "Leftward"
25129
+ },
25130
+ "3": {
25131
+ "id": 3,
25132
+ "label": "Rightward"
25133
+ },
25134
+ "4": {
25135
+ "id": 4,
25136
+ "label": "Forward"
25137
+ },
25138
+ "5": {
25139
+ "id": 5,
25140
+ "label": "Backward"
25141
+ }
25371
25142
  }
25372
- if (this.refreshErrorAlert) {
25373
- // The past render cycle removed the role="alert" from the error message.
25374
- // Re-add it after an animation frame to re-announce the error.
25375
- requestAnimationFrame(() => {
25376
- this.refreshErrorAlert = false;
25377
- });
25143
+ },
25144
+ "5": {
25145
+ "id": 5,
25146
+ "label": "Common Level",
25147
+ "tags": {
25148
+ "0": {
25149
+ "id": 0,
25150
+ "label": "Low"
25151
+ },
25152
+ "1": {
25153
+ "id": 1,
25154
+ "label": "Medium"
25155
+ },
25156
+ "2": {
25157
+ "id": 2,
25158
+ "label": "High"
25159
+ }
25378
25160
  }
25379
- if (this.disableTransitions) {
25380
- requestAnimationFrame(() => {
25381
- this.disableTransitions = false;
25382
- });
25161
+ },
25162
+ "6": {
25163
+ "id": 6,
25164
+ "label": "Common Location",
25165
+ "tags": {
25166
+ "0": {
25167
+ "id": 0,
25168
+ "label": "Indoor"
25169
+ },
25170
+ "1": {
25171
+ "id": 1,
25172
+ "label": "Outdoor"
25173
+ },
25174
+ "2": {
25175
+ "id": 2,
25176
+ "label": "Inside"
25177
+ },
25178
+ "3": {
25179
+ "id": 3,
25180
+ "label": "Outside"
25181
+ },
25182
+ "4": {
25183
+ "id": 4,
25184
+ "label": "Zone"
25185
+ }
25383
25186
  }
25384
- }
25385
- renderSupportingText() {
25386
- const {
25387
- supportingOrErrorText,
25388
- counterText
25187
+ },
25188
+ "7": {
25189
+ "id": 7,
25190
+ "label": "Common Number",
25191
+ "tags": {
25192
+ "0": {
25193
+ "id": 0,
25194
+ "label": "Zero"
25195
+ },
25196
+ "1": {
25197
+ "id": 1,
25198
+ "label": "One"
25199
+ },
25200
+ "2": {
25201
+ "id": 2,
25202
+ "label": "Two"
25203
+ },
25204
+ "3": {
25205
+ "id": 3,
25206
+ "label": "Three"
25207
+ },
25208
+ "4": {
25209
+ "id": 4,
25210
+ "label": "Four"
25211
+ },
25212
+ "5": {
25213
+ "id": 5,
25214
+ "label": "Five"
25215
+ },
25216
+ "6": {
25217
+ "id": 6,
25218
+ "label": "Six"
25219
+ },
25220
+ "7": {
25221
+ "id": 7,
25222
+ "label": "Seven"
25223
+ },
25224
+ "8": {
25225
+ "id": 8,
25226
+ "label": "Eight"
25227
+ },
25228
+ "9": {
25229
+ "id": 9,
25230
+ "label": "Nine"
25231
+ },
25232
+ "10": {
25233
+ "id": 10,
25234
+ "label": "Ten"
25235
+ },
25236
+ "11": {
25237
+ "id": 11,
25238
+ "label": "Eleven"
25239
+ },
25240
+ "12": {
25241
+ "id": 12,
25242
+ "label": "Twelve"
25243
+ },
25244
+ "13": {
25245
+ "id": 13,
25246
+ "label": "Thirteen"
25247
+ },
25248
+ "14": {
25249
+ "id": 14,
25250
+ "label": "Fourteen"
25251
+ },
25252
+ "15": {
25253
+ "id": 15,
25254
+ "label": "Fifteen"
25255
+ },
25256
+ "16": {
25257
+ "id": 16,
25258
+ "label": "Sixteen"
25259
+ },
25260
+ "17": {
25261
+ "id": 17,
25262
+ "label": "Seventeen"
25263
+ },
25264
+ "18": {
25265
+ "id": 18,
25266
+ "label": "Eighteen"
25267
+ },
25268
+ "19": {
25269
+ "id": 19,
25270
+ "label": "Nineteen"
25271
+ },
25272
+ "20": {
25273
+ "id": 20,
25274
+ "label": "Twenty"
25275
+ },
25276
+ "21": {
25277
+ "id": 21,
25278
+ "label": "Twenty One"
25279
+ },
25280
+ "22": {
25281
+ "id": 22,
25282
+ "label": "Twenty Two"
25283
+ },
25284
+ "23": {
25285
+ "id": 23,
25286
+ "label": "Twenty Three"
25287
+ },
25288
+ "24": {
25289
+ "id": 24,
25290
+ "label": "Twenty Four"
25291
+ },
25292
+ "25": {
25293
+ "id": 25,
25294
+ "label": "Twenty Five"
25295
+ },
25296
+ "26": {
25297
+ "id": 26,
25298
+ "label": "Twenty Six"
25299
+ },
25300
+ "27": {
25301
+ "id": 27,
25302
+ "label": "Twenty Seven"
25303
+ },
25304
+ "28": {
25305
+ "id": 28,
25306
+ "label": "Twenty Eight"
25307
+ },
25308
+ "29": {
25309
+ "id": 29,
25310
+ "label": "Twenty Nine"
25311
+ },
25312
+ "30": {
25313
+ "id": 30,
25314
+ "label": "Thirty"
25315
+ }
25316
+ }
25317
+ },
25318
+ "8": {
25319
+ "id": 8,
25320
+ "label": "Common Position",
25321
+ "tags": {
25322
+ "0": {
25323
+ "id": 0,
25324
+ "label": "Left"
25325
+ },
25326
+ "1": {
25327
+ "id": 1,
25328
+ "label": "Right"
25329
+ },
25330
+ "2": {
25331
+ "id": 2,
25332
+ "label": "Top"
25333
+ },
25334
+ "3": {
25335
+ "id": 3,
25336
+ "label": "Bottom"
25337
+ },
25338
+ "4": {
25339
+ "id": 4,
25340
+ "label": "Middle"
25341
+ },
25342
+ "5": {
25343
+ "id": 5,
25344
+ "label": "Row"
25345
+ },
25346
+ "6": {
25347
+ "id": 6,
25348
+ "label": "Column"
25349
+ }
25350
+ }
25351
+ },
25352
+ "10": {
25353
+ "id": 10,
25354
+ "label": "Electrical Measurement",
25355
+ "tags": {
25356
+ "0": {
25357
+ "id": 0,
25358
+ "label": "Dc"
25359
+ },
25360
+ "1": {
25361
+ "id": 1,
25362
+ "label": "Ac"
25363
+ },
25364
+ "2": {
25365
+ "id": 2,
25366
+ "label": "Acphase1"
25367
+ },
25368
+ "3": {
25369
+ "id": 3,
25370
+ "label": "Acphase2"
25371
+ },
25372
+ "4": {
25373
+ "id": 4,
25374
+ "label": "Acphase3"
25375
+ }
25376
+ }
25377
+ },
25378
+ "11": {
25379
+ "id": 11,
25380
+ "label": "Commodity Tariff Chronology",
25381
+ "tags": {
25382
+ "0": {
25383
+ "id": 0,
25384
+ "label": "Current"
25385
+ },
25386
+ "1": {
25387
+ "id": 1,
25388
+ "label": "Previous"
25389
+ },
25390
+ "2": {
25391
+ "id": 2,
25392
+ "label": "Upcoming"
25393
+ }
25394
+ }
25395
+ },
25396
+ "13": {
25397
+ "id": 13,
25398
+ "label": "Commodity Tariff Commodity",
25399
+ "tags": {
25400
+ "0": {
25401
+ "id": 0,
25402
+ "label": "Electrical Energy"
25403
+ }
25404
+ }
25405
+ },
25406
+ "14": {
25407
+ "id": 14,
25408
+ "label": "Laundry",
25409
+ "tags": {
25410
+ "0": {
25411
+ "id": 0,
25412
+ "label": "Normal"
25413
+ },
25414
+ "1": {
25415
+ "id": 1,
25416
+ "label": "Light Dry"
25417
+ },
25418
+ "2": {
25419
+ "id": 2,
25420
+ "label": "Extra Dry"
25421
+ },
25422
+ "3": {
25423
+ "id": 3,
25424
+ "label": "No Dry"
25425
+ }
25426
+ }
25427
+ },
25428
+ "15": {
25429
+ "id": 15,
25430
+ "label": "Power Source",
25431
+ "tags": {
25432
+ "0": {
25433
+ "id": 0,
25434
+ "label": "Unknown"
25435
+ },
25436
+ "1": {
25437
+ "id": 1,
25438
+ "label": "Grid"
25439
+ },
25440
+ "2": {
25441
+ "id": 2,
25442
+ "label": "Solar"
25443
+ },
25444
+ "3": {
25445
+ "id": 3,
25446
+ "label": "Battery"
25447
+ },
25448
+ "4": {
25449
+ "id": 4,
25450
+ "label": "Ev"
25451
+ }
25452
+ }
25453
+ },
25454
+ "16": {
25455
+ "id": 16,
25456
+ "label": "Common Area Namespace",
25457
+ "tags": {
25458
+ "0": {
25459
+ "id": 0,
25460
+ "label": "Aisle"
25461
+ },
25462
+ "1": {
25463
+ "id": 1,
25464
+ "label": "Attic"
25465
+ },
25466
+ "2": {
25467
+ "id": 2,
25468
+ "label": "Back Door"
25469
+ },
25470
+ "3": {
25471
+ "id": 3,
25472
+ "label": "Back Yard"
25473
+ },
25474
+ "4": {
25475
+ "id": 4,
25476
+ "label": "Balcony"
25477
+ },
25478
+ "5": {
25479
+ "id": 5,
25480
+ "label": "Ballroom"
25481
+ },
25482
+ "6": {
25483
+ "id": 6,
25484
+ "label": "Bathroom"
25485
+ },
25486
+ "7": {
25487
+ "id": 7,
25488
+ "label": "Bedroom"
25489
+ },
25490
+ "8": {
25491
+ "id": 8,
25492
+ "label": "Border"
25493
+ },
25494
+ "9": {
25495
+ "id": 9,
25496
+ "label": "Boxroom"
25497
+ },
25498
+ "10": {
25499
+ "id": 10,
25500
+ "label": "Breakfast Room"
25501
+ },
25502
+ "11": {
25503
+ "id": 11,
25504
+ "label": "Carport"
25505
+ },
25506
+ "12": {
25507
+ "id": 12,
25508
+ "label": "Cellar"
25509
+ },
25510
+ "13": {
25511
+ "id": 13,
25512
+ "label": "Cloakroom"
25513
+ },
25514
+ "14": {
25515
+ "id": 14,
25516
+ "label": "Closet"
25517
+ },
25518
+ "15": {
25519
+ "id": 15,
25520
+ "label": "Conservatory"
25521
+ },
25522
+ "16": {
25523
+ "id": 16,
25524
+ "label": "Corridor"
25525
+ },
25526
+ "17": {
25527
+ "id": 17,
25528
+ "label": "Craft Room"
25529
+ },
25530
+ "18": {
25531
+ "id": 18,
25532
+ "label": "Cupboard"
25533
+ },
25534
+ "19": {
25535
+ "id": 19,
25536
+ "label": "Deck"
25537
+ },
25538
+ "20": {
25539
+ "id": 20,
25540
+ "label": "Den"
25541
+ },
25542
+ "21": {
25543
+ "id": 21,
25544
+ "label": "Dining"
25545
+ },
25546
+ "22": {
25547
+ "id": 22,
25548
+ "label": "Drawing Room"
25549
+ },
25550
+ "23": {
25551
+ "id": 23,
25552
+ "label": "Dressing Room"
25553
+ },
25554
+ "24": {
25555
+ "id": 24,
25556
+ "label": "Driveway"
25557
+ },
25558
+ "25": {
25559
+ "id": 25,
25560
+ "label": "Elevator"
25561
+ },
25562
+ "26": {
25563
+ "id": 26,
25564
+ "label": "Ensuite"
25565
+ },
25566
+ "27": {
25567
+ "id": 27,
25568
+ "label": "Entrance"
25569
+ },
25570
+ "28": {
25571
+ "id": 28,
25572
+ "label": "Entryway"
25573
+ },
25574
+ "29": {
25575
+ "id": 29,
25576
+ "label": "Family Room"
25577
+ },
25578
+ "30": {
25579
+ "id": 30,
25580
+ "label": "Foyer"
25581
+ },
25582
+ "31": {
25583
+ "id": 31,
25584
+ "label": "Front Door"
25585
+ },
25586
+ "32": {
25587
+ "id": 32,
25588
+ "label": "Front Yard"
25589
+ },
25590
+ "33": {
25591
+ "id": 33,
25592
+ "label": "Game Room"
25593
+ },
25594
+ "34": {
25595
+ "id": 34,
25596
+ "label": "Garage"
25597
+ },
25598
+ "35": {
25599
+ "id": 35,
25600
+ "label": "Garage Door"
25601
+ },
25602
+ "36": {
25603
+ "id": 36,
25604
+ "label": "Garden"
25605
+ },
25606
+ "37": {
25607
+ "id": 37,
25608
+ "label": "Garden Door"
25609
+ },
25610
+ "38": {
25611
+ "id": 38,
25612
+ "label": "Guest Bathroom"
25613
+ },
25614
+ "39": {
25615
+ "id": 39,
25616
+ "label": "Guest Bedroom"
25617
+ },
25618
+ "40": {
25619
+ "id": 40,
25620
+ "label": "Reserved28"
25621
+ },
25622
+ "41": {
25623
+ "id": 41,
25624
+ "label": "Guest Room"
25625
+ },
25626
+ "42": {
25627
+ "id": 42,
25628
+ "label": "Gym"
25629
+ },
25630
+ "43": {
25631
+ "id": 43,
25632
+ "label": "Hallway"
25633
+ },
25634
+ "44": {
25635
+ "id": 44,
25636
+ "label": "Hearth Room"
25637
+ },
25638
+ "45": {
25639
+ "id": 45,
25640
+ "label": "Kids Room"
25641
+ },
25642
+ "46": {
25643
+ "id": 46,
25644
+ "label": "Kids Bedroom"
25645
+ },
25646
+ "47": {
25647
+ "id": 47,
25648
+ "label": "Kitchen"
25649
+ },
25650
+ "48": {
25651
+ "id": 48,
25652
+ "label": "Reserved30"
25653
+ },
25654
+ "49": {
25655
+ "id": 49,
25656
+ "label": "Laundry Room"
25657
+ },
25658
+ "50": {
25659
+ "id": 50,
25660
+ "label": "Lawn"
25661
+ },
25662
+ "51": {
25663
+ "id": 51,
25664
+ "label": "Library"
25665
+ },
25666
+ "52": {
25667
+ "id": 52,
25668
+ "label": "Living Room"
25669
+ },
25670
+ "53": {
25671
+ "id": 53,
25672
+ "label": "Lounge"
25673
+ },
25674
+ "54": {
25675
+ "id": 54,
25676
+ "label": "Media Tv Room"
25677
+ },
25678
+ "55": {
25679
+ "id": 55,
25680
+ "label": "Mud Room"
25681
+ },
25682
+ "56": {
25683
+ "id": 56,
25684
+ "label": "Music Room"
25685
+ },
25686
+ "57": {
25687
+ "id": 57,
25688
+ "label": "Nursery"
25689
+ },
25690
+ "58": {
25691
+ "id": 58,
25692
+ "label": "Office"
25693
+ },
25694
+ "59": {
25695
+ "id": 59,
25696
+ "label": "Outdoor Kitchen"
25697
+ },
25698
+ "60": {
25699
+ "id": 60,
25700
+ "label": "Outside"
25701
+ },
25702
+ "61": {
25703
+ "id": 61,
25704
+ "label": "Pantry"
25705
+ },
25706
+ "62": {
25707
+ "id": 62,
25708
+ "label": "Parking Lot"
25709
+ },
25710
+ "63": {
25711
+ "id": 63,
25712
+ "label": "Parlor"
25713
+ },
25714
+ "64": {
25715
+ "id": 64,
25716
+ "label": "Patio"
25717
+ },
25718
+ "65": {
25719
+ "id": 65,
25720
+ "label": "Play Room"
25721
+ },
25722
+ "66": {
25723
+ "id": 66,
25724
+ "label": "Pool Room"
25725
+ },
25726
+ "67": {
25727
+ "id": 67,
25728
+ "label": "Porch"
25729
+ },
25730
+ "68": {
25731
+ "id": 68,
25732
+ "label": "Primary Bathroom"
25733
+ },
25734
+ "69": {
25735
+ "id": 69,
25736
+ "label": "Primary Bedroom"
25737
+ },
25738
+ "70": {
25739
+ "id": 70,
25740
+ "label": "Ramp"
25741
+ },
25742
+ "71": {
25743
+ "id": 71,
25744
+ "label": "Reception Room"
25745
+ },
25746
+ "72": {
25747
+ "id": 72,
25748
+ "label": "Recreation Room"
25749
+ },
25750
+ "73": {
25751
+ "id": 73,
25752
+ "label": "Reserved49"
25753
+ },
25754
+ "74": {
25755
+ "id": 74,
25756
+ "label": "Roof"
25757
+ },
25758
+ "75": {
25759
+ "id": 75,
25760
+ "label": "Sauna"
25761
+ },
25762
+ "76": {
25763
+ "id": 76,
25764
+ "label": "Scullery"
25765
+ },
25766
+ "77": {
25767
+ "id": 77,
25768
+ "label": "Sewing Room"
25769
+ },
25770
+ "78": {
25771
+ "id": 78,
25772
+ "label": "Shed"
25773
+ },
25774
+ "79": {
25775
+ "id": 79,
25776
+ "label": "Side Door"
25777
+ },
25778
+ "80": {
25779
+ "id": 80,
25780
+ "label": "Side Yard"
25781
+ },
25782
+ "81": {
25783
+ "id": 81,
25784
+ "label": "Sitting Room"
25785
+ },
25786
+ "82": {
25787
+ "id": 82,
25788
+ "label": "Snug"
25789
+ },
25790
+ "83": {
25791
+ "id": 83,
25792
+ "label": "Spa"
25793
+ },
25794
+ "84": {
25795
+ "id": 84,
25796
+ "label": "Staircase"
25797
+ },
25798
+ "85": {
25799
+ "id": 85,
25800
+ "label": "Steam Room"
25801
+ },
25802
+ "86": {
25803
+ "id": 86,
25804
+ "label": "Storage Room"
25805
+ },
25806
+ "87": {
25807
+ "id": 87,
25808
+ "label": "Studio"
25809
+ },
25810
+ "88": {
25811
+ "id": 88,
25812
+ "label": "Study"
25813
+ },
25814
+ "89": {
25815
+ "id": 89,
25816
+ "label": "Sun Room"
25817
+ },
25818
+ "90": {
25819
+ "id": 90,
25820
+ "label": "Swimming Pool"
25821
+ },
25822
+ "91": {
25823
+ "id": 91,
25824
+ "label": "Terrace"
25825
+ },
25826
+ "92": {
25827
+ "id": 92,
25828
+ "label": "Utility Room"
25829
+ },
25830
+ "93": {
25831
+ "id": 93,
25832
+ "label": "Ward"
25833
+ },
25834
+ "94": {
25835
+ "id": 94,
25836
+ "label": "Workshop"
25837
+ },
25838
+ "95": {
25839
+ "id": 95,
25840
+ "label": "Toilet"
25841
+ }
25842
+ }
25843
+ },
25844
+ "17": {
25845
+ "id": 17,
25846
+ "label": "Common Landmark Namespace",
25847
+ "tags": {
25848
+ "0": {
25849
+ "id": 0,
25850
+ "label": "Air Conditioner"
25851
+ },
25852
+ "1": {
25853
+ "id": 1,
25854
+ "label": "Air Purifier"
25855
+ },
25856
+ "2": {
25857
+ "id": 2,
25858
+ "label": "Back Door"
25859
+ },
25860
+ "3": {
25861
+ "id": 3,
25862
+ "label": "Bar Stool"
25863
+ },
25864
+ "4": {
25865
+ "id": 4,
25866
+ "label": "Bath Mat"
25867
+ },
25868
+ "5": {
25869
+ "id": 5,
25870
+ "label": "Bathtub"
25871
+ },
25872
+ "6": {
25873
+ "id": 6,
25874
+ "label": "Bed"
25875
+ },
25876
+ "7": {
25877
+ "id": 7,
25878
+ "label": "Bookshelf"
25879
+ },
25880
+ "8": {
25881
+ "id": 8,
25882
+ "label": "Chair"
25883
+ },
25884
+ "9": {
25885
+ "id": 9,
25886
+ "label": "Christmas Tree"
25887
+ },
25888
+ "10": {
25889
+ "id": 10,
25890
+ "label": "Coat Rack"
25891
+ },
25892
+ "11": {
25893
+ "id": 11,
25894
+ "label": "Coffee Table"
25895
+ },
25896
+ "12": {
25897
+ "id": 12,
25898
+ "label": "Cooking Range"
25899
+ },
25900
+ "13": {
25901
+ "id": 13,
25902
+ "label": "Couch"
25903
+ },
25904
+ "14": {
25905
+ "id": 14,
25906
+ "label": "Countertop"
25907
+ },
25908
+ "15": {
25909
+ "id": 15,
25910
+ "label": "Cradle"
25911
+ },
25912
+ "16": {
25913
+ "id": 16,
25914
+ "label": "Crib"
25915
+ },
25916
+ "17": {
25917
+ "id": 17,
25918
+ "label": "Desk"
25919
+ },
25920
+ "18": {
25921
+ "id": 18,
25922
+ "label": "Dining Table"
25923
+ },
25924
+ "19": {
25925
+ "id": 19,
25926
+ "label": "Dishwasher"
25927
+ },
25928
+ "20": {
25929
+ "id": 20,
25930
+ "label": "Door"
25931
+ },
25932
+ "21": {
25933
+ "id": 21,
25934
+ "label": "Dresser"
25935
+ },
25936
+ "22": {
25937
+ "id": 22,
25938
+ "label": "Laundry Dryer"
25939
+ },
25940
+ "23": {
25941
+ "id": 23,
25942
+ "label": "Fan"
25943
+ },
25944
+ "24": {
25945
+ "id": 24,
25946
+ "label": "Fireplace"
25947
+ },
25948
+ "25": {
25949
+ "id": 25,
25950
+ "label": "Freezer"
25951
+ },
25952
+ "26": {
25953
+ "id": 26,
25954
+ "label": "Front Door"
25955
+ },
25956
+ "27": {
25957
+ "id": 27,
25958
+ "label": "High Chair"
25959
+ },
25960
+ "28": {
25961
+ "id": 28,
25962
+ "label": "Kitchen Island"
25963
+ },
25964
+ "29": {
25965
+ "id": 29,
25966
+ "label": "Lamp"
25967
+ },
25968
+ "30": {
25969
+ "id": 30,
25970
+ "label": "Litter Box"
25971
+ },
25972
+ "31": {
25973
+ "id": 31,
25974
+ "label": "Mirror"
25975
+ },
25976
+ "32": {
25977
+ "id": 32,
25978
+ "label": "Nightstand"
25979
+ },
25980
+ "33": {
25981
+ "id": 33,
25982
+ "label": "Oven"
25983
+ },
25984
+ "34": {
25985
+ "id": 34,
25986
+ "label": "Pet Bed"
25987
+ },
25988
+ "35": {
25989
+ "id": 35,
25990
+ "label": "Pet Bowl"
25991
+ },
25992
+ "36": {
25993
+ "id": 36,
25994
+ "label": "Pet Crate"
25995
+ },
25996
+ "37": {
25997
+ "id": 37,
25998
+ "label": "Refrigerator"
25999
+ },
26000
+ "38": {
26001
+ "id": 38,
26002
+ "label": "Scratching Post"
26003
+ },
26004
+ "39": {
26005
+ "id": 39,
26006
+ "label": "Shoe Rack"
26007
+ },
26008
+ "40": {
26009
+ "id": 40,
26010
+ "label": "Shower"
26011
+ },
26012
+ "41": {
26013
+ "id": 41,
26014
+ "label": "Side Door"
26015
+ },
26016
+ "42": {
26017
+ "id": 42,
26018
+ "label": "Sink"
26019
+ },
26020
+ "43": {
26021
+ "id": 43,
26022
+ "label": "Sofa"
26023
+ },
26024
+ "44": {
26025
+ "id": 44,
26026
+ "label": "Stove"
26027
+ },
26028
+ "45": {
26029
+ "id": 45,
26030
+ "label": "Table"
26031
+ },
26032
+ "46": {
26033
+ "id": 46,
26034
+ "label": "Toilet"
26035
+ },
26036
+ "47": {
26037
+ "id": 47,
26038
+ "label": "Trash Can"
26039
+ },
26040
+ "48": {
26041
+ "id": 48,
26042
+ "label": "Laundry Washer"
26043
+ },
26044
+ "49": {
26045
+ "id": 49,
26046
+ "label": "Window"
26047
+ },
26048
+ "50": {
26049
+ "id": 50,
26050
+ "label": "Wine Cooler"
26051
+ }
26052
+ }
26053
+ },
26054
+ "18": {
26055
+ "id": 18,
26056
+ "label": "Common Relative Position",
26057
+ "tags": {
26058
+ "0": {
26059
+ "id": 0,
26060
+ "label": "Under"
26061
+ },
26062
+ "1": {
26063
+ "id": 1,
26064
+ "label": "Next To"
26065
+ },
26066
+ "2": {
26067
+ "id": 2,
26068
+ "label": "Around"
26069
+ },
26070
+ "3": {
26071
+ "id": 3,
26072
+ "label": "On"
26073
+ },
26074
+ "4": {
26075
+ "id": 4,
26076
+ "label": "Above"
26077
+ },
26078
+ "5": {
26079
+ "id": 5,
26080
+ "label": "Front Of"
26081
+ },
26082
+ "6": {
26083
+ "id": 6,
26084
+ "label": "Behind"
26085
+ }
26086
+ }
26087
+ },
26088
+ "19": {
26089
+ "id": 19,
26090
+ "label": "Commodity Tariff Flow",
26091
+ "tags": {
26092
+ "0": {
26093
+ "id": 0,
26094
+ "label": "Import"
26095
+ },
26096
+ "1": {
26097
+ "id": 1,
26098
+ "label": "Export"
26099
+ }
26100
+ }
26101
+ },
26102
+ "65": {
26103
+ "id": 65,
26104
+ "label": "Refrigerator",
26105
+ "tags": {
26106
+ "0": {
26107
+ "id": 0,
26108
+ "label": "Refrigerator"
26109
+ },
26110
+ "1": {
26111
+ "id": 1,
26112
+ "label": "Freezer"
26113
+ }
26114
+ }
26115
+ },
26116
+ "66": {
26117
+ "id": 66,
26118
+ "label": "Room Air Conditioner",
26119
+ "tags": {
26120
+ "0": {
26121
+ "id": 0,
26122
+ "label": "Evaporator"
26123
+ },
26124
+ "1": {
26125
+ "id": 1,
26126
+ "label": "Condenser"
26127
+ }
26128
+ }
26129
+ },
26130
+ "67": {
26131
+ "id": 67,
26132
+ "label": "Switches",
26133
+ "tags": {
26134
+ "0": {
26135
+ "id": 0,
26136
+ "label": "On"
26137
+ },
26138
+ "1": {
26139
+ "id": 1,
26140
+ "label": "Off"
26141
+ },
26142
+ "2": {
26143
+ "id": 2,
26144
+ "label": "Toggle"
26145
+ },
26146
+ "3": {
26147
+ "id": 3,
26148
+ "label": "Up"
26149
+ },
26150
+ "4": {
26151
+ "id": 4,
26152
+ "label": "Down"
26153
+ },
26154
+ "5": {
26155
+ "id": 5,
26156
+ "label": "Next"
26157
+ },
26158
+ "6": {
26159
+ "id": 6,
26160
+ "label": "Previous"
26161
+ },
26162
+ "7": {
26163
+ "id": 7,
26164
+ "label": "Enter Ok Select"
26165
+ },
26166
+ "8": {
26167
+ "id": 8,
26168
+ "label": "Custom"
26169
+ },
26170
+ "9": {
26171
+ "id": 9,
26172
+ "label": "Open"
26173
+ },
26174
+ "10": {
26175
+ "id": 10,
26176
+ "label": "Close"
26177
+ },
26178
+ "11": {
26179
+ "id": 11,
26180
+ "label": "Stop"
26181
+ }
26182
+ }
26183
+ },
26184
+ "68": {
26185
+ "id": 68,
26186
+ "label": "Closure",
26187
+ "tags": {
26188
+ "0": {
26189
+ "id": 0,
26190
+ "label": "Covering"
26191
+ },
26192
+ "1": {
26193
+ "id": 1,
26194
+ "label": "Window"
26195
+ },
26196
+ "2": {
26197
+ "id": 2,
26198
+ "label": "Barrier"
26199
+ },
26200
+ "3": {
26201
+ "id": 3,
26202
+ "label": "Cabinet"
26203
+ },
26204
+ "4": {
26205
+ "id": 4,
26206
+ "label": "Gate"
26207
+ },
26208
+ "5": {
26209
+ "id": 5,
26210
+ "label": "Garage Door"
26211
+ },
26212
+ "6": {
26213
+ "id": 6,
26214
+ "label": "Door"
26215
+ }
26216
+ }
26217
+ },
26218
+ "69": {
26219
+ "id": 69,
26220
+ "label": "Closure Panel",
26221
+ "tags": {
26222
+ "0": {
26223
+ "id": 0,
26224
+ "label": "Lift"
26225
+ },
26226
+ "1": {
26227
+ "id": 1,
26228
+ "label": "Tilt"
26229
+ },
26230
+ "2": {
26231
+ "id": 2,
26232
+ "label": "Sliding"
26233
+ },
26234
+ "3": {
26235
+ "id": 3,
26236
+ "label": "Rotate"
26237
+ }
26238
+ }
26239
+ },
26240
+ "70": {
26241
+ "id": 70,
26242
+ "label": "Closure Covering",
26243
+ "tags": {
26244
+ "0": {
26245
+ "id": 0,
26246
+ "label": "Blind"
26247
+ },
26248
+ "1": {
26249
+ "id": 1,
26250
+ "label": "Awning"
26251
+ },
26252
+ "2": {
26253
+ "id": 2,
26254
+ "label": "Shutter"
26255
+ },
26256
+ "3": {
26257
+ "id": 3,
26258
+ "label": "Venetian"
26259
+ },
26260
+ "4": {
26261
+ "id": 4,
26262
+ "label": "Curtain"
26263
+ }
26264
+ }
26265
+ },
26266
+ "71": {
26267
+ "id": 71,
26268
+ "label": "Closure Window",
26269
+ "tags": {
26270
+ "0": {
26271
+ "id": 0,
26272
+ "label": "Roof"
26273
+ },
26274
+ "1": {
26275
+ "id": 1,
26276
+ "label": "Facade"
26277
+ }
26278
+ }
26279
+ },
26280
+ "72": {
26281
+ "id": 72,
26282
+ "label": "Closure Cabinet",
26283
+ "tags": {
26284
+ "0": {
26285
+ "id": 0,
26286
+ "label": "Cabinet Door"
26287
+ },
26288
+ "1": {
26289
+ "id": 1,
26290
+ "label": "Drawer"
26291
+ },
26292
+ "2": {
26293
+ "id": 2,
26294
+ "label": "Flap"
26295
+ }
26296
+ }
26297
+ },
26298
+ "73": {
26299
+ "id": 73,
26300
+ "label": "Identified Object",
26301
+ "tags": {
26302
+ "0": {
26303
+ "id": 0,
26304
+ "label": "Unknown"
26305
+ },
26306
+ "1": {
26307
+ "id": 1,
26308
+ "label": "Adult"
26309
+ },
26310
+ "2": {
26311
+ "id": 2,
26312
+ "label": "Child"
26313
+ },
26314
+ "3": {
26315
+ "id": 3,
26316
+ "label": "Person"
26317
+ },
26318
+ "4": {
26319
+ "id": 4,
26320
+ "label": "Rvc"
26321
+ },
26322
+ "5": {
26323
+ "id": 5,
26324
+ "label": "Pet"
26325
+ },
26326
+ "6": {
26327
+ "id": 6,
26328
+ "label": "Dog"
26329
+ },
26330
+ "7": {
26331
+ "id": 7,
26332
+ "label": "Cat"
26333
+ },
26334
+ "8": {
26335
+ "id": 8,
26336
+ "label": "Animal"
26337
+ },
26338
+ "9": {
26339
+ "id": 9,
26340
+ "label": "Car"
26341
+ },
26342
+ "10": {
26343
+ "id": 10,
26344
+ "label": "Vehicle"
26345
+ },
26346
+ "11": {
26347
+ "id": 11,
26348
+ "label": "Package"
26349
+ },
26350
+ "12": {
26351
+ "id": 12,
26352
+ "label": "Clothes"
26353
+ }
26354
+ }
26355
+ },
26356
+ "74": {
26357
+ "id": 74,
26358
+ "label": "Identified Sound",
26359
+ "tags": {
26360
+ "0": {
26361
+ "id": 0,
26362
+ "label": "Unknown"
26363
+ },
26364
+ "1": {
26365
+ "id": 1,
26366
+ "label": "Object Fall"
26367
+ },
26368
+ "2": {
26369
+ "id": 2,
26370
+ "label": "Snoring"
26371
+ },
26372
+ "3": {
26373
+ "id": 3,
26374
+ "label": "Coughing"
26375
+ },
26376
+ "4": {
26377
+ "id": 4,
26378
+ "label": "Barking"
26379
+ },
26380
+ "5": {
26381
+ "id": 5,
26382
+ "label": "Shattering"
26383
+ },
26384
+ "6": {
26385
+ "id": 6,
26386
+ "label": "Baby Crying"
26387
+ },
26388
+ "7": {
26389
+ "id": 7,
26390
+ "label": "Utility Alarm"
26391
+ },
26392
+ "8": {
26393
+ "id": 8,
26394
+ "label": "Urgent Shouting"
26395
+ },
26396
+ "9": {
26397
+ "id": 9,
26398
+ "label": "Doorbell"
26399
+ },
26400
+ "10": {
26401
+ "id": 10,
26402
+ "label": "Knocking"
26403
+ },
26404
+ "11": {
26405
+ "id": 11,
26406
+ "label": "Urgent Siren"
26407
+ },
26408
+ "12": {
26409
+ "id": 12,
26410
+ "label": "Faucet Running"
26411
+ },
26412
+ "13": {
26413
+ "id": 13,
26414
+ "label": "Kettle Boiling"
26415
+ },
26416
+ "14": {
26417
+ "id": 14,
26418
+ "label": "Fan Dryer"
26419
+ },
26420
+ "15": {
26421
+ "id": 15,
26422
+ "label": "Clapping"
26423
+ },
26424
+ "16": {
26425
+ "id": 16,
26426
+ "label": "Finger Snapping"
26427
+ },
26428
+ "17": {
26429
+ "id": 17,
26430
+ "label": "Meowing"
26431
+ },
26432
+ "18": {
26433
+ "id": 18,
26434
+ "label": "Laughing"
26435
+ },
26436
+ "19": {
26437
+ "id": 19,
26438
+ "label": "Glass Breaking"
26439
+ },
26440
+ "20": {
26441
+ "id": 20,
26442
+ "label": "Door Knocking"
26443
+ },
26444
+ "21": {
26445
+ "id": 21,
26446
+ "label": "Person Talking"
26447
+ }
26448
+ }
26449
+ },
26450
+ "75": {
26451
+ "id": 75,
26452
+ "label": "Identified Human Activity",
26453
+ "tags": {
26454
+ "0": {
26455
+ "id": 0,
26456
+ "label": "Unknown"
26457
+ },
26458
+ "1": {
26459
+ "id": 1,
26460
+ "label": "Fall"
26461
+ },
26462
+ "2": {
26463
+ "id": 2,
26464
+ "label": "Sleeping"
26465
+ },
26466
+ "3": {
26467
+ "id": 3,
26468
+ "label": "Walking"
26469
+ },
26470
+ "4": {
26471
+ "id": 4,
26472
+ "label": "Workout"
26473
+ },
26474
+ "5": {
26475
+ "id": 5,
26476
+ "label": "Sitting"
26477
+ },
26478
+ "6": {
26479
+ "id": 6,
26480
+ "label": "Standing"
26481
+ },
26482
+ "7": {
26483
+ "id": 7,
26484
+ "label": "Dancing"
26485
+ },
26486
+ "8": {
26487
+ "id": 8,
26488
+ "label": "Package Delivery"
26489
+ },
26490
+ "9": {
26491
+ "id": 9,
26492
+ "label": "Package Retrieval"
26493
+ }
26494
+ }
26495
+ }
26496
+ };
26497
+
26498
+ /**
26499
+ * @license
26500
+ * Copyright 2025-2026 Open Home Foundation
26501
+ * SPDX-License-Identifier: Apache-2.0
26502
+ */
26503
+ const showDialogBox = async (type, dialogParams) => {
26504
+ await import('./dialog-box-82Jr5Nw_.js');
26505
+ return new Promise(resolve => {
26506
+ const dialog = document.createElement("dialog-box");
26507
+ dialog.params = dialogParams;
26508
+ dialog.dialogResult = resolve;
26509
+ dialog.type = type;
26510
+ document.body.appendChild(dialog);
26511
+ });
26512
+ };
26513
+ const showAlertDialog = dialogParams => showDialogBox("alert", dialogParams);
26514
+ const showPromptDialog = dialogParams => showDialogBox("prompt", dialogParams);
26515
+
26516
+ /**
26517
+ * @license
26518
+ * Copyright 2025-2026 Open Home Foundation
26519
+ * SPDX-License-Identifier: Apache-2.0
26520
+ */
26521
+ const showAttributeWriteDialog = async options => {
26522
+ await import('./attribute-write-dialog-0cxaSZB5.js');
26523
+ const dialog = document.createElement("attribute-write-dialog");
26524
+ dialog.client = options.client;
26525
+ dialog.nodeId = options.nodeId;
26526
+ dialog.endpointId = options.endpointId;
26527
+ dialog.clusterId = options.clusterId;
26528
+ dialog.attributeId = options.attributeId;
26529
+ dialog.label = options.label;
26530
+ dialog.currentValue = options.currentValue;
26531
+ document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
26532
+ };
26533
+
26534
+ /**
26535
+ * @license
26536
+ * Copyright 2025-2026 Open Home Foundation
26537
+ * SPDX-License-Identifier: Apache-2.0
26538
+ */
26539
+ const showCommandInvokeDialog = async options => {
26540
+ await import('./command-invoke-dialog-_8bFD1ig.js');
26541
+ const dialog = document.createElement("command-invoke-dialog");
26542
+ dialog.client = options.client;
26543
+ dialog.nodeId = options.nodeId;
26544
+ dialog.endpointId = options.endpointId;
26545
+ dialog.clusterId = options.clusterId;
26546
+ dialog.commandId = options.commandId;
26547
+ dialog.commandName = options.commandName;
26548
+ document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
26549
+ };
26550
+
26551
+ /**
26552
+ * @license
26553
+ * Copyright 2022 Google LLC
26554
+ * SPDX-License-Identifier: Apache-2.0
26555
+ */
26556
+ /**
26557
+ * A component for elevation.
26558
+ */
26559
+ class Elevation extends i$4 {
26560
+ connectedCallback() {
26561
+ super.connectedCallback();
26562
+ // Needed for VoiceOver, which will create a "group" if the element is a
26563
+ // sibling to other content.
26564
+ this.setAttribute('aria-hidden', 'true');
26565
+ }
26566
+ render() {
26567
+ return b`<span class="shadow"></span>`;
26568
+ }
26569
+ }
26570
+
26571
+ /**
26572
+ * @license
26573
+ * Copyright 2026 Google LLC
26574
+ * SPDX-License-Identifier: Apache-2.0
26575
+ */
26576
+ // Generated stylesheet for ./elevation/internal/elevation-styles.css.
26577
+ const styles$g = i$7`:host,.shadow,.shadow::before,.shadow::after{border-radius:inherit;inset:0;position:absolute;transition-duration:inherit;transition-property:inherit;transition-timing-function:inherit}:host{display:flex;pointer-events:none;transition-property:box-shadow,opacity}.shadow::before,.shadow::after{content:"";transition-property:box-shadow,opacity;--_level: var(--md-elevation-level, 0);--_shadow-color: var(--md-elevation-shadow-color, var(--md-sys-color-shadow, #000))}.shadow::before{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 3,1) + 2*clamp(0,var(--_level) - 4,1))) calc(1px*(2*clamp(0,var(--_level),1) + clamp(0,var(--_level) - 2,1) + clamp(0,var(--_level) - 4,1))) 0px var(--_shadow-color);opacity:.3}.shadow::after{box-shadow:0px calc(1px*(clamp(0,var(--_level),1) + clamp(0,var(--_level) - 1,1) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(3*clamp(0,var(--_level),2) + 2*clamp(0,var(--_level) - 2,3))) calc(1px*(clamp(0,var(--_level),4) + 2*clamp(0,var(--_level) - 4,1))) var(--_shadow-color);opacity:.15}
26578
+ `;
26579
+ styles$g.styleSheet;
26580
+
26581
+ /**
26582
+ * @license
26583
+ * Copyright 2022 Google LLC
26584
+ * SPDX-License-Identifier: Apache-2.0
26585
+ */
26586
+ /**
26587
+ * The `<md-elevation>` custom element with default styles.
26588
+ *
26589
+ * Elevation is the relative distance between two surfaces along the z-axis.
26590
+ *
26591
+ * @final
26592
+ * @suppress {visibility}
26593
+ */
26594
+ let MdElevation = class MdElevation extends Elevation {};
26595
+ MdElevation.styles = [styles$g];
26596
+ MdElevation = __decorate([t$1('md-elevation')], MdElevation);
26597
+
26598
+ /**
26599
+ * @license
26600
+ * Copyright 2021 Google LLC
26601
+ * SPDX-License-Identifier: Apache-2.0
26602
+ */
26603
+ /**
26604
+ * A filled button component.
26605
+ */
26606
+ class FilledButton extends Button {
26607
+ renderElevationOrOutline() {
26608
+ return b`<md-elevation part="elevation"></md-elevation>`;
26609
+ }
26610
+ }
26611
+
26612
+ /**
26613
+ * @license
26614
+ * Copyright 2026 Google LLC
26615
+ * SPDX-License-Identifier: Apache-2.0
26616
+ */
26617
+ // Generated stylesheet for ./button/internal/filled-styles.css.
26618
+ const styles$f = i$7`:host{--_container-color: var(--md-filled-button-container-color, var(--md-sys-color-primary, #6750a4));--_container-elevation: var(--md-filled-button-container-elevation, 0);--_container-height: var(--md-filled-button-container-height, 40px);--_container-shadow-color: var(--md-filled-button-container-shadow-color, var(--md-sys-color-shadow, #000));--_disabled-container-color: var(--md-filled-button-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-container-elevation: var(--md-filled-button-disabled-container-elevation, 0);--_disabled-container-opacity: var(--md-filled-button-disabled-container-opacity, 0.12);--_disabled-label-text-color: var(--md-filled-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filled-button-disabled-label-text-opacity, 0.38);--_focus-container-elevation: var(--md-filled-button-focus-container-elevation, 0);--_focus-label-text-color: var(--md-filled-button-focus-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-container-elevation: var(--md-filled-button-hover-container-elevation, 1);--_hover-label-text-color: var(--md-filled-button-hover-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-color: var(--md-filled-button-hover-state-layer-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-opacity: var(--md-filled-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filled-button-label-text-color, var(--md-sys-color-on-primary, #fff));--_label-text-font: var(--md-filled-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filled-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filled-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filled-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-container-elevation: var(--md-filled-button-pressed-container-elevation, 0);--_pressed-label-text-color: var(--md-filled-button-pressed-label-text-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-color: var(--md-filled-button-pressed-state-layer-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-opacity: var(--md-filled-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-filled-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-filled-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-filled-button-focus-icon-color, var(--md-sys-color-on-primary, #fff));--_hover-icon-color: var(--md-filled-button-hover-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-color: var(--md-filled-button-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-size: var(--md-filled-button-icon-size, 18px);--_pressed-icon-color: var(--md-filled-button-pressed-icon-color, var(--md-sys-color-on-primary, #fff));--_container-shape-start-start: var(--md-filled-button-container-shape-start-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-filled-button-container-shape-start-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-filled-button-container-shape-end-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-filled-button-container-shape-end-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-filled-button-leading-space, 24px);--_trailing-space: var(--md-filled-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-filled-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-filled-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-filled-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-filled-button-with-trailing-icon-trailing-space, 16px)}
26619
+ `;
26620
+ styles$f.styleSheet;
26621
+
26622
+ /**
26623
+ * @license
26624
+ * Copyright 2026 Google LLC
26625
+ * SPDX-License-Identifier: Apache-2.0
26626
+ */
26627
+ // Generated stylesheet for ./button/internal/shared-elevation-styles.css.
26628
+ const styles$e = i$7`md-elevation{transition-duration:280ms}:host(:is([disabled],[soft-disabled])) md-elevation{transition:none}md-elevation{--md-elevation-level: var(--_container-elevation);--md-elevation-shadow-color: var(--_container-shadow-color)}:host(:focus-within) md-elevation{--md-elevation-level: var(--_focus-container-elevation)}:host(:hover) md-elevation{--md-elevation-level: var(--_hover-container-elevation)}:host(:active) md-elevation{--md-elevation-level: var(--_pressed-container-elevation)}:host(:is([disabled],[soft-disabled])) md-elevation{--md-elevation-level: var(--_disabled-container-elevation)}
26629
+ `;
26630
+ styles$e.styleSheet;
26631
+
26632
+ /**
26633
+ * @license
26634
+ * Copyright 2021 Google LLC
26635
+ * SPDX-License-Identifier: Apache-2.0
26636
+ */
26637
+ /**
26638
+ * @summary Buttons help people take action, such as sending an email, sharing a
26639
+ * document, or liking a comment.
26640
+ *
26641
+ * @description
26642
+ * __Emphasis:__ High emphasis – For the primary, most important, or most common
26643
+ * action on a screen
26644
+ *
26645
+ * __Rationale:__ The filled button’s contrasting surface color makes it the
26646
+ * most prominent button after the FAB. It’s used for final or unblocking
26647
+ * actions in a flow.
26648
+ *
26649
+ * __Example usages:__
26650
+ * - Save
26651
+ * - Confirm
26652
+ * - Done
26653
+ *
26654
+ * @final
26655
+ * @suppress {visibility}
26656
+ */
26657
+ let MdFilledButton = class MdFilledButton extends FilledButton {};
26658
+ MdFilledButton.styles = [styles$o, styles$e, styles$f];
26659
+ MdFilledButton = __decorate([t$1('md-filled-button')], MdFilledButton);
26660
+
26661
+ /**
26662
+ * @license
26663
+ * Copyright 2021 Google LLC
26664
+ * SPDX-License-Identifier: Apache-2.0
26665
+ */
26666
+ /**
26667
+ * A text button component.
26668
+ */
26669
+ class TextButton extends Button {}
26670
+
26671
+ /**
26672
+ * @license
26673
+ * Copyright 2026 Google LLC
26674
+ * SPDX-License-Identifier: Apache-2.0
26675
+ */
26676
+ // Generated stylesheet for ./button/internal/text-styles.css.
26677
+ const styles$d = i$7`:host{--_container-height: var(--md-text-button-container-height, 40px);--_disabled-label-text-color: var(--md-text-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-text-button-disabled-label-text-opacity, 0.38);--_focus-label-text-color: var(--md-text-button-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-text-button-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-text-button-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-text-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-text-button-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-text-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-text-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-text-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-text-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-label-text-color: var(--md-text-button-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-color: var(--md-text-button-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-text-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-text-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-text-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-text-button-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-icon-color: var(--md-text-button-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-color: var(--md-text-button-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-text-button-icon-size, 18px);--_pressed-icon-color: var(--md-text-button-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_container-shape-start-start: var(--md-text-button-container-shape-start-start, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-text-button-container-shape-start-end, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-text-button-container-shape-end-end, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-text-button-container-shape-end-start, var(--md-text-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-text-button-leading-space, 12px);--_trailing-space: var(--md-text-button-trailing-space, 12px);--_with-leading-icon-leading-space: var(--md-text-button-with-leading-icon-leading-space, 12px);--_with-leading-icon-trailing-space: var(--md-text-button-with-leading-icon-trailing-space, 16px);--_with-trailing-icon-leading-space: var(--md-text-button-with-trailing-icon-leading-space, 16px);--_with-trailing-icon-trailing-space: var(--md-text-button-with-trailing-icon-trailing-space, 12px);--_container-color: none;--_disabled-container-color: none;--_disabled-container-opacity: 0}
26678
+ `;
26679
+ styles$d.styleSheet;
26680
+
26681
+ /**
26682
+ * @license
26683
+ * Copyright 2021 Google LLC
26684
+ * SPDX-License-Identifier: Apache-2.0
26685
+ */
26686
+ /**
26687
+ * @summary Buttons help people take action, such as sending an email, sharing a
26688
+ * document, or liking a comment.
26689
+ *
26690
+ * @description
26691
+ * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
26692
+ * least amount of prominence
26693
+ *
26694
+ * __Rationale:__ Text buttons have less visual prominence, so should be used
26695
+ * for low emphasis actions, such as an alternative option.
26696
+ *
26697
+ * __Example usages:__
26698
+ * - Learn more
26699
+ * - View all
26700
+ * - Change account
26701
+ * - Turn on
26702
+ *
26703
+ * @final
26704
+ * @suppress {visibility}
26705
+ */
26706
+ let MdTextButton = class MdTextButton extends TextButton {};
26707
+ MdTextButton.styles = [styles$o, styles$d];
26708
+ MdTextButton = __decorate([t$1('md-text-button')], MdTextButton);
26709
+
26710
+ /**
26711
+ * @license
26712
+ * Copyright 2026 Open Home Foundation
26713
+ * SPDX-License-Identifier: Apache-2.0
26714
+ */
26715
+ const showNodeLabelDialog = async (client, node) => {
26716
+ await import('./node-label-dialog-BJ2n0-fu.js');
26717
+ const dialog = document.createElement("node-label-dialog");
26718
+ dialog.client = client;
26719
+ dialog.node = node;
26720
+ document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
26721
+ };
26722
+
26723
+ /**
26724
+ * @license
26725
+ * Copyright 2025-2026 Open Home Foundation
26726
+ * SPDX-License-Identifier: Apache-2.0
26727
+ */
26728
+ function handleAsync(fn, onError) {
26729
+ return () => {
26730
+ fn().catch(error => {
26731
+ console.error("Async operation failed:", error);
26732
+ });
26733
+ };
26734
+ }
26735
+ function handleAsyncEvent(fn, onError) {
26736
+ return event => {
26737
+ fn(event).catch(error => {
26738
+ console.error("Async operation failed:", error);
26739
+ });
26740
+ };
26741
+ }
26742
+ function fireAndForget(promise, onError) {
26743
+ promise.catch(error => {
26744
+ console.error("Async operation failed:", error);
26745
+ });
26746
+ }
26747
+
26748
+ /**
26749
+ * @license
26750
+ * Copyright 2021 Google LLC
26751
+ * SPDX-License-Identifier: Apache-2.0
26752
+ */
26753
+ /**
26754
+ * A field component.
26755
+ */
26756
+ class Field extends i$4 {
26757
+ constructor() {
26758
+ super(...arguments);
26759
+ this.disabled = false;
26760
+ this.error = false;
26761
+ this.focused = false;
26762
+ this.label = '';
26763
+ this.noAsterisk = false;
26764
+ this.populated = false;
26765
+ this.required = false;
26766
+ this.resizable = false;
26767
+ this.supportingText = '';
26768
+ this.errorText = '';
26769
+ this.count = -1;
26770
+ this.max = -1;
26771
+ /**
26772
+ * Whether or not the field has leading content.
26773
+ */
26774
+ this.hasStart = false;
26775
+ /**
26776
+ * Whether or not the field has trailing content.
26777
+ */
26778
+ this.hasEnd = false;
26779
+ this.isAnimating = false;
26780
+ /**
26781
+ * When set to true, the error text's `role="alert"` will be removed, then
26782
+ * re-added after an animation frame. This will re-announce an error message
26783
+ * to screen readers.
26784
+ */
26785
+ this.refreshErrorAlert = false;
26786
+ this.disableTransitions = false;
26787
+ }
26788
+ get counterText() {
26789
+ // Count and max are typed as number, but can be set to null when Lit removes
26790
+ // their attributes. These getters coerce back to a number for calculations.
26791
+ const countAsNumber = this.count ?? -1;
26792
+ const maxAsNumber = this.max ?? -1;
26793
+ // Counter does not show if count is negative, or max is negative or 0.
26794
+ if (countAsNumber < 0 || maxAsNumber <= 0) {
26795
+ return '';
26796
+ }
26797
+ return `${countAsNumber} / ${maxAsNumber}`;
26798
+ }
26799
+ get supportingOrErrorText() {
26800
+ return this.error && this.errorText ? this.errorText : this.supportingText;
26801
+ }
26802
+ /**
26803
+ * Re-announces the field's error supporting text to screen readers.
26804
+ *
26805
+ * Error text announces to screen readers anytime it is visible and changes.
26806
+ * Use the method to re-announce the message when the text has not changed,
26807
+ * but announcement is still needed (such as for `reportValidity()`).
26808
+ */
26809
+ reannounceError() {
26810
+ this.refreshErrorAlert = true;
26811
+ }
26812
+ update(props) {
26813
+ // Client-side property updates
26814
+ const isDisabledChanging = props.has('disabled') && props.get('disabled') !== undefined;
26815
+ if (isDisabledChanging) {
26816
+ this.disableTransitions = true;
26817
+ }
26818
+ // When disabling, remove focus styles if focused.
26819
+ if (this.disabled && this.focused) {
26820
+ props.set('focused', true);
26821
+ this.focused = false;
26822
+ }
26823
+ // Animate if focused or populated change.
26824
+ this.animateLabelIfNeeded({
26825
+ wasFocused: props.get('focused'),
26826
+ wasPopulated: props.get('populated')
26827
+ });
26828
+ super.update(props);
26829
+ }
26830
+ render() {
26831
+ const floatingLabel = this.renderLabel(/*isFloating*/true);
26832
+ const restingLabel = this.renderLabel(/*isFloating*/false);
26833
+ const outline = this.renderOutline?.(floatingLabel);
26834
+ const classes = {
26835
+ 'disabled': this.disabled,
26836
+ 'disable-transitions': this.disableTransitions,
26837
+ 'error': this.error && !this.disabled,
26838
+ 'focused': this.focused,
26839
+ 'with-start': this.hasStart,
26840
+ 'with-end': this.hasEnd,
26841
+ 'populated': this.populated,
26842
+ 'resizable': this.resizable,
26843
+ 'required': this.required,
26844
+ 'no-label': !this.label
26845
+ };
26846
+ return b`
26847
+ <div class="field ${e$3(classes)}">
26848
+ <div class="container-overflow">
26849
+ ${this.renderBackground?.()}
26850
+ <slot name="container"></slot>
26851
+ ${this.renderStateLayer?.()} ${this.renderIndicator?.()} ${outline}
26852
+ <div class="container">
26853
+ <div class="start">
26854
+ <slot name="start"></slot>
26855
+ </div>
26856
+ <div class="middle">
26857
+ <div class="label-wrapper">
26858
+ ${restingLabel} ${outline ? A : floatingLabel}
26859
+ </div>
26860
+ <div class="content">
26861
+ <slot></slot>
26862
+ </div>
26863
+ </div>
26864
+ <div class="end">
26865
+ <slot name="end"></slot>
26866
+ </div>
26867
+ </div>
26868
+ </div>
26869
+ ${this.renderSupportingText()}
26870
+ </div>
26871
+ `;
26872
+ }
26873
+ updated(changed) {
26874
+ if (changed.has('supportingText') || changed.has('errorText') || changed.has('count') || changed.has('max')) {
26875
+ this.updateSlottedAriaDescribedBy();
26876
+ }
26877
+ if (this.refreshErrorAlert) {
26878
+ // The past render cycle removed the role="alert" from the error message.
26879
+ // Re-add it after an animation frame to re-announce the error.
26880
+ requestAnimationFrame(() => {
26881
+ this.refreshErrorAlert = false;
26882
+ });
26883
+ }
26884
+ if (this.disableTransitions) {
26885
+ requestAnimationFrame(() => {
26886
+ this.disableTransitions = false;
26887
+ });
26888
+ }
26889
+ }
26890
+ renderSupportingText() {
26891
+ const {
26892
+ supportingOrErrorText,
26893
+ counterText
25389
26894
  } = this;
25390
26895
  if (!supportingOrErrorText && !counterText) {
25391
26896
  return A;
@@ -30901,13 +32406,13 @@ AvsumPtzStrip = __decorateClass$q([t$1("avsum-ptz-strip")], AvsumPtzStrip);
30901
32406
  * SPDX-License-Identifier: Apache-2.0
30902
32407
  */
30903
32408
  const WEBRTC_TRANSPORT_PROVIDER_CLUSTER_ID = 1363;
30904
- const DESCRIPTOR_CLUSTER_ID = 29;
32409
+ const DESCRIPTOR_CLUSTER_ID$1 = 29;
30905
32410
  const SERVER_LIST_ATTR_ID = 1;
30906
32411
  const ACCEPTED_COMMAND_LIST_ATTR_ID = 65529;
30907
32412
  const CAPTURE_SNAPSHOT_COMMAND_ID = 12;
30908
32413
  const SNAPSHOT_CAPABILITIES_ATTR_ID = 10;
30909
32414
  function serverClusters(node, endpoint) {
30910
- const raw = node.attributes[`${endpoint}/${DESCRIPTOR_CLUSTER_ID}/${SERVER_LIST_ATTR_ID}`];
32415
+ const raw = node.attributes[`${endpoint}/${DESCRIPTOR_CLUSTER_ID$1}/${SERVER_LIST_ATTR_ID}`];
30911
32416
  return Array.isArray(raw) ? raw.map(v => Number(v)) : new Array();
30912
32417
  }
30913
32418
  function supportsLiveView(node, endpoint) {
@@ -31853,12 +33358,12 @@ var _staticBlock$3, _staticBlock2;
31853
33358
  * Copyright 2025-2026 Open Home Foundation
31854
33359
  * SPDX-License-Identifier: Apache-2.0
31855
33360
  */
31856
- function isRecord$2(value) {
33361
+ function isRecord$3(value) {
31857
33362
  return typeof value === "object" && value !== null;
31858
33363
  }
31859
33364
  class AccessControlTargetTransformer {
31860
33365
  static transform(input) {
31861
- if (!isRecord$2(input)) {
33366
+ if (!isRecord$3(input)) {
31862
33367
  throw new Error("Invalid input: expected an object");
31863
33368
  }
31864
33369
  const result = {};
@@ -31884,7 +33389,7 @@ class AccessControlTargetTransformer {
31884
33389
  _staticBlock$3();
31885
33390
  class AccessControlEntryDataTransformer {
31886
33391
  static transform(input) {
31887
- if (!isRecord$2(input)) {
33392
+ if (!isRecord$3(input)) {
31888
33393
  throw new Error("Invalid input: expected an object");
31889
33394
  }
31890
33395
  const result = {};
@@ -32031,11 +33536,6 @@ function formatDuration(seconds) {
32031
33536
  * SPDX-License-Identifier: Apache-2.0
32032
33537
  */
32033
33538
  const ICD_CLUSTER_ID = 70;
32034
- const MIN_LIT_SPECIFICATION_VERSION = 17039360;
32035
- function litSpecVersionOk(attributes) {
32036
- const value = attributes["0/40/21"];
32037
- return typeof value === "number" && value >= MIN_LIT_SPECIFICATION_VERSION;
32038
- }
32039
33539
  function parseIcdFeatures(featureMap) {
32040
33540
  return {
32041
33541
  checkInProtocolSupport: (featureMap & 1) !== 0,
@@ -32051,14 +33551,14 @@ function numberAttr(attributes, attributeId) {
32051
33551
  const value = attr(attributes, attributeId);
32052
33552
  return typeof value === "number" ? value : void 0;
32053
33553
  }
32054
- function isRecord$1(value) {
33554
+ function isRecord$2(value) {
32055
33555
  return typeof value === "object" && value !== null;
32056
33556
  }
32057
33557
  function nodeOrSubjectId(value) {
32058
33558
  return typeof value === "number" || typeof value === "bigint" ? value : void 0;
32059
33559
  }
32060
33560
  function decodeRegisteredClient(entry) {
32061
- if (!isRecord$1(entry)) return void 0;
33561
+ if (!isRecord$2(entry)) return void 0;
32062
33562
  const checkInNodeId = nodeOrSubjectId(entry["1"]);
32063
33563
  const monitoredSubject = nodeOrSubjectId(entry["2"]);
32064
33564
  const fabricIndex = entry["254"];
@@ -32119,15 +33619,15 @@ function wakeInstruction(hint, instruction) {
32119
33619
  };
32120
33620
  }
32121
33621
  function icdBadge(attributes, available) {
33622
+ if (!isLongIdleTimeCapable(attributes)) return void 0;
32122
33623
  const info = icdInfo(attributes);
32123
- if (!info.supported || !info.features.longIdleTimeSupport || !litSpecVersionOk(attributes)) return void 0;
32124
33624
  if (info.operatingMode === "SIT") {
32125
33625
  return {
32126
33626
  state: "sit",
32127
33627
  hint: "Supports Battery Saver Mode (called Matter LIT (Long Idle Time) ICD), currently in Standard mode. Click for options."
32128
33628
  };
32129
33629
  }
32130
- if (info.operatingMode === "LIT") {
33630
+ if (isLongIdleTimeDevice(attributes)) {
32131
33631
  if (!available) {
32132
33632
  const offlineInterval = info.idleModeDuration !== void 0 ? formatDuration(info.idleModeDuration) : "its check-in interval";
32133
33633
  return {
@@ -34277,6 +35777,87 @@ function formatNodeAddressFromAny(fabricIndex, nodeId) {
34277
35777
  return formatNodeAddress(fabricIndex, numericId);
34278
35778
  }
34279
35779
 
35780
+ /**
35781
+ * @license
35782
+ * Copyright 2025-2026 Open Home Foundation
35783
+ * SPDX-License-Identifier: Apache-2.0
35784
+ */
35785
+ const DESCRIPTOR_CLUSTER_ID = 29;
35786
+ const TAG_LIST_ATTR = 4;
35787
+ function isRecord$1(value) {
35788
+ return typeof value === "object" && value !== null;
35789
+ }
35790
+ function decodeSemanticTag(entry) {
35791
+ if (!isRecord$1(entry)) return void 0;
35792
+ const namespaceId = entry["1"];
35793
+ const tag = entry["2"];
35794
+ if (typeof namespaceId !== "number" || typeof tag !== "number") return void 0;
35795
+ const mfgCode = entry["0"];
35796
+ const label = entry["3"];
35797
+ return {
35798
+ mfgCode: typeof mfgCode === "number" ? mfgCode : null,
35799
+ namespaceId,
35800
+ tag,
35801
+ label: typeof label === "string" ? label : null
35802
+ };
35803
+ }
35804
+ function decodeSemanticTagList(value) {
35805
+ if (value === void 0) return void 0;
35806
+ if (!Array.isArray(value) && !isRecord$1(value)) return [{
35807
+ kind: "raw",
35808
+ raw: value
35809
+ }];
35810
+ return attributeArray(value).map(entry => {
35811
+ const semtag = decodeSemanticTag(entry);
35812
+ return semtag === void 0 ? {
35813
+ kind: "raw",
35814
+ raw: entry
35815
+ } : {
35816
+ kind: "tag",
35817
+ semtag
35818
+ };
35819
+ });
35820
+ }
35821
+ const RAW_ENTRY_TEXT_MAX = 60;
35822
+ function describeSemanticTagListEntry(entry) {
35823
+ if (entry.kind === "tag") return {
35824
+ ...describeSemanticTag(entry.semtag),
35825
+ erroneous: false
35826
+ };
35827
+ const raw = entry.raw === void 0 ? "undefined" : toBigIntAwareJson(entry.raw);
35828
+ const text = raw.length > RAW_ENTRY_TEXT_MAX ? `${raw.slice(0, RAW_ENTRY_TEXT_MAX - 1)}\u2026` : raw;
35829
+ return {
35830
+ text,
35831
+ title: `Not a SemanticTagStruct: ${raw}`,
35832
+ erroneous: true
35833
+ };
35834
+ }
35835
+ function describeSemanticTag(semtag) {
35836
+ const {
35837
+ mfgCode,
35838
+ namespaceId,
35839
+ tag,
35840
+ label
35841
+ } = semtag;
35842
+ const idSuffix = ` (ns ${namespaceId}, tag ${tag})`;
35843
+ if (mfgCode != null) {
35844
+ const text2 = label ? `Mfg ${formatHex(mfgCode)}: ${label}` : `Mfg ${formatHex(mfgCode)} tag ${tag}`;
35845
+ return {
35846
+ text: text2,
35847
+ title: `Manufacturer-specific${idSuffix}, mfgCode ${formatHex(mfgCode)}`
35848
+ };
35849
+ }
35850
+ const namespace = semantic_tag_namespaces[namespaceId];
35851
+ const tagInfo = namespace?.tags[tag];
35852
+ const namespaceLabel = namespace?.label ?? `Namespace ${namespaceId}`;
35853
+ const tagLabel = tagInfo?.label ?? `Tag ${tag}`;
35854
+ const text = label ? `${namespaceLabel} \u2192 ${tagLabel} ("${label}")` : `${namespaceLabel} \u2192 ${tagLabel}`;
35855
+ return {
35856
+ text,
35857
+ title: `${namespaceLabel} \u2192 ${tagLabel}${idSuffix}`
35858
+ };
35859
+ }
35860
+
34280
35861
  /**
34281
35862
  * @license
34282
35863
  * Copyright 2025-2026 Open Home Foundation
@@ -34481,7 +36062,7 @@ async function downgradeToOperate(client, nodeId, keys) {
34481
36062
  * SPDX-License-Identifier: Apache-2.0
34482
36063
  */
34483
36064
  const showNodeAclAddDialog = async node => {
34484
- await import('./node-acl-add-dialog-CC_Cbnx3.js');
36065
+ await import('./node-acl-add-dialog-CQysaUCt.js');
34485
36066
  const dialog = document.createElement("node-acl-add-dialog");
34486
36067
  dialog.node = node;
34487
36068
  document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
@@ -36778,7 +38359,7 @@ async function deleteBindingAtIndex(client, sourceNode, sourceEndpoint, index) {
36778
38359
  * SPDX-License-Identifier: Apache-2.0
36779
38360
  */
36780
38361
  const showNodeBindingDialog = async (node, endpoint) => {
36781
- await import('./node-binding-dialog-COAoH_PY.js');
38362
+ await import('./node-binding-dialog-BFp0rWiU.js');
36782
38363
  const dialog = document.createElement("node-binding-dialog");
36783
38364
  dialog.node = node;
36784
38365
  dialog.endpoint = endpoint;
@@ -38763,9 +40344,9 @@ let IcdManagementClusterCommands = class extends BaseClusterCommands {
38763
40344
  if (this._serverState !== void 0) return this._serverState.registered;
38764
40345
  return isRegisteredByUs(this._info.registeredClients, this.client.serverInfo?.controller_node_id);
38765
40346
  }
38766
- /** matter.js only treats a peer as LIT-capable with LITS feature AND spec version >= 1.4.0. */
40347
+ /** The server's own IcdClient verdict wins; the attribute check is the fallback before it arrives. */
38767
40348
  get _litSupported() {
38768
- return this._serverState?.lit_supported ?? (this._info.features.longIdleTimeSupport && litSpecVersionOk(this.node.attributes));
40349
+ return this._serverState?.lit_supported ?? isLongIdleTimeCapable(this.node.attributes);
38769
40350
  }
38770
40351
  get _actualMode() {
38771
40352
  return this._registered ? "batterySaver" : "standard";
@@ -39372,8 +40953,7 @@ let MatterClusterView = class extends i$4 {
39372
40953
  <node-details .node=${this.node}></node-details>
39373
40954
  </div>
39374
40955
 
39375
- <!-- Active features panel -->
39376
- ${this._renderFeaturesPanel()}
40956
+ ${this._renderClusterInfoPanel()}
39377
40957
 
39378
40958
  <!-- Cluster commands section (if available for this cluster) -->
39379
40959
  ${this._renderClusterCommands()}
@@ -39558,30 +41138,63 @@ let MatterClusterView = class extends i$4 {
39558
41138
  commandName
39559
41139
  });
39560
41140
  }
39561
- _renderFeaturesPanel() {
39562
- if (this.cluster === void 0 || !this.node) return A;
41141
+ _renderClusterInfoPanel() {
41142
+ const sections = new Array();
41143
+ for (const section of [this._renderFeaturesSection(), this._renderTagListSection()]) {
41144
+ if (section !== void 0) sections.push(section);
41145
+ }
41146
+ if (sections.length === 0) return A;
41147
+ return b`
41148
+ <div class="container">
41149
+ <div class="info-panel">${sections}</div>
41150
+ </div>
41151
+ `;
41152
+ }
41153
+ _renderFeaturesSection() {
41154
+ if (this.cluster === void 0 || !this.node) return void 0;
39563
41155
  const clusterMeta = clusters[this.cluster];
39564
41156
  const knownFeatures = Object.values(clusterMeta?.features ?? {});
39565
- if (knownFeatures.length === 0) return A;
41157
+ if (knownFeatures.length === 0) return void 0;
39566
41158
  const featureMapValue = this.node.attributes[`${this.endpoint}/${this.cluster}/${FEATURE_MAP_ATTR}`];
39567
- if (featureMapValue === void 0) return A;
41159
+ if (featureMapValue === void 0) return void 0;
39568
41160
  const activeFeatures = computeActiveClusterFeatures(featureMapValue, knownFeatures);
39569
41161
  return b`
39570
- <div class="container">
39571
- <div class="features-panel">
39572
- <div class="features-panel-header">Active Features</div>
39573
- <div class="features-panel-body">
39574
- ${activeFeatures.length === 0 ? b`<p class="empty">No active features</p>` : b`
39575
- <ul class="feature-chip-list">
39576
- ${activeFeatures.map(feature => b`
39577
- <li class="feature-chip" title="Bit ${feature.bit} (${feature.code})">
39578
- ${feature.label}
39579
- </li>
39580
- `)}
39581
- </ul>
39582
- `}
39583
- </div>
39584
- </div>
41162
+ <div class="info-section">
41163
+ <div class="info-section-header">Active Features</div>
41164
+ ${activeFeatures.length === 0 ? b`<p class="empty">No active features</p>` : b`
41165
+ <ul class="chip-list">
41166
+ ${activeFeatures.map(feature => b`
41167
+ <li class="chip" title="Bit ${feature.bit} (${feature.code})">
41168
+ ${feature.label}
41169
+ </li>
41170
+ `)}
41171
+ </ul>
41172
+ `}
41173
+ </div>
41174
+ `;
41175
+ }
41176
+ _renderTagListSection() {
41177
+ if (this.cluster !== DESCRIPTOR_CLUSTER_ID || !this.node) return void 0;
41178
+ const tagListValue = this.node.attributes[`${this.endpoint}/${this.cluster}/${TAG_LIST_ATTR}`];
41179
+ const tagList = decodeSemanticTagList(tagListValue);
41180
+ if (tagList === void 0) return void 0;
41181
+ return b`
41182
+ <div class="info-section">
41183
+ <div class="info-section-header">Semantic Tags (TagList)</div>
41184
+ ${tagList.length === 0 ? b`<p class="empty">No semantic tags</p>` : b`
41185
+ <ul class="chip-list">
41186
+ ${tagList.map(entry => {
41187
+ const {
41188
+ text,
41189
+ title,
41190
+ erroneous
41191
+ } = describeSemanticTagListEntry(entry);
41192
+ return b`<li class=${erroneous ? "chip chip-error" : "chip"} title=${title}>
41193
+ ${text}
41194
+ </li>`;
41195
+ })}
41196
+ </ul>
41197
+ `}
39585
41198
  </div>
39586
41199
  `;
39587
41200
  }
@@ -39857,20 +41470,26 @@ MatterClusterView.styles = [notFoundStyles, i$7`
39857
41470
  border-radius: 3px;
39858
41471
  }
39859
41472
 
39860
- .features-panel {
41473
+ .info-panel {
39861
41474
  background-color: var(--md-sys-color-surface-container);
39862
41475
  border: 1px solid var(--md-sys-color-outline-variant);
39863
41476
  border-radius: 12px;
39864
41477
  padding: 14px 16px;
39865
41478
  }
39866
41479
 
39867
- .features-panel-header {
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 {
39868
41487
  font-weight: 500;
39869
41488
  color: var(--md-sys-color-on-surface);
39870
41489
  margin-bottom: 10px;
39871
41490
  }
39872
41491
 
39873
- .feature-chip-list {
41492
+ .chip-list {
39874
41493
  list-style: none;
39875
41494
  margin: 0;
39876
41495
  padding: 0;
@@ -39879,13 +41498,20 @@ MatterClusterView.styles = [notFoundStyles, i$7`
39879
41498
  gap: 8px;
39880
41499
  }
39881
41500
 
39882
- .feature-chip {
41501
+ .chip {
39883
41502
  font-size: 0.85rem;
39884
41503
  color: var(--md-sys-color-on-secondary-container);
39885
41504
  background: var(--md-sys-color-secondary-container);
39886
41505
  padding: 4px 10px;
39887
41506
  border-radius: 8px;
39888
41507
  }
41508
+
41509
+ .chip.chip-error {
41510
+ color: var(--md-sys-color-on-error-container);
41511
+ background: var(--md-sys-color-error-container);
41512
+ border: 1px solid var(--md-sys-color-error);
41513
+ font-family: var(--monospace-font);
41514
+ }
39889
41515
  `];
39890
41516
  __decorateClass$d([c$5({
39891
41517
  context: clientContext
@@ -41571,8 +43197,9 @@ var __decorateClass$9 = (decorators, target, key, kind) => {
41571
43197
  if (kind && result) __defProp$8(target, key, result);
41572
43198
  return result;
41573
43199
  };
41574
- const THREAD_ATTRIBUTE_PATHS = ["0/53/7", "0/53/8", "0/51/0"];
41575
43200
  const WIFI_ATTRIBUTE_PATHS = ["0/54/0", "0/54/3", "0/54/4"];
43201
+ const LIT_GRACE_MS = 1e4;
43202
+ const LIT_MAX_WAIT_MS = 2e4;
41576
43203
  let UpdateConnectionsDialog = class extends i$4 {
41577
43204
  constructor() {
41578
43205
  super(...arguments);
@@ -41586,10 +43213,15 @@ let UpdateConnectionsDialog = class extends i$4 {
41586
43213
  this._isUpdating = false;
41587
43214
  /** Timeout ID for auto-close */
41588
43215
  this._timeoutId = null;
43216
+ this._litTimeoutId = null;
43217
+ this._litGraceResolve = null;
41589
43218
  /** Track if we've already dispatched close event to prevent double-firing */
41590
43219
  this._hasClosedEvent = false;
41591
43220
  }
41592
43221
  firstUpdated() {
43222
+ if (this._selectedIsLongIdleTime) {
43223
+ this._includeNeighbors = true;
43224
+ }
41593
43225
  const dialog = this.shadowRoot?.querySelector("md-dialog");
41594
43226
  dialog?.show();
41595
43227
  }
@@ -41599,6 +43231,7 @@ let UpdateConnectionsDialog = class extends i$4 {
41599
43231
  clearTimeout(this._timeoutId);
41600
43232
  this._timeoutId = null;
41601
43233
  }
43234
+ this._endLongIdleTimeGrace();
41602
43235
  }
41603
43236
  /**
41604
43237
  * Get the number of nodes that will be updated.
@@ -41617,7 +43250,7 @@ let UpdateConnectionsDialog = class extends i$4 {
41617
43250
  if (!node) return [];
41618
43251
  const networkType = getNetworkType(node);
41619
43252
  if (networkType === "thread") {
41620
- return THREAD_ATTRIBUTE_PATHS;
43253
+ return [...THREAD_TOPOLOGY_ATTRIBUTE_PATHS];
41621
43254
  }
41622
43255
  if (networkType === "wifi") {
41623
43256
  return WIFI_ATTRIBUTE_PATHS;
@@ -41637,6 +43270,45 @@ let UpdateConnectionsDialog = class extends i$4 {
41637
43270
  }
41638
43271
  return this.onlineNeighborIds;
41639
43272
  }
43273
+ _longIdleTimeGrace(startedAt) {
43274
+ const budget = Math.min(LIT_GRACE_MS, LIT_MAX_WAIT_MS - (Date.now() - startedAt));
43275
+ if (budget <= 0) return Promise.resolve();
43276
+ return new Promise(resolve => {
43277
+ this._litGraceResolve = resolve;
43278
+ this._litTimeoutId = setTimeout(resolve, budget);
43279
+ });
43280
+ }
43281
+ /**
43282
+ * Ends the grace period. Resolving is what matters: dropping the timer alone would leave the raced
43283
+ * promise pending on a LIT read that only settles on the client's command timeout, holding this
43284
+ * element and its node map alive for as long as that takes.
43285
+ */
43286
+ _endLongIdleTimeGrace() {
43287
+ if (this._litTimeoutId) {
43288
+ clearTimeout(this._litTimeoutId);
43289
+ this._litTimeoutId = null;
43290
+ }
43291
+ this._litGraceResolve?.();
43292
+ this._litGraceResolve = null;
43293
+ }
43294
+ get _selectedIsLongIdleTime() {
43295
+ if (this.selectedNodeType !== "online" || this.selectedNodeId === null) return false;
43296
+ const node = this.nodes[String(this.selectedNodeId)];
43297
+ return node !== void 0 && isLongIdleTimeDevice(node.attributes);
43298
+ }
43299
+ get _longIdleTimeNodeIds() {
43300
+ return this._getNodeIdsToUpdate().filter(nodeId => {
43301
+ const node = this.nodes[nodeId];
43302
+ return node !== void 0 && isLongIdleTimeDevice(node.attributes);
43303
+ });
43304
+ }
43305
+ _readNode(nodeIdStr) {
43306
+ const node = this.nodes[nodeIdStr];
43307
+ if (!node) return Promise.resolve();
43308
+ const paths = this._getAttributePathsForNode(nodeIdStr);
43309
+ if (paths.length === 0) return Promise.resolve();
43310
+ return this.client.readAttribute(node.node_id, paths, void 0, true).then(() => void 0);
43311
+ }
41640
43312
  async _executeUpdate() {
41641
43313
  if (this._isUpdating || this._updateCount === 0) return;
41642
43314
  this._isUpdating = true;
@@ -41644,16 +43316,28 @@ let UpdateConnectionsDialog = class extends i$4 {
41644
43316
  console.warn("Update connections timed out after 30s");
41645
43317
  this._closeDialog();
41646
43318
  }, 3e4);
43319
+ const startedAt = Date.now();
41647
43320
  try {
43321
+ const longIdleTime = new Set(this._longIdleTimeNodeIds);
41648
43322
  const nodeIds = this._getNodeIdsToUpdate();
41649
- const updatePromises = nodeIds.map(async nodeIdStr => {
41650
- const node = this.nodes[nodeIdStr];
41651
- if (!node) return;
41652
- const paths = this._getAttributePathsForNode(nodeIdStr);
41653
- if (paths.length === 0) return;
41654
- await this.client.readAttribute(node.node_id, paths, void 0, true);
41655
- });
41656
- await Promise.all(updatePromises);
43323
+ const litReads = new Array();
43324
+ const reads = new Array();
43325
+ let failures = 0;
43326
+ for (const nodeId of nodeIds) {
43327
+ const sleepy = longIdleTime.has(nodeId);
43328
+ const read = this._readNode(nodeId).catch(error => {
43329
+ if (!sleepy) failures++;
43330
+ console.warn(`Failed to refresh network data of node ${nodeId}:`, error);
43331
+ });
43332
+ (sleepy ? litReads : reads).push(read);
43333
+ }
43334
+ await Promise.all(reads);
43335
+ if (reads.length > 0 && failures === reads.length) {
43336
+ console.error(`Refreshing network data failed for all ${failures} nodes`);
43337
+ }
43338
+ if (litReads.length > 0 && reads.length > 0) {
43339
+ await Promise.race([Promise.all(litReads), this._longIdleTimeGrace(startedAt)]);
43340
+ }
41657
43341
  this._closeDialog();
41658
43342
  } catch (error) {
41659
43343
  console.error("Failed to update connections:", error);
@@ -41663,6 +43347,7 @@ let UpdateConnectionsDialog = class extends i$4 {
41663
43347
  clearTimeout(this._timeoutId);
41664
43348
  this._timeoutId = null;
41665
43349
  }
43350
+ this._endLongIdleTimeGrace();
41666
43351
  this._isUpdating = false;
41667
43352
  }
41668
43353
  }
@@ -41685,9 +43370,17 @@ let UpdateConnectionsDialog = class extends i$4 {
41685
43370
  this._includeNeighbors = checkbox.checked;
41686
43371
  }
41687
43372
  _renderOnlineContent() {
43373
+ const sleepy = this._selectedIsLongIdleTime;
43374
+ const neighborCount = this.onlineNeighborIds.length;
43375
+ const plural = neighborCount !== 1 ? "s" : "";
41688
43376
  return b`
41689
- <p>Refresh network information for "<strong>${this.selectedNodeName}</strong>".</p>
41690
- ${this.onlineNeighborIds.length > 0 ? b`
43377
+ ${sleepy ? b`
43378
+ <p>
43379
+ "<strong>${this.selectedNodeName}</strong>" is a sleepy device (Matter LIT). It answers only
43380
+ when it next wakes, so its own network data arrives later.
43381
+ </p>
43382
+ ` : b`<p>Refresh network information for "<strong>${this.selectedNodeName}</strong>".</p>`}
43383
+ ${neighborCount > 0 ? b`
41691
43384
  <label class="checkbox-row">
41692
43385
  <md-checkbox
41693
43386
  ?checked=${this._includeNeighbors}
@@ -41695,11 +43388,11 @@ let UpdateConnectionsDialog = class extends i$4 {
41695
43388
  ?disabled=${this._isUpdating}
41696
43389
  ></md-checkbox>
41697
43390
  <span
41698
- >Include ${this.onlineNeighborIds.length} connected online
41699
- neighbor${this.onlineNeighborIds.length !== 1 ? "s" : ""}</span
43391
+ >${sleepy ? "Refresh" : "Include"} ${neighborCount} connected online
43392
+ neighbor${plural}${sleepy ? " for current link data" : ""}</span
41700
43393
  >
41701
43394
  </label>
41702
- ` : A}
43395
+ ` : sleepy ? b`<p class="note">No online neighbor can report its current link data either.</p>` : A}
41703
43396
  `;
41704
43397
  }
41705
43398
  _renderOfflineContent() {
@@ -41725,6 +43418,18 @@ let UpdateConnectionsDialog = class extends i$4 {
41725
43418
  ` : b` <p>No online nodes available that see this device.</p> `}
41726
43419
  `;
41727
43420
  }
43421
+ _renderLongIdleTimeNote() {
43422
+ const selectedId = String(this.selectedNodeId);
43423
+ const count = this._longIdleTimeNodeIds.filter(nodeId => !(this._selectedIsLongIdleTime && nodeId === selectedId)).length;
43424
+ if (count === 0) return A;
43425
+ return b`
43426
+ <p class="note">
43427
+ ${count === 1 ? "One of them is" : `${count} of them are`} a sleepy device (Matter LIT), so the update
43428
+ does not wait for ${count === 1 ? "it" : "them"} — ${count === 1 ? "its" : "their"} data appears once
43429
+ ${count === 1 ? "it wakes" : "they wake"} up.
43430
+ </p>
43431
+ `;
43432
+ }
41728
43433
  render() {
41729
43434
  const buttonText = this._updateCount === 0 ? "No nodes to update" : `Update ${this._updateCount} node${this._updateCount !== 1 ? "s" : ""}`;
41730
43435
  return b`
@@ -41732,6 +43437,7 @@ let UpdateConnectionsDialog = class extends i$4 {
41732
43437
  <div slot="headline">Update Connection Data</div>
41733
43438
  <div slot="content">
41734
43439
  ${this.selectedNodeType === "online" ? this._renderOnlineContent() : this.selectedNodeType === "offline" ? this._renderOfflineContent() : this._renderUnknownContent()}
43440
+ ${this._renderLongIdleTimeNote()}
41735
43441
  </div>
41736
43442
  <div slot="actions">
41737
43443
  <md-text-button @click=${this._closeDialog} ?disabled=${this._isUpdating}>Cancel</md-text-button>
@@ -41768,6 +43474,12 @@ UpdateConnectionsDialog.styles = [reducedMotionStyles, i$7`
41768
43474
  margin-bottom: 0;
41769
43475
  }
41770
43476
 
43477
+ [slot="content"] p.note {
43478
+ margin-top: 12px;
43479
+ font-size: 0.8125rem;
43480
+ color: var(--text-color, rgba(0, 0, 0, 0.6));
43481
+ }
43482
+
41771
43483
  .checkbox-row {
41772
43484
  display: flex;
41773
43485
  align-items: center;
@@ -53477,7 +55189,7 @@ MatterNodeView = __decorateClass$3([t$1("matter-node-view")], MatterNodeView);
53477
55189
  * SPDX-License-Identifier: Apache-2.0
53478
55190
  */
53479
55191
  const showCommissionNodeDialog = async () => {
53480
- await import('./commission-node-dialog-B4r-97Ng.js');
55192
+ await import('./commission-node-dialog-V9V2umsa.js');
53481
55193
  const dialog = document.createElement("commission-node-dialog");
53482
55194
  document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
53483
55195
  };
@@ -53488,7 +55200,7 @@ const showCommissionNodeDialog = async () => {
53488
55200
  * SPDX-License-Identifier: Apache-2.0
53489
55201
  */
53490
55202
  const showFabricLabelDialog = async (client, currentLabel, onSaved) => {
53491
- await import('./fabric-label-dialog-B38vLRHA.js');
55203
+ await import('./fabric-label-dialog-D4Us5kQC.js');
53492
55204
  const dialog = document.createElement("fabric-label-dialog");
53493
55205
  dialog.client = client;
53494
55206
  dialog.currentLabel = currentLabel;