@camstack/addon-admin-ui 1.2.142 → 1.2.143

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 (92) hide show
  1. package/dist/assets/{AddLocationWizard-BEWTYRkd.js → AddLocationWizard-Di3aENpk.js} +1 -1
  2. package/dist/assets/{AddonCollectionPage-Bwd1mfzq.js → AddonCollectionPage-rTAZHjx7.js} +1 -1
  3. package/dist/assets/{Addons-CVoKSfko.js → Addons-C8jyDyIM.js} +1 -1
  4. package/dist/assets/{AdminTabs-CqZmMiLw.js → AdminTabs-BHHp2QSh.js} +1 -1
  5. package/dist/assets/{AiProfiles-BLtkfbAe.js → AiProfiles-DWYTaS4u.js} +1 -1
  6. package/dist/assets/{BrokerForm-DRH2Xbft.js → BrokerForm-Cp27xO9h.js} +1 -1
  7. package/dist/assets/{Build-BGjqaGJE.js → Build-DCA2kX3M.js} +1 -1
  8. package/dist/assets/{Capabilities-UIdIpssZ.js → Capabilities-PV7A94OQ.js} +1 -1
  9. package/dist/assets/{CapabilityBadges-D2RR4BL8.js → CapabilityBadges-DIzZmw-e.js} +1 -1
  10. package/dist/assets/{Cluster-NuyVo4NU.js → Cluster-CxZJSmdD.js} +1 -1
  11. package/dist/assets/{Data-BfBL8DHz.js → Data-ClY1xr4n.js} +1 -1
  12. package/dist/assets/{DetectionIntelligence-BkFRyCbn.js → DetectionIntelligence-XgaXKiAC.js} +1 -1
  13. package/dist/assets/{DeviceAggregateSection-Cq6NSh4-.js → DeviceAggregateSection--83MXnfO.js} +1 -1
  14. package/dist/assets/{DeviceDetail-CtlHQLD7.js → DeviceDetail-pqh2TKgc.js} +1 -1
  15. package/dist/assets/{Devices-Cj0XH3Tz.js → Devices--FSBHsaf.js} +1 -1
  16. package/dist/assets/{Events-Cqmkwtd9.js → Events-D96i9fx7.js} +1 -1
  17. package/dist/assets/{FormBuilder-CUiC8-34.js → FormBuilder-DHFAcLe1.js} +1 -1
  18. package/dist/assets/{Identity-KWojpusZ.js → Identity-B7Jm7EAk.js} +1 -1
  19. package/dist/assets/{IntegrationDetail-tmhL-34K.js → IntegrationDetail-CSqC9VFb.js} +1 -1
  20. package/dist/assets/{Integrations-C6zNnYIN.js → Integrations-BQ82Venb.js} +1 -1
  21. package/dist/assets/{Integrations-CjaR4SZV.js → Integrations-D_Qag_AL.js} +1 -1
  22. package/dist/assets/Locations-woyTeyFY.js +1 -0
  23. package/dist/assets/{Logs-CzXqI4a8.js → Logs-eQFXbMjR.js} +1 -1
  24. package/dist/assets/{MyAccess-CxZT9DEs.js → MyAccess-dUaKNkt1.js} +1 -1
  25. package/dist/assets/{Network-DNJbsrxh.js → Network-Bhzk8LqR.js} +1 -1
  26. package/dist/assets/{NodeAddonsSettingsPanel-B5W0S_6w.js → NodeAddonsSettingsPanel-Bya7M8CK.js} +1 -1
  27. package/dist/assets/{NodeInferenceDevices-URK6EmWb.js → NodeInferenceDevices-CnjUQuPG.js} +1 -1
  28. package/dist/assets/{Notifications-Ct29OF-U.js → Notifications-BGqgn8jm.js} +1 -1
  29. package/dist/assets/{Pipeline-C3YzhtBU.js → Pipeline-BEJ5Grd5.js} +1 -1
  30. package/dist/assets/{Plates-I8DjAgx9.js → Plates-QDkcmTwj.js} +1 -1
  31. package/dist/assets/{ProviderIcon-C1mS4XxM.js → ProviderIcon-BD-wNg2v.js} +1 -1
  32. package/dist/assets/{Recordings-DvMWgSjc.js → Recordings-Bb6oMH3Z.js} +1 -1
  33. package/dist/assets/{ScanNetworkModal-Fb7DhSXD.js → ScanNetworkModal-BBGBzslI.js} +1 -1
  34. package/dist/assets/{Scenes-CDxgTdin.js → Scenes-CE-8QbAb.js} +1 -1
  35. package/dist/assets/{Settings-Cqk_-Aco.js → Settings-B7lk5pOE.js} +1 -1
  36. package/dist/assets/{Showroom-DyBW7LGa.js → Showroom-B7ucLGnc.js} +1 -1
  37. package/dist/assets/{StorageLocationsPanel-Didj66Hz.js → StorageLocationsPanel-DxEEZ_Hv.js} +1 -1
  38. package/dist/assets/{Terminal-BAI0e5YM.js → Terminal-3Tt8JR7C.js} +1 -1
  39. package/dist/assets/{bell-off-DsLQMD5U.js → bell-off-BUtERp4K.js} +1 -1
  40. package/dist/assets/{bell-ring-vqHUwRYF.js → bell-ring-CwFgUKao.js} +1 -1
  41. package/dist/assets/{boxes-CZnbLP9P.js → boxes-CLhY0eJE.js} +1 -1
  42. package/dist/assets/circle-check-big-D4ngVApB.js +1 -0
  43. package/dist/assets/circle-dot-orJUh5Wn.js +1 -0
  44. package/dist/assets/circle-slash-Bt5KOE3O.js +1 -0
  45. package/dist/assets/{circle-x-4Dl6gVrz.js → circle-x-C9IAeNxc.js} +1 -1
  46. package/dist/assets/clock-CXMBXWxZ.js +1 -0
  47. package/dist/assets/{copy-C58XU9mC.js → copy-DOVQBaPt.js} +1 -1
  48. package/dist/assets/{debounced-invalidate-Dj05UKK5.js → debounced-invalidate-BXL1pCzx.js} +1 -1
  49. package/dist/assets/{download-B6w2lrQQ.js → download-Big2OKoP.js} +1 -1
  50. package/dist/assets/{face-bbox-CBiv7JlE.js → face-bbox-DbM9dheM.js} +1 -1
  51. package/dist/assets/{flame-KsH2sGjb.js → flame-DONxKqCc.js} +1 -1
  52. package/dist/assets/{hard-drive-BJUcdsGQ.js → hard-drive-DE9j2rUE.js} +1 -1
  53. package/dist/assets/{hard-drive-download-BEpVEf7Q.js → hard-drive-download-Bz6IJv65.js} +1 -1
  54. package/dist/assets/{index-COjcrxBt.js → index-C13jhGRM.js} +2 -2
  55. package/dist/assets/{key-round-Ce87rimg.js → key-round-Zl6ZBWm7.js} +1 -1
  56. package/dist/assets/{layers-CGZ8WUVB.js → layers-Cvf1oS9d.js} +1 -1
  57. package/dist/assets/{mf-entry-bootstrap-0-5d1ed412.js → mf-entry-bootstrap-0-36075247.js} +1 -1
  58. package/dist/assets/{pencil-DoE75RwV.js → pencil-CdLjwF2l.js} +1 -1
  59. package/dist/assets/play-CkKyqLBt.js +1 -0
  60. package/dist/assets/plus-DsJ8nn_D.js +1 -0
  61. package/dist/assets/power-DtWxevGC.js +1 -0
  62. package/dist/assets/{radio-BMqprMmY.js → radio-B0ffRFgs.js} +1 -1
  63. package/dist/assets/{refresh-cw-DgGcyCy7.js → refresh-cw-B07ET3F2.js} +1 -1
  64. package/dist/assets/rotate-ccw-Bky3sTnE.js +1 -0
  65. package/dist/assets/rotate-cw-BL3aWHNn.js +1 -0
  66. package/dist/assets/{send-DahSF3af.js → send-B93Xa2BT.js} +1 -1
  67. package/dist/assets/{server-BIHbmJRc.js → server-PX4VDzbG.js} +1 -1
  68. package/dist/assets/{shield-B7oln0YR.js → shield-BEALojUX.js} +1 -1
  69. package/dist/assets/{shield-alert-4xYqDrFd.js → shield-alert-BrRlkKcV.js} +1 -1
  70. package/dist/assets/square-CemPEdRl.js +1 -0
  71. package/dist/assets/{square-check-big-BKAkZG8V.js → square-check-big-BPMkk9UR.js} +1 -1
  72. package/dist/assets/{undo-2-DAr06108.js → undo-2-DoEh5TCb.js} +1 -1
  73. package/dist/assets/{useNodeUrlSelection-BXTlDNv4.js → useNodeUrlSelection-C4AL8Mdm.js} +1 -1
  74. package/dist/assets/user-round-BefVmAb2.js +1 -0
  75. package/dist/assets/{video-B17QC8iA.js → video-7nEe3vv6.js} +1 -1
  76. package/dist/assets/{wifi-BDoILjan.js → wifi-CoTQk-zv.js} +1 -1
  77. package/dist/assets/{zap-DcQFzh7K.js → zap-Lq9Ww1XM.js} +1 -1
  78. package/dist/index.html +2 -2
  79. package/dist/server/addon.js +1 -1
  80. package/package.json +1 -1
  81. package/dist/assets/Locations-B4lfzyHW.js +0 -1
  82. package/dist/assets/circle-check-big-BvHeM1LY.js +0 -1
  83. package/dist/assets/circle-dot-BLnF4dJR.js +0 -1
  84. package/dist/assets/circle-slash-B-5dS85p.js +0 -1
  85. package/dist/assets/clock-fhpkQDEm.js +0 -1
  86. package/dist/assets/play-B84SrcvR.js +0 -1
  87. package/dist/assets/plus-CezysZVA.js +0 -1
  88. package/dist/assets/power-CvOo2kCO.js +0 -1
  89. package/dist/assets/rotate-ccw-_qyjIbAS.js +0 -1
  90. package/dist/assets/rotate-cw-seLHMWMS.js +0 -1
  91. package/dist/assets/square-D1oiCqcu.js +0 -1
  92. package/dist/assets/user-round-BSoMUNPE.js +0 -1
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]);export{t};
@@ -16,4 +16,4 @@ const __mfImport = (src) =>
16
16
  await __mfHostInit.__tla;
