@overvis/hmi-workspace-ui 0.0.0-stage → 0.1.1
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-sheAq-pb.js +414 -0
- package/dist/alarm-rule-dialog-D_ml7V0v.js +417 -0
- package/dist/alarm-rule-lists-DaA4soF4.js +342 -0
- package/dist/alarm-rules-page-OFjOQ-dm.js +118 -0
- package/dist/alert-dialog-B60PF7S9.js +891 -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-DYCOZS0R.js +103 -0
- package/dist/breadcrumbs-D2u8KZQo.js +20 -0
- package/dist/catalog-list-LXuRix0-.js +75 -0
- package/dist/code-editor-BMSyzAxu.js +142 -0
- package/dist/dashboard-bindings.js +25 -0
- package/dist/dashboards-page-wnmmLpVC.js +1040 -0
- package/dist/de-hkEr2usK.js +4577 -0
- package/dist/diagnostic-text-CsbENUNI.js +116 -0
- package/dist/dialogs-AtIYlNSy.js +722 -0
- package/dist/dialogs-DsHbKgZD.js +7753 -0
- package/dist/display-DSyEwQt8.js +77 -0
- package/dist/editor-language-CTfJBXMs.js +435 -0
- package/dist/editor-page-BWbVGJvU.js +1337 -0
- package/dist/en-UW_k-Bd6.js +4577 -0
- package/dist/entity-controls-BCuRx882.js +71 -0
- package/dist/errors-Cawve9yD.js +25 -0
- package/dist/footer-B9XdpVzq.js +10564 -0
- package/dist/host.js +8991 -0
- package/dist/i18n-Dt6xbSK6.js +388 -0
- package/dist/i18n.js +1 -0
- package/dist/index.js +18922 -0
- package/dist/lat-lng-Bl77AGSO.js +10 -0
- package/dist/list-page-agHupfNb.js +356 -0
- package/dist/location-map-renderer-kxU6cgFl.js +145 -0
- package/dist/location-picker-renderer-B1_-n8lf.js +104 -0
- package/dist/model-tpg_xpFB.js +8 -0
- package/dist/notice-card-CH28rYUt.js +242 -0
- package/dist/page-CZPHJUmz.js +296 -0
- package/dist/page-DpdkOGGb.js +449 -0
- package/dist/page-HCGXXGjy.js +507 -0
- package/dist/panel-BCwBlB_h.js +949 -0
- package/dist/parameter-values.js +202 -0
- package/dist/pl-BokvsP3J.js +4577 -0
- package/dist/presence-code-cT6wxlTg.js +73 -0
- package/dist/query-gate-DqmHsZ07.js +33 -0
- package/dist/quick-report-DEqqwQxR.js +33336 -0
- package/dist/retention-DZ0reGGe.js +60 -0
- package/dist/retention-note-nequESpo.js +40 -0
- package/dist/rolldown-runtime-CGnMp29N.js +10 -0
- package/dist/ru-DZSlsRHq.js +4577 -0
- package/dist/run-text-DneX9rWh.js +112 -0
- package/dist/search-DP9_alSQ.js +262 -0
- package/dist/sections-BU7NKUOQ.js +76 -0
- package/dist/select-Te6Qv1Zu.js +533 -0
- package/dist/spinner-BRcNKwjH.js +511 -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-yM4B49nd.js +583 -0
- package/dist/starter-handoff-BaK8Ss8I.js +18 -0
- package/dist/styles-reference.css +54 -0
- package/dist/styles.css +2 -0
- package/dist/ui.js +2134 -0
- package/dist/uk-CjXPq9Lk.js +4577 -0
- package/dist/wireguard-docs-CC8XKBR7.js +78 -0
- package/package.json +155 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// 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
|
+
export { e as t };
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import { Kn as e, Qn as t, Wn as n, ii as r, zn as i } from "./quick-report-DEqqwQxR.js";
|
|
2
|
+
import { h as a, m as o, n as s } from "./i18n-Dt6xbSK6.js";
|
|
3
|
+
import { B as c, H as l, K as u, R as d, U as f, V as p, jt as m, xt as h } from "./alert-dialog-B60PF7S9.js";
|
|
4
|
+
import { l as g } from "./spinner-BRcNKwjH.js";
|
|
5
|
+
import { a as _, b as v, i as y, n as b } from "./panel-BCwBlB_h.js";
|
|
6
|
+
import { r as x, t as S } from "./query-gate-DqmHsZ07.js";
|
|
7
|
+
import { t as C } from "./breadcrumbs-D2u8KZQo.js";
|
|
8
|
+
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-LXuRix0-.js";
|
|
9
|
+
import { t as ne } from "./run-text-DneX9rWh.js";
|
|
10
|
+
import { i as re, n as ie, r as ae, t as oe } from "./starter-fields-yM4B49nd.js";
|
|
11
|
+
import { r as N } from "./starter-handoff-BaK8Ss8I.js";
|
|
12
|
+
import { n as P, t as F } from "./entity-controls-BCuRx882.js";
|
|
13
|
+
import { useRef as I, useState as L } from "react";
|
|
14
|
+
import { Fragment as R, jsx as z, jsxs as B } from "react/jsx-runtime";
|
|
15
|
+
import { LayoutTemplateIcon as V, PlusIcon as H, Trash2Icon as U, WorkflowIcon as W } from "lucide-react";
|
|
16
|
+
import { formatAppDateTime as G, resolveLocalized as K } from "@overvis/hmi-shared";
|
|
17
|
+
import { useNavigate as q } from "@tanstack/react-router";
|
|
18
|
+
// src/workspace/setup/automations/starter-dialog.tsx
|
|
19
|
+
function J({ workspaceId: e, kind: t, onClose: n }) {
|
|
20
|
+
let [r, i] = L(null), [a, o] = L(!1);
|
|
21
|
+
return /* @__PURE__ */ z(d, {
|
|
22
|
+
open: !0,
|
|
23
|
+
onOpenChange: (e) => {
|
|
24
|
+
!e && !a && n();
|
|
25
|
+
},
|
|
26
|
+
children: /* @__PURE__ */ z(c, {
|
|
27
|
+
className: "sm:max-w-xl",
|
|
28
|
+
showCloseButton: !a,
|
|
29
|
+
children: r == null ? /* @__PURE__ */ z(se, {
|
|
30
|
+
workspaceId: e,
|
|
31
|
+
kind: t,
|
|
32
|
+
onPick: i
|
|
33
|
+
}) : /* @__PURE__ */ z(ce, {
|
|
34
|
+
workspaceId: e,
|
|
35
|
+
starterId: r,
|
|
36
|
+
onBack: () => {
|
|
37
|
+
i(null);
|
|
38
|
+
},
|
|
39
|
+
onBuilt: n,
|
|
40
|
+
onBuilding: o
|
|
41
|
+
})
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function se({ workspaceId: e, kind: t, onPick: i }) {
|
|
46
|
+
let a = o(), s = r.templates.automation.list.useQuery({
|
|
47
|
+
workspaceId: e,
|
|
48
|
+
kind: t
|
|
49
|
+
});
|
|
50
|
+
return /* @__PURE__ */ B(R, { children: [/* @__PURE__ */ B(f, { children: [/* @__PURE__ */ z(u, { children: a("automation_starter_title") }), /* @__PURE__ */ z(p, { children: a("automation_starter_pick_description") })] }), /* @__PURE__ */ z(x, {
|
|
51
|
+
query: s,
|
|
52
|
+
loading: /* @__PURE__ */ B("div", {
|
|
53
|
+
className: "flex flex-col gap-2",
|
|
54
|
+
children: [/* @__PURE__ */ z(h, { className: "h-14 w-full" }), /* @__PURE__ */ z(h, { className: "h-14 w-full" })]
|
|
55
|
+
}),
|
|
56
|
+
error: (e) => /* @__PURE__ */ z(S, { message: n(e) }),
|
|
57
|
+
isEmpty: (e) => e.starters.length === 0,
|
|
58
|
+
empty: /* @__PURE__ */ z("p", {
|
|
59
|
+
className: "text-muted-foreground",
|
|
60
|
+
children: a("automation_starter_empty")
|
|
61
|
+
}),
|
|
62
|
+
children: ({ starters: e }) => /* @__PURE__ */ z(oe, {
|
|
63
|
+
starters: e,
|
|
64
|
+
onPick: i
|
|
65
|
+
})
|
|
66
|
+
})] });
|
|
67
|
+
}
|
|
68
|
+
function ce({ workspaceId: e, starterId: t, onBack: i, onBuilt: s, onBuilding: c }) {
|
|
69
|
+
let l = o(), u = a(), d = r.templates.automation.get.useQuery({
|
|
70
|
+
workspaceId: e,
|
|
71
|
+
starterId: t
|
|
72
|
+
}), f = r.automation.validationContext.useQuery({ workspaceId: e }), p = new Set((d.data?.placeholders ?? []).flatMap((e) => e.kind === "list" ? e.fields.map((e) => e.kind) : [e.kind])), m = r.endpoint.list.useQuery({ workspaceId: e }, { enabled: p.has("endpoint") }), g = r.alarmRule.list.useQuery({ workspaceId: e }, { enabled: p.has("alarmRule") }), _ = r.automation.members.useQuery({ workspaceId: e }, { enabled: p.has("recipients") }), v = [
|
|
73
|
+
d,
|
|
74
|
+
f,
|
|
75
|
+
...p.has("endpoint") ? [m] : [],
|
|
76
|
+
...p.has("alarmRule") ? [g] : [],
|
|
77
|
+
...p.has("recipients") ? [_] : []
|
|
78
|
+
], y = (e) => e.map((e) => ({
|
|
79
|
+
id: e.id,
|
|
80
|
+
name: K(e.name, u)
|
|
81
|
+
})), b = d.data, C = f.data, w = new Map((C?.parameters ?? []).map((e) => [e.id, e])), T = b != null && C != null && v.every((e) => e.data != null);
|
|
82
|
+
return /* @__PURE__ */ z(x, {
|
|
83
|
+
query: {
|
|
84
|
+
isLoading: v.some((e) => e.isLoading),
|
|
85
|
+
isError: !T && v.some((e) => e.isError),
|
|
86
|
+
error: v.find((e) => e.isError)?.error,
|
|
87
|
+
data: T ? {
|
|
88
|
+
starter: b,
|
|
89
|
+
data: {
|
|
90
|
+
parameterFits: (e, t) => {
|
|
91
|
+
let n = w.get(t), r = e.valueTypes;
|
|
92
|
+
return n !== void 0 && (r === void 0 || r.includes(n.type)) && (e.writable !== !0 || n.writable);
|
|
93
|
+
},
|
|
94
|
+
endpoints: y(m.data?.endpoints ?? []),
|
|
95
|
+
alarmRules: y(g.data?.items ?? []),
|
|
96
|
+
branches: [],
|
|
97
|
+
members: _.data?.members ?? []
|
|
98
|
+
}
|
|
99
|
+
} : void 0
|
|
100
|
+
},
|
|
101
|
+
loading: /* @__PURE__ */ B("div", {
|
|
102
|
+
className: "flex flex-col gap-4",
|
|
103
|
+
children: [/* @__PURE__ */ z(h, { className: "h-6 w-48" }), /* @__PURE__ */ z(h, { className: "h-40 w-full" })]
|
|
104
|
+
}),
|
|
105
|
+
error: (e) => /* @__PURE__ */ z(S, { message: e == null ? l("error_request_failed") : n(e) }),
|
|
106
|
+
children: (t) => /* @__PURE__ */ z(le, {
|
|
107
|
+
workspaceId: e,
|
|
108
|
+
starter: t.starter,
|
|
109
|
+
data: t.data,
|
|
110
|
+
onBack: i,
|
|
111
|
+
onBuilt: s,
|
|
112
|
+
onBuilding: c
|
|
113
|
+
})
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
function le({ workspaceId: n, starter: s, data: c, onBack: d, onBuilt: h, onBuilding: g }) {
|
|
117
|
+
let _ = o(), v = a(), y = q(), b = r.useUtils(), [x, S] = L([]), C = I(1e3), w = () => `row-${String(C.current++)}`, T = e({
|
|
118
|
+
defaultValues: { values: ae(s.placeholders) },
|
|
119
|
+
validators: i({ submit: async (e) => {
|
|
120
|
+
let t = re(s.placeholders, e.values), r;
|
|
121
|
+
g(!0);
|
|
122
|
+
try {
|
|
123
|
+
r = t.ok ? await b.client.templates.automation.instantiate.query({
|
|
124
|
+
workspaceId: n,
|
|
125
|
+
starterId: s.id,
|
|
126
|
+
values: t.values
|
|
127
|
+
}) : t;
|
|
128
|
+
} finally {
|
|
129
|
+
g(!1);
|
|
130
|
+
}
|
|
131
|
+
if (!r.ok) return S(r.problems), {
|
|
132
|
+
form: () => _("starter_fix_problems"),
|
|
133
|
+
fields: {}
|
|
134
|
+
};
|
|
135
|
+
S([]);
|
|
136
|
+
let i = r.kind === "automation" ? {
|
|
137
|
+
kind: "automation",
|
|
138
|
+
document: r.document
|
|
139
|
+
} : {
|
|
140
|
+
kind: "alarmRule",
|
|
141
|
+
document: r.document
|
|
142
|
+
};
|
|
143
|
+
return h(), y({
|
|
144
|
+
to: i.kind === "automation" ? "/workspace/$workspaceId/setup/automations/new" : "/workspace/$workspaceId/setup/automations/alarm-rules/new",
|
|
145
|
+
params: { workspaceId: n },
|
|
146
|
+
state: N(i)
|
|
147
|
+
}), null;
|
|
148
|
+
} }),
|
|
149
|
+
onSubmitInvalid: t
|
|
150
|
+
}), E = (e) => {
|
|
151
|
+
S((t) => t.filter((t) => t.path !== e && !t.path.startsWith(`${e}/`)));
|
|
152
|
+
};
|
|
153
|
+
return /* @__PURE__ */ z(T.AppForm, { children: /* @__PURE__ */ B(T.FormRoot, {
|
|
154
|
+
layout: "dialog",
|
|
155
|
+
children: [
|
|
156
|
+
/* @__PURE__ */ B(f, { children: [/* @__PURE__ */ z(u, { children: K(s.name, v) }), /* @__PURE__ */ z(p, { children: K(s.description, v) })] }),
|
|
157
|
+
/* @__PURE__ */ z(T.AppField, {
|
|
158
|
+
name: "values",
|
|
159
|
+
children: (e) => /* @__PURE__ */ z(ie, {
|
|
160
|
+
workspaceId: n,
|
|
161
|
+
placeholders: s.placeholders,
|
|
162
|
+
values: e.state.value,
|
|
163
|
+
onChange: (t, n) => {
|
|
164
|
+
E(n), e.handleChange(t);
|
|
165
|
+
},
|
|
166
|
+
problems: x,
|
|
167
|
+
data: c,
|
|
168
|
+
newKey: w
|
|
169
|
+
})
|
|
170
|
+
}),
|
|
171
|
+
/* @__PURE__ */ B(l, { children: [/* @__PURE__ */ z(T.Subscribe, {
|
|
172
|
+
selector: (e) => e.isSubmitting,
|
|
173
|
+
children: (e) => /* @__PURE__ */ z(m, {
|
|
174
|
+
type: "button",
|
|
175
|
+
variant: "outline",
|
|
176
|
+
disabled: e,
|
|
177
|
+
onClick: d,
|
|
178
|
+
children: _("starter_back")
|
|
179
|
+
})
|
|
180
|
+
}), /* @__PURE__ */ z(T.SubmitButton, {
|
|
181
|
+
label: _("starter_continue"),
|
|
182
|
+
pendingLabel: _("starter_continue_pending")
|
|
183
|
+
})] })
|
|
184
|
+
]
|
|
185
|
+
}) });
|
|
186
|
+
}
|
|
187
|
+
// src/workspace/setup/automations/list-page.tsx
|
|
188
|
+
function Y({ workspaceId: e, active: t }) {
|
|
189
|
+
let n = o(), r = q();
|
|
190
|
+
return /* @__PURE__ */ z(b, {
|
|
191
|
+
value: t,
|
|
192
|
+
onValueChange: (t) => {
|
|
193
|
+
t === "automations" ? r({
|
|
194
|
+
to: "/workspace/$workspaceId/setup/automations",
|
|
195
|
+
params: { workspaceId: e }
|
|
196
|
+
}) : t === "alarm-rules" && r({
|
|
197
|
+
to: "/workspace/$workspaceId/setup/automations/alarm-rules",
|
|
198
|
+
params: { workspaceId: e }
|
|
199
|
+
});
|
|
200
|
+
},
|
|
201
|
+
children: /* @__PURE__ */ B(y, {
|
|
202
|
+
variant: "line",
|
|
203
|
+
children: [/* @__PURE__ */ z(_, {
|
|
204
|
+
value: "automations",
|
|
205
|
+
children: n("automation_tab_automations")
|
|
206
|
+
}), /* @__PURE__ */ z(_, {
|
|
207
|
+
value: "alarm-rules",
|
|
208
|
+
children: n("automation_tab_alarm_rules")
|
|
209
|
+
})]
|
|
210
|
+
})
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
function X({ errors: e, warnings: t }) {
|
|
214
|
+
let n = o();
|
|
215
|
+
return /* @__PURE__ */ B(R, { children: [e > 0 ? /* @__PURE__ */ z(g, {
|
|
216
|
+
variant: "destructive",
|
|
217
|
+
children: n("automation_error_count", { count: String(e) })
|
|
218
|
+
}) : null, t > 0 ? /* @__PURE__ */ z(g, {
|
|
219
|
+
variant: "warning",
|
|
220
|
+
children: n("automation_warning_count", { count: String(t) })
|
|
221
|
+
}) : null] });
|
|
222
|
+
}
|
|
223
|
+
function Z(e) {
|
|
224
|
+
let t = a(), n = r.dashboard.list.useQuery({ workspaceId: e });
|
|
225
|
+
return (e) => {
|
|
226
|
+
if (e == null) return null;
|
|
227
|
+
let r = n.data?.dashboards.find((t) => t.id === e);
|
|
228
|
+
return r == null ? null : K(r.name, t);
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function ue({ run: e }) {
|
|
232
|
+
let t = o();
|
|
233
|
+
if (e === void 0) return /* @__PURE__ */ z(A, { children: t("automation_last_run_none") });
|
|
234
|
+
let n = G(e.startedAt);
|
|
235
|
+
return e.status === "ok" ? /* @__PURE__ */ z(A, { children: t("automation_last_run_ok", { at: n }) }) : /* @__PURE__ */ z(A, {
|
|
236
|
+
className: "text-destructive",
|
|
237
|
+
children: t("automation_last_run_failed", {
|
|
238
|
+
at: n,
|
|
239
|
+
error: ne(e.errorCode ?? "", e.error)
|
|
240
|
+
})
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
function Q({ workspaceId: e }) {
|
|
244
|
+
let t = o(), i = s(), c = a(), l = q(), u = r.automation.list.useQuery({ workspaceId: e }), d = r.automation.latestRuns.useQuery({ workspaceId: e }), f = Z(e), [p, g] = L(null), [_, y] = L(!1), b = new Map(d.data?.items.map((e) => [e.automationId, e.run]));
|
|
245
|
+
return /* @__PURE__ */ B(O, { children: [
|
|
246
|
+
/* @__PURE__ */ z(v, {
|
|
247
|
+
icon: /* @__PURE__ */ z(W, {}),
|
|
248
|
+
breadcrumbs: /* @__PURE__ */ z(C, { workspaceId: e }),
|
|
249
|
+
title: t("setup_automations_title"),
|
|
250
|
+
description: t("setup_automations_description"),
|
|
251
|
+
actions: /* @__PURE__ */ B("div", {
|
|
252
|
+
className: "flex items-center gap-2",
|
|
253
|
+
children: [/* @__PURE__ */ B(m, {
|
|
254
|
+
type: "button",
|
|
255
|
+
size: "sm",
|
|
256
|
+
variant: "outline",
|
|
257
|
+
onClick: () => {
|
|
258
|
+
y(!0);
|
|
259
|
+
},
|
|
260
|
+
children: [/* @__PURE__ */ z(V, { "data-icon": "inline-start" }), t("automation_starter_action")]
|
|
261
|
+
}), /* @__PURE__ */ B(m, {
|
|
262
|
+
type: "button",
|
|
263
|
+
size: "sm",
|
|
264
|
+
onClick: () => {
|
|
265
|
+
l({
|
|
266
|
+
to: "/workspace/$workspaceId/setup/automations/new",
|
|
267
|
+
params: { workspaceId: e }
|
|
268
|
+
});
|
|
269
|
+
},
|
|
270
|
+
children: [/* @__PURE__ */ z(H, { "data-icon": "inline-start" }), t("automation_create_action")]
|
|
271
|
+
})]
|
|
272
|
+
})
|
|
273
|
+
}),
|
|
274
|
+
/* @__PURE__ */ B(k, { children: [/* @__PURE__ */ z(Y, {
|
|
275
|
+
workspaceId: e,
|
|
276
|
+
active: "automations"
|
|
277
|
+
}), /* @__PURE__ */ z(x, {
|
|
278
|
+
query: u,
|
|
279
|
+
loading: /* @__PURE__ */ B("div", {
|
|
280
|
+
className: "space-y-2",
|
|
281
|
+
children: [/* @__PURE__ */ z(h, { className: "h-10 w-full" }), /* @__PURE__ */ z(h, { className: "h-10 w-4/5" })]
|
|
282
|
+
}),
|
|
283
|
+
error: (e) => /* @__PURE__ */ z(S, { message: n(e) }),
|
|
284
|
+
isEmpty: (e) => e.items.length === 0,
|
|
285
|
+
empty: /* @__PURE__ */ z(j, { children: t("setup_automations_empty") }),
|
|
286
|
+
children: ({ items: n }) => /* @__PURE__ */ z(w, { children: n.map((n) => {
|
|
287
|
+
let r = f(n.dashboardId);
|
|
288
|
+
return /* @__PURE__ */ B(te, { children: [/* @__PURE__ */ B(T, {
|
|
289
|
+
to: "/workspace/$workspaceId/setup/automations/$automationId",
|
|
290
|
+
params: {
|
|
291
|
+
workspaceId: e,
|
|
292
|
+
automationId: n.id
|
|
293
|
+
},
|
|
294
|
+
className: "sm:flex-col sm:items-start",
|
|
295
|
+
children: [
|
|
296
|
+
/* @__PURE__ */ B("div", {
|
|
297
|
+
className: "flex min-w-0 flex-wrap items-center gap-2",
|
|
298
|
+
children: [/* @__PURE__ */ z(M, { children: K(n.name, c) }), /* @__PURE__ */ z(X, {
|
|
299
|
+
errors: n.errorCount,
|
|
300
|
+
warnings: n.warningCount
|
|
301
|
+
})]
|
|
302
|
+
}),
|
|
303
|
+
r == null ? null : /* @__PURE__ */ z(A, { children: t("automation_owned_by", { owner: r }) }),
|
|
304
|
+
d.isSuccess ? /* @__PURE__ */ z(ue, { run: b.get(n.id) }) : null
|
|
305
|
+
]
|
|
306
|
+
}), /* @__PURE__ */ B(ee, { children: [/* @__PURE__ */ z(P, {
|
|
307
|
+
workspaceId: e,
|
|
308
|
+
entity: n,
|
|
309
|
+
kind: "automation"
|
|
310
|
+
}), /* @__PURE__ */ z(D, { children: /* @__PURE__ */ z(E, {
|
|
311
|
+
tone: "destructive",
|
|
312
|
+
"aria-label": t("automation_delete_action"),
|
|
313
|
+
onClick: () => {
|
|
314
|
+
g(n);
|
|
315
|
+
},
|
|
316
|
+
children: /* @__PURE__ */ z(U, {})
|
|
317
|
+
}) })] })] }, n.id);
|
|
318
|
+
}) })
|
|
319
|
+
})] }),
|
|
320
|
+
/* @__PURE__ */ z($, {
|
|
321
|
+
workspaceId: e,
|
|
322
|
+
kind: "automation",
|
|
323
|
+
entity: p,
|
|
324
|
+
onClose: () => {
|
|
325
|
+
g(null);
|
|
326
|
+
},
|
|
327
|
+
onDeleted: () => {
|
|
328
|
+
g(null), i.success(t("automation_delete_toast"));
|
|
329
|
+
}
|
|
330
|
+
}),
|
|
331
|
+
_ ? /* @__PURE__ */ z(J, {
|
|
332
|
+
workspaceId: e,
|
|
333
|
+
kind: "automation",
|
|
334
|
+
onClose: () => {
|
|
335
|
+
y(!1);
|
|
336
|
+
}
|
|
337
|
+
}) : null
|
|
338
|
+
] });
|
|
339
|
+
}
|
|
340
|
+
function $({ workspaceId: e, kind: t, entity: n, onClose: r, onDeleted: i }) {
|
|
341
|
+
return /* @__PURE__ */ z(d, {
|
|
342
|
+
open: n != null,
|
|
343
|
+
onOpenChange: (e) => {
|
|
344
|
+
e || r();
|
|
345
|
+
},
|
|
346
|
+
children: /* @__PURE__ */ z(c, { children: n == null ? null : /* @__PURE__ */ z(F, {
|
|
347
|
+
workspaceId: e,
|
|
348
|
+
kind: t,
|
|
349
|
+
id: n.id,
|
|
350
|
+
baseRevision: n.revision,
|
|
351
|
+
onCancel: r,
|
|
352
|
+
onDeleted: i
|
|
353
|
+
}) })
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
export { Y as AutomationSectionTabs, $ as DeleteDialog, X as ProblemBadges, Q as SetupAutomationsPage, J as t, Z as useDashboardNames };
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { Nt as e } from "./alert-dialog-B60PF7S9.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
|
+
// 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
|
+
let i = t((t) => {
|
|
135
|
+
n(e.id, t);
|
|
136
|
+
}, [n, e.id]);
|
|
137
|
+
return /* @__PURE__ */ o(l, {
|
|
138
|
+
ref: i,
|
|
139
|
+
position: e.position,
|
|
140
|
+
title: e.title ?? e.name,
|
|
141
|
+
onClick: r,
|
|
142
|
+
children: e.marker
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
export { g as default };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { t as e } from "./lat-lng-Bl77AGSO.js";
|
|
2
|
+
import { useEffect as t, useState as n } from "react";
|
|
3
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
import { APIProvider as a, AdvancedMarker as o, Map as s, useMap as c } from "@vis.gl/react-google-maps";
|
|
5
|
+
// src/workspace/maps/location-picker-renderer.tsx
|
|
6
|
+
var l = {
|
|
7
|
+
lat: 20,
|
|
8
|
+
lng: 0
|
|
9
|
+
};
|
|
10
|
+
function u(e) {
|
|
11
|
+
return {
|
|
12
|
+
lat: Math.round(e.lat * 1e6) / 1e6,
|
|
13
|
+
lng: Math.round(e.lng * 1e6) / 1e6
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function d({ value: t, onChange: c, label: d, context: m, apiKey: h, mapId: g, theme: _, onError: v, defaultCenter: y = l, defaultZoom: b = 2 }) {
|
|
17
|
+
let [x] = n(() => ({
|
|
18
|
+
center: t ?? y,
|
|
19
|
+
zoom: t == null ? b : 15,
|
|
20
|
+
fit: t == null ? m.map((e) => e.position) : []
|
|
21
|
+
}));
|
|
22
|
+
return /* @__PURE__ */ r("section", {
|
|
23
|
+
"aria-label": d,
|
|
24
|
+
className: "\n h-56 overflow-hidden rounded-xl border\n sm:h-64\n ",
|
|
25
|
+
children: /* @__PURE__ */ r(a, {
|
|
26
|
+
apiKey: h,
|
|
27
|
+
libraries: ["marker"],
|
|
28
|
+
onError: v,
|
|
29
|
+
children: /* @__PURE__ */ i(s, {
|
|
30
|
+
mapId: g,
|
|
31
|
+
className: "size-full",
|
|
32
|
+
defaultCenter: x.center,
|
|
33
|
+
defaultZoom: x.zoom,
|
|
34
|
+
colorScheme: _ === "dark" ? "DARK" : "LIGHT",
|
|
35
|
+
gestureHandling: "cooperative",
|
|
36
|
+
clickableIcons: !1,
|
|
37
|
+
fullscreenControl: !1,
|
|
38
|
+
streetViewControl: !1,
|
|
39
|
+
mapTypeControl: !1,
|
|
40
|
+
onClick: (e) => {
|
|
41
|
+
let t = e.detail.latLng;
|
|
42
|
+
t != null && c(u(t));
|
|
43
|
+
},
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ r(f, { positions: x.fit }),
|
|
46
|
+
/* @__PURE__ */ r(p, { value: t }),
|
|
47
|
+
m.map((e) => /* @__PURE__ */ r(o, {
|
|
48
|
+
position: e.position,
|
|
49
|
+
clickable: !1,
|
|
50
|
+
children: /* @__PURE__ */ i("span", {
|
|
51
|
+
className: "pointer-events-none flex flex-col items-center gap-0.5",
|
|
52
|
+
children: [/* @__PURE__ */ r("span", {
|
|
53
|
+
className: "\n rounded-sm bg-background/80 px-1 text-xs whitespace-nowrap\n text-muted-foreground\n ",
|
|
54
|
+
children: e.name
|
|
55
|
+
}), /* @__PURE__ */ r("span", { className: "size-3 rounded-full border-2 border-background bg-muted-foreground/70" })]
|
|
56
|
+
})
|
|
57
|
+
}, e.id)),
|
|
58
|
+
t == null ? null : /* @__PURE__ */ r(o, {
|
|
59
|
+
position: t,
|
|
60
|
+
title: d,
|
|
61
|
+
draggable: !0,
|
|
62
|
+
zIndex: 1,
|
|
63
|
+
onDragEnd: (t) => {
|
|
64
|
+
let n = e(t.latLng);
|
|
65
|
+
n != null && c(u(n));
|
|
66
|
+
}
|
|
67
|
+
})
|
|
68
|
+
]
|
|
69
|
+
})
|
|
70
|
+
})
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
function f({ positions: e }) {
|
|
74
|
+
let n = c();
|
|
75
|
+
return t(() => {
|
|
76
|
+
if (n == null || e.length === 0) return;
|
|
77
|
+
let t = new google.maps.LatLngBounds();
|
|
78
|
+
for (let n of e) t.extend(n);
|
|
79
|
+
n.fitBounds(t, 40);
|
|
80
|
+
let r = google.maps.event.addListenerOnce(n, "idle", () => {
|
|
81
|
+
(n.getZoom() ?? 0) > 15 && n.setZoom(15);
|
|
82
|
+
});
|
|
83
|
+
return () => {
|
|
84
|
+
google.maps.event.removeListener(r);
|
|
85
|
+
};
|
|
86
|
+
}, [n, e]), null;
|
|
87
|
+
}
|
|
88
|
+
function p({ value: e }) {
|
|
89
|
+
let n = c(), r = e?.lat, i = e?.lng;
|
|
90
|
+
return t(() => {
|
|
91
|
+
n != null && r != null && i != null && n.getBounds()?.contains({
|
|
92
|
+
lat: r,
|
|
93
|
+
lng: i
|
|
94
|
+
}) !== !0 && n.panTo({
|
|
95
|
+
lat: r,
|
|
96
|
+
lng: i
|
|
97
|
+
});
|
|
98
|
+
}, [
|
|
99
|
+
n,
|
|
100
|
+
r,
|
|
101
|
+
i
|
|
102
|
+
]), null;
|
|
103
|
+
}
|
|
104
|
+
export { d as default };
|