@overvis/hmi-workspace-ui 0.0.0-stage → 0.1.0

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 (1023) hide show
  1. package/LICENSE +28 -0
  2. package/README.md +84 -2
  3. package/THIRD_PARTY_NOTICES +151 -0
  4. package/dist/OFL-1.1.txt +93 -0
  5. package/dist/alarm-list-BL3xQ5Lf.js +423 -0
  6. package/dist/alarm-rule-dialog-S1ZUg-74.js +423 -0
  7. package/dist/alarm-rule-lists-C5v1Kf7A.js +344 -0
  8. package/dist/alarm-rules-page-CqFzofPd.js +121 -0
  9. package/dist/alert-B8MAoIO8.js +45 -0
  10. package/dist/alert-dialog-CYkuMg5D.js +129 -0
  11. package/dist/api-error-9rQmUN5L.js +93 -0
  12. package/dist/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  13. package/dist/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  14. package/dist/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  15. package/dist/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  16. package/dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  17. package/dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  18. package/dist/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  19. package/dist/base-revision-YCO27zR4.js +106 -0
  20. package/dist/breadcrumb-DzVL1yHa.js +74 -0
  21. package/dist/breadcrumbs-0cjsV2cq.js +21 -0
  22. package/dist/button-6SxPBYMz.js +44 -0
  23. package/dist/catalog-list-DjZojYLJ.js +77 -0
  24. package/dist/code-editor-BVimvjDV.js +143 -0
  25. package/dist/context-u9KJQmdB.js +102 -0
  26. package/dist/copyable-id-DYGiAcnq.js +40 -0
  27. package/dist/dashboard-bindings.js +26 -0
  28. package/dist/dashboard-context-CBfG6DoT.js +191 -0
  29. package/dist/dashboards-page-BlrJguNz.js +1064 -0
  30. package/dist/date-time-picker-C3FhMXk6.js +266 -0
  31. package/dist/de-14WdmJxZ.js +4578 -0
  32. package/dist/diagnostic-text-BAkzW0SE.js +111 -0
  33. package/dist/diagnostic-text-DiKd2i1w.js +76 -0
  34. package/dist/dialog-BIhQXcZC.js +237 -0
  35. package/dist/dialog-BqyIxMD-.js +54 -0
  36. package/dist/dialogs-B6BRnf3Q.js +730 -0
  37. package/dist/dialogs-D_v1LeH4.js +7820 -0
  38. package/dist/display-DmOo23mi.js +79 -0
  39. package/dist/dropdown-menu-DSzbBq3v.js +136 -0
  40. package/dist/editor-language-To9MxloY.js +437 -0
  41. package/dist/editor-page-BiSZJz5b.js +1353 -0
  42. package/dist/empty-B-QJ-06w.js +59 -0
  43. package/dist/en-BgercpT0.js +4578 -0
  44. package/dist/entity-controls-D1K4Ot3O.js +76 -0
  45. package/dist/errors-CcsvDHu8.js +26 -0
  46. package/dist/footer-DC-Q0052.js +10675 -0
  47. package/dist/history-page-sAAhG54V.js +1400 -0
  48. package/dist/host.js +1523 -0
  49. package/dist/i18n-BgzakKoC.js +401 -0
  50. package/dist/i18n.js +2 -0
  51. package/dist/icon-D-pR9htW.js +57 -0
  52. package/dist/index-page-DMH82fZe.js +214 -0
  53. package/dist/index.js +19118 -0
  54. package/dist/item-B5SaTFQU.js +120 -0
  55. package/dist/lat-lng-B12P7QyY.js +11 -0
  56. package/dist/list-page-CvsdZb86.js +363 -0
  57. package/dist/location-map-renderer-DO5yfdSU.js +145 -0
  58. package/dist/location-picker-renderer-CjCxg6ai.js +105 -0
  59. package/dist/model-B8gGi4OK.js +9 -0
  60. package/dist/mutation-form-validators-BNz5bsv1.js +2408 -0
  61. package/dist/mutations-THtGG6Ai.js +240 -0
  62. package/dist/notice-card-DyGywFsW.js +246 -0
  63. package/dist/page-2KPemaAj.js +328 -0
  64. package/dist/page-6rIoTg2L.js +459 -0
  65. package/dist/page-C6giEoEd.js +1935 -0
  66. package/dist/page-DCbTxKsi.js +313 -0
  67. package/dist/page-DWO427hT.js +208 -0
  68. package/dist/page-LXu_2zm3.js +137 -0
  69. package/dist/page-aaUiVOnk.js +513 -0
  70. package/dist/page-header-RB2YFWlE.js +55 -0
  71. package/dist/page-title-CdCbiLt8.js +14 -0
  72. package/dist/page-v6LCwswN.js +304 -0
  73. package/dist/panel-DDy8tUNR.js +338 -0
  74. package/dist/parameter-values.js +215 -0
  75. package/dist/pl-lQ9HXV9k.js +4578 -0
  76. package/dist/presence-code-BfSXr50g.js +83 -0
  77. package/dist/progress-C7cxNJA1.js +83 -0
  78. package/dist/provider-BOeYHi0n.js +134 -0
  79. package/dist/provider-DoEpKcQ-.js +29015 -0
  80. package/dist/query-gate-DVhNIkge.js +33 -0
  81. package/dist/quick-report-CUVJnbKP.js +416 -0
  82. package/dist/radio-group-CZGqVbkJ.js +26 -0
  83. package/dist/retention-BYXNpYmR.js +62 -0
  84. package/dist/retention-note-CHhA6gjY.js +42 -0
  85. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  86. package/dist/ru-qTKINoUj.js +4578 -0
  87. package/dist/run-text-DvaO8LDF.js +113 -0
  88. package/dist/search-D4rDnE9T.js +265 -0
  89. package/dist/sections-kCOyc4NR.js +77 -0
  90. package/dist/select-BKiOWdSr.js +539 -0
  91. package/dist/select-eNgZdZ30.js +521 -0
  92. package/dist/skeleton-6yk8Tdh5.js +19 -0
  93. package/dist/slider-DorDsoF8.js +37 -0
  94. package/dist/spinner-C-HPNxOc.js +530 -0
  95. package/dist/src/audit/checkpoint-presentation.d.ts +2 -0
  96. package/dist/src/audit/checkpoints.d.ts +23 -0
  97. package/dist/src/audit/history-model.d.ts +3 -0
  98. package/dist/src/audit/history-page.d.ts +13 -0
  99. package/dist/src/audit/history-presentation.d.ts +21 -0
  100. package/dist/src/audit/history-search.d.ts +6 -0
  101. package/dist/src/audit/revert-checkpoint-dialog.d.ts +29 -0
  102. package/dist/src/audit/revert-device-confirmation.d.ts +20 -0
  103. package/dist/src/audit/setup-change-list.d.ts +5 -0
  104. package/dist/src/brand/brand-link.d.ts +7 -0
  105. package/dist/src/brand/local-brand-link.d.ts +11 -0
  106. package/dist/src/brand/overvis-logo.d.ts +10 -0
  107. package/dist/src/brand/workspace-brand-link.d.ts +10 -0
  108. package/dist/src/brand/workspace-favicon.d.ts +4 -0
  109. package/dist/src/chrome/language-switcher.d.ts +3 -0
  110. package/dist/src/chrome/mode-toggle.d.ts +1 -0
  111. package/dist/src/chrome/text-link.d.ts +8 -0
  112. package/dist/src/code-editor/code-editor.d.ts +55 -0
  113. package/dist/src/code-editor/formula-input.d.ts +20 -0
  114. package/dist/src/code-editor/json-positions.d.ts +26 -0
  115. package/dist/src/code-editor/language-features.d.ts +122 -0
  116. package/dist/src/code-editor/taskfile-language.d.ts +10 -0
  117. package/dist/src/dev-fatal/error-boundary.d.ts +10 -0
  118. package/dist/src/dev-fatal/format-console-error.d.ts +5 -0
  119. package/dist/src/dev-fatal/install.d.ts +6 -0
  120. package/dist/src/dev-fatal/is-enabled.d.ts +7 -0
  121. package/dist/src/dev-fatal/overlay.d.ts +8 -0
  122. package/dist/src/dev-fatal/report-render-error.d.ts +6 -0
  123. package/dist/src/dev-fatal/should-ignore.d.ts +5 -0
  124. package/dist/src/entry/host/index.d.ts +43 -0
  125. package/dist/src/entry/ui/index.d.ts +80 -0
  126. package/dist/src/form/api-error.d.ts +11 -0
  127. package/dist/src/form/fields/checkbox-field.d.ts +9 -0
  128. package/dist/src/form/fields/dashboard-picker-field.d.ts +13 -0
  129. package/dist/src/form/fields/formula-field.d.ts +11 -0
  130. package/dist/src/form/fields/otp-field.d.ts +14 -0
  131. package/dist/src/form/fields/parameter-picker-field.d.ts +3 -0
  132. package/dist/src/form/fields/text-field.d.ts +9 -0
  133. package/dist/src/form/fields/textarea-field.d.ts +6 -0
  134. package/dist/src/form/focus-first-invalid-field.d.ts +4 -0
  135. package/dist/src/form/form-contexts.d.ts +1 -0
  136. package/dist/src/form/form-error-banner.d.ts +4 -0
  137. package/dist/src/form/form-root.d.ts +18 -0
  138. package/dist/src/form/format-field-errors.d.ts +10 -0
  139. package/dist/src/form/index.d.ts +36 -0
  140. package/dist/src/form/map-trpc-to-form-errors.d.ts +34 -0
  141. package/dist/src/form/message.d.ts +5 -0
  142. package/dist/src/form/mutation-form-validators.d.ts +41 -0
  143. package/dist/src/form/submit-button.d.ts +13 -0
  144. package/dist/src/form/trpc-error-data.d.ts +19 -0
  145. package/dist/src/form/use-app-form.d.ts +89 -0
  146. package/dist/src/hooks/use-closed-minute.d.ts +6 -0
  147. package/dist/src/hooks/use-media-query.d.ts +2 -0
  148. package/dist/src/hooks/use-mobile.d.ts +1 -0
  149. package/dist/src/hooks/use-now.d.ts +5 -0
  150. package/dist/src/i18n/catalogs/de/action.d.ts +14 -0
  151. package/dist/src/i18n/catalogs/de/alarm.d.ts +79 -0
  152. package/dist/src/i18n/catalogs/de/api-error.d.ts +261 -0
  153. package/dist/src/i18n/catalogs/de/audit.d.ts +133 -0
  154. package/dist/src/i18n/catalogs/de/automation-editor.d.ts +220 -0
  155. package/dist/src/i18n/catalogs/de/automation-language.d.ts +249 -0
  156. package/dist/src/i18n/catalogs/de/automation.d.ts +59 -0
  157. package/dist/src/i18n/catalogs/de/brand.d.ts +4 -0
  158. package/dist/src/i18n/catalogs/de/cold-room.d.ts +26 -0
  159. package/dist/src/i18n/catalogs/de/copyable.d.ts +6 -0
  160. package/dist/src/i18n/catalogs/de/dashboard.d.ts +92 -0
  161. package/dist/src/i18n/catalogs/de/device-preset.d.ts +71 -0
  162. package/dist/src/i18n/catalogs/de/document.d.ts +52 -0
  163. package/dist/src/i18n/catalogs/de/edge-program-language.d.ts +165 -0
  164. package/dist/src/i18n/catalogs/de/edge-program.d.ts +238 -0
  165. package/dist/src/i18n/catalogs/de/endpoint.d.ts +112 -0
  166. package/dist/src/i18n/catalogs/de/error.d.ts +34 -0
  167. package/dist/src/i18n/catalogs/de/fleet.d.ts +247 -0
  168. package/dist/src/i18n/catalogs/de/formula.d.ts +35 -0
  169. package/dist/src/i18n/catalogs/de/graphics.d.ts +417 -0
  170. package/dist/src/i18n/catalogs/de/language.d.ts +10 -0
  171. package/dist/src/i18n/catalogs/de/messages.d.ts +19 -0
  172. package/dist/src/i18n/catalogs/de/parameter.d.ts +373 -0
  173. package/dist/src/i18n/catalogs/de/pull.d.ts +11 -0
  174. package/dist/src/i18n/catalogs/de/report.d.ts +377 -0
  175. package/dist/src/i18n/catalogs/de/setup.d.ts +65 -0
  176. package/dist/src/i18n/catalogs/de/starter.d.ts +38 -0
  177. package/dist/src/i18n/catalogs/de/storage.d.ts +124 -0
  178. package/dist/src/i18n/catalogs/de/symbols-hvac.d.ts +142 -0
  179. package/dist/src/i18n/catalogs/de/symbols-power.d.ts +122 -0
  180. package/dist/src/i18n/catalogs/de/symbols-quarry.d.ts +81 -0
  181. package/dist/src/i18n/catalogs/de/symbols.d.ts +676 -0
  182. package/dist/src/i18n/catalogs/de/theme.d.ts +4 -0
  183. package/dist/src/i18n/catalogs/de/ui.d.ts +37 -0
  184. package/dist/src/i18n/catalogs/de/workspace.d.ts +19 -0
  185. package/dist/src/i18n/catalogs/de.d.ts +4510 -0
  186. package/dist/src/i18n/catalogs/en/action.d.ts +14 -0
  187. package/dist/src/i18n/catalogs/en/alarm.d.ts +79 -0
  188. package/dist/src/i18n/catalogs/en/api-error.d.ts +261 -0
  189. package/dist/src/i18n/catalogs/en/audit.d.ts +133 -0
  190. package/dist/src/i18n/catalogs/en/automation-editor.d.ts +220 -0
  191. package/dist/src/i18n/catalogs/en/automation-language.d.ts +249 -0
  192. package/dist/src/i18n/catalogs/en/automation.d.ts +59 -0
  193. package/dist/src/i18n/catalogs/en/brand.d.ts +4 -0
  194. package/dist/src/i18n/catalogs/en/cold-room.d.ts +26 -0
  195. package/dist/src/i18n/catalogs/en/copyable.d.ts +6 -0
  196. package/dist/src/i18n/catalogs/en/dashboard.d.ts +92 -0
  197. package/dist/src/i18n/catalogs/en/device-preset.d.ts +71 -0
  198. package/dist/src/i18n/catalogs/en/document.d.ts +52 -0
  199. package/dist/src/i18n/catalogs/en/edge-program-language.d.ts +165 -0
  200. package/dist/src/i18n/catalogs/en/edge-program.d.ts +238 -0
  201. package/dist/src/i18n/catalogs/en/endpoint.d.ts +112 -0
  202. package/dist/src/i18n/catalogs/en/error.d.ts +34 -0
  203. package/dist/src/i18n/catalogs/en/fleet.d.ts +247 -0
  204. package/dist/src/i18n/catalogs/en/formula.d.ts +35 -0
  205. package/dist/src/i18n/catalogs/en/graphics.d.ts +417 -0
  206. package/dist/src/i18n/catalogs/en/language.d.ts +10 -0
  207. package/dist/src/i18n/catalogs/en/messages.d.ts +19 -0
  208. package/dist/src/i18n/catalogs/en/parameter.d.ts +373 -0
  209. package/dist/src/i18n/catalogs/en/pull.d.ts +11 -0
  210. package/dist/src/i18n/catalogs/en/report.d.ts +377 -0
  211. package/dist/src/i18n/catalogs/en/setup.d.ts +65 -0
  212. package/dist/src/i18n/catalogs/en/starter.d.ts +38 -0
  213. package/dist/src/i18n/catalogs/en/storage.d.ts +124 -0
  214. package/dist/src/i18n/catalogs/en/symbols-hvac.d.ts +142 -0
  215. package/dist/src/i18n/catalogs/en/symbols-power.d.ts +122 -0
  216. package/dist/src/i18n/catalogs/en/symbols-quarry.d.ts +81 -0
  217. package/dist/src/i18n/catalogs/en/symbols.d.ts +676 -0
  218. package/dist/src/i18n/catalogs/en/theme.d.ts +4 -0
  219. package/dist/src/i18n/catalogs/en/ui.d.ts +37 -0
  220. package/dist/src/i18n/catalogs/en/workspace.d.ts +19 -0
  221. package/dist/src/i18n/catalogs/en.d.ts +4510 -0
  222. package/dist/src/i18n/catalogs/pl/action.d.ts +14 -0
  223. package/dist/src/i18n/catalogs/pl/alarm.d.ts +79 -0
  224. package/dist/src/i18n/catalogs/pl/api-error.d.ts +261 -0
  225. package/dist/src/i18n/catalogs/pl/audit.d.ts +133 -0
  226. package/dist/src/i18n/catalogs/pl/automation-editor.d.ts +220 -0
  227. package/dist/src/i18n/catalogs/pl/automation-language.d.ts +249 -0
  228. package/dist/src/i18n/catalogs/pl/automation.d.ts +59 -0
  229. package/dist/src/i18n/catalogs/pl/brand.d.ts +4 -0
  230. package/dist/src/i18n/catalogs/pl/cold-room.d.ts +26 -0
  231. package/dist/src/i18n/catalogs/pl/copyable.d.ts +6 -0
  232. package/dist/src/i18n/catalogs/pl/dashboard.d.ts +92 -0
  233. package/dist/src/i18n/catalogs/pl/device-preset.d.ts +71 -0
  234. package/dist/src/i18n/catalogs/pl/document.d.ts +52 -0
  235. package/dist/src/i18n/catalogs/pl/edge-program-language.d.ts +165 -0
  236. package/dist/src/i18n/catalogs/pl/edge-program.d.ts +238 -0
  237. package/dist/src/i18n/catalogs/pl/endpoint.d.ts +112 -0
  238. package/dist/src/i18n/catalogs/pl/error.d.ts +34 -0
  239. package/dist/src/i18n/catalogs/pl/fleet.d.ts +247 -0
  240. package/dist/src/i18n/catalogs/pl/formula.d.ts +35 -0
  241. package/dist/src/i18n/catalogs/pl/graphics.d.ts +417 -0
  242. package/dist/src/i18n/catalogs/pl/language.d.ts +10 -0
  243. package/dist/src/i18n/catalogs/pl/messages.d.ts +19 -0
  244. package/dist/src/i18n/catalogs/pl/parameter.d.ts +373 -0
  245. package/dist/src/i18n/catalogs/pl/pull.d.ts +11 -0
  246. package/dist/src/i18n/catalogs/pl/report.d.ts +377 -0
  247. package/dist/src/i18n/catalogs/pl/setup.d.ts +65 -0
  248. package/dist/src/i18n/catalogs/pl/starter.d.ts +38 -0
  249. package/dist/src/i18n/catalogs/pl/storage.d.ts +124 -0
  250. package/dist/src/i18n/catalogs/pl/symbols-hvac.d.ts +142 -0
  251. package/dist/src/i18n/catalogs/pl/symbols-power.d.ts +122 -0
  252. package/dist/src/i18n/catalogs/pl/symbols-quarry.d.ts +81 -0
  253. package/dist/src/i18n/catalogs/pl/symbols.d.ts +676 -0
  254. package/dist/src/i18n/catalogs/pl/theme.d.ts +4 -0
  255. package/dist/src/i18n/catalogs/pl/ui.d.ts +37 -0
  256. package/dist/src/i18n/catalogs/pl/workspace.d.ts +19 -0
  257. package/dist/src/i18n/catalogs/pl.d.ts +4510 -0
  258. package/dist/src/i18n/catalogs/ru/action.d.ts +14 -0
  259. package/dist/src/i18n/catalogs/ru/alarm.d.ts +79 -0
  260. package/dist/src/i18n/catalogs/ru/api-error.d.ts +261 -0
  261. package/dist/src/i18n/catalogs/ru/audit.d.ts +133 -0
  262. package/dist/src/i18n/catalogs/ru/automation-editor.d.ts +220 -0
  263. package/dist/src/i18n/catalogs/ru/automation-language.d.ts +249 -0
  264. package/dist/src/i18n/catalogs/ru/automation.d.ts +59 -0
  265. package/dist/src/i18n/catalogs/ru/brand.d.ts +4 -0
  266. package/dist/src/i18n/catalogs/ru/cold-room.d.ts +26 -0
  267. package/dist/src/i18n/catalogs/ru/copyable.d.ts +6 -0
  268. package/dist/src/i18n/catalogs/ru/dashboard.d.ts +92 -0
  269. package/dist/src/i18n/catalogs/ru/device-preset.d.ts +71 -0
  270. package/dist/src/i18n/catalogs/ru/document.d.ts +52 -0
  271. package/dist/src/i18n/catalogs/ru/edge-program-language.d.ts +165 -0
  272. package/dist/src/i18n/catalogs/ru/edge-program.d.ts +238 -0
  273. package/dist/src/i18n/catalogs/ru/endpoint.d.ts +112 -0
  274. package/dist/src/i18n/catalogs/ru/error.d.ts +34 -0
  275. package/dist/src/i18n/catalogs/ru/fleet.d.ts +247 -0
  276. package/dist/src/i18n/catalogs/ru/formula.d.ts +35 -0
  277. package/dist/src/i18n/catalogs/ru/graphics.d.ts +417 -0
  278. package/dist/src/i18n/catalogs/ru/language.d.ts +10 -0
  279. package/dist/src/i18n/catalogs/ru/messages.d.ts +19 -0
  280. package/dist/src/i18n/catalogs/ru/parameter.d.ts +373 -0
  281. package/dist/src/i18n/catalogs/ru/pull.d.ts +11 -0
  282. package/dist/src/i18n/catalogs/ru/report.d.ts +377 -0
  283. package/dist/src/i18n/catalogs/ru/setup.d.ts +65 -0
  284. package/dist/src/i18n/catalogs/ru/starter.d.ts +38 -0
  285. package/dist/src/i18n/catalogs/ru/storage.d.ts +124 -0
  286. package/dist/src/i18n/catalogs/ru/symbols-hvac.d.ts +142 -0
  287. package/dist/src/i18n/catalogs/ru/symbols-power.d.ts +122 -0
  288. package/dist/src/i18n/catalogs/ru/symbols-quarry.d.ts +81 -0
  289. package/dist/src/i18n/catalogs/ru/symbols.d.ts +676 -0
  290. package/dist/src/i18n/catalogs/ru/theme.d.ts +4 -0
  291. package/dist/src/i18n/catalogs/ru/ui.d.ts +37 -0
  292. package/dist/src/i18n/catalogs/ru/workspace.d.ts +19 -0
  293. package/dist/src/i18n/catalogs/ru.d.ts +4510 -0
  294. package/dist/src/i18n/catalogs/uk/action.d.ts +14 -0
  295. package/dist/src/i18n/catalogs/uk/alarm.d.ts +79 -0
  296. package/dist/src/i18n/catalogs/uk/api-error.d.ts +261 -0
  297. package/dist/src/i18n/catalogs/uk/audit.d.ts +133 -0
  298. package/dist/src/i18n/catalogs/uk/automation-editor.d.ts +220 -0
  299. package/dist/src/i18n/catalogs/uk/automation-language.d.ts +249 -0
  300. package/dist/src/i18n/catalogs/uk/automation.d.ts +59 -0
  301. package/dist/src/i18n/catalogs/uk/brand.d.ts +4 -0
  302. package/dist/src/i18n/catalogs/uk/cold-room.d.ts +26 -0
  303. package/dist/src/i18n/catalogs/uk/copyable.d.ts +6 -0
  304. package/dist/src/i18n/catalogs/uk/dashboard.d.ts +92 -0
  305. package/dist/src/i18n/catalogs/uk/device-preset.d.ts +71 -0
  306. package/dist/src/i18n/catalogs/uk/document.d.ts +52 -0
  307. package/dist/src/i18n/catalogs/uk/edge-program-language.d.ts +165 -0
  308. package/dist/src/i18n/catalogs/uk/edge-program.d.ts +238 -0
  309. package/dist/src/i18n/catalogs/uk/endpoint.d.ts +112 -0
  310. package/dist/src/i18n/catalogs/uk/error.d.ts +34 -0
  311. package/dist/src/i18n/catalogs/uk/fleet.d.ts +247 -0
  312. package/dist/src/i18n/catalogs/uk/formula.d.ts +35 -0
  313. package/dist/src/i18n/catalogs/uk/graphics.d.ts +417 -0
  314. package/dist/src/i18n/catalogs/uk/language.d.ts +10 -0
  315. package/dist/src/i18n/catalogs/uk/messages.d.ts +19 -0
  316. package/dist/src/i18n/catalogs/uk/parameter.d.ts +373 -0
  317. package/dist/src/i18n/catalogs/uk/pull.d.ts +11 -0
  318. package/dist/src/i18n/catalogs/uk/report.d.ts +377 -0
  319. package/dist/src/i18n/catalogs/uk/setup.d.ts +65 -0
  320. package/dist/src/i18n/catalogs/uk/starter.d.ts +38 -0
  321. package/dist/src/i18n/catalogs/uk/storage.d.ts +124 -0
  322. package/dist/src/i18n/catalogs/uk/symbols-hvac.d.ts +142 -0
  323. package/dist/src/i18n/catalogs/uk/symbols-power.d.ts +122 -0
  324. package/dist/src/i18n/catalogs/uk/symbols-quarry.d.ts +81 -0
  325. package/dist/src/i18n/catalogs/uk/symbols.d.ts +676 -0
  326. package/dist/src/i18n/catalogs/uk/theme.d.ts +4 -0
  327. package/dist/src/i18n/catalogs/uk/ui.d.ts +37 -0
  328. package/dist/src/i18n/catalogs/uk/workspace.d.ts +19 -0
  329. package/dist/src/i18n/catalogs/uk.d.ts +4510 -0
  330. package/dist/src/i18n/index.d.ts +4 -0
  331. package/dist/src/i18n/locale.d.ts +11 -0
  332. package/dist/src/i18n/messages.d.ts +12 -0
  333. package/dist/src/i18n/use-language-change.d.ts +5 -0
  334. package/dist/src/i18n/use-locale.d.ts +1 -0
  335. package/dist/src/index.d.ts +151 -0
  336. package/dist/src/lib/utils.d.ts +2 -0
  337. package/dist/src/theme-provider.d.ts +16 -0
  338. package/dist/src/trpc.d.ts +37 -0
  339. package/dist/src/ui/accordion.d.ts +6 -0
  340. package/dist/src/ui/alert-dialog.d.ts +20 -0
  341. package/dist/src/ui/alert.d.ts +10 -0
  342. package/dist/src/ui/aspect-ratio.d.ts +6 -0
  343. package/dist/src/ui/attachment.d.ts +23 -0
  344. package/dist/src/ui/avatar.d.ts +11 -0
  345. package/dist/src/ui/badge.d.ts +6 -0
  346. package/dist/src/ui/breadcrumb.d.ts +10 -0
  347. package/dist/src/ui/bubble.d.ts +16 -0
  348. package/dist/src/ui/button-group.d.ts +10 -0
  349. package/dist/src/ui/button.d.ts +8 -0
  350. package/dist/src/ui/calendar.d.ts +10 -0
  351. package/dist/src/ui/card.d.ts +11 -0
  352. package/dist/src/ui/carousel.d.ts +28 -0
  353. package/dist/src/ui/chart.d.ts +60 -0
  354. package/dist/src/ui/checkbox.d.ts +3 -0
  355. package/dist/src/ui/collapsible.d.ts +5 -0
  356. package/dist/src/ui/combobox.d.ts +24 -0
  357. package/dist/src/ui/command.d.ts +19 -0
  358. package/dist/src/ui/content-overlay/dismiss.d.ts +10 -0
  359. package/dist/src/ui/content-overlay/region.d.ts +37 -0
  360. package/dist/src/ui/content-overlay/root.d.ts +3 -0
  361. package/dist/src/ui/content-overlay/tab-wrap.d.ts +6 -0
  362. package/dist/src/ui/context-menu.d.ts +28 -0
  363. package/dist/src/ui/data-table.d.ts +38 -0
  364. package/dist/src/ui/date-time-picker.d.ts +30 -0
  365. package/dist/src/ui/dialog.d.ts +19 -0
  366. package/dist/src/ui/direction.d.ts +3 -0
  367. package/dist/src/ui/drawer.d.ts +18 -0
  368. package/dist/src/ui/dropdown-menu.d.ts +29 -0
  369. package/dist/src/ui/empty.d.ts +11 -0
  370. package/dist/src/ui/field.d.ts +24 -0
  371. package/dist/src/ui/gauge-bar.d.ts +43 -0
  372. package/dist/src/ui/gauge.d.ts +24 -0
  373. package/dist/src/ui/hover-card.d.ts +5 -0
  374. package/dist/src/ui/input-group.d.ts +18 -0
  375. package/dist/src/ui/input-otp.d.ts +11 -0
  376. package/dist/src/ui/input.d.ts +3 -0
  377. package/dist/src/ui/item.d.ts +22 -0
  378. package/dist/src/ui/kbd.d.ts +3 -0
  379. package/dist/src/ui/label.d.ts +3 -0
  380. package/dist/src/ui/marker.d.ts +10 -0
  381. package/dist/src/ui/menubar.d.ts +28 -0
  382. package/dist/src/ui/message-history/context.d.ts +51 -0
  383. package/dist/src/ui/message-history/emit.d.ts +27 -0
  384. package/dist/src/ui/message-history/legacy-content.d.ts +6 -0
  385. package/dist/src/ui/message-history/legacy.d.ts +7 -0
  386. package/dist/src/ui/message-history/model.d.ts +22 -0
  387. package/dist/src/ui/message-history/panel.d.ts +6 -0
  388. package/dist/src/ui/message-history/store.d.ts +26 -0
  389. package/dist/src/ui/message-history/toast.d.ts +7 -0
  390. package/dist/src/ui/message-scroller.d.ts +20 -0
  391. package/dist/src/ui/message.d.ts +10 -0
  392. package/dist/src/ui/native-select.d.ts +8 -0
  393. package/dist/src/ui/navigation-menu.d.ts +11 -0
  394. package/dist/src/ui/notice-card.d.ts +61 -0
  395. package/dist/src/ui/page-header.d.ts +21 -0
  396. package/dist/src/ui/page-title.d.ts +5 -0
  397. package/dist/src/ui/pagination.d.ts +17 -0
  398. package/dist/src/ui/popover.d.ts +9 -0
  399. package/dist/src/ui/progress.d.ts +7 -0
  400. package/dist/src/ui/questionnaire.d.ts +19 -0
  401. package/dist/src/ui/radio-group.d.ts +5 -0
  402. package/dist/src/ui/resizable.d.ts +7 -0
  403. package/dist/src/ui/scroll-area.d.ts +5 -0
  404. package/dist/src/ui/select.d.ts +11 -0
  405. package/dist/src/ui/separator.d.ts +3 -0
  406. package/dist/src/ui/sheet.d.ts +14 -0
  407. package/dist/src/ui/sidebar.d.ts +63 -0
  408. package/dist/src/ui/skeleton.d.ts +7 -0
  409. package/dist/src/ui/slider.d.ts +3 -0
  410. package/dist/src/ui/sonner.d.ts +9 -0
  411. package/dist/src/ui/sparkline.d.ts +31 -0
  412. package/dist/src/ui/spinner.d.ts +2 -0
  413. package/dist/src/ui/svg-diagram/dom.d.ts +6 -0
  414. package/dist/src/ui/svg-diagram/types.d.ts +13 -0
  415. package/dist/src/ui/svg-diagram.d.ts +8 -0
  416. package/dist/src/ui/switch.d.ts +5 -0
  417. package/dist/src/ui/table.d.ts +10 -0
  418. package/dist/src/ui/tabs.d.ts +11 -0
  419. package/dist/src/ui/textarea.d.ts +3 -0
  420. package/dist/src/ui/theme-scope.d.ts +11 -0
  421. package/dist/src/ui/toggle-group.d.ts +11 -0
  422. package/dist/src/ui/toggle.d.ts +8 -0
  423. package/dist/src/ui/tooltip.d.ts +6 -0
  424. package/dist/src/version.d.ts +2 -0
  425. package/dist/src/workspace/access-label.d.ts +2 -0
  426. package/dist/src/workspace/alarms/actions.d.ts +19 -0
  427. package/dist/src/workspace/alarms/alarm-list.d.ts +65 -0
  428. package/dist/src/workspace/alarms/history.d.ts +17 -0
  429. package/dist/src/workspace/alarms/model.d.ts +29 -0
  430. package/dist/src/workspace/alarms/nav.d.ts +15 -0
  431. package/dist/src/workspace/alarms/page.d.ts +10 -0
  432. package/dist/src/workspace/alarms/provider.d.ts +30 -0
  433. package/dist/src/workspace/alarms/search.d.ts +8 -0
  434. package/dist/src/workspace/alarms/sound.d.ts +9 -0
  435. package/dist/src/workspace/automations/diagnostic-text.d.ts +6 -0
  436. package/dist/src/workspace/automations/editor-language.d.ts +13 -0
  437. package/dist/src/workspace/automations/item-descriptions.d.ts +3 -0
  438. package/dist/src/workspace/automations/parameter-names.d.ts +2 -0
  439. package/dist/src/workspace/automations/run-text.d.ts +18 -0
  440. package/dist/src/workspace/automations/trace-view.d.ts +24 -0
  441. package/dist/src/workspace/automations/use-catalog.d.ts +10 -0
  442. package/dist/src/workspace/caches.d.ts +41 -0
  443. package/dist/src/workspace/context.d.ts +71 -0
  444. package/dist/src/workspace/copyable-id.d.ts +4 -0
  445. package/dist/src/workspace/dashboards/actions-menu.d.ts +4 -0
  446. package/dist/src/workspace/dashboards/anchor-scroll.d.ts +11 -0
  447. package/dist/src/workspace/dashboards/bindings.d.ts +26 -0
  448. package/dist/src/workspace/dashboards/configuration-rename-dialog.d.ts +10 -0
  449. package/dist/src/workspace/dashboards/configuration-required.d.ts +10 -0
  450. package/dist/src/workspace/dashboards/configuration-update-queue.d.ts +2 -0
  451. package/dist/src/workspace/dashboards/copy-dialog.d.ts +7 -0
  452. package/dist/src/workspace/dashboards/document/blocks.d.ts +42 -0
  453. package/dist/src/workspace/dashboards/document/chart-data.d.ts +13 -0
  454. package/dist/src/workspace/dashboards/document/chart.d.ts +10 -0
  455. package/dist/src/workspace/dashboards/document/layout.d.ts +29 -0
  456. package/dist/src/workspace/dashboards/document/markdown.d.ts +7 -0
  457. package/dist/src/workspace/dashboards/document/sources.d.ts +32 -0
  458. package/dist/src/workspace/dashboards/document/tiles/chart.d.ts +23 -0
  459. package/dist/src/workspace/dashboards/document/tiles/context.d.ts +23 -0
  460. package/dist/src/workspace/dashboards/document/tiles/controls.d.ts +23 -0
  461. package/dist/src/workspace/dashboards/document/tiles/frame.d.ts +28 -0
  462. package/dist/src/workspace/dashboards/document/tiles/gauge-model.d.ts +4 -0
  463. package/dist/src/workspace/dashboards/document/tiles/gauge.d.ts +11 -0
  464. package/dist/src/workspace/dashboards/document/tiles/presentation.d.ts +29 -0
  465. package/dist/src/workspace/dashboards/document/tiles/reading.d.ts +14 -0
  466. package/dist/src/workspace/dashboards/document/tiles/sparkline.d.ts +7 -0
  467. package/dist/src/workspace/dashboards/document/tiles/tile.d.ts +8 -0
  468. package/dist/src/workspace/dashboards/document/tiles/tones.d.ts +44 -0
  469. package/dist/src/workspace/dashboards/document/tiles/use-tile-tone.d.ts +19 -0
  470. package/dist/src/workspace/dashboards/document/tiles/value.d.ts +8 -0
  471. package/dist/src/workspace/dashboards/document/view.d.ts +16 -0
  472. package/dist/src/workspace/dashboards/enabled-switch.d.ts +10 -0
  473. package/dist/src/workspace/dashboards/entrypoint.d.ts +15 -0
  474. package/dist/src/workspace/dashboards/icon.d.ts +6 -0
  475. package/dist/src/workspace/dashboards/load-module.d.ts +40 -0
  476. package/dist/src/workspace/dashboards/locale.d.ts +8 -0
  477. package/dist/src/workspace/dashboards/module-cache.d.ts +9 -0
  478. package/dist/src/workspace/dashboards/mount-diagnostics.d.ts +23 -0
  479. package/dist/src/workspace/dashboards/mount.d.ts +39 -0
  480. package/dist/src/workspace/dashboards/name.d.ts +11 -0
  481. package/dist/src/workspace/dashboards/navigation.d.ts +51 -0
  482. package/dist/src/workspace/dashboards/page-paths.d.ts +7 -0
  483. package/dist/src/workspace/dashboards/page-tabs.d.ts +23 -0
  484. package/dist/src/workspace/dashboards/page.d.ts +4 -0
  485. package/dist/src/workspace/dashboards/rotation.d.ts +26 -0
  486. package/dist/src/workspace/dashboards/search-params.d.ts +7 -0
  487. package/dist/src/workspace/dashboards/sortable-grid.d.ts +79 -0
  488. package/dist/src/workspace/dashboards/stylesheet.d.ts +9 -0
  489. package/dist/src/workspace/dashboards/use-configuration-mutation.d.ts +40 -0
  490. package/dist/src/workspace/device-api/errors.d.ts +6 -0
  491. package/dist/src/workspace/device-api/use-device-api.d.ts +75 -0
  492. package/dist/src/workspace/device-presets/cold-room-card.d.ts +17 -0
  493. package/dist/src/workspace/device-presets/cold-room-commands.d.ts +19 -0
  494. package/dist/src/workspace/device-presets/cold-room-labels.d.ts +5 -0
  495. package/dist/src/workspace/device-presets/cold-room-model.d.ts +141 -0
  496. package/dist/src/workspace/device-presets/command-button.d.ts +34 -0
  497. package/dist/src/workspace/device-presets/endpoint-unavailable.d.ts +15 -0
  498. package/dist/src/workspace/device-presets/gauge-scale.d.ts +23 -0
  499. package/dist/src/workspace/device-presets/gauges.d.ts +52 -0
  500. package/dist/src/workspace/device-presets/header.d.ts +14 -0
  501. package/dist/src/workspace/device-presets/layout.d.ts +52 -0
  502. package/dist/src/workspace/device-presets/overview.d.ts +103 -0
  503. package/dist/src/workspace/device-presets/quantity.d.ts +5 -0
  504. package/dist/src/workspace/device-presets/relay-test-panel.d.ts +37 -0
  505. package/dist/src/workspace/device-presets/relay-test.d.ts +164 -0
  506. package/dist/src/workspace/device-presets/series-colors.d.ts +58 -0
  507. package/dist/src/workspace/device-presets/settings-choice.d.ts +20 -0
  508. package/dist/src/workspace/device-presets/settings-fields.d.ts +39 -0
  509. package/dist/src/workspace/device-presets/settings-form.d.ts +35 -0
  510. package/dist/src/workspace/device-presets/settings-page.d.ts +29 -0
  511. package/dist/src/workspace/device-presets/settings-rows.d.ts +25 -0
  512. package/dist/src/workspace/device-presets/settings-section.d.ts +78 -0
  513. package/dist/src/workspace/device-presets/settings-text.d.ts +5 -0
  514. package/dist/src/workspace/device-presets/settings-types.d.ts +122 -0
  515. package/dist/src/workspace/device-presets/settings-write-dialog.d.ts +27 -0
  516. package/dist/src/workspace/device-presets/settings-write.d.ts +73 -0
  517. package/dist/src/workspace/device-presets/state-text.d.ts +17 -0
  518. package/dist/src/workspace/device-presets/trend-chart.d.ts +51 -0
  519. package/dist/src/workspace/device-presets/trend-model.d.ts +45 -0
  520. package/dist/src/workspace/device-presets/unsupported.d.ts +14 -0
  521. package/dist/src/workspace/device-presets/values.d.ts +56 -0
  522. package/dist/src/workspace/edge-programs/deploy-status.d.ts +12 -0
  523. package/dist/src/workspace/edge-programs/diagnostic-text.d.ts +9 -0
  524. package/dist/src/workspace/edge-programs/editor-language.d.ts +15 -0
  525. package/dist/src/workspace/edge-programs/item-descriptions.d.ts +3 -0
  526. package/dist/src/workspace/edge-programs/live-state.d.ts +12 -0
  527. package/dist/src/workspace/endpoint-status/provider.d.ts +16 -0
  528. package/dist/src/workspace/endpoint-status/store.d.ts +18 -0
  529. package/dist/src/workspace/errors.d.ts +1 -0
  530. package/dist/src/workspace/fleet/alarms.d.ts +27 -0
  531. package/dist/src/workspace/fleet/binding-editor.d.ts +65 -0
  532. package/dist/src/workspace/fleet/board-editor.d.ts +118 -0
  533. package/dist/src/workspace/fleet/command-buttons.d.ts +19 -0
  534. package/dist/src/workspace/fleet/command-entry.d.ts +25 -0
  535. package/dist/src/workspace/fleet/command-steps.d.ts +65 -0
  536. package/dist/src/workspace/fleet/control-mode.d.ts +30 -0
  537. package/dist/src/workspace/fleet/counter-bars.d.ts +109 -0
  538. package/dist/src/workspace/fleet/counter-notices.d.ts +23 -0
  539. package/dist/src/workspace/fleet/counter-period.d.ts +35 -0
  540. package/dist/src/workspace/fleet/counter-shares.d.ts +34 -0
  541. package/dist/src/workspace/fleet/counter-total.d.ts +43 -0
  542. package/dist/src/workspace/fleet/counter-totals.d.ts +77 -0
  543. package/dist/src/workspace/fleet/due-dates.d.ts +18 -0
  544. package/dist/src/workspace/fleet/duplicate-dialog.d.ts +63 -0
  545. package/dist/src/workspace/fleet/editor-dialog.d.ts +26 -0
  546. package/dist/src/workspace/fleet/equipment-setup.d.ts +44 -0
  547. package/dist/src/workspace/fleet/equipment-view.d.ts +31 -0
  548. package/dist/src/workspace/fleet/figure.d.ts +18 -0
  549. package/dist/src/workspace/fleet/form-types.d.ts +15 -0
  550. package/dist/src/workspace/fleet/group-command-dialogs.d.ts +43 -0
  551. package/dist/src/workspace/fleet/group-command.d.ts +83 -0
  552. package/dist/src/workspace/fleet/indicator-lights.d.ts +23 -0
  553. package/dist/src/workspace/fleet/map.d.ts +41 -0
  554. package/dist/src/workspace/fleet/mode-badge.d.ts +7 -0
  555. package/dist/src/workspace/fleet/operations.d.ts +23 -0
  556. package/dist/src/workspace/fleet/order-editor.d.ts +13 -0
  557. package/dist/src/workspace/fleet/overview-model.d.ts +43 -0
  558. package/dist/src/workspace/fleet/overview.d.ts +93 -0
  559. package/dist/src/workspace/fleet/page-header.d.ts +27 -0
  560. package/dist/src/workspace/fleet/parameters.d.ts +65 -0
  561. package/dist/src/workspace/fleet/period-settings.d.ts +66 -0
  562. package/dist/src/workspace/fleet/placement-fields.d.ts +104 -0
  563. package/dist/src/workspace/fleet/position.d.ts +13 -0
  564. package/dist/src/workspace/fleet/readings.d.ts +64 -0
  565. package/dist/src/workspace/fleet/section.d.ts +7 -0
  566. package/dist/src/workspace/fleet/site-page.d.ts +150 -0
  567. package/dist/src/workspace/fleet/slot-fields.d.ts +53 -0
  568. package/dist/src/workspace/fleet/starter-fields.d.ts +63 -0
  569. package/dist/src/workspace/fleet/status-badge.d.ts +23 -0
  570. package/dist/src/workspace/fleet/status.d.ts +85 -0
  571. package/dist/src/workspace/formulas/diagnostic-text.d.ts +7 -0
  572. package/dist/src/workspace/graphics/actions/details.d.ts +49 -0
  573. package/dist/src/workspace/graphics/actions/dialog.d.ts +12 -0
  574. package/dist/src/workspace/graphics/actions/selection.d.ts +1352 -0
  575. package/dist/src/workspace/graphics/binding-value.d.ts +19 -0
  576. package/dist/src/workspace/graphics/bindings.d.ts +847 -0
  577. package/dist/src/workspace/graphics/canvas.d.ts +47 -0
  578. package/dist/src/workspace/graphics/commands/fields.d.ts +7 -0
  579. package/dist/src/workspace/graphics/commands/model.d.ts +10 -0
  580. package/dist/src/workspace/graphics/commands/provider.d.ts +285 -0
  581. package/dist/src/workspace/graphics/dashboard-graphics.d.ts +12 -0
  582. package/dist/src/workspace/graphics/editor-session.d.ts +47 -0
  583. package/dist/src/workspace/graphics/framing.d.ts +28 -0
  584. package/dist/src/workspace/graphics/generated-drawing.d.ts +47 -0
  585. package/dist/src/workspace/graphics/geometry.d.ts +41 -0
  586. package/dist/src/workspace/graphics/image-cache.d.ts +18 -0
  587. package/dist/src/workspace/graphics/image-dialog.d.ts +5 -0
  588. package/dist/src/workspace/graphics/image-picker.d.ts +5 -0
  589. package/dist/src/workspace/graphics/inspector/bindings.d.ts +17 -0
  590. package/dist/src/workspace/graphics/inspector/element.d.ts +10 -0
  591. package/dist/src/workspace/graphics/inspector/fields.d.ts +69 -0
  592. package/dist/src/workspace/graphics/inspector/item.d.ts +862 -0
  593. package/dist/src/workspace/graphics/inspector/multi.d.ts +10 -0
  594. package/dist/src/workspace/graphics/inspector/panel.d.ts +27 -0
  595. package/dist/src/workspace/graphics/inspector/ports.d.ts +2 -0
  596. package/dist/src/workspace/graphics/inspector/section.d.ts +14 -0
  597. package/dist/src/workspace/graphics/inspector/slots.d.ts +7 -0
  598. package/dist/src/workspace/graphics/inspector/symbol.d.ts +11 -0
  599. package/dist/src/workspace/graphics/line-geometry.d.ts +26 -0
  600. package/dist/src/workspace/graphics/lines.d.ts +14 -0
  601. package/dist/src/workspace/graphics/node-memo.d.ts +3 -0
  602. package/dist/src/workspace/graphics/node.d.ts +3 -0
  603. package/dist/src/workspace/graphics/placement.d.ts +23 -0
  604. package/dist/src/workspace/graphics/quality-indicator.d.ts +6 -0
  605. package/dist/src/workspace/graphics/resize-handles.d.ts +8 -0
  606. package/dist/src/workspace/graphics/source-picker.d.ts +35 -0
  607. package/dist/src/workspace/graphics/symbol-issues.d.ts +26 -0
  608. package/dist/src/workspace/graphics/symbols/agriculture/fertigation.d.ts +1 -0
  609. package/dist/src/workspace/graphics/symbols/agriculture/index.d.ts +2 -0
  610. package/dist/src/workspace/graphics/symbols/agriculture/soil-sensor.d.ts +1 -0
  611. package/dist/src/workspace/graphics/symbols/agriculture/soil.d.ts +9 -0
  612. package/dist/src/workspace/graphics/symbols/agriculture/sprinkler.d.ts +1 -0
  613. package/dist/src/workspace/graphics/symbols/agriculture/zone.d.ts +1 -0
  614. package/dist/src/workspace/graphics/symbols/bindings.d.ts +34 -0
  615. package/dist/src/workspace/graphics/symbols/browser.d.ts +28 -0
  616. package/dist/src/workspace/graphics/symbols/builtins.d.ts +2 -0
  617. package/dist/src/workspace/graphics/symbols/button.d.ts +2 -0
  618. package/dist/src/workspace/graphics/symbols/catalog.d.ts +41 -0
  619. package/dist/src/workspace/graphics/symbols/compressed-air/compressor.d.ts +1 -0
  620. package/dist/src/workspace/graphics/symbols/compressed-air/drain.d.ts +15 -0
  621. package/dist/src/workspace/graphics/symbols/compressed-air/index.d.ts +1 -0
  622. package/dist/src/workspace/graphics/symbols/compressed-air/receiver.d.ts +1 -0
  623. package/dist/src/workspace/graphics/symbols/compressed-air/treatment.d.ts +2 -0
  624. package/dist/src/workspace/graphics/symbols/definition.d.ts +115 -0
  625. package/dist/src/workspace/graphics/symbols/electrical/breaker.d.ts +2 -0
  626. package/dist/src/workspace/graphics/symbols/electrical/compensation.d.ts +1 -0
  627. package/dist/src/workspace/graphics/symbols/electrical/index.d.ts +5 -0
  628. package/dist/src/workspace/graphics/symbols/electrical/loads.d.ts +3 -0
  629. package/dist/src/workspace/graphics/symbols/electrical/machines.d.ts +3 -0
  630. package/dist/src/workspace/graphics/symbols/electrical/metering.d.ts +8 -0
  631. package/dist/src/workspace/graphics/symbols/electrical/presentation.d.ts +132 -0
  632. package/dist/src/workspace/graphics/symbols/electrical/renewables.d.ts +2 -0
  633. package/dist/src/workspace/graphics/symbols/electrical/storage.d.ts +2 -0
  634. package/dist/src/workspace/graphics/symbols/electrical/supply.d.ts +2 -0
  635. package/dist/src/workspace/graphics/symbols/electrical/switchgear.d.ts +61 -0
  636. package/dist/src/workspace/graphics/symbols/food/filling.d.ts +1 -0
  637. package/dist/src/workspace/graphics/symbols/food/index.d.ts +1 -0
  638. package/dist/src/workspace/graphics/symbols/food/vessel.d.ts +1 -0
  639. package/dist/src/workspace/graphics/symbols/fuel-gas/gas-detector.d.ts +1 -0
  640. package/dist/src/workspace/graphics/symbols/fuel-gas/index.d.ts +1 -0
  641. package/dist/src/workspace/graphics/symbols/handles.d.ts +6 -0
  642. package/dist/src/workspace/graphics/symbols/hvac/air-handling.d.ts +4 -0
  643. package/dist/src/workspace/graphics/symbols/hvac/air-section.d.ts +60 -0
  644. package/dist/src/workspace/graphics/symbols/hvac/air-terminals.d.ts +2 -0
  645. package/dist/src/workspace/graphics/symbols/hvac/air-treatment.d.ts +2 -0
  646. package/dist/src/workspace/graphics/symbols/hvac/circuit.d.ts +45 -0
  647. package/dist/src/workspace/graphics/symbols/hvac/cooling-plant.d.ts +2 -0
  648. package/dist/src/workspace/graphics/symbols/hvac/firing.d.ts +2 -0
  649. package/dist/src/workspace/graphics/symbols/hvac/hydronic.d.ts +5 -0
  650. package/dist/src/workspace/graphics/symbols/hvac/index.d.ts +2 -0
  651. package/dist/src/workspace/graphics/symbols/hvac/instruments.d.ts +5 -0
  652. package/dist/src/workspace/graphics/symbols/hvac/presentation.d.ts +162 -0
  653. package/dist/src/workspace/graphics/symbols/manufacturing/actuators.d.ts +20 -0
  654. package/dist/src/workspace/graphics/symbols/manufacturing/conveyor.d.ts +26 -0
  655. package/dist/src/workspace/graphics/symbols/manufacturing/index.d.ts +3 -0
  656. package/dist/src/workspace/graphics/symbols/manufacturing/indicators.d.ts +2 -0
  657. package/dist/src/workspace/graphics/symbols/manufacturing/stations.d.ts +3 -0
  658. package/dist/src/workspace/graphics/symbols/ports.d.ts +12 -0
  659. package/dist/src/workspace/graphics/symbols/preferences.d.ts +27 -0
  660. package/dist/src/workspace/graphics/symbols/preview.d.ts +8 -0
  661. package/dist/src/workspace/graphics/symbols/properties.d.ts +46 -0
  662. package/dist/src/workspace/graphics/symbols/provider.d.ts +12 -0
  663. package/dist/src/workspace/graphics/symbols/pump-status-icon.d.ts +5 -0
  664. package/dist/src/workspace/graphics/symbols/pump.d.ts +2 -0
  665. package/dist/src/workspace/graphics/symbols/quality.d.ts +63 -0
  666. package/dist/src/workspace/graphics/symbols/quarry/belt-scale.d.ts +1 -0
  667. package/dist/src/workspace/graphics/symbols/quarry/chute.d.ts +1 -0
  668. package/dist/src/workspace/graphics/symbols/quarry/crusher.d.ts +2 -0
  669. package/dist/src/workspace/graphics/symbols/quarry/diverter-gate.d.ts +2 -0
  670. package/dist/src/workspace/graphics/symbols/quarry/dust-collector.d.ts +1 -0
  671. package/dist/src/workspace/graphics/symbols/quarry/feeder.d.ts +1 -0
  672. package/dist/src/workspace/graphics/symbols/quarry/hopper.d.ts +1 -0
  673. package/dist/src/workspace/graphics/symbols/quarry/index.d.ts +1 -0
  674. package/dist/src/workspace/graphics/symbols/quarry/parts.d.ts +18 -0
  675. package/dist/src/workspace/graphics/symbols/quarry/screen.d.ts +2 -0
  676. package/dist/src/workspace/graphics/symbols/quarry/spray-suppression.d.ts +1 -0
  677. package/dist/src/workspace/graphics/symbols/quarry/stockpile.d.ts +1 -0
  678. package/dist/src/workspace/graphics/symbols/quarry/trommel.d.ts +1 -0
  679. package/dist/src/workspace/graphics/symbols/reading.d.ts +3 -0
  680. package/dist/src/workspace/graphics/symbols/render.d.ts +12 -0
  681. package/dist/src/workspace/graphics/symbols/reservoir.d.ts +2 -0
  682. package/dist/src/workspace/graphics/symbols/serialize.d.ts +7 -0
  683. package/dist/src/workspace/graphics/symbols/status.d.ts +47 -0
  684. package/dist/src/workspace/graphics/symbols/thermal/furnace.d.ts +28 -0
  685. package/dist/src/workspace/graphics/symbols/thermal/heater.d.ts +6 -0
  686. package/dist/src/workspace/graphics/symbols/thermal/index.d.ts +1 -0
  687. package/dist/src/workspace/graphics/symbols/thermal/kiln.d.ts +1 -0
  688. package/dist/src/workspace/graphics/symbols/upright.d.ts +68 -0
  689. package/dist/src/workspace/graphics/symbols/variant-field.d.ts +17 -0
  690. package/dist/src/workspace/graphics/symbols/variants.d.ts +30 -0
  691. package/dist/src/workspace/graphics/symbols/viewport.d.ts +43 -0
  692. package/dist/src/workspace/graphics/symbols/warehouse/agv.d.ts +4 -0
  693. package/dist/src/workspace/graphics/symbols/warehouse/cold-room.d.ts +2 -0
  694. package/dist/src/workspace/graphics/symbols/warehouse/cooling-unit.d.ts +19 -0
  695. package/dist/src/workspace/graphics/symbols/warehouse/door.d.ts +61 -0
  696. package/dist/src/workspace/graphics/symbols/warehouse/index.d.ts +1 -0
  697. package/dist/src/workspace/graphics/symbols/warehouse/loading-dock.d.ts +2 -0
  698. package/dist/src/workspace/graphics/symbols/warehouse/pallet.d.ts +2 -0
  699. package/dist/src/workspace/graphics/symbols/warehouse/rack.d.ts +25 -0
  700. package/dist/src/workspace/graphics/symbols/warehouse/stacker-crane.d.ts +12 -0
  701. package/dist/src/workspace/graphics/symbols/warehouse/storage-zone.d.ts +34 -0
  702. package/dist/src/workspace/graphics/symbols/waste/baler.d.ts +5 -0
  703. package/dist/src/workspace/graphics/symbols/waste/compactor.d.ts +1 -0
  704. package/dist/src/workspace/graphics/symbols/waste/container.d.ts +7 -0
  705. package/dist/src/workspace/graphics/symbols/waste/index.d.ts +2 -0
  706. package/dist/src/workspace/graphics/symbols/waste/parts.d.ts +32 -0
  707. package/dist/src/workspace/graphics/symbols/waste/separator.d.ts +1 -0
  708. package/dist/src/workspace/graphics/symbols/waste/shredder.d.ts +1 -0
  709. package/dist/src/workspace/graphics/symbols/waste/vehicle.d.ts +1 -0
  710. package/dist/src/workspace/graphics/symbols/waste/weighbridge.d.ts +1 -0
  711. package/dist/src/workspace/graphics/symbols/water/aeration.d.ts +8 -0
  712. package/dist/src/workspace/graphics/symbols/water/artwork.d.ts +42 -0
  713. package/dist/src/workspace/graphics/symbols/water/clarifier.d.ts +1 -0
  714. package/dist/src/workspace/graphics/symbols/water/disinfection.d.ts +1 -0
  715. package/dist/src/workspace/graphics/symbols/water/dosing.d.ts +30 -0
  716. package/dist/src/workspace/graphics/symbols/water/filter.d.ts +1 -0
  717. package/dist/src/workspace/graphics/symbols/water/index.d.ts +8 -0
  718. package/dist/src/workspace/graphics/symbols/water/instruments.d.ts +3 -0
  719. package/dist/src/workspace/graphics/symbols/water/pumps.d.ts +7 -0
  720. package/dist/src/workspace/graphics/symbols/water/tank.d.ts +1 -0
  721. package/dist/src/workspace/graphics/symbols/water/treatment-state.d.ts +15 -0
  722. package/dist/src/workspace/graphics/symbols/water/valves.d.ts +8 -0
  723. package/dist/src/workspace/graphics/symbols/well.d.ts +2 -0
  724. package/dist/src/workspace/graphics/toolbar.d.ts +58 -0
  725. package/dist/src/workspace/graphics/use-images.d.ts +13 -0
  726. package/dist/src/workspace/graphics/view-frame.d.ts +31 -0
  727. package/dist/src/workspace/graphics/viewport-passthrough.d.ts +8 -0
  728. package/dist/src/workspace/index-page.d.ts +3 -0
  729. package/dist/src/workspace/layout.d.ts +3 -0
  730. package/dist/src/workspace/live-changes.d.ts +16 -0
  731. package/dist/src/workspace/local-message-identity.d.ts +2 -0
  732. package/dist/src/workspace/local-setup-link.d.ts +16 -0
  733. package/dist/src/workspace/local-workspace-app.d.ts +21 -0
  734. package/dist/src/workspace/maps/auth-failure.d.ts +5 -0
  735. package/dist/src/workspace/maps/error-boundary.d.ts +21 -0
  736. package/dist/src/workspace/maps/lat-lng.d.ts +8 -0
  737. package/dist/src/workspace/maps/location-map-renderer.d.ts +10 -0
  738. package/dist/src/workspace/maps/location-map.d.ts +40 -0
  739. package/dist/src/workspace/maps/location-picker-renderer.d.ts +20 -0
  740. package/dist/src/workspace/maps/location-picker.d.ts +31 -0
  741. package/dist/src/workspace/maps/use-browser-config.d.ts +11 -0
  742. package/dist/src/workspace/maps/use-reverse-geocode.d.ts +15 -0
  743. package/dist/src/workspace/mobile-nav.d.ts +13 -0
  744. package/dist/src/workspace/mutations.d.ts +10634 -0
  745. package/dist/src/workspace/no-access.d.ts +1 -0
  746. package/dist/src/workspace/page-navigation.d.ts +67 -0
  747. package/dist/src/workspace/page-state/branch-path.d.ts +7 -0
  748. package/dist/src/workspace/page-state/context.d.ts +14 -0
  749. package/dist/src/workspace/page-state/dashboard-context.d.ts +37 -0
  750. package/dist/src/workspace/page-state/dashboard.d.ts +65 -0
  751. package/dist/src/workspace/page-state/model.d.ts +48 -0
  752. package/dist/src/workspace/page-state/parameters.d.ts +11 -0
  753. package/dist/src/workspace/page-state/report.d.ts +16 -0
  754. package/dist/src/workspace/page-state/store.d.ts +10 -0
  755. package/dist/src/workspace/parameters/defaults.d.ts +7 -0
  756. package/dist/src/workspace/parameters/display.d.ts +28 -0
  757. package/dist/src/workspace/parameters/distinct-names.d.ts +12 -0
  758. package/dist/src/workspace/parameters/errors.d.ts +15 -0
  759. package/dist/src/workspace/parameters/form/shared-fields.d.ts +49 -0
  760. package/dist/src/workspace/parameters/form/values.d.ts +33 -0
  761. package/dist/src/workspace/parameters/geo-value.d.ts +9 -0
  762. package/dist/src/workspace/parameters/icon.d.ts +8 -0
  763. package/dist/src/workspace/parameters/inventory-options.d.ts +9 -0
  764. package/dist/src/workspace/parameters/live/condition.d.ts +4 -0
  765. package/dist/src/workspace/parameters/live/control-button.d.ts +13 -0
  766. package/dist/src/workspace/parameters/live/controls.d.ts +14 -0
  767. package/dist/src/workspace/parameters/live/coordinator.d.ts +87 -0
  768. package/dist/src/workspace/parameters/live/deadline.d.ts +13 -0
  769. package/dist/src/workspace/parameters/live/diagnostic-copy.d.ts +26 -0
  770. package/dist/src/workspace/parameters/live/diagnostic-links.d.ts +5 -0
  771. package/dist/src/workspace/parameters/live/diagnostics.d.ts +9 -0
  772. package/dist/src/workspace/parameters/live/history-windows.d.ts +53 -0
  773. package/dist/src/workspace/parameters/live/metric.d.ts +29 -0
  774. package/dist/src/workspace/parameters/live/model.d.ts +133 -0
  775. package/dist/src/workspace/parameters/live/provider.d.ts +49 -0
  776. package/dist/src/workspace/parameters/live/read-once.d.ts +13 -0
  777. package/dist/src/workspace/parameters/live/stale-note.d.ts +8 -0
  778. package/dist/src/workspace/parameters/live/use-history.d.ts +30 -0
  779. package/dist/src/workspace/parameters/live/use-stored-history.d.ts +85 -0
  780. package/dist/src/workspace/parameters/live/value-display.d.ts +25 -0
  781. package/dist/src/workspace/parameters/live/value-editor.d.ts +24 -0
  782. package/dist/src/workspace/parameters/live/write-review-dialog.d.ts +41 -0
  783. package/dist/src/workspace/parameters/live/write-review-form.d.ts +18 -0
  784. package/dist/src/workspace/parameters/live/write-sequence-dialog.d.ts +80 -0
  785. package/dist/src/workspace/parameters/metadata.d.ts +37 -0
  786. package/dist/src/workspace/parameters/option-labels.d.ts +14 -0
  787. package/dist/src/workspace/parameters/picker/browser.d.ts +41 -0
  788. package/dist/src/workspace/parameters/picker/model.d.ts +91 -0
  789. package/dist/src/workspace/parameters/picker/picker.d.ts +380 -0
  790. package/dist/src/workspace/parameters/runtime-errors.d.ts +23 -0
  791. package/dist/src/workspace/parameters/source-fields.d.ts +22 -0
  792. package/dist/src/workspace/parameters/value/cells.d.ts +21 -0
  793. package/dist/src/workspace/parameters/value/edit-draft.d.ts +24 -0
  794. package/dist/src/workspace/parameters/value/reads.d.ts +54 -0
  795. package/dist/src/workspace/parameters/value/state.d.ts +96 -0
  796. package/dist/src/workspace/parameters/value/type/datetime-parts.d.ts +12 -0
  797. package/dist/src/workspace/parameters/value/type/fields.d.ts +5 -0
  798. package/dist/src/workspace/parameters/value/type/geo.d.ts +10 -0
  799. package/dist/src/workspace/parameters/value/type/int-repr.d.ts +9 -0
  800. package/dist/src/workspace/parameters/writability.d.ts +26 -0
  801. package/dist/src/workspace/pull-instructions.d.ts +4 -0
  802. package/dist/src/workspace/query-gate.d.ts +40 -0
  803. package/dist/src/workspace/reports/aggregate-fetch.d.ts +25 -0
  804. package/dist/src/workspace/reports/bar-legend.d.ts +12 -0
  805. package/dist/src/workspace/reports/bar-path.d.ts +25 -0
  806. package/dist/src/workspace/reports/cadence-fetch.d.ts +25 -0
  807. package/dist/src/workspace/reports/calendar/demand.d.ts +46 -0
  808. package/dist/src/workspace/reports/calendar/layout.d.ts +98 -0
  809. package/dist/src/workspace/reports/calendar/representation.d.ts +7 -0
  810. package/dist/src/workspace/reports/cell-title.d.ts +11 -0
  811. package/dist/src/workspace/reports/chart/axes.d.ts +17 -0
  812. package/dist/src/workspace/reports/chart/build.d.ts +208 -0
  813. package/dist/src/workspace/reports/chart/caches.d.ts +57 -0
  814. package/dist/src/workspace/reports/chart/colors.d.ts +17 -0
  815. package/dist/src/workspace/reports/chart/comment-gutter.d.ts +44 -0
  816. package/dist/src/workspace/reports/chart/demand.d.ts +50 -0
  817. package/dist/src/workspace/reports/chart/paint.d.ts +17 -0
  818. package/dist/src/workspace/reports/chart/pan-zoom.d.ts +19 -0
  819. package/dist/src/workspace/reports/chart/payload.d.ts +57 -0
  820. package/dist/src/workspace/reports/chart/plot-interactions.d.ts +13 -0
  821. package/dist/src/workspace/reports/chart/plot-tooltip.d.ts +10 -0
  822. package/dist/src/workspace/reports/chart/plot.d.ts +29 -0
  823. package/dist/src/workspace/reports/chart/realtime.d.ts +96 -0
  824. package/dist/src/workspace/reports/chart/representation.d.ts +40 -0
  825. package/dist/src/workspace/reports/chart/tooltip.d.ts +36 -0
  826. package/dist/src/workspace/reports/chart/use-realtime.d.ts +44 -0
  827. package/dist/src/workspace/reports/color/cascade.d.ts +3 -0
  828. package/dist/src/workspace/reports/color/css.d.ts +5 -0
  829. package/dist/src/workspace/reports/color/select.d.ts +11 -0
  830. package/dist/src/workspace/reports/comments/author.d.ts +2 -0
  831. package/dist/src/workspace/reports/comments/errors.d.ts +11 -0
  832. package/dist/src/workspace/reports/comments/footer.d.ts +1 -0
  833. package/dist/src/workspace/reports/comments/use-comments.d.ts +9 -0
  834. package/dist/src/workspace/reports/csv/build.d.ts +29 -0
  835. package/dist/src/workspace/reports/csv/columns.d.ts +18 -0
  836. package/dist/src/workspace/reports/csv/fetch.d.ts +29 -0
  837. package/dist/src/workspace/reports/csv/use-export.d.ts +7 -0
  838. package/dist/src/workspace/reports/data/context.d.ts +79 -0
  839. package/dist/src/workspace/reports/data/extent.d.ts +40 -0
  840. package/dist/src/workspace/reports/data/provider.d.ts +20 -0
  841. package/dist/src/workspace/reports/data/report-caches.d.ts +56 -0
  842. package/dist/src/workspace/reports/data/specs.d.ts +38 -0
  843. package/dist/src/workspace/reports/demand-cache.d.ts +76 -0
  844. package/dist/src/workspace/reports/element-size.d.ts +7 -0
  845. package/dist/src/workspace/reports/generated.d.ts +46 -0
  846. package/dist/src/workspace/reports/histogram/build.d.ts +1 -0
  847. package/dist/src/workspace/reports/histogram/demand.d.ts +26 -0
  848. package/dist/src/workspace/reports/histogram/plot.d.ts +42 -0
  849. package/dist/src/workspace/reports/histogram/representation.d.ts +8 -0
  850. package/dist/src/workspace/reports/histogram/slots.d.ts +19 -0
  851. package/dist/src/workspace/reports/hourly-matrix/demand.d.ts +28 -0
  852. package/dist/src/workspace/reports/hourly-matrix/layout.d.ts +36 -0
  853. package/dist/src/workspace/reports/hourly-matrix/model.d.ts +66 -0
  854. package/dist/src/workspace/reports/hourly-matrix/representation.d.ts +7 -0
  855. package/dist/src/workspace/reports/html/build.d.ts +57 -0
  856. package/dist/src/workspace/reports/html/cache-clone.d.ts +36 -0
  857. package/dist/src/workspace/reports/html/calendar.d.ts +15 -0
  858. package/dist/src/workspace/reports/html/comments.d.ts +13 -0
  859. package/dist/src/workspace/reports/html/css.d.ts +2 -0
  860. package/dist/src/workspace/reports/html/document.d.ts +5 -0
  861. package/dist/src/workspace/reports/html/escape.d.ts +6 -0
  862. package/dist/src/workspace/reports/html/matrix.d.ts +13 -0
  863. package/dist/src/workspace/reports/html/mounted.d.ts +19 -0
  864. package/dist/src/workspace/reports/html/png.d.ts +39 -0
  865. package/dist/src/workspace/reports/html/ready.d.ts +56 -0
  866. package/dist/src/workspace/reports/html/table.d.ts +3 -0
  867. package/dist/src/workspace/reports/html/use-render.d.ts +8 -0
  868. package/dist/src/workspace/reports/html/widgets.d.ts +31 -0
  869. package/dist/src/workspace/reports/page.d.ts +4 -0
  870. package/dist/src/workspace/reports/preset/errors.d.ts +5 -0
  871. package/dist/src/workspace/reports/preset/form-helpers.d.ts +65 -0
  872. package/dist/src/workspace/reports/preset/submit.d.ts +43 -0
  873. package/dist/src/workspace/reports/quick-report.d.ts +17 -0
  874. package/dist/src/workspace/reports/readings-client.d.ts +23 -0
  875. package/dist/src/workspace/reports/runtime-chrome.d.ts +15 -0
  876. package/dist/src/workspace/reports/sankey/demand.d.ts +47 -0
  877. package/dist/src/workspace/reports/sankey/graph.d.ts +28 -0
  878. package/dist/src/workspace/reports/sankey/layout.d.ts +80 -0
  879. package/dist/src/workspace/reports/sankey/representation.d.ts +7 -0
  880. package/dist/src/workspace/reports/sankey/use-caches.d.ts +16 -0
  881. package/dist/src/workspace/reports/session/init.d.ts +9 -0
  882. package/dist/src/workspace/reports/session/storage.d.ts +24 -0
  883. package/dist/src/workspace/reports/state-duration/demand.d.ts +39 -0
  884. package/dist/src/workspace/reports/state-duration/reduce.d.ts +27 -0
  885. package/dist/src/workspace/reports/state-duration/representation.d.ts +7 -0
  886. package/dist/src/workspace/reports/state-duration/use-caches.d.ts +15 -0
  887. package/dist/src/workspace/reports/table/cache-fetch.d.ts +8 -0
  888. package/dist/src/workspace/reports/table/chunk.d.ts +31 -0
  889. package/dist/src/workspace/reports/table/demand.d.ts +83 -0
  890. package/dist/src/workspace/reports/table/fetch.d.ts +42 -0
  891. package/dist/src/workspace/reports/table/format.d.ts +7 -0
  892. package/dist/src/workspace/reports/table/representation.d.ts +10 -0
  893. package/dist/src/workspace/reports/table/rows.d.ts +31 -0
  894. package/dist/src/workspace/reports/table/snapshot.d.ts +40 -0
  895. package/dist/src/workspace/reports/table/totals.d.ts +4 -0
  896. package/dist/src/workspace/reports/time-buckets/build.d.ts +40 -0
  897. package/dist/src/workspace/reports/time-buckets/demand.d.ts +52 -0
  898. package/dist/src/workspace/reports/time-buckets/navigate.d.ts +26 -0
  899. package/dist/src/workspace/reports/time-buckets/plot.d.ts +58 -0
  900. package/dist/src/workspace/reports/time-buckets/representation.d.ts +8 -0
  901. package/dist/src/workspace/reports/time-buckets/slots.d.ts +23 -0
  902. package/dist/src/workspace/reports/time-nav.d.ts +1 -0
  903. package/dist/src/workspace/reports/use-demand-cache.d.ts +29 -0
  904. package/dist/src/workspace/reports/use-quick-report.d.ts +45 -0
  905. package/dist/src/workspace/reports/view.d.ts +6 -0
  906. package/dist/src/workspace/routes.d.ts +23 -0
  907. package/dist/src/workspace/setup/automations/alarm-rule-dialog.d.ts +7 -0
  908. package/dist/src/workspace/setup/automations/alarm-rule-lists.d.ts +61 -0
  909. package/dist/src/workspace/setup/automations/alarm-rules-page.d.ts +4 -0
  910. package/dist/src/workspace/setup/automations/document.d.ts +39 -0
  911. package/dist/src/workspace/setup/automations/dry-run.d.ts +12 -0
  912. package/dist/src/workspace/setup/automations/editor-form.d.ts +22 -0
  913. package/dist/src/workspace/setup/automations/editor-page.d.ts +14 -0
  914. package/dist/src/workspace/setup/automations/editor-tab.d.ts +6 -0
  915. package/dist/src/workspace/setup/automations/entity-controls.d.ts +22 -0
  916. package/dist/src/workspace/setup/automations/history.d.ts +15 -0
  917. package/dist/src/workspace/setup/automations/list-page.d.ts +28 -0
  918. package/dist/src/workspace/setup/automations/starter-dialog.d.ts +10 -0
  919. package/dist/src/workspace/setup/automations/starter-handoff.d.ts +17 -0
  920. package/dist/src/workspace/setup/base-revision.d.ts +64 -0
  921. package/dist/src/workspace/setup/breadcrumbs.d.ts +10 -0
  922. package/dist/src/workspace/setup/catalog-list.d.ts +21 -0
  923. package/dist/src/workspace/setup/dashboards-order.d.ts +10 -0
  924. package/dist/src/workspace/setup/dashboards-page.d.ts +24 -0
  925. package/dist/src/workspace/setup/dashboards-reorder-queue.d.ts +13 -0
  926. package/dist/src/workspace/setup/dashboards-sortable-list.d.ts +6 -0
  927. package/dist/src/workspace/setup/endpoints/connection-error.d.ts +3 -0
  928. package/dist/src/workspace/setup/endpoints/connection-indicator.d.ts +4 -0
  929. package/dist/src/workspace/setup/endpoints/device-log-clock.d.ts +7 -0
  930. package/dist/src/workspace/setup/endpoints/display.d.ts +12 -0
  931. package/dist/src/workspace/setup/endpoints/edit-dialog.d.ts +5 -0
  932. package/dist/src/workspace/setup/endpoints/enabled-switch.d.ts +10 -0
  933. package/dist/src/workspace/setup/endpoints/form-problem.d.ts +5 -0
  934. package/dist/src/workspace/setup/endpoints/page.d.ts +11 -0
  935. package/dist/src/workspace/setup/endpoints/presence-challenge.d.ts +34 -0
  936. package/dist/src/workspace/setup/endpoints/presence-code.d.ts +6 -0
  937. package/dist/src/workspace/setup/endpoints/programs/deploy-status-bar.d.ts +13 -0
  938. package/dist/src/workspace/setup/endpoints/programs/device-log.d.ts +15 -0
  939. package/dist/src/workspace/setup/endpoints/programs/dialogs.d.ts +16 -0
  940. package/dist/src/workspace/setup/endpoints/programs/live-state-pane.d.ts +7 -0
  941. package/dist/src/workspace/setup/endpoints/programs/program-editor.d.ts +79 -0
  942. package/dist/src/workspace/setup/endpoints/programs/programs-tab.d.ts +14 -0
  943. package/dist/src/workspace/setup/endpoints/programs/settings-dialog.d.ts +9 -0
  944. package/dist/src/workspace/setup/endpoints/programs/starter-dialog.d.ts +17 -0
  945. package/dist/src/workspace/setup/endpoints/programs/tasks-table.d.ts +5 -0
  946. package/dist/src/workspace/setup/endpoints/sharing.d.ts +9 -0
  947. package/dist/src/workspace/setup/endpoints/status-connection.d.ts +8 -0
  948. package/dist/src/workspace/setup/endpoints/status-device-ui-progress.d.ts +9 -0
  949. package/dist/src/workspace/setup/endpoints/status-device-ui.d.ts +8 -0
  950. package/dist/src/workspace/setup/endpoints/status-page.d.ts +14 -0
  951. package/dist/src/workspace/setup/endpoints/status-recorded.d.ts +13 -0
  952. package/dist/src/workspace/setup/endpoints/status-tab.d.ts +12 -0
  953. package/dist/src/workspace/setup/endpoints/wireguard-docs.d.ts +11 -0
  954. package/dist/src/workspace/setup/files/errors.d.ts +1 -0
  955. package/dist/src/workspace/setup/files/http.d.ts +21 -0
  956. package/dist/src/workspace/setup/files/page.d.ts +3 -0
  957. package/dist/src/workspace/setup/menu.d.ts +14 -0
  958. package/dist/src/workspace/setup/nav.d.ts +11 -0
  959. package/dist/src/workspace/setup/parameters/dialogs.d.ts +32 -0
  960. package/dist/src/workspace/setup/parameters/edit/create-branch-form.d.ts +10 -0
  961. package/dist/src/workspace/setup/parameters/edit/dialog-body.d.ts +13 -0
  962. package/dist/src/workspace/setup/parameters/edit/form.d.ts +22 -0
  963. package/dist/src/workspace/setup/parameters/page.d.ts +3 -0
  964. package/dist/src/workspace/setup/parameters/recorded.d.ts +14 -0
  965. package/dist/src/workspace/setup/parameters/selection.d.ts +45 -0
  966. package/dist/src/workspace/setup/parameters/stamp-from-template-form.d.ts +10 -0
  967. package/dist/src/workspace/setup/parameters/toolbar.d.ts +32 -0
  968. package/dist/src/workspace/setup/parameters/tree/expand.d.ts +10 -0
  969. package/dist/src/workspace/setup/parameters/tree/model.d.ts +61 -0
  970. package/dist/src/workspace/setup/parameters/tree/rows.d.ts +38 -0
  971. package/dist/src/workspace/setup/parameters/tree/storage.d.ts +13 -0
  972. package/dist/src/workspace/setup/parameters/use-tree-selection.d.ts +21 -0
  973. package/dist/src/workspace/setup/parameters/use-tree-view.d.ts +22 -0
  974. package/dist/src/workspace/setup/report/add-parameters-dialog.d.ts +8 -0
  975. package/dist/src/workspace/setup/report/calendar-editor.d.ts +9 -0
  976. package/dist/src/workspace/setup/report/chart-editor.d.ts +14 -0
  977. package/dist/src/workspace/setup/report/edit/confirm-removal-dialog.d.ts +9 -0
  978. package/dist/src/workspace/setup/report/edit/dialog-body.d.ts +10 -0
  979. package/dist/src/workspace/setup/report/edit/form.d.ts +14 -0
  980. package/dist/src/workspace/setup/report/edit/representations-section.d.ts +11 -0
  981. package/dist/src/workspace/setup/report/edit/sections.d.ts +23 -0
  982. package/dist/src/workspace/setup/report/edit/state.d.ts +29 -0
  983. package/dist/src/workspace/setup/report/foldable-item-card.d.ts +47 -0
  984. package/dist/src/workspace/setup/report/histogram-editor.d.ts +9 -0
  985. package/dist/src/workspace/setup/report/hourly-matrix-editor.d.ts +9 -0
  986. package/dist/src/workspace/setup/report/includes-literal.d.ts +1 -0
  987. package/dist/src/workspace/setup/report/layout-editor.d.ts +6 -0
  988. package/dist/src/workspace/setup/report/number-draft-input.d.ts +23 -0
  989. package/dist/src/workspace/setup/report/page.d.ts +3 -0
  990. package/dist/src/workspace/setup/report/sankey-editor.d.ts +9 -0
  991. package/dist/src/workspace/setup/report/state-duration-editor.d.ts +9 -0
  992. package/dist/src/workspace/setup/report/table-editor.d.ts +9 -0
  993. package/dist/src/workspace/setup/report/time-buckets-editor.d.ts +9 -0
  994. package/dist/src/workspace/setup/route/dialog.d.ts +33 -0
  995. package/dist/src/workspace/setup/route/dialogs.d.ts +41 -0
  996. package/dist/src/workspace/setup/sections.d.ts +17 -0
  997. package/dist/src/workspace/setup/starters/starter-fields.d.ts +45 -0
  998. package/dist/src/workspace/setup/starters/starter-form.d.ts +50 -0
  999. package/dist/src/workspace/setup/storage/dialogs.d.ts +77 -0
  1000. package/dist/src/workspace/setup/storage/format.d.ts +6 -0
  1001. package/dist/src/workspace/setup/storage/page.d.ts +3 -0
  1002. package/dist/src/workspace/setup/storage/retention-note.d.ts +11 -0
  1003. package/dist/src/workspace/setup/storage/retention.d.ts +21 -0
  1004. package/dist/src/workspace/shell.d.ts +21 -0
  1005. package/dist/src/workspace/sidebar-nav-link.d.ts +13 -0
  1006. package/dist/src/workspace/suspended.d.ts +8 -0
  1007. package/dist/starter-fields-BRLX0z-v.js +586 -0
  1008. package/dist/starter-handoff-BA3ucMKL.js +19 -0
  1009. package/dist/status-page-DAHiKM9P.js +3286 -0
  1010. package/dist/styles-reference.css +54 -0
  1011. package/dist/styles.css +2 -0
  1012. package/dist/switch-BqD0RH_G.js +18 -0
  1013. package/dist/table-Q2-voLuw.js +65 -0
  1014. package/dist/tabs-CSIucYFP.js +57 -0
  1015. package/dist/theme-provider-BkRohQFU.js +61 -0
  1016. package/dist/toggle-group-9Bs0Mm3r.js +82 -0
  1017. package/dist/trpc-CvJUuUXp.js +153 -0
  1018. package/dist/ui.js +2174 -0
  1019. package/dist/uk-CwpJAxmx.js +4578 -0
  1020. package/dist/utils-CX-Pz5p6.js +8 -0
  1021. package/dist/wireguard-docs-AfU6NzTL.js +81 -0
  1022. package/dist/writability-BuH-spxv.js +57 -0
  1023. package/package.json +149 -3
