@matter-server/dashboard 1.5.0 → 1.5.1

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 (19) hide show
  1. package/dist/esm/client/models/descriptions.d.ts.map +1 -1
  2. package/dist/esm/client/models/descriptions.js +64 -0
  3. package/dist/esm/client/models/descriptions.js.map +1 -1
  4. package/dist/web/js/{attribute-write-dialog-CNjI724M.js → attribute-write-dialog-BYIrK0s9.js} +1 -1
  5. package/dist/web/js/{command-invoke-dialog-CmDc13HG.js → command-invoke-dialog-sgrlMSYh.js} +1 -1
  6. package/dist/web/js/{commission-node-dialog-DXxxdr-s.js → commission-node-dialog-C7n9Vdcz.js} +5 -5
  7. package/dist/web/js/{commission-node-existing-B5d6Hd4b.js → commission-node-existing-DfTkRkfm.js} +1 -1
  8. package/dist/web/js/{commission-node-thread-BpyUcSh-.js → commission-node-thread-B4_kOd4o.js} +1 -1
  9. package/dist/web/js/{commission-node-wifi-D9wHJe34.js → commission-node-wifi-B37hLRjk.js} +1 -1
  10. package/dist/web/js/{dialog-box-C7WpEOtZ.js → dialog-box-CRK6qCOH.js} +1 -1
  11. package/dist/web/js/{fabric-label-dialog-D04Xl51O.js → fabric-label-dialog-CtRCSYxX.js} +1 -1
  12. package/dist/web/js/main.js +1 -1
  13. package/dist/web/js/{matter-dashboard-app-YsZbyNpI.js → matter-dashboard-app-DkWZ4ibd.js} +73 -9
  14. package/dist/web/js/{node-acl-add-dialog-Da1DsCa_.js → node-acl-add-dialog-BSKJrvir.js} +1 -1
  15. package/dist/web/js/{node-binding-dialog-BJQ5OpSN.js → node-binding-dialog-DmhjB76G.js} +1 -1
  16. package/dist/web/js/{node-label-dialog-CsSecSDe.js → node-label-dialog-DmrPo80W.js} +1 -1
  17. package/dist/web/js/{settings-dialog-BaGa2fOI.js → settings-dialog-DxeXrD5U.js} +1 -1
  18. package/package.json +3 -3
  19. package/src/client/models/descriptions.ts +64 -0
@@ -1,4 +1,4 @@
1
- import { i, n, r, e, b as i$1, u as requireAttributeWriteSuccess, A, v as formatHex, d as b, h as handleAsync, g as t } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { i, n, r, e, b as i$1, u as requireAttributeWriteSuccess, A, v as formatHex, d as b, h as handleAsync, g as t } from './matter-dashboard-app-DkWZ4ibd.js';
2
2
  import { t as toBigIntAwareJson } from './main.js';
3
3
  import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
4
4
  import { p as parseJsonPayload } from './parse-json-payload-DU9TWKdu.js';
@@ -1,4 +1,4 @@
1
- import { i, n, r, e, b as i$1, A, v as formatHex, d as b, h as handleAsync, g as t } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { i, n, r, e, b as i$1, A, v as formatHex, d as b, h as handleAsync, g as t } from './matter-dashboard-app-DkWZ4ibd.js';
2
2
  import { t as toBigIntAwareJson } from './main.js';
3
3
  import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
4
4
  import { p as parseJsonPayload, i as isPlainObject } from './parse-json-payload-DU9TWKdu.js';
@@ -1,4 +1,4 @@
1
- import { r, c, a as clientContext, t as tickContext, g as t, b as i, d as b } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { r, c, a as clientContext, t as tickContext, g as t, b as i, d as b } from './matter-dashboard-app-DkWZ4ibd.js';
2
2
  import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
3
3
  import './main.js';
4
4
 
@@ -52,18 +52,18 @@ let ComissionNodeDialog = class extends i {
52
52
  if (!this.client.serverInfo.bluetooth_enabled) {
53
53
  return;
54
54
  }
55
- import('./commission-node-wifi-D9wHJe34.js');
55
+ import('./commission-node-wifi-B37hLRjk.js');
56
56
  this._mode = "wifi";
57
57
  }
