@matter-server/dashboard 1.3.2 → 1.4.0-alpha.0-20260731-b3e9b92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/avsum-ptz-strip.d.ts.map +1 -1
- package/dist/esm/components/avsum-ptz-strip.js +75 -75
- package/dist/esm/components/avsum-ptz-strip.js.map +1 -1
- package/dist/esm/components/dialog-box/dialog-box.d.ts.map +1 -1
- package/dist/esm/components/dialog-box/dialog-box.js +6 -4
- package/dist/esm/components/dialog-box/dialog-box.js.map +1 -1
- package/dist/esm/components/dialogs/acl/node-acl-add-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/acl/node-acl-add-dialog.js +15 -15
- package/dist/esm/components/dialogs/acl/node-acl-add-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/binding/node-binding-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/binding/node-binding-dialog.js +37 -37
- package/dist/esm/components/dialogs/binding/node-binding-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-dialog.js +16 -16
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-thread.d.ts.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-thread.js +13 -13
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-thread.js.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-wifi.d.ts.map +1 -1
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-wifi.js +13 -13
- package/dist/esm/components/dialogs/commission-node-dialog/commission-node-wifi.js.map +1 -1
- package/dist/esm/components/dialogs/dev/attribute-write-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/dev/attribute-write-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/dev/command-invoke-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/dev/command-invoke-dialog.js +3 -3
- package/dist/esm/components/dialogs/dev/command-invoke-dialog.js.map +1 -1
- package/dist/esm/components/dialogs/settings/log-level-section.d.ts.map +1 -1
- package/dist/esm/components/dialogs/settings/log-level-section.js +14 -14
- package/dist/esm/components/dialogs/settings/log-level-section.js.map +1 -1
- package/dist/esm/components/dialogs/settings/settings-dialog.d.ts.map +1 -1
- package/dist/esm/components/dialogs/settings/settings-dialog.js +83 -81
- package/dist/esm/components/dialogs/settings/settings-dialog.js.map +1 -1
- package/dist/esm/components/webrtc-stream-view.d.ts.map +1 -1
- package/dist/esm/components/webrtc-stream-view.js +11 -11
- package/dist/esm/components/webrtc-stream-view.js.map +1 -1
- package/dist/esm/pages/camera-overlay.d.ts.map +1 -1
- package/dist/esm/pages/camera-overlay.js +90 -87
- package/dist/esm/pages/camera-overlay.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/access-control-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/access-control-commands.js +27 -27
- package/dist/esm/pages/cluster-commands/clusters/access-control-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/avsum-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/avsum-commands.js +130 -129
- package/dist/esm/pages/cluster-commands/clusters/avsum-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/basic-information-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/basic-information-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/binding-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/binding-commands.js +13 -13
- package/dist/esm/pages/cluster-commands/clusters/binding-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/chime-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/chime-commands.js +18 -18
- package/dist/esm/pages/cluster-commands/clusters/chime-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/closure-control-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/closure-control-commands.js +79 -79
- package/dist/esm/pages/cluster-commands/clusters/closure-control-commands.js.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.d.ts.map +1 -1
- package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.js +18 -18
- package/dist/esm/pages/cluster-commands/clusters/icd-management-commands.js.map +1 -1
- package/dist/esm/pages/components/header.d.ts.map +1 -1
- package/dist/esm/pages/components/header.js +32 -32
- package/dist/esm/pages/components/header.js.map +1 -1
- package/dist/esm/pages/components/node-details.d.ts.map +1 -1
- package/dist/esm/pages/components/node-details.js +43 -42
- package/dist/esm/pages/components/node-details.js.map +1 -1
- package/dist/esm/pages/matter-cluster-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-cluster-view.js +49 -49
- package/dist/esm/pages/matter-cluster-view.js.map +1 -1
- package/dist/esm/pages/matter-endpoint-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-endpoint-view.js +6 -6
- package/dist/esm/pages/matter-endpoint-view.js.map +1 -1
- package/dist/esm/pages/matter-network-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-network-view.js +20 -20
- package/dist/esm/pages/matter-network-view.js.map +1 -1
- package/dist/esm/pages/matter-node-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-node-view.js +9 -5
- package/dist/esm/pages/matter-node-view.js.map +1 -1
- package/dist/esm/pages/matter-server-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-server-view.js +6 -6
- package/dist/esm/pages/matter-server-view.js.map +1 -1
- package/dist/esm/pages/network/device-panel.d.ts.map +1 -1
- package/dist/esm/pages/network/device-panel.js +10 -10
- package/dist/esm/pages/network/device-panel.js.map +1 -1
- package/dist/esm/pages/network/network-details.d.ts.map +1 -1
- package/dist/esm/pages/network/network-details.js +384 -382
- package/dist/esm/pages/network/network-details.js.map +1 -1
- package/dist/esm/pages/network/network-types.d.ts +2 -0
- package/dist/esm/pages/network/network-types.d.ts.map +1 -1
- package/dist/esm/pages/network/network-utils.d.ts +6 -0
- package/dist/esm/pages/network/network-utils.d.ts.map +1 -1
- package/dist/esm/pages/network/network-utils.js +19 -0
- package/dist/esm/pages/network/network-utils.js.map +1 -1
- package/dist/esm/pages/network/thread-graph.d.ts.map +1 -1
- package/dist/esm/pages/network/thread-graph.js +29 -0
- package/dist/esm/pages/network/thread-graph.js.map +1 -1
- package/dist/esm/pages/network/update-connections-dialog.d.ts.map +1 -1
- package/dist/esm/pages/network/update-connections-dialog.js +30 -30
- package/dist/esm/pages/network/update-connections-dialog.js.map +1 -1
- package/dist/esm/pages/network/wifi-graph.d.ts.map +1 -1
- package/dist/esm/pages/network/wifi-graph.js +8 -3
- package/dist/esm/pages/network/wifi-graph.js.map +1 -1
- package/dist/web/js/{attribute-write-dialog-0cxaSZB5.js → attribute-write-dialog-B9dYGu9N.js} +1 -1
- package/dist/web/js/{command-invoke-dialog-_8bFD1ig.js → command-invoke-dialog-CtdnXvQA.js} +4 -4
- package/dist/web/js/{commission-node-dialog-V9V2umsa.js → commission-node-dialog-DsTmLvPW.js} +21 -21
- package/dist/web/js/{commission-node-existing-fdDrRxoL.js → commission-node-existing-DXRsQcBB.js} +1 -1
- package/dist/web/js/{commission-node-thread-CQEWKKOl.js → commission-node-thread-BTsVfxhO.js} +14 -14
- package/dist/web/js/{commission-node-wifi-BPNdhbb9.js → commission-node-wifi-NZG3H3EN.js} +14 -14
- package/dist/web/js/{dialog-box-82Jr5Nw_.js → dialog-box-DyiiDVC8.js} +7 -5
- package/dist/web/js/{fabric-label-dialog-D4Us5kQC.js → fabric-label-dialog-CJRaau1M.js} +1 -1
- package/dist/web/js/main.js +1 -1
- package/dist/web/js/{matter-dashboard-app-ZHThIPO5.js → matter-dashboard-app-C8yMEJLg.js} +1116 -1048
- package/dist/web/js/{node-acl-add-dialog-CQysaUCt.js → node-acl-add-dialog-DzfMP3s7.js} +16 -16
- package/dist/web/js/{node-binding-dialog-BFp0rWiU.js → node-binding-dialog-PFA2RQHk.js} +38 -38
- package/dist/web/js/{node-label-dialog-BJ2n0-fu.js → node-label-dialog-ChfP0ppl.js} +1 -1
- package/dist/web/js/{settings-dialog-DE0vIsq8.js → settings-dialog-CUmSf475.js} +98 -96
- package/package.json +3 -3
- package/src/components/avsum-ptz-strip.ts +109 -100
- package/src/components/dialog-box/dialog-box.ts +20 -12
- package/src/components/dialogs/acl/node-acl-add-dialog.ts +35 -29
- package/src/components/dialogs/binding/node-binding-dialog.ts +78 -66
- package/src/components/dialogs/commission-node-dialog/commission-node-dialog.ts +25 -23
- package/src/components/dialogs/commission-node-dialog/commission-node-thread.ts +22 -20
- package/src/components/dialogs/commission-node-dialog/commission-node-wifi.ts +22 -20
- package/src/components/dialogs/dev/attribute-write-dialog.ts +5 -3
- package/src/components/dialogs/dev/command-invoke-dialog.ts +13 -9
- package/src/components/dialogs/settings/log-level-section.ts +21 -19
- package/src/components/dialogs/settings/settings-dialog.ts +141 -115
- package/src/components/webrtc-stream-view.ts +30 -22
- package/src/pages/camera-overlay.ts +165 -132
- package/src/pages/cluster-commands/clusters/access-control-commands.ts +42 -36
- package/src/pages/cluster-commands/clusters/avsum-commands.ts +210 -187
- package/src/pages/cluster-commands/clusters/basic-information-commands.ts +5 -3
- package/src/pages/cluster-commands/clusters/binding-commands.ts +21 -19
- package/src/pages/cluster-commands/clusters/chime-commands.ts +48 -40
- package/src/pages/cluster-commands/clusters/closure-control-commands.ts +171 -139
- package/src/pages/cluster-commands/clusters/icd-management-commands.ts +42 -32
- package/src/pages/components/header.ts +62 -50
- package/src/pages/components/node-details.ts +87 -72
- package/src/pages/matter-cluster-view.ts +92 -78
- package/src/pages/matter-endpoint-view.ts +11 -9
- package/src/pages/matter-network-view.ts +36 -30
- package/src/pages/matter-node-view.ts +14 -8
- package/src/pages/matter-server-view.ts +11 -9
- package/src/pages/network/device-panel.ts +20 -18
- package/src/pages/network/network-details.ts +758 -618
- package/src/pages/network/network-types.ts +2 -0
- package/src/pages/network/network-utils.ts +26 -0
- package/src/pages/network/thread-graph.ts +47 -3
- package/src/pages/network/update-connections-dialog.ts +64 -52
- package/src/pages/network/wifi-graph.ts +7 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i, c, a as clientContext, n, r, b as i$1, P as Privilege, v as nodeIdKey, x as aclCapacity, s as showAlertDialog, y as targetServerClusters, z as clusters, B as AuthMode, C as addAclEntry, E as PRIVILEGE_NAMES, d as b, F as mdiClose, G as getDeviceName, h as handleAsync, g as t } from './matter-dashboard-app-
|
|
1
|
+
import { i, c, a as clientContext, n, r, b as i$1, P as Privilege, v as nodeIdKey, x as aclCapacity, s as showAlertDialog, y as targetServerClusters, z as clusters, B as AuthMode, C as addAclEntry, E as PRIVILEGE_NAMES, d as b, F as mdiClose, G as getDeviceName, h as handleAsync, g as t } from './matter-dashboard-app-C8yMEJLg.js';
|
|
2
2
|
import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
|
|
3
3
|
import './main.js';
|
|
4
4
|
|
|
@@ -153,13 +153,13 @@ let NodeAclAddDialog = class extends i$1 {
|
|
|
153
153
|
${this._subjects.length === 0 ? b`<span class="mut">none — add at least one</span>` : this._subjects.map(s => {
|
|
154
154
|
const known = this.client.nodes[nodeIdKey(s)];
|
|
155
155
|
return b`<span class="chip"
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
156
|
+
>${known ? getDeviceName(known) : "Node"} · ${s.toString()}
|
|
157
|
+
<ha-svg-icon
|
|
158
|
+
class="x"
|
|
159
|
+
.path=${mdiClose}
|
|
160
|
+
@click=${() => this._removeSubject(nodeIdKey(s))}
|
|
161
|
+
></ha-svg-icon
|
|
162
|
+
></span>`;
|
|
163
163
|
})}
|
|
164
164
|
</div>
|
|
165
165
|
<div class="row">
|
|
@@ -194,14 +194,14 @@ let NodeAclAddDialog = class extends i$1 {
|
|
|
194
194
|
<div class="label">Targets (optional — none means whole node)</div>
|
|
195
195
|
<div class="chips">
|
|
196
196
|
${this._targets.length === 0 ? b`<span class="mut">whole node</span>` : this._targets.map((t, i) => b`<span class="chip"
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
197
|
+
>${t.endpoint != null ? `EP ${t.endpoint}` : "All endpoints"}
|
|
198
|
+
${t.cluster != null ? `\xB7 ${this._clusterLabel(t.cluster)}` : "\xB7 all clusters"}
|
|
199
|
+
<ha-svg-icon
|
|
200
|
+
class="x"
|
|
201
|
+
.path=${mdiClose}
|
|
202
|
+
@click=${() => this._removeTarget(i)}
|
|
203
|
+
></ha-svg-icon
|
|
204
|
+
></span>`)}
|
|
205
205
|
</div>
|
|
206
206
|
<div class="row">
|
|
207
207
|
<md-outlined-select
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i, c, a as clientContext, n, r, b as i$1, v as nodeIdKey, z as clusters, s as showAlertDialog, H as targetAclCapacityForBinding, I as addBinding, J as bindableClusters, A, d as b, G as getDeviceName, K as getEndpointDeviceTypes, h as handleAsync, g as t } from './matter-dashboard-app-
|
|
1
|
+
import { i, c, a as clientContext, n, r, b as i$1, v as nodeIdKey, z as clusters, s as showAlertDialog, H as targetAclCapacityForBinding, I as addBinding, J as bindableClusters, A, d as b, G as getDeviceName, K as getEndpointDeviceTypes, h as handleAsync, g as t } from './matter-dashboard-app-C8yMEJLg.js';
|
|
2
2
|
import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
|
|
3
3
|
import './main.js';
|
|
4
4
|
|
|
@@ -129,32 +129,32 @@ let NodeBindingDialog = class extends i$1 {
|
|
|
129
129
|
<div slot="headline">All clusters (any eligible)</div>
|
|
130
130
|
</md-select-option>
|
|
131
131
|
${split && split.bindable.length ? b`<md-select-option disabled><div slot="headline">— Bindable —</div></md-select-option>
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
${split.bindable.map(c => b`<md-select-option value=${String(c)}
|
|
133
|
+
><div slot="headline">${this._clusterLabel(c)}</div></md-select-option
|
|
134
|
+
>`)}` : A}
|
|
135
135
|
${split && split.otherTarget.length ? b`<md-select-option disabled
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
><div slot="headline">— Other target clusters (⚠) —</div></md-select-option
|
|
137
|
+
>
|
|
138
|
+
${split.otherTarget.map(c => b`<md-select-option value=${String(c)}
|
|
139
|
+
><div slot="headline">${this._clusterLabel(c)}</div></md-select-option
|
|
140
|
+
>`)}` : A}
|
|
141
141
|
<md-select-option value=${CUSTOM_CLUSTER}
|
|
142
142
|
><div slot="headline">Custom cluster id…</div></md-select-option
|
|
143
143
|
>
|
|
144
144
|
</md-outlined-select>
|
|
145
145
|
${this._clusterSelection === CUSTOM_CLUSTER ? b`<md-outlined-text-field
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
146
|
+
label="cluster id"
|
|
147
|
+
type="number"
|
|
148
|
+
min="0"
|
|
149
|
+
max="32767"
|
|
150
|
+
.value=${this._customClusterInput}
|
|
151
|
+
?disabled=${this._busy}
|
|
152
|
+
@input=${e => this._customClusterInput = e.target.value}
|
|
153
|
+
></md-outlined-text-field>` : A}
|
|
154
154
|
${nonBindable ? b`<div class="warn">
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
⚠ This cluster is not a client cluster on the source endpoint. The binding may not function —
|
|
156
|
+
it will be added anyway on your request.
|
|
157
|
+
</div>` : A}
|
|
158
158
|
`;
|
|
159
159
|
}
|
|
160
160
|
render() {
|
|
@@ -193,30 +193,30 @@ let NodeBindingDialog = class extends i$1 {
|
|
|
193
193
|
></md-outlined-text-field>
|
|
194
194
|
|
|
195
195
|
${target ? b`<md-outlined-select
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
196
|
+
label="Target endpoint"
|
|
197
|
+
?disabled=${this._busy}
|
|
198
|
+
.value=${this._endpointInput}
|
|
199
|
+
@change=${e => {
|
|
200
200
|
this._endpointInput = e.target.value;
|
|
201
201
|
this._clusterSelection = ALL_CLUSTERS;
|
|
202
202
|
}}
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
>
|
|
204
|
+
${endpoints.map(ep => {
|
|
205
205
|
const dt = getEndpointDeviceTypes(target, ep)[0];
|
|
206
206
|
return b`<md-select-option value=${String(ep)}>
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
<div slot="headline">EP ${ep}${dt ? ` \xB7 ${dt.label}` : ""}</div>
|
|
208
|
+
</md-select-option>`;
|
|
209
209
|
})}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
210
|
+
</md-outlined-select>` : b`<md-outlined-text-field
|
|
211
|
+
label="Target endpoint"
|
|
212
|
+
type="number"
|
|
213
|
+
min="0"
|
|
214
|
+
max="65534"
|
|
215
|
+
supporting-text=${this._nodeIdInput.trim() === "" ? "enter a node id first" : "unknown node \u2014 enter endpoint manually"}
|
|
216
|
+
?disabled=${this._busy || this._nodeIdInput.trim() === ""}
|
|
217
|
+
.value=${this._endpointInput}
|
|
218
|
+
@input=${e => this._endpointInput = e.target.value}
|
|
219
|
+
></md-outlined-text-field>`}
|
|
220
220
|
${this._renderClusterField(target, endpoint)}
|
|
221
221
|
</div>
|
|
222
222
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, n, g as t, b as i, M as MAX_NODE_LABEL_LENGTH, d as b, w as writeNodeLabel, s as showAlertDialog } from './matter-dashboard-app-
|
|
1
|
+
import { r, n, g as t, b as i, M as MAX_NODE_LABEL_LENGTH, d as b, w as writeNodeLabel, s as showAlertDialog } from './matter-dashboard-app-C8yMEJLg.js';
|
|
2
2
|
import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
|
|
3
3
|
import './main.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i, c, a as clientContext, t as tickContext, r, e, b as i$1, f as fireAndForget, s as showAlertDialog, d as b, A, h as handleAsync, g as t, n, D as DevModeService, m as mdiWifi, j as mdiPlus, k as mdiPencil, l as mdiDelete, o as mdiEyeOff, p as mdiEye, q as mdiAccessPoint } from './matter-dashboard-app-
|
|
1
|
+
import { i, c, a as clientContext, t as tickContext, r, e, b as i$1, f as fireAndForget, s as showAlertDialog, d as b, A, h as handleAsync, g as t, n, D as DevModeService, m as mdiWifi, j as mdiPlus, k as mdiPencil, l as mdiDelete, o as mdiEyeOff, p as mdiEye, q as mdiAccessPoint } from './matter-dashboard-app-C8yMEJLg.js';
|
|
2
2
|
import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
|
|
3
3
|
import './main.js';
|
|
4
4
|
|
|
@@ -94,20 +94,20 @@ let LogLevelSection = class extends i$1 {
|
|
|
94
94
|
</md-outlined-select>
|
|
95
95
|
</div>
|
|
96
96
|
${this._fileLevel !== null ? b`
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
97
|
+
<div class="form-field">
|
|
98
|
+
<label>File Log Level</label>
|
|
99
|
+
<md-outlined-select name="file" .value=${this._fileLevel}>
|
|
100
|
+
${LOG_LEVELS.map(level => b`
|
|
101
|
+
<md-select-option
|
|
102
|
+
value=${level.value}
|
|
103
|
+
?selected=${level.value === this._fileLevel}
|
|
104
|
+
>
|
|
105
|
+
<div slot="headline">${level.label}</div>
|
|
106
|
+
</md-select-option>
|
|
107
|
+
`)}
|
|
108
|
+
</md-outlined-select>
|
|
109
|
+
</div>
|
|
110
|
+
` : A}
|
|
111
111
|
<div class="actions">
|
|
112
112
|
<md-text-button @click=${handleAsync(() => this._apply())} ?disabled=${this._applying}>
|
|
113
113
|
${this._applying ? "Applying..." : "Apply"}
|
|
@@ -475,16 +475,16 @@ let SettingsDialog = class extends i$1 {
|
|
|
475
475
|
<ha-svg-icon .path=${mdiPencil}></ha-svg-icon>
|
|
476
476
|
</md-icon-button>
|
|
477
477
|
${isDefault ? b`<md-text-button
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
478
|
+
@click=${handleAsync(() => this._removeWifi("default"))}
|
|
479
|
+
.disabled=${this._credLoading}
|
|
480
|
+
>Clear</md-text-button
|
|
481
|
+
>` : b`<md-icon-button
|
|
482
|
+
title="Delete"
|
|
483
|
+
@click=${handleAsync(() => this._removeWifi(entry.id))}
|
|
484
|
+
.disabled=${this._credLoading}
|
|
485
|
+
>
|
|
486
|
+
<ha-svg-icon .path=${mdiDelete}></ha-svg-icon>
|
|
487
|
+
</md-icon-button>`}
|
|
488
488
|
</div>
|
|
489
489
|
</div>
|
|
490
490
|
`;
|
|
@@ -494,11 +494,11 @@ let SettingsDialog = class extends i$1 {
|
|
|
494
494
|
return b`
|
|
495
495
|
<div class="cred-form">
|
|
496
496
|
${isAdd ? b`<md-outlined-text-field
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
497
|
+
id="cred-wifi-id"
|
|
498
|
+
label="Identifier"
|
|
499
|
+
supporting-text="Unique name (not 'default' or 'delete')"
|
|
500
|
+
.disabled=${this._credLoading}
|
|
501
|
+
></md-outlined-text-field>` : A}
|
|
502
502
|
<md-outlined-text-field
|
|
503
503
|
id="cred-wifi-ssid"
|
|
504
504
|
label="SSID"
|
|
@@ -587,16 +587,16 @@ let SettingsDialog = class extends i$1 {
|
|
|
587
587
|
<ha-svg-icon .path=${mdiPencil}></ha-svg-icon>
|
|
588
588
|
</md-icon-button>
|
|
589
589
|
${isDefault ? b`<md-text-button
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
590
|
+
@click=${handleAsync(() => this._removeThread("default"))}
|
|
591
|
+
.disabled=${this._credLoading}
|
|
592
|
+
>Clear</md-text-button
|
|
593
|
+
>` : b`<md-icon-button
|
|
594
|
+
title="Delete"
|
|
595
|
+
@click=${handleAsync(() => this._removeThread(entry.id))}
|
|
596
|
+
.disabled=${this._credLoading}
|
|
597
|
+
>
|
|
598
|
+
<ha-svg-icon .path=${mdiDelete}></ha-svg-icon>
|
|
599
|
+
</md-icon-button>`}
|
|
600
600
|
</div>
|
|
601
601
|
</div>
|
|
602
602
|
`;
|
|
@@ -606,11 +606,11 @@ let SettingsDialog = class extends i$1 {
|
|
|
606
606
|
return b`
|
|
607
607
|
<div class="cred-form">
|
|
608
608
|
${isAdd ? b`<md-outlined-text-field
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
609
|
+
id="cred-thread-id"
|
|
610
|
+
label="Identifier"
|
|
611
|
+
supporting-text="Unique name (not 'default' or 'delete')"
|
|
612
|
+
.disabled=${this._credLoading}
|
|
613
|
+
></md-outlined-text-field>` : A}
|
|
614
614
|
<md-outlined-text-field
|
|
615
615
|
id="cred-thread-dataset"
|
|
616
616
|
label="Thread dataset"
|
|
@@ -642,38 +642,40 @@ let SettingsDialog = class extends i$1 {
|
|
|
642
642
|
>
|
|
643
643
|
</div>
|
|
644
644
|
${this._expandedRow === "wifi" ? b`<div class="cred-form">
|
|
645
|
-
<md-outlined-text-field
|
|
646
|
-
id="cred-wifi-ssid"
|
|
647
|
-
label="SSID"
|
|
648
|
-
.value=${this.client.serverInfo.wifi_ssid ?? ""}
|
|
649
|
-
.disabled=${this._credLoading}
|
|
650
|
-
></md-outlined-text-field>
|
|
651
|
-
<div class="password-row">
|
|
652
645
|
<md-outlined-text-field
|
|
653
|
-
id="cred-wifi-
|
|
654
|
-
label="
|
|
655
|
-
.
|
|
646
|
+
id="cred-wifi-ssid"
|
|
647
|
+
label="SSID"
|
|
648
|
+
.value=${this.client.serverInfo.wifi_ssid ?? ""}
|
|
656
649
|
.disabled=${this._credLoading}
|
|
657
650
|
></md-outlined-text-field>
|
|
658
|
-
<
|
|
659
|
-
<
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
>
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
651
|
+
<div class="password-row">
|
|
652
|
+
<md-outlined-text-field
|
|
653
|
+
id="cred-wifi-password"
|
|
654
|
+
label="Password"
|
|
655
|
+
.type=${this._showPassword ? "text" : "password"}
|
|
656
|
+
.disabled=${this._credLoading}
|
|
657
|
+
></md-outlined-text-field>
|
|
658
|
+
<md-icon-button @click=${this._togglePassword}>
|
|
659
|
+
<ha-svg-icon .path=${this._showPassword ? mdiEyeOff : mdiEye}></ha-svg-icon>
|
|
660
|
+
</md-icon-button>
|
|
661
|
+
</div>
|
|
662
|
+
${this._renderCredError()}
|
|
663
|
+
<div class="form-actions">
|
|
664
|
+
<md-text-button @click=${this._cancelCred} .disabled=${this._credLoading}
|
|
665
|
+
>Cancel</md-text-button
|
|
666
|
+
>
|
|
667
|
+
${this.client.serverInfo.wifi_credentials_set ? b`<md-text-button
|
|
668
|
+
@click=${handleAsync(() => this._removeWifi())}
|
|
669
|
+
.disabled=${this._credLoading}
|
|
670
|
+
>Remove</md-text-button
|
|
671
|
+
>` : A}
|
|
672
|
+
<md-filled-button
|
|
673
|
+
@click=${handleAsync(() => this._saveWifi())}
|
|
674
|
+
.disabled=${this._credLoading}
|
|
675
|
+
>Save</md-filled-button
|
|
676
|
+
>
|
|
677
|
+
</div>
|
|
678
|
+
</div>` : A}
|
|
677
679
|
`;
|
|
678
680
|
}
|
|
679
681
|
_renderLegacyThread() {
|
|
@@ -689,29 +691,29 @@ let SettingsDialog = class extends i$1 {
|
|
|
689
691
|
>
|
|
690
692
|
</div>
|
|
691
693
|
${this._expandedRow === "thread" ? b`<div class="cred-form">
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
.disabled=${this._credLoading}
|
|
697
|
-
></md-outlined-text-field>
|
|
698
|
-
${this._renderCredError()}
|
|
699
|
-
<div class="form-actions">
|
|
700
|
-
<md-text-button @click=${this._cancelCred} .disabled=${this._credLoading}
|
|
701
|
-
>Cancel</md-text-button
|
|
702
|
-
>
|
|
703
|
-
${this.client.serverInfo.thread_credentials_set ? b`<md-text-button
|
|
704
|
-
@click=${handleAsync(() => this._removeThread())}
|
|
705
|
-
.disabled=${this._credLoading}
|
|
706
|
-
>Remove</md-text-button
|
|
707
|
-
>` : A}
|
|
708
|
-
<md-filled-button
|
|
709
|
-
@click=${handleAsync(() => this._saveThread())}
|
|
694
|
+
<md-outlined-text-field
|
|
695
|
+
id="cred-thread-dataset"
|
|
696
|
+
label="Thread dataset"
|
|
697
|
+
supporting-text="Hex string (e.g. 0E080000...)"
|
|
710
698
|
.disabled=${this._credLoading}
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
699
|
+
></md-outlined-text-field>
|
|
700
|
+
${this._renderCredError()}
|
|
701
|
+
<div class="form-actions">
|
|
702
|
+
<md-text-button @click=${this._cancelCred} .disabled=${this._credLoading}
|
|
703
|
+
>Cancel</md-text-button
|
|
704
|
+
>
|
|
705
|
+
${this.client.serverInfo.thread_credentials_set ? b`<md-text-button
|
|
706
|
+
@click=${handleAsync(() => this._removeThread())}
|
|
707
|
+
.disabled=${this._credLoading}
|
|
708
|
+
>Remove</md-text-button
|
|
709
|
+
>` : A}
|
|
710
|
+
<md-filled-button
|
|
711
|
+
@click=${handleAsync(() => this._saveThread())}
|
|
712
|
+
.disabled=${this._credLoading}
|
|
713
|
+
>Save</md-filled-button
|
|
714
|
+
>
|
|
715
|
+
</div>
|
|
716
|
+
</div>` : A}
|
|
715
717
|
`;
|
|
716
718
|
}
|
|
717
719
|
render() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter-server/dashboard",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-alpha.0-20260731-b3e9b92",
|
|
4
4
|
"description": "Dashboard for OHF Matter Server",
|
|
5
5
|
"homepage": "https://github.com/matter-js/matterjs-server",
|
|
6
6
|
"bugs": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@lit/context": "^1.1.6",
|
|
36
36
|
"@material/web": "^2.4.1",
|
|
37
|
-
"@matter-server/custom-clusters": "1.
|
|
38
|
-
"@matter-server/ws-client": "1.
|
|
37
|
+
"@matter-server/custom-clusters": "1.4.0-alpha.0-20260731-b3e9b92",
|
|
38
|
+
"@matter-server/ws-client": "1.4.0-alpha.0-20260731-b3e9b92",
|
|
39
39
|
"@mdi/js": "^7.4.47",
|
|
40
40
|
"lit": "^3.3.3",
|
|
41
41
|
"qrcode-generator": "^2.0.4",
|