17
17
  const { initHost } = __mfHostInit;
18
18
  await initHost();
19
- })().then(() => __mfImport("./index-COjcrxBt.js"));
19
+ })().then(() => __mfImport("./index-C13jhGRM.js"));
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`play`,[[`polygon`,{points:`6 3 20 12 6 21 6 3`,key:`1oa8hb`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`radio`,[[`path`,{d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9`,key:`1vaf9d`}],[`path`,{d:`M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5`,key:`u1ii0m`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5`,key:`1j5fej`}],[`path`,{d:`M19.1 4.9C23 8.8 23 15.1 19.1 19`,key:`10b0cb`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`radio`,[[`path`,{d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9`,key:`1vaf9d`}],[`path`,{d:`M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5`,key:`u1ii0m`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5`,key:`1j5fej`}],[`path`,{d:`M19.1 4.9C23 8.8 23 15.1 19.1 19`,key:`10b0cb`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`flask-conical`,[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),n=e(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]);export{t as n,n as t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`flask-conical`,[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),n=e(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]);export{t as n,n as t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`square-check-big`,[[`path`,{d:`M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5`,key:`1uzm8b`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`square-check-big`,[[`path`,{d:`M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5`,key:`1uzm8b`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]);export{t};
@@ -1 +1 @@
1
- import{I as e,Q as t,S as n,W as r,x as i}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{Q as a,a as o}from"./index-COjcrxBt.js";function s({staleNodeId:e,shownNodeName:t}){return e===null?null:n(`div`,{role:`status`,className:`flex items-start gap-2 rounded-md border border-warning/30 bg-warning/5 px-3 py-2 text-[11px] text-foreground-subtle`,children:[i(o,{className:`mt-0.5 h-3.5 w-3.5 shrink-0 text-warning`}),n(`span`,{children:[`This link named node `,i(`span`,{className:`font-medium text-foreground`,children:e}),`, which is not in this cluster. Showing`,` `,i(`span`,{className:`font-medium text-foreground`,children:t}),` instead.`]})]})}t();var c=`node`;function l(e){return[...e].toSorted((e,t)=>e.isHub===t.isHub?e.isOnline===t.isOnline?e.name.localeCompare(t.name):e.isOnline?-1:1:e.isHub?-1:1)}function u(e,t){let n=l(e),r=n[0]??null;if(r===null)return{node:null,outcome:`empty`,staleNodeId:null};if(t===null||t.length===0)return{node:r,outcome:`default`,staleNodeId:null};let i=n.find(e=>e.id===t);return i===void 0?{node:r,outcome:`stale`,staleNodeId:t}:{node:i,outcome:`requested`,staleNodeId:null}}function d(t){let[n,i]=a(),o=n.get(c);return{selection:r(()=>u(t,o),[t,o]),selectNode:e(e=>{let t=new URLSearchParams(n);t.set(c,e),i(t,{replace:!0})},[n,i]),requestedNodeId:o}}export{l as n,s as r,d as t};
1
+ import{I as e,Q as t,S as n,W as r,x as i}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{Q as a,a as o}from"./index-C13jhGRM.js";function s({staleNodeId:e,shownNodeName:t}){return e===null?null:n(`div`,{role:`status`,className:`flex items-start gap-2 rounded-md border border-warning/30 bg-warning/5 px-3 py-2 text-[11px] text-foreground-subtle`,children:[i(o,{className:`mt-0.5 h-3.5 w-3.5 shrink-0 text-warning`}),n(`span`,{children:[`This link named node `,i(`span`,{className:`font-medium text-foreground`,children:e}),`, which is not in this cluster. Showing`,` `,i(`span`,{className:`font-medium text-foreground`,children:t}),` instead.`]})]})}t();var c=`node`;function l(e){return[...e].toSorted((e,t)=>e.isHub===t.isHub?e.isOnline===t.isOnline?e.name.localeCompare(t.name):e.isOnline?-1:1:e.isHub?-1:1)}function u(e,t){let n=l(e),r=n[0]??null;if(r===null)return{node:null,outcome:`empty`,staleNodeId:null};if(t===null||t.length===0)return{node:r,outcome:`default`,staleNodeId:null};let i=n.find(e=>e.id===t);return i===void 0?{node:r,outcome:`stale`,staleNodeId:t}:{node:i,outcome:`requested`,staleNodeId:null}}function d(t){let[n,i]=a(),o=n.get(c);return{selection:r(()=>u(t,o),[t,o]),selectNode:e(e=>{let t=new URLSearchParams(n);t.set(c,e),i(t,{replace:!0})},[n,i]),requestedNodeId:o}}export{l as n,s as r,d as t};
@@ -0,0 +1 @@
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`user-round`,[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`mic`,[[`path`,{d:`M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z`,key:`131961`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`,key:`x3vr5v`}]]),n=e(`video`,[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`,key:`ftymec`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`,key:`158x01`}]]);export{t as n,n as t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`mic`,[[`path`,{d:`M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z`,key:`131961`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`,key:`x3vr5v`}]]),n=e(`video`,[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`,key:`ftymec`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`,key:`158x01`}]]);export{t as n,n as t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`wifi`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`wifi`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]);export{t};
@@ -1 +1 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]);export{t};
1
+ import{J as e}from"./index-C13jhGRM.js";var t=e(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]);export{t};
package/dist/index.html CHANGED
@@ -99,13 +99,13 @@
99
99
  })
100
100
  })()
101
101
  </script>
102
- <script type="module" crossorigin src="/assets/mf-entry-bootstrap-0-5d1ed412.js"></script>
102
+ <script type="module" crossorigin src="/assets/mf-entry-bootstrap-0-36075247.js"></script>
103
103
  <link rel="modulepreload" crossorigin href="/assets/__vite-browser-external-B6qJ4svC.js">
104
104
  <link rel="modulepreload" crossorigin href="/assets/src-4oGT5Voh.js">
105
105
  <link rel="modulepreload" crossorigin href="/assets/player-overlays-o9jF7-FW.js">
106
106
  <link rel="modulepreload" crossorigin href="/assets/src-D9QFy74P.js">
107
107
  <link rel="stylesheet" crossorigin href="/assets/index-BwTOSQmu.css">
108
- <link rel="modulepreload" crossorigin href="/assets/hostInit-CrqOeaaw.js"><link rel="modulepreload" crossorigin href="/assets/index-COjcrxBt.js"><link rel="modulepreload" crossorigin href="/assets/remoteEntry-DEOpXf9g.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-_L8d3w9K.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-8kv6pj9W.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-DX7sYWrs.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom__loadShare__.js-BsvPG3BX.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-DtoGixA1.js"></head>
108
+ <link rel="modulepreload" crossorigin href="/assets/hostInit-CrqOeaaw.js"><link rel="modulepreload" crossorigin href="/assets/index-C13jhGRM.js"><link rel="modulepreload" crossorigin href="/assets/remoteEntry-DEOpXf9g.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-_L8d3w9K.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-8kv6pj9W.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-DX7sYWrs.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom__loadShare__.js-BsvPG3BX.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-DtoGixA1.js"></head>
109
109
  <body>
110
110
  <div id="root"></div>
111
111
  <!-- Lock the app shell at 1x zoom. iOS Safari ignores `user-scalable=no`
@@ -37357,7 +37357,7 @@ var AdminUIAddon = class extends BaseAddon {
37357
37357
  capability: adminUiCapability,
37358
37358
  provider: {
37359
37359
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
37360
- getVersion: async () => ({ version: "1.2.142" })
37360
+ getVersion: async () => ({ version: "1.2.143" })
37361
37361
  }
37362
37362
  }];
37363
37363
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-admin-ui",
3
- "version": "1.2.142",
3
+ "version": "1.2.143",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Admin UI — Vite frontend build and server-side addon",
@@ -1 +0,0 @@
1
- import{Q as e,S as t,W as n,b as r,o as i,q as a,x as o,z as s}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{$r as c,Cr as l,Jr as u,Kr as d,Nt as f,_ as p,ei as m,ri as h,tt as g}from"./src-D9QFy74P.js";import{t as _}from"./bell-ring-vqHUwRYF.js";import{t as v}from"./boxes-CZnbLP9P.js";import{t as y}from"./circle-dot-BLnF4dJR.js";import{t as b}from"./flame-KsH2sGjb.js";import{t as x}from"./pencil-DoE75RwV.js";import{t as S}from"./plus-CezysZVA.js";import{t as C}from"./shield-alert-4xYqDrFd.js";import{t as w}from"./user-round-BSoMUNPE.js";import{t as T}from"./zap-DcQFzh7K.js";import{C as E,H as D,J as O,L as k,W as A,Y as j,m as M,o as N,p as ee,q as P,r as F,u as I,x as te,z as L}from"./index-COjcrxBt.js";import{t as ne}from"./AdminPage-CCD07UMs.js";import{i as re}from"./rule-device-filter-BucaBSBx.js";var R=O(`air-vent`,[[`path`,{d:`M18 17.5a2.5 2.5 0 1 1-4 2.03V12`,key:`yd12zl`}],[`path`,{d:`M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`,key:`larmp2`}],[`path`,{d:`M6 8h12`,key:`6g4wlu`}],[`path`,{d:`M6.6 15.572A2 2 0 1 0 10 17v-5`,key:`1x1kqn`}]]),z=O(`alarm-smoke`,[[`path`,{d:`M11 21c0-2.5 2-2.5 2-5`,key:`1sicvv`}],[`path`,{d:`M16 21c0-2.5 2-2.5 2-5`,key:`1o3eny`}],[`path`,{d:`m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8`,key:`1bvca4`}],[`path`,{d:`M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z`,key:`x3qr1j`}],[`path`,{d:`M6 21c0-2.5 2-2.5 2-5`,key:`i3w1gp`}]]),ie=O(`blinds`,[[`path`,{d:`M3 3h18`,key:`o7r712`}],[`path`,{d:`M20 7H8`,key:`gd2fo2`}],[`path`,{d:`M20 11H8`,key:`1ynp89`}],[`path`,{d:`M10 19h10`,key:`19hjk5`}],[`path`,{d:`M8 15h12`,key:`1yqzne`}],[`path`,{d:`M4 3v14`,key:`fggqzn`}],[`circle`,{cx:`4`,cy:`19`,r:`2`,key:`p3m9r0`}]]),ae=O(`circle-arrow-up`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 12-4-4-4 4`,key:`177agl`}],[`path`,{d:`M12 16V8`,key:`1sbj14`}]]),oe=O(`cloud-sun`,[[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}],[`path`,{d:`M15.947 12.65a4 4 0 0 0-5.925-4.128`,key:`dpwdj0`}],[`path`,{d:`M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z`,key:`s09mg5`}]]),B=O(`droplet`,[[`path`,{d:`M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z`,key:`c7niix`}]]),V=O(`droplets`,[[`path`,{d:`M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z`,key:`1ptgy4`}],[`path`,{d:`M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97`,key:`1sl1rz`}]]),H=O(`fan`,[[`path`,{d:`M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z`,key:`484a7f`}],[`path`,{d:`M12 12v.01`,key:`u5ubse`}]]),U=O(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),W=O(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),G=O(`router`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,key:`w68u3i`}],[`path`,{d:`M6.01 18H6`,key:`19vcac`}],[`path`,{d:`M10.01 18H10`,key:`uamcmx`}],[`path`,{d:`M15 10v4`,key:`qjz1xs`}],[`path`,{d:`M17.84 7.17a4 4 0 0 0-5.66 0`,key:`1rif40`}],[`path`,{d:`M20.66 4.34a8 8 0 0 0-11.31 0`,key:`6a5xfq`}]]),K=O(`siren`,[[`path`,{d:`M7 18v-6a5 5 0 1 1 10 0v6`,key:`pcx96s`}],[`path`,{d:`M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z`,key:`1b4s83`}],[`path`,{d:`M21 12h1`,key:`jtio3y`}],[`path`,{d:`M18.5 4.5 18 5`,key:`g5sp9y`}],[`path`,{d:`M2 12h1`,key:`1uaihz`}],[`path`,{d:`M12 2v1`,key:`11qlp1`}],[`path`,{d:`m4.929 4.929.707.707`,key:`1i51kw`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}]]),q=O(`speaker`,[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M12 6h.01`,key:`1vi96p`}],[`circle`,{cx:`12`,cy:`14`,r:`4`,key:`1jruaj`}],[`path`,{d:`M12 14h.01`,key:`1etili`}]]),se=O(`thermometer`,[[`path`,{d:`M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z`,key:`17jzev`}]]),ce=O(`toggle-right`,[[`circle`,{cx:`15`,cy:`12`,r:`3`,key:`1afu0r`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]),le=O(`tractor`,[[`path`,{d:`m10 11 11 .9a1 1 0 0 1 .8 1.1l-.665 4.158a1 1 0 0 1-.988.842H20`,key:`she1j9`}],[`path`,{d:`M16 18h-5`,key:`bq60fd`}],[`path`,{d:`M18 5a1 1 0 0 0-1 1v5.573`,key:`1kv8ia`}],[`path`,{d:`M3 4h8.129a1 1 0 0 1 .99.863L13 11.246`,key:`1q1ert`}],[`path`,{d:`M4 11V4`,key:`9ft8pt`}],[`path`,{d:`M7 15h.01`,key:`k5ht0j`}],[`path`,{d:`M8 10.1V4`,key:`1jgyzo`}],[`circle`,{cx:`18`,cy:`18`,r:`2`,key:`1emm8v`}],[`circle`,{cx:`7`,cy:`15`,r:`5`,key:`ddtuc`}]]),ue=O(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]);e();var de={camera:D,hub:G,container:v,light:W,siren:K,switch:ce,sensor:P,thermostat:se,climate:R,button:y,"event-emitter":T,update:ae,notifier:_,script:M,automation:ue,lock:E,cover:ie,valve:B,humidifier:V,"water-heater":b,fan:H,"media-player":q,"alarm-panel":C,control:I,presence:w,weather:oe,vacuum:A,"lawn-mower":le,image:U,smoke:z};function J({type:e,className:t}){return o(de[e]??y,{"aria-hidden":`true`,className:t??`h-3.5 w-3.5 shrink-0 text-foreground-subtle`})}function Y({online:e,deviceName:t}){return o(`span`,{className:e?`inline-block h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-500`:`inline-block h-1.5 w-1.5 shrink-0 rounded-full border border-foreground-subtle`,role:`img`,"aria-label":`${t}: ${e?`online`:`offline`}`,title:e?`online`:`offline`})}function X(e){if(e==null)return null;let t=e.trim();return t.length===0?null:t.toLowerCase()}function Z(e,t){let n=X(t);return n===null?[]:e.filter(e=>X(e.location)===n)}function fe(e,t){let n=Z(e,t),r=new Set(n.map(e=>e.id));return n.filter(e=>e.parentDeviceId===null||!r.has(e.parentDeviceId))}function pe(e,t){let n=X(e.location);return n===null||new Set(t.map(e=>X(e))).has(n)?null:e.location?.trim()??null}function Q(e,t){let n=X(e.location);return n!==null&&t.has(n)}function me(e,t){let n=new Set(t.map(e=>X(e))),r=new Set(e.filter(e=>Q(e,n)).map(e=>e.id));return e.filter(e=>!(Q(e,n)||e.parentDeviceId!==null&&r.has(e.parentDeviceId)))}function he(e,t){return me(e,t).filter(e=>e.parentDeviceId===null)}function ge(e,t){let n=new Map;for(let t of e){if(t.parentDeviceId===null)continue;let e=n.get(t.parentDeviceId);e?e.push(t):n.set(t.parentDeviceId,[t])}let r=[],i=new Set([t]),a=[t];for(;a.length>0;){let e=[];for(let t of a)for(let a of n.get(t)??[])i.has(a.id)||(i.add(a.id),r.push(a),e.push(a.id));a=e}return r}function _e(e,t){return ge(e,t).length}function ve(e,t){return e.filter(e=>!e.isCamera&&e.parentDeviceId===t)}function ye(e,t){return t.map(t=>({name:t,members:fe(e,t)}))}var be={search:``,types:[]};function $(e,t){let n=t.search.trim().toLowerCase(),r=new Set(t.types);return e.filter(e=>!(r.size>0&&!r.has(e.type)||n!==``&&!e.name.toLowerCase().includes(n)))}function xe({name:e,members:n,devices:i,busy:s,onRename:c,onDelete:l}){let[u,d]=a(!1),[f,m]=a(e),h=()=>{m(e),d(!1)},g=async()=>{let t=f.trim();if(t.length===0||t===e){h();return}await c(t),d(!1)};return t(`section`,{className:`min-w-0 rounded-md border border-border bg-surface`,children:[o(`header`,{className:`flex items-center gap-1.5 border-b border-border px-3 py-1.5`,children:u?t(r,{children:[o(`input`,{value:f,onChange:e=>m(e.target.value),onKeyDown:e=>{e.key===`Enter`&&g(),e.key===`Escape`&&h()},"aria-label":`Rename ${e}`,className:`min-w-0 flex-1 rounded border border-border bg-background px-1.5 py-0.5 text-sm font-semibold text-foreground`,autoFocus:!0}),o(`button`,{type:`button`,onClick:()=>void g(),className:`text-[11px] text-foreground-subtle hover:text-foreground`,children:`Save`}),o(`button`,{type:`button`,onClick:h,"aria-label":`Cancel rename`,className:`p-0.5 text-foreground-subtle hover:text-foreground`,children:o(F,{className:`h-3.5 w-3.5`})})]}):t(r,{children:[o(`h2`,{className:`min-w-0 flex-1 truncate text-sm font-semibold text-foreground`,children:e}),o(p,{items:[{id:`rename`,label:`Rename`,icon:x,disabled:s,onClick:()=>{m(e),d(!0)}},{id:`delete`,label:`Delete`,icon:N,danger:!0,separatorBefore:!0,disabled:s,onClick:()=>void l()}],title:`Actions for ${e}`,triggerClassName:`p-1`})]})}),n.length===0?o(`p`,{className:`px-3 py-3 text-[11px] text-foreground-subtle`,children:`Nothing here yet — assign a device from the table below.`}):o(`ul`,{className:`py-0.5`,children:n.map(e=>o(Se,{device:e,accessories:ve(i,e.id)},e.id))})]})}function Se({device:e,accessories:n}){let[r,i]=a(!1),s=r?L:k;return t(`li`,{className:`px-3 py-0.5`,children:[t(`div`,{className:`flex items-center gap-1.5`,children:[n.length>0?t(`button`,{type:`button`,onClick:()=>i(e=>!e),"aria-expanded":r,"aria-label":`${r?`Collapse`:`Expand`} ${String(n.length)} companion device(s) of ${e.name}`,className:`flex shrink-0 items-center gap-0.5 rounded p-0.5 text-foreground-subtle hover:bg-surface-hover hover:text-foreground`,children:[o(s,{className:`h-3 w-3`}),o(`span`,{className:`text-[10px] tabular-nums`,children:n.length})]}):o(`span`,{"aria-hidden":`true`,className:`w-[1.35rem] shrink-0`}),o(J,{type:e.type}),o(j,{to:`/devices/${String(e.id)}`,className:`min-w-0 flex-1 truncate text-xs text-foreground hover:underline`,children:e.name}),o(Y,{online:e.online,deviceName:e.name})]}),n.length>0&&r&&o(`ul`,{className:`pl-4`,children:n.map(e=>t(`li`,{className:`flex items-center gap-1.5 py-0.5`,children:[o(`span`,{"aria-hidden":`true`,className:`text-[10px] text-foreground-subtle`,children:`└`}),o(J,{type:e.type,className:`h-3 w-3 shrink-0 text-foreground-subtle`}),o(j,{to:`/devices/${String(e.id)}`,className:`min-w-0 flex-1 truncate text-[11px] text-foreground-muted hover:underline`,children:e.name}),o(Y,{online:e.online,deviceName:e.name})]},e.id))})]})}e();function Ce({busy:e,onCreate:n}){let[r,i]=a(!1),[s,c]=a(``),l=()=>{c(``),i(!1)},u=async()=>{let e=s.trim();e.length!==0&&(await n(e),l())};return r?t(`form`,{className:`flex flex-wrap items-center gap-2`,onSubmit:e=>{e.preventDefault(),u()},children:[o(`input`,{value:s,onChange:e=>c(e.target.value),onKeyDown:e=>{e.key===`Escape`&&l()},placeholder:`Ingresso, Salone, Cucina…`,"aria-label":`New location name`,className:`min-w-[16rem] flex-1 rounded border border-border bg-background px-2 py-1.5 text-xs text-foreground`,autoFocus:!0}),t(`button`,{type:`submit`,disabled:s.trim().length===0||e,className:`inline-flex items-center gap-1 rounded border border-border bg-surface px-2 py-1.5 text-xs font-medium text-foreground hover:bg-surface-hover disabled:opacity-50`,children:[o(S,{className:`h-3.5 w-3.5`}),`Add`]}),o(`button`,{type:`button`,onClick:l,"aria-label":`Cancel new location`,className:`p-1 text-foreground-subtle hover:text-foreground`,children:o(F,{className:`h-3.5 w-3.5`})})]}):t(`button`,{type:`button`,onClick:()=>i(!0),className:`inline-flex w-fit items-center gap-1 rounded border border-border bg-surface px-2 py-1.5 text-xs font-medium text-foreground hover:bg-surface-hover`,children:[o(S,{className:`h-3.5 w-3.5`}),`New location`]})}e();function we({rows:e,fleet:r,locations:i,busy:s,emptyMessage:c,onAssign:l}){let[u,d]=a([]),[p,m]=a(``),h=n(()=>e.map(e=>e.id),[e]),_=n(()=>u.filter(e=>h.includes(e)),[u,h]),v=e.length>0&&_.length===e.length,y=n(()=>{let t=new Map;for(let n of e)t.set(n.id,_e(r,n.id));return t},[e,r]),b=_.reduce((e,t)=>e+(y.get(t)??0),0),x=e=>d(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]),S=()=>d(v?[]:h);return t(`section`,{className:`space-y-2`,children:[t(`header`,{className:`flex flex-wrap items-baseline gap-2`,children:[o(`h2`,{className:`text-sm font-semibold text-foreground`,children:`Not in a room`}),o(`p`,{className:`text-[11px] text-foreground-subtle`,children:`Top-level devices only — accessories move with their parent.`})]}),_.length>0&&t(`div`,{role:`group`,"aria-label":`Bulk assignment`,className:`flex flex-wrap items-center gap-2 rounded border border-primary/40 bg-primary/5 px-2 py-1.5`,children:[t(`span`,{className:`text-[11px] text-foreground`,children:[_.length,` selected`,b>0&&` · ${String(b)} accessories in tow`]}),t(`select`,{"aria-label":`Assign selected devices to`,value:p,onChange:e=>m(e.target.value),className:`rounded border border-border bg-background px-1.5 py-0.5 text-[11px] text-foreground`,children:[o(`option`,{value:``,children:`Assign to…`}),i.map(e=>o(`option`,{value:e,children:e},e))]}),o(`button`,{type:`button`,onClick:()=>{p.length===0||_.length===0||(l(_,p),d([]),m(``))},disabled:s||p.length===0,className:`rounded border border-border bg-surface px-2 py-0.5 text-[11px] font-medium text-foreground hover:bg-surface-hover disabled:opacity-50`,children:`Assign`}),o(`button`,{type:`button`,onClick:()=>d([]),className:`text-[11px] text-foreground-subtle hover:text-foreground`,children:`Clear`})]}),o(g,{columns:[{key:`select`,width:`w-8`,headerRender:()=>o(f,{checked:v,onChange:S,"aria-label":v?`Clear selection`:`Select all unassigned devices`}),render:e=>o(f,{checked:_.includes(e.id),onChange:()=>x(e.id),"aria-label":`Select ${e.name}`})},{key:`name`,header:`Device`,sortValue:e=>e.name.toLowerCase(),render:e=>{let n=pe(e,i);return t(`span`,{className:`flex items-center gap-1.5`,children:[o(J,{type:e.type}),o(j,{to:`/devices/${String(e.id)}`,className:`truncate text-xs text-foreground hover:underline`,children:e.name}),n!==null&&t(`span`,{className:`rounded-full border border-warning/40 px-1.5 py-px text-[10px] text-warning`,children:[`unknown room “`,n,`”`]})]})}},{key:`type`,header:`Type`,sortValue:e=>e.type,render:e=>o(`span`,{className:`text-[11px] text-foreground-muted`,children:e.type})},{key:`status`,header:`Status`,sortValue:e=>+!!e.online,render:e=>t(`span`,{className:`flex items-center gap-1.5`,children:[o(Y,{online:e.online,deviceName:e.name}),o(`span`,{className:`text-[11px] text-foreground-muted`,children:e.online?`online`:`offline`})]})},{key:`followers`,header:`Accessories in tow`,align:`right`,sortValue:e=>y.get(e.id)??0,render:e=>o(`span`,{className:`tabular-nums text-[11px] text-foreground-muted`,children:y.get(e.id)??0})},{key:`assign`,header:`Assign to`,align:`right`,notSortableReason:`This column is a control, not a value.`,render:e=>t(`select`,{"aria-label":`Location for ${e.name}`,value:``,disabled:s||i.length===0,onChange:t=>{let n=t.target.value;n.length!==0&&l([e.id],n)},className:`max-w-[11rem] rounded border border-border bg-background px-1.5 py-0.5 text-[11px] text-foreground disabled:opacity-50`,children:[o(`option`,{value:``,children:`—`}),i.map(e=>o(`option`,{value:e,children:e},e))]})}],rows:e,rowKey:e=>e.id,minWidthPx:720,mobileMode:`scroll`,emptyMessage:c})]})}e();function Te(){let e=i(),{data:r,isLoading:f}=u(),{data:p,isLoading:g}=d({projection:`slim`}),[_,v]=a(be),y=()=>{e.invalidateQueries({queryKey:[[`deviceManager`,`listLocations`]]}),e.invalidateQueries({queryKey:[[`deviceManager`,`listAll`]]})},b=l({onSuccess:y}),x=c({onSuccess:y}),S=h({onSuccess:y}),C=m({onSuccess:y}),w=n(()=>(p??[]).map(e=>({id:e.id,name:e.name,location:e.location??null,type:String(e.type),isCamera:e.isCamera,parentDeviceId:e.parentDeviceId,online:e.online,role:e.role??null})),[p]),T=n(()=>re(w),[w]),E=n(()=>$(w,_),[w,_]),D=r??[],O=n(()=>ye(E,D),[E,D]),[k,A]=a(null),j=k!==null&&O.some(e=>e.name===k)?k:O[0]?.name??null;s(()=>{j!==k&&A(j)},[j,k]);let M=O.find(e=>e.name===j)??null,N=n(()=>he(E,D),[E,D]),P=f||g,F=S.isPending||x.isPending||b.isPending,I=e=>v(t=>({...t,types:t.types.includes(e)?t.types.filter(t=>t!==e):[...t.types,e]})),L=async e=>{await b.mutateAsync({name:e})},R=async(e,t)=>{let n=t.trim();n.length===0||n===e||await C.mutateAsync({from:e,to:n})},z=async(e,t)=>{let n=t>0?` ${String(t)} device(s) will become unassigned.`:``;window.confirm(`Delete location “${e}”?${n}`)&&await x.mutateAsync({name:e,cascade:!0})};return t(ne,{icon:te,title:`Locations`,subtitle:`Rooms and areas of the site. Assign any device here — storage disks are under Data → Storage.`,children:[o(Ce,{busy:b.isPending,onCreate:L}),o(`div`,{className:`flex flex-wrap items-center gap-2`,children:t(`label`,{className:`relative min-w-[12rem] flex-1`,children:[o(ee,{className:`pointer-events-none absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-foreground-subtle`}),o(`input`,{value:_.search,onChange:e=>v(t=>({...t,search:e.target.value})),placeholder:`Search devices by name…`,"aria-label":`Search devices by name`,className:`w-full rounded border border-border bg-background py-1.5 pl-7 pr-2 text-xs text-foreground`})]})}),T.length>0&&o(`div`,{className:`flex flex-wrap gap-1`,children:T.map(e=>t(`button`,{type:`button`,onClick:()=>I(e.type),"aria-pressed":_.types.includes(e.type),className:_.types.includes(e.type)?`rounded-full border border-primary bg-primary/10 px-2 py-0.5 text-[10px] text-foreground`:`rounded-full border border-border px-2 py-0.5 text-[10px] text-foreground-muted hover:bg-surface-hover`,children:[e.type,` `,o(`span`,{className:`text-foreground-subtle`,children:e.count})]},e.type))}),P&&o(`p`,{className:`text-xs text-foreground-subtle`,children:`Loading locations and devices…`}),O.length>0&&o(`div`,{role:`tablist`,"aria-label":`Locations`,className:`-mx-1 flex gap-1 overflow-x-auto px-1 pb-1`,children:O.map(e=>{let n=e.name===j;return t(`button`,{type:`button`,role:`tab`,"aria-selected":n,onClick:()=>A(e.name),className:n?`shrink-0 whitespace-nowrap rounded-full border border-primary bg-primary/10 px-3 py-1 text-xs text-foreground`:`shrink-0 whitespace-nowrap rounded-full border border-border px-3 py-1 text-xs text-foreground-muted hover:bg-surface-hover`,children:[e.name,` `,o(`span`,{className:`text-foreground-subtle tabular-nums`,children:e.members.length})]},e.name)})}),M!==null&&o(xe,{name:M.name,members:M.members,devices:E,busy:F,onRename:e=>R(M.name,e),onDelete:()=>z(M.name,Z(w,M.name).length)},M.name),D.length===0&&!P&&o(`p`,{className:`text-xs text-foreground-subtle`,children:`No locations yet. Add Ingresso, Salone, Cucina…`}),o(we,{rows:N,fleet:w,locations:D,busy:F,emptyMessage:P?`Loading…`:`Every top-level device has a room.`,onAssign:(e,t)=>{for(let n of e)S.mutate({deviceId:n,location:t})}})]})}export{Te as LocationsPage};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`circle-dot`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`circle-slash`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`,key:`1dfufj`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`polyline`,{points:`12 6 12 12 16 14`,key:`68esgv`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`play`,[[`polygon`,{points:`6 3 20 12 6 21 6 3`,key:`1oa8hb`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]);export{t};
@@ -1 +0,0 @@
1
- import{J as e}from"./index-COjcrxBt.js";var t=e(`user-round`,[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]]);export{t};