@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
@@ -0,0 +1,164 @@
1
+ import type { ParameterWriteSequenceResult, ParameterWriteSequenceStep, ParameterWriteValuesInput, ParameterWriteValuesOutput } from "@overvis/hmi-shared/parameter";
2
+ import { type ParameterValueState } from "../parameters/live/model.js";
3
+ /** One output relay of a relay test: where its state is read and where it is commanded. */
4
+ export interface DeviceRelayTestRelay {
5
+ key: string;
6
+ label: string;
7
+ /** A boolean reading of the relay's present state. */
8
+ stateParameterId: string;
9
+ /** The register that switches the relay while the device is under remote control. */
10
+ commandParameterId: string;
11
+ }
12
+ /** The device setting that hands its relays to remote control, and its two codes. */
13
+ export interface DeviceRelayTestRemote {
14
+ parameterId: string;
15
+ /** The code that puts the relays under remote control. */
16
+ testValue: number;
17
+ /** The code a test returns to when it did not record the previous one. */
18
+ normalValue: number;
19
+ }
20
+ export type DeviceRelayTestAvailability = "ready" | "forbidden" | "disconnected"
21
+ /** The remote-control setting or a relay state is not known from a fresh read. */
22
+ | "pending"
23
+ /** The relays are already under remote control, possibly by another master. */
24
+ | "remote"
25
+ /** The browser cannot keep the test, so a reload could leave it running with no End test. */
26
+ | "noStorage";
27
+ /** The value comes from a fresh read and no write to it is under way, so it is not changing. */
28
+ export declare const relayTestFresh: (state: ParameterValueState) => boolean;
29
+ /**
30
+ * Whether a test can start now. It starts only from fresh readings of the remote-control setting
31
+ * and every relay, so the relays are handed over in the positions they hold, and never while the
32
+ * relays are already under remote control.
33
+ */
34
+ export declare function deviceRelayTestAvailability(input: {
35
+ canWrite: boolean;
36
+ connected: boolean;
37
+ /** The browser can keep a running test, see `deviceRelayTestStorageWorks`. */
38
+ storage: boolean;
39
+ remote: ParameterValueState;
40
+ remoteTestValue: number;
41
+ relayStates: readonly ParameterValueState[];
42
+ /** Each relay's command register, which the end puts back. */
43
+ commandStates: readonly ParameterValueState[];
44
+ }): DeviceRelayTestAvailability;
45
+ /**
46
+ * Starting a test: hand the relays to remote control, then command each relay to the state it
47
+ * holds now. This keeps the handover change short, not absent: between the first write and the
48
+ * commands, the device applies its old command values, so a relay may switch briefly.
49
+ */
50
+ export declare function deviceRelayTestStartSteps(input: {
51
+ remote: DeviceRelayTestRemote;
52
+ relays: readonly DeviceRelayTestRelay[];
53
+ /** Each relay's present state, by key. */
54
+ states: Readonly<Record<string, boolean>>;
55
+ }): ParameterWriteSequenceStep[];
56
+ /** Whether the device acknowledged the remote-control write, the first step of a start sequence. */
57
+ export declare function deviceRelayTestRemoteAcknowledged(result: ParameterWriteSequenceResult): boolean;
58
+ /**
59
+ * Whether a start sequence may have handed the relays over. The remote-control write is its first
60
+ * step: once it was acknowledged, or its result is unknown and so it may have been applied, the
61
+ * test runs so it can be ended, even if a later command failed.
62
+ */
63
+ export declare function deviceRelayTestHandedOver(result: ParameterWriteSequenceResult): boolean;
64
+ /**
65
+ * A test this page runs: what to restore, whether the handover is confirmed (by the device's
66
+ * acknowledgement of the write or by a read showing it), and whether it was taken up from the
67
+ * browser after a reload rather than started on this page.
68
+ */
69
+ export interface DeviceRelayTestSession extends DeviceRelayTestRecord {
70
+ confirmed: boolean;
71
+ restored: boolean;
72
+ }
73
+ /** The session a settled start sequence leaves, or null when it cannot have handed over. */
74
+ export declare function deviceRelayTestSessionAfterStart(result: ParameterWriteSequenceResult, record: DeviceRelayTestRecord): DeviceRelayTestSession | null;
75
+ /** The session a test kept in the browser resumes as after a reload. */
76
+ export declare const deviceRelayTestRestoredSession: (stored: DeviceRelayTestRecord) => DeviceRelayTestSession;
77
+ /**
78
+ * What a fresh read of the remote-control code does to a session: the test code confirms one
79
+ * started here; any other code ends a confirmed one (the device took control back, after its link
80
+ * supervision timed out or someone changed the setting) and drops a restored one (it ended while
81
+ * the page was away). An unconfirmed test started here keeps waiting for its first step to show.
82
+ * A restored test is never confirmed: the remote control it reads may be another master's, taken
83
+ * after the device returned to normal, so it only offers End test.
84
+ */
85
+ export declare function deviceRelayTestSessionAfterRead(session: DeviceRelayTestSession, remoteValue: number, testValue: number): {
86
+ session: DeviceRelayTestSession | null;
87
+ takenBack: boolean;
88
+ } | null;
89
+ /**
90
+ * What the browser keeps for a test: what to restore while it runs, and after it ended on its own
91
+ * until its command registers are put back (`leftover`, kept for a retry after a reload if that
92
+ * fails); nothing once it is over; and "unchanged" while a start is being sent, which its first
93
+ * write already kept.
94
+ */
95
+ export declare function deviceRelayTestKept(session: DeviceRelayTestSession | null, handingOver: boolean, leftover?: DeviceRelayTestRecord | null): DeviceRelayTestRecord | null | "unchanged";
96
+ /** Leaving the page asks first from the first write of a start until the test ends. */
97
+ export declare const deviceRelayTestBlocksLeaving: (session: DeviceRelayTestSession | null, handingOver: boolean) => boolean;
98
+ /** Commanding one relay while the test runs: 1 switches it on, 0 off. */
99
+ export declare const deviceRelayTestCommandItem: (relay: DeviceRelayTestRelay, on: boolean) => {
100
+ paramId: string;
101
+ value: string;
102
+ };
103
+ /**
104
+ * Writes one item of a test and reports whether the device acknowledged it; a missing result, an
105
+ * error result or a failed request all count as not acknowledged.
106
+ */
107
+ export declare function deviceRelayTestWrite(write: (input: ParameterWriteValuesInput) => Promise<ParameterWriteValuesOutput>, item: {
108
+ paramId: string;
109
+ value: string;
110
+ }): Promise<boolean>;
111
+ /** Ending a test: return the remote-control setting to the code it had before the test. */
112
+ export declare function deviceRelayTestEndItem(remote: DeviceRelayTestRemote, previous: number | null): {
113
+ paramId: string;
114
+ value: string;
115
+ };
116
+ /** What a test puts back when it ends, kept in the browser so a reload can still end it. */
117
+ export interface DeviceRelayTestRecord {
118
+ /** The remote-control code to restore. */
119
+ previous: number | null;
120
+ /** Each relay's command code before the test, by relay key. */
121
+ commands: Readonly<Record<string, number>>;
122
+ }
123
+ /**
124
+ * After the device is back under its own control: put each relay's command register back to its
125
+ * code before the test, so the test's commands do not wait for the next remote control.
126
+ */
127
+ export declare function deviceRelayTestRestoreItems(relays: readonly DeviceRelayTestRelay[], commands: Readonly<Record<string, number>>): {
128
+ paramId: string;
129
+ value: string;
130
+ }[];
131
+ /** Write items from their JSON text; none when the text is not a list of them. */
132
+ export declare function parseDeviceRelayTestWriteItems(text: string): {
133
+ paramId: string;
134
+ value: string;
135
+ }[];
136
+ /** A record from its JSON text, or null when the text is not one. */
137
+ export declare function parseDeviceRelayTestRecord(text: string): DeviceRelayTestRecord | null;
138
+ /** The parameters a relay test belongs to: the remote setting, then each relay's state and command. */
139
+ export declare function deviceRelayTestParameterIds(remote: DeviceRelayTestRemote, relays: readonly DeviceRelayTestRelay[]): string[];
140
+ /**
141
+ * The code to restore of a relay test kept for these parameters, or null when there is none, it is
142
+ * unreadable, it belongs to other parameters, or storage is blocked.
143
+ */
144
+ export declare function readStoredDeviceRelayTest(storage: Storage | undefined, key: string, parameterIds: readonly string[]): DeviceRelayTestRecord | null;
145
+ /**
146
+ * Keeps a relay test's code to restore, or removes it with null, and reports whether the storage
147
+ * now holds exactly that: blocked or full storage, or a write that did not stick, reports false.
148
+ */
149
+ export declare function writeStoredDeviceRelayTest(storage: Storage | undefined, key: string, test: DeviceRelayTestRecord | null, parameterIds: readonly string[]): boolean;
150
+ /** Whether the browser's storage keeps what is written to it; blocked or full storage does not. */
151
+ export declare function deviceRelayTestStorageWorks(storage: Storage | undefined): boolean;
152
+ /** The browser's local storage, when this page may use it. */
153
+ export declare function deviceRelayTestStorage(): Storage | undefined;
154
+ /** Marks the test under `key` as running here with a confirmed handover, or not. */
155
+ export declare function setDeviceRelayTestActive(key: string, active: boolean): void;
156
+ /** Whether the test under `key` runs here with a confirmed handover. */
157
+ export declare const isDeviceRelayTestActive: (key: string) => boolean;
158
+ /**
159
+ * Whether `DeviceRelayTest` with this `storageKey` runs a test on this page: from the first write
160
+ * of its start, and then while the device confirms the handover, updated as it changes. A banner that offers to end remote control stays out of
161
+ * the way of such a test. A test taken up after a reload never counts: the remote control it reads
162
+ * may be another master's.
163
+ */
164
+ export declare function useDeviceRelayTestActive(storageKey: string): boolean;
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Colors of the series of a device trend, in order. Phase L1, L2 and L3 are the first three, so a
3
+ * table or a headline that marks a phase with its swatch matches the chart.
4
+ */
5
+ export declare const deviceSeriesColors: readonly [{
6
+ readonly stroke: `
7
+ stroke-primary
8
+ dark:stroke-cyan-300
9
+ `;
10
+ readonly fill: `
11
+ fill-primary
12
+ dark:fill-cyan-300
13
+ `;
14
+ readonly swatch: `
15
+ bg-primary
16
+ dark:bg-cyan-300
17
+ `;
18
+ }, {
19
+ readonly stroke: `
20
+ stroke-amber-600
21
+ dark:stroke-amber-300
22
+ `;
23
+ readonly fill: `
24
+ fill-amber-600
25
+ dark:fill-amber-300
26
+ `;
27
+ readonly swatch: `
28
+ bg-amber-600
29
+ dark:bg-amber-300
30
+ `;
31
+ }, {
32
+ readonly stroke: `
33
+ stroke-violet-600
34
+ dark:stroke-violet-300
35
+ `;
36
+ readonly fill: `
37
+ fill-violet-600
38
+ dark:fill-violet-300
39
+ `;
40
+ readonly swatch: `
41
+ bg-violet-600
42
+ dark:bg-violet-300
43
+ `;
44
+ }, {
45
+ readonly stroke: `
46
+ stroke-pink-600
47
+ dark:stroke-pink-300
48
+ `;
49
+ readonly fill: `
50
+ fill-pink-600
51
+ dark:fill-pink-300
52
+ `;
53
+ readonly swatch: `
54
+ bg-pink-600
55
+ dark:bg-pink-300
56
+ `;
57
+ }];
58
+ export declare function deviceSeriesColor(index: number): (typeof deviceSeriesColors)[number];
@@ -0,0 +1,20 @@
1
+ import type { ReactElement } from "react";
2
+ import { type DeviceSettingOption } from "./settings-types.js";
3
+ interface ChoiceProps {
4
+ id: string;
5
+ options: readonly DeviceSettingOption[];
6
+ /** The selected code as the form holds it. */
7
+ value: string;
8
+ disabled: boolean;
9
+ onChange: (value: string) => void;
10
+ }
11
+ /** A choice as segmented buttons; `compact` buttons fit their labels on wide sections. */
12
+ export declare function SettingSegmented({ id, label, options, value, disabled, onChange, compact, }: ChoiceProps & {
13
+ label: string;
14
+ compact?: boolean;
15
+ }): ReactElement;
16
+ /** A choice as a drop-down. */
17
+ export declare function SettingSelect({ id, options, value, disabled, onChange, onBlur, }: ChoiceProps & {
18
+ onBlur: () => void;
19
+ }): ReactElement;
20
+ export {};
@@ -0,0 +1,39 @@
1
+ /** A number the device accepts from `min` to `max`, in steps of 10^-`decimals`. */
2
+ export interface DeviceSettingNumberSpec {
3
+ kind: "number";
4
+ min: number;
5
+ max: number;
6
+ decimals: number;
7
+ }
8
+ /** One of the device's codes for a setting. */
9
+ export interface DeviceSettingChoiceSpec {
10
+ kind: "choice";
11
+ values: readonly number[];
12
+ }
13
+ /** What a device setting accepts; drafts outside it are reported and never written. */
14
+ export type DeviceSettingSpec = DeviceSettingNumberSpec | DeviceSettingChoiceSpec;
15
+ /** A number setting from `min` to `max` with `decimals` decimal places. */
16
+ export declare const deviceSettingNumber: (min: number, max: number, decimals?: number) => DeviceSettingNumberSpec;
17
+ /** A setting that takes one of the device's codes. */
18
+ export declare const deviceSettingChoice: (...values: number[]) => DeviceSettingChoiceSpec;
19
+ /** A draft as the operator typed it; a comma is accepted as the decimal separator. */
20
+ export declare function parseDraft(text: string): number | null;
21
+ export type FieldProblem = {
22
+ kind: "invalid";
23
+ } | {
24
+ kind: "range";
25
+ min: number;
26
+ max: number;
27
+ } | {
28
+ kind: "step";
29
+ decimals: number;
30
+ };
31
+ export declare function fieldProblem(spec: DeviceSettingSpec, text: string): FieldProblem | null;
32
+ /** The draft of a device value: the value itself, or empty while it is unknown. */
33
+ export declare function draftOf(value: number | null, spec: DeviceSettingSpec): string;
34
+ /** Fields whose draft is a valid value different from the device value. */
35
+ export declare function changedFields<Key extends string>(specs: Readonly<Record<Key, DeviceSettingSpec>>, baseline: Readonly<Record<string, string>>, drafts: Readonly<Record<string, string>>, keys: readonly Key[]): Key[];
36
+ /** The value a draft writes: a canonical decimal string. */
37
+ export declare function writeValue(spec: DeviceSettingSpec, text: string): string;
38
+ /** Fields the operator edited: a draft that is not the device value, valid or not. */
39
+ export declare function editedFields<Key extends string>(specs: Readonly<Record<Key, DeviceSettingSpec>>, baseline: Readonly<Record<string, string>>, drafts: Readonly<Record<string, string>>, keys: readonly Key[]): Key[];
@@ -0,0 +1,35 @@
1
+ import { type ReactElement, type ReactNode } from "react";
2
+ import type { ParameterWriteSequenceSecret } from "../parameters/live/write-sequence-dialog.js";
3
+ import { type DeviceSettingSpec } from "./settings-fields.js";
4
+ import type { DeviceSettingsContext, DeviceSettingsValidator } from "./settings-types.js";
5
+ import { type DeviceSettingsVerification, type DeviceSettingsWritePlan } from "./settings-write.js";
6
+ /** The form of one settings section: drafts, row layout, confirmation, write and read-back. */
7
+ export declare function SettingsForm<Key extends string>({ id, title, keys, bindings, specs, baseline, units, labels, canWrite, reading, optionLabel, plan, unlock, receivedAt, notKeptMessage, validate, unsupported, onDraftsChange, onWritten, onVerified, children, }: {
8
+ id: string;
9
+ title: string;
10
+ validate: DeviceSettingsValidator<Key> | undefined;
11
+ /** Registers the device does not have: shown as not supported and never written. */
12
+ unsupported: ReadonlySet<Key>;
13
+ keys: readonly Key[];
14
+ bindings: Readonly<Record<Key, string>>;
15
+ specs: Readonly<Record<Key, DeviceSettingSpec>>;
16
+ baseline: Readonly<Record<string, string>>;
17
+ /** When each setting's current value was read; null while it has none. */
18
+ receivedAt: ReadonlyMap<Key, number | null>;
19
+ unlock: ParameterWriteSequenceSecret | undefined;
20
+ notKeptMessage: string;
21
+ onVerified: ((verification: DeviceSettingsVerification<Key>) => void) | undefined;
22
+ units: ReadonlyMap<Key, string>;
23
+ labels: Readonly<Record<Key, string>>;
24
+ canWrite: boolean;
25
+ onDraftsChange: ((draft: (key: Key) => number | null) => void) | undefined;
26
+ /**
27
+ * A read of the settings is under way. The fields stay editable, but changes are not confirmed
28
+ * until it settles, so they are never reviewed against values about to be replaced.
29
+ */
30
+ reading: boolean;
31
+ optionLabel: (key: Key, value: number, setting: (key: Key) => number | null) => string | null;
32
+ plan: DeviceSettingsWritePlan<Key>;
33
+ onWritten: ((written: readonly Key[]) => void) | undefined;
34
+ children: (context: DeviceSettingsContext<Key>) => ReactNode;
35
+ }): ReactElement;
@@ -0,0 +1,29 @@
1
+ import type { ReactElement, ReactNode } from "react";
2
+ /**
3
+ * A link in a device settings page's index: a `DeviceSettingsSection` id, title and icon. With
4
+ * `unavailable`, the section is not on the page; the index lists it, unlinked, under that reason.
5
+ */
6
+ export interface DeviceSettingsIndexEntry {
7
+ id: string;
8
+ title: string;
9
+ icon: ReactNode;
10
+ unavailable?: string;
11
+ }
12
+ /**
13
+ * A device settings page: an index of its sections beside them on wide screens and above them on
14
+ * a phone, then the intro, or why the operator cannot change settings, with **Read again**.
15
+ * `children` are the sections, with any notes that apply to all of them first. Place it in an
16
+ * `@container` so the index follows the dashboard width.
17
+ */
18
+ export declare function DeviceSettingsPage({ sections, intro, canWrite, connected, onReadAgain, children, }: {
19
+ sections: readonly DeviceSettingsIndexEntry[];
20
+ /** What the page changes, shown to operators who can write. */
21
+ intro: ReactNode;
22
+ /** The workspace role can write parameter values. */
23
+ canWrite: boolean;
24
+ /** The device answers; reading again waits for its connection otherwise. */
25
+ connected: boolean;
26
+ /** Reads every setting from the device again. */
27
+ onReadAgain: () => void;
28
+ children: ReactNode;
29
+ }): ReactElement;
@@ -0,0 +1,25 @@
1
+ /** The parts of a form field a settings row uses. */
2
+ export interface FieldApi {
3
+ name: string;
4
+ state: {
5
+ value: string;
6
+ meta: {
7
+ errors: unknown[];
8
+ isValid: boolean;
9
+ };
10
+ };
11
+ handleChange: (value: string) => void;
12
+ handleBlur: () => void;
13
+ }
14
+ export declare const fieldName: (key: string) => string;
15
+ /** Resets drafts of settings the layout no longer shows, so hidden values are never written. */
16
+ export declare function ResetHidden({ hidden, onReset, }: {
17
+ hidden: readonly string[];
18
+ onReset: (keys: readonly string[]) => void;
19
+ }): null;
20
+ /** Setting rows sit in one column on a phone and beside their controls from 34rem up. */
21
+ export declare const rowClass = "\n relative grid gap-x-6 gap-y-2 py-3.5\n @min-[34rem]/settings:grid-cols-[minmax(0,1fr)_minmax(0,14rem)] @min-[34rem]/settings:items-start\n";
22
+ /** A row whose control takes its own width beside the label, or the full row under it. */
23
+ export declare const fitRowClass = "relative flex flex-wrap items-start gap-x-6 gap-y-2 py-3.5";
24
+ /** A changed setting is marked on its row until it is written or discarded. */
25
+ export declare const changedClass = "\n before:absolute before:inset-y-3 before:-left-4 before:w-0.5 before:rounded-full\n before:bg-primary\n sm:before:-left-5\n";
@@ -0,0 +1,78 @@
1
+ import { type AppLocale } from "@overvis/hmi-shared";
2
+ import type { ReactElement, ReactNode } from "react";
3
+ import type { ParameterWriteSequenceSecret } from "../parameters/live/write-sequence-dialog.js";
4
+ import { type DeviceSettingSpec } from "./settings-fields.js";
5
+ import { type DeviceSettingsVerification, type DeviceSettingsWritePlan } from "./settings-write.js";
6
+ import type { DeviceSettingsContext, DeviceSettingsValidator } from "./settings-types.js";
7
+ /**
8
+ * One section of a device's settings: shows the settings the dashboard polls as drafts, marks
9
+ * edited rows with the device value, reports values the device does not accept as they are typed,
10
+ * and writes the changes after a confirmation of old → new values, in one request or in the
11
+ * ordered steps of `plan`; changes a failed step did not write keep their drafts and errors on their
12
+ * rows. A newer reading
13
+ * updates untouched settings and keeps edits; settings kept from an earlier read are read-only
14
+ * until read again. The layout places the rows and decides which settings the current drafts
15
+ * hide; edits to hidden settings are reset to the device value.
16
+ */
17
+ export declare function DeviceSettingsSection<Key extends string>({ id, icon, title, description, keys, bindings, specs, labels, locale, canWrite, pendingRead, optionLabel, plan, unlock, notKeptMessage, validate, units: unitOverrides, onDraftsChange, onWritten, onVerified, children, }: {
18
+ /** The section element's id, which a settings index links to. */
19
+ id: string;
20
+ icon: ReactNode;
21
+ title: string;
22
+ description: string;
23
+ keys: readonly Key[];
24
+ bindings: Readonly<Record<Key, string>>;
25
+ specs: Readonly<Record<Key, DeviceSettingSpec>>;
26
+ /** Setting names, for the rows and the confirmation. */
27
+ labels: Readonly<Record<Key, string>>;
28
+ locale: AppLocale;
29
+ canWrite: boolean;
30
+ /**
31
+ * How a value reads in the confirmation and as the device value, such as a choice code's label;
32
+ * the code with its unit by default. `setting` reads the other settings on the same side, device
33
+ * values beside a device value and drafts beside a draft, for a value whose meaning depends on
34
+ * another, such as a threshold in its source's unit.
35
+ */
36
+ optionLabel?: (key: Key, value: number, setting: (key: Key) => number | null) => string | null;
37
+ /**
38
+ * A read the settings depend on, such as of a mode that decides which of them apply, is under
39
+ * way. Edits continue but are not confirmed until it settles.
40
+ */
41
+ pendingRead?: boolean;
42
+ /**
43
+ * Orders the confirmed changes into steps, such as a password unlock before them and a save to
44
+ * device memory after them. Without it the changes are written together in one request.
45
+ */
46
+ plan?: DeviceSettingsWritePlan<Key>;
47
+ /**
48
+ * A password typed in the confirmation and written before the plan's steps, such as a device
49
+ * unlock; an optional one left empty adds no step.
50
+ */
51
+ unlock?: ParameterWriteSequenceSecret;
52
+ /**
53
+ * Shown on a setting whose write the device acknowledged but whose next read still shows another
54
+ * value, such as a device that ignores writes while locked.
55
+ */
56
+ notKeptMessage?: string;
57
+ /** Called once the written settings were read again, with those the device kept and did not. */
58
+ onVerified?: (verification: DeviceSettingsVerification<Key>) => void;
59
+ /**
60
+ * Checks between settings, shown on the rows as soon as something is edited and checked again
61
+ * before the confirmation opens.
62
+ */
63
+ validate?: DeviceSettingsValidator<Key>;
64
+ /** Units that replace the parameters' own, such as °F while the device displays Fahrenheit. */
65
+ units?: Partial<Readonly<Record<Key, string>>>;
66
+ /**
67
+ * Called with the drafts the device accepts whenever one changes, such as for another section
68
+ * whose previews follow them.
69
+ */
70
+ onDraftsChange?: (draft: (key: Key) => number | null) => void;
71
+ /**
72
+ * Called with the settings a confirmed write acknowledged. A setting whose write changes others on the
73
+ * device, such as a mode that resets them, reads them again here.
74
+ */
75
+ onWritten?: (written: readonly Key[]) => void;
76
+ /** Places the rows; settings it does not render for the current drafts are never written. */
77
+ children: (context: DeviceSettingsContext<Key>) => ReactNode;
78
+ }): ReactElement;
@@ -0,0 +1,5 @@
1
+ import type { FieldProblem } from "./settings-fields.js";
2
+ /** Why a typed setting is not accepted, in the dashboard language. */
3
+ export declare function problemText(problem: FieldProblem, unit: string): string;
4
+ /** The range hint under a number setting, such as "50–150 %". */
5
+ export declare function rangeText(min: number, max: number, unit: string): string;
@@ -0,0 +1,122 @@
1
+ import type { ReactElement, ReactNode } from "react";
2
+ /** One of a choice setting's codes with its label. */
3
+ export interface DeviceSettingOption {
4
+ value: number;
5
+ label: string;
6
+ /** What the option does, shown under the setting while it is selected. */
7
+ hint?: string;
8
+ /**
9
+ * A code the device can hold but the form never writes, such as one set only on the device's
10
+ * own keypad: named while it is the device's value, and not offered as a choice.
11
+ */
12
+ readOnly?: boolean;
13
+ }
14
+ export interface DeviceSettingRowOptions {
15
+ /** Replaces the setting's label, such as a delay that depends on the curve. */
16
+ label?: string;
17
+ /** Shown under the label; a disabled setting shows its reason instead. */
18
+ hint?: string;
19
+ /**
20
+ * The setting cannot be edited, for this reason. An empty reason disables the row without a
21
+ * note, for a reason the section states once for several rows.
22
+ */
23
+ disabledReason?: string | null;
24
+ /**
25
+ * Replaces the message for a draft the setting's spec rejects, such as when a custom control
26
+ * enters the value in another unit than the device stores.
27
+ */
28
+ invalidText?: string;
29
+ }
30
+ export interface DeviceSettingChoiceOptions extends DeviceSettingRowOptions {
31
+ options: readonly DeviceSettingOption[];
32
+ /**
33
+ * `segmented` shows every option as a button, under the label when there is not room
34
+ * beside it; `select` is a drop-down beside the label.
35
+ */
36
+ style: "segmented" | "select";
37
+ }
38
+ export interface DeviceSettingSwitchOptions extends DeviceSettingRowOptions {
39
+ /** The code the switch writes when on; 1 by default. */
40
+ on?: number;
41
+ /** The code the switch writes when off; 0 by default. */
42
+ off?: number;
43
+ }
44
+ export interface DeviceSettingCustomOptions extends DeviceSettingRowOptions {
45
+ /** `stacked` puts the control under the label on any width. */
46
+ layout?: "columns" | "stacked";
47
+ /** The setting's value in words, for the confirmation and the device value. */
48
+ describe?: (value: number) => string;
49
+ }
50
+ export interface DeviceSettingReadOnlyOptions {
51
+ /** Replaces the setting's label. */
52
+ label?: string;
53
+ /** Why the setting cannot be changed here, such as "Set on the device's front panel". */
54
+ reason: string;
55
+ }
56
+ /** What a custom setting control renders with: the draft as the device code, and its events. */
57
+ export interface DeviceSettingControlProps {
58
+ /** The control's element id, which the row's label points to. */
59
+ id: string;
60
+ /** The draft as the device value, such as "30000" for 30 s stored in milliseconds. */
61
+ value: string;
62
+ disabled: boolean;
63
+ invalid: boolean;
64
+ onChange: (value: string) => void;
65
+ onBlur: () => void;
66
+ }
67
+ /**
68
+ * Problems between settings of a section, such as a lower limit above an upper one, by the setting
69
+ * that shows each. `draft` gives the drafts the device accepts as numbers, null otherwise.
70
+ */
71
+ export type DeviceSettingsValidator<Key extends string> = (draft: (key: Key) => number | null) => Partial<Record<Key, string>>;
72
+ /** What a settings section's layout reads and renders. */
73
+ export interface DeviceSettingsContext<Key extends string> {
74
+ /** Draft numbers; null while a draft is not a number. */
75
+ draft: (key: Key) => number | null;
76
+ /** The setting's unit in the dashboard language; empty when it has none. */
77
+ unit: (key: Key) => string;
78
+ /** The draft differs from the device value. */
79
+ changed: (key: Key) => boolean;
80
+ /**
81
+ * The section's settings can be edited: write access, and device values from a fresh read. A
82
+ * helper that proposes drafts offers them only while this holds.
83
+ */
84
+ editable: boolean;
85
+ /**
86
+ * Replaces a setting's draft, such as with a value a helper proposes or offsets converted to keep
87
+ * the temperatures they stand for when their mode changes; it is rounded to the setting's
88
+ * decimals and reviewed and written like a typed edit. Ignored while the section is not editable.
89
+ */
90
+ setDraft: (key: Key, value: number) => void;
91
+ /** One setting as a row: its name and help beside a number field. */
92
+ number: (key: Key, options?: DeviceSettingRowOptions) => ReactElement;
93
+ /** One setting as a row with a choice of codes. */
94
+ choice: (key: Key, options: DeviceSettingChoiceOptions) => ReactElement;
95
+ /** A setting with two codes as a row with an on/off switch. */
96
+ switch: (key: Key, options?: DeviceSettingSwitchOptions) => ReactElement;
97
+ /** A setting shown with its device value and the reason it cannot be changed here. */
98
+ readOnly: (key: Key, options: DeviceSettingReadOnlyOptions) => ReactElement;
99
+ /**
100
+ * A setting as a row with the section's own control, such as a picker or a value entered in
101
+ * another unit. The draft stays the device value; the spec still checks it before writing.
102
+ */
103
+ custom: (key: Key, options: DeviceSettingCustomOptions, control: (props: DeviceSettingControlProps) => ReactNode) => ReactElement;
104
+ /**
105
+ * Keeps a setting the layout writes without a row of its own, such as one that follows another,
106
+ * so its edit is not reset as hidden.
107
+ */
108
+ keep: (key: Key) => void;
109
+ /**
110
+ * A choice whose code 0 switches a group of settings off, such as a protection: the choice in
111
+ * the group's header, and the group's settings only while it is not 0.
112
+ */
113
+ switched: (key: Key, options: {
114
+ title: string;
115
+ description?: string;
116
+ options: readonly DeviceSettingOption[];
117
+ },
118
+ /** Called only while the group is on, so its settings are known to be hidden otherwise. */
119
+ children?: () => ReactNode) => ReactElement;
120
+ }
121
+ /** The options a choice lists: a read-only one only while it is the selected value. */
122
+ export declare function offeredOptions(options: readonly DeviceSettingOption[], value: string): readonly DeviceSettingOption[];
@@ -0,0 +1,27 @@
1
+ import { type ReactElement } from "react";
2
+ import type { ParameterWriteReviewChange } from "../parameters/live/write-review-dialog.js";
3
+ import type { ParameterWriteSequenceSecret } from "../parameters/live/write-sequence-dialog.js";
4
+ import { type DeviceSettingsWriteOutcome, type DeviceSettingsWriteStep } from "./settings-write.js";
5
+ /**
6
+ * The confirmation of a settings section's changes: the changes as old → new and the plan's other
7
+ * steps by their labels, in the order they are written. Confirming writes the steps in order and
8
+ * stops at the first that is not acknowledged. When the changes show the failure on their fields
9
+ * the dialog closes; a failure they cannot show, such as of an unlock or save step or a request
10
+ * that returned no results, is reported here.
11
+ */
12
+ export declare function DeviceSettingsWriteDialog<Key extends string>({ open, title, changes, steps: plannedSteps, unlock, outdated, disabled, onOpenChange, onSettled, }: {
13
+ open: boolean;
14
+ title: string;
15
+ changes: readonly ParameterWriteReviewChange<Key>[];
16
+ steps: readonly DeviceSettingsWriteStep[];
17
+ /**
18
+ * A password typed in the confirmation and written in a step before `steps`, such as a device
19
+ * unlock; an optional one left empty adds no step.
20
+ */
21
+ unlock?: ParameterWriteSequenceSecret;
22
+ /** The device values changed after the changes were reviewed. */
23
+ outdated: boolean;
24
+ disabled: boolean;
25
+ onOpenChange: (open: boolean) => void;
26
+ onSettled: (outcome: DeviceSettingsWriteOutcome<Key>) => void;
27
+ }): ReactElement;