@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,120 @@
|
|
|
1
|
+
import { t as e } from "./utils-CX-Pz5p6.js";
|
|
2
|
+
import { q as t } from "./spinner-C-HPNxOc.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
import { cva as r } from "class-variance-authority";
|
|
6
|
+
import { mergeProps as i } from "@base-ui/react/merge-props";
|
|
7
|
+
import { useRender as a } from "@base-ui/react/use-render";
|
|
8
|
+
//#region src/ui/item.tsx
|
|
9
|
+
function o({ className: t, ...r }) {
|
|
10
|
+
return /* @__PURE__ */ n("div", {
|
|
11
|
+
"data-slot": "item-group",
|
|
12
|
+
className: e("\n group/item-group flex w-full flex-col gap-4\n has-data-[size=sm]:gap-2.5\n has-data-[size=xs]:gap-2\n ", t),
|
|
13
|
+
...r
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function s({ className: r, ...i }) {
|
|
17
|
+
return /* @__PURE__ */ n(t, {
|
|
18
|
+
"data-slot": "item-separator",
|
|
19
|
+
orientation: "horizontal",
|
|
20
|
+
className: e("my-2", r),
|
|
21
|
+
...i
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
var c = r("\n group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors\n duration-100 outline-none\n focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50\n [a]:transition-colors\n [a]:hover:bg-muted\n ", {
|
|
25
|
+
variants: {
|
|
26
|
+
variant: {
|
|
27
|
+
default: "border-transparent",
|
|
28
|
+
outline: "border-border",
|
|
29
|
+
muted: "border-transparent bg-muted/50"
|
|
30
|
+
},
|
|
31
|
+
size: {
|
|
32
|
+
default: "gap-2.5 px-3 py-2.5",
|
|
33
|
+
sm: "gap-2.5 px-3 py-2.5",
|
|
34
|
+
xs: "\n gap-2 px-2.5 py-2\n in-data-[slot=dropdown-menu-content]:p-0\n "
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
defaultVariants: {
|
|
38
|
+
variant: "default",
|
|
39
|
+
size: "default"
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
function l({ className: t, variant: n = "default", size: r = "default", render: o, ...s }) {
|
|
43
|
+
return a({
|
|
44
|
+
defaultTagName: "div",
|
|
45
|
+
props: i({ className: e(c({
|
|
46
|
+
variant: n,
|
|
47
|
+
size: r,
|
|
48
|
+
className: t
|
|
49
|
+
})) }, s),
|
|
50
|
+
render: o,
|
|
51
|
+
state: {
|
|
52
|
+
slot: "item",
|
|
53
|
+
variant: n,
|
|
54
|
+
size: r
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
var u = r("\n flex shrink-0 items-center justify-center gap-2\n group-has-data-[slot=item-description]/item:translate-y-0.5\n group-has-data-[slot=item-description]/item:self-start\n [&_svg]:pointer-events-none\n ", {
|
|
59
|
+
variants: { variant: {
|
|
60
|
+
default: "bg-transparent",
|
|
61
|
+
icon: "[&_svg:not([class*='size-'])]:size-4",
|
|
62
|
+
image: "\n size-10 overflow-hidden rounded-sm\n group-data-[size=sm]/item:size-8\n group-data-[size=xs]/item:size-6\n [&_img]:size-full [&_img]:object-cover\n "
|
|
63
|
+
} },
|
|
64
|
+
defaultVariants: { variant: "default" }
|
|
65
|
+
});
|
|
66
|
+
function d({ className: t, variant: r = "default", ...i }) {
|
|
67
|
+
return /* @__PURE__ */ n("div", {
|
|
68
|
+
"data-slot": "item-media",
|
|
69
|
+
"data-variant": r,
|
|
70
|
+
className: e(u({
|
|
71
|
+
variant: r,
|
|
72
|
+
className: t
|
|
73
|
+
})),
|
|
74
|
+
...i
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
function f({ className: t, ...r }) {
|
|
78
|
+
return /* @__PURE__ */ n("div", {
|
|
79
|
+
"data-slot": "item-content",
|
|
80
|
+
className: e("\n flex flex-1 flex-col gap-1\n group-data-[size=xs]/item:gap-0\n [&+[data-slot=item-content]]:flex-none\n ", t),
|
|
81
|
+
...r
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function p({ className: t, ...r }) {
|
|
85
|
+
return /* @__PURE__ */ n("div", {
|
|
86
|
+
"data-slot": "item-title",
|
|
87
|
+
className: e("line-clamp-1 flex w-fit items-center gap-2 text-sm/snug font-medium underline-offset-4", t),
|
|
88
|
+
...r
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function m({ className: t, ...r }) {
|
|
92
|
+
return /* @__PURE__ */ n("p", {
|
|
93
|
+
"data-slot": "item-description",
|
|
94
|
+
className: e("\n line-clamp-2 text-left text-sm/normal font-normal text-muted-foreground\n group-data-[size=xs]/item:text-xs\n [&>a]:underline [&>a]:underline-offset-4\n [&>a:hover]:text-primary\n ", t),
|
|
95
|
+
...r
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
function h({ className: t, ...r }) {
|
|
99
|
+
return /* @__PURE__ */ n("div", {
|
|
100
|
+
"data-slot": "item-actions",
|
|
101
|
+
className: e("flex items-center gap-2", t),
|
|
102
|
+
...r
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
function g({ className: t, ...r }) {
|
|
106
|
+
return /* @__PURE__ */ n("div", {
|
|
107
|
+
"data-slot": "item-header",
|
|
108
|
+
className: e("flex basis-full items-center justify-between gap-2", t),
|
|
109
|
+
...r
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
function _({ className: t, ...r }) {
|
|
113
|
+
return /* @__PURE__ */ n("div", {
|
|
114
|
+
"data-slot": "item-footer",
|
|
115
|
+
className: e("flex basis-full items-center justify-between gap-2", t),
|
|
116
|
+
...r
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
//#endregion
|
|
120
|
+
export { _ as a, d as c, m as i, s as l, h as n, o, f as r, g as s, l as t, p as u };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/workspace/maps/lat-lng.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (e == null) return null;
|
|
4
|
+
let t = typeof e.lat == "function" ? e.lat() : e.lat, n = typeof e.lng == "function" ? e.lng() : e.lng;
|
|
5
|
+
return !Number.isFinite(t) || !Number.isFinite(n) ? null : {
|
|
6
|
+
lat: t,
|
|
7
|
+
lng: n
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as t };
|
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { r as e } from "./trpc-CvJUuUXp.js";
|
|
2
|
+
import { h as t, m as n, n as r } from "./i18n-BgzakKoC.js";
|
|
3
|
+
import { a as i, d as a, t as o } from "./mutation-form-validators-BNz5bsv1.js";
|
|
4
|
+
import { l as s } from "./spinner-C-HPNxOc.js";
|
|
5
|
+
import { t as c } from "./button-6SxPBYMz.js";
|
|
6
|
+
import { a as l, i as u, l as d, o as f, r as p, t as m } from "./dialog-BIhQXcZC.js";
|
|
7
|
+
import { n as h } from "./skeleton-6yk8Tdh5.js";
|
|
8
|
+
import { n as g } from "./api-error-9rQmUN5L.js";
|
|
9
|
+
import { t as _ } from "./page-header-RB2YFWlE.js";
|
|
10
|
+
import { i as v, r as y, t as b } from "./tabs-CSIucYFP.js";
|
|
11
|
+
import { r as x, t as S } from "./query-gate-DVhNIkge.js";
|
|
12
|
+
import { t as C } from "./breadcrumbs-0cjsV2cq.js";
|
|
13
|
+
import { a as w, c as T, d as E, i as D, l as O, n as k, o as A, r as j, s as M, t as ee, u as te } from "./catalog-list-DjZojYLJ.js";
|
|
14
|
+
import { t as ne } from "./run-text-DvaO8LDF.js";
|
|
15
|
+
import { i as re, n as ie, r as ae, t as oe } from "./starter-fields-BRLX0z-v.js";
|
|
16
|
+
import { r as N } from "./starter-handoff-BA3ucMKL.js";
|
|
17
|
+
import { n as P, t as F } from "./entity-controls-D1K4Ot3O.js";
|
|
18
|
+
import { useRef as I, useState as L } from "react";
|
|
19
|
+
import { Fragment as R, jsx as z, jsxs as B } from "react/jsx-runtime";
|
|
20
|
+
import { LayoutTemplateIcon as V, PlusIcon as H, Trash2Icon as U, WorkflowIcon as W } from "lucide-react";
|
|
21
|
+
import { formatAppDateTime as G, resolveLocalized as K } from "@overvis/hmi-shared";
|
|
22
|
+
import { useNavigate as q } from "@tanstack/react-router";
|
|
23
|
+
//#region src/workspace/setup/automations/starter-dialog.tsx
|
|
24
|
+
function J({ workspaceId: e, kind: t, onClose: n }) {
|
|
25
|
+
let [r, i] = L(null), [a, o] = L(!1);
|
|
26
|
+
return /* @__PURE__ */ z(m, {
|
|
27
|
+
open: !0,
|
|
28
|
+
onOpenChange: (e) => {
|
|
29
|
+
!e && !a && n();
|
|
30
|
+
},
|
|
31
|
+
children: /* @__PURE__ */ z(p, {
|
|
32
|
+
className: "sm:max-w-xl",
|
|
33
|
+
showCloseButton: !a,
|
|
34
|
+
children: r == null ? /* @__PURE__ */ z(se, {
|
|
35
|
+
workspaceId: e,
|
|
36
|
+
kind: t,
|
|
37
|
+
onPick: i
|
|
38
|
+
}) : /* @__PURE__ */ z(ce, {
|
|
39
|
+
workspaceId: e,
|
|
40
|
+
starterId: r,
|
|
41
|
+
onBack: () => {
|
|
42
|
+
i(null);
|
|
43
|
+
},
|
|
44
|
+
onBuilt: n,
|
|
45
|
+
onBuilding: o
|
|
46
|
+
})
|
|
47
|
+
})
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function se({ workspaceId: t, kind: r, onPick: i }) {
|
|
51
|
+
let a = n(), o = e.templates.automation.list.useQuery({
|
|
52
|
+
workspaceId: t,
|
|
53
|
+
kind: r
|
|
54
|
+
});
|
|
55
|
+
return /* @__PURE__ */ B(R, { children: [/* @__PURE__ */ B(f, { children: [/* @__PURE__ */ z(d, { children: a("automation_starter_title") }), /* @__PURE__ */ z(u, { children: a("automation_starter_pick_description") })] }), /* @__PURE__ */ z(x, {
|
|
56
|
+
query: o,
|
|
57
|
+
loading: /* @__PURE__ */ B("div", {
|
|
58
|
+
className: "flex flex-col gap-2",
|
|
59
|
+
children: [/* @__PURE__ */ z(h, { className: "h-14 w-full" }), /* @__PURE__ */ z(h, { className: "h-14 w-full" })]
|
|
60
|
+
}),
|
|
61
|
+
error: (e) => /* @__PURE__ */ z(S, { message: g(e) }),
|
|
62
|
+
isEmpty: (e) => e.starters.length === 0,
|
|
63
|
+
empty: /* @__PURE__ */ z("p", {
|
|
64
|
+
className: "text-muted-foreground",
|
|
65
|
+
children: a("automation_starter_empty")
|
|
66
|
+
}),
|
|
67
|
+
children: ({ starters: e }) => /* @__PURE__ */ z(oe, {
|
|
68
|
+
starters: e,
|
|
69
|
+
onPick: i
|
|
70
|
+
})
|
|
71
|
+
})] });
|
|
72
|
+
}
|
|
73
|
+
function ce({ workspaceId: r, starterId: i, onBack: a, onBuilt: o, onBuilding: s }) {
|
|
74
|
+
let c = n(), l = t(), u = e.templates.automation.get.useQuery({
|
|
75
|
+
workspaceId: r,
|
|
76
|
+
starterId: i
|
|
77
|
+
}), d = e.automation.validationContext.useQuery({ workspaceId: r }), f = new Set((u.data?.placeholders ?? []).flatMap((e) => e.kind === "list" ? e.fields.map((e) => e.kind) : [e.kind])), p = e.endpoint.list.useQuery({ workspaceId: r }, { enabled: f.has("endpoint") }), m = e.alarmRule.list.useQuery({ workspaceId: r }, { enabled: f.has("alarmRule") }), _ = e.automation.members.useQuery({ workspaceId: r }, { enabled: f.has("recipients") }), v = [
|
|
78
|
+
u,
|
|
79
|
+
d,
|
|
80
|
+
...f.has("endpoint") ? [p] : [],
|
|
81
|
+
...f.has("alarmRule") ? [m] : [],
|
|
82
|
+
...f.has("recipients") ? [_] : []
|
|
83
|
+
], y = (e) => e.map((e) => ({
|
|
84
|
+
id: e.id,
|
|
85
|
+
name: K(e.name, l)
|
|
86
|
+
})), b = u.data, C = d.data, w = new Map((C?.parameters ?? []).map((e) => [e.id, e])), T = b != null && C != null && v.every((e) => e.data != null);
|
|
87
|
+
return /* @__PURE__ */ z(x, {
|
|
88
|
+
query: {
|
|
89
|
+
isLoading: v.some((e) => e.isLoading),
|
|
90
|
+
isError: !T && v.some((e) => e.isError),
|
|
91
|
+
error: v.find((e) => e.isError)?.error,
|
|
92
|
+
data: T ? {
|
|
93
|
+
starter: b,
|
|
94
|
+
data: {
|
|
95
|
+
parameterFits: (e, t) => {
|
|
96
|
+
let n = w.get(t), r = e.valueTypes;
|
|
97
|
+
return n !== void 0 && (r === void 0 || r.includes(n.type)) && (e.writable !== !0 || n.writable);
|
|
98
|
+
},
|
|
99
|
+
endpoints: y(p.data?.endpoints ?? []),
|
|
100
|
+
alarmRules: y(m.data?.items ?? []),
|
|
101
|
+
branches: [],
|
|
102
|
+
members: _.data?.members ?? []
|
|
103
|
+
}
|
|
104
|
+
} : void 0
|
|
105
|
+
},
|
|
106
|
+
loading: /* @__PURE__ */ B("div", {
|
|
107
|
+
className: "flex flex-col gap-4",
|
|
108
|
+
children: [/* @__PURE__ */ z(h, { className: "h-6 w-48" }), /* @__PURE__ */ z(h, { className: "h-40 w-full" })]
|
|
109
|
+
}),
|
|
110
|
+
error: (e) => /* @__PURE__ */ z(S, { message: e == null ? c("error_request_failed") : g(e) }),
|
|
111
|
+
children: (e) => /* @__PURE__ */ z(le, {
|
|
112
|
+
workspaceId: r,
|
|
113
|
+
starter: e.starter,
|
|
114
|
+
data: e.data,
|
|
115
|
+
onBack: a,
|
|
116
|
+
onBuilt: o,
|
|
117
|
+
onBuilding: s
|
|
118
|
+
})
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
function le({ workspaceId: r, starter: s, data: p, onBack: m, onBuilt: h, onBuilding: g }) {
|
|
122
|
+
let _ = n(), v = t(), y = q(), b = e.useUtils(), [x, S] = L([]), C = I(1e3), w = () => `row-${String(C.current++)}`, T = i({
|
|
123
|
+
defaultValues: { values: ae(s.placeholders) },
|
|
124
|
+
validators: o({ submit: async (e) => {
|
|
125
|
+
let t = re(s.placeholders, e.values), n;
|
|
126
|
+
g(!0);
|
|
127
|
+
try {
|
|
128
|
+
n = t.ok ? await b.client.templates.automation.instantiate.query({
|
|
129
|
+
workspaceId: r,
|
|
130
|
+
starterId: s.id,
|
|
131
|
+
values: t.values
|
|
132
|
+
}) : t;
|
|
133
|
+
} finally {
|
|
134
|
+
g(!1);
|
|
135
|
+
}
|
|
136
|
+
if (!n.ok) return S(n.problems), {
|
|
137
|
+
form: () => _("starter_fix_problems"),
|
|
138
|
+
fields: {}
|
|
139
|
+
};
|
|
140
|
+
S([]);
|
|
141
|
+
let i = n.kind === "automation" ? {
|
|
142
|
+
kind: "automation",
|
|
143
|
+
document: n.document
|
|
144
|
+
} : {
|
|
145
|
+
kind: "alarmRule",
|
|
146
|
+
document: n.document
|
|
147
|
+
};
|
|
148
|
+
return h(), y({
|
|
149
|
+
to: i.kind === "automation" ? "/workspace/$workspaceId/setup/automations/new" : "/workspace/$workspaceId/setup/automations/alarm-rules/new",
|
|
150
|
+
params: { workspaceId: r },
|
|
151
|
+
state: N(i)
|
|
152
|
+
}), null;
|
|
153
|
+
} }),
|
|
154
|
+
onSubmitInvalid: a
|
|
155
|
+
}), E = (e) => {
|
|
156
|
+
S((t) => t.filter((t) => t.path !== e && !t.path.startsWith(`${e}/`)));
|
|
157
|
+
};
|
|
158
|
+
return /* @__PURE__ */ z(T.AppForm, { children: /* @__PURE__ */ B(T.FormRoot, {
|
|
159
|
+
layout: "dialog",
|
|
160
|
+
children: [
|
|
161
|
+
/* @__PURE__ */ B(f, { children: [/* @__PURE__ */ z(d, { children: K(s.name, v) }), /* @__PURE__ */ z(u, { children: K(s.description, v) })] }),
|
|
162
|
+
/* @__PURE__ */ z(T.AppField, {
|
|
163
|
+
name: "values",
|
|
164
|
+
children: (e) => /* @__PURE__ */ z(ie, {
|
|
165
|
+
workspaceId: r,
|
|
166
|
+
placeholders: s.placeholders,
|
|
167
|
+
values: e.state.value,
|
|
168
|
+
onChange: (t, n) => {
|
|
169
|
+
E(n), e.handleChange(t);
|
|
170
|
+
},
|
|
171
|
+
problems: x,
|
|
172
|
+
data: p,
|
|
173
|
+
newKey: w
|
|
174
|
+
})
|
|
175
|
+
}),
|
|
176
|
+
/* @__PURE__ */ B(l, { children: [/* @__PURE__ */ z(T.Subscribe, {
|
|
177
|
+
selector: (e) => e.isSubmitting,
|
|
178
|
+
children: (e) => /* @__PURE__ */ z(c, {
|
|
179
|
+
type: "button",
|
|
180
|
+
variant: "outline",
|
|
181
|
+
disabled: e,
|
|
182
|
+
onClick: m,
|
|
183
|
+
children: _("starter_back")
|
|
184
|
+
})
|
|
185
|
+
}), /* @__PURE__ */ z(T.SubmitButton, {
|
|
186
|
+
label: _("starter_continue"),
|
|
187
|
+
pendingLabel: _("starter_continue_pending")
|
|
188
|
+
})] })
|
|
189
|
+
]
|
|
190
|
+
}) });
|
|
191
|
+
}
|
|
192
|
+
//#endregion
|
|
193
|
+
//#region src/workspace/setup/automations/list-page.tsx
|
|
194
|
+
function Y({ workspaceId: e, active: t }) {
|
|
195
|
+
let r = n(), i = q();
|
|
196
|
+
return /* @__PURE__ */ z(b, {
|
|
197
|
+
value: t,
|
|
198
|
+
onValueChange: (t) => {
|
|
199
|
+
t === "automations" ? i({
|
|
200
|
+
to: "/workspace/$workspaceId/setup/automations",
|
|
201
|
+
params: { workspaceId: e }
|
|
202
|
+
}) : t === "alarm-rules" && i({
|
|
203
|
+
to: "/workspace/$workspaceId/setup/automations/alarm-rules",
|
|
204
|
+
params: { workspaceId: e }
|
|
205
|
+
});
|
|
206
|
+
},
|
|
207
|
+
children: /* @__PURE__ */ B(y, {
|
|
208
|
+
variant: "line",
|
|
209
|
+
children: [/* @__PURE__ */ z(v, {
|
|
210
|
+
value: "automations",
|
|
211
|
+
children: r("automation_tab_automations")
|
|
212
|
+
}), /* @__PURE__ */ z(v, {
|
|
213
|
+
value: "alarm-rules",
|
|
214
|
+
children: r("automation_tab_alarm_rules")
|
|
215
|
+
})]
|
|
216
|
+
})
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
function X({ errors: e, warnings: t }) {
|
|
220
|
+
let r = n();
|
|
221
|
+
return /* @__PURE__ */ B(R, { children: [e > 0 ? /* @__PURE__ */ z(s, {
|
|
222
|
+
variant: "destructive",
|
|
223
|
+
children: r("automation_error_count", { count: String(e) })
|
|
224
|
+
}) : null, t > 0 ? /* @__PURE__ */ z(s, {
|
|
225
|
+
variant: "warning",
|
|
226
|
+
children: r("automation_warning_count", { count: String(t) })
|
|
227
|
+
}) : null] });
|
|
228
|
+
}
|
|
229
|
+
function Z(n) {
|
|
230
|
+
let r = t(), i = e.dashboard.list.useQuery({ workspaceId: n });
|
|
231
|
+
return (e) => {
|
|
232
|
+
if (e == null) return null;
|
|
233
|
+
let t = i.data?.dashboards.find((t) => t.id === e);
|
|
234
|
+
return t == null ? null : K(t.name, r);
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
function ue({ run: e }) {
|
|
238
|
+
let t = n();
|
|
239
|
+
if (e === void 0) return /* @__PURE__ */ z(A, { children: t("automation_last_run_none") });
|
|
240
|
+
let r = G(e.startedAt);
|
|
241
|
+
return e.status === "ok" ? /* @__PURE__ */ z(A, { children: t("automation_last_run_ok", { at: r }) }) : /* @__PURE__ */ z(A, {
|
|
242
|
+
className: "text-destructive",
|
|
243
|
+
children: t("automation_last_run_failed", {
|
|
244
|
+
at: r,
|
|
245
|
+
error: ne(e.errorCode ?? "", e.error)
|
|
246
|
+
})
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
function Q({ workspaceId: i }) {
|
|
250
|
+
let a = n(), o = r(), s = t(), l = q(), u = e.automation.list.useQuery({ workspaceId: i }), d = e.automation.latestRuns.useQuery({ workspaceId: i }), f = Z(i), [p, m] = L(null), [v, y] = L(!1), b = new Map(d.data?.items.map((e) => [e.automationId, e.run]));
|
|
251
|
+
return /* @__PURE__ */ B(O, { children: [
|
|
252
|
+
/* @__PURE__ */ z(_, {
|
|
253
|
+
icon: /* @__PURE__ */ z(W, {}),
|
|
254
|
+
breadcrumbs: /* @__PURE__ */ z(C, { workspaceId: i }),
|
|
255
|
+
title: a("setup_automations_title"),
|
|
256
|
+
description: a("setup_automations_description"),
|
|
257
|
+
actions: /* @__PURE__ */ B("div", {
|
|
258
|
+
className: "flex items-center gap-2",
|
|
259
|
+
children: [/* @__PURE__ */ B(c, {
|
|
260
|
+
type: "button",
|
|
261
|
+
size: "sm",
|
|
262
|
+
variant: "outline",
|
|
263
|
+
onClick: () => {
|
|
264
|
+
y(!0);
|
|
265
|
+
},
|
|
266
|
+
children: [/* @__PURE__ */ z(V, { "data-icon": "inline-start" }), a("automation_starter_action")]
|
|
267
|
+
}), /* @__PURE__ */ B(c, {
|
|
268
|
+
type: "button",
|
|
269
|
+
size: "sm",
|
|
270
|
+
onClick: () => {
|
|
271
|
+
l({
|
|
272
|
+
to: "/workspace/$workspaceId/setup/automations/new",
|
|
273
|
+
params: { workspaceId: i }
|
|
274
|
+
});
|
|
275
|
+
},
|
|
276
|
+
children: [/* @__PURE__ */ z(H, { "data-icon": "inline-start" }), a("automation_create_action")]
|
|
277
|
+
})]
|
|
278
|
+
})
|
|
279
|
+
}),
|
|
280
|
+
/* @__PURE__ */ B(k, { children: [/* @__PURE__ */ z(Y, {
|
|
281
|
+
workspaceId: i,
|
|
282
|
+
active: "automations"
|
|
283
|
+
}), /* @__PURE__ */ z(x, {
|
|
284
|
+
query: u,
|
|
285
|
+
loading: /* @__PURE__ */ B("div", {
|
|
286
|
+
className: "space-y-2",
|
|
287
|
+
children: [/* @__PURE__ */ z(h, { className: "h-10 w-full" }), /* @__PURE__ */ z(h, { className: "h-10 w-4/5" })]
|
|
288
|
+
}),
|
|
289
|
+
error: (e) => /* @__PURE__ */ z(S, { message: g(e) }),
|
|
290
|
+
isEmpty: (e) => e.items.length === 0,
|
|
291
|
+
empty: /* @__PURE__ */ z(j, { children: a("setup_automations_empty") }),
|
|
292
|
+
children: ({ items: e }) => /* @__PURE__ */ z(w, { children: e.map((e) => {
|
|
293
|
+
let t = f(e.dashboardId);
|
|
294
|
+
return /* @__PURE__ */ B(te, { children: [/* @__PURE__ */ B(T, {
|
|
295
|
+
to: "/workspace/$workspaceId/setup/automations/$automationId",
|
|
296
|
+
params: {
|
|
297
|
+
workspaceId: i,
|
|
298
|
+
automationId: e.id
|
|
299
|
+
},
|
|
300
|
+
className: "sm:flex-col sm:items-start",
|
|
301
|
+
children: [
|
|
302
|
+
/* @__PURE__ */ B("div", {
|
|
303
|
+
className: "flex min-w-0 flex-wrap items-center gap-2",
|
|
304
|
+
children: [/* @__PURE__ */ z(M, { children: K(e.name, s) }), /* @__PURE__ */ z(X, {
|
|
305
|
+
errors: e.errorCount,
|
|
306
|
+
warnings: e.warningCount
|
|
307
|
+
})]
|
|
308
|
+
}),
|
|
309
|
+
t == null ? null : /* @__PURE__ */ z(A, { children: a("automation_owned_by", { owner: t }) }),
|
|
310
|
+
d.isSuccess ? /* @__PURE__ */ z(ue, { run: b.get(e.id) }) : null
|
|
311
|
+
]
|
|
312
|
+
}), /* @__PURE__ */ B(ee, { children: [/* @__PURE__ */ z(P, {
|
|
313
|
+
workspaceId: i,
|
|
314
|
+
entity: e,
|
|
315
|
+
kind: "automation"
|
|
316
|
+
}), /* @__PURE__ */ z(D, { children: /* @__PURE__ */ z(E, {
|
|
317
|
+
tone: "destructive",
|
|
318
|
+
"aria-label": a("automation_delete_action"),
|
|
319
|
+
onClick: () => {
|
|
320
|
+
m(e);
|
|
321
|
+
},
|
|
322
|
+
children: /* @__PURE__ */ z(U, {})
|
|
323
|
+
}) })] })] }, e.id);
|
|
324
|
+
}) })
|
|
325
|
+
})] }),
|
|
326
|
+
/* @__PURE__ */ z($, {
|
|
327
|
+
workspaceId: i,
|
|
328
|
+
kind: "automation",
|
|
329
|
+
entity: p,
|
|
330
|
+
onClose: () => {
|
|
331
|
+
m(null);
|
|
332
|
+
},
|
|
333
|
+
onDeleted: () => {
|
|
334
|
+
m(null), o.success(a("automation_delete_toast"));
|
|
335
|
+
}
|
|
336
|
+
}),
|
|
337
|
+
v ? /* @__PURE__ */ z(J, {
|
|
338
|
+
workspaceId: i,
|
|
339
|
+
kind: "automation",
|
|
340
|
+
onClose: () => {
|
|
341
|
+
y(!1);
|
|
342
|
+
}
|
|
343
|
+
}) : null
|
|
344
|
+
] });
|
|
345
|
+
}
|
|
346
|
+
function $({ workspaceId: e, kind: t, entity: n, onClose: r, onDeleted: i }) {
|
|
347
|
+
return /* @__PURE__ */ z(m, {
|
|
348
|
+
open: n != null,
|
|
349
|
+
onOpenChange: (e) => {
|
|
350
|
+
e || r();
|
|
351
|
+
},
|
|
352
|
+
children: /* @__PURE__ */ z(p, { children: n == null ? null : /* @__PURE__ */ z(F, {
|
|
353
|
+
workspaceId: e,
|
|
354
|
+
kind: t,
|
|
355
|
+
id: n.id,
|
|
356
|
+
baseRevision: n.revision,
|
|
357
|
+
onCancel: r,
|
|
358
|
+
onDeleted: i
|
|
359
|
+
}) })
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
//#endregion
|
|
363
|
+
export { Y as AutomationSectionTabs, $ as DeleteDialog, X as ProblemBadges, Q as SetupAutomationsPage, J as t, Z as useDashboardNames };
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { t as e } from "./utils-CX-Pz5p6.js";
|
|
2
|
+
import { useCallback as t, useEffect as n, useEffectEvent as r, useState as i } from "react";
|
|
3
|
+
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
4
|
+
import { APIProvider as c, AdvancedMarker as l, InfoWindow as u, Map as d, useMap as f } from "@vis.gl/react-google-maps";
|
|
5
|
+
import { MarkerClusterer as p } from "@googlemaps/markerclusterer";
|
|
6
|
+
//#region src/workspace/maps/location-map-renderer.tsx
|
|
7
|
+
var m = {
|
|
8
|
+
normal: 0,
|
|
9
|
+
warning: 1,
|
|
10
|
+
critical: 2
|
|
11
|
+
}, h = {
|
|
12
|
+
normal: "bg-primary text-primary-foreground",
|
|
13
|
+
warning: "bg-amber-500 text-amber-950",
|
|
14
|
+
critical: "bg-destructive text-white"
|
|
15
|
+
};
|
|
16
|
+
function g({ locations: e, apiKey: t, mapId: n, theme: r, clusterLabel: i, onError: a }) {
|
|
17
|
+
return /* @__PURE__ */ o("div", {
|
|
18
|
+
className: "\n h-96 overflow-hidden rounded-xl border\n lg:h-128\n [&_.gm-style-iw-c]:bg-background!\n [&_.gm-style-iw-tc::after]:bg-background!\n dark:[&_.gm-ui-hover-effect>span]:bg-foreground!\n ",
|
|
19
|
+
children: /* @__PURE__ */ o(c, {
|
|
20
|
+
apiKey: t,
|
|
21
|
+
libraries: ["marker"],
|
|
22
|
+
onError: a,
|
|
23
|
+
children: /* @__PURE__ */ o(d, {
|
|
24
|
+
mapId: n,
|
|
25
|
+
className: "size-full",
|
|
26
|
+
defaultCenter: e[0]?.position ?? {
|
|
27
|
+
lat: 20,
|
|
28
|
+
lng: 0
|
|
29
|
+
},
|
|
30
|
+
defaultZoom: 10,
|
|
31
|
+
colorScheme: r === "dark" ? "DARK" : "LIGHT",
|
|
32
|
+
gestureHandling: "cooperative",
|
|
33
|
+
streetViewControl: !1,
|
|
34
|
+
mapTypeControl: !1,
|
|
35
|
+
children: /* @__PURE__ */ o(_, {
|
|
36
|
+
locations: e,
|
|
37
|
+
clusterLabel: i
|
|
38
|
+
})
|
|
39
|
+
})
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function _({ locations: c, clusterLabel: l }) {
|
|
44
|
+
let d = f(), [g, _] = i(/* @__PURE__ */ new Map()), [b, x] = i(null), S = c.find((e) => e.id === b), C = t((e, t) => {
|
|
45
|
+
_((n) => {
|
|
46
|
+
if (n.get(e) === t || !n.has(e) && t == null) return n;
|
|
47
|
+
let r = new Map(n);
|
|
48
|
+
return t == null ? r.delete(e) : r.set(e, t), r;
|
|
49
|
+
});
|
|
50
|
+
}, []), w = JSON.stringify(c.map(({ id: e, position: t }) => [
|
|
51
|
+
e,
|
|
52
|
+
t.lat,
|
|
53
|
+
t.lng
|
|
54
|
+
])), [T, E] = i(() => ({
|
|
55
|
+
key: w,
|
|
56
|
+
positions: c.map((e) => e.position)
|
|
57
|
+
}));
|
|
58
|
+
T.key !== w && E({
|
|
59
|
+
key: w,
|
|
60
|
+
positions: c.map((e) => e.position)
|
|
61
|
+
}), n(() => {
|
|
62
|
+
if (d == null) return;
|
|
63
|
+
let e = new google.maps.LatLngBounds();
|
|
64
|
+
for (let t of T.positions) e.extend(t);
|
|
65
|
+
if (!e.isEmpty()) {
|
|
66
|
+
d.fitBounds(e, 60);
|
|
67
|
+
let t = google.maps.event.addListenerOnce(d, "idle", () => {
|
|
68
|
+
(d.getZoom() ?? 0) > 15 && d.setZoom(15);
|
|
69
|
+
});
|
|
70
|
+
return () => {
|
|
71
|
+
google.maps.event.removeListener(t);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}, [d, T]);
|
|
75
|
+
let D = JSON.stringify(c.map(({ id: e, tone: t }) => [e, t ?? "normal"])), [O, k] = i(() => ({
|
|
76
|
+
key: D,
|
|
77
|
+
byId: v(c)
|
|
78
|
+
}));
|
|
79
|
+
O.key !== D && k({
|
|
80
|
+
key: D,
|
|
81
|
+
byId: v(c)
|
|
82
|
+
});
|
|
83
|
+
let A = r((e, t) => l?.(e, t) ?? String(e));
|
|
84
|
+
return n(() => {
|
|
85
|
+
if (d == null) return;
|
|
86
|
+
let t = /* @__PURE__ */ new Map();
|
|
87
|
+
for (let [e, n] of g) t.set(n, O.byId.get(e) ?? "normal");
|
|
88
|
+
let n = ({ count: n, markers: r, position: i }) => {
|
|
89
|
+
let a = "normal";
|
|
90
|
+
for (let e of r) {
|
|
91
|
+
let n = t.get(e) ?? "normal";
|
|
92
|
+
m[n] > m[a] && (a = n);
|
|
93
|
+
}
|
|
94
|
+
let o = A(n, a), s = document.createElement("div");
|
|
95
|
+
return s.className = e("\n flex size-10 items-center justify-center rounded-full border-2 border-background text-sm\n font-semibold shadow-md\n ", h[a]), s.textContent = String(n), s.setAttribute("aria-hidden", "true"), new google.maps.marker.AdvancedMarkerElement({
|
|
96
|
+
position: i,
|
|
97
|
+
content: s,
|
|
98
|
+
title: o,
|
|
99
|
+
zIndex: 1e3 + m[a] * 1e4 + n
|
|
100
|
+
});
|
|
101
|
+
}, r = new p({
|
|
102
|
+
map: d,
|
|
103
|
+
markers: [...g.values()],
|
|
104
|
+
renderer: { render: n }
|
|
105
|
+
});
|
|
106
|
+
return () => {
|
|
107
|
+
r.setMap(null);
|
|
108
|
+
};
|
|
109
|
+
}, [
|
|
110
|
+
d,
|
|
111
|
+
g,
|
|
112
|
+
w,
|
|
113
|
+
O
|
|
114
|
+
]), /* @__PURE__ */ s(a, { children: [c.map((e) => /* @__PURE__ */ o(y, {
|
|
115
|
+
location: e,
|
|
116
|
+
register: C,
|
|
117
|
+
onClick: () => {
|
|
118
|
+
x(e.id);
|
|
119
|
+
}
|
|
120
|
+
}, e.id)), S == null || !g.has(S.id) ? null : /* @__PURE__ */ o(u, {
|
|
121
|
+
anchor: g.get(S.id) ?? null,
|
|
122
|
+
maxWidth: 360,
|
|
123
|
+
headerContent: S.header,
|
|
124
|
+
onCloseClick: () => {
|
|
125
|
+
x(null);
|
|
126
|
+
},
|
|
127
|
+
children: S.content
|
|
128
|
+
})] });
|
|
129
|
+
}
|
|
130
|
+
function v(e) {
|
|
131
|
+
return new Map(e.map(({ id: e, tone: t }) => [e, t ?? "normal"]));
|
|
132
|
+
}
|
|
133
|
+
function y({ location: e, register: n, onClick: r }) {
|
|
134
|
+
return /* @__PURE__ */ o(l, {
|
|
135
|
+
ref: t((t) => {
|
|
136
|
+
n(e.id, t);
|
|
137
|
+
}, [n, e.id]),
|
|
138
|
+
position: e.position,
|
|
139
|
+
title: e.title ?? e.name,
|
|
140
|
+
onClick: r,
|
|
141
|
+
children: e.marker
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
//#endregion
|
|
145
|
+
export { g as default };
|