58
58
  _commissionThread() {
59
59
  if (!this.client.serverInfo.bluetooth_enabled) {
60
60
  return;
61
61
  }
62
- import('./commission-node-thread-BpyUcSh-.js');
62
+ import('./commission-node-thread-B4_kOd4o.js');
63
63
  this._mode = "thread";
64
64
  }
65
65
  _commissionExisting() {
66
- import('./commission-node-existing-B5d6Hd4b.js');
66
+ import('./commission-node-existing-DfTkRkfm.js');
67
67
  this._mode = "existing";
68
68
  }
69
69
  _nodeCommissioned(ev) {
@@ -71,7 +71,7 @@ let ComissionNodeDialog = class extends i {
71
71
  this._close();
72
72
  }
73
73
  _requestSettings() {
74
- import('./matter-dashboard-app-YsZbyNpI.js').then(function (n) { return n.N; }).then(({
74
+ import('./matter-dashboard-app-DkWZ4ibd.js').then(function (n) { return n.N; }).then(({
75
75
  showSettingsDialog
76
76
  }) => {
77
77
  showSettingsDialog("network-credentials");
@@ -1,4 +1,4 @@
1
- import { r, c, a as clientContext, n, e, g as t, b as i, A, h as handleAsync, d as b, s as showAlertDialog } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { r, c, a as clientContext, n, e, g as t, b as i, A, h as handleAsync, d as b, s as showAlertDialog } from './matter-dashboard-app-DkWZ4ibd.js';
2
2
  import { f as fireEvent } from './fire_event-CJVsUQ4T.js';
3
3
  import './main.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { i, c, a as clientContext, n, r, e, b as i$1, A, h as handleAsync, d as b, q as mdiAccessPoint, s as showAlertDialog, g as t } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { i, c, a as clientContext, n, r, e, b as i$1, A, h as handleAsync, d as b, q as mdiAccessPoint, s as showAlertDialog, g as t } from './matter-dashboard-app-DkWZ4ibd.js';
2
2
  import { f as fireEvent } from './fire_event-CJVsUQ4T.js';
3
3
  import './main.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { i, c, a as clientContext, n, r, e, b as i$1, A, h as handleAsync, d as b, m as mdiWifi, s as showAlertDialog, g as t } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { i, c, a as clientContext, n, r, e, b as i$1, A, h as handleAsync, d as b, m as mdiWifi, s as showAlertDialog, g as t } from './matter-dashboard-app-DkWZ4ibd.js';
2
2
  import { f as fireEvent } from './fire_event-CJVsUQ4T.js';
3
3
  import './main.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { i, n, b as i$1, d as b, g as t } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { i, n, b as i$1, d as b, g as t } from './matter-dashboard-app-DkWZ4ibd.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 { r, n, g as t, b as i, d as b, s as showAlertDialog } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { r, n, g as t, b as i, d as b, s as showAlertDialog } from './matter-dashboard-app-DkWZ4ibd.js';
2
2
  import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
3
3
  import './main.js';
4
4
 
@@ -1347,7 +1347,7 @@ const ThemeService = new ThemeServiceImpl();
1347
1347
  * SPDX-License-Identifier: Apache-2.0
1348
1348
  */
1349
1349
  async function main() {
1350
- import('./matter-dashboard-app-YsZbyNpI.js').then(function (n) { return n.O; });
1350
+ import('./matter-dashboard-app-DkWZ4ibd.js').then(function (n) { return n.O; });
1351
1351
  let url = "";
1352
1352
  const isProductionServer = window.__MATTERJS_PRODUCTION_MODE__ === true || location.origin.includes(":5580") || location.href.includes("hassio_ingress") || location.href.includes("/api/ingress/");
1353
1353
  if (!isProductionServer) {
@@ -4873,7 +4873,7 @@ MdListItem = __decorate([t$1('md-list-item')], MdListItem);
4873
4873
  * SPDX-License-Identifier: Apache-2.0
4874
4874
  */
4875
4875
  const showSettingsDialog = async section => {
4876
- await import('./settings-dialog-BaGa2fOI.js');
4876
+ await import('./settings-dialog-DxeXrD5U.js');
4877
4877
  const dialog = document.createElement("settings-dialog");
4878
4878
  if (section) dialog.scrollToSection = section;
4879
4879
  document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
@@ -23948,6 +23948,70 @@ const clusters = {
23948
23948
  },
23949
23949
  "features": {}
23950
23950
  },
23951
+ "291503119": {
23952
+ "id": 291503119,
23953
+ "label": "AqaraLedStripT2Cluster",
23954
+ "attributes": {
23955
+ "19": {
23956
+ "id": 19,
23957
+ "cluster_id": 291503119,
23958
+ "label": "MusicSyncEnabled",
23959
+ "type": "Optional[bool]",
23960
+ "writable": true
23961
+ },
23962
+ "21": {
23963
+ "id": 21,
23964
+ "cluster_id": 291503119,
23965
+ "label": "MusicSyncEffect",
23966
+ "type": "Optional[uint8]",
23967
+ "writable": true
23968
+ },
23969
+ "22": {
23970
+ "id": 22,
23971
+ "cluster_id": 291503119,
23972
+ "label": "MusicSyncSensitivity",
23973
+ "type": "Optional[uint8]",
23974
+ "writable": true
23975
+ },
23976
+ "65528": {
23977
+ "id": 65528,
23978
+ "cluster_id": 291503119,
23979
+ "label": "GeneratedCommandList",
23980
+ "type": "List[command-id]",
23981
+ "writable": false
23982
+ },
23983
+ "65529": {
23984
+ "id": 65529,
23985
+ "cluster_id": 291503119,
23986
+ "label": "AcceptedCommandList",
23987
+ "type": "List[command-id]",
23988
+ "writable": false
23989
+ },
23990
+ "65531": {
23991
+ "id": 65531,
23992
+ "cluster_id": 291503119,
23993
+ "label": "AttributeList",
23994
+ "type": "List[attrib-id]",
23995
+ "writable": false
23996
+ },
23997
+ "65532": {
23998
+ "id": 65532,
23999
+ "cluster_id": 291503119,
24000
+ "label": "FeatureMap",
24001
+ "type": "map32",
24002
+ "writable": false
24003
+ },
24004
+ "65533": {
24005
+ "id": 65533,
24006
+ "cluster_id": 291503119,
24007
+ "label": "ClusterRevision",
24008
+ "type": "uint16",
24009
+ "writable": false
24010
+ }
24011
+ },
24012
+ "commands": {},
24013
+ "features": {}
24014
+ },
23951
24015
  "293403649": {
23952
24016
  "id": 293403649,
23953
24017
  "label": "IkeaValveCalibrationCluster",
@@ -26226,7 +26290,7 @@ const semantic_tag_namespaces = {
26226
26290
  * SPDX-License-Identifier: Apache-2.0
26227
26291
  */
26228
26292
  const showDialogBox = async (type, dialogParams) => {
26229
- await import('./dialog-box-C7WpEOtZ.js');
26293
+ await import('./dialog-box-CRK6qCOH.js');
26230
26294
  return new Promise(resolve => {
26231
26295
  const dialog = document.createElement("dialog-box");
26232
26296
  dialog.params = dialogParams;
@@ -26244,7 +26308,7 @@ const showPromptDialog = dialogParams => showDialogBox("prompt", dialogParams);
26244
26308
  * SPDX-License-Identifier: Apache-2.0
26245
26309
  */
26246
26310
  const showAttributeWriteDialog = async options => {
26247
- await import('./attribute-write-dialog-CNjI724M.js');
26311
+ await import('./attribute-write-dialog-BYIrK0s9.js');
26248
26312
  const dialog = document.createElement("attribute-write-dialog");
26249
26313
  dialog.client = options.client;
26250
26314
  dialog.nodeId = options.nodeId;
@@ -26262,7 +26326,7 @@ const showAttributeWriteDialog = async options => {
26262
26326
  * SPDX-License-Identifier: Apache-2.0
26263
26327
  */
26264
26328
  const showCommandInvokeDialog = async options => {
26265
- await import('./command-invoke-dialog-CmDc13HG.js');
26329
+ await import('./command-invoke-dialog-sgrlMSYh.js');
26266
26330
  const dialog = document.createElement("command-invoke-dialog");
26267
26331
  dialog.client = options.client;
26268
26332
  dialog.nodeId = options.nodeId;
@@ -26736,7 +26800,7 @@ MdTextButton = __decorate([t$1('md-text-button')], MdTextButton);
26736
26800
  * SPDX-License-Identifier: Apache-2.0
26737
26801
  */
26738
26802
  const showNodeLabelDialog = async (client, node) => {
26739
- await import('./node-label-dialog-CsSecSDe.js');
26803
+ await import('./node-label-dialog-DmrPo80W.js');
26740
26804
  const dialog = document.createElement("node-label-dialog");
26741
26805
  dialog.client = client;
26742
26806
  dialog.node = node;
@@ -35974,7 +36038,7 @@ async function downgradeToOperate(client, nodeId, keys) {
35974
36038
  * SPDX-License-Identifier: Apache-2.0
35975
36039
  */
35976
36040
  const showNodeAclAddDialog = async node => {
35977
- await import('./node-acl-add-dialog-Da1DsCa_.js');
36041
+ await import('./node-acl-add-dialog-BSKJrvir.js');
35978
36042
  const dialog = document.createElement("node-acl-add-dialog");
35979
36043
  dialog.node = node;
35980
36044
  document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
@@ -38309,7 +38373,7 @@ async function deleteBinding(client, sourceNode, sourceEndpoint, target) {
38309
38373
  * SPDX-License-Identifier: Apache-2.0
38310
38374
  */
38311
38375
  const showNodeBindingDialog = async (node, endpoint) => {
38312
- await import('./node-binding-dialog-BJQ5OpSN.js');
38376
+ await import('./node-binding-dialog-DmhjB76G.js');
38313
38377
  const dialog = document.createElement("node-binding-dialog");
38314
38378
  dialog.node = node;
38315
38379
  dialog.endpoint = endpoint;
@@ -63646,7 +63710,7 @@ MatterNodeView = __decorateClass$3([t$1("matter-node-view")], MatterNodeView);
63646
63710
  * SPDX-License-Identifier: Apache-2.0
63647
63711
  */
63648
63712
  const showCommissionNodeDialog = async () => {
63649
- await import('./commission-node-dialog-DXxxdr-s.js');
63713
+ await import('./commission-node-dialog-C7n9Vdcz.js');
63650
63714
  const dialog = document.createElement("commission-node-dialog");
63651
63715
  document.querySelector("matter-dashboard-app")?.renderRoot.appendChild(dialog);
63652
63716
  };
@@ -63657,7 +63721,7 @@ const showCommissionNodeDialog = async () => {
63657
63721
  * SPDX-License-Identifier: Apache-2.0
63658
63722
  */
63659
63723
  const showFabricLabelDialog = async (client, currentLabel, onSaved) => {
63660
- await import('./fabric-label-dialog-D04Xl51O.js');
63724
+ await import('./fabric-label-dialog-CtRCSYxX.js');
63661
63725
  const dialog = document.createElement("fabric-label-dialog");
63662
63726
  dialog.client = client;
63663
63727
  dialog.currentLabel = currentLabel;
@@ -1,4 +1,4 @@
1
- import { i, c, a as clientContext, n, r, b as i$1, P as Privilege, x as nodeIdKey, y as aclCapacity, s as showAlertDialog, z as targetServerClusters, B as clusters, C as AuthMode, E as addAclEntry, F as PRIVILEGE_NAMES, d as b, G as mdiClose, H as getDeviceName, h as handleAsync, g as t } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { i, c, a as clientContext, n, r, b as i$1, P as Privilege, x as nodeIdKey, y as aclCapacity, s as showAlertDialog, z as targetServerClusters, B as clusters, C as AuthMode, E as addAclEntry, F as PRIVILEGE_NAMES, d as b, G as mdiClose, H as getDeviceName, h as handleAsync, g as t } from './matter-dashboard-app-DkWZ4ibd.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, n, r, b as i$1, x as nodeIdKey, B as clusters, s as showAlertDialog, I as targetAclCapacityForBinding, J as addBinding, K as bindableClusters, A, d as b, H as getDeviceName, L as getEndpointDeviceTypes, h as handleAsync, g as t } from './matter-dashboard-app-YsZbyNpI.js';
1
+ import { i, c, a as clientContext, n, r, b as i$1, x as nodeIdKey, B as clusters, s as showAlertDialog, I as targetAclCapacityForBinding, J as addBinding, K as bindableClusters, A, d as b, H as getDeviceName, L as getEndpointDeviceTypes, h as handleAsync, g as t } from './matter-dashboard-app-DkWZ4ibd.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 { 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-YsZbyNpI.js';
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-DkWZ4ibd.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-YsZbyNpI.js';
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-DkWZ4ibd.js';
2
2
  import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
3
3
  import './main.js';
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matter-server/dashboard",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
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.5.0",
37
- "@matter-server/custom-clusters": "1.5.0",
38
- "@matter-server/ws-client": "1.5.0",
37
+ "@matter-server/custom-clusters": "1.5.1",
38
+ "@matter-server/ws-client": "1.5.1",
39
39
  "@mdi/js": "^7.4.47",
40
40
  "lit": "^3.3.3",
41
41
  "qrcode-generator": "^2.0.4",
@@ -18651,6 +18651,70 @@ export const clusters: Record<number, ClusterDescription> = {
18651
18651
  },
18652
18652
  "features": {}
18653
18653
  },
18654
+ "291503119": {
18655
+ "id": 291503119,
18656
+ "label": "AqaraLedStripT2Cluster",
18657
+ "attributes": {
18658
+ "19": {
18659
+ "id": 19,
18660
+ "cluster_id": 291503119,
18661
+ "label": "MusicSyncEnabled",
18662
+ "type": "Optional[bool]",
18663
+ "writable": true
18664
+ },
18665
+ "21": {
18666
+ "id": 21,
18667
+ "cluster_id": 291503119,
18668
+ "label": "MusicSyncEffect",
18669
+ "type": "Optional[uint8]",
18670
+ "writable": true
18671
+ },
18672
+ "22": {
18673
+ "id": 22,
18674
+ "cluster_id": 291503119,
18675
+ "label": "MusicSyncSensitivity",
18676
+ "type": "Optional[uint8]",
18677
+ "writable": true
18678
+ },
18679
+ "65528": {
18680
+ "id": 65528,
18681
+ "cluster_id": 291503119,
18682
+ "label": "GeneratedCommandList",
18683
+ "type": "List[command-id]",
18684
+ "writable": false
18685
+ },
18686
+ "65529": {
18687
+ "id": 65529,
18688
+ "cluster_id": 291503119,
18689
+ "label": "AcceptedCommandList",
18690
+ "type": "List[command-id]",
18691
+ "writable": false
18692
+ },
18693
+ "65531": {
18694
+ "id": 65531,
18695
+ "cluster_id": 291503119,
18696
+ "label": "AttributeList",
18697
+ "type": "List[attrib-id]",
18698
+ "writable": false
18699
+ },
18700
+ "65532": {
18701
+ "id": 65532,
18702
+ "cluster_id": 291503119,
18703
+ "label": "FeatureMap",
18704
+ "type": "map32",
18705
+ "writable": false
18706
+ },
18707
+ "65533": {
18708
+ "id": 65533,
18709
+ "cluster_id": 291503119,
18710
+ "label": "ClusterRevision",
18711
+ "type": "uint16",
18712
+ "writable": false
18713
+ }
18714
+ },
18715
+ "commands": {},
18716
+ "features": {}
18717
+ },
18654
18718
  "293403649": {
18655
18719
  "id": 293403649,
18656
18720
  "label": "IkeaValveCalibrationCluster",