@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,313 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { r as t } from "./trpc-CvJUuUXp.js";
|
|
3
|
+
import { f as n, m as r, n as i } from "./i18n-BgzakKoC.js";
|
|
4
|
+
import { a, d as o, r as s, t as c } from "./mutation-form-validators-BNz5bsv1.js";
|
|
5
|
+
import { t as l } from "./button-6SxPBYMz.js";
|
|
6
|
+
import { a as u, i as d, l as f, o as p, r as m, t as h } from "./dialog-BIhQXcZC.js";
|
|
7
|
+
import { n as g } from "./skeleton-6yk8Tdh5.js";
|
|
8
|
+
import { o as _ } from "./context-u9KJQmdB.js";
|
|
9
|
+
import { n as v } from "./api-error-9rQmUN5L.js";
|
|
10
|
+
import { s as y } from "./mutations-THtGG6Ai.js";
|
|
11
|
+
import { t as b } from "./page-header-RB2YFWlE.js";
|
|
12
|
+
import { r as x, t as S } from "./query-gate-DVhNIkge.js";
|
|
13
|
+
import { t as C } from "./breadcrumbs-0cjsV2cq.js";
|
|
14
|
+
import { a as w, d as T, i as E, l as ee, n as te, o as ne, r as D, s as O, t as k, u as A } from "./catalog-list-DjZojYLJ.js";
|
|
15
|
+
import { useRef as j, useState as M } from "react";
|
|
16
|
+
import { isPublicApiErrorCode as N } from "@overvis/hmi-shared/api-errors";
|
|
17
|
+
import { jsx as P, jsxs as F } from "react/jsx-runtime";
|
|
18
|
+
import { FolderIcon as I, Trash2Icon as L, UploadIcon as R } from "lucide-react";
|
|
19
|
+
import { API_INTERNAL_ERROR_CODE as z, formatAppDateTime as B } from "@overvis/hmi-shared";
|
|
20
|
+
import { WORKSPACE_UPLOADS_MAX_FILE_BYTES as V, uploadsIngestButtonVisible as H, uploadsIngestedDirName as re } from "@overvis/hmi-shared/workspace";
|
|
21
|
+
//#region src/workspace/setup/files/errors.ts
|
|
22
|
+
function U(e) {
|
|
23
|
+
switch (e) {
|
|
24
|
+
case "gs_missing": return n("setup_files_ingest_error_gs_missing");
|
|
25
|
+
case "raster_failed": return n("setup_files_ingest_error_raster_failed");
|
|
26
|
+
case "uploads_not_pdf": return n("setup_files_ingest_error_not_pdf");
|
|
27
|
+
case "pdf_gone": return n("setup_files_ingest_error_pdf_gone");
|
|
28
|
+
case "xlsx_gone": return n("setup_files_ingest_error_xlsx_gone");
|
|
29
|
+
case "xlsx_password": return n("setup_files_ingest_error_xlsx_password");
|
|
30
|
+
case "xlsx_unreadable": return n("setup_files_ingest_error_xlsx_unreadable");
|
|
31
|
+
case "dest_gone": return n("setup_files_ingest_error_dest_gone");
|
|
32
|
+
case "mistral_unauthorized":
|
|
33
|
+
case "mistral_payment":
|
|
34
|
+
case "mistral_api_key_missing": return n("setup_files_ingest_error_ocr");
|
|
35
|
+
case "wall_timeout": return n("setup_files_ingest_error_timeout");
|
|
36
|
+
case "jobrunner_restart": return n("setup_files_ingest_error_restart");
|
|
37
|
+
default: return n("setup_files_ingest_failed");
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/workspace/setup/files/http.ts
|
|
42
|
+
function W(e) {
|
|
43
|
+
return e.replace(/\/+$/, "");
|
|
44
|
+
}
|
|
45
|
+
function G(e, t) {
|
|
46
|
+
return `${W(e.apiBaseUrl)}/api/workspaces/${t}/uploads`;
|
|
47
|
+
}
|
|
48
|
+
function K(e, t, n, r) {
|
|
49
|
+
let i = encodeURIComponent(n), a = `${G(e, t)}/${i}`;
|
|
50
|
+
return r === "dir" ? `${a}/archive` : a;
|
|
51
|
+
}
|
|
52
|
+
function q(e, t) {
|
|
53
|
+
t != null && new Headers(t()).forEach((t, n) => {
|
|
54
|
+
e.set(n, t);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
function J(e) {
|
|
58
|
+
if (typeof e != "object" || !e) return null;
|
|
59
|
+
let t = Reflect.get(e, "message");
|
|
60
|
+
return typeof t == "string" && N(t) ? t : null;
|
|
61
|
+
}
|
|
62
|
+
async function Y(e) {
|
|
63
|
+
let t;
|
|
64
|
+
try {
|
|
65
|
+
t = await e.json();
|
|
66
|
+
} catch {
|
|
67
|
+
t = null;
|
|
68
|
+
}
|
|
69
|
+
let n = J(t);
|
|
70
|
+
throw n == null ? e.status === 401 ? Error("workspace_no_access") : e.status === 403 ? Error("workspace_not_editor") : e.status === 413 ? Error("uploads_too_large") : e.status === 404 ? Error("uploads_not_found") : Error(z) : Error(n);
|
|
71
|
+
}
|
|
72
|
+
function X(e) {
|
|
73
|
+
if (typeof e != "object" || !e) throw Error("uploads_invalid_name");
|
|
74
|
+
let t = Reflect.get(e, "kind"), n = Reflect.get(e, "name");
|
|
75
|
+
if ((t === "file" || t === "dir") && typeof n == "string" && n.length > 0) return {
|
|
76
|
+
kind: t,
|
|
77
|
+
name: n
|
|
78
|
+
};
|
|
79
|
+
throw Error("uploads_invalid_name");
|
|
80
|
+
}
|
|
81
|
+
async function Z(e) {
|
|
82
|
+
let t = new Headers();
|
|
83
|
+
q(t, e.host.getHeaders);
|
|
84
|
+
let n = new FormData();
|
|
85
|
+
n.append("file", e.file, e.file.name);
|
|
86
|
+
let r = await fetch(G(e.host, e.workspaceId), {
|
|
87
|
+
method: "POST",
|
|
88
|
+
credentials: e.host.credentials,
|
|
89
|
+
headers: t,
|
|
90
|
+
body: n,
|
|
91
|
+
...e.signal == null ? {} : { signal: e.signal }
|
|
92
|
+
});
|
|
93
|
+
return r.ok || await Y(r), X(await r.json());
|
|
94
|
+
}
|
|
95
|
+
async function ie(e) {
|
|
96
|
+
let t = new Headers();
|
|
97
|
+
q(t, e.host.getHeaders);
|
|
98
|
+
let n = await fetch(K(e.host, e.workspaceId, e.name, e.kind), {
|
|
99
|
+
method: "GET",
|
|
100
|
+
credentials: e.host.credentials,
|
|
101
|
+
headers: t
|
|
102
|
+
});
|
|
103
|
+
n.ok || await Y(n);
|
|
104
|
+
let r = await n.blob();
|
|
105
|
+
return {
|
|
106
|
+
filename: e.kind === "dir" ? `${e.name}.zip` : e.name,
|
|
107
|
+
blob: r
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/workspace/setup/files/page.tsx
|
|
112
|
+
var ae = /* @__PURE__ */ e({ SetupFilesPage: () => $ });
|
|
113
|
+
function oe(e) {
|
|
114
|
+
if (e < 1024) return n("setup_files_size_b", { n: String(e) });
|
|
115
|
+
let t = e / 1024;
|
|
116
|
+
if (t < 1024) return n("setup_files_size_kib", { n: t < 10 ? t.toFixed(1) : String(Math.round(t)) });
|
|
117
|
+
let r = t / 1024;
|
|
118
|
+
return n("setup_files_size_mib", { n: r < 10 ? r.toFixed(1) : String(Math.round(r)) });
|
|
119
|
+
}
|
|
120
|
+
function se(e) {
|
|
121
|
+
let t = n("setup_files_file_meta", {
|
|
122
|
+
size: oe(e.size),
|
|
123
|
+
at: B(e.updatedAt)
|
|
124
|
+
});
|
|
125
|
+
return e.ingest?.status === "failed" ? `${U(e.ingest.errorCode)} · ${t}` : t;
|
|
126
|
+
}
|
|
127
|
+
function Q(e, t) {
|
|
128
|
+
let n = URL.createObjectURL(t), r = document.createElement("a");
|
|
129
|
+
r.href = n, r.download = e, r.click(), setTimeout(() => {
|
|
130
|
+
URL.revokeObjectURL(n);
|
|
131
|
+
}, 6e4);
|
|
132
|
+
}
|
|
133
|
+
function $({ workspaceId: e }) {
|
|
134
|
+
let n = r(), a = i(), o = _(), s = y(e), c = t.workspace.uploads.list.useQuery({ workspaceId: e }, { refetchInterval: (e) => {
|
|
135
|
+
let t = e.state.data;
|
|
136
|
+
return t == null ? !1 : t.entries.some((e) => e.kind === "file" && e.ingest?.status === "running") ? 2e3 : !1;
|
|
137
|
+
} }), u = s.ingest, d = new Set((c.data?.entries ?? []).map((e) => e.name)), [f, p] = M(null);
|
|
138
|
+
return /* @__PURE__ */ F(ee, { children: [
|
|
139
|
+
/* @__PURE__ */ P(b, {
|
|
140
|
+
icon: /* @__PURE__ */ P(I, {}),
|
|
141
|
+
breadcrumbs: /* @__PURE__ */ P(C, { workspaceId: e }),
|
|
142
|
+
title: n("setup_files_title"),
|
|
143
|
+
description: n("setup_files_description")
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ F(te, { children: [/* @__PURE__ */ P(le, { workspaceId: e }), /* @__PURE__ */ P(x, {
|
|
146
|
+
query: c,
|
|
147
|
+
loading: /* @__PURE__ */ F("div", {
|
|
148
|
+
className: "space-y-2",
|
|
149
|
+
children: [/* @__PURE__ */ P(g, { className: "h-10 w-full" }), /* @__PURE__ */ P(g, { className: "h-10 w-4/5" })]
|
|
150
|
+
}),
|
|
151
|
+
error: () => /* @__PURE__ */ P(S, { message: n("error_request_failed") }),
|
|
152
|
+
isEmpty: (e) => e.entries.length === 0,
|
|
153
|
+
empty: /* @__PURE__ */ P(D, { children: n("setup_files_empty") }),
|
|
154
|
+
children: ({ entries: t }) => /* @__PURE__ */ P(w, { children: t.map((t) => /* @__PURE__ */ F(A, { children: [/* @__PURE__ */ F("button", {
|
|
155
|
+
type: "button",
|
|
156
|
+
className: "\n min-w-0 flex-1 rounded-sm text-left outline-none\n focus-visible:ring-2 focus-visible:ring-ring\n ",
|
|
157
|
+
onClick: () => {
|
|
158
|
+
ie({
|
|
159
|
+
workspaceId: e,
|
|
160
|
+
name: t.name,
|
|
161
|
+
kind: t.kind,
|
|
162
|
+
host: {
|
|
163
|
+
apiBaseUrl: o.apiBaseUrl,
|
|
164
|
+
credentials: o.credentials,
|
|
165
|
+
...o.getHeaders == null ? {} : { getHeaders: o.getHeaders }
|
|
166
|
+
}
|
|
167
|
+
}).then(({ filename: e, blob: t }) => {
|
|
168
|
+
Q(e, t);
|
|
169
|
+
}).catch((e) => {
|
|
170
|
+
a.error(v(e));
|
|
171
|
+
});
|
|
172
|
+
},
|
|
173
|
+
children: [/* @__PURE__ */ F("span", {
|
|
174
|
+
className: "flex min-w-0 items-center gap-2",
|
|
175
|
+
children: [t.kind === "dir" ? /* @__PURE__ */ P(I, { className: "size-4 shrink-0 text-muted-foreground" }) : null, /* @__PURE__ */ P(O, { children: t.name })]
|
|
176
|
+
}), /* @__PURE__ */ P(ne, { children: t.kind === "file" ? se(t) : n("setup_files_dir_meta", {
|
|
177
|
+
count: String(t.fileCount),
|
|
178
|
+
at: B(t.updatedAt)
|
|
179
|
+
}) })]
|
|
180
|
+
}), /* @__PURE__ */ F(k, { children: [H({
|
|
181
|
+
kind: t.kind,
|
|
182
|
+
name: t.name,
|
|
183
|
+
destOccupied: d.has(re(t.name)),
|
|
184
|
+
ingestRunning: t.kind === "file" && t.ingest?.status === "running"
|
|
185
|
+
}) ? /* @__PURE__ */ P(l, {
|
|
186
|
+
type: "button",
|
|
187
|
+
size: "sm",
|
|
188
|
+
disabled: u.isPending && u.variables.name === t.name,
|
|
189
|
+
onClick: () => {
|
|
190
|
+
u.mutateAsync({
|
|
191
|
+
workspaceId: e,
|
|
192
|
+
name: t.name
|
|
193
|
+
}).catch((e) => {
|
|
194
|
+
a.error(v(e));
|
|
195
|
+
});
|
|
196
|
+
},
|
|
197
|
+
children: n("setup_files_ingest")
|
|
198
|
+
}) : t.kind === "file" && t.ingest?.status === "running" ? /* @__PURE__ */ P("span", {
|
|
199
|
+
className: "\n inline-flex h-8 items-center px-2.5 text-sm text-muted-foreground\n tabular-nums\n ",
|
|
200
|
+
children: t.ingest.total === 0 ? n("setup_files_ingest_starting") : n("setup_files_ingest_progress", {
|
|
201
|
+
processed: String(t.ingest.processed),
|
|
202
|
+
total: String(t.ingest.total)
|
|
203
|
+
})
|
|
204
|
+
}) : null, /* @__PURE__ */ P(E, { children: /* @__PURE__ */ P(T, {
|
|
205
|
+
tone: "destructive",
|
|
206
|
+
"aria-label": n("setup_files_delete_action"),
|
|
207
|
+
onClick: () => {
|
|
208
|
+
p(t);
|
|
209
|
+
},
|
|
210
|
+
children: /* @__PURE__ */ P(L, {})
|
|
211
|
+
}) })] })] }, `${t.kind}:${t.name}`)) })
|
|
212
|
+
})] }),
|
|
213
|
+
/* @__PURE__ */ P(h, {
|
|
214
|
+
open: f != null,
|
|
215
|
+
onOpenChange: (e) => {
|
|
216
|
+
e || p(null);
|
|
217
|
+
},
|
|
218
|
+
children: /* @__PURE__ */ P(m, { children: f ? /* @__PURE__ */ P(ue, {
|
|
219
|
+
workspaceId: e,
|
|
220
|
+
entry: f,
|
|
221
|
+
onCancel: () => {
|
|
222
|
+
p(null);
|
|
223
|
+
},
|
|
224
|
+
onDeleted: () => {
|
|
225
|
+
p(null), a.success(n("setup_files_delete_toast"));
|
|
226
|
+
}
|
|
227
|
+
}) : null })
|
|
228
|
+
})
|
|
229
|
+
] });
|
|
230
|
+
}
|
|
231
|
+
function ce() {
|
|
232
|
+
return {
|
|
233
|
+
file: null,
|
|
234
|
+
uploadedKind: null,
|
|
235
|
+
uploadedName: ""
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
function le({ workspaceId: e }) {
|
|
239
|
+
let t = r(), u = i(), d = _(), f = y(e), p = j(null), m = a({
|
|
240
|
+
defaultValues: ce(),
|
|
241
|
+
validators: c({ submit: async (t) => {
|
|
242
|
+
let r = t.file;
|
|
243
|
+
if (r == null) return s(() => n("setup_files_no_file"));
|
|
244
|
+
if (r.size > V) return s(() => n("error_uploads_too_large"));
|
|
245
|
+
let i = await Z({
|
|
246
|
+
workspaceId: e,
|
|
247
|
+
file: r,
|
|
248
|
+
host: {
|
|
249
|
+
apiBaseUrl: d.apiBaseUrl,
|
|
250
|
+
credentials: d.credentials,
|
|
251
|
+
...d.getHeaders == null ? {} : { getHeaders: d.getHeaders }
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
return t.file = null, t.uploadedKind = i.kind, t.uploadedName = i.name, null;
|
|
255
|
+
} }),
|
|
256
|
+
onSubmitInvalid: o,
|
|
257
|
+
onSubmit: ({ value: e }) => {
|
|
258
|
+
e.uploadedKind === "dir" ? u.success(t("setup_files_uploaded_dir", { name: e.uploadedName })) : e.uploadedKind === "file" && u.success(t("setup_files_uploaded_file", { name: e.uploadedName })), f.uploaded();
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
return /* @__PURE__ */ P(m.AppForm, { children: /* @__PURE__ */ F(m.FormRoot, { children: [/* @__PURE__ */ P("input", {
|
|
262
|
+
ref: p,
|
|
263
|
+
type: "file",
|
|
264
|
+
"aria-label": t("setup_files_upload"),
|
|
265
|
+
className: "sr-only",
|
|
266
|
+
onChange: (e) => {
|
|
267
|
+
let t = e.target.files?.[0] ?? null;
|
|
268
|
+
e.target.value = "", t != null && (m.setFieldValue("file", t), m.handleSubmit());
|
|
269
|
+
}
|
|
270
|
+
}), /* @__PURE__ */ P(m.Subscribe, {
|
|
271
|
+
selector: (e) => e.isSubmitting,
|
|
272
|
+
children: (e) => /* @__PURE__ */ F(l, {
|
|
273
|
+
type: "button",
|
|
274
|
+
size: "sm",
|
|
275
|
+
disabled: e,
|
|
276
|
+
onClick: () => {
|
|
277
|
+
p.current?.click();
|
|
278
|
+
},
|
|
279
|
+
children: [/* @__PURE__ */ P(R, { "data-icon": "inline-start" }), t(e ? "action_uploading" : "setup_files_upload")]
|
|
280
|
+
})
|
|
281
|
+
})] }) });
|
|
282
|
+
}
|
|
283
|
+
function ue({ workspaceId: e, entry: t, onCancel: n, onDeleted: i }) {
|
|
284
|
+
let s = r(), m = y(e).remove, h = a({
|
|
285
|
+
defaultValues: {},
|
|
286
|
+
validators: c({ submit: async () => (await m.mutateAsync({
|
|
287
|
+
workspaceId: e,
|
|
288
|
+
kind: t.kind,
|
|
289
|
+
name: t.name
|
|
290
|
+
}), null) }),
|
|
291
|
+
onSubmitInvalid: o,
|
|
292
|
+
onSubmit: () => {
|
|
293
|
+
i();
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
return /* @__PURE__ */ P(h.AppForm, { children: /* @__PURE__ */ F(h.FormRoot, {
|
|
297
|
+
layout: "dialog",
|
|
298
|
+
children: [/* @__PURE__ */ F(p, { children: [/* @__PURE__ */ P(f, { children: t.kind === "dir" ? s("setup_files_delete_dir_title", { name: t.name }) : s("setup_files_delete_file_title", { name: t.name }) }), /* @__PURE__ */ P(d, { children: t.kind === "dir" ? s("setup_files_delete_dir_description", { count: String(t.fileCount) }) : s("setup_files_delete_file_description") })] }), /* @__PURE__ */ F(u, { children: [/* @__PURE__ */ P(l, {
|
|
299
|
+
type: "button",
|
|
300
|
+
variant: "outline",
|
|
301
|
+
onClick: () => {
|
|
302
|
+
n();
|
|
303
|
+
},
|
|
304
|
+
children: s("action_cancel")
|
|
305
|
+
}), /* @__PURE__ */ P(h.SubmitButton, {
|
|
306
|
+
label: s("setup_files_delete_confirm_submit"),
|
|
307
|
+
pendingLabel: s("action_deleting"),
|
|
308
|
+
variant: "destructive"
|
|
309
|
+
})] })]
|
|
310
|
+
}) });
|
|
311
|
+
}
|
|
312
|
+
//#endregion
|
|
313
|
+
export { ae as n, Z as r, $ as t };
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { r as t } from "./trpc-CvJUuUXp.js";
|
|
3
|
+
import { h as n, m as r } from "./i18n-BgzakKoC.js";
|
|
4
|
+
import { t as i } from "./utils-CX-Pz5p6.js";
|
|
5
|
+
import { n as a, t as o } from "./button-6SxPBYMz.js";
|
|
6
|
+
import { n as s } from "./skeleton-6yk8Tdh5.js";
|
|
7
|
+
import { s as c } from "./context-u9KJQmdB.js";
|
|
8
|
+
import { s as l } from "./dialogs-D_v1LeH4.js";
|
|
9
|
+
import { n as u } from "./api-error-9rQmUN5L.js";
|
|
10
|
+
import { _ as d, h as f, n as p, r as m, t as h, v as g } from "./footer-DC-Q0052.js";
|
|
11
|
+
import { t as _ } from "./page-header-RB2YFWlE.js";
|
|
12
|
+
import { n as v } from "./query-gate-DVhNIkge.js";
|
|
13
|
+
import { t as y } from "./model-B8gGi4OK.js";
|
|
14
|
+
import { useCallback as b, useState as x } from "react";
|
|
15
|
+
import { jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
16
|
+
import { ArrowLeftIcon as w, ChartLineIcon as T, PencilIcon as E, SaveIcon as D } from "lucide-react";
|
|
17
|
+
import { resolveLocalized as O } from "@overvis/hmi-shared";
|
|
18
|
+
import { canWriteSetup as k } from "@overvis/hmi-shared/workspace";
|
|
19
|
+
import { formatReportDateTimeIso as A } from "@overvis/hmi-shared/report";
|
|
20
|
+
import { createLink as j } from "@tanstack/react-router";
|
|
21
|
+
//#region src/chrome/text-link.tsx
|
|
22
|
+
function M({ className: e, ...t }) {
|
|
23
|
+
return /* @__PURE__ */ S("a", {
|
|
24
|
+
className: i(a({
|
|
25
|
+
variant: "link",
|
|
26
|
+
size: "sm"
|
|
27
|
+
}), "\n h-auto px-0 text-primary/80\n hover:text-primary hover:no-underline\n ", e),
|
|
28
|
+
...t
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
var N = j(M);
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/workspace/page-state/report.ts
|
|
34
|
+
function P(e) {
|
|
35
|
+
if (e == null) return null;
|
|
36
|
+
let t = e.type;
|
|
37
|
+
return typeof t == "string" && t.length > 0 ? t : null;
|
|
38
|
+
}
|
|
39
|
+
function F(e) {
|
|
40
|
+
let t = [];
|
|
41
|
+
for (let n of e.visibleParameterIds) {
|
|
42
|
+
let r = e.parametersById.get(n);
|
|
43
|
+
r != null && t.push({
|
|
44
|
+
id: r.parameterId,
|
|
45
|
+
name: O(r.label, e.locale),
|
|
46
|
+
units: y(r.units, e.locale),
|
|
47
|
+
valueType: r.type,
|
|
48
|
+
branchPath: []
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
let n = [], r = /* @__PURE__ */ new Set();
|
|
52
|
+
for (let t of e.mountedWidgets) {
|
|
53
|
+
if (r.has(t.representationKey)) continue;
|
|
54
|
+
let i = P(e.preset.representations[t.representationKey]);
|
|
55
|
+
i != null && (r.add(t.representationKey), n.push({
|
|
56
|
+
key: t.representationKey,
|
|
57
|
+
type: i
|
|
58
|
+
}));
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
kind: "report",
|
|
62
|
+
presetId: e.preset.id,
|
|
63
|
+
title: O(e.preset.title, e.locale),
|
|
64
|
+
from: e.from,
|
|
65
|
+
to: e.to,
|
|
66
|
+
fromIso: A(e.from, e.timeZone),
|
|
67
|
+
toIso: A(e.to, e.timeZone),
|
|
68
|
+
timeZone: e.timeZone,
|
|
69
|
+
followLive: e.followLive,
|
|
70
|
+
visibleParameters: t,
|
|
71
|
+
representations: n
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region src/workspace/reports/runtime-chrome.ts
|
|
76
|
+
function I(e) {
|
|
77
|
+
return e.isTemporary ? {
|
|
78
|
+
kind: "temporary",
|
|
79
|
+
showSave: e.canWriteSetup,
|
|
80
|
+
backTarget: e.canWriteSetup ? "parameters" : null
|
|
81
|
+
} : {
|
|
82
|
+
kind: "permanent",
|
|
83
|
+
showEdit: e.canWriteSetup && e.showEditButton,
|
|
84
|
+
backTarget: e.canWriteSetup ? "reports" : null
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/workspace/reports/page.tsx
|
|
89
|
+
var L = /* @__PURE__ */ e({ ReportPage: () => B });
|
|
90
|
+
function R({ workspaceId: e, canWriteSetup: t, onEdit: i }) {
|
|
91
|
+
let a = r(), s = n(), { preset: c, usedFullRangeFallback: l } = g(), u = I({
|
|
92
|
+
isTemporary: c.isTemporary,
|
|
93
|
+
canWriteSetup: t,
|
|
94
|
+
showEditButton: c.showEditButton
|
|
95
|
+
}), d = "\n text-muted-foreground\n hover:text-foreground\n ", f = u.kind === "permanent" && u.showEdit ? /* @__PURE__ */ S(o, {
|
|
96
|
+
type: "button",
|
|
97
|
+
variant: "ghost",
|
|
98
|
+
size: "icon-sm",
|
|
99
|
+
className: "\n text-muted-foreground\n hover:text-foreground\n ",
|
|
100
|
+
"aria-label": a("report_runtime_edit"),
|
|
101
|
+
onClick: i,
|
|
102
|
+
children: /* @__PURE__ */ S(E, {})
|
|
103
|
+
}) : u.kind === "temporary" && u.showSave ? /* @__PURE__ */ C(o, {
|
|
104
|
+
type: "button",
|
|
105
|
+
variant: "outline",
|
|
106
|
+
size: "sm",
|
|
107
|
+
"aria-label": a("report_save"),
|
|
108
|
+
onClick: i,
|
|
109
|
+
children: [/* @__PURE__ */ S(D, { "data-icon": "inline-start" }), a("report_save")]
|
|
110
|
+
}) : null, m = u.backTarget === "parameters" ? /* @__PURE__ */ C(N, {
|
|
111
|
+
to: "/workspace/$workspaceId/setup/parameters",
|
|
112
|
+
params: { workspaceId: e },
|
|
113
|
+
className: d,
|
|
114
|
+
children: [/* @__PURE__ */ S(w, { "data-icon": "inline-start" }), a("setup_back_to_parameters")]
|
|
115
|
+
}) : u.backTarget === "reports" ? /* @__PURE__ */ C(N, {
|
|
116
|
+
to: "/workspace/$workspaceId/setup/reports",
|
|
117
|
+
params: { workspaceId: e },
|
|
118
|
+
className: d,
|
|
119
|
+
children: [/* @__PURE__ */ S(w, { "data-icon": "inline-start" }), a("setup_back_to_reports")]
|
|
120
|
+
}) : null;
|
|
121
|
+
return /* @__PURE__ */ C(_, {
|
|
122
|
+
icon: /* @__PURE__ */ S(T, {}),
|
|
123
|
+
title: O(c.title, s),
|
|
124
|
+
description: c.description != null && O(c.description, s).length > 0 ? O(c.description, s) : void 0,
|
|
125
|
+
titleActions: f,
|
|
126
|
+
actions: m,
|
|
127
|
+
children: [l ? /* @__PURE__ */ S("p", {
|
|
128
|
+
className: "text-xs text-muted-foreground",
|
|
129
|
+
children: a("report_runtime_full_range_fallback")
|
|
130
|
+
}) : null, /* @__PURE__ */ S(p, {})]
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
function z({ workspaceId: e, canEdit: t }) {
|
|
134
|
+
let r = n(), i = g(), { preset: a } = i, { getMountedWidgets: o } = d();
|
|
135
|
+
c("report", b(() => F({
|
|
136
|
+
preset: i.preset,
|
|
137
|
+
from: i.from,
|
|
138
|
+
to: i.to,
|
|
139
|
+
timeZone: i.timeZone,
|
|
140
|
+
followLive: i.followLive,
|
|
141
|
+
visibleParameterIds: i.visibleParameterIds,
|
|
142
|
+
parametersById: i.parametersById,
|
|
143
|
+
mountedWidgets: o(),
|
|
144
|
+
locale: r
|
|
145
|
+
}), [
|
|
146
|
+
r,
|
|
147
|
+
o,
|
|
148
|
+
i
|
|
149
|
+
]));
|
|
150
|
+
let [s, u] = x(!1);
|
|
151
|
+
return /* @__PURE__ */ C("div", {
|
|
152
|
+
className: "mx-auto flex w-full max-w-6xl flex-1 flex-col",
|
|
153
|
+
children: [
|
|
154
|
+
/* @__PURE__ */ S(R, {
|
|
155
|
+
workspaceId: e,
|
|
156
|
+
canWriteSetup: t,
|
|
157
|
+
onEdit: () => {
|
|
158
|
+
u(!0);
|
|
159
|
+
}
|
|
160
|
+
}),
|
|
161
|
+
/* @__PURE__ */ C("div", {
|
|
162
|
+
className: "flex flex-1 flex-col gap-4 p-4",
|
|
163
|
+
children: [/* @__PURE__ */ S(m, {}), /* @__PURE__ */ S(h, {})]
|
|
164
|
+
}),
|
|
165
|
+
s && t ? /* @__PURE__ */ S(l, {
|
|
166
|
+
workspaceId: e,
|
|
167
|
+
presetId: a.id,
|
|
168
|
+
promoteTemporary: a.isTemporary,
|
|
169
|
+
backdropBlur: !1,
|
|
170
|
+
onClose: () => {
|
|
171
|
+
u(!1);
|
|
172
|
+
}
|
|
173
|
+
}) : null
|
|
174
|
+
]
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
function B({ workspaceId: e, presetId: n }) {
|
|
178
|
+
let r = t.workspace.get.useQuery({ id: e }), i = t.report.preset.get.useQuery({ id: n });
|
|
179
|
+
if (r.isLoading || i.isLoading) return /* @__PURE__ */ C("div", {
|
|
180
|
+
className: "mx-auto flex w-full max-w-6xl flex-col gap-4 p-4",
|
|
181
|
+
children: [
|
|
182
|
+
/* @__PURE__ */ S(s, { className: "h-8 w-64" }),
|
|
183
|
+
/* @__PURE__ */ S(s, { className: "h-10 w-full max-w-md" }),
|
|
184
|
+
/* @__PURE__ */ S(s, { className: "h-40 w-full" })
|
|
185
|
+
]
|
|
186
|
+
});
|
|
187
|
+
if (i.isError || i.data == null) return /* @__PURE__ */ S("div", {
|
|
188
|
+
className: "\n flex flex-1 flex-col items-center justify-center p-4\n sm:p-8\n ",
|
|
189
|
+
children: /* @__PURE__ */ S(v, {
|
|
190
|
+
message: u(i.error ?? "report_preset_not_found"),
|
|
191
|
+
...i.isError ? {
|
|
192
|
+
onRetry: () => i.refetch(),
|
|
193
|
+
retrying: i.isFetching
|
|
194
|
+
} : {}
|
|
195
|
+
})
|
|
196
|
+
});
|
|
197
|
+
let a = r.data != null && k(r.data.access), o = i.data;
|
|
198
|
+
return /* @__PURE__ */ S(f, {
|
|
199
|
+
workspaceId: e,
|
|
200
|
+
preset: o,
|
|
201
|
+
children: /* @__PURE__ */ S(z, {
|
|
202
|
+
workspaceId: e,
|
|
203
|
+
canEdit: a
|
|
204
|
+
})
|
|
205
|
+
}, `${e}:${o.id}:${o.updatedAt}`);
|
|
206
|
+
}
|
|
207
|
+
//#endregion
|
|
208
|
+
export { L as n, N as r, B as t };
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { r as t } from "./trpc-CvJUuUXp.js";
|
|
3
|
+
import { h as n, m as r, n as i } from "./i18n-BgzakKoC.js";
|
|
4
|
+
import { a, d as o, i as s, t as c } from "./mutation-form-validators-BNz5bsv1.js";
|
|
5
|
+
import { t as l } from "./button-6SxPBYMz.js";
|
|
6
|
+
import { a as u, i as d, l as f, o as p, r as m, t as h } from "./dialog-BIhQXcZC.js";
|
|
7
|
+
import { n as g } from "./skeleton-6yk8Tdh5.js";
|
|
8
|
+
import { n as _ } from "./api-error-9rQmUN5L.js";
|
|
9
|
+
import { u as v } from "./mutations-THtGG6Ai.js";
|
|
10
|
+
import { t as y } from "./page-header-RB2YFWlE.js";
|
|
11
|
+
import { r as b, t as x } from "./query-gate-DVhNIkge.js";
|
|
12
|
+
import { t as S } from "./breadcrumbs-0cjsV2cq.js";
|
|
13
|
+
import { a as C, c as w, d as T, i as E, l as D, n as O, o as k, r as A, s as j, t as M, u as N } from "./catalog-list-DjZojYLJ.js";
|
|
14
|
+
import { t as P } from "./errors-CcsvDHu8.js";
|
|
15
|
+
import { useState as F } from "react";
|
|
16
|
+
import { jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
17
|
+
import { ChartLineIcon as R, PencilIcon as z, PlusIcon as B, Trash2Icon as V } from "lucide-react";
|
|
18
|
+
import { formatAppDateTime as H, resolveLocalized as U } from "@overvis/hmi-shared";
|
|
19
|
+
import { useNavigate as W } from "@tanstack/react-router";
|
|
20
|
+
//#region src/workspace/setup/report/page.tsx
|
|
21
|
+
var G = /* @__PURE__ */ e({ SetupReportsPage: () => K });
|
|
22
|
+
function K({ workspaceId: e }) {
|
|
23
|
+
let a = r(), o = i(), s = n(), c = W(), u = t.report.preset.list.useQuery({ workspaceId: e }), [d, f] = F(null);
|
|
24
|
+
return /* @__PURE__ */ L(D, { children: [
|
|
25
|
+
/* @__PURE__ */ I(y, {
|
|
26
|
+
icon: /* @__PURE__ */ I(R, {}),
|
|
27
|
+
breadcrumbs: /* @__PURE__ */ I(S, { workspaceId: e }),
|
|
28
|
+
title: a("setup_reports_title"),
|
|
29
|
+
description: a("setup_reports_description"),
|
|
30
|
+
actions: /* @__PURE__ */ L(l, {
|
|
31
|
+
type: "button",
|
|
32
|
+
size: "sm",
|
|
33
|
+
onClick: () => {
|
|
34
|
+
c({
|
|
35
|
+
to: "/workspace/$workspaceId/setup/reports/new",
|
|
36
|
+
params: { workspaceId: e }
|
|
37
|
+
});
|
|
38
|
+
},
|
|
39
|
+
children: [/* @__PURE__ */ I(B, { "data-icon": "inline-start" }), a("report_create_action")]
|
|
40
|
+
})
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ I(O, { children: /* @__PURE__ */ I(b, {
|
|
43
|
+
query: u,
|
|
44
|
+
loading: /* @__PURE__ */ L("div", {
|
|
45
|
+
className: "space-y-2",
|
|
46
|
+
children: [/* @__PURE__ */ I(g, { className: "h-10 w-full" }), /* @__PURE__ */ I(g, { className: "h-10 w-4/5" })]
|
|
47
|
+
}),
|
|
48
|
+
error: (e) => /* @__PURE__ */ I(x, { message: _(e) }),
|
|
49
|
+
isEmpty: (e) => e.reportPresets.length === 0,
|
|
50
|
+
empty: /* @__PURE__ */ I(A, { children: a("setup_reports_empty") }),
|
|
51
|
+
children: ({ reportPresets: t }) => /* @__PURE__ */ I(C, { children: t.map((t) => /* @__PURE__ */ L(N, {
|
|
52
|
+
"data-context-report-preset-id": t.id,
|
|
53
|
+
children: [/* @__PURE__ */ L(w, {
|
|
54
|
+
to: "/workspace/$workspaceId/reports/$presetId",
|
|
55
|
+
params: {
|
|
56
|
+
workspaceId: e,
|
|
57
|
+
presetId: t.id
|
|
58
|
+
},
|
|
59
|
+
children: [
|
|
60
|
+
/* @__PURE__ */ I(j, { children: U(t.title, s) }),
|
|
61
|
+
t.description != null && U(t.description, s).length > 0 ? /* @__PURE__ */ I(k, { children: U(t.description, s) }) : null,
|
|
62
|
+
/* @__PURE__ */ I(k, { children: a("report_updated_at", { at: H(t.updatedAt) }) })
|
|
63
|
+
]
|
|
64
|
+
}), /* @__PURE__ */ I(M, { children: /* @__PURE__ */ L(E, { children: [/* @__PURE__ */ I(T, {
|
|
65
|
+
"aria-label": a("setup_report_edit_title"),
|
|
66
|
+
onClick: () => {
|
|
67
|
+
c({
|
|
68
|
+
to: "/workspace/$workspaceId/setup/reports/$presetId",
|
|
69
|
+
params: {
|
|
70
|
+
workspaceId: e,
|
|
71
|
+
presetId: t.id
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
},
|
|
75
|
+
children: /* @__PURE__ */ I(z, {})
|
|
76
|
+
}), /* @__PURE__ */ I(T, {
|
|
77
|
+
tone: "destructive",
|
|
78
|
+
"aria-label": a("report_delete_action"),
|
|
79
|
+
onClick: () => {
|
|
80
|
+
f(t);
|
|
81
|
+
},
|
|
82
|
+
children: /* @__PURE__ */ I(V, {})
|
|
83
|
+
})] }) })]
|
|
84
|
+
}, t.id)) })
|
|
85
|
+
}) }),
|
|
86
|
+
/* @__PURE__ */ I(h, {
|
|
87
|
+
open: d != null,
|
|
88
|
+
onOpenChange: (e) => {
|
|
89
|
+
e || f(null);
|
|
90
|
+
},
|
|
91
|
+
children: /* @__PURE__ */ I(m, { children: d ? /* @__PURE__ */ I(q, {
|
|
92
|
+
workspaceId: e,
|
|
93
|
+
presetId: d.id,
|
|
94
|
+
baseRevision: d.revision,
|
|
95
|
+
onCancel: () => {
|
|
96
|
+
f(null);
|
|
97
|
+
},
|
|
98
|
+
onDeleted: () => {
|
|
99
|
+
f(null), o.success(a("report_delete_toast"));
|
|
100
|
+
}
|
|
101
|
+
}) : null })
|
|
102
|
+
})
|
|
103
|
+
] });
|
|
104
|
+
}
|
|
105
|
+
function q({ workspaceId: e, presetId: t, baseRevision: n, onCancel: i, onDeleted: m }) {
|
|
106
|
+
let h = r(), g = v(e).remove, _ = a({
|
|
107
|
+
defaultValues: {},
|
|
108
|
+
validators: c({
|
|
109
|
+
submit: async () => (await g.mutateAsync({
|
|
110
|
+
id: t,
|
|
111
|
+
baseRevision: n
|
|
112
|
+
}), null),
|
|
113
|
+
mapError: (e, t) => s(e, t, { message: P })
|
|
114
|
+
}),
|
|
115
|
+
onSubmitInvalid: o,
|
|
116
|
+
onSubmit: () => {
|
|
117
|
+
m();
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
return /* @__PURE__ */ I(_.AppForm, { children: /* @__PURE__ */ L(_.FormRoot, {
|
|
121
|
+
layout: "dialog",
|
|
122
|
+
children: [/* @__PURE__ */ L(p, { children: [/* @__PURE__ */ I(f, { children: h("report_delete_confirm_title") }), /* @__PURE__ */ I(d, { children: h("report_delete_confirm_description") })] }), /* @__PURE__ */ L(u, { children: [/* @__PURE__ */ I(l, {
|
|
123
|
+
type: "button",
|
|
124
|
+
variant: "outline",
|
|
125
|
+
onClick: () => {
|
|
126
|
+
i();
|
|
127
|
+
},
|
|
128
|
+
children: h("action_cancel")
|
|
129
|
+
}), /* @__PURE__ */ I(_.SubmitButton, {
|
|
130
|
+
label: h("report_delete_confirm_submit"),
|
|
131
|
+
pendingLabel: h("action_deleting"),
|
|
132
|
+
variant: "destructive"
|
|
133
|
+
})] })]
|
|
134
|
+
}) });
|
|
135
|
+
}
|
|
136
|
+
//#endregion
|
|
137
|
+
export { G as n, K as t };
|