@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.
- package/LICENSE +28 -0
- package/README.md +84 -2
- package/THIRD_PARTY_NOTICES +151 -0
- package/dist/OFL-1.1.txt +93 -0
- package/dist/alarm-list-BL3xQ5Lf.js +423 -0
- package/dist/alarm-rule-dialog-S1ZUg-74.js +423 -0
- package/dist/alarm-rule-lists-C5v1Kf7A.js +344 -0
- package/dist/alarm-rules-page-CqFzofPd.js +121 -0
- package/dist/alert-B8MAoIO8.js +45 -0
- package/dist/alert-dialog-CYkuMg5D.js +129 -0
- package/dist/api-error-9rQmUN5L.js +93 -0
- package/dist/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/base-revision-YCO27zR4.js +106 -0
- package/dist/breadcrumb-DzVL1yHa.js +74 -0
- package/dist/breadcrumbs-0cjsV2cq.js +21 -0
- package/dist/button-6SxPBYMz.js +44 -0
- package/dist/catalog-list-DjZojYLJ.js +77 -0
- package/dist/code-editor-BVimvjDV.js +143 -0
- package/dist/context-u9KJQmdB.js +102 -0
- package/dist/copyable-id-DYGiAcnq.js +40 -0
- package/dist/dashboard-bindings.js +26 -0
- package/dist/dashboard-context-CBfG6DoT.js +191 -0
- package/dist/dashboards-page-BlrJguNz.js +1064 -0
- package/dist/date-time-picker-C3FhMXk6.js +266 -0
- package/dist/de-14WdmJxZ.js +4578 -0
- package/dist/diagnostic-text-BAkzW0SE.js +111 -0
- package/dist/diagnostic-text-DiKd2i1w.js +76 -0
- package/dist/dialog-BIhQXcZC.js +237 -0
- package/dist/dialog-BqyIxMD-.js +54 -0
- package/dist/dialogs-B6BRnf3Q.js +730 -0
- package/dist/dialogs-D_v1LeH4.js +7820 -0
- package/dist/display-DmOo23mi.js +79 -0
- package/dist/dropdown-menu-DSzbBq3v.js +136 -0
- package/dist/editor-language-To9MxloY.js +437 -0
- package/dist/editor-page-BiSZJz5b.js +1353 -0
- package/dist/empty-B-QJ-06w.js +59 -0
- package/dist/en-BgercpT0.js +4578 -0
- package/dist/entity-controls-D1K4Ot3O.js +76 -0
- package/dist/errors-CcsvDHu8.js +26 -0
- package/dist/footer-DC-Q0052.js +10675 -0
- package/dist/history-page-sAAhG54V.js +1400 -0
- package/dist/host.js +1523 -0
- package/dist/i18n-BgzakKoC.js +401 -0
- package/dist/i18n.js +2 -0
- package/dist/icon-D-pR9htW.js +57 -0
- package/dist/index-page-DMH82fZe.js +214 -0
- package/dist/index.js +19118 -0
- package/dist/item-B5SaTFQU.js +120 -0
- package/dist/lat-lng-B12P7QyY.js +11 -0
- package/dist/list-page-CvsdZb86.js +363 -0
- package/dist/location-map-renderer-DO5yfdSU.js +145 -0
- package/dist/location-picker-renderer-CjCxg6ai.js +105 -0
- package/dist/model-B8gGi4OK.js +9 -0
- package/dist/mutation-form-validators-BNz5bsv1.js +2408 -0
- package/dist/mutations-THtGG6Ai.js +240 -0
- package/dist/notice-card-DyGywFsW.js +246 -0
- package/dist/page-2KPemaAj.js +328 -0
- package/dist/page-6rIoTg2L.js +459 -0
- package/dist/page-C6giEoEd.js +1935 -0
- package/dist/page-DCbTxKsi.js +313 -0
- package/dist/page-DWO427hT.js +208 -0
- package/dist/page-LXu_2zm3.js +137 -0
- package/dist/page-aaUiVOnk.js +513 -0
- package/dist/page-header-RB2YFWlE.js +55 -0
- package/dist/page-title-CdCbiLt8.js +14 -0
- package/dist/page-v6LCwswN.js +304 -0
- package/dist/panel-DDy8tUNR.js +338 -0
- package/dist/parameter-values.js +215 -0
- package/dist/pl-lQ9HXV9k.js +4578 -0
- package/dist/presence-code-BfSXr50g.js +83 -0
- package/dist/progress-C7cxNJA1.js +83 -0
- package/dist/provider-BOeYHi0n.js +134 -0
- package/dist/provider-DoEpKcQ-.js +29015 -0
- package/dist/query-gate-DVhNIkge.js +33 -0
- package/dist/quick-report-CUVJnbKP.js +416 -0
- package/dist/radio-group-CZGqVbkJ.js +26 -0
- package/dist/retention-BYXNpYmR.js +62 -0
- package/dist/retention-note-CHhA6gjY.js +42 -0
- package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist/ru-qTKINoUj.js +4578 -0
- package/dist/run-text-DvaO8LDF.js +113 -0
- package/dist/search-D4rDnE9T.js +265 -0
- package/dist/sections-kCOyc4NR.js +77 -0
- package/dist/select-BKiOWdSr.js +539 -0
- package/dist/select-eNgZdZ30.js +521 -0
- package/dist/skeleton-6yk8Tdh5.js +19 -0
- package/dist/slider-DorDsoF8.js +37 -0
- package/dist/spinner-C-HPNxOc.js +530 -0
- package/dist/src/audit/checkpoint-presentation.d.ts +2 -0
- package/dist/src/audit/checkpoints.d.ts +23 -0
- package/dist/src/audit/history-model.d.ts +3 -0
- package/dist/src/audit/history-page.d.ts +13 -0
- package/dist/src/audit/history-presentation.d.ts +21 -0
- package/dist/src/audit/history-search.d.ts +6 -0
- package/dist/src/audit/revert-checkpoint-dialog.d.ts +29 -0
- package/dist/src/audit/revert-device-confirmation.d.ts +20 -0
- package/dist/src/audit/setup-change-list.d.ts +5 -0
- package/dist/src/brand/brand-link.d.ts +7 -0
- package/dist/src/brand/local-brand-link.d.ts +11 -0
- package/dist/src/brand/overvis-logo.d.ts +10 -0
- package/dist/src/brand/workspace-brand-link.d.ts +10 -0
- package/dist/src/brand/workspace-favicon.d.ts +4 -0
- package/dist/src/chrome/language-switcher.d.ts +3 -0
- package/dist/src/chrome/mode-toggle.d.ts +1 -0
- package/dist/src/chrome/text-link.d.ts +8 -0
- package/dist/src/code-editor/code-editor.d.ts +55 -0
- package/dist/src/code-editor/formula-input.d.ts +20 -0
- package/dist/src/code-editor/json-positions.d.ts +26 -0
- package/dist/src/code-editor/language-features.d.ts +122 -0
- package/dist/src/code-editor/taskfile-language.d.ts +10 -0
- package/dist/src/dev-fatal/error-boundary.d.ts +10 -0
- package/dist/src/dev-fatal/format-console-error.d.ts +5 -0
- package/dist/src/dev-fatal/install.d.ts +6 -0
- package/dist/src/dev-fatal/is-enabled.d.ts +7 -0
- package/dist/src/dev-fatal/overlay.d.ts +8 -0
- package/dist/src/dev-fatal/report-render-error.d.ts +6 -0
- package/dist/src/dev-fatal/should-ignore.d.ts +5 -0
- package/dist/src/entry/host/index.d.ts +43 -0
- package/dist/src/entry/ui/index.d.ts +80 -0
- package/dist/src/form/api-error.d.ts +11 -0
- package/dist/src/form/fields/checkbox-field.d.ts +9 -0
- package/dist/src/form/fields/dashboard-picker-field.d.ts +13 -0
- package/dist/src/form/fields/formula-field.d.ts +11 -0
- package/dist/src/form/fields/otp-field.d.ts +14 -0
- package/dist/src/form/fields/parameter-picker-field.d.ts +3 -0
- package/dist/src/form/fields/text-field.d.ts +9 -0
- package/dist/src/form/fields/textarea-field.d.ts +6 -0
- package/dist/src/form/focus-first-invalid-field.d.ts +4 -0
- package/dist/src/form/form-contexts.d.ts +1 -0
- package/dist/src/form/form-error-banner.d.ts +4 -0
- package/dist/src/form/form-root.d.ts +18 -0
- package/dist/src/form/format-field-errors.d.ts +10 -0
- package/dist/src/form/index.d.ts +36 -0
- package/dist/src/form/map-trpc-to-form-errors.d.ts +34 -0
- package/dist/src/form/message.d.ts +5 -0
- package/dist/src/form/mutation-form-validators.d.ts +41 -0
- package/dist/src/form/submit-button.d.ts +13 -0
- package/dist/src/form/trpc-error-data.d.ts +19 -0
- package/dist/src/form/use-app-form.d.ts +89 -0
- package/dist/src/hooks/use-closed-minute.d.ts +6 -0
- package/dist/src/hooks/use-media-query.d.ts +2 -0
- package/dist/src/hooks/use-mobile.d.ts +1 -0
- package/dist/src/hooks/use-now.d.ts +5 -0
- package/dist/src/i18n/catalogs/de/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/de/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/de/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/de/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/de/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/de/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/de/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/de/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/de/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/de/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/de/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/de/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/de/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/de/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/de/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/de/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/de/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/de/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/de/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/de/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/de/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/de/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/de/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/de/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/de/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/de/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/de/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/de/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/de/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/de/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/de/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/de/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/de/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/de/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/de/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/de.d.ts +4510 -0
- package/dist/src/i18n/catalogs/en/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/en/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/en/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/en/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/en/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/en/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/en/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/en/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/en/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/en/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/en/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/en/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/en/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/en/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/en/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/en/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/en/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/en/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/en/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/en/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/en/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/en/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/en/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/en/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/en/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/en/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/en/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/en/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/en/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/en/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/en/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/en/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/en/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/en/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/en/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/en.d.ts +4510 -0
- package/dist/src/i18n/catalogs/pl/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/pl/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/pl/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/pl/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/pl/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/pl/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/pl/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/pl/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/pl/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/pl/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/pl/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/pl/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/pl/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/pl/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/pl/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/pl/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/pl/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/pl/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/pl/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/pl/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/pl/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/pl/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/pl/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/pl/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/pl/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/pl/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/pl/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/pl/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/pl/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/pl/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/pl/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/pl/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/pl/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/pl/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/pl/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/pl.d.ts +4510 -0
- package/dist/src/i18n/catalogs/ru/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/ru/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/ru/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/ru/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/ru/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/ru/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/ru/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/ru/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/ru/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/ru/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/ru/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/ru/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/ru/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/ru/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/ru/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/ru/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/ru/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/ru/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/ru/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/ru/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/ru/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/ru/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/ru/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/ru/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/ru/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/ru/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/ru/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/ru/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/ru/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/ru/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/ru/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/ru/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/ru/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/ru/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/ru/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/ru.d.ts +4510 -0
- package/dist/src/i18n/catalogs/uk/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/uk/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/uk/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/uk/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/uk/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/uk/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/uk/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/uk/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/uk/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/uk/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/uk/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/uk/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/uk/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/uk/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/uk/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/uk/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/uk/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/uk/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/uk/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/uk/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/uk/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/uk/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/uk/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/uk/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/uk/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/uk/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/uk/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/uk/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/uk/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/uk/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/uk/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/uk/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/uk/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/uk/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/uk/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/uk.d.ts +4510 -0
- package/dist/src/i18n/index.d.ts +4 -0
- package/dist/src/i18n/locale.d.ts +11 -0
- package/dist/src/i18n/messages.d.ts +12 -0
- package/dist/src/i18n/use-language-change.d.ts +5 -0
- package/dist/src/i18n/use-locale.d.ts +1 -0
- package/dist/src/index.d.ts +151 -0
- package/dist/src/lib/utils.d.ts +2 -0
- package/dist/src/theme-provider.d.ts +16 -0
- package/dist/src/trpc.d.ts +37 -0
- package/dist/src/ui/accordion.d.ts +6 -0
- package/dist/src/ui/alert-dialog.d.ts +20 -0
- package/dist/src/ui/alert.d.ts +10 -0
- package/dist/src/ui/aspect-ratio.d.ts +6 -0
- package/dist/src/ui/attachment.d.ts +23 -0
- package/dist/src/ui/avatar.d.ts +11 -0
- package/dist/src/ui/badge.d.ts +6 -0
- package/dist/src/ui/breadcrumb.d.ts +10 -0
- package/dist/src/ui/bubble.d.ts +16 -0
- package/dist/src/ui/button-group.d.ts +10 -0
- package/dist/src/ui/button.d.ts +8 -0
- package/dist/src/ui/calendar.d.ts +10 -0
- package/dist/src/ui/card.d.ts +11 -0
- package/dist/src/ui/carousel.d.ts +28 -0
- package/dist/src/ui/chart.d.ts +60 -0
- package/dist/src/ui/checkbox.d.ts +3 -0
- package/dist/src/ui/collapsible.d.ts +5 -0
- package/dist/src/ui/combobox.d.ts +24 -0
- package/dist/src/ui/command.d.ts +19 -0
- package/dist/src/ui/content-overlay/dismiss.d.ts +10 -0
- package/dist/src/ui/content-overlay/region.d.ts +37 -0
- package/dist/src/ui/content-overlay/root.d.ts +3 -0
- package/dist/src/ui/content-overlay/tab-wrap.d.ts +6 -0
- package/dist/src/ui/context-menu.d.ts +28 -0
- package/dist/src/ui/data-table.d.ts +38 -0
- package/dist/src/ui/date-time-picker.d.ts +30 -0
- package/dist/src/ui/dialog.d.ts +19 -0
- package/dist/src/ui/direction.d.ts +3 -0
- package/dist/src/ui/drawer.d.ts +18 -0
- package/dist/src/ui/dropdown-menu.d.ts +29 -0
- package/dist/src/ui/empty.d.ts +11 -0
- package/dist/src/ui/field.d.ts +24 -0
- package/dist/src/ui/gauge-bar.d.ts +43 -0
- package/dist/src/ui/gauge.d.ts +24 -0
- package/dist/src/ui/hover-card.d.ts +5 -0
- package/dist/src/ui/input-group.d.ts +18 -0
- package/dist/src/ui/input-otp.d.ts +11 -0
- package/dist/src/ui/input.d.ts +3 -0
- package/dist/src/ui/item.d.ts +22 -0
- package/dist/src/ui/kbd.d.ts +3 -0
- package/dist/src/ui/label.d.ts +3 -0
- package/dist/src/ui/marker.d.ts +10 -0
- package/dist/src/ui/menubar.d.ts +28 -0
- package/dist/src/ui/message-history/context.d.ts +51 -0
- package/dist/src/ui/message-history/emit.d.ts +27 -0
- package/dist/src/ui/message-history/legacy-content.d.ts +6 -0
- package/dist/src/ui/message-history/legacy.d.ts +7 -0
- package/dist/src/ui/message-history/model.d.ts +22 -0
- package/dist/src/ui/message-history/panel.d.ts +6 -0
- package/dist/src/ui/message-history/store.d.ts +26 -0
- package/dist/src/ui/message-history/toast.d.ts +7 -0
- package/dist/src/ui/message-scroller.d.ts +20 -0
- package/dist/src/ui/message.d.ts +10 -0
- package/dist/src/ui/native-select.d.ts +8 -0
- package/dist/src/ui/navigation-menu.d.ts +11 -0
- package/dist/src/ui/notice-card.d.ts +61 -0
- package/dist/src/ui/page-header.d.ts +21 -0
- package/dist/src/ui/page-title.d.ts +5 -0
- package/dist/src/ui/pagination.d.ts +17 -0
- package/dist/src/ui/popover.d.ts +9 -0
- package/dist/src/ui/progress.d.ts +7 -0
- package/dist/src/ui/questionnaire.d.ts +19 -0
- package/dist/src/ui/radio-group.d.ts +5 -0
- package/dist/src/ui/resizable.d.ts +7 -0
- package/dist/src/ui/scroll-area.d.ts +5 -0
- package/dist/src/ui/select.d.ts +11 -0
- package/dist/src/ui/separator.d.ts +3 -0
- package/dist/src/ui/sheet.d.ts +14 -0
- package/dist/src/ui/sidebar.d.ts +63 -0
- package/dist/src/ui/skeleton.d.ts +7 -0
- package/dist/src/ui/slider.d.ts +3 -0
- package/dist/src/ui/sonner.d.ts +9 -0
- package/dist/src/ui/sparkline.d.ts +31 -0
- package/dist/src/ui/spinner.d.ts +2 -0
- package/dist/src/ui/svg-diagram/dom.d.ts +6 -0
- package/dist/src/ui/svg-diagram/types.d.ts +13 -0
- package/dist/src/ui/svg-diagram.d.ts +8 -0
- package/dist/src/ui/switch.d.ts +5 -0
- package/dist/src/ui/table.d.ts +10 -0
- package/dist/src/ui/tabs.d.ts +11 -0
- package/dist/src/ui/textarea.d.ts +3 -0
- package/dist/src/ui/theme-scope.d.ts +11 -0
- package/dist/src/ui/toggle-group.d.ts +11 -0
- package/dist/src/ui/toggle.d.ts +8 -0
- package/dist/src/ui/tooltip.d.ts +6 -0
- package/dist/src/version.d.ts +2 -0
- package/dist/src/workspace/access-label.d.ts +2 -0
- package/dist/src/workspace/alarms/actions.d.ts +19 -0
- package/dist/src/workspace/alarms/alarm-list.d.ts +65 -0
- package/dist/src/workspace/alarms/history.d.ts +17 -0
- package/dist/src/workspace/alarms/model.d.ts +29 -0
- package/dist/src/workspace/alarms/nav.d.ts +15 -0
- package/dist/src/workspace/alarms/page.d.ts +10 -0
- package/dist/src/workspace/alarms/provider.d.ts +30 -0
- package/dist/src/workspace/alarms/search.d.ts +8 -0
- package/dist/src/workspace/alarms/sound.d.ts +9 -0
- package/dist/src/workspace/automations/diagnostic-text.d.ts +6 -0
- package/dist/src/workspace/automations/editor-language.d.ts +13 -0
- package/dist/src/workspace/automations/item-descriptions.d.ts +3 -0
- package/dist/src/workspace/automations/parameter-names.d.ts +2 -0
- package/dist/src/workspace/automations/run-text.d.ts +18 -0
- package/dist/src/workspace/automations/trace-view.d.ts +24 -0
- package/dist/src/workspace/automations/use-catalog.d.ts +10 -0
- package/dist/src/workspace/caches.d.ts +41 -0
- package/dist/src/workspace/context.d.ts +71 -0
- package/dist/src/workspace/copyable-id.d.ts +4 -0
- package/dist/src/workspace/dashboards/actions-menu.d.ts +4 -0
- package/dist/src/workspace/dashboards/anchor-scroll.d.ts +11 -0
- package/dist/src/workspace/dashboards/bindings.d.ts +26 -0
- package/dist/src/workspace/dashboards/configuration-rename-dialog.d.ts +10 -0
- package/dist/src/workspace/dashboards/configuration-required.d.ts +10 -0
- package/dist/src/workspace/dashboards/configuration-update-queue.d.ts +2 -0
- package/dist/src/workspace/dashboards/copy-dialog.d.ts +7 -0
- package/dist/src/workspace/dashboards/document/blocks.d.ts +42 -0
- package/dist/src/workspace/dashboards/document/chart-data.d.ts +13 -0
- package/dist/src/workspace/dashboards/document/chart.d.ts +10 -0
- package/dist/src/workspace/dashboards/document/layout.d.ts +29 -0
- package/dist/src/workspace/dashboards/document/markdown.d.ts +7 -0
- package/dist/src/workspace/dashboards/document/sources.d.ts +32 -0
- package/dist/src/workspace/dashboards/document/tiles/chart.d.ts +23 -0
- package/dist/src/workspace/dashboards/document/tiles/context.d.ts +23 -0
- package/dist/src/workspace/dashboards/document/tiles/controls.d.ts +23 -0
- package/dist/src/workspace/dashboards/document/tiles/frame.d.ts +28 -0
- package/dist/src/workspace/dashboards/document/tiles/gauge-model.d.ts +4 -0
- package/dist/src/workspace/dashboards/document/tiles/gauge.d.ts +11 -0
- package/dist/src/workspace/dashboards/document/tiles/presentation.d.ts +29 -0
- package/dist/src/workspace/dashboards/document/tiles/reading.d.ts +14 -0
- package/dist/src/workspace/dashboards/document/tiles/sparkline.d.ts +7 -0
- package/dist/src/workspace/dashboards/document/tiles/tile.d.ts +8 -0
- package/dist/src/workspace/dashboards/document/tiles/tones.d.ts +44 -0
- package/dist/src/workspace/dashboards/document/tiles/use-tile-tone.d.ts +19 -0
- package/dist/src/workspace/dashboards/document/tiles/value.d.ts +8 -0
- package/dist/src/workspace/dashboards/document/view.d.ts +16 -0
- package/dist/src/workspace/dashboards/enabled-switch.d.ts +10 -0
- package/dist/src/workspace/dashboards/entrypoint.d.ts +15 -0
- package/dist/src/workspace/dashboards/icon.d.ts +6 -0
- package/dist/src/workspace/dashboards/load-module.d.ts +40 -0
- package/dist/src/workspace/dashboards/locale.d.ts +8 -0
- package/dist/src/workspace/dashboards/module-cache.d.ts +9 -0
- package/dist/src/workspace/dashboards/mount-diagnostics.d.ts +23 -0
- package/dist/src/workspace/dashboards/mount.d.ts +39 -0
- package/dist/src/workspace/dashboards/name.d.ts +11 -0
- package/dist/src/workspace/dashboards/navigation.d.ts +51 -0
- package/dist/src/workspace/dashboards/page-paths.d.ts +7 -0
- package/dist/src/workspace/dashboards/page-tabs.d.ts +23 -0
- package/dist/src/workspace/dashboards/page.d.ts +4 -0
- package/dist/src/workspace/dashboards/rotation.d.ts +26 -0
- package/dist/src/workspace/dashboards/search-params.d.ts +7 -0
- package/dist/src/workspace/dashboards/sortable-grid.d.ts +79 -0
- package/dist/src/workspace/dashboards/stylesheet.d.ts +9 -0
- package/dist/src/workspace/dashboards/use-configuration-mutation.d.ts +40 -0
- package/dist/src/workspace/device-api/errors.d.ts +6 -0
- package/dist/src/workspace/device-api/use-device-api.d.ts +75 -0
- package/dist/src/workspace/device-presets/cold-room-card.d.ts +17 -0
- package/dist/src/workspace/device-presets/cold-room-commands.d.ts +19 -0
- package/dist/src/workspace/device-presets/cold-room-labels.d.ts +5 -0
- package/dist/src/workspace/device-presets/cold-room-model.d.ts +141 -0
- package/dist/src/workspace/device-presets/command-button.d.ts +34 -0
- package/dist/src/workspace/device-presets/endpoint-unavailable.d.ts +15 -0
- package/dist/src/workspace/device-presets/gauge-scale.d.ts +23 -0
- package/dist/src/workspace/device-presets/gauges.d.ts +52 -0
- package/dist/src/workspace/device-presets/header.d.ts +14 -0
- package/dist/src/workspace/device-presets/layout.d.ts +52 -0
- package/dist/src/workspace/device-presets/overview.d.ts +103 -0
- package/dist/src/workspace/device-presets/quantity.d.ts +5 -0
- package/dist/src/workspace/device-presets/relay-test-panel.d.ts +37 -0
- package/dist/src/workspace/device-presets/relay-test.d.ts +164 -0
- package/dist/src/workspace/device-presets/series-colors.d.ts +58 -0
- package/dist/src/workspace/device-presets/settings-choice.d.ts +20 -0
- package/dist/src/workspace/device-presets/settings-fields.d.ts +39 -0
- package/dist/src/workspace/device-presets/settings-form.d.ts +35 -0
- package/dist/src/workspace/device-presets/settings-page.d.ts +29 -0
- package/dist/src/workspace/device-presets/settings-rows.d.ts +25 -0
- package/dist/src/workspace/device-presets/settings-section.d.ts +78 -0
- package/dist/src/workspace/device-presets/settings-text.d.ts +5 -0
- package/dist/src/workspace/device-presets/settings-types.d.ts +122 -0
- package/dist/src/workspace/device-presets/settings-write-dialog.d.ts +27 -0
- package/dist/src/workspace/device-presets/settings-write.d.ts +73 -0
- package/dist/src/workspace/device-presets/state-text.d.ts +17 -0
- package/dist/src/workspace/device-presets/trend-chart.d.ts +51 -0
- package/dist/src/workspace/device-presets/trend-model.d.ts +45 -0
- package/dist/src/workspace/device-presets/unsupported.d.ts +14 -0
- package/dist/src/workspace/device-presets/values.d.ts +56 -0
- package/dist/src/workspace/edge-programs/deploy-status.d.ts +12 -0
- package/dist/src/workspace/edge-programs/diagnostic-text.d.ts +9 -0
- package/dist/src/workspace/edge-programs/editor-language.d.ts +15 -0
- package/dist/src/workspace/edge-programs/item-descriptions.d.ts +3 -0
- package/dist/src/workspace/edge-programs/live-state.d.ts +12 -0
- package/dist/src/workspace/endpoint-status/provider.d.ts +16 -0
- package/dist/src/workspace/endpoint-status/store.d.ts +18 -0
- package/dist/src/workspace/errors.d.ts +1 -0
- package/dist/src/workspace/fleet/alarms.d.ts +27 -0
- package/dist/src/workspace/fleet/binding-editor.d.ts +65 -0
- package/dist/src/workspace/fleet/board-editor.d.ts +118 -0
- package/dist/src/workspace/fleet/command-buttons.d.ts +19 -0
- package/dist/src/workspace/fleet/command-entry.d.ts +25 -0
- package/dist/src/workspace/fleet/command-steps.d.ts +65 -0
- package/dist/src/workspace/fleet/control-mode.d.ts +30 -0
- package/dist/src/workspace/fleet/counter-bars.d.ts +109 -0
- package/dist/src/workspace/fleet/counter-notices.d.ts +23 -0
- package/dist/src/workspace/fleet/counter-period.d.ts +35 -0
- package/dist/src/workspace/fleet/counter-shares.d.ts +34 -0
- package/dist/src/workspace/fleet/counter-total.d.ts +43 -0
- package/dist/src/workspace/fleet/counter-totals.d.ts +77 -0
- package/dist/src/workspace/fleet/due-dates.d.ts +18 -0
- package/dist/src/workspace/fleet/duplicate-dialog.d.ts +63 -0
- package/dist/src/workspace/fleet/editor-dialog.d.ts +26 -0
- package/dist/src/workspace/fleet/equipment-setup.d.ts +44 -0
- package/dist/src/workspace/fleet/equipment-view.d.ts +31 -0
- package/dist/src/workspace/fleet/figure.d.ts +18 -0
- package/dist/src/workspace/fleet/form-types.d.ts +15 -0
- package/dist/src/workspace/fleet/group-command-dialogs.d.ts +43 -0
- package/dist/src/workspace/fleet/group-command.d.ts +83 -0
- package/dist/src/workspace/fleet/indicator-lights.d.ts +23 -0
- package/dist/src/workspace/fleet/map.d.ts +41 -0
- package/dist/src/workspace/fleet/mode-badge.d.ts +7 -0
- package/dist/src/workspace/fleet/operations.d.ts +23 -0
- package/dist/src/workspace/fleet/order-editor.d.ts +13 -0
- package/dist/src/workspace/fleet/overview-model.d.ts +43 -0
- package/dist/src/workspace/fleet/overview.d.ts +93 -0
- package/dist/src/workspace/fleet/page-header.d.ts +27 -0
- package/dist/src/workspace/fleet/parameters.d.ts +65 -0
- package/dist/src/workspace/fleet/period-settings.d.ts +66 -0
- package/dist/src/workspace/fleet/placement-fields.d.ts +104 -0
- package/dist/src/workspace/fleet/position.d.ts +13 -0
- package/dist/src/workspace/fleet/readings.d.ts +64 -0
- package/dist/src/workspace/fleet/section.d.ts +7 -0
- package/dist/src/workspace/fleet/site-page.d.ts +150 -0
- package/dist/src/workspace/fleet/slot-fields.d.ts +53 -0
- package/dist/src/workspace/fleet/starter-fields.d.ts +63 -0
- package/dist/src/workspace/fleet/status-badge.d.ts +23 -0
- package/dist/src/workspace/fleet/status.d.ts +85 -0
- package/dist/src/workspace/formulas/diagnostic-text.d.ts +7 -0
- package/dist/src/workspace/graphics/actions/details.d.ts +49 -0
- package/dist/src/workspace/graphics/actions/dialog.d.ts +12 -0
- package/dist/src/workspace/graphics/actions/selection.d.ts +1352 -0
- package/dist/src/workspace/graphics/binding-value.d.ts +19 -0
- package/dist/src/workspace/graphics/bindings.d.ts +847 -0
- package/dist/src/workspace/graphics/canvas.d.ts +47 -0
- package/dist/src/workspace/graphics/commands/fields.d.ts +7 -0
- package/dist/src/workspace/graphics/commands/model.d.ts +10 -0
- package/dist/src/workspace/graphics/commands/provider.d.ts +285 -0
- package/dist/src/workspace/graphics/dashboard-graphics.d.ts +12 -0
- package/dist/src/workspace/graphics/editor-session.d.ts +47 -0
- package/dist/src/workspace/graphics/framing.d.ts +28 -0
- package/dist/src/workspace/graphics/generated-drawing.d.ts +47 -0
- package/dist/src/workspace/graphics/geometry.d.ts +41 -0
- package/dist/src/workspace/graphics/image-cache.d.ts +18 -0
- package/dist/src/workspace/graphics/image-dialog.d.ts +5 -0
- package/dist/src/workspace/graphics/image-picker.d.ts +5 -0
- package/dist/src/workspace/graphics/inspector/bindings.d.ts +17 -0
- package/dist/src/workspace/graphics/inspector/element.d.ts +10 -0
- package/dist/src/workspace/graphics/inspector/fields.d.ts +69 -0
- package/dist/src/workspace/graphics/inspector/item.d.ts +862 -0
- package/dist/src/workspace/graphics/inspector/multi.d.ts +10 -0
- package/dist/src/workspace/graphics/inspector/panel.d.ts +27 -0
- package/dist/src/workspace/graphics/inspector/ports.d.ts +2 -0
- package/dist/src/workspace/graphics/inspector/section.d.ts +14 -0
- package/dist/src/workspace/graphics/inspector/slots.d.ts +7 -0
- package/dist/src/workspace/graphics/inspector/symbol.d.ts +11 -0
- package/dist/src/workspace/graphics/line-geometry.d.ts +26 -0
- package/dist/src/workspace/graphics/lines.d.ts +14 -0
- package/dist/src/workspace/graphics/node-memo.d.ts +3 -0
- package/dist/src/workspace/graphics/node.d.ts +3 -0
- package/dist/src/workspace/graphics/placement.d.ts +23 -0
- package/dist/src/workspace/graphics/quality-indicator.d.ts +6 -0
- package/dist/src/workspace/graphics/resize-handles.d.ts +8 -0
- package/dist/src/workspace/graphics/source-picker.d.ts +35 -0
- package/dist/src/workspace/graphics/symbol-issues.d.ts +26 -0
- package/dist/src/workspace/graphics/symbols/agriculture/fertigation.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/agriculture/index.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/agriculture/soil-sensor.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/agriculture/soil.d.ts +9 -0
- package/dist/src/workspace/graphics/symbols/agriculture/sprinkler.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/agriculture/zone.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/bindings.d.ts +34 -0
- package/dist/src/workspace/graphics/symbols/browser.d.ts +28 -0
- package/dist/src/workspace/graphics/symbols/builtins.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/button.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/catalog.d.ts +41 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/compressor.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/drain.d.ts +15 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/receiver.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/treatment.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/definition.d.ts +115 -0
- package/dist/src/workspace/graphics/symbols/electrical/breaker.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/electrical/compensation.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/electrical/index.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/electrical/loads.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/electrical/machines.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/electrical/metering.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/electrical/presentation.d.ts +132 -0
- package/dist/src/workspace/graphics/symbols/electrical/renewables.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/electrical/storage.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/electrical/supply.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/electrical/switchgear.d.ts +61 -0
- package/dist/src/workspace/graphics/symbols/food/filling.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/food/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/food/vessel.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/fuel-gas/gas-detector.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/fuel-gas/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/handles.d.ts +6 -0
- package/dist/src/workspace/graphics/symbols/hvac/air-handling.d.ts +4 -0
- package/dist/src/workspace/graphics/symbols/hvac/air-section.d.ts +60 -0
- package/dist/src/workspace/graphics/symbols/hvac/air-terminals.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/air-treatment.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/circuit.d.ts +45 -0
- package/dist/src/workspace/graphics/symbols/hvac/cooling-plant.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/firing.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/hydronic.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/hvac/index.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/instruments.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/hvac/presentation.d.ts +162 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/actuators.d.ts +20 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/conveyor.d.ts +26 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/index.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/indicators.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/stations.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/ports.d.ts +12 -0
- package/dist/src/workspace/graphics/symbols/preferences.d.ts +27 -0
- package/dist/src/workspace/graphics/symbols/preview.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/properties.d.ts +46 -0
- package/dist/src/workspace/graphics/symbols/provider.d.ts +12 -0
- package/dist/src/workspace/graphics/symbols/pump-status-icon.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/pump.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/quality.d.ts +63 -0
- package/dist/src/workspace/graphics/symbols/quarry/belt-scale.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/chute.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/crusher.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/quarry/diverter-gate.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/quarry/dust-collector.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/feeder.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/hopper.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/parts.d.ts +18 -0
- package/dist/src/workspace/graphics/symbols/quarry/screen.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/quarry/spray-suppression.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/stockpile.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/trommel.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/reading.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/render.d.ts +12 -0
- package/dist/src/workspace/graphics/symbols/reservoir.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/serialize.d.ts +7 -0
- package/dist/src/workspace/graphics/symbols/status.d.ts +47 -0
- package/dist/src/workspace/graphics/symbols/thermal/furnace.d.ts +28 -0
- package/dist/src/workspace/graphics/symbols/thermal/heater.d.ts +6 -0
- package/dist/src/workspace/graphics/symbols/thermal/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/thermal/kiln.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/upright.d.ts +68 -0
- package/dist/src/workspace/graphics/symbols/variant-field.d.ts +17 -0
- package/dist/src/workspace/graphics/symbols/variants.d.ts +30 -0
- package/dist/src/workspace/graphics/symbols/viewport.d.ts +43 -0
- package/dist/src/workspace/graphics/symbols/warehouse/agv.d.ts +4 -0
- package/dist/src/workspace/graphics/symbols/warehouse/cold-room.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/warehouse/cooling-unit.d.ts +19 -0
- package/dist/src/workspace/graphics/symbols/warehouse/door.d.ts +61 -0
- package/dist/src/workspace/graphics/symbols/warehouse/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/warehouse/loading-dock.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/warehouse/pallet.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/warehouse/rack.d.ts +25 -0
- package/dist/src/workspace/graphics/symbols/warehouse/stacker-crane.d.ts +12 -0
- package/dist/src/workspace/graphics/symbols/warehouse/storage-zone.d.ts +34 -0
- package/dist/src/workspace/graphics/symbols/waste/baler.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/waste/compactor.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/waste/container.d.ts +7 -0
- package/dist/src/workspace/graphics/symbols/waste/index.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/waste/parts.d.ts +32 -0
- package/dist/src/workspace/graphics/symbols/waste/separator.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/waste/shredder.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/waste/vehicle.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/waste/weighbridge.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/aeration.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/water/artwork.d.ts +42 -0
- package/dist/src/workspace/graphics/symbols/water/clarifier.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/disinfection.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/dosing.d.ts +30 -0
- package/dist/src/workspace/graphics/symbols/water/filter.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/index.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/water/instruments.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/water/pumps.d.ts +7 -0
- package/dist/src/workspace/graphics/symbols/water/tank.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/treatment-state.d.ts +15 -0
- package/dist/src/workspace/graphics/symbols/water/valves.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/well.d.ts +2 -0
- package/dist/src/workspace/graphics/toolbar.d.ts +58 -0
- package/dist/src/workspace/graphics/use-images.d.ts +13 -0
- package/dist/src/workspace/graphics/view-frame.d.ts +31 -0
- package/dist/src/workspace/graphics/viewport-passthrough.d.ts +8 -0
- package/dist/src/workspace/index-page.d.ts +3 -0
- package/dist/src/workspace/layout.d.ts +3 -0
- package/dist/src/workspace/live-changes.d.ts +16 -0
- package/dist/src/workspace/local-message-identity.d.ts +2 -0
- package/dist/src/workspace/local-setup-link.d.ts +16 -0
- package/dist/src/workspace/local-workspace-app.d.ts +21 -0
- package/dist/src/workspace/maps/auth-failure.d.ts +5 -0
- package/dist/src/workspace/maps/error-boundary.d.ts +21 -0
- package/dist/src/workspace/maps/lat-lng.d.ts +8 -0
- package/dist/src/workspace/maps/location-map-renderer.d.ts +10 -0
- package/dist/src/workspace/maps/location-map.d.ts +40 -0
- package/dist/src/workspace/maps/location-picker-renderer.d.ts +20 -0
- package/dist/src/workspace/maps/location-picker.d.ts +31 -0
- package/dist/src/workspace/maps/use-browser-config.d.ts +11 -0
- package/dist/src/workspace/maps/use-reverse-geocode.d.ts +15 -0
- package/dist/src/workspace/mobile-nav.d.ts +13 -0
- package/dist/src/workspace/mutations.d.ts +10634 -0
- package/dist/src/workspace/no-access.d.ts +1 -0
- package/dist/src/workspace/page-navigation.d.ts +67 -0
- package/dist/src/workspace/page-state/branch-path.d.ts +7 -0
- package/dist/src/workspace/page-state/context.d.ts +14 -0
- package/dist/src/workspace/page-state/dashboard-context.d.ts +37 -0
- package/dist/src/workspace/page-state/dashboard.d.ts +65 -0
- package/dist/src/workspace/page-state/model.d.ts +48 -0
- package/dist/src/workspace/page-state/parameters.d.ts +11 -0
- package/dist/src/workspace/page-state/report.d.ts +16 -0
- package/dist/src/workspace/page-state/store.d.ts +10 -0
- package/dist/src/workspace/parameters/defaults.d.ts +7 -0
- package/dist/src/workspace/parameters/display.d.ts +28 -0
- package/dist/src/workspace/parameters/distinct-names.d.ts +12 -0
- package/dist/src/workspace/parameters/errors.d.ts +15 -0
- package/dist/src/workspace/parameters/form/shared-fields.d.ts +49 -0
- package/dist/src/workspace/parameters/form/values.d.ts +33 -0
- package/dist/src/workspace/parameters/geo-value.d.ts +9 -0
- package/dist/src/workspace/parameters/icon.d.ts +8 -0
- package/dist/src/workspace/parameters/inventory-options.d.ts +9 -0
- package/dist/src/workspace/parameters/live/condition.d.ts +4 -0
- package/dist/src/workspace/parameters/live/control-button.d.ts +13 -0
- package/dist/src/workspace/parameters/live/controls.d.ts +14 -0
- package/dist/src/workspace/parameters/live/coordinator.d.ts +87 -0
- package/dist/src/workspace/parameters/live/deadline.d.ts +13 -0
- package/dist/src/workspace/parameters/live/diagnostic-copy.d.ts +26 -0
- package/dist/src/workspace/parameters/live/diagnostic-links.d.ts +5 -0
- package/dist/src/workspace/parameters/live/diagnostics.d.ts +9 -0
- package/dist/src/workspace/parameters/live/history-windows.d.ts +53 -0
- package/dist/src/workspace/parameters/live/metric.d.ts +29 -0
- package/dist/src/workspace/parameters/live/model.d.ts +133 -0
- package/dist/src/workspace/parameters/live/provider.d.ts +49 -0
- package/dist/src/workspace/parameters/live/read-once.d.ts +13 -0
- package/dist/src/workspace/parameters/live/stale-note.d.ts +8 -0
- package/dist/src/workspace/parameters/live/use-history.d.ts +30 -0
- package/dist/src/workspace/parameters/live/use-stored-history.d.ts +85 -0
- package/dist/src/workspace/parameters/live/value-display.d.ts +25 -0
- package/dist/src/workspace/parameters/live/value-editor.d.ts +24 -0
- package/dist/src/workspace/parameters/live/write-review-dialog.d.ts +41 -0
- package/dist/src/workspace/parameters/live/write-review-form.d.ts +18 -0
- package/dist/src/workspace/parameters/live/write-sequence-dialog.d.ts +80 -0
- package/dist/src/workspace/parameters/metadata.d.ts +37 -0
- package/dist/src/workspace/parameters/option-labels.d.ts +14 -0
- package/dist/src/workspace/parameters/picker/browser.d.ts +41 -0
- package/dist/src/workspace/parameters/picker/model.d.ts +91 -0
- package/dist/src/workspace/parameters/picker/picker.d.ts +380 -0
- package/dist/src/workspace/parameters/runtime-errors.d.ts +23 -0
- package/dist/src/workspace/parameters/source-fields.d.ts +22 -0
- package/dist/src/workspace/parameters/value/cells.d.ts +21 -0
- package/dist/src/workspace/parameters/value/edit-draft.d.ts +24 -0
- package/dist/src/workspace/parameters/value/reads.d.ts +54 -0
- package/dist/src/workspace/parameters/value/state.d.ts +96 -0
- package/dist/src/workspace/parameters/value/type/datetime-parts.d.ts +12 -0
- package/dist/src/workspace/parameters/value/type/fields.d.ts +5 -0
- package/dist/src/workspace/parameters/value/type/geo.d.ts +10 -0
- package/dist/src/workspace/parameters/value/type/int-repr.d.ts +9 -0
- package/dist/src/workspace/parameters/writability.d.ts +26 -0
- package/dist/src/workspace/pull-instructions.d.ts +4 -0
- package/dist/src/workspace/query-gate.d.ts +40 -0
- package/dist/src/workspace/reports/aggregate-fetch.d.ts +25 -0
- package/dist/src/workspace/reports/bar-legend.d.ts +12 -0
- package/dist/src/workspace/reports/bar-path.d.ts +25 -0
- package/dist/src/workspace/reports/cadence-fetch.d.ts +25 -0
- package/dist/src/workspace/reports/calendar/demand.d.ts +46 -0
- package/dist/src/workspace/reports/calendar/layout.d.ts +98 -0
- package/dist/src/workspace/reports/calendar/representation.d.ts +7 -0
- package/dist/src/workspace/reports/cell-title.d.ts +11 -0
- package/dist/src/workspace/reports/chart/axes.d.ts +17 -0
- package/dist/src/workspace/reports/chart/build.d.ts +208 -0
- package/dist/src/workspace/reports/chart/caches.d.ts +57 -0
- package/dist/src/workspace/reports/chart/colors.d.ts +17 -0
- package/dist/src/workspace/reports/chart/comment-gutter.d.ts +44 -0
- package/dist/src/workspace/reports/chart/demand.d.ts +50 -0
- package/dist/src/workspace/reports/chart/paint.d.ts +17 -0
- package/dist/src/workspace/reports/chart/pan-zoom.d.ts +19 -0
- package/dist/src/workspace/reports/chart/payload.d.ts +57 -0
- package/dist/src/workspace/reports/chart/plot-interactions.d.ts +13 -0
- package/dist/src/workspace/reports/chart/plot-tooltip.d.ts +10 -0
- package/dist/src/workspace/reports/chart/plot.d.ts +29 -0
- package/dist/src/workspace/reports/chart/realtime.d.ts +96 -0
- package/dist/src/workspace/reports/chart/representation.d.ts +40 -0
- package/dist/src/workspace/reports/chart/tooltip.d.ts +36 -0
- package/dist/src/workspace/reports/chart/use-realtime.d.ts +44 -0
- package/dist/src/workspace/reports/color/cascade.d.ts +3 -0
- package/dist/src/workspace/reports/color/css.d.ts +5 -0
- package/dist/src/workspace/reports/color/select.d.ts +11 -0
- package/dist/src/workspace/reports/comments/author.d.ts +2 -0
- package/dist/src/workspace/reports/comments/errors.d.ts +11 -0
- package/dist/src/workspace/reports/comments/footer.d.ts +1 -0
- package/dist/src/workspace/reports/comments/use-comments.d.ts +9 -0
- package/dist/src/workspace/reports/csv/build.d.ts +29 -0
- package/dist/src/workspace/reports/csv/columns.d.ts +18 -0
- package/dist/src/workspace/reports/csv/fetch.d.ts +29 -0
- package/dist/src/workspace/reports/csv/use-export.d.ts +7 -0
- package/dist/src/workspace/reports/data/context.d.ts +79 -0
- package/dist/src/workspace/reports/data/extent.d.ts +40 -0
- package/dist/src/workspace/reports/data/provider.d.ts +20 -0
- package/dist/src/workspace/reports/data/report-caches.d.ts +56 -0
- package/dist/src/workspace/reports/data/specs.d.ts +38 -0
- package/dist/src/workspace/reports/demand-cache.d.ts +76 -0
- package/dist/src/workspace/reports/element-size.d.ts +7 -0
- package/dist/src/workspace/reports/generated.d.ts +46 -0
- package/dist/src/workspace/reports/histogram/build.d.ts +1 -0
- package/dist/src/workspace/reports/histogram/demand.d.ts +26 -0
- package/dist/src/workspace/reports/histogram/plot.d.ts +42 -0
- package/dist/src/workspace/reports/histogram/representation.d.ts +8 -0
- package/dist/src/workspace/reports/histogram/slots.d.ts +19 -0
- package/dist/src/workspace/reports/hourly-matrix/demand.d.ts +28 -0
- package/dist/src/workspace/reports/hourly-matrix/layout.d.ts +36 -0
- package/dist/src/workspace/reports/hourly-matrix/model.d.ts +66 -0
- package/dist/src/workspace/reports/hourly-matrix/representation.d.ts +7 -0
- package/dist/src/workspace/reports/html/build.d.ts +57 -0
- package/dist/src/workspace/reports/html/cache-clone.d.ts +36 -0
- package/dist/src/workspace/reports/html/calendar.d.ts +15 -0
- package/dist/src/workspace/reports/html/comments.d.ts +13 -0
- package/dist/src/workspace/reports/html/css.d.ts +2 -0
- package/dist/src/workspace/reports/html/document.d.ts +5 -0
- package/dist/src/workspace/reports/html/escape.d.ts +6 -0
- package/dist/src/workspace/reports/html/matrix.d.ts +13 -0
- package/dist/src/workspace/reports/html/mounted.d.ts +19 -0
- package/dist/src/workspace/reports/html/png.d.ts +39 -0
- package/dist/src/workspace/reports/html/ready.d.ts +56 -0
- package/dist/src/workspace/reports/html/table.d.ts +3 -0
- package/dist/src/workspace/reports/html/use-render.d.ts +8 -0
- package/dist/src/workspace/reports/html/widgets.d.ts +31 -0
- package/dist/src/workspace/reports/page.d.ts +4 -0
- package/dist/src/workspace/reports/preset/errors.d.ts +5 -0
- package/dist/src/workspace/reports/preset/form-helpers.d.ts +65 -0
- package/dist/src/workspace/reports/preset/submit.d.ts +43 -0
- package/dist/src/workspace/reports/quick-report.d.ts +17 -0
- package/dist/src/workspace/reports/readings-client.d.ts +23 -0
- package/dist/src/workspace/reports/runtime-chrome.d.ts +15 -0
- package/dist/src/workspace/reports/sankey/demand.d.ts +47 -0
- package/dist/src/workspace/reports/sankey/graph.d.ts +28 -0
- package/dist/src/workspace/reports/sankey/layout.d.ts +80 -0
- package/dist/src/workspace/reports/sankey/representation.d.ts +7 -0
- package/dist/src/workspace/reports/sankey/use-caches.d.ts +16 -0
- package/dist/src/workspace/reports/session/init.d.ts +9 -0
- package/dist/src/workspace/reports/session/storage.d.ts +24 -0
- package/dist/src/workspace/reports/state-duration/demand.d.ts +39 -0
- package/dist/src/workspace/reports/state-duration/reduce.d.ts +27 -0
- package/dist/src/workspace/reports/state-duration/representation.d.ts +7 -0
- package/dist/src/workspace/reports/state-duration/use-caches.d.ts +15 -0
- package/dist/src/workspace/reports/table/cache-fetch.d.ts +8 -0
- package/dist/src/workspace/reports/table/chunk.d.ts +31 -0
- package/dist/src/workspace/reports/table/demand.d.ts +83 -0
- package/dist/src/workspace/reports/table/fetch.d.ts +42 -0
- package/dist/src/workspace/reports/table/format.d.ts +7 -0
- package/dist/src/workspace/reports/table/representation.d.ts +10 -0
- package/dist/src/workspace/reports/table/rows.d.ts +31 -0
- package/dist/src/workspace/reports/table/snapshot.d.ts +40 -0
- package/dist/src/workspace/reports/table/totals.d.ts +4 -0
- package/dist/src/workspace/reports/time-buckets/build.d.ts +40 -0
- package/dist/src/workspace/reports/time-buckets/demand.d.ts +52 -0
- package/dist/src/workspace/reports/time-buckets/navigate.d.ts +26 -0
- package/dist/src/workspace/reports/time-buckets/plot.d.ts +58 -0
- package/dist/src/workspace/reports/time-buckets/representation.d.ts +8 -0
- package/dist/src/workspace/reports/time-buckets/slots.d.ts +23 -0
- package/dist/src/workspace/reports/time-nav.d.ts +1 -0
- package/dist/src/workspace/reports/use-demand-cache.d.ts +29 -0
- package/dist/src/workspace/reports/use-quick-report.d.ts +45 -0
- package/dist/src/workspace/reports/view.d.ts +6 -0
- package/dist/src/workspace/routes.d.ts +23 -0
- package/dist/src/workspace/setup/automations/alarm-rule-dialog.d.ts +7 -0
- package/dist/src/workspace/setup/automations/alarm-rule-lists.d.ts +61 -0
- package/dist/src/workspace/setup/automations/alarm-rules-page.d.ts +4 -0
- package/dist/src/workspace/setup/automations/document.d.ts +39 -0
- package/dist/src/workspace/setup/automations/dry-run.d.ts +12 -0
- package/dist/src/workspace/setup/automations/editor-form.d.ts +22 -0
- package/dist/src/workspace/setup/automations/editor-page.d.ts +14 -0
- package/dist/src/workspace/setup/automations/editor-tab.d.ts +6 -0
- package/dist/src/workspace/setup/automations/entity-controls.d.ts +22 -0
- package/dist/src/workspace/setup/automations/history.d.ts +15 -0
- package/dist/src/workspace/setup/automations/list-page.d.ts +28 -0
- package/dist/src/workspace/setup/automations/starter-dialog.d.ts +10 -0
- package/dist/src/workspace/setup/automations/starter-handoff.d.ts +17 -0
- package/dist/src/workspace/setup/base-revision.d.ts +64 -0
- package/dist/src/workspace/setup/breadcrumbs.d.ts +10 -0
- package/dist/src/workspace/setup/catalog-list.d.ts +21 -0
- package/dist/src/workspace/setup/dashboards-order.d.ts +10 -0
- package/dist/src/workspace/setup/dashboards-page.d.ts +24 -0
- package/dist/src/workspace/setup/dashboards-reorder-queue.d.ts +13 -0
- package/dist/src/workspace/setup/dashboards-sortable-list.d.ts +6 -0
- package/dist/src/workspace/setup/endpoints/connection-error.d.ts +3 -0
- package/dist/src/workspace/setup/endpoints/connection-indicator.d.ts +4 -0
- package/dist/src/workspace/setup/endpoints/device-log-clock.d.ts +7 -0
- package/dist/src/workspace/setup/endpoints/display.d.ts +12 -0
- package/dist/src/workspace/setup/endpoints/edit-dialog.d.ts +5 -0
- package/dist/src/workspace/setup/endpoints/enabled-switch.d.ts +10 -0
- package/dist/src/workspace/setup/endpoints/form-problem.d.ts +5 -0
- package/dist/src/workspace/setup/endpoints/page.d.ts +11 -0
- package/dist/src/workspace/setup/endpoints/presence-challenge.d.ts +34 -0
- package/dist/src/workspace/setup/endpoints/presence-code.d.ts +6 -0
- package/dist/src/workspace/setup/endpoints/programs/deploy-status-bar.d.ts +13 -0
- package/dist/src/workspace/setup/endpoints/programs/device-log.d.ts +15 -0
- package/dist/src/workspace/setup/endpoints/programs/dialogs.d.ts +16 -0
- package/dist/src/workspace/setup/endpoints/programs/live-state-pane.d.ts +7 -0
- package/dist/src/workspace/setup/endpoints/programs/program-editor.d.ts +79 -0
- package/dist/src/workspace/setup/endpoints/programs/programs-tab.d.ts +14 -0
- package/dist/src/workspace/setup/endpoints/programs/settings-dialog.d.ts +9 -0
- package/dist/src/workspace/setup/endpoints/programs/starter-dialog.d.ts +17 -0
- package/dist/src/workspace/setup/endpoints/programs/tasks-table.d.ts +5 -0
- package/dist/src/workspace/setup/endpoints/sharing.d.ts +9 -0
- package/dist/src/workspace/setup/endpoints/status-connection.d.ts +8 -0
- package/dist/src/workspace/setup/endpoints/status-device-ui-progress.d.ts +9 -0
- package/dist/src/workspace/setup/endpoints/status-device-ui.d.ts +8 -0
- package/dist/src/workspace/setup/endpoints/status-page.d.ts +14 -0
- package/dist/src/workspace/setup/endpoints/status-recorded.d.ts +13 -0
- package/dist/src/workspace/setup/endpoints/status-tab.d.ts +12 -0
- package/dist/src/workspace/setup/endpoints/wireguard-docs.d.ts +11 -0
- package/dist/src/workspace/setup/files/errors.d.ts +1 -0
- package/dist/src/workspace/setup/files/http.d.ts +21 -0
- package/dist/src/workspace/setup/files/page.d.ts +3 -0
- package/dist/src/workspace/setup/menu.d.ts +14 -0
- package/dist/src/workspace/setup/nav.d.ts +11 -0
- package/dist/src/workspace/setup/parameters/dialogs.d.ts +32 -0
- package/dist/src/workspace/setup/parameters/edit/create-branch-form.d.ts +10 -0
- package/dist/src/workspace/setup/parameters/edit/dialog-body.d.ts +13 -0
- package/dist/src/workspace/setup/parameters/edit/form.d.ts +22 -0
- package/dist/src/workspace/setup/parameters/page.d.ts +3 -0
- package/dist/src/workspace/setup/parameters/recorded.d.ts +14 -0
- package/dist/src/workspace/setup/parameters/selection.d.ts +45 -0
- package/dist/src/workspace/setup/parameters/stamp-from-template-form.d.ts +10 -0
- package/dist/src/workspace/setup/parameters/toolbar.d.ts +32 -0
- package/dist/src/workspace/setup/parameters/tree/expand.d.ts +10 -0
- package/dist/src/workspace/setup/parameters/tree/model.d.ts +61 -0
- package/dist/src/workspace/setup/parameters/tree/rows.d.ts +38 -0
- package/dist/src/workspace/setup/parameters/tree/storage.d.ts +13 -0
- package/dist/src/workspace/setup/parameters/use-tree-selection.d.ts +21 -0
- package/dist/src/workspace/setup/parameters/use-tree-view.d.ts +22 -0
- package/dist/src/workspace/setup/report/add-parameters-dialog.d.ts +8 -0
- package/dist/src/workspace/setup/report/calendar-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/chart-editor.d.ts +14 -0
- package/dist/src/workspace/setup/report/edit/confirm-removal-dialog.d.ts +9 -0
- package/dist/src/workspace/setup/report/edit/dialog-body.d.ts +10 -0
- package/dist/src/workspace/setup/report/edit/form.d.ts +14 -0
- package/dist/src/workspace/setup/report/edit/representations-section.d.ts +11 -0
- package/dist/src/workspace/setup/report/edit/sections.d.ts +23 -0
- package/dist/src/workspace/setup/report/edit/state.d.ts +29 -0
- package/dist/src/workspace/setup/report/foldable-item-card.d.ts +47 -0
- package/dist/src/workspace/setup/report/histogram-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/hourly-matrix-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/includes-literal.d.ts +1 -0
- package/dist/src/workspace/setup/report/layout-editor.d.ts +6 -0
- package/dist/src/workspace/setup/report/number-draft-input.d.ts +23 -0
- package/dist/src/workspace/setup/report/page.d.ts +3 -0
- package/dist/src/workspace/setup/report/sankey-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/state-duration-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/table-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/time-buckets-editor.d.ts +9 -0
- package/dist/src/workspace/setup/route/dialog.d.ts +33 -0
- package/dist/src/workspace/setup/route/dialogs.d.ts +41 -0
- package/dist/src/workspace/setup/sections.d.ts +17 -0
- package/dist/src/workspace/setup/starters/starter-fields.d.ts +45 -0
- package/dist/src/workspace/setup/starters/starter-form.d.ts +50 -0
- package/dist/src/workspace/setup/storage/dialogs.d.ts +77 -0
- package/dist/src/workspace/setup/storage/format.d.ts +6 -0
- package/dist/src/workspace/setup/storage/page.d.ts +3 -0
- package/dist/src/workspace/setup/storage/retention-note.d.ts +11 -0
- package/dist/src/workspace/setup/storage/retention.d.ts +21 -0
- package/dist/src/workspace/shell.d.ts +21 -0
- package/dist/src/workspace/sidebar-nav-link.d.ts +13 -0
- package/dist/src/workspace/suspended.d.ts +8 -0
- package/dist/starter-fields-BRLX0z-v.js +586 -0
- package/dist/starter-handoff-BA3ucMKL.js +19 -0
- package/dist/status-page-DAHiKM9P.js +3286 -0
- package/dist/styles-reference.css +54 -0
- package/dist/styles.css +2 -0
- package/dist/switch-BqD0RH_G.js +18 -0
- package/dist/table-Q2-voLuw.js +65 -0
- package/dist/tabs-CSIucYFP.js +57 -0
- package/dist/theme-provider-BkRohQFU.js +61 -0
- package/dist/toggle-group-9Bs0Mm3r.js +82 -0
- package/dist/trpc-CvJUuUXp.js +153 -0
- package/dist/ui.js +2174 -0
- package/dist/uk-CwpJAxmx.js +4578 -0
- package/dist/utils-CX-Pz5p6.js +8 -0
- package/dist/wireguard-docs-AfU6NzTL.js +81 -0
- package/dist/writability-BuH-spxv.js +57 -0
- package/package.json +149 -3
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { ParameterControl } from "@overvis/hmi-shared/parameter";
|
|
2
|
+
import { type FormFieldErrors } from "../../form/index.js";
|
|
3
|
+
import { type ParameterInfo } from "./parameters.js";
|
|
4
|
+
type CommandStep = Extract<ParameterControl, {
|
|
5
|
+
kind: "command";
|
|
6
|
+
}>["steps"][number];
|
|
7
|
+
/** Form value of one command step; an empty `parameterId` is reported by `commandStepsErrors`. */
|
|
8
|
+
export interface CommandStepFormValue {
|
|
9
|
+
id: string;
|
|
10
|
+
parameterId: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Form value of an ordered command: steps keyed by their IDs, so field errors follow a step when
|
|
15
|
+
* it moves. Key order is the write order.
|
|
16
|
+
*/
|
|
17
|
+
export interface CommandStepsFormValue {
|
|
18
|
+
steps: Record<string, CommandStepFormValue>;
|
|
19
|
+
}
|
|
20
|
+
/** Form value of `steps`; without steps, one empty step that writes 1. */
|
|
21
|
+
export declare function commandStepsFormValue(steps: readonly CommandStep[] | null | undefined): CommandStepsFormValue;
|
|
22
|
+
/** Steps in write order, for a command's `steps` once `commandStepsErrors` found nothing. */
|
|
23
|
+
export declare function commandStepsFromForm(value: CommandStepsFormValue): CommandStep[];
|
|
24
|
+
/**
|
|
25
|
+
* Field errors of a command-steps value at `path` (the form path of the group, such as
|
|
26
|
+
* `commands.defrost`, or "" at the top level): at least one step, every step bound to a verified
|
|
27
|
+
* writable parameter, and a value for every step.
|
|
28
|
+
*/
|
|
29
|
+
export declare function commandStepsErrors(value: CommandStepsFormValue, path: string, parameterInfo: (parameterId: string) => Promise<ParameterInfo | "unavailable" | null>): Promise<FormFieldErrors>;
|
|
30
|
+
/**
|
|
31
|
+
* Ordered write steps of a command: a writable parameter and a value per step, with Earlier and
|
|
32
|
+
* Later to change the order. Place it with `fields` at an object holding `steps`
|
|
33
|
+
* (`commandStepsFormValue`), and check it on submit with `commandStepsErrors`.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CommandStepsField: <TFormData, TFields extends import("@tanstack/react-form").DeepKeysOfType<TFormData, CommandStepsFormValue | null | undefined> | import("@tanstack/react-form").FieldsMap<TFormData, CommandStepsFormValue>, TOnMount extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnChange extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnServer extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TFormSubmitMeta>(params: import("react").PropsWithChildren<NoInfer<{
|
|
36
|
+
workspaceId: string;
|
|
37
|
+
}> & {
|
|
38
|
+
form: import("@tanstack/react-form").AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | import("@tanstack/react-form").FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, TFormSubmitMeta, {
|
|
39
|
+
readonly TextField: typeof import("../../index.js").TextField;
|
|
40
|
+
readonly TextAreaField: typeof import("../../index.js").TextAreaField;
|
|
41
|
+
readonly OtpField: typeof import("../../index.js").OtpField;
|
|
42
|
+
readonly CheckboxField: typeof import("../../index.js").CheckboxField;
|
|
43
|
+
readonly ParameterPickerField: typeof import("../../index.js").ParameterPickerField;
|
|
44
|
+
readonly DashboardPickerField: typeof import("../../index.js").DashboardPickerField;
|
|
45
|
+
readonly FormulaField: typeof import("../../index.js").FormulaField;
|
|
46
|
+
}, {
|
|
47
|
+
readonly FormRoot: typeof import("../../index.js").FormRoot;
|
|
48
|
+
readonly FormErrorBanner: typeof import("../../index.js").FormErrorBanner;
|
|
49
|
+
readonly SubmitButton: typeof import("../../index.js").SubmitButton;
|
|
50
|
+
}> | import("@tanstack/react-form").AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TFormSubmitMeta, {
|
|
51
|
+
readonly TextField: typeof import("../../index.js").TextField;
|
|
52
|
+
readonly TextAreaField: typeof import("../../index.js").TextAreaField;
|
|
53
|
+
readonly OtpField: typeof import("../../index.js").OtpField;
|
|
54
|
+
readonly CheckboxField: typeof import("../../index.js").CheckboxField;
|
|
55
|
+
readonly ParameterPickerField: typeof import("../../index.js").ParameterPickerField;
|
|
56
|
+
readonly DashboardPickerField: typeof import("../../index.js").DashboardPickerField;
|
|
57
|
+
readonly FormulaField: typeof import("../../index.js").FormulaField;
|
|
58
|
+
}, {
|
|
59
|
+
readonly FormRoot: typeof import("../../index.js").FormRoot;
|
|
60
|
+
readonly FormErrorBanner: typeof import("../../index.js").FormErrorBanner;
|
|
61
|
+
readonly SubmitButton: typeof import("../../index.js").SubmitButton;
|
|
62
|
+
}>;
|
|
63
|
+
fields: TFields;
|
|
64
|
+
}>) => ReturnType<import("react").FunctionComponent>;
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ParameterCondition } from "@overvis/hmi-shared/parameter";
|
|
2
|
+
import type { ParameterValueState } from "../parameters/live/model.js";
|
|
3
|
+
import type { SiteState } from "./status.js";
|
|
4
|
+
type States = ReadonlyMap<string, ParameterValueState>;
|
|
5
|
+
/** Who controls a site: its own controller, an operator, a local selector, or nobody knows. */
|
|
6
|
+
export declare const siteControlModes: readonly ["automatic", "manual", "local", "unknown"];
|
|
7
|
+
export type SiteControlMode = (typeof siteControlModes)[number];
|
|
8
|
+
/** A site's local/remote selector; `unbound` when the site does not report one. */
|
|
9
|
+
export type SiteLocalControl = "on" | "off" | "unknown" | "unbound";
|
|
10
|
+
/**
|
|
11
|
+
* The control mode from the site's feedback: Local while the local selector is on, otherwise
|
|
12
|
+
* Automatic or Manual from the automatic-mode condition, Unknown while that feedback is
|
|
13
|
+
* unavailable. Null when the site reports neither. The mode never changes the site status.
|
|
14
|
+
*/
|
|
15
|
+
export declare function siteControlMode(feedback: {
|
|
16
|
+
automatic?: ParameterCondition | undefined;
|
|
17
|
+
local?: ParameterCondition | undefined;
|
|
18
|
+
}, states: States): SiteControlMode | null;
|
|
19
|
+
/**
|
|
20
|
+
* The local selector: `on` blocks remote commands, `unknown` leaves them enabled with a note, and
|
|
21
|
+
* `off` or `unbound` allows them.
|
|
22
|
+
*/
|
|
23
|
+
export declare function siteLocalControl(local: ParameterCondition | undefined, states: States): SiteLocalControl;
|
|
24
|
+
/**
|
|
25
|
+
* Whether a site's equipment runs, from its activity feedback: `active` while any of it is on,
|
|
26
|
+
* `inactive` while all of it is off, `unknown` while some feedback is missing. Null while the
|
|
27
|
+
* site has no current activity feedback, so callers show its status instead.
|
|
28
|
+
*/
|
|
29
|
+
export declare function siteActivity(state: SiteState): "active" | "inactive" | "unknown" | null;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { type CounterPeriod } from "@overvis/hmi-shared/dashboard";
|
|
2
|
+
/**
|
|
3
|
+
* Buckets that fit a counter period: hours up to two days (with an hour to spare for a DST
|
|
4
|
+
* change), days for longer periods.
|
|
5
|
+
*/
|
|
6
|
+
export declare function counterBucketCadence(period: Pick<CounterPeriod, "window">): "1h" | "1d";
|
|
7
|
+
/**
|
|
8
|
+
* The reading of a parameter with the largest magnitude in a window `[from, to)`, with its sign
|
|
9
|
+
* and time, such as the peak power of the period: negative when export peaked, as for a supply
|
|
10
|
+
* that only fed back. Null until known or when the window has no readings.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useReadingPeak(workspaceId: string, parameterId: string | null, window: CounterPeriod["window"]): {
|
|
13
|
+
value: number;
|
|
14
|
+
time: number;
|
|
15
|
+
} | null;
|
|
16
|
+
/** One bar's window: its bucket, clipped to the period. */
|
|
17
|
+
export interface CounterBucket {
|
|
18
|
+
/** Bucket start in the time zone, the bar's label. */
|
|
19
|
+
start: number;
|
|
20
|
+
from: number;
|
|
21
|
+
to: number;
|
|
22
|
+
/**
|
|
23
|
+
* Covers part of its bucket: the one still in progress, or a rolling period's first bucket,
|
|
24
|
+
* which began before the period. Drawn lighter and left out of the average.
|
|
25
|
+
*/
|
|
26
|
+
partial: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The buckets of a period, each clipped to `[from, to)`, so their increases add up to the period's
|
|
30
|
+
* total. Hours and calendar days follow `timeZone`, so a DST day lasts 23 or 25 hours.
|
|
31
|
+
*/
|
|
32
|
+
export declare function counterBuckets(window: CounterPeriod["window"], cadence: "1h" | "1d", timeZone: string): CounterBucket[];
|
|
33
|
+
declare const BUCKET_AGGREGATIONS: readonly ["first", "latest", "min"];
|
|
34
|
+
type AggregateValues = readonly {
|
|
35
|
+
aggregation: string;
|
|
36
|
+
value: unknown;
|
|
37
|
+
}[];
|
|
38
|
+
/**
|
|
39
|
+
* Each bucket's increase, chained from one reading to the next: a bucket runs from the latest
|
|
40
|
+
* reading before it (`baseline` for the first bucket, as for the period total) to its own latest,
|
|
41
|
+
* so the bars add up to the period total however short a clipped edge bucket is. Each is
|
|
42
|
+
* classified like a period total: a value (an idle bucket is 0), or null for a reset, which also
|
|
43
|
+
* catches a drop between buckets, or a bucket without readings. Without a baseline the first
|
|
44
|
+
* reading starts the chain, as it starts a period total without one.
|
|
45
|
+
*/
|
|
46
|
+
export declare function counterBucketValues(baseline: number | null, buckets: readonly (Pick<CounterBucket, "from" | "to"> & {
|
|
47
|
+
values: AggregateValues | undefined;
|
|
48
|
+
})[]): (number | null)[];
|
|
49
|
+
/** A window read with `readings.aggregate`, inside one bucket. */
|
|
50
|
+
export interface CounterBucketEdge {
|
|
51
|
+
bucket: number;
|
|
52
|
+
from: number;
|
|
53
|
+
to: number;
|
|
54
|
+
}
|
|
55
|
+
/** How a chart loads its buckets' first, latest and min readings. */
|
|
56
|
+
export interface CounterBucketsLoad {
|
|
57
|
+
/**
|
|
58
|
+
* Closed rollup rows over `[from, to)`: local days from `readings.days`, or UTC quarter hours
|
|
59
|
+
* from `readings.cadence`, each falling inside one bucket. Null when the edges cover everything.
|
|
60
|
+
*/
|
|
61
|
+
grains: {
|
|
62
|
+
source: "days" | "15m";
|
|
63
|
+
from: number;
|
|
64
|
+
to: number;
|
|
65
|
+
} | null;
|
|
66
|
+
/** The rest of the period, split at bucket bounds. */
|
|
67
|
+
edges: CounterBucketEdge[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Splits loading the buckets of a period into one rollup read per aggregation and a few edge
|
|
71
|
+
* windows. Rollup rows start at the first bucket that starts inside the period: a rolling period's
|
|
72
|
+
* first bucket is an edge, so the rollup window stays put while the period rolls. They end one
|
|
73
|
+
* grain before the last closed one, which may not be rolled up yet; readings from there on are
|
|
74
|
+
* edges. Rows must not straddle a bucket bound: where a zone offsets its hours or days from UTC
|
|
75
|
+
* grains (such as UTC+05:45 for days), every bucket is an edge.
|
|
76
|
+
*/
|
|
77
|
+
export declare function counterBucketsLoad(buckets: readonly CounterBucket[], cadence: "1h" | "1d"): CounterBucketsLoad;
|
|
78
|
+
/** `readings.days` or `readings.cadence` rows of one aggregation for one parameter. */
|
|
79
|
+
type GrainRows = readonly {
|
|
80
|
+
bucketStart: number;
|
|
81
|
+
values: readonly {
|
|
82
|
+
value: unknown;
|
|
83
|
+
}[];
|
|
84
|
+
}[];
|
|
85
|
+
/**
|
|
86
|
+
* Each bucket's first, latest and min from its parts in time order: rollup rows of the three
|
|
87
|
+
* aggregations, placed by their start, and the edge aggregates. Undefined for a bucket without
|
|
88
|
+
* readings.
|
|
89
|
+
*/
|
|
90
|
+
export declare function counterBucketReadings(buckets: readonly Pick<CounterBucket, "start">[], edges: readonly (CounterBucketEdge & {
|
|
91
|
+
values: AggregateValues | undefined;
|
|
92
|
+
})[], grains: Readonly<Record<(typeof BUCKET_AGGREGATIONS)[number], GrainRows>> | null): (AggregateValues | undefined)[];
|
|
93
|
+
/**
|
|
94
|
+
* A counter's increase per bucket of the period as a compact bar chart: per hour up to two days,
|
|
95
|
+
* per calendar day in `timeZone` beyond. Bars carry their values when they fit, the axis their
|
|
96
|
+
* dates, and a dashed line the average of the closed buckets; the bucket still in progress is
|
|
97
|
+
* lighter. A decrease, such as a counter reset, draws no bar. Renders nothing when the period has
|
|
98
|
+
* no increase.
|
|
99
|
+
*/
|
|
100
|
+
export declare function CounterBars({ workspaceId, parameterId, period, timeZone, unit, ariaLabel, className, }: {
|
|
101
|
+
workspaceId: string;
|
|
102
|
+
parameterId: string;
|
|
103
|
+
period: Pick<CounterPeriod, "window">;
|
|
104
|
+
timeZone: string;
|
|
105
|
+
unit: string;
|
|
106
|
+
ariaLabel: string;
|
|
107
|
+
className?: string | undefined;
|
|
108
|
+
}): import("react").JSX.Element | null;
|
|
109
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CounterTotals } from "./counter-totals.js";
|
|
2
|
+
/**
|
|
3
|
+
* Why period totals stay empty after their requests failed, with a retry. Without it the totals
|
|
4
|
+
* would keep their loading skeletons: failed requests are not retried by themselves, and a
|
|
5
|
+
* completed period's requests never change.
|
|
6
|
+
*/
|
|
7
|
+
export declare function CounterTotalsNotice({ totals, }: {
|
|
8
|
+
totals: Pick<CounterTotals, "isError" | "retry">;
|
|
9
|
+
}): import("react").JSX.Element | null;
|
|
10
|
+
/**
|
|
11
|
+
* Setup warnings for counter bindings that don't block saving: a counter without background
|
|
12
|
+
* readings records history only while someone views it, and a counter whose unit differs from its
|
|
13
|
+
* parent's has no share of it.
|
|
14
|
+
*/
|
|
15
|
+
export declare function CounterBindingWarnings({ counters, share, }: {
|
|
16
|
+
/** Bound counter parameter IDs; one bound in several roles is warned about once. */
|
|
17
|
+
counters: readonly string[];
|
|
18
|
+
/** A counter shown as a share of its parent's, whose units must match. */
|
|
19
|
+
share?: {
|
|
20
|
+
counter: string;
|
|
21
|
+
parent: string;
|
|
22
|
+
};
|
|
23
|
+
}): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type CounterPeriod, type CounterPeriodId } from "@overvis/hmi-shared/dashboard";
|
|
2
|
+
/** Name of a counter period in the UI language, such as "Last 7 days". */
|
|
3
|
+
export declare function counterPeriodLabel(id: CounterPeriodId): string;
|
|
4
|
+
/**
|
|
5
|
+
* Comparison caption of a resolved counter period in the UI language, such as "vs same time
|
|
6
|
+
* yesterday". A month in progress compared with the whole shorter previous month reads "vs the
|
|
7
|
+
* month before".
|
|
8
|
+
*/
|
|
9
|
+
export declare function counterComparisonLabel(period: CounterPeriod): string;
|
|
10
|
+
export interface UseCounterPeriodOptions {
|
|
11
|
+
/** URL search key holding the period. Default: `"period"`. */
|
|
12
|
+
searchKey?: string;
|
|
13
|
+
/** Periods offered, in order. Default: every period. */
|
|
14
|
+
periods?: readonly CounterPeriodId[];
|
|
15
|
+
/** Period when the URL has none or an unknown one; must be in `periods`. Default: the first. */
|
|
16
|
+
defaultPeriod?: CounterPeriodId;
|
|
17
|
+
}
|
|
18
|
+
/** The counter period in the dashboard URL and a setter that replaces it there. */
|
|
19
|
+
export declare function useCounterPeriod({ searchKey, periods, defaultPeriod, }?: UseCounterPeriodOptions): {
|
|
20
|
+
period: CounterPeriodId;
|
|
21
|
+
periods: readonly CounterPeriodId[];
|
|
22
|
+
setPeriod: (period: CounterPeriodId) => void;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* A dashboard's time zone setting (`dashboardTimeZoneType`) as a zone: the viewer's own for
|
|
26
|
+
* `browser`, the workspace's when the setting is absent.
|
|
27
|
+
*/
|
|
28
|
+
export declare function useDashboardTimeZone(setting: string | undefined): string;
|
|
29
|
+
/**
|
|
30
|
+
* The counter period in the URL, resolved like the counter totals: rolling periods end at the last
|
|
31
|
+
* closed minute, calendar periods follow `timeZone`. Refreshes at each closed minute.
|
|
32
|
+
*/
|
|
33
|
+
export declare function useResolvedCounterPeriod({ timeZone, ...options }: UseCounterPeriodOptions & {
|
|
34
|
+
timeZone: string;
|
|
35
|
+
}): CounterPeriod;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { CounterPeriodId } from "@overvis/hmi-shared/dashboard";
|
|
2
|
+
import type { CounterPeriodTotal, CounterTotals } from "./counter-totals.js";
|
|
3
|
+
/** A counter bound in a dashboard configuration, with the unit saved beside it. */
|
|
4
|
+
export interface CounterSlot {
|
|
5
|
+
parameterId: string;
|
|
6
|
+
unit: string;
|
|
7
|
+
}
|
|
8
|
+
/** The value of a period total for sorting and bars; null without one. Never 0 for missing data. */
|
|
9
|
+
export declare function counterTotalValue(total: CounterPeriodTotal | undefined): number | null;
|
|
10
|
+
/** A counter's unit: the parameter's when it has one, otherwise the unit saved with the slot. */
|
|
11
|
+
export declare function counterSlotUnit(totals: Pick<CounterTotals, "unit">, slot: CounterSlot): string;
|
|
12
|
+
/**
|
|
13
|
+
* A part's share of its whole over the period: only when both are whole-period values in the same
|
|
14
|
+
* unit and the whole is positive. Shares are display ratios and need not add up to 1.
|
|
15
|
+
*/
|
|
16
|
+
export declare function counterShare(part: CounterPeriodTotal | undefined, whole: CounterPeriodTotal | undefined, partUnit: string, wholeUnit: string): number | null;
|
|
17
|
+
/** A share as a percentage with at most one decimal, such as "42.5%". */
|
|
18
|
+
export declare function formatCounterShare(share: number, locale: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* The unit most counters use (the first on a tie), or null without units. Totals in other units
|
|
21
|
+
* can't be ranked or stacked against them, since units are never converted.
|
|
22
|
+
*/
|
|
23
|
+
export declare function commonCounterUnit(units: readonly string[]): string | null;
|
|
24
|
+
export interface RankedCounter<Item> {
|
|
25
|
+
item: Item;
|
|
26
|
+
value: number;
|
|
27
|
+
unit: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The items whose counters have the most in the period, largest first, at most `count`, in the
|
|
31
|
+
* unit most of the counters use. Partial totals cover less time, so only whole-period positive
|
|
32
|
+
* values are ranked.
|
|
33
|
+
*/
|
|
34
|
+
export declare function rankByCounterTotal<Item>(items: readonly Item[], counterOf: (item: Item) => CounterSlot | null | undefined, totals: Pick<CounterTotals, "find" | "unit">, periodId: CounterPeriodId, count: number): RankedCounter<Item>[];
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type UseCounterPeriodOptions } from "./counter-period.js";
|
|
2
|
+
import type { CounterPeriodTotal } from "./counter-totals.js";
|
|
3
|
+
/** A period select bound to a URL search key; read the same key with `useCounterPeriod`. */
|
|
4
|
+
export declare function CounterPeriodSelect({ className, label, ...options }: UseCounterPeriodOptions & {
|
|
5
|
+
className?: string;
|
|
6
|
+
/** Accessible name. Default: "Period". */
|
|
7
|
+
label?: string;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
/**
|
|
10
|
+
* A counter total for display, with thousands grouped and fewer decimals as it grows: two below
|
|
11
|
+
* 100, one below 10 000, none above. `maximumFractionDigits` overrides the choice.
|
|
12
|
+
*/
|
|
13
|
+
export declare function formatCounterValue(value: number, unit: string, locale: string, maximumFractionDigits?: number): string;
|
|
14
|
+
/**
|
|
15
|
+
* A counter's consumption in one period: value with unit and a change badge, "No data" without
|
|
16
|
+
* readings, "Counter reset" without a value, and "Since …" / "Until …" for partial coverage.
|
|
17
|
+
* `compact` fits a table cell or list row: a smaller value without the change, which
|
|
18
|
+
* `CounterChange` shows on its own. `change={false}` leaves the change out at full size too, and
|
|
19
|
+
* `valueClassName` restyles the value, such as a larger headline figure.
|
|
20
|
+
*/
|
|
21
|
+
export declare function CounterTotal({ total, unit, maximumFractionDigits, compact, change, valueClassName, className, }: {
|
|
22
|
+
/** From `useCounterTotals().find`; undefined while it loads. */
|
|
23
|
+
total: CounterPeriodTotal | undefined;
|
|
24
|
+
unit: string;
|
|
25
|
+
/** Default: by magnitude, see `formatCounterValue`. */
|
|
26
|
+
maximumFractionDigits?: number | undefined;
|
|
27
|
+
compact?: boolean;
|
|
28
|
+
change?: boolean;
|
|
29
|
+
valueClassName?: string | undefined;
|
|
30
|
+
className?: string | undefined;
|
|
31
|
+
}): import("react").JSX.Element;
|
|
32
|
+
/**
|
|
33
|
+
* The change of a counter total against its comparison window as a badge, such as "+12 %";
|
|
34
|
+
* nothing unless both windows have values. `comparison` adds the caption ("vs previous 7 days").
|
|
35
|
+
* `rising` tints the badge by which direction is welcome: green for more export with `"good"`,
|
|
36
|
+
* amber for more consumption or cost with `"bad"`; without it the badge stays neutral.
|
|
37
|
+
*/
|
|
38
|
+
export declare function CounterChange({ total, comparison, rising, className, }: {
|
|
39
|
+
total: CounterPeriodTotal | undefined;
|
|
40
|
+
comparison?: boolean;
|
|
41
|
+
rising?: "good" | "bad";
|
|
42
|
+
className?: string;
|
|
43
|
+
}): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { type CounterPeriod, type CounterPeriodId, type CounterTotalResult } from "@overvis/hmi-shared/dashboard";
|
|
2
|
+
import type { ReportReadingsClient } from "../reports/readings-client.js";
|
|
3
|
+
/** A `num` counter and how its history is recorded. */
|
|
4
|
+
export interface CounterSource {
|
|
5
|
+
parameterId: string;
|
|
6
|
+
/** Null when background readings are off. */
|
|
7
|
+
backgroundReadingPeriodMs: number | null;
|
|
8
|
+
/**
|
|
9
|
+
* For a counter with device-logged history, the time through which its device's log is
|
|
10
|
+
* imported; null otherwise.
|
|
11
|
+
*/
|
|
12
|
+
deviceLogCompleteThrough: number | null;
|
|
13
|
+
}
|
|
14
|
+
interface CounterExtent {
|
|
15
|
+
from: number | null;
|
|
16
|
+
to: number | null;
|
|
17
|
+
/** When the extent was requested; readings after it may be missing from `to`. */
|
|
18
|
+
fetchedAt: number;
|
|
19
|
+
}
|
|
20
|
+
/** Page cache of a counter-totals hook: extents per counter and values of repeated windows. */
|
|
21
|
+
export interface CounterTotalsCache {
|
|
22
|
+
extents: Map<string, CounterExtent>;
|
|
23
|
+
values: Map<string, number | null>;
|
|
24
|
+
/** The import watermark each device-logged counter's cached extent and values belong to. */
|
|
25
|
+
watermarks: Map<string, number>;
|
|
26
|
+
}
|
|
27
|
+
export declare function createCounterTotalsCache(): CounterTotalsCache;
|
|
28
|
+
export interface CounterPeriodTotal {
|
|
29
|
+
parameterId: string;
|
|
30
|
+
period: CounterPeriod;
|
|
31
|
+
current: CounterTotalResult;
|
|
32
|
+
previous: CounterTotalResult;
|
|
33
|
+
/** Relative change against `previous`, e.g. `0.25` for +25 %; null unless both are values. */
|
|
34
|
+
change: number | null;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Loads consumption totals for counters over resolved periods. `readings.aggregate` gives
|
|
38
|
+
* `delta`, `first`, `latest` and `min` per window in requests of at most 100 pairs.
|
|
39
|
+
* `readings.timeExtent` runs once per counter and is kept in `cache`; when a window end lies
|
|
40
|
+
* past the cached extent, a `latest` over its last background period plus a minute shows
|
|
41
|
+
* whether readings reach it. Only a counter whose readings stopped, or one cached without readings
|
|
42
|
+
* that has some now, asks for its extent again.
|
|
43
|
+
*/
|
|
44
|
+
export declare function loadCounterTotals(options: {
|
|
45
|
+
workspaceId: string;
|
|
46
|
+
readings: Pick<ReportReadingsClient, "aggregate" | "timeExtent">;
|
|
47
|
+
counters: readonly CounterSource[];
|
|
48
|
+
periods: readonly CounterPeriod[];
|
|
49
|
+
cache: CounterTotalsCache;
|
|
50
|
+
now?: () => number;
|
|
51
|
+
signal: AbortSignal;
|
|
52
|
+
}): Promise<CounterPeriodTotal[]>;
|
|
53
|
+
export interface UseCounterTotalsOptions {
|
|
54
|
+
workspaceId: string;
|
|
55
|
+
/** Counter parameter ids; only `num` parameters give totals (see `counterBindingError`). */
|
|
56
|
+
counters: readonly string[];
|
|
57
|
+
periods: readonly CounterPeriodId[];
|
|
58
|
+
/** IANA timezone for calendar periods; the browser's by default. */
|
|
59
|
+
timeZone?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface CounterTotals {
|
|
62
|
+
totals: readonly CounterPeriodTotal[];
|
|
63
|
+
/** Total of one counter in one period; undefined while it loads or after its lookup failed. */
|
|
64
|
+
find: (parameterId: string, period: CounterPeriodId) => CounterPeriodTotal | undefined;
|
|
65
|
+
/** Unit of a counter from its parameter, in the UI language; empty when it has none. */
|
|
66
|
+
unit: (parameterId: string) => string;
|
|
67
|
+
isPending: boolean;
|
|
68
|
+
isError: boolean;
|
|
69
|
+
retry: () => void;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Consumption of counters (energy, heat, water, gas) per period with a comparison, refreshed at
|
|
73
|
+
* each closed minute. Missing history is `no-data`, never 0; a counter reset is flagged without a
|
|
74
|
+
* value; partial coverage carries its range and no change.
|
|
75
|
+
*/
|
|
76
|
+
export declare function useCounterTotals({ workspaceId, counters, periods, timeZone, }: UseCounterTotalsOptions): CounterTotals;
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ParameterValueState } from "../parameters/live/model.js";
|
|
2
|
+
/** A piece of equipment with an optional due-date parameter, such as maintenance or verification. */
|
|
3
|
+
export interface SiteDueEquipment {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
maintenanceParameterId?: string | undefined;
|
|
7
|
+
}
|
|
8
|
+
/** The due-date parameters of `equipment`, to add to a page's live demand. */
|
|
9
|
+
export declare function dueDateParameterIds(equipment: readonly SiteDueEquipment[]): string[];
|
|
10
|
+
/**
|
|
11
|
+
* The equipment whose due date has passed at `now`, by name and id. Dates must be current values;
|
|
12
|
+
* `unknown` is true when any bound date is not, so none of those is known to be overdue.
|
|
13
|
+
*/
|
|
14
|
+
export declare function overdueEquipment(equipment: readonly SiteDueEquipment[], states: ReadonlyMap<string, ParameterValueState>, now: number): {
|
|
15
|
+
overdue: string[];
|
|
16
|
+
overdueIds: string[];
|
|
17
|
+
unknown: boolean;
|
|
18
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { type FleetZone } from "@overvis/hmi-shared/dashboard";
|
|
2
|
+
import { type FormValidationErrorResult } from "../../form/index.js";
|
|
3
|
+
/** One copy the dialog creates: its name, zone, target branch and parameter mapping. */
|
|
4
|
+
export interface SiteDuplicateCopy {
|
|
5
|
+
name: string;
|
|
6
|
+
zoneId: string | null;
|
|
7
|
+
branch: readonly string[];
|
|
8
|
+
mapping: ReadonlyMap<string, string | null>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Names of copies to several branches: each branch's last segment, or the whole path when two
|
|
12
|
+
* chosen branches end the same way.
|
|
13
|
+
*/
|
|
14
|
+
export declare function duplicateCopyNames(branches: readonly (readonly string[])[]): string[];
|
|
15
|
+
/**
|
|
16
|
+
* Copies a site for identical equipment elsewhere in the parameter tree: every binding is
|
|
17
|
+
* matched to the parameter with the same relative path under the chosen branch. `plan` names
|
|
18
|
+
* the bindings a mapping would leave out. With `onSave` the user picks one branch and names the
|
|
19
|
+
* copy; with `onSaveAll` the user picks one or more branches and gets one copy per branch, named
|
|
20
|
+
* after it (no name field), saved in one call. Without `zones` there is no zone field.
|
|
21
|
+
*/
|
|
22
|
+
export declare function SiteDuplicateDialog({ siteName, zoneId, zones, parameterIds, workspaceId, plan, onSave, onSaveAll, onClose, onDuplicated, labels, mapError, }: {
|
|
23
|
+
siteName: string;
|
|
24
|
+
zoneId?: string | null;
|
|
25
|
+
/** Zones offered for the copy; omit when the preset has no zones. */
|
|
26
|
+
zones?: readonly FleetZone[];
|
|
27
|
+
/** Every parameter the site binds, including command steps. */
|
|
28
|
+
parameterIds: readonly string[];
|
|
29
|
+
workspaceId: string;
|
|
30
|
+
plan: (mapping: ReadonlyMap<string, string | null>) => readonly string[];
|
|
31
|
+
onClose: () => void;
|
|
32
|
+
onDuplicated: () => void;
|
|
33
|
+
labels?: {
|
|
34
|
+
title?: string;
|
|
35
|
+
hint?: string;
|
|
36
|
+
noBindings?: string;
|
|
37
|
+
targetRequired?: string;
|
|
38
|
+
};
|
|
39
|
+
mapError?: (error: unknown) => FormValidationErrorResult;
|
|
40
|
+
} & ({
|
|
41
|
+
onSave: (copy: {
|
|
42
|
+
name: string;
|
|
43
|
+
zoneId: string | null;
|
|
44
|
+
mapping: ReadonlyMap<string, string | null>;
|
|
45
|
+
}) => Promise<void>;
|
|
46
|
+
onSaveAll?: never;
|
|
47
|
+
} | {
|
|
48
|
+
/** Creates every copy in one configuration update. */
|
|
49
|
+
onSaveAll: (copies: readonly SiteDuplicateCopy[]) => Promise<void>;
|
|
50
|
+
onSave?: never;
|
|
51
|
+
})): import("react").JSX.Element;
|
|
52
|
+
/**
|
|
53
|
+
* What the chosen copies will leave out, per branch; for copies named after their branches, the
|
|
54
|
+
* names and a count
|
|
55
|
+
* of branches where everything matches.
|
|
56
|
+
*/
|
|
57
|
+
export declare function CopyPlan({ copies, }: {
|
|
58
|
+
copies: readonly {
|
|
59
|
+
branch: readonly string[];
|
|
60
|
+
name: string | null;
|
|
61
|
+
dropped: readonly string[];
|
|
62
|
+
}[];
|
|
63
|
+
}): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
/** Setup dialog with a fixed header, a scrolling body and a footer that stays in view. */
|
|
3
|
+
export declare function FleetEditorDialog({ title, children, onClose, description, }: {
|
|
4
|
+
title: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
description?: string;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
/**
|
|
10
|
+
* Body and footer of a `FleetEditorDialog` form; use inside `form.FormRoot layout="dialog-fill"`.
|
|
11
|
+
* Form errors appear above the footer actions. Omit children for a confirmation.
|
|
12
|
+
*/
|
|
13
|
+
export declare function FleetEditorForm({ footer, children, }: {
|
|
14
|
+
footer: ReactNode;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
17
|
+
/** A labeled select over fixed options. */
|
|
18
|
+
export declare function FleetChoice<Value extends string>({ label, value, options, onChange, }: {
|
|
19
|
+
label: string;
|
|
20
|
+
value: Value;
|
|
21
|
+
options: readonly {
|
|
22
|
+
value: Value;
|
|
23
|
+
label: string;
|
|
24
|
+
}[];
|
|
25
|
+
onChange: (value: Value) => void;
|
|
26
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { SiteAlarm, SiteEquipment, SiteEquipmentListKind } from "@overvis/hmi-shared/dashboard";
|
|
3
|
+
import type { ParameterValueState } from "../parameters/live/model.js";
|
|
4
|
+
type EquipmentLists = Pick<SiteEquipment, SiteEquipmentListKind>;
|
|
5
|
+
type EquipmentItem<Equipment extends EquipmentLists> = Equipment["readings"][number] | Equipment["alarms"][number] | Equipment["controls"][number];
|
|
6
|
+
/** What a site's setup does with the readings, alarms and controls of one piece of equipment. */
|
|
7
|
+
export interface SiteEquipmentActions<Equipment extends EquipmentLists = EquipmentLists> {
|
|
8
|
+
/** Edits an item, or adds one with `null`. */
|
|
9
|
+
onEdit: (kind: SiteEquipmentListKind, item: EquipmentItem<Equipment> | null) => void;
|
|
10
|
+
onRemove: (kind: SiteEquipmentListKind, item: EquipmentItem<Equipment>) => void;
|
|
11
|
+
onReorder: (kind: SiteEquipmentListKind) => void;
|
|
12
|
+
}
|
|
13
|
+
/** Edit and Remove for one reading, alarm or control in setup. */
|
|
14
|
+
export declare function SiteItemActions({ onEdit, onRemove, }: {
|
|
15
|
+
onEdit: () => void;
|
|
16
|
+
onRemove: () => void;
|
|
17
|
+
}): ReactElement;
|
|
18
|
+
/**
|
|
19
|
+
* Active alarms of one piece of equipment as compact badges, such as in a panel's header:
|
|
20
|
+
* destructive for critical, amber for warnings. Inactive and unknown alarms are left out.
|
|
21
|
+
*/
|
|
22
|
+
export declare function SiteActiveAlarmBadges({ alarms, states, }: {
|
|
23
|
+
alarms: readonly SiteAlarm[];
|
|
24
|
+
states: ReadonlyMap<string, ParameterValueState>;
|
|
25
|
+
}): ReactElement;
|
|
26
|
+
/**
|
|
27
|
+
* The alarms of one piece of equipment: the active ones and those whose state is unknown, with
|
|
28
|
+
* their severity. In setup (`canEdit`) every alarm is listed with Edit and Remove.
|
|
29
|
+
*/
|
|
30
|
+
export declare function SiteAlarmList<Alarm extends SiteAlarm>({ alarms, states, canEdit, onEdit, onRemove, }: {
|
|
31
|
+
alarms: readonly Alarm[];
|
|
32
|
+
states: ReadonlyMap<string, ParameterValueState>;
|
|
33
|
+
canEdit: boolean;
|
|
34
|
+
onEdit: (alarm: Alarm) => void;
|
|
35
|
+
onRemove: (alarm: Alarm) => void;
|
|
36
|
+
}): ReactElement | null;
|
|
37
|
+
/**
|
|
38
|
+
* Setup of one piece of equipment: its controls with Edit and Remove, reordering of each list
|
|
39
|
+
* with two or more items, and adding a reading, alarm or control.
|
|
40
|
+
*/
|
|
41
|
+
export declare function SiteEquipmentSetup<Equipment extends EquipmentLists>({ equipment, onEdit, onRemove, onReorder, }: {
|
|
42
|
+
equipment: Equipment;
|
|
43
|
+
} & SiteEquipmentActions<Equipment>): ReactElement;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import type { AppLocale } from "@overvis/hmi-shared";
|
|
3
|
+
import type { SiteEquipment } from "@overvis/hmi-shared/dashboard";
|
|
4
|
+
import type { ParameterControl } from "@overvis/hmi-shared/parameter";
|
|
5
|
+
import type { ParameterValueState } from "../parameters/live/model.js";
|
|
6
|
+
import { type SiteEquipmentActions } from "./equipment-setup.js";
|
|
7
|
+
import { EquipmentOperations } from "./operations.js";
|
|
8
|
+
import type { SiteDueDate } from "./status.js";
|
|
9
|
+
/**
|
|
10
|
+
* Readings, alarms and operations of a site or one piece of equipment. The `site` variant spreads
|
|
11
|
+
* the readings across the page; `equipment` is a compact block for panels. While `canEdit`, every
|
|
12
|
+
* reading and alarm has Edit and Remove, and the equipment's setup follows the operations.
|
|
13
|
+
* `aside`, such as the site's pump list, sits beside the alarms and operations on wide screens.
|
|
14
|
+
*/
|
|
15
|
+
export declare function SiteEquipmentView<Equipment extends SiteEquipment>({ equipment, variant, states, locale, canEdit, icon, history, dueDate, aside, commands, operationControls, onEdit, onRemove, onReorder, }: {
|
|
16
|
+
equipment: Equipment;
|
|
17
|
+
variant: "site" | "equipment";
|
|
18
|
+
states: ReadonlyMap<string, ParameterValueState>;
|
|
19
|
+
locale: AppLocale;
|
|
20
|
+
canEdit: boolean;
|
|
21
|
+
icon?: (reading: Equipment["readings"][number]) => ReactNode;
|
|
22
|
+
/** The History action of the operations; null hides it. */
|
|
23
|
+
history: ComponentProps<typeof EquipmentOperations>["history"];
|
|
24
|
+
/** Labels the due date as maintenance (default) or verification. */
|
|
25
|
+
dueDate?: SiteDueDate;
|
|
26
|
+
aside?: ReactNode;
|
|
27
|
+
/** Shown between the alarms and the operations, such as guarded command buttons. */
|
|
28
|
+
commands?: ReactNode;
|
|
29
|
+
/** The controls the operations offer; all of the equipment's by default. */
|
|
30
|
+
operationControls?: readonly ParameterControl[];
|
|
31
|
+
} & SiteEquipmentActions<Equipment>): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
declare const sizes: {
|
|
3
|
+
readonly large: "text-3xl/tight font-semibold";
|
|
4
|
+
readonly medium: "text-lg/tight font-semibold";
|
|
5
|
+
readonly small: "text-sm font-medium";
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* A labelled value in a `dl`, for strips of site figures in a grid such as
|
|
9
|
+
* `grid-cols-[repeat(auto-fill,minmax(7rem,1fr))]`: large for a headline reading, small for an
|
|
10
|
+
* equipment row. `wide` spans two columns, for a list such as alarms.
|
|
11
|
+
*/
|
|
12
|
+
export declare function SiteFigure({ label, children, size, wide, }: {
|
|
13
|
+
label: string;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
size?: keyof typeof sizes;
|
|
16
|
+
wide?: boolean;
|
|
17
|
+
}): import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Type from "typebox";
|
|
2
|
+
import type { SiteRoleFormValue } from "@overvis/hmi-shared/dashboard";
|
|
3
|
+
/** A parameter binding in a form: a parameter ID, or empty while unbound. */
|
|
4
|
+
export declare const optionalParameterIdType: Type.TUnion<[Type.TLiteral<"">, Type.TString]>;
|
|
5
|
+
/** The name of a site or a piece of equipment: 1–120 characters, not only spaces. */
|
|
6
|
+
export declare const siteNameType: Type.TString;
|
|
7
|
+
/** Slot rows of `SiteSlotFields`; condition values are checked when the form is saved. */
|
|
8
|
+
export declare const siteSlotRowsType: Type.TRecord<"^.*$", Type.TObject<{
|
|
9
|
+
parameterId: Type.TUnion<[Type.TLiteral<"">, Type.TString]>;
|
|
10
|
+
unit: Type.TString;
|
|
11
|
+
operator: Type.TUnion<[Type.TLiteral<"eq">, Type.TLiteral<"ne">, Type.TLiteral<"gt">, Type.TLiteral<"gte">, Type.TLiteral<"lt">, Type.TLiteral<"lte">]>;
|
|
12
|
+
value: Type.TString;
|
|
13
|
+
}>>;
|
|
14
|
+
/** Form rows of `keys`, as `SiteSlotFields` edits them; `row` is usually the roles' `formValue`. */
|
|
15
|
+
export declare function siteSlotRows<Key extends string>(keys: readonly Key[], row: (key: Key) => SiteRoleFormValue): Record<string, SiteRoleFormValue>;
|