package/dist/host.js ADDED
@@ -0,0 +1,1523 @@
1
+ import { i as e, n as t, r as n, t as r } from "./trpc-CvJUuUXp.js";
2
+ import { f as i, h as a, m as o, r as s, t as c } from "./i18n-BgzakKoC.js";
3
+ import { t as l } from "./utils-CX-Pz5p6.js";
4
+ import { t as u } from "./button-6SxPBYMz.js";
5
+ import { _ as d, g as f } from "./dialog-BIhQXcZC.js";
6
+ import { n as p } from "./skeleton-6yk8Tdh5.js";
7
+ import { c as m, n as h, o as g, t as _ } from "./context-u9KJQmdB.js";
8
+ import { a as v, i as y, l as b, n as ee, o as x, r as S, s as C, t as te, u as w } from "./dialogs-D_v1LeH4.js";
9
+ import { t as T } from "./api-error-9rQmUN5L.js";
10
+ import { a as E, c as ne, l as re, s as D } from "./dashboard-context-CBfG6DoT.js";
11
+ import { n as ie, o as ae, t as oe } from "./provider-BOeYHi0n.js";
12
+ import { c as se, l as O, o as ce, s as le } from "./progress-C7cxNJA1.js";
13
+ import { t as ue } from "./page-title-CdCbiLt8.js";
14
+ import { d as de, f as fe, p as k } from "./mutations-THtGG6Ai.js";
15
+ import { t as pe } from "./copyable-id-DYGiAcnq.js";
16
+ import { c as me, h as he, l as ge, r as _e, t as ve } from "./dropdown-menu-DSzbBq3v.js";
17
+ import { a as ye, c as be, l as xe, n as Se, r as Ce, t as we } from "./panel-DDy8tUNR.js";
18
+ import { n as Te, t as Ee } from "./theme-provider-BkRohQFU.js";
19
+ import { n as De } from "./query-gate-DVhNIkge.js";
20
+ import { h as Oe, i as ke, m as Ae, o as je, s as Me } from "./dashboards-page-BlrJguNz.js";
21
+ import { r as Ne, t as Pe } from "./sections-kCOyc4NR.js";
22
+ import { i as Fe, r as Ie, t as Le } from "./index-page-DMH82fZe.js";
23
+ import { n as Re, r as ze } from "./search-D4rDnE9T.js";
24
+ import { r as Be } from "./display-DmOo23mi.js";
25
+ import { r as Ve, t as He } from "./page-DWO427hT.js";
26
+ import { a as Ue } from "./alarm-rule-lists-C5v1Kf7A.js";
27
+ import { r as We, t as Ge } from "./history-page-sAAhG54V.js";
28
+ import { n as Ke } from "./page-6rIoTg2L.js";
29
+ import { t as qe } from "./page-2KPemaAj.js";
30
+ import { t as Je } from "./status-page-DAHiKM9P.js";
31
+ import { t as Ye } from "./page-C6giEoEd.js";
32
+ import { t as Xe } from "./page-LXu_2zm3.js";
33
+ import { r as Ze, t as Qe } from "./page-DCbTxKsi.js";
34
+ import { QueryClientProvider as $e, useQuery as et, useQueryClient as tt } from "@tanstack/react-query";
35
+ import { Component as nt, createContext as rt, useCallback as it, useContext as at, useEffect as A, useMemo as ot, useRef as st, useState as j } from "react";
36
+ import { HMI_CLIENT_HEADER as ct, formatHmiClient as lt } from "@overvis/hmi-shared/api-errors";
37
+ import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
38
+ import { ArrowLeftIcon as ut, CirclePauseIcon as dt, MenuIcon as ft, MoonIcon as pt, PanelLeftCloseIcon as mt, PanelLeftOpenIcon as ht, SirenIcon as gt, SunIcon as _t } from "lucide-react";
39
+ import { appLocaleUiCode as vt, appLocales as yt, resolveLocalized as bt } from "@overvis/hmi-shared";
40
+ import { canWriteSetup as xt, workspaceBrandingSchema as St, workspaceChangeEventSchema as Ct } from "@overvis/hmi-shared/workspace";
41
+ import { Link as wt, Navigate as Tt, Outlet as Et, RouterProvider as Dt, createLink as Ot, createRootRoute as kt, createRoute as F, createRouter as At, lazyRouteComponent as I, redirect as jt, useNavigate as L, useParams as Mt, useRouterState as R, useSearch as Nt } from "@tanstack/react-router";
42
+ //#region src/workspace/local-message-identity.ts
43
+ function Pt(e, t, n) {
44
+ return `local:${new URL(e.replace(/\/+$/, "") || "/", n).href}:${t}`;
45
+ }
46
+ //#endregion
47
+ //#region src/brand/workspace-favicon.tsx
48
+ function Ft({ src: e }) {
49
+ return A(() => {
50
+ if (!e) return;
51
+ let t = document.querySelector("link[rel=\"icon\"]");
52
+ if (!t) return;
53
+ let n = e, r = t, i = t.href, a = t.type, o = new AbortController(), s = null;
54
+ async function c() {
55
+ try {
56
+ let e = await fetch(n, {
57
+ signal: o.signal,
58
+ credentials: "same-origin"
59
+ });
60
+ if (!e.ok) return;
61
+ let t = await e.blob();
62
+ o.signal.throwIfAborted(), s = URL.createObjectURL(t);
63
+ let i = new Image();
64
+ i.src = s, await i.decode(), o.signal.throwIfAborted(), r.type = "image/png", r.href = s;
65
+ } catch {
66
+ s && URL.revokeObjectURL(s), s = null;
67
+ }
68
+ }
69
+ return c(), () => {
70
+ o.abort(), t.href = i, t.type = a, s && URL.revokeObjectURL(s), s = null;
71
+ };
72
+ }, [e]), null;
73
+ }
74
+ //#endregion
75
+ //#region src/brand/overvis-logo.tsx
76
+ var It = "M26.8622917,16.2352941 C26.8622917,10.1276742 21.9039332,5.17647059 15.7874872,5.17647059 C9.67104132,5.17647059 4.71268276,10.1276742 4.71268276,16.2352941 C4.71268276,22.342914 9.67104132,27.2941176 15.7874872,27.2941176 C21.9039332,27.2941176 26.8622917,22.342914 26.8622917,16.2352941 Z M18.5561884,16.2352941 C18.5561884,14.7083891 17.3165987,13.4705882 15.7874872,13.4705882 C14.2583758,13.4705882 13.0187861,14.7083891 13.0187861,16.2352941 C13.0187861,17.7621991 14.2583758,19 15.7874872,19 C17.3165987,19 18.5561884,17.7621991 18.5561884,16.2352941 Z", Lt = "M32.0155255,32 L16.0077627,32 L1.4501806,32 L0,32 L7.88746468e-10,30.555242 L8.70655263e-09,16.0520946 L0,0.104189277 L15.9519866,0.104189277 L15.9519866,2.99381269 C8.73862471,3.02375987 2.9003612,8.8586765 2.9003612,16.0520946 L2.9003612,29.110484 L16.0077627,29.110484 C23.2467811,29.110484 29.1151643,23.2640444 29.1151643,16.0520946 C29.1151643,16.0335631 32.0154303,15.996527 32.0154303,15.996527 C32.0154937,16.0150421 32.0155255,32 32.0155255,32 Z", Rt = "M49.2197101,7.85275362 C50.3597352,7.85275362 51.3601503,8.0156119 52.2209855,8.34133333 C53.0818207,8.66705477 53.8088666,9.19052779 54.4021449,9.91176812 C54.9954233,10.6330084 55.4432835,11.5694435 55.7457391,12.7211014 C56.0481947,13.8727594 56.1994203,15.2745038 56.1994203,16.9263768 C56.1994203,18.5782498 56.0481947,19.9799942 55.7457391,21.1316522 C55.4432835,22.2833101 54.9954233,23.2197452 54.4021449,23.9409855 C53.8088666,24.6622258 53.0818207,25.1856989 52.2209855,25.5114203 C51.3601503,25.8371417 50.3597352,26 49.2197101,26 C48.0796851,26 47.07927,25.8371417 46.2184348,25.5114203 C45.3575996,25.1856989 44.6305537,24.6622258 44.0372754,23.9409855 C43.443997,23.2197452 42.9961368,22.2833101 42.6936812,21.1316522 C42.3912255,19.9799942 42.24,18.5782498 42.24,16.9263768 C42.24,15.2745038 42.3912255,13.8727594 42.6936812,12.7211014 C42.9961368,11.5694435 43.443997,10.6330084 44.0372754,9.91176812 C44.6305537,9.19052779 45.3575996,8.66705477 46.2184348,8.34133333 C47.07927,8.0156119 48.0796851,7.85275362 49.2197101,7.85275362 Z M49.2197101,10.1211594 C48.8241913,10.1211594 48.4577601,10.2200377 48.1204058,10.4177971 C47.7830515,10.6155565 47.4864167,10.9703549 47.2304928,11.4822029 C46.9745688,11.9940509 46.7768123,12.6920149 46.6372174,13.5761159 C46.4976225,14.460217 46.4278261,15.5769594 46.4278261,16.9263768 C46.4278261,18.2757942 46.4976225,19.3925366 46.6372174,20.2766377 C46.7768123,21.1607387 46.9745688,21.8587028 47.2304928,22.3705507 C47.4864167,22.8823987 47.7830515,23.2371971 48.1204058,23.4349565 C48.4577601,23.632716 48.8241913,23.7315942 49.2197101,23.7315942 C49.615229,23.7315942 49.9816601,23.632716 50.3190145,23.4349565 C50.6563688,23.2371971 50.9530036,22.8823987 51.2089275,22.3705507 C51.4648515,21.8587028 51.662608,21.1607387 51.8022029,20.2766377 C51.9417978,19.3925366 52.0115942,18.2757942 52.0115942,16.9263768 C52.0115942,15.5769594 51.9417978,14.460217 51.8022029,13.5761159 C51.662608,12.6920149 51.4648515,11.9940509 51.2089275,11.4822029 C50.9530036,10.9703549 50.6563688,10.6155565 50.3190145,10.4177971 C49.9816601,10.2200377 49.615229,10.1211594 49.2197101,10.1211594 Z M62.1546891,25.6510145 L57.0943992,8.20173913 L61.2822253,8.20173913 L64.7022833,21.2886957 L64.8418775,21.2886957 L68.2619355,8.20173913 L72.4497615,8.20173913 L67.3894717,25.6510145 L62.1546891,25.6510145 Z M86.6061898,18.1478261 L77.5325666,18.1478261 C77.5325666,20.1486863 77.887365,21.5504308 78.5969724,22.3531014 C79.3065798,23.1557721 80.4058731,23.5571014 81.8948854,23.5571014 L85.733726,23.5571014 L85.733726,25.302029 C85.1986122,25.4881555 84.52973,25.6510138 83.7270593,25.7906087 C82.9243886,25.9302036 82.0810154,26 81.1969144,26 C79.847497,26 78.6784073,25.8371417 77.68961,25.5114203 C76.7008128,25.1856989 75.8865215,24.6622258 75.2467115,23.9409855 C74.6069015,23.2197452 74.1299594,22.2833101 73.8158709,21.1316522 C73.5017824,19.9799942 73.3447405,18.5782498 73.3447405,16.9263768 C73.3447405,15.2745038 73.495966,13.8727594 73.7984216,12.7211014 C74.1008773,11.5694435 74.5312884,10.6330084 75.089668,9.91176812 C75.6480476,9.19052779 76.3401953,8.66705477 77.1661318,8.34133333 C77.9920683,8.0156119 78.9285034,7.85275362 79.9754651,7.85275362 C81.0224269,7.85275362 81.958862,8.0156119 82.7847985,8.34133333 C83.6107349,8.66705477 84.3028826,9.19052779 84.8612622,9.91176812 C85.4196418,10.6330084 85.850053,11.5694435 86.1525086,12.7211014 C86.4549642,13.8727594 86.6061898,15.2745038 86.6061898,16.9263768 L86.6061898,18.1478261 Z M82.4183637,15.7049275 C82.4183637,14.5649025 82.3543836,13.6342838 82.2264216,12.9130435 C82.0984596,12.1918032 81.929785,11.6217992 81.7203927,11.2030145 C81.5110003,10.7842298 81.2550802,10.4992278 80.9526245,10.348 C80.6501689,10.1967722 80.3244524,10.1211594 79.9754651,10.1211594 C79.6264779,10.1211594 79.3007613,10.1967722 78.9983057,10.348 C78.6958501,10.4992278 78.4399299,10.7842298 78.2305376,11.2030145 C78.0211452,11.6217992 77.8524706,12.1918032 77.7245086,12.9130435 C77.5965466,13.6342838 77.5325666,14.5649025 77.5325666,15.7049275 L82.4183637,15.7049275 Z M99.5411687,8.20173913 L99.5411687,11.1681159 L95.7023281,11.1681159 C95.2602776,11.1681159 94.8763974,11.2379123 94.5506759,11.3775072 C94.2249545,11.5171021 93.9690344,11.6799604 93.7829078,11.866087 L93.7829078,25.6510145 L89.5950817,25.6510145 L89.5950817,8.20173913 L92.5614585,8.20173913 L93.0849368,9.59768116 L93.2594296,9.59768116 C93.6316826,9.24869391 94.1318902,8.92879372 94.7600672,8.63797101 C95.3882443,8.3471483 96.2258011,8.20173913 97.2727629,8.20173913 L99.5411687,8.20173913 Z M106.250696,25.6510145 L101.190407,8.20173913 L105.378233,8.20173913 L108.798291,21.2886957 L108.937885,21.2886957 L112.357943,8.20173913 L116.545769,8.20173913 L111.485479,25.6510145 L106.250696,25.6510145 Z M123.024516,25.6510145 L118.83669,25.6510145 L118.83669,8.20173913 L123.024516,8.20173913 L123.024516,25.6510145 Z M123.024516,1.92 L123.024516,6.10782609 L118.83669,6.10782609 L118.83669,1.92 L123.024516,1.92 Z M130.026741,12.3895652 C130.026741,12.9944765 130.230314,13.4888676 130.637466,13.8727536 C131.044618,14.2566396 131.550642,14.5939889 132.155553,14.8848116 C132.760464,15.1756343 133.417714,15.4606363 134.127321,15.7398261 C134.836928,16.0190159 135.494178,16.3621815 136.099089,16.7693333 C136.704,17.1764851 137.210024,17.6999582 137.617176,18.3397681 C138.024328,18.9795781 138.227901,19.7880531 138.227901,20.7652174 C138.227901,21.8121791 138.076675,22.6730015 137.77422,23.3477101 C137.471764,24.0224188 137.006455,24.5575246 136.378278,24.9530435 C135.7501,25.3485624 134.964891,25.6219316 134.022625,25.7731594 C133.08036,25.9243872 131.981066,26 130.724712,26 C129.840611,26 128.997238,25.9302036 128.194567,25.7906087 C127.391897,25.6510138 126.723015,25.4881555 126.187901,25.302029 L126.187901,23.5571014 L130.026741,23.5571014 C131.352893,23.5571014 132.353308,23.3709777 133.028017,22.9987246 C133.702725,22.6264716 134.040075,21.9983039 134.040075,21.1142029 C134.040075,20.5092917 133.836502,20.0149005 133.42935,19.6310145 C133.022198,19.2471285 132.516174,18.9097792 131.911263,18.6189565 C131.306352,18.3281338 130.649102,18.0431318 129.939495,17.763942 C129.229888,17.4847522 128.572638,17.1415866 127.967727,16.7344348 C127.362816,16.327283 126.856792,15.8096263 126.44964,15.1814493 C126.042488,14.5532722 125.838915,13.7389808 125.838915,12.7385507 C125.838915,11.7846522 125.990141,10.9936263 126.292596,10.3654493 C126.595052,9.73727222 127.03128,9.23706466 127.601292,8.86481159 C128.171305,8.49255853 128.880901,8.23082201 129.730104,8.0795942 C130.579306,7.92836639 131.550639,7.85275362 132.644133,7.85275362 C133.528234,7.85275362 134.371607,7.92255003 135.174278,8.06214493 C135.976948,8.20173983 136.64583,8.3645981 137.180944,8.55072464 L137.180944,10.2956522 L133.342104,10.2956522 C132.364939,10.2956522 131.568097,10.4701432 130.951553,10.8191304 C130.335009,11.1681177 130.026741,11.6915907 130.026741,12.3895652 Z", zt = "M152.24 25.65L149.75 25.65L149.75 8.2L152.24 8.2L152.24 15.88L157.22 15.88L157.22 8.2L159.72 8.2L159.72 25.65L157.22 25.65L157.22 17.72L152.24 17.72L152.24 25.65ZM166.25 25.65L163.78 25.65L164.78 8.2L167.7 8.2L171.71 20.12L171.81 20.12L175.85 8.2L178.74 8.2L179.74 25.65L177.29 25.65L176.57 13.06L176.45 13.06L172.98 23.46L170.56 23.46L167.07 13.06L166.97 13.06L166.25 25.65ZM186.32 25.65L183.83 25.65L183.83 8.2L186.32 8.2L186.32 25.65Z";
77
+ function Bt({ className: e, markOnly: t = !1 }) {
78
+ return /* @__PURE__ */ P("svg", {
79
+ xmlns: "http://www.w3.org/2000/svg",
80
+ viewBox: t ? "0 0 32 32" : "0 0 139 32",
81
+ fill: "currentColor",
82
+ fillRule: "evenodd",
83
+ role: "img",
84
+ "aria-label": "Overvis",
85
+ className: l(t ? "size-7" : "h-7 w-auto", e),
86
+ children: [
87
+ /* @__PURE__ */ N("path", { d: It }),
88
+ /* @__PURE__ */ N("path", { d: Lt }),
89
+ /* @__PURE__ */ N("path", { d: Rt })
90
+ ]
91
+ });
92
+ }
93
+ function Vt({ className: e }) {
94
+ return /* @__PURE__ */ P("svg", {
95
+ xmlns: "http://www.w3.org/2000/svg",
96
+ viewBox: "0 0 187 32",
97
+ fill: "currentColor",
98
+ fillRule: "evenodd",
99
+ role: "img",
100
+ "aria-label": "Overvis HMI",
101
+ className: l("h-7 w-auto", e),
102
+ children: [
103
+ /* @__PURE__ */ N("path", { d: It }),
104
+ /* @__PURE__ */ N("path", { d: Lt }),
105
+ /* @__PURE__ */ N("path", { d: Rt }),
106
+ /* @__PURE__ */ N("path", { d: zt })
107
+ ]
108
+ });
109
+ }
110
+ //#endregion
111
+ //#region src/brand/brand-link.tsx
112
+ function Ht({ to: e, label: t, children: n, compact: r }) {
113
+ let i = o(), a = n ?? /* @__PURE__ */ N(Vt, { className: "h-5" }), s = r ?? (n == null ? /* @__PURE__ */ N(Bt, {
114
+ markOnly: !0,
115
+ className: "size-6"
116
+ }) : a);
117
+ return /* @__PURE__ */ P(wt, {
118
+ to: e,
119
+ className: "\n flex shrink-0 items-end gap-1.5 text-foreground outline-none\n focus-visible:ring-2 focus-visible:ring-ring\n ",
120
+ "aria-label": t || i("brand_name"),
121
+ children: [/* @__PURE__ */ N("span", {
122
+ className: "sm:hidden",
123
+ children: s
124
+ }), /* @__PURE__ */ N("span", {
125
+ className: "\n hidden\n sm:inline-flex\n ",
126
+ children: a
127
+ })]
128
+ });
129
+ }
130
+ //#endregion
131
+ //#region src/brand/workspace-brand-link.tsx
132
+ function Ut({ src: e, name: t }) {
133
+ let [n, r] = j(null);
134
+ return /* @__PURE__ */ N("span", {
135
+ className: "inline-flex h-5 items-center",
136
+ children: e && n !== e ? /* @__PURE__ */ N("img", {
137
+ src: e,
138
+ alt: t,
139
+ className: "h-5 w-auto max-w-none",
140
+ onError: () => {
141
+ r(e);
142
+ }
143
+ }) : /* @__PURE__ */ N(Vt, { className: "h-5" })
144
+ });
145
+ }
146
+ function Wt({ name: e, light: t, dark: n }) {
147
+ let { resolvedTheme: r } = Te(), i = r === "dark" ? n : t, [a, o] = j(null);
148
+ return t === void 0 || n === void 0 ? null : !i || a === i ? /* @__PURE__ */ N(Ht, { to: "/" }) : /* @__PURE__ */ N(Ht, {
149
+ to: "/",
150
+ label: e,
151
+ children: /* @__PURE__ */ N("img", {
152
+ src: i,
153
+ alt: "",
154
+ className: "h-5 w-auto max-w-none",
155
+ onError: () => {
156
+ o(i);
157
+ }
158
+ })
159
+ });
160
+ }
161
+ //#endregion
162
+ //#region src/brand/local-brand-link.tsx
163
+ function Gt(e) {
164
+ return ["local-workspace-branding", e];
165
+ }
166
+ function Kt({ workspaceId: e, subscribeChanges: t }) {
167
+ let r = n.workspace.get.useQuery({ id: e }), i = tt(), a = et({
168
+ queryKey: Gt(e),
169
+ queryFn: async () => {
170
+ let e = await fetch("/__hmi/branding", { cache: "no-store" });
171
+ if (!e.ok) throw Error("branding_unavailable");
172
+ let t = await e.json(), n = St["~standard"].validate(t);
173
+ if (n.issues) throw Error("branding_invalid");
174
+ return n.value;
175
+ },
176
+ staleTime: Infinity,
177
+ retry: !1
178
+ });
179
+ A(() => t?.(() => {
180
+ i.invalidateQueries({ queryKey: Gt(e) });
181
+ }), [
182
+ t,
183
+ i,
184
+ e
185
+ ]);
186
+ let o = a.data;
187
+ return /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(Ft, { src: o?.favicon?.valid ? `/${o.favicon.path}?v=${o.favicon.revision}` : null }), /* @__PURE__ */ N(Wt, {
188
+ name: r.data?.name ?? e,
189
+ light: o ? o.light?.valid ? `/${o.light.path}?v=${o.light.revision}` : null : a.isError ? null : void 0,
190
+ dark: o ? o.dark?.valid ? `/${o.dark.path}?v=${o.dark.revision}` : null : a.isError ? null : void 0
191
+ })] });
192
+ }
193
+ //#endregion
194
+ //#region src/chrome/language-switcher.tsx
195
+ var qt = {
196
+ en: () => i("language_en"),
197
+ pl: () => i("language_pl"),
198
+ de: () => i("language_de"),
199
+ uk: () => i("language_uk"),
200
+ ru: () => i("language_ru")
201
+ };
202
+ function Jt({ className: e }) {
203
+ let t = o(), { locale: n, changeLocale: r, pending: i } = c();
204
+ return /* @__PURE__ */ P(ve, { children: [/* @__PURE__ */ N(he, {
205
+ render: /* @__PURE__ */ N(u, {
206
+ type: "button",
207
+ disabled: i,
208
+ variant: "ghost",
209
+ size: "icon",
210
+ "aria-label": t("language_label"),
211
+ className: l("text-xs font-medium tracking-wide", e)
212
+ }),
213
+ children: /* @__PURE__ */ N("span", { children: vt(n) })
214
+ }), /* @__PURE__ */ N(_e, {
215
+ align: "end",
216
+ className: "w-auto min-w-40",
217
+ children: /* @__PURE__ */ N(me, {
218
+ value: n,
219
+ onValueChange: (e) => {
220
+ r(e);
221
+ },
222
+ children: yt.map((e) => /* @__PURE__ */ P(ge, {
223
+ value: e,
224
+ closeOnClick: !0,
225
+ children: [/* @__PURE__ */ N("span", {
226
+ className: "flex-1",
227
+ children: qt[e]()
228
+ }), /* @__PURE__ */ N("span", {
229
+ className: "text-muted-foreground",
230
+ children: vt(e)
231
+ })]
232
+ }, e))
233
+ })
234
+ })] });
235
+ }
236
+ //#endregion
237
+ //#region src/chrome/mode-toggle.tsx
238
+ function Yt() {
239
+ let e = o(), { theme: t, setTheme: n } = Te();
240
+ function r() {
241
+ let e = t === "system" ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
242
+ n(e === "dark" ? "light" : "dark");
243
+ }
244
+ return /* @__PURE__ */ P(u, {
245
+ type: "button",
246
+ variant: "ghost",
247
+ size: "icon",
248
+ className: "relative",
249
+ "aria-label": e("theme_toggle_label"),
250
+ onClick: r,
251
+ children: [/* @__PURE__ */ N(_t, { className: "\n size-4 scale-100 rotate-0 transition-all\n dark:scale-0 dark:-rotate-90\n " }), /* @__PURE__ */ N(pt, { className: "\n absolute size-4 scale-0 rotate-90 transition-all\n dark:scale-100 dark:rotate-0\n " })]
252
+ });
253
+ }
254
+ //#endregion
255
+ //#region src/version.ts
256
+ var Xt = "0.1.0", Zt = rt(null);
257
+ function Qt({ children: e }) {
258
+ let [t, n] = j(null), r = it((e, t, r) => {
259
+ n(e ? {
260
+ toggle: e,
261
+ open: t,
262
+ attention: r
263
+ } : null);
264
+ }, []), i = ot(() => ({
265
+ navigation: t,
266
+ registerToggle: r
267
+ }), [t, r]);
268
+ return /* @__PURE__ */ N(Zt.Provider, {
269
+ value: i,
270
+ children: e
271
+ });
272
+ }
273
+ function $t() {
274
+ let e = at(Zt);
275
+ if (!e) throw Error("MobileNavProvider is required");
276
+ return e;
277
+ }
278
+ function en(e, t, n = !1) {
279
+ let { registerToggle: r } = $t();
280
+ A(() => (r(e, t, n), () => {
281
+ r(null, !1, !1);
282
+ }), [
283
+ e,
284
+ t,
285
+ n,
286
+ r
287
+ ]);
288
+ }
289
+ function tn({ className: e }) {
290
+ let t = o(), n = at(Zt)?.navigation;
291
+ return n ? /* @__PURE__ */ P(u, {
292
+ type: "button",
293
+ variant: "ghost",
294
+ size: "icon-sm",
295
+ className: l("relative", e),
296
+ "aria-label": n.open ? t("workspace_nav_close") : n.attention ? t("workspace_nav_open_attention") : t("workspace_nav_open"),
297
+ "aria-expanded": n.open,
298
+ onClick: n.toggle,
299
+ children: [/* @__PURE__ */ N(ft, {}), n.attention && !n.open ? /* @__PURE__ */ N("span", {
300
+ "aria-hidden": !0,
301
+ className: "absolute top-1 right-1 size-2 rounded-full bg-destructive"
302
+ }) : null]
303
+ }) : null;
304
+ }
305
+ //#endregion
306
+ //#region src/workspace/no-access.tsx
307
+ function nn() {
308
+ let e = o();
309
+ return /* @__PURE__ */ P("div", {
310
+ className: "flex flex-1 flex-col items-center justify-center gap-2 p-8 text-center",
311
+ children: [/* @__PURE__ */ N(ue, { children: e("workspace_no_access_title") }), /* @__PURE__ */ N("p", {
312
+ className: "max-w-md text-sm text-muted-foreground",
313
+ children: e("workspace_no_access_description")
314
+ })]
315
+ });
316
+ }
317
+ //#endregion
318
+ //#region src/workspace/sidebar-nav-link.tsx
319
+ function rn({ active: e, collapsed: t, icon: n, label: r, badge: i, onNavigate: a, onClick: o, className: s, children: c, ...u }) {
320
+ let d = l("\n flex items-center rounded-md text-[13px] leading-none transition-colors outline-none\n focus-visible:ring-2 focus-visible:ring-ring/40\n [&_svg]:size-4 [&_svg]:shrink-0\n ", t ? "size-7 justify-center" : "h-7 gap-2 px-2", e ? "\n bg-muted font-medium text-foreground\n [&_svg]:text-primary\n " : "\n text-muted-foreground\n hover:bg-muted/60 hover:text-foreground\n ", s), f = {
321
+ ...u,
322
+ className: d,
323
+ "aria-current": e ? "page" : void 0,
324
+ onClick: (e) => {
325
+ o?.(e), a?.();
326
+ }
327
+ };
328
+ return t ? /* @__PURE__ */ P(ce, { children: [/* @__PURE__ */ P(O, {
329
+ render: /* @__PURE__ */ N("a", {
330
+ ...f,
331
+ className: l(f.className, "relative")
332
+ }),
333
+ children: [
334
+ n,
335
+ /* @__PURE__ */ N("span", {
336
+ className: "sr-only",
337
+ children: r
338
+ }),
339
+ i == null ? null : /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N("span", {
340
+ className: "sr-only",
341
+ children: i
342
+ }), /* @__PURE__ */ N("span", {
343
+ "aria-hidden": !0,
344
+ className: "absolute top-0.5 right-0.5 size-2 rounded-full bg-destructive"
345
+ })] })
346
+ ]
347
+ }), /* @__PURE__ */ P(le, {
348
+ side: "right",
349
+ children: [r, i == null ? null : /* @__PURE__ */ N("span", {
350
+ className: "ml-1.5",
351
+ children: i
352
+ })]
353
+ })] }) : /* @__PURE__ */ P("a", {
354
+ ...f,
355
+ children: [
356
+ n,
357
+ /* @__PURE__ */ N("span", {
358
+ className: "truncate",
359
+ children: r
360
+ }),
361
+ i == null ? null : /* @__PURE__ */ N("span", {
362
+ className: "ml-auto shrink-0",
363
+ children: i
364
+ })
365
+ ]
366
+ });
367
+ }
368
+ var z = Ot(rn);
369
+ //#endregion
370
+ //#region src/workspace/setup/nav.tsx
371
+ function an({ workspaceId: e, activeSection: t, collapsed: n, onNavigate: r }) {
372
+ let i = o(), a = i("setup_nav_title"), s = r == null ? {} : { onNavigate: r };
373
+ return /* @__PURE__ */ P("nav", {
374
+ "aria-label": a,
375
+ className: l("flex min-h-0 flex-1 flex-col gap-px overflow-y-auto pt-2", n ? "items-center px-1.5" : "px-2"),
376
+ children: [
377
+ /* @__PURE__ */ N(z, {
378
+ to: "/workspace/$workspaceId",
379
+ params: { workspaceId: e },
380
+ activeOptions: { exact: !0 },
381
+ active: !1,
382
+ collapsed: n,
383
+ icon: /* @__PURE__ */ N(ut, {}),
384
+ label: i("setup_back_to_workspace"),
385
+ ...s
386
+ }),
387
+ /* @__PURE__ */ N("div", {
388
+ "aria-hidden": !0,
389
+ className: l("my-2 border-t", n ? "w-5" : "mx-2")
390
+ }),
391
+ n ? null : /* @__PURE__ */ N("div", {
392
+ "aria-hidden": !0,
393
+ className: "\n truncate px-2 pb-1 text-[11px] font-medium tracking-wider text-muted-foreground/80\n uppercase\n ",
394
+ children: a
395
+ }),
396
+ Ne.map((r) => {
397
+ let i = r.id === t, a = r.icon;
398
+ return /* @__PURE__ */ N(z, {
399
+ to: r.to,
400
+ params: { workspaceId: e },
401
+ active: i,
402
+ collapsed: n,
403
+ icon: /* @__PURE__ */ N(a, { strokeWidth: i ? 2 : 1.75 }),
404
+ label: r.label(),
405
+ ...s
406
+ }, r.id);
407
+ })
408
+ ]
409
+ });
410
+ }
411
+ //#endregion
412
+ //#region src/workspace/alarms/nav.tsx
413
+ function on() {
414
+ let e = ie();
415
+ return e?.alarms == null ? 0 : ae(e.alarms, e.now);
416
+ }
417
+ function sn() {
418
+ return ie()?.configured === !0;
419
+ }
420
+ function cn({ count: e }) {
421
+ let t = o();
422
+ return /* @__PURE__ */ P("span", {
423
+ className: "\n inline-flex h-4 min-w-4 items-center justify-center rounded-full bg-destructive px-1\n text-[10px] leading-none font-semibold text-white tabular-nums\n ",
424
+ title: t("alarm_nav_waiting", { count: String(e) }),
425
+ children: [/* @__PURE__ */ N("span", {
426
+ "aria-hidden": !0,
427
+ children: e > 99 ? "99+" : e
428
+ }), /* @__PURE__ */ N("span", {
429
+ className: "sr-only",
430
+ children: t("alarm_nav_waiting", { count: String(e) })
431
+ })]
432
+ });
433
+ }
434
+ function ln({ workspaceId: e, collapsed: t, onNavigate: n, className: r }) {
435
+ let i = o(), a = on(), s = R({ select: (e) => /^\/workspace\/[^/]+\/alarms(?:\/|$)/.test(e.location.pathname) });
436
+ return /* @__PURE__ */ N(z, {
437
+ to: "/workspace/$workspaceId/alarms",
438
+ params: { workspaceId: e },
439
+ active: s,
440
+ collapsed: t,
441
+ icon: /* @__PURE__ */ N(gt, { strokeWidth: s ? 2 : 1.75 }),
442
+ label: i("alarm_nav"),
443
+ badge: a > 0 ? /* @__PURE__ */ N(cn, { count: a }) : null,
444
+ ...n == null ? {} : { onNavigate: n },
445
+ ...r == null ? {} : { className: r }
446
+ });
447
+ }
448
+ //#endregion
449
+ //#region src/workspace/shell.tsx
450
+ var un = "overvis.workspace-sidebar-collapsed";
451
+ function dn() {
452
+ if (typeof window > "u") return !1;
453
+ try {
454
+ return window.localStorage.getItem(un) === "1";
455
+ } catch {
456
+ return !1;
457
+ }
458
+ }
459
+ function fn(e) {
460
+ try {
461
+ window.localStorage.setItem(un, e ? "1" : "0");
462
+ } catch {}
463
+ }
464
+ function pn({ workspaceId: e, access: t, children: r }) {
465
+ let i = g().renderNavFooter, a = o(), s = R({ select: (e) => {
466
+ let t = /^\/workspace\/[^/]+\/d\/([^/]+)(?:\/|$)/.exec(e.location.pathname)?.[1];
467
+ return t != null && t.length > 0 ? t : void 0;
468
+ } }), c = R({ select: ne }), d = st(null);
469
+ re(d);
470
+ let f = R({ select: (e) => Pe(e.location.pathname) }), p = xt(t), m = p ? f : void 0, h = p && m == null, _ = n.dashboard.list.useQuery({ workspaceId: e }), [v, y] = j(!1), [b, ee] = j(dn), x = (_.data?.dashboards ?? []).filter((e) => e.disabledSince == null), S = sn(), C = m != null || !_.isLoading && (x.length > 0 || S), te = on();
471
+ function w(t, n) {
472
+ return m == null ? /* @__PURE__ */ N(mn, {
473
+ workspaceId: e,
474
+ dashboards: x,
475
+ activeDashboardId: s,
476
+ loading: _.isLoading,
477
+ collapsed: n,
478
+ ...t == null ? {} : { onNavigate: t }
479
+ }) : /* @__PURE__ */ N(an, {
480
+ workspaceId: e,
481
+ activeSection: m,
482
+ collapsed: n,
483
+ ...t == null ? {} : { onNavigate: t }
484
+ });
485
+ }
486
+ let T = it(() => {
487
+ y((e) => !e);
488
+ }, []), E = it(() => {
489
+ y(!1);
490
+ }, []);
491
+ en(C ? T : null, v, te > 0);
492
+ function D() {
493
+ ee((e) => {
494
+ let t = !e;
495
+ return fn(t), t;
496
+ });
497
+ }
498
+ return /* @__PURE__ */ N(se, {
499
+ delay: 0,
500
+ children: /* @__PURE__ */ P("div", {
501
+ className: "flex min-h-0 flex-1 overflow-hidden",
502
+ children: [
503
+ C ? /* @__PURE__ */ P("aside", {
504
+ className: l("\n relative hidden h-full min-h-0 shrink-0 flex-col overflow-hidden transition-[width]\n duration-200 ease-out\n md:flex\n ", b ? "w-12" : "w-52"),
505
+ children: [
506
+ w(void 0, b),
507
+ i?.({
508
+ workspaceId: e,
509
+ collapsed: b
510
+ }),
511
+ S && h ? /* @__PURE__ */ N("div", {
512
+ className: l("shrink-0 pt-1", b ? "flex justify-center" : "px-2"),
513
+ children: /* @__PURE__ */ N(ln, {
514
+ workspaceId: e,
515
+ collapsed: b
516
+ })
517
+ }) : null,
518
+ /* @__PURE__ */ P("div", {
519
+ className: l("flex shrink-0 gap-1 p-2 pt-1", b ? "flex-col items-center" : "items-center", !h && !S && !b && "justify-end"),
520
+ children: [
521
+ S && !h ? /* @__PURE__ */ N(ln, {
522
+ workspaceId: e,
523
+ collapsed: b,
524
+ ...b ? {} : { className: "min-w-0 flex-1" }
525
+ }) : null,
526
+ h ? /* @__PURE__ */ N(Fe, {
527
+ workspaceId: e,
528
+ collapsed: b,
529
+ variant: "ghost",
530
+ className: l("text-muted-foreground", b ? void 0 : "min-w-0 flex-1 text-[13px]")
531
+ }) : null,
532
+ /* @__PURE__ */ P(ce, { children: [/* @__PURE__ */ N(O, {
533
+ "aria-label": a(b ? "workspace_nav_expand" : "workspace_nav_collapse"),
534
+ "aria-expanded": !b,
535
+ onClick: D,
536
+ render: /* @__PURE__ */ N(u, {
537
+ type: "button",
538
+ variant: "ghost",
539
+ size: "icon-sm",
540
+ className: "shrink-0 text-muted-foreground"
541
+ }),
542
+ children: N(b ? ht : mt, {})
543
+ }), /* @__PURE__ */ N(le, {
544
+ side: "right",
545
+ children: a(b ? "workspace_nav_expand" : "workspace_nav_collapse")
546
+ })] })
547
+ ]
548
+ })
549
+ ]
550
+ }) : null,
551
+ /* @__PURE__ */ P("div", {
552
+ className: "relative flex min-h-0 min-w-0 flex-1 flex-col",
553
+ children: [
554
+ c ? /* @__PURE__ */ N(hn, { label: a("ui_loading") }) : null,
555
+ /* @__PURE__ */ N(ze, {}),
556
+ /* @__PURE__ */ N("div", {
557
+ ref: d,
558
+ "aria-busy": c,
559
+ className: l("flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto", c && "opacity-60 transition-opacity delay-150 duration-300"),
560
+ children: f != null && !p ? /* @__PURE__ */ N(Tt, {
561
+ to: "/workspace/$workspaceId",
562
+ params: { workspaceId: e },
563
+ replace: !0
564
+ }) : r
565
+ })
566
+ ]
567
+ }),
568
+ C ? /* @__PURE__ */ N(Ce, {
569
+ open: v,
570
+ onOpenChange: y,
571
+ children: /* @__PURE__ */ P(ye, {
572
+ side: "left",
573
+ className: "\n w-72 gap-0 overflow-hidden border-0 bg-background p-0 shadow-xl\n data-[side=left]:border-0\n sm:max-w-72\n ",
574
+ children: [/* @__PURE__ */ N(be, {
575
+ className: "sr-only",
576
+ children: /* @__PURE__ */ N(xe, { children: a(m == null ? "workspace_nav_dashboards" : "setup_nav_title") })
577
+ }), /* @__PURE__ */ P("div", {
578
+ className: "flex h-full min-h-0 flex-col pt-8",
579
+ children: [
580
+ w(E, !1),
581
+ i?.({
582
+ workspaceId: e,
583
+ collapsed: !1,
584
+ onNavigate: E
585
+ }),
586
+ S ? /* @__PURE__ */ N("div", {
587
+ className: "shrink-0 px-2 pt-1",
588
+ children: /* @__PURE__ */ N(ln, {
589
+ workspaceId: e,
590
+ collapsed: !1,
591
+ onNavigate: E
592
+ })
593
+ }) : null,
594
+ h ? /* @__PURE__ */ N("div", {
595
+ className: "shrink-0 p-2 pt-1",
596
+ children: /* @__PURE__ */ N(Fe, {
597
+ workspaceId: e,
598
+ variant: "ghost",
599
+ className: "text-[13px] text-muted-foreground",
600
+ onNavigate: E
601
+ })
602
+ }) : null
603
+ ]
604
+ })]
605
+ })
606
+ }) : null
607
+ ]
608
+ })
609
+ });
610
+ }
611
+ function mn({ workspaceId: e, dashboards: t, activeDashboardId: n, loading: r, collapsed: i, onNavigate: s }) {
612
+ let c = o(), u = a();
613
+ return /* @__PURE__ */ P("nav", {
614
+ "aria-label": c("workspace_nav_dashboards"),
615
+ className: l("flex min-h-0 flex-1 flex-col gap-px overflow-y-auto pt-2", i ? "items-center px-1.5" : "px-2"),
616
+ children: [r ? /* @__PURE__ */ P("div", {
617
+ className: "flex flex-col gap-1.5 p-1",
618
+ children: [/* @__PURE__ */ N(p, { className: l("h-6", i ? "w-6" : "w-full") }), /* @__PURE__ */ N(p, { className: l("h-6", i ? "w-6" : "w-4/5") })]
619
+ }) : null, t.map((t) => {
620
+ let r = n === t.id;
621
+ return /* @__PURE__ */ N(z, {
622
+ to: "/workspace/$workspaceId/d/$dashboardId",
623
+ params: {
624
+ workspaceId: e,
625
+ dashboardId: t.id
626
+ },
627
+ active: r,
628
+ collapsed: i,
629
+ icon: /* @__PURE__ */ N(Oe, {
630
+ icon: t.icon,
631
+ strokeWidth: r ? 2 : 1.75
632
+ }),
633
+ label: bt(t.name, u),
634
+ ...s == null ? {} : { onNavigate: s }
635
+ }, t.id);
636
+ })]
637
+ });
638
+ }
639
+ function hn({ label: e }) {
640
+ return /* @__PURE__ */ N("div", {
641
+ role: "progressbar",
642
+ "aria-label": e,
643
+ className: "\n pointer-events-none absolute inset-x-0 top-0 z-10 h-0.5 navigation-progress-delay\n overflow-hidden\n ",
644
+ children: /* @__PURE__ */ N("div", { className: "\n h-full w-2/5 bg-primary\n motion-safe:navigation-progress\n motion-reduce:w-full\n " })
645
+ });
646
+ }
647
+ //#endregion
648
+ //#region src/workspace/suspended.tsx
649
+ function gn({ workspace: e }) {
650
+ let t = o(), { renderSuspendedBilling: n } = g(), r = e.suspensionReasons, i = r.includes("balance"), a = r.includes("admin") || !i;
651
+ return /* @__PURE__ */ P("div", {
652
+ className: "\n flex flex-1 flex-col items-center justify-center gap-3 p-4 text-center\n sm:p-8\n ",
653
+ children: [
654
+ /* @__PURE__ */ N(dt, {
655
+ className: "size-10 text-muted-foreground",
656
+ "aria-hidden": "true"
657
+ }),
658
+ /* @__PURE__ */ N(ue, { children: t("workspace_suspended_title") }),
659
+ a ? /* @__PURE__ */ N("p", {
660
+ className: "max-w-md text-sm text-muted-foreground",
661
+ children: t("workspace_suspended_description")
662
+ }) : null,
663
+ i ? /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N("p", {
664
+ className: "max-w-md text-sm text-muted-foreground",
665
+ children: t("workspace_suspended_balance_description")
666
+ }), n?.(e)] }) : null
667
+ ]
668
+ });
669
+ }
670
+ //#endregion
671
+ //#region src/workspace/errors.ts
672
+ function _n(e) {
673
+ return T(e) === "workspace_no_access";
674
+ }
675
+ //#endregion
676
+ //#region src/workspace/live-changes.ts
677
+ function vn(e) {
678
+ return {
679
+ setupRevision: e.setupRevision,
680
+ name: e.name,
681
+ disabled: e.disabledSince != null,
682
+ suspensionReasons: e.suspensionReasons,
683
+ access: e.access
684
+ };
685
+ }
686
+ function yn(e, t) {
687
+ if (e == null) return [];
688
+ let n = [];
689
+ return t.setupRevision !== e.setupRevision && n.push("setup"), (t.name !== e.name || t.disabled !== e.disabled || t.suspensionReasons.join() !== e.suspensionReasons.join() || t.access !== e.access) && n.push("workspace"), n;
690
+ }
691
+ function bn(e) {
692
+ let t = n.useUtils(), r = st(null), i = () => {
693
+ k(t, {
694
+ entity: "workspace",
695
+ workspaceId: e
696
+ });
697
+ };
698
+ n.workspace.watchChanges.useSubscription({ workspaceId: e }, {
699
+ onData: (n) => {
700
+ let a = Ct["~standard"].validate(n);
701
+ if (a.issues != null) {
702
+ i();
703
+ return;
704
+ }
705
+ let o = a.value, s = t.workspace.get.getData({ id: e }), c = r.current?.workspaceId === e ? r.current.state : s == null ? void 0 : vn(s);
706
+ r.current = {
707
+ workspaceId: e,
708
+ state: {
709
+ setupRevision: o.setupRevision,
710
+ name: o.name,
711
+ disabled: o.disabled,
712
+ suspensionReasons: o.suspensionReasons,
713
+ access: o.access
714
+ }
715
+ };
716
+ for (let n of yn(c, o)) k(t, {
717
+ entity: n,
718
+ workspaceId: e
719
+ });
720
+ },
721
+ onError: i,
722
+ onComplete: i
723
+ });
724
+ }
725
+ //#endregion
726
+ //#region src/workspace/layout.tsx
727
+ function xn({ workspaceId: e }) {
728
+ let t = o(), { onWorkspaceLoaded: r } = g(), i = n.workspace.get.useQuery({ id: e });
729
+ return bn(e), A(() => {
730
+ i.data && r?.(i.data.id);
731
+ }, [r, i.data]), i.isLoading ? /* @__PURE__ */ N("div", {
732
+ className: "flex flex-1 items-center justify-center p-8",
733
+ children: /* @__PURE__ */ N(p, { className: "h-8 w-48" })
734
+ }) : i.isError ? _n(i.error) ? /* @__PURE__ */ N(nn, {}) : /* @__PURE__ */ N("div", {
735
+ className: "\n flex flex-1 flex-col items-center justify-center p-4\n sm:p-8\n ",
736
+ children: /* @__PURE__ */ N(De, {
737
+ message: t("error_request_failed"),
738
+ onRetry: () => i.refetch(),
739
+ retrying: i.isFetching
740
+ })
741
+ }) : i.data ? i.data.disabledSince == null ? /* @__PURE__ */ N(h, {
742
+ workspace: i.data,
743
+ children: /* @__PURE__ */ N(Be, {
744
+ workspaceId: e,
745
+ children: /* @__PURE__ */ N(oe, {
746
+ workspaceId: e,
747
+ children: /* @__PURE__ */ N(pn, {
748
+ workspaceId: e,
749
+ access: i.data.access,
750
+ children: /* @__PURE__ */ N(Et, {})
751
+ })
752
+ })
753
+ })
754
+ }) : /* @__PURE__ */ N(gn, { workspace: i.data }) : /* @__PURE__ */ N(nn, {});
755
+ }
756
+ //#endregion
757
+ //#region src/audit/history-search.ts
758
+ function Sn(e) {
759
+ return {
760
+ ...e.view === "checkpoints" ? { view: "checkpoints" } : {},
761
+ ...e.kinds === "all" ? { kinds: "all" } : {}
762
+ };
763
+ }
764
+ //#endregion
765
+ //#region src/workspace/setup/endpoints/status-tab.ts
766
+ function Cn(e) {
767
+ return e === "device-ui" || e === "recorded" || e === "programs" ? e : "connection";
768
+ }
769
+ var wn = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/iu;
770
+ function Tn(e) {
771
+ return typeof e == "string" && wn.test(e) ? e : void 0;
772
+ }
773
+ function En(e) {
774
+ let t = Cn(e.tab), n = t === "programs" ? Tn(e.program) : void 0;
775
+ return {
776
+ ...t === "connection" ? {} : { tab: t },
777
+ ...n === void 0 ? {} : { program: n }
778
+ };
779
+ }
780
+ //#endregion
781
+ //#region src/workspace/setup/automations/editor-tab.ts
782
+ function Dn(e) {
783
+ return e === "history" ? e : "editor";
784
+ }
785
+ function On(e) {
786
+ let t = Dn(e.tab);
787
+ return t === "editor" ? {} : { tab: t };
788
+ }
789
+ //#endregion
790
+ //#region src/workspace/routes.tsx
791
+ var kn = I(() => import("./index-page-DMH82fZe.js").then((e) => e.n), "WorkspaceIndexPage"), An = I(() => import("./page-2KPemaAj.js").then((e) => e.n), "DashboardPage"), jn = I(() => import("./page-DWO427hT.js").then((e) => e.n), "ReportPage"), Mn = I(() => import("./page-v6LCwswN.js"), "AlarmsPage"), Nn = I(() => import("./history-page-sAAhG54V.js").then((e) => e.n), "AuditHistoryPage"), Pn = I(() => import("./status-page-DAHiKM9P.js").then((e) => e.n), "SetupEndpointStatusPage"), Fn = I(() => import("./dashboards-page-BlrJguNz.js").then((e) => e.a), "SetupDashboardsPage"), In = I(() => import("./page-6rIoTg2L.js").then((e) => e.r), "SetupEndpointsPage"), Ln = I(() => import("./wireguard-docs-AfU6NzTL.js").then((e) => e.n), "WireGuardDocsProvider"), Rn = I(() => import("./page-DCbTxKsi.js").then((e) => e.n), "SetupFilesPage"), zn = I(() => import("./page-aaUiVOnk.js"), "SetupStoragePage"), Bn = I(() => import("./page-C6giEoEd.js").then((e) => e.n), "SetupParametersPage"), Vn = I(() => import("./page-LXu_2zm3.js").then((e) => e.n), "SetupReportsPage"), Hn = I(() => import("./list-page-CvsdZb86.js"), "SetupAutomationsPage"), Un = I(() => import("./alarm-rules-page-CqFzofPd.js"), "SetupAlarmRulesPage"), B = I(() => import("./editor-page-BiSZJz5b.js"), "SetupAutomationEditorPage"), V = I(() => import("./alarm-rule-dialog-S1ZUg-74.js"), "SetupAlarmRuleFormDialog"), H = () => import("./dialogs-D_v1LeH4.js").then((e) => e.c), Wn = I(H, "SetupDashboardCreateDialog"), Gn = I(H, "SetupDashboardCreateFromReportDialog"), Kn = I(H, "SetupDashboardSettingsDialog"), qn = I(H, "SetupEndpointCreateDialog"), Jn = I(H, "SetupEndpointEditDialog"), U = I(H, "SetupParameterFormDialog"), W = I(H, "SetupReportFormDialog");
792
+ function G(e, ...t) {
793
+ return Object.assign(e, { preload: async () => {
794
+ await Promise.all(t.flatMap((e) => e.preload == null ? [] : [e.preload()]));
795
+ } });
796
+ }
797
+ function K() {
798
+ return Mt({ strict: !1 });
799
+ }
800
+ function q() {
801
+ return Nt({ strict: !1 });
802
+ }
803
+ function Yn() {
804
+ let { workspaceId: e } = K();
805
+ return e == null ? null : /* @__PURE__ */ N(kn, { workspaceId: e });
806
+ }
807
+ function Xn() {
808
+ let { workspaceId: e, dashboardId: t } = K();
809
+ return e == null || t == null ? null : /* @__PURE__ */ N(An, {
810
+ workspaceId: e,
811
+ dashboardId: t
812
+ });
813
+ }
814
+ function Zn() {
815
+ let { workspaceId: e, presetId: t } = K();
816
+ return e == null || t == null ? null : /* @__PURE__ */ N(jn, {
817
+ workspaceId: e,
818
+ presetId: t
819
+ });
820
+ }
821
+ function Qn() {
822
+ let { workspaceId: e } = K(), t = Re(q()), n = L();
823
+ return e == null ? null : /* @__PURE__ */ N(Mn, {
824
+ workspaceId: e,
825
+ search: t,
826
+ onSearchChange: (t) => {
827
+ n({
828
+ to: "/workspace/$workspaceId/alarms",
829
+ params: { workspaceId: e },
830
+ search: t,
831
+ replace: !0
832
+ });
833
+ }
834
+ });
835
+ }
836
+ function $n() {
837
+ let { workspaceId: e } = K(), t = Sn(q()), n = L();
838
+ return e == null ? null : /* @__PURE__ */ N(Nn, {
839
+ workspaceId: e,
840
+ view: {
841
+ view: t.view ?? "activity",
842
+ scope: t.kinds ?? "important"
843
+ },
844
+ onViewChange: (t) => {
845
+ let r = {
846
+ ...t.view === "checkpoints" ? { view: "checkpoints" } : {},
847
+ ...t.scope === "all" ? { kinds: "all" } : {}
848
+ };
849
+ n({
850
+ to: "/workspace/$workspaceId/audit",
851
+ params: { workspaceId: e },
852
+ search: r,
853
+ replace: !0
854
+ });
855
+ }
856
+ });
857
+ }
858
+ function er() {
859
+ let { workspaceId: e } = K();
860
+ return e == null ? null : /* @__PURE__ */ N(Wn, { workspaceId: e });
861
+ }
862
+ function tr() {
863
+ let { workspaceId: e } = K();
864
+ return e == null ? null : /* @__PURE__ */ N(Gn, { workspaceId: e });
865
+ }
866
+ function nr() {
867
+ let { workspaceId: e, dashboardId: t } = K();
868
+ return e == null || t == null ? null : /* @__PURE__ */ N(Kn, {
869
+ workspaceId: e,
870
+ dashboardId: t
871
+ });
872
+ }
873
+ function rr() {
874
+ let { workspaceId: e } = K();
875
+ return e == null ? null : /* @__PURE__ */ N(qn, { workspaceId: e });
876
+ }
877
+ function ir() {
878
+ let { workspaceId: e, endpointId: t } = K();
879
+ return e == null || t == null ? null : /* @__PURE__ */ N(Jn, {
880
+ workspaceId: e,
881
+ endpointId: t
882
+ });
883
+ }
884
+ function ar(e) {
885
+ return G(function() {
886
+ let { workspaceId: t, endpointId: n } = K(), r = q(), i = Cn(r.tab), a = Tn(r.program), o = L();
887
+ return t == null || n == null ? null : /* @__PURE__ */ N(Pn, {
888
+ workspaceId: t,
889
+ endpointId: n,
890
+ tab: i,
891
+ onTabChange: (e) => {
892
+ o({
893
+ to: "/workspace/$workspaceId/setup/endpoints/$endpointId/status",
894
+ params: {
895
+ workspaceId: t,
896
+ endpointId: n
897
+ },
898
+ search: { tab: e }
899
+ });
900
+ },
901
+ ...a == null ? {} : { programId: a },
902
+ onProgramChange: (e) => {
903
+ o({
904
+ to: "/workspace/$workspaceId/setup/endpoints/$endpointId/status",
905
+ params: {
906
+ workspaceId: t,
907
+ endpointId: n
908
+ },
909
+ search: {
910
+ tab: "programs",
911
+ ...e == null ? {} : { program: e }
912
+ }
913
+ });
914
+ },
915
+ onCreateParameter: (e) => {
916
+ o({
917
+ to: "/workspace/$workspaceId/setup/parameters/new",
918
+ params: { workspaceId: t },
919
+ search: w(e)
920
+ });
921
+ },
922
+ ...e.resolveDeviceUiOrigin == null ? {} : { resolveDeviceUiOrigin: e.resolveDeviceUiOrigin }
923
+ }, n);
924
+ }, Pn);
925
+ }
926
+ function or() {
927
+ let { workspaceId: e } = K(), t = L(), n = R({ select: (e) => e.location.state.overvisAutomationStarter });
928
+ return e == null ? null : /* @__PURE__ */ N(B, {
929
+ workspaceId: e,
930
+ starterHandoff: n,
931
+ onCreated: (n) => {
932
+ t({
933
+ to: "/workspace/$workspaceId/setup/automations/$automationId",
934
+ params: {
935
+ workspaceId: e,
936
+ automationId: n
937
+ },
938
+ replace: !0
939
+ });
940
+ }
941
+ });
942
+ }
943
+ function sr() {
944
+ let { workspaceId: e, automationId: t } = K(), n = Dn(q().tab), r = L();
945
+ return e == null || t == null ? null : /* @__PURE__ */ N(B, {
946
+ workspaceId: e,
947
+ automationId: t,
948
+ tab: n,
949
+ onTabChange: (n) => {
950
+ r({
951
+ to: "/workspace/$workspaceId/setup/automations/$automationId",
952
+ params: {
953
+ workspaceId: e,
954
+ automationId: t
955
+ },
956
+ search: n === "editor" ? {} : { tab: n }
957
+ });
958
+ }
959
+ }, t);
960
+ }
961
+ function cr() {
962
+ let { workspaceId: e } = K(), t = R({ select: (e) => e.location.state.overvisAutomationStarter });
963
+ return e == null ? null : /* @__PURE__ */ N(V, {
964
+ workspaceId: e,
965
+ starterHandoff: t
966
+ });
967
+ }
968
+ function lr() {
969
+ let { workspaceId: e, alarmRuleId: t } = K();
970
+ return e == null || t == null ? null : /* @__PURE__ */ N(V, {
971
+ workspaceId: e,
972
+ alarmRuleId: t
973
+ });
974
+ }
975
+ function ur() {
976
+ let { workspaceId: e } = K(), t = q(), { branchId: n } = hr(t), r = b(t);
977
+ return e == null ? null : /* @__PURE__ */ N(U, {
978
+ workspaceId: e,
979
+ ...n == null ? {} : { initialBranchId: n },
980
+ ...r == null ? {} : { recorded: r }
981
+ });
982
+ }
983
+ function dr() {
984
+ let { workspaceId: e, parameterId: t } = K();
985
+ return e == null || t == null ? null : /* @__PURE__ */ N(U, {
986
+ workspaceId: e,
987
+ parameterId: t
988
+ });
989
+ }
990
+ function fr() {
991
+ let { workspaceId: e } = K();
992
+ return e == null ? null : /* @__PURE__ */ N(W, { workspaceId: e });
993
+ }
994
+ function pr() {
995
+ let { workspaceId: e, presetId: t } = K();
996
+ return e == null || t == null ? null : /* @__PURE__ */ N(W, {
997
+ workspaceId: e,
998
+ presetId: t
999
+ });
1000
+ }
1001
+ function J(e, t, n) {
1002
+ return D(F({
1003
+ getParentRoute: e,
1004
+ path: t,
1005
+ component: n
1006
+ }));
1007
+ }
1008
+ function Y(e) {
1009
+ return G(function() {
1010
+ let { workspaceId: t } = K();
1011
+ return t == null ? null : /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(e, { workspaceId: t }, t), /* @__PURE__ */ N(Et, {})] });
1012
+ }, e);
1013
+ }
1014
+ function mr() {
1015
+ let { workspaceId: e } = K();
1016
+ return e == null ? null : /* @__PURE__ */ P(Ln, { children: [/* @__PURE__ */ N(In, { workspaceId: e }, e), /* @__PURE__ */ N(Et, {})] });
1017
+ }
1018
+ function X() {
1019
+ return null;
1020
+ }
1021
+ function hr(e) {
1022
+ let t = e.branchId, n = b(e);
1023
+ return {
1024
+ ...typeof t == "string" && t.length > 0 ? { branchId: t } : {},
1025
+ ...n == null ? {} : w(n)
1026
+ };
1027
+ }
1028
+ function gr(e, t = {}) {
1029
+ let n = () => e, r = F({
1030
+ getParentRoute: n,
1031
+ path: "/",
1032
+ component: G(Yn, kn)
1033
+ }), i = F({
1034
+ getParentRoute: n,
1035
+ path: "d/$dashboardId",
1036
+ component: G(Xn, An)
1037
+ }), a = F({
1038
+ getParentRoute: () => i,
1039
+ path: "$",
1040
+ component: () => null
1041
+ }), o = F({
1042
+ getParentRoute: n,
1043
+ path: "reports/$presetId",
1044
+ component: G(Zn, jn)
1045
+ }), s = F({
1046
+ getParentRoute: n,
1047
+ path: "alarms",
1048
+ validateSearch: Re,
1049
+ component: G(Qn, Mn)
1050
+ }), c = F({
1051
+ getParentRoute: n,
1052
+ path: "audit",
1053
+ validateSearch: Sn,
1054
+ component: G($n, Nn)
1055
+ }), l = J(n, "setup/dashboards", Y(Fn)), u = () => l, d = F({
1056
+ getParentRoute: u,
1057
+ path: "/",
1058
+ component: X
1059
+ }), f = F({
1060
+ getParentRoute: u,
1061
+ path: "new",
1062
+ component: G(er, Wn)
1063
+ }), p = F({
1064
+ getParentRoute: u,
1065
+ path: "new-from-report",
1066
+ component: G(tr, Gn)
1067
+ }), m = F({
1068
+ getParentRoute: u,
1069
+ path: "$dashboardId",
1070
+ component: G(nr, Kn)
1071
+ }), h = J(n, "setup/endpoints", G(mr, Ln, In)), g = () => h, _ = F({
1072
+ getParentRoute: g,
1073
+ path: "/",
1074
+ component: X
1075
+ }), v = F({
1076
+ getParentRoute: g,
1077
+ path: "new",
1078
+ component: G(rr, qn)
1079
+ }), y = F({
1080
+ getParentRoute: g,
1081
+ path: "$endpointId",
1082
+ component: G(ir, Jn)
1083
+ }), b = F({
1084
+ getParentRoute: n,
1085
+ path: "setup/endpoints/$endpointId/status",
1086
+ validateSearch: En,
1087
+ component: ar(t)
1088
+ }), ee = J(n, "setup/parameters", Y(Bn)), x = () => ee, S = F({
1089
+ getParentRoute: x,
1090
+ path: "/",
1091
+ component: X
1092
+ }), C = F({
1093
+ getParentRoute: x,
1094
+ path: "new",
1095
+ validateSearch: hr,
1096
+ component: G(ur, U)
1097
+ }), te = F({
1098
+ getParentRoute: x,
1099
+ path: "$parameterId",
1100
+ component: G(dr, U)
1101
+ }), w = J(n, "setup/reports", Y(Vn)), T = () => w, E = F({
1102
+ getParentRoute: T,
1103
+ path: "/",
1104
+ component: X
1105
+ }), ne = F({
1106
+ getParentRoute: T,
1107
+ path: "new",
1108
+ component: G(fr, W)
1109
+ }), re = F({
1110
+ getParentRoute: T,
1111
+ path: "$presetId",
1112
+ component: G(pr, W)
1113
+ }), D = J(n, "setup/automations", Y(Hn)), ie = F({
1114
+ getParentRoute: () => D,
1115
+ path: "/",
1116
+ component: X
1117
+ }), ae = F({
1118
+ getParentRoute: n,
1119
+ path: "setup/automations/new",
1120
+ component: G(or, B)
1121
+ }), oe = F({
1122
+ getParentRoute: n,
1123
+ path: "setup/automations/$automationId",
1124
+ validateSearch: On,
1125
+ component: G(sr, B)
1126
+ }), se = J(n, "setup/automations/alarm-rules", Y(Un)), O = () => se, ce = F({
1127
+ getParentRoute: O,
1128
+ path: "/",
1129
+ component: X
1130
+ }), le = F({
1131
+ getParentRoute: O,
1132
+ path: "new",
1133
+ component: G(cr, V)
1134
+ }), ue = F({
1135
+ getParentRoute: O,
1136
+ path: "$alarmRuleId",
1137
+ component: G(lr, V)
1138
+ }), de = J(n, "setup/files", Y(Rn)), fe = F({
1139
+ getParentRoute: () => de,
1140
+ path: "/",
1141
+ component: X
1142
+ }), k = J(n, "setup/storage", Y(zn));
1143
+ return [
1144
+ r,
1145
+ i.addChildren([a]),
1146
+ o,
1147
+ s,
1148
+ c,
1149
+ l.addChildren([
1150
+ d,
1151
+ f,
1152
+ p,
1153
+ m
1154
+ ]),
1155
+ h.addChildren([
1156
+ _,
1157
+ v,
1158
+ y
1159
+ ]),
1160
+ b,
1161
+ ee.addChildren([
1162
+ S,
1163
+ C,
1164
+ te
1165
+ ]),
1166
+ w.addChildren([
1167
+ E,
1168
+ ne,
1169
+ re
1170
+ ]),
1171
+ D.addChildren([ie]),
1172
+ ae,
1173
+ oe,
1174
+ se.addChildren([
1175
+ ce,
1176
+ le,
1177
+ ue
1178
+ ]),
1179
+ de.addChildren([fe]),
1180
+ k
1181
+ ];
1182
+ }
1183
+ //#endregion
1184
+ //#region src/workspace/dashboards/search-params.ts
1185
+ function _r(e) {
1186
+ let t = /* @__PURE__ */ new Map();
1187
+ for (let [n, r] of new URLSearchParams(e)) {
1188
+ let e = t.get(n);
1189
+ t.set(n, e === void 0 ? r : [...Array.isArray(e) ? e : [e], r]);
1190
+ }
1191
+ return Object.fromEntries(t);
1192
+ }
1193
+ function vr(e) {
1194
+ let t = new URLSearchParams();
1195
+ for (let [n, r] of Object.entries(e)) {
1196
+ let e = Array.isArray(r) ? r : [r];
1197
+ for (let r of e) r !== void 0 && t.append(n, typeof r == "string" ? r : JSON.stringify(r));
1198
+ }
1199
+ let n = t.toString();
1200
+ return n === "" ? "" : `?${n}`;
1201
+ }
1202
+ //#endregion
1203
+ //#region src/workspace/local-workspace-app.tsx
1204
+ function yr({ children: e, className: t, workspaceId: n, subscribeBrandingChanges: r }) {
1205
+ return /* @__PURE__ */ N(Qt, { children: /* @__PURE__ */ N(f, { children: /* @__PURE__ */ P("div", {
1206
+ className: l("flex h-svh flex-col overflow-hidden", t),
1207
+ children: [/* @__PURE__ */ P("header", {
1208
+ className: "\n flex h-11 shrink-0 items-center justify-between gap-2 bg-background px-3\n sm:gap-3 sm:px-4\n ",
1209
+ children: [/* @__PURE__ */ P("div", {
1210
+ className: "\n flex min-w-0 items-center gap-1.5\n sm:gap-2\n ",
1211
+ children: [/* @__PURE__ */ N(tn, { className: "md:hidden" }), /* @__PURE__ */ N(Kt, {
1212
+ workspaceId: n,
1213
+ subscribeChanges: r
1214
+ })]
1215
+ }), /* @__PURE__ */ P("div", {
1216
+ className: "flex shrink-0 items-center gap-1",
1217
+ children: [
1218
+ /* @__PURE__ */ N(Yt, {}),
1219
+ /* @__PURE__ */ N(Jt, {}),
1220
+ /* @__PURE__ */ N(we, {})
1221
+ ]
1222
+ })]
1223
+ }), /* @__PURE__ */ N("main", {
1224
+ className: "flex min-h-0 flex-1 flex-col overflow-hidden",
1225
+ children: /* @__PURE__ */ N(d, { children: e })
1226
+ })]
1227
+ }) }) });
1228
+ }
1229
+ function br(e, t) {
1230
+ let n = kt({ component: () => /* @__PURE__ */ N(yr, {
1231
+ workspaceId: e,
1232
+ subscribeBrandingChanges: t,
1233
+ children: /* @__PURE__ */ N(Et, {})
1234
+ }) }), r = F({
1235
+ getParentRoute: () => n,
1236
+ path: "/",
1237
+ beforeLoad: () => {
1238
+ throw jt({
1239
+ to: "/workspace/$workspaceId",
1240
+ params: { workspaceId: e }
1241
+ });
1242
+ }
1243
+ }), i = F({
1244
+ getParentRoute: () => n,
1245
+ path: "/workspace/$workspaceId",
1246
+ component: function() {
1247
+ return /* @__PURE__ */ N(xn, { workspaceId: i.useParams().workspaceId });
1248
+ }
1249
+ });
1250
+ return At({
1251
+ routeTree: n.addChildren([r, i.addChildren(gr(i))]),
1252
+ parseSearch: _r,
1253
+ stringifySearch: vr
1254
+ });
1255
+ }
1256
+ var xr = {
1257
+ name: "workspace-ui",
1258
+ version: Xt
1259
+ };
1260
+ function Sr(e) {
1261
+ return `/src/dashboards/${e}/index.tsx`;
1262
+ }
1263
+ function Cr({ apiUrl: e, apiKey: i, workspaceId: a, getDashboardEntrypointUrl: o = Sr, subscribeBrandingChanges: c, className: l }) {
1264
+ let [u] = j(() => r()), [d] = j(() => t({
1265
+ url: `${e.replace(/\/+$/, "")}/trpc`,
1266
+ credentials: "omit",
1267
+ getHeaders: () => ({ "x-api-key": i }),
1268
+ isolatedPaths: ["parameter.readValuesStream"],
1269
+ client: xr,
1270
+ localSetup: !0
1271
+ })), [f] = j(() => br(a, c));
1272
+ return /* @__PURE__ */ N(n.Provider, {
1273
+ client: d,
1274
+ queryClient: u,
1275
+ children: /* @__PURE__ */ N($e, {
1276
+ client: u,
1277
+ children: /* @__PURE__ */ N(Ee, { children: /* @__PURE__ */ N(s, {
1278
+ identity: Pt(e, a, window.location.href),
1279
+ children: /* @__PURE__ */ P(_, {
1280
+ mode: "local",
1281
+ userId: "local",
1282
+ apiBaseUrl: e.replace(/\/+$/, ""),
1283
+ credentials: "omit",
1284
+ getHeaders: () => ({
1285
+ "x-api-key": i,
1286
+ [ct]: lt(xr)
1287
+ }),
1288
+ getDashboardEntrypointUrl: o,
1289
+ children: [/* @__PURE__ */ N("div", {
1290
+ className: l,
1291
+ children: /* @__PURE__ */ N(Dt, { router: f })
1292
+ }), /* @__PURE__ */ N(Se, {})]
1293
+ })
1294
+ }) })
1295
+ })
1296
+ });
1297
+ }
1298
+ //#endregion
1299
+ //#region src/dev-fatal/is-enabled.ts
1300
+ function wr(e, t) {
1301
+ if (!e) return !1;
1302
+ let n = t?.trim().toLowerCase();
1303
+ return !(n === "0" || n === "false");
1304
+ }
1305
+ function Tr() {
1306
+ let e = {
1307
+ BASE_URL: "/",
1308
+ DEV: !1,
1309
+ MODE: "production",
1310
+ PROD: !0,
1311
+ SSR: !1
1312
+ }.VITE_DEV_FATAL_CRASH;
1313
+ return typeof e == "string" ? e : void 0;
1314
+ }
1315
+ function Er() {
1316
+ return wr(!1, Tr());
1317
+ }
1318
+ //#endregion
1319
+ //#region src/dev-fatal/overlay.ts
1320
+ var Z = "overvis-dev-fatal-overlay", Dr = Symbol.for("overvis.hmi.devFatalCrash.overlayShown");
1321
+ function Or() {
1322
+ return Reflect.get(globalThis, Dr) === !0;
1323
+ }
1324
+ function kr() {
1325
+ Reflect.set(globalThis, Dr, !0);
1326
+ }
1327
+ function Ar(e) {
1328
+ if (e instanceof Error) return e.stack ?? `${e.name}: ${e.message}`;
1329
+ if (typeof e == "string") return e;
1330
+ try {
1331
+ let t = JSON.stringify(e, null, 2);
1332
+ if (typeof t == "string") return t;
1333
+ } catch {}
1334
+ return String(e);
1335
+ }
1336
+ function jr(e) {
1337
+ let t = document.createElement("div");
1338
+ t.id = Z, t.setAttribute("role", "alert"), t.setAttribute("aria-live", "assertive");
1339
+ let n = document.createElement("style");
1340
+ n.textContent = `
1341
+ #${Z} {
1342
+ position: fixed;
1343
+ inset: 0;
1344
+ z-index: 2147483647;
1345
+ box-sizing: border-box;
1346
+ margin: 0;
1347
+ padding: 24px;
1348
+ overflow: auto;
1349
+ background: #1a0505;
1350
+ color: #fecaca;
1351
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
1352
+ font-size: 14px;
1353
+ line-height: 1.45;
1354
+ }
1355
+ #${Z} h1 {
1356
+ margin: 0 0 12px;
1357
+ font-size: 20px;
1358
+ font-weight: 700;
1359
+ color: #fee2e2;
1360
+ }
1361
+ #${Z} p {
1362
+ margin: 0 0 16px;
1363
+ color: #fca5a5;
1364
+ }
1365
+ #${Z} pre {
1366
+ margin: 0 0 20px;
1367
+ padding: 16px;
1368
+ overflow: auto;
1369
+ white-space: pre-wrap;
1370
+ word-break: break-word;
1371
+ background: #450a0a;
1372
+ border: 1px solid #7f1d1d;
1373
+ border-radius: 6px;
1374
+ color: #fecaca;
1375
+ }
1376
+ #${Z} button {
1377
+ display: inline-block;
1378
+ padding: 10px 16px;
1379
+ border: 1px solid #f87171;
1380
+ border-radius: 6px;
1381
+ background: #7f1d1d;
1382
+ color: #fff;
1383
+ font: inherit;
1384
+ font-weight: 600;
1385
+ cursor: pointer;
1386
+ }
1387
+ #${Z} button:hover {
1388
+ background: #991b1b;
1389
+ }
1390
+ `;
1391
+ let r = document.createElement("h1");
1392
+ r.textContent = e.title;
1393
+ let i = document.createElement("p");
1394
+ i.textContent = "DEV fatal crash — unexpected client error. Fix the bug and reload. Set VITE_DEV_FATAL_CRASH=0 to disable this overlay.";
1395
+ let a = document.createElement("pre"), o = [Ar(e.error)];
1396
+ e.componentStack != null && e.componentStack.length > 0 && o.push("", "Component stack:", e.componentStack), a.textContent = o.join("\n");
1397
+ let s = document.createElement("button");
1398
+ return s.type = "button", s.textContent = "Reload", s.addEventListener("click", () => {
1399
+ window.location.reload();
1400
+ }), t.append(n, r, i, a, s), t;
1401
+ }
1402
+ function Q(e) {
1403
+ if (Or() || typeof document > "u") return;
1404
+ let t = document.querySelector("body");
1405
+ if (t == null) return;
1406
+ document.getElementById(Z)?.remove();
1407
+ let n = jr(e);
1408
+ t.append(n), kr();
1409
+ }
1410
+ //#endregion
1411
+ //#region src/dev-fatal/report-render-error.ts
1412
+ function Mr(e, t) {
1413
+ if (t != null && t.length > 0) {
1414
+ Q({
1415
+ title: "React render error",
1416
+ error: e,
1417
+ componentStack: t
1418
+ });
1419
+ return;
1420
+ }
1421
+ Q({
1422
+ title: "React render error",
1423
+ error: e
1424
+ });
1425
+ }
1426
+ //#endregion
1427
+ //#region src/dev-fatal/error-boundary.tsx
1428
+ function Nr({ children: e }) {
1429
+ return Er() ? /* @__PURE__ */ N(Pr, { children: e }) : e;
1430
+ }
1431
+ var Pr = class extends nt {
1432
+ state = { hasError: !1 };
1433
+ static getDerivedStateFromError() {
1434
+ return { hasError: !0 };
1435
+ }
1436
+ componentDidCatch(e, t) {
1437
+ Mr(e, t.componentStack ?? void 0);
1438
+ }
1439
+ render() {
1440
+ return this.state.hasError ? null : this.props.children;
1441
+ }
1442
+ };
1443
+ //#endregion
1444
+ //#region src/dev-fatal/format-console-error.ts
1445
+ function Fr(e) {
1446
+ if (e.length === 0) return "";
1447
+ let t = e[0];
1448
+ if (typeof t != "string") return e.map((e) => Ar(e)).join(" ");
1449
+ let n = 1;
1450
+ return [t.replace(/%[sdifoOc]/g, () => {
1451
+ if (n >= e.length) return "";
1452
+ let t = e[n];
1453
+ return n += 1, Ar(t);
1454
+ }), ...e.slice(n).map((e) => Ar(e))].filter((e) => e.length > 0).join(" ");
1455
+ }
1456
+ //#endregion
1457
+ //#region src/dev-fatal/should-ignore.ts
1458
+ var Ir = [
1459
+ /ResizeObserver loop limit exceeded/i,
1460
+ /ResizeObserver loop completed with undelivered notifications/i,
1461
+ /^EventSource's response has a /,
1462
+ /^Attempted to load a Vector Map, but failed\. Falling back to Raster\./
1463
+ ];
1464
+ function Lr(e) {
1465
+ return Ir.some((t) => t.test(e));
1466
+ }
1467
+ function Rr(e) {
1468
+ return typeof e != "object" || !e ? !1 : e instanceof DOMException && e.name === "AbortError" || e instanceof Error && e.name === "AbortError" || "name" in e && e.name === "AbortError";
1469
+ }
1470
+ function $(e) {
1471
+ return typeof e == "string" ? Lr(e) : !!(Rr(e) || e instanceof Error && Lr(e.message) || typeof e == "object" && e && "message" in e && typeof e.message == "string" && Lr(e.message));
1472
+ }
1473
+ //#endregion
1474
+ //#region src/dev-fatal/install.ts
1475
+ var zr = Symbol.for("overvis.hmi.devFatalCrash.installState"), Br = Symbol.for("overvis.hmi.devFatalCrash.consoleError");
1476
+ function Vr(e) {
1477
+ return typeof e != "object" || !e || !("onWindowError" in e) || !("onUnhandledRejection" in e) ? !1 : typeof e.onWindowError == "function" && typeof e.onUnhandledRejection == "function";
1478
+ }
1479
+ function Hr() {
1480
+ let e = Reflect.get(window, zr);
1481
+ return Vr(e) ? e : void 0;
1482
+ }
1483
+ function Ur() {
1484
+ return Reflect.get(console, Br) === !0;
1485
+ }
1486
+ function Wr(e) {
1487
+ return typeof e == "function";
1488
+ }
1489
+ function Gr() {
1490
+ if (Ur()) return;
1491
+ let e = Reflect.get(console, "error");
1492
+ if (!Wr(e)) return;
1493
+ let t = e.bind(console);
1494
+ Reflect.set(console, Br, !0), Reflect.set(console, "error", (...e) => {
1495
+ t(...e);
1496
+ let n = Fr(e), r = e.find((e) => e instanceof Error) ?? n;
1497
+ $(r) || $(n) || Q({
1498
+ title: "console.error",
1499
+ error: r
1500
+ });
1501
+ });
1502
+ }
1503
+ function Kr() {
1504
+ if (!Er() || typeof window > "u" || (Gr(), Hr() != null)) return;
1505
+ let e = (e) => {
1506
+ let t = e.error ?? e.message;
1507
+ $(t) || $(e.message) || (e.preventDefault(), Q({
1508
+ title: "Uncaught error",
1509
+ error: t
1510
+ }));
1511
+ }, t = (e) => {
1512
+ $(e.reason) || (e.preventDefault(), Q({
1513
+ title: "Unhandled promise rejection",
1514
+ error: e.reason
1515
+ }));
1516
+ };
1517
+ Reflect.set(window, zr, {
1518
+ onWindowError: e,
1519
+ onUnhandledRejection: t
1520
+ }), window.addEventListener("error", e), window.addEventListener("unhandledrejection", t);
1521
+ }
1522
+ //#endregion
1523
+ export { Ge as AuditHistoryPage, Ht as BrandLink, We as CheckpointRevertPreview, Ve as ChromeTextLink, pe as CopyableId, Ae as DashboardCopyDialog, je as DashboardDisabledBadge, Me as DashboardEnabledSwitch, Oe as DashboardIconGlyph, E as DashboardNavigationProvider, qe as DashboardPage, Nr as DevFatalErrorBoundary, Jt as LanguageSwitcher, Cr as LocalWorkspaceApp, tn as MobileNavMenuButton, Qt as MobileNavProvider, Yt as ModeToggle, nn as NoAccessPage, Vt as OvervisHmiLogo, Bt as OvervisLogo, He as ReportPage, te as SetupDashboardCreateDialog, ee as SetupDashboardCreateFromReportDialog, S as SetupDashboardSettingsDialog, ke as SetupDashboardsPage, y as SetupEndpointCreateDialog, v as SetupEndpointEditDialog, Je as SetupEndpointStatusPage, Ke as SetupEndpointsPage, Qe as SetupFilesPage, x as SetupParameterFormDialog, Ye as SetupParametersPage, C as SetupReportFormDialog, Xe as SetupReportsPage, Ee as ThemeProvider, Wt as WorkspaceBrandLink, Ft as WorkspaceFavicon, _ as WorkspaceHostProvider, Le as WorkspaceIndexPage, xn as WorkspaceLayout, Ut as WorkspaceLogo, Ie as WorkspacePullInstructions, gn as WorkspaceSuspendedPage, r as createQueryClient, t as createTrpcClient, gr as createWorkspaceRoutes, Kr as installDevFatalCrash, de as invalidateAfterApiCall, fe as invalidateAfterDirectApiCall, k as invalidateWorkspaceCaches, _n as isWorkspaceNoAccessError, _r as parseRouterSearch, Ze as postWorkspaceUpload, vr as stringifyRouterSearch, e as trpcContext, Te as useTheme, m as useUiPageStateReader, g as useWorkspaceHost, Ue as workspaceAccessLabel };