@matter-server/dashboard 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/client/models/descriptions.d.ts.map +1 -1
- package/dist/esm/client/models/descriptions.js +486 -0
- package/dist/esm/client/models/descriptions.js.map +1 -1
- package/dist/esm/pages/matter-cluster-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-cluster-view.js +23 -7
- package/dist/esm/pages/matter-cluster-view.js.map +1 -1
- package/dist/web/js/{commission-node-dialog-B6EYNztD.js → commission-node-dialog-30lGnJcb.js} +5 -5
- package/dist/web/js/{commission-node-existing-CKKStTjd.js → commission-node-existing-RgaziosB.js} +4 -4
- package/dist/web/js/{commission-node-thread-D_Hgo4-b.js → commission-node-thread-CJn6OYQX.js} +4 -4
- package/dist/web/js/{commission-node-wifi-DQrWnfn9.js → commission-node-wifi-CCBBvBEh.js} +4 -4
- package/dist/web/js/{dialog-box-9i64nfcC.js → dialog-box-CFO9GMyG.js} +2 -2
- package/dist/web/js/{fire_event-CGgNDbLy.js → fire_event-CdvT7FSP.js} +1 -1
- package/dist/web/js/main.js +1 -1
- package/dist/web/js/{matter-dashboard-app-DD29PeTW.js → matter-dashboard-app-DwI2RvT1.js} +509 -7
- package/dist/web/js/{node-binding-dialog-DnO2DL_u.js → node-binding-dialog-CmTgtqz1.js} +3 -3
- package/dist/web/js/{outlined-text-field-tv3ZtxuK.js → outlined-text-field-DeeCilzP.js} +2 -2
- package/dist/web/js/{prevent_default-C72e35wq.js → prevent_default--haJaAsZ.js} +1 -1
- package/package.json +4 -3
- package/src/client/models/descriptions.ts +486 -0
- package/src/pages/matter-cluster-view.ts +31 -8
- package/src/tsconfig.json +3 -0
|
@@ -14462,6 +14462,492 @@ const clusters = {
|
|
|
14462
14462
|
"type": "ClusterRevision"
|
|
14463
14463
|
}
|
|
14464
14464
|
}
|
|
14465
|
+
},
|
|
14466
|
+
"2820": {
|
|
14467
|
+
"id": 2820,
|
|
14468
|
+
"label": "Draft Electrical Measurement Cluster",
|
|
14469
|
+
"attributes": {
|
|
14470
|
+
"1285": {
|
|
14471
|
+
"id": 1285,
|
|
14472
|
+
"cluster_id": 2820,
|
|
14473
|
+
"label": "Rms Voltage",
|
|
14474
|
+
"type": "Optional[unknown]"
|
|
14475
|
+
},
|
|
14476
|
+
"1288": {
|
|
14477
|
+
"id": 1288,
|
|
14478
|
+
"cluster_id": 2820,
|
|
14479
|
+
"label": "Rms Current",
|
|
14480
|
+
"type": "Optional[unknown]"
|
|
14481
|
+
},
|
|
14482
|
+
"1291": {
|
|
14483
|
+
"id": 1291,
|
|
14484
|
+
"cluster_id": 2820,
|
|
14485
|
+
"label": "Active Power",
|
|
14486
|
+
"type": "Optional[unknown]"
|
|
14487
|
+
},
|
|
14488
|
+
"1536": {
|
|
14489
|
+
"id": 1536,
|
|
14490
|
+
"cluster_id": 2820,
|
|
14491
|
+
"label": "Ac Voltage Multiplier",
|
|
14492
|
+
"type": "Optional[unknown]"
|
|
14493
|
+
},
|
|
14494
|
+
"1537": {
|
|
14495
|
+
"id": 1537,
|
|
14496
|
+
"cluster_id": 2820,
|
|
14497
|
+
"label": "Ac Voltage Divisor",
|
|
14498
|
+
"type": "Optional[unknown]"
|
|
14499
|
+
},
|
|
14500
|
+
"1538": {
|
|
14501
|
+
"id": 1538,
|
|
14502
|
+
"cluster_id": 2820,
|
|
14503
|
+
"label": "Ac Current Multiplier",
|
|
14504
|
+
"type": "Optional[unknown]"
|
|
14505
|
+
},
|
|
14506
|
+
"1539": {
|
|
14507
|
+
"id": 1539,
|
|
14508
|
+
"cluster_id": 2820,
|
|
14509
|
+
"label": "Ac Current Divisor",
|
|
14510
|
+
"type": "Optional[unknown]"
|
|
14511
|
+
},
|
|
14512
|
+
"1540": {
|
|
14513
|
+
"id": 1540,
|
|
14514
|
+
"cluster_id": 2820,
|
|
14515
|
+
"label": "Ac Power Multiplier",
|
|
14516
|
+
"type": "Optional[unknown]"
|
|
14517
|
+
},
|
|
14518
|
+
"1541": {
|
|
14519
|
+
"id": 1541,
|
|
14520
|
+
"cluster_id": 2820,
|
|
14521
|
+
"label": "Ac Power Divisor",
|
|
14522
|
+
"type": "Optional[unknown]"
|
|
14523
|
+
},
|
|
14524
|
+
"65528": {
|
|
14525
|
+
"id": 65528,
|
|
14526
|
+
"cluster_id": 2820,
|
|
14527
|
+
"label": "Generated Command List",
|
|
14528
|
+
"type": "List[command-id]"
|
|
14529
|
+
},
|
|
14530
|
+
"65529": {
|
|
14531
|
+
"id": 65529,
|
|
14532
|
+
"cluster_id": 2820,
|
|
14533
|
+
"label": "Accepted Command List",
|
|
14534
|
+
"type": "List[command-id]"
|
|
14535
|
+
},
|
|
14536
|
+
"65530": {
|
|
14537
|
+
"id": 65530,
|
|
14538
|
+
"cluster_id": 2820,
|
|
14539
|
+
"label": "Event List",
|
|
14540
|
+
"type": "Optional[unknown]"
|
|
14541
|
+
},
|
|
14542
|
+
"65531": {
|
|
14543
|
+
"id": 65531,
|
|
14544
|
+
"cluster_id": 2820,
|
|
14545
|
+
"label": "Attribute List",
|
|
14546
|
+
"type": "List[attrib-id]"
|
|
14547
|
+
},
|
|
14548
|
+
"65532": {
|
|
14549
|
+
"id": 65532,
|
|
14550
|
+
"cluster_id": 2820,
|
|
14551
|
+
"label": "Feature Map",
|
|
14552
|
+
"type": "map32"
|
|
14553
|
+
},
|
|
14554
|
+
"65533": {
|
|
14555
|
+
"id": 65533,
|
|
14556
|
+
"cluster_id": 2820,
|
|
14557
|
+
"label": "Cluster Revision",
|
|
14558
|
+
"type": "uint16"
|
|
14559
|
+
}
|
|
14560
|
+
}
|
|
14561
|
+
},
|
|
14562
|
+
"302775297": {
|
|
14563
|
+
"id": 302775297,
|
|
14564
|
+
"label": "Heiman Cluster",
|
|
14565
|
+
"attributes": {
|
|
14566
|
+
"65528": {
|
|
14567
|
+
"id": 65528,
|
|
14568
|
+
"cluster_id": 302775297,
|
|
14569
|
+
"label": "Generated Command List",
|
|
14570
|
+
"type": "List[command-id]"
|
|
14571
|
+
},
|
|
14572
|
+
"65529": {
|
|
14573
|
+
"id": 65529,
|
|
14574
|
+
"cluster_id": 302775297,
|
|
14575
|
+
"label": "Accepted Command List",
|
|
14576
|
+
"type": "List[command-id]"
|
|
14577
|
+
},
|
|
14578
|
+
"65530": {
|
|
14579
|
+
"id": 65530,
|
|
14580
|
+
"cluster_id": 302775297,
|
|
14581
|
+
"label": "Event List",
|
|
14582
|
+
"type": "Optional[unknown]"
|
|
14583
|
+
},
|
|
14584
|
+
"65531": {
|
|
14585
|
+
"id": 65531,
|
|
14586
|
+
"cluster_id": 302775297,
|
|
14587
|
+
"label": "Attribute List",
|
|
14588
|
+
"type": "List[attrib-id]"
|
|
14589
|
+
},
|
|
14590
|
+
"65532": {
|
|
14591
|
+
"id": 65532,
|
|
14592
|
+
"cluster_id": 302775297,
|
|
14593
|
+
"label": "Feature Map",
|
|
14594
|
+
"type": "map32"
|
|
14595
|
+
},
|
|
14596
|
+
"65533": {
|
|
14597
|
+
"id": 65533,
|
|
14598
|
+
"cluster_id": 302775297,
|
|
14599
|
+
"label": "Cluster Revision",
|
|
14600
|
+
"type": "uint16"
|
|
14601
|
+
},
|
|
14602
|
+
"302710800": {
|
|
14603
|
+
"id": 302710800,
|
|
14604
|
+
"cluster_id": 302775297,
|
|
14605
|
+
"label": "Tamper Alarm",
|
|
14606
|
+
"type": "Optional[unknown]"
|
|
14607
|
+
},
|
|
14608
|
+
"302710801": {
|
|
14609
|
+
"id": 302710801,
|
|
14610
|
+
"cluster_id": 302775297,
|
|
14611
|
+
"label": "Preheating State",
|
|
14612
|
+
"type": "Optional[unknown]"
|
|
14613
|
+
},
|
|
14614
|
+
"302710802": {
|
|
14615
|
+
"id": 302710802,
|
|
14616
|
+
"cluster_id": 302775297,
|
|
14617
|
+
"label": "No Disturbing State",
|
|
14618
|
+
"type": "Optional[unknown]"
|
|
14619
|
+
},
|
|
14620
|
+
"302710803": {
|
|
14621
|
+
"id": 302710803,
|
|
14622
|
+
"cluster_id": 302775297,
|
|
14623
|
+
"label": "Sensor Type",
|
|
14624
|
+
"type": "Optional[unknown]"
|
|
14625
|
+
},
|
|
14626
|
+
"302710804": {
|
|
14627
|
+
"id": 302710804,
|
|
14628
|
+
"cluster_id": 302775297,
|
|
14629
|
+
"label": "Siren Active",
|
|
14630
|
+
"type": "Optional[unknown]"
|
|
14631
|
+
},
|
|
14632
|
+
"302710805": {
|
|
14633
|
+
"id": 302710805,
|
|
14634
|
+
"cluster_id": 302775297,
|
|
14635
|
+
"label": "Alarm Mute",
|
|
14636
|
+
"type": "Optional[unknown]"
|
|
14637
|
+
},
|
|
14638
|
+
"302710806": {
|
|
14639
|
+
"id": 302710806,
|
|
14640
|
+
"cluster_id": 302775297,
|
|
14641
|
+
"label": "Low Power Mode",
|
|
14642
|
+
"type": "Optional[unknown]"
|
|
14643
|
+
}
|
|
14644
|
+
}
|
|
14645
|
+
},
|
|
14646
|
+
"305134641": {
|
|
14647
|
+
"id": 305134641,
|
|
14648
|
+
"label": "Inovelli Cluster",
|
|
14649
|
+
"attributes": {
|
|
14650
|
+
"65528": {
|
|
14651
|
+
"id": 65528,
|
|
14652
|
+
"cluster_id": 305134641,
|
|
14653
|
+
"label": "Generated Command List",
|
|
14654
|
+
"type": "List[command-id]"
|
|
14655
|
+
},
|
|
14656
|
+
"65529": {
|
|
14657
|
+
"id": 65529,
|
|
14658
|
+
"cluster_id": 305134641,
|
|
14659
|
+
"label": "Accepted Command List",
|
|
14660
|
+
"type": "List[command-id]"
|
|
14661
|
+
},
|
|
14662
|
+
"65530": {
|
|
14663
|
+
"id": 65530,
|
|
14664
|
+
"cluster_id": 305134641,
|
|
14665
|
+
"label": "Event List",
|
|
14666
|
+
"type": "Optional[unknown]"
|
|
14667
|
+
},
|
|
14668
|
+
"65531": {
|
|
14669
|
+
"id": 65531,
|
|
14670
|
+
"cluster_id": 305134641,
|
|
14671
|
+
"label": "Attribute List",
|
|
14672
|
+
"type": "List[attrib-id]"
|
|
14673
|
+
},
|
|
14674
|
+
"65532": {
|
|
14675
|
+
"id": 65532,
|
|
14676
|
+
"cluster_id": 305134641,
|
|
14677
|
+
"label": "Feature Map",
|
|
14678
|
+
"type": "map32"
|
|
14679
|
+
},
|
|
14680
|
+
"65533": {
|
|
14681
|
+
"id": 65533,
|
|
14682
|
+
"cluster_id": 305134641,
|
|
14683
|
+
"label": "Cluster Revision",
|
|
14684
|
+
"type": "uint16"
|
|
14685
|
+
},
|
|
14686
|
+
"305070177": {
|
|
14687
|
+
"id": 305070177,
|
|
14688
|
+
"cluster_id": 305134641,
|
|
14689
|
+
"label": "Led Indicator Intensity On",
|
|
14690
|
+
"type": "Optional[unknown]"
|
|
14691
|
+
},
|
|
14692
|
+
"305070178": {
|
|
14693
|
+
"id": 305070178,
|
|
14694
|
+
"cluster_id": 305134641,
|
|
14695
|
+
"label": "Led Indicator Intensity Off",
|
|
14696
|
+
"type": "Optional[unknown]"
|
|
14697
|
+
},
|
|
14698
|
+
"305070342": {
|
|
14699
|
+
"id": 305070342,
|
|
14700
|
+
"cluster_id": 305134641,
|
|
14701
|
+
"label": "Clear Notification With Config Double Tap",
|
|
14702
|
+
"type": "Optional[bool]"
|
|
14703
|
+
}
|
|
14704
|
+
}
|
|
14705
|
+
},
|
|
14706
|
+
"308149265": {
|
|
14707
|
+
"id": 308149265,
|
|
14708
|
+
"label": "Neo Cluster",
|
|
14709
|
+
"attributes": {
|
|
14710
|
+
"65528": {
|
|
14711
|
+
"id": 65528,
|
|
14712
|
+
"cluster_id": 308149265,
|
|
14713
|
+
"label": "Generated Command List",
|
|
14714
|
+
"type": "List[command-id]"
|
|
14715
|
+
},
|
|
14716
|
+
"65529": {
|
|
14717
|
+
"id": 65529,
|
|
14718
|
+
"cluster_id": 308149265,
|
|
14719
|
+
"label": "Accepted Command List",
|
|
14720
|
+
"type": "List[command-id]"
|
|
14721
|
+
},
|
|
14722
|
+
"65530": {
|
|
14723
|
+
"id": 65530,
|
|
14724
|
+
"cluster_id": 308149265,
|
|
14725
|
+
"label": "Event List",
|
|
14726
|
+
"type": "Optional[unknown]"
|
|
14727
|
+
},
|
|
14728
|
+
"65531": {
|
|
14729
|
+
"id": 65531,
|
|
14730
|
+
"cluster_id": 308149265,
|
|
14731
|
+
"label": "Attribute List",
|
|
14732
|
+
"type": "List[attrib-id]"
|
|
14733
|
+
},
|
|
14734
|
+
"65532": {
|
|
14735
|
+
"id": 65532,
|
|
14736
|
+
"cluster_id": 308149265,
|
|
14737
|
+
"label": "Feature Map",
|
|
14738
|
+
"type": "map32"
|
|
14739
|
+
},
|
|
14740
|
+
"65533": {
|
|
14741
|
+
"id": 65533,
|
|
14742
|
+
"cluster_id": 308149265,
|
|
14743
|
+
"label": "Cluster Revision",
|
|
14744
|
+
"type": "uint16"
|
|
14745
|
+
},
|
|
14746
|
+
"308084769": {
|
|
14747
|
+
"id": 308084769,
|
|
14748
|
+
"cluster_id": 308149265,
|
|
14749
|
+
"label": "Watt Accumulated",
|
|
14750
|
+
"type": "Optional[unknown]"
|
|
14751
|
+
},
|
|
14752
|
+
"308084770": {
|
|
14753
|
+
"id": 308084770,
|
|
14754
|
+
"cluster_id": 308149265,
|
|
14755
|
+
"label": "Current",
|
|
14756
|
+
"type": "Optional[unknown]"
|
|
14757
|
+
},
|
|
14758
|
+
"308084771": {
|
|
14759
|
+
"id": 308084771,
|
|
14760
|
+
"cluster_id": 308149265,
|
|
14761
|
+
"label": "Watt",
|
|
14762
|
+
"type": "Optional[unknown]"
|
|
14763
|
+
},
|
|
14764
|
+
"308084772": {
|
|
14765
|
+
"id": 308084772,
|
|
14766
|
+
"cluster_id": 308149265,
|
|
14767
|
+
"label": "Voltage",
|
|
14768
|
+
"type": "Optional[unknown]"
|
|
14769
|
+
}
|
|
14770
|
+
}
|
|
14771
|
+
},
|
|
14772
|
+
"319486977": {
|
|
14773
|
+
"id": 319486977,
|
|
14774
|
+
"label": "Eve Cluster",
|
|
14775
|
+
"attributes": {
|
|
14776
|
+
"65528": {
|
|
14777
|
+
"id": 65528,
|
|
14778
|
+
"cluster_id": 319486977,
|
|
14779
|
+
"label": "Generated Command List",
|
|
14780
|
+
"type": "List[command-id]"
|
|
14781
|
+
},
|
|
14782
|
+
"65529": {
|
|
14783
|
+
"id": 65529,
|
|
14784
|
+
"cluster_id": 319486977,
|
|
14785
|
+
"label": "Accepted Command List",
|
|
14786
|
+
"type": "List[command-id]"
|
|
14787
|
+
},
|
|
14788
|
+
"65530": {
|
|
14789
|
+
"id": 65530,
|
|
14790
|
+
"cluster_id": 319486977,
|
|
14791
|
+
"label": "Event List",
|
|
14792
|
+
"type": "Optional[unknown]"
|
|
14793
|
+
},
|
|
14794
|
+
"65531": {
|
|
14795
|
+
"id": 65531,
|
|
14796
|
+
"cluster_id": 319486977,
|
|
14797
|
+
"label": "Attribute List",
|
|
14798
|
+
"type": "List[attrib-id]"
|
|
14799
|
+
},
|
|
14800
|
+
"65532": {
|
|
14801
|
+
"id": 65532,
|
|
14802
|
+
"cluster_id": 319486977,
|
|
14803
|
+
"label": "Feature Map",
|
|
14804
|
+
"type": "map32"
|
|
14805
|
+
},
|
|
14806
|
+
"65533": {
|
|
14807
|
+
"id": 65533,
|
|
14808
|
+
"cluster_id": 319486977,
|
|
14809
|
+
"label": "Cluster Revision",
|
|
14810
|
+
"type": "uint16"
|
|
14811
|
+
},
|
|
14812
|
+
"319422470": {
|
|
14813
|
+
"id": 319422470,
|
|
14814
|
+
"cluster_id": 319486977,
|
|
14815
|
+
"label": "Times Opened",
|
|
14816
|
+
"type": "Optional[unknown]"
|
|
14817
|
+
},
|
|
14818
|
+
"319422472": {
|
|
14819
|
+
"id": 319422472,
|
|
14820
|
+
"cluster_id": 319486977,
|
|
14821
|
+
"label": "Voltage",
|
|
14822
|
+
"type": "Optional[unknown]"
|
|
14823
|
+
},
|
|
14824
|
+
"319422473": {
|
|
14825
|
+
"id": 319422473,
|
|
14826
|
+
"cluster_id": 319486977,
|
|
14827
|
+
"label": "Current",
|
|
14828
|
+
"type": "Optional[unknown]"
|
|
14829
|
+
},
|
|
14830
|
+
"319422474": {
|
|
14831
|
+
"id": 319422474,
|
|
14832
|
+
"cluster_id": 319486977,
|
|
14833
|
+
"label": "Watt",
|
|
14834
|
+
"type": "Optional[unknown]"
|
|
14835
|
+
},
|
|
14836
|
+
"319422475": {
|
|
14837
|
+
"id": 319422475,
|
|
14838
|
+
"cluster_id": 319486977,
|
|
14839
|
+
"label": "Watt Accumulated",
|
|
14840
|
+
"type": "Optional[unknown]"
|
|
14841
|
+
},
|
|
14842
|
+
"319422477": {
|
|
14843
|
+
"id": 319422477,
|
|
14844
|
+
"cluster_id": 319486977,
|
|
14845
|
+
"label": "Motion Sensitivity",
|
|
14846
|
+
"type": "Optional[unknown]"
|
|
14847
|
+
},
|
|
14848
|
+
"319422478": {
|
|
14849
|
+
"id": 319422478,
|
|
14850
|
+
"cluster_id": 319486977,
|
|
14851
|
+
"label": "Watt Accumulated Control Point",
|
|
14852
|
+
"type": "Optional[unknown]"
|
|
14853
|
+
},
|
|
14854
|
+
"319422480": {
|
|
14855
|
+
"id": 319422480,
|
|
14856
|
+
"cluster_id": 319486977,
|
|
14857
|
+
"label": "Obstruction Detected",
|
|
14858
|
+
"type": "Optional[bool]"
|
|
14859
|
+
},
|
|
14860
|
+
"319422483": {
|
|
14861
|
+
"id": 319422483,
|
|
14862
|
+
"cluster_id": 319486977,
|
|
14863
|
+
"label": "Altitude",
|
|
14864
|
+
"type": "Optional[unknown]"
|
|
14865
|
+
},
|
|
14866
|
+
"319422484": {
|
|
14867
|
+
"id": 319422484,
|
|
14868
|
+
"cluster_id": 319486977,
|
|
14869
|
+
"label": "Pressure",
|
|
14870
|
+
"type": "Optional[unknown]"
|
|
14871
|
+
},
|
|
14872
|
+
"319422485": {
|
|
14873
|
+
"id": 319422485,
|
|
14874
|
+
"cluster_id": 319486977,
|
|
14875
|
+
"label": "Weather Trend",
|
|
14876
|
+
"type": "Optional[unknown]"
|
|
14877
|
+
},
|
|
14878
|
+
"319422488": {
|
|
14879
|
+
"id": 319422488,
|
|
14880
|
+
"cluster_id": 319486977,
|
|
14881
|
+
"label": "Valve Position",
|
|
14882
|
+
"type": "Optional[unknown]"
|
|
14883
|
+
}
|
|
14884
|
+
}
|
|
14885
|
+
},
|
|
14886
|
+
"319683586": {
|
|
14887
|
+
"id": 319683586,
|
|
14888
|
+
"label": "Third Reality Metering Cluster",
|
|
14889
|
+
"attributes": {
|
|
14890
|
+
"0": {
|
|
14891
|
+
"id": 0,
|
|
14892
|
+
"cluster_id": 319683586,
|
|
14893
|
+
"label": "Current Summation Delivered",
|
|
14894
|
+
"type": "Optional[unknown]"
|
|
14895
|
+
},
|
|
14896
|
+
"769": {
|
|
14897
|
+
"id": 769,
|
|
14898
|
+
"cluster_id": 319683586,
|
|
14899
|
+
"label": "Multiplier",
|
|
14900
|
+
"type": "Optional[unknown]"
|
|
14901
|
+
},
|
|
14902
|
+
"770": {
|
|
14903
|
+
"id": 770,
|
|
14904
|
+
"cluster_id": 319683586,
|
|
14905
|
+
"label": "Divisor",
|
|
14906
|
+
"type": "Optional[unknown]"
|
|
14907
|
+
},
|
|
14908
|
+
"1024": {
|
|
14909
|
+
"id": 1024,
|
|
14910
|
+
"cluster_id": 319683586,
|
|
14911
|
+
"label": "Instantaneous Demand",
|
|
14912
|
+
"type": "Optional[unknown]"
|
|
14913
|
+
},
|
|
14914
|
+
"65528": {
|
|
14915
|
+
"id": 65528,
|
|
14916
|
+
"cluster_id": 319683586,
|
|
14917
|
+
"label": "Generated Command List",
|
|
14918
|
+
"type": "List[command-id]"
|
|
14919
|
+
},
|
|
14920
|
+
"65529": {
|
|
14921
|
+
"id": 65529,
|
|
14922
|
+
"cluster_id": 319683586,
|
|
14923
|
+
"label": "Accepted Command List",
|
|
14924
|
+
"type": "List[command-id]"
|
|
14925
|
+
},
|
|
14926
|
+
"65530": {
|
|
14927
|
+
"id": 65530,
|
|
14928
|
+
"cluster_id": 319683586,
|
|
14929
|
+
"label": "Event List",
|
|
14930
|
+
"type": "Optional[unknown]"
|
|
14931
|
+
},
|
|
14932
|
+
"65531": {
|
|
14933
|
+
"id": 65531,
|
|
14934
|
+
"cluster_id": 319683586,
|
|
14935
|
+
"label": "Attribute List",
|
|
14936
|
+
"type": "List[attrib-id]"
|
|
14937
|
+
},
|
|
14938
|
+
"65532": {
|
|
14939
|
+
"id": 65532,
|
|
14940
|
+
"cluster_id": 319683586,
|
|
14941
|
+
"label": "Feature Map",
|
|
14942
|
+
"type": "map32"
|
|
14943
|
+
},
|
|
14944
|
+
"65533": {
|
|
14945
|
+
"id": 65533,
|
|
14946
|
+
"cluster_id": 319683586,
|
|
14947
|
+
"label": "Cluster Revision",
|
|
14948
|
+
"type": "uint16"
|
|
14949
|
+
}
|
|
14950
|
+
}
|
|
14465
14951
|
}
|
|
14466
14952
|
};
|
|
14467
14953
|
|
|
@@ -14471,7 +14957,7 @@ const clusters = {
|
|
|
14471
14957
|
* SPDX-License-Identifier: Apache-2.0
|
|
14472
14958
|
*/
|
|
14473
14959
|
const showDialogBox = async (type, dialogParams) => {
|
|
14474
|
-
await import('./dialog-box-
|
|
14960
|
+
await import('./dialog-box-CFO9GMyG.js');
|
|
14475
14961
|
return new Promise(resolve => {
|
|
14476
14962
|
const dialog = document.createElement("dialox-box");
|
|
14477
14963
|
dialog.params = dialogParams;
|
|
@@ -15081,7 +15567,7 @@ var mdiArrowLeft="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L
|
|
|
15081
15567
|
*/
|
|
15082
15568
|
const showNodeBindingDialog = async (client, node, endpoint) => {
|
|
15083
15569
|
var _document$querySelect;
|
|
15084
|
-
await import('./node-binding-dialog-
|
|
15570
|
+
await import('./node-binding-dialog-CmTgtqz1.js');
|
|
15085
15571
|
const dialog = document.createElement("node-binding-dialog");
|
|
15086
15572
|
dialog.client = client;
|
|
15087
15573
|
dialog.node = node;
|
|
@@ -15734,6 +16220,11 @@ var __decorateClass$6 = (decorators, target, key, kind) => {
|
|
|
15734
16220
|
if (kind && result) __defProp$4(target, key, result);
|
|
15735
16221
|
return result;
|
|
15736
16222
|
};
|
|
16223
|
+
const GLOBAL_ATTRIBUTE_MIN = 65520;
|
|
16224
|
+
const GLOBAL_ATTRIBUTE_MAX = 65535;
|
|
16225
|
+
function isGlobalAttribute(id) {
|
|
16226
|
+
return id >= GLOBAL_ATTRIBUTE_MIN && id <= GLOBAL_ATTRIBUTE_MAX;
|
|
16227
|
+
}
|
|
15737
16228
|
function clusterAttributes(attributes, endpoint, cluster) {
|
|
15738
16229
|
return Object.keys(attributes).filter(key => key.startsWith(`${endpoint}/${cluster}/`)).map(key => {
|
|
15739
16230
|
const attributeKey = Number(key.split("/")[2]);
|
|
@@ -15741,7 +16232,14 @@ function clusterAttributes(attributes, endpoint, cluster) {
|
|
|
15741
16232
|
key: attributeKey,
|
|
15742
16233
|
value: attributes[key]
|
|
15743
16234
|
};
|
|
15744
|
-
},
|
|
16235
|
+
}).sort((a, b) => {
|
|
16236
|
+
const aIsGlobal = isGlobalAttribute(a.key);
|
|
16237
|
+
const bIsGlobal = isGlobalAttribute(b.key);
|
|
16238
|
+
if (aIsGlobal !== bIsGlobal) {
|
|
16239
|
+
return aIsGlobal ? 1 : -1;
|
|
16240
|
+
}
|
|
16241
|
+
return a.key - b.key;
|
|
16242
|
+
});
|
|
15745
16243
|
}
|
|
15746
16244
|
let MatterClusterView = class extends i$3 {
|
|
15747
16245
|
render() {
|
|
@@ -15779,10 +16277,11 @@ let MatterClusterView = class extends i$3 {
|
|
|
15779
16277
|
</div>
|
|
15780
16278
|
<div slot="supporting-text">ClusterId ${this.cluster} (0x00${this.cluster.toString(16)})</div>
|
|
15781
16279
|
</md-list-item>
|
|
15782
|
-
|
|
16280
|
+
<md-divider></md-divider>
|
|
16281
|
+
${clusterAttributes(this.node.attributes, this.endpoint, this.cluster).map((attribute, index) => {
|
|
15783
16282
|
var _clusters$this$cluste2, _clusters$this$cluste3;
|
|
15784
16283
|
return b`
|
|
15785
|
-
<md-list-item>
|
|
16284
|
+
<md-list-item class=${index % 2 === 1 ? "alternate-row" : ""}>
|
|
15786
16285
|
<div slot="headline">
|
|
15787
16286
|
${((_clusters$this$cluste2 = clusters[this.cluster]) === null || _clusters$this$cluste2 === void 0 || (_clusters$this$cluste2 = _clusters$this$cluste2.attributes[attribute.key]) === null || _clusters$this$cluste2 === void 0 ? void 0 : _clusters$this$cluste2.label) || "Custom/Unknown Attribute"}
|
|
15788
16287
|
</div>
|
|
@@ -15800,7 +16299,6 @@ let MatterClusterView = class extends i$3 {
|
|
|
15800
16299
|
</button>` : toBigIntAwareJson(attribute.value)}
|
|
15801
16300
|
</div>
|
|
15802
16301
|
</md-list-item>
|
|
15803
|
-
<md-divider />
|
|
15804
16302
|
`;
|
|
15805
16303
|
})}
|
|
15806
16304
|
</md-list>
|
|
@@ -15881,6 +16379,10 @@ MatterClusterView.styles = i$6`
|
|
|
15881
16379
|
font-weight: bold;
|
|
15882
16380
|
font-size: 0.8em;
|
|
15883
16381
|
}
|
|
16382
|
+
|
|
16383
|
+
md-list-item.alternate-row {
|
|
16384
|
+
background-color: rgba(128, 128, 128, 0.1);
|
|
16385
|
+
}
|
|
15884
16386
|
`;
|
|
15885
16387
|
__decorateClass$6([n$1()], MatterClusterView.prototype, "node", 2);
|
|
15886
16388
|
__decorateClass$6([e$a({
|
|
@@ -16095,7 +16597,7 @@ DashboardFooter = __decorateClass$3([t$1("dashboard-footer")], DashboardFooter);
|
|
|
16095
16597
|
*/
|
|
16096
16598
|
const showCommissionNodeDialog = async client => {
|
|
16097
16599
|
var _document$querySelect;
|
|
16098
|
-
await import('./commission-node-dialog-
|
|
16600
|
+
await import('./commission-node-dialog-30lGnJcb.js');
|
|
16099
16601
|
const dialog = document.createElement("commission-node-dialog");
|
|
16100
16602
|
dialog.client = client;
|
|
16101
16603
|
(_document$querySelect = document.querySelector("matter-dashboard-app")) === null || _document$querySelect === void 0 || _document$querySelect.renderRoot.appendChild(dialog);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as i, c, n, d as clientContext, e, i as i$1, A, b, t } from './matter-dashboard-app-
|
|
2
|
-
import { p as preventDefault } from './prevent_default
|
|
3
|
-
import './outlined-text-field-
|
|
1
|
+
import { a as i, c, n, d as clientContext, e, i as i$1, A, b, t } from './matter-dashboard-app-DwI2RvT1.js';
|
|
2
|
+
import { p as preventDefault } from './prevent_default--haJaAsZ.js';
|
|
3
|
+
import './outlined-text-field-DeeCilzP.js';
|
|
4
4
|
import './main.js';
|
|
5
5
|
|
|
6
6
|
var _staticBlock$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __decorate, n as n$1, o as o$1, r as r$1, e, i as i$1, f as e$1, A, b, D, E as EASING, a as i$2, t, g as e$2, h as i$3, j as t$1, k as E, l as internals, m as mixinDelegatesAria, p as mixinElementInternals, u, q as i$4 } from './matter-dashboard-app-
|
|
2
|
-
import { r as redispatchEvent } from './prevent_default
|
|
1
|
+
import { _ as __decorate, n as n$1, o as o$1, r as r$1, e, i as i$1, f as e$1, A, b, D, E as EASING, a as i$2, t, g as e$2, h as i$3, j as t$1, k as E, l as internals, m as mixinDelegatesAria, p as mixinElementInternals, u, q as i$4 } from './matter-dashboard-app-DwI2RvT1.js';
|
|
2
|
+
import { r as redispatchEvent } from './prevent_default--haJaAsZ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EASING, m as mixinDelegatesAria, i, _ as __decorate, n, e, r, b, f as e$1, A, a as i$1, t } from './matter-dashboard-app-
|
|
1
|
+
import { E as EASING, m as mixinDelegatesAria, i, _ as __decorate, n, e, r, b, f as e$1, A, a as i$1, t } from './matter-dashboard-app-DwI2RvT1.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter-server/dashboard",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Dashboard for OHF Matter Server",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/matter-js/matterjs-server/issues"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@babel/preset-env": "^7.28.5",
|
|
26
|
-
"@matter/main": "0.16.
|
|
26
|
+
"@matter/main": "0.16.5",
|
|
27
27
|
"@rollup/plugin-babel": "^6.1.0",
|
|
28
28
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
29
29
|
"rollup-plugin-copy": "^3.5.0",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@lit/context": "^1.1.6",
|
|
39
39
|
"@material/web": "^2.4.1",
|
|
40
|
-
"@matter-server/ws-client": "0.2.
|
|
40
|
+
"@matter-server/ws-client": "0.2.4",
|
|
41
|
+
"@matter-server/custom-clusters": "0.2.4",
|
|
41
42
|
"@mdi/js": "^7.4.47",
|
|
42
43
|
"lit": "^3.3.1",
|
|
43
44
|
"tslib": "^2.8.1"
|