@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,949 @@
|
|
|
1
|
+
import { a as e, f as t, l as n, m as r, o as i } from "./i18n-Dt6xbSK6.js";
|
|
2
|
+
import { J as a, Mt as o, N as s, Nt as c, Ot as l, at as u, ct as d, jt as f, kt as p, lt as m, st as h, ut as g, wt as _ } from "./alert-dialog-B60PF7S9.js";
|
|
3
|
+
import { c as v, d as y, f as b, g as x, l as S, q as C, t as ee } from "./spinner-BRcNKwjH.js";
|
|
4
|
+
import * as w from "react";
|
|
5
|
+
import { createContext as te, useCallback as ne, useContext as re, useEffect as T, useMemo as ie, useRef as E, useState as D } from "react";
|
|
6
|
+
import { Toaster as ae } from "sonner";
|
|
7
|
+
import { Fragment as oe, jsx as O, jsxs as k } from "react/jsx-runtime";
|
|
8
|
+
import { BellIcon as A, CalendarIcon as j, ChevronDownIcon as se, ChevronLeftIcon as ce, ChevronRightIcon as le, CircleCheckIcon as ue, InfoIcon as de, MoreHorizontalIcon as fe, OctagonXIcon as pe, TriangleAlertIcon as M, XIcon as N } from "lucide-react";
|
|
9
|
+
import { cva as P } from "class-variance-authority";
|
|
10
|
+
import { formatAppDateTime as F, parseAppDateTime as I, parseExactAppDateTime as L } from "@overvis/hmi-shared";
|
|
11
|
+
import { Dialog as R } from "@base-ui/react/dialog";
|
|
12
|
+
import { mergeProps as z } from "@base-ui/react/merge-props";
|
|
13
|
+
import { useRender as B } from "@base-ui/react/use-render";
|
|
14
|
+
import { DayPicker as me, getDefaultClassNames as V } from "react-day-picker";
|
|
15
|
+
import { Radio as H } from "@base-ui/react/radio";
|
|
16
|
+
import { RadioGroup as he } from "@base-ui/react/radio-group";
|
|
17
|
+
import { Tabs as U } from "@base-ui/react/tabs";
|
|
18
|
+
// src/ui/breadcrumb.tsx
|
|
19
|
+
function ge({ className: e, ...t }) {
|
|
20
|
+
let n = r();
|
|
21
|
+
return /* @__PURE__ */ O("nav", {
|
|
22
|
+
"aria-label": n("ui_breadcrumb"),
|
|
23
|
+
"data-slot": "breadcrumb",
|
|
24
|
+
className: c(e),
|
|
25
|
+
...t
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function _e({ className: e, ...t }) {
|
|
29
|
+
return /* @__PURE__ */ O("ol", {
|
|
30
|
+
"data-slot": "breadcrumb-list",
|
|
31
|
+
className: c("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground", e),
|
|
32
|
+
...t
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function ve({ className: e, ...t }) {
|
|
36
|
+
return /* @__PURE__ */ O("li", {
|
|
37
|
+
"data-slot": "breadcrumb-item",
|
|
38
|
+
className: c("inline-flex items-center gap-1", e),
|
|
39
|
+
...t
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function ye({ className: e, render: t, ...n }) {
|
|
43
|
+
return B({
|
|
44
|
+
defaultTagName: "a",
|
|
45
|
+
props: z({ className: c("\n transition-colors\n hover:text-foreground\n ", e) }, n),
|
|
46
|
+
render: t,
|
|
47
|
+
state: { slot: "breadcrumb-link" }
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function be({ className: e, ...t }) {
|
|
51
|
+
return /* @__PURE__ */ O("span", {
|
|
52
|
+
"data-slot": "breadcrumb-page",
|
|
53
|
+
role: "link",
|
|
54
|
+
"aria-disabled": "true",
|
|
55
|
+
"aria-current": "page",
|
|
56
|
+
className: c("font-normal text-foreground", e),
|
|
57
|
+
...t
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function xe({ children: e, className: t, ...n }) {
|
|
61
|
+
return /* @__PURE__ */ O("li", {
|
|
62
|
+
"data-slot": "breadcrumb-separator",
|
|
63
|
+
role: "presentation",
|
|
64
|
+
"aria-hidden": "true",
|
|
65
|
+
className: c("[&>svg]:size-3.5", t),
|
|
66
|
+
...n,
|
|
67
|
+
children: e ?? /* @__PURE__ */ O(le, {})
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function Se({ className: e, ...t }) {
|
|
71
|
+
let n = r();
|
|
72
|
+
return /* @__PURE__ */ k("span", {
|
|
73
|
+
"data-slot": "breadcrumb-ellipsis",
|
|
74
|
+
role: "presentation",
|
|
75
|
+
"aria-hidden": "true",
|
|
76
|
+
className: c("\n flex size-5 items-center justify-center\n [&>svg]:size-4\n ", e),
|
|
77
|
+
...t,
|
|
78
|
+
children: [/* @__PURE__ */ O(fe, {}), /* @__PURE__ */ O("span", {
|
|
79
|
+
className: "sr-only",
|
|
80
|
+
children: n("ui_more")
|
|
81
|
+
})]
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
// src/ui/calendar.tsx
|
|
85
|
+
function Ce({ className: e, rootRef: t, ...n }) {
|
|
86
|
+
return /* @__PURE__ */ O("div", {
|
|
87
|
+
"data-slot": "calendar",
|
|
88
|
+
ref: t,
|
|
89
|
+
className: c(e),
|
|
90
|
+
...n
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
function we({ className: e, orientation: t, ...n }) {
|
|
94
|
+
return O(t === "left" ? ce : t === "right" ? le : se, {
|
|
95
|
+
className: c("size-4", e),
|
|
96
|
+
...n
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
function W({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", locale: a, formatters: s, components: l, ...u }) {
|
|
100
|
+
let d = V();
|
|
101
|
+
return /* @__PURE__ */ O(me, {
|
|
102
|
+
showOutsideDays: n,
|
|
103
|
+
className: c("\n group/calendar bg-background p-2 [--cell-radius:var(--radius-md)]\n [--cell-size:--spacing(7)]\n in-data-[slot=card-content]:bg-transparent\n in-data-[slot=popover-content]:bg-transparent\n ", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
|
|
104
|
+
captionLayout: r,
|
|
105
|
+
locale: a,
|
|
106
|
+
formatters: {
|
|
107
|
+
formatMonthDropdown: (e) => e.toLocaleString(a?.code, { month: "short" }),
|
|
108
|
+
...s
|
|
109
|
+
},
|
|
110
|
+
classNames: {
|
|
111
|
+
root: c("w-fit", d.root),
|
|
112
|
+
months: c("\n relative flex flex-col gap-4\n md:flex-row\n ", d.months),
|
|
113
|
+
month: c("flex w-full flex-col gap-4", d.month),
|
|
114
|
+
nav: c("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1", d.nav),
|
|
115
|
+
button_previous: c(o({ variant: i }), "\n size-(--cell-size) p-0 select-none\n aria-disabled:opacity-50\n ", d.button_previous),
|
|
116
|
+
button_next: c(o({ variant: i }), "\n size-(--cell-size) p-0 select-none\n aria-disabled:opacity-50\n ", d.button_next),
|
|
117
|
+
month_caption: c("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)", d.month_caption),
|
|
118
|
+
dropdowns: c("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium", d.dropdowns),
|
|
119
|
+
dropdown_root: c("relative rounded-(--cell-radius)", d.dropdown_root),
|
|
120
|
+
dropdown: c("absolute inset-0 bg-popover opacity-0", d.dropdown),
|
|
121
|
+
caption_label: c("font-medium select-none", r === "label" ? "text-sm" : "\n flex items-center gap-1 rounded-(--cell-radius) text-sm\n [&>svg]:size-3.5 [&>svg]:text-muted-foreground\n ", d.caption_label),
|
|
122
|
+
month_grid: c("w-full border-collapse", d.month_grid),
|
|
123
|
+
weekdays: c("flex", d.weekdays),
|
|
124
|
+
weekday: c("\n flex-1 rounded-(--cell-radius) text-[0.8rem] font-normal text-muted-foreground\n select-none\n ", d.weekday),
|
|
125
|
+
week: c("mt-2 flex w-full", d.week),
|
|
126
|
+
week_number_header: c("w-(--cell-size) select-none", d.week_number_header),
|
|
127
|
+
week_number: c("text-[0.8rem] text-muted-foreground select-none", d.week_number),
|
|
128
|
+
day: c("\n group/day relative aspect-square size-full rounded-(--cell-radius) p-0 text-center\n select-none\n [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius)\n ", u.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)", d.day),
|
|
129
|
+
range_start: c("\n relative isolate z-0 rounded-l-(--cell-radius) bg-muted\n after:absolute after:inset-y-0 after:right-0 after:w-4 after:bg-muted\n ", d.range_start),
|
|
130
|
+
range_middle: c("rounded-none", d.range_middle),
|
|
131
|
+
range_end: c("\n relative isolate z-0 rounded-r-(--cell-radius) bg-muted\n after:absolute after:inset-y-0 after:left-0 after:w-4 after:bg-muted\n ", d.range_end),
|
|
132
|
+
today: c("\n rounded-(--cell-radius) bg-muted text-foreground\n data-[selected=true]:rounded-none\n ", d.today),
|
|
133
|
+
outside: c("\n text-muted-foreground\n aria-selected:text-muted-foreground\n ", d.outside),
|
|
134
|
+
disabled: c("text-muted-foreground opacity-50", d.disabled),
|
|
135
|
+
hidden: c("invisible", d.hidden),
|
|
136
|
+
...t
|
|
137
|
+
},
|
|
138
|
+
components: {
|
|
139
|
+
Root: Ce,
|
|
140
|
+
Chevron: we,
|
|
141
|
+
DayButton: ({ ...e }) => /* @__PURE__ */ O(G, {
|
|
142
|
+
...e,
|
|
143
|
+
...a == null ? {} : { locale: a }
|
|
144
|
+
}),
|
|
145
|
+
WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ O("td", {
|
|
146
|
+
...t,
|
|
147
|
+
children: /* @__PURE__ */ O("div", {
|
|
148
|
+
className: "flex size-(--cell-size) items-center justify-center text-center",
|
|
149
|
+
children: e
|
|
150
|
+
})
|
|
151
|
+
}),
|
|
152
|
+
...l
|
|
153
|
+
},
|
|
154
|
+
...u
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
function G({ className: e, day: t, modifiers: n, locale: r, ...i }) {
|
|
158
|
+
let a = V(), o = w.useRef(null);
|
|
159
|
+
return w.useEffect(() => {
|
|
160
|
+
n.focused && o.current?.focus();
|
|
161
|
+
}, [n]), /* @__PURE__ */ O(f, {
|
|
162
|
+
variant: "ghost",
|
|
163
|
+
size: "icon",
|
|
164
|
+
"data-day": t.date.toLocaleDateString(r?.code),
|
|
165
|
+
"data-selected-single": n.selected && !n.range_start && !n.range_end && !n.range_middle,
|
|
166
|
+
"data-range-start": n.range_start,
|
|
167
|
+
"data-range-end": n.range_end,
|
|
168
|
+
"data-range-middle": n.range_middle,
|
|
169
|
+
className: c("\n relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col\n gap-1 border-0 leading-none font-normal\n group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10\n group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px]\n group-data-[focused=true]/day:ring-ring/50\n data-[range-end=true]:rounded-(--cell-radius)\n data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:bg-primary\n data-[range-end=true]:text-primary-foreground\n data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted\n data-[range-middle=true]:text-foreground\n data-[range-start=true]:rounded-(--cell-radius)\n data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:bg-primary\n data-[range-start=true]:text-primary-foreground\n data-[selected-single=true]:bg-primary\n data-[selected-single=true]:text-primary-foreground\n dark:hover:text-foreground\n [&>span]:text-xs [&>span]:opacity-70\n ", a.day, e),
|
|
170
|
+
...i
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
// src/ui/date-time-picker.tsx
|
|
174
|
+
var K = "dddd-dd-dd dd:dd:dd";
|
|
175
|
+
function Te(e) {
|
|
176
|
+
return e.length < 19 && Array.from(e).every((e, t) => K[t] === "d" ? /^\d$/.test(e) : e === K[t]);
|
|
177
|
+
}
|
|
178
|
+
function Ee(e) {
|
|
179
|
+
return L(e) == null ? Te(e) ? "incomplete" : "invalid" : "valid";
|
|
180
|
+
}
|
|
181
|
+
function De(e, t = !1) {
|
|
182
|
+
if (t && e === "") return {
|
|
183
|
+
draft: "",
|
|
184
|
+
status: "valid"
|
|
185
|
+
};
|
|
186
|
+
let n = Ee(e);
|
|
187
|
+
if (n === "incomplete") return {
|
|
188
|
+
draft: e,
|
|
189
|
+
status: n
|
|
190
|
+
};
|
|
191
|
+
let r = I(e);
|
|
192
|
+
return r == null ? {
|
|
193
|
+
draft: e,
|
|
194
|
+
status: n
|
|
195
|
+
} : {
|
|
196
|
+
draft: F(r),
|
|
197
|
+
status: "valid"
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
function Oe(e) {
|
|
201
|
+
let t = I(e) ?? void 0;
|
|
202
|
+
return {
|
|
203
|
+
date: t,
|
|
204
|
+
time: t == null ? "00:00:00" : F(t).slice(11)
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
function q(e, t) {
|
|
208
|
+
let n = `${F(new Date(e.getFullYear(), e.getMonth(), e.getDate())).slice(0, 10)} ${t}`;
|
|
209
|
+
return L(n) == null ? null : n;
|
|
210
|
+
}
|
|
211
|
+
function ke(e) {
|
|
212
|
+
let t = I(e.from), n = I(e.to);
|
|
213
|
+
return t != null && n != null && t.getTime() >= n.getTime();
|
|
214
|
+
}
|
|
215
|
+
function J({ value: e, onValueChange: n, className: i, placeholder: a = t("ui_select_date_time"), disabled: o, id: s, optional: l = !1, ...u }) {
|
|
216
|
+
let d = r(), [p, m] = w.useState({
|
|
217
|
+
disabled: o,
|
|
218
|
+
open: !1
|
|
219
|
+
}), h = p.disabled === o ? p : {
|
|
220
|
+
disabled: o,
|
|
221
|
+
open: !1
|
|
222
|
+
}, { draft: g, status: _ } = De(e, l), { date: S, time: C } = Oe(e);
|
|
223
|
+
return /* @__PURE__ */ k("div", {
|
|
224
|
+
"data-slot": "date-time-picker",
|
|
225
|
+
className: c("space-y-1", i),
|
|
226
|
+
children: [/* @__PURE__ */ k("div", {
|
|
227
|
+
className: "flex gap-1",
|
|
228
|
+
children: [/* @__PURE__ */ O(v, {
|
|
229
|
+
...u,
|
|
230
|
+
id: s,
|
|
231
|
+
value: g,
|
|
232
|
+
placeholder: a,
|
|
233
|
+
disabled: o,
|
|
234
|
+
"aria-invalid": _ === "invalid",
|
|
235
|
+
onChange: (e) => {
|
|
236
|
+
n(e.currentTarget.value);
|
|
237
|
+
}
|
|
238
|
+
}), o === !0 ? /* @__PURE__ */ O(f, {
|
|
239
|
+
type: "button",
|
|
240
|
+
variant: "outline",
|
|
241
|
+
size: "icon",
|
|
242
|
+
disabled: !0,
|
|
243
|
+
"aria-label": a,
|
|
244
|
+
children: /* @__PURE__ */ O(j, {})
|
|
245
|
+
}) : /* @__PURE__ */ k(y, {
|
|
246
|
+
open: h.open,
|
|
247
|
+
onOpenChange: (e) => {
|
|
248
|
+
m({
|
|
249
|
+
disabled: o,
|
|
250
|
+
open: e
|
|
251
|
+
});
|
|
252
|
+
},
|
|
253
|
+
children: [/* @__PURE__ */ O(x, {
|
|
254
|
+
render: /* @__PURE__ */ O(f, {
|
|
255
|
+
type: "button",
|
|
256
|
+
variant: "outline",
|
|
257
|
+
size: "icon",
|
|
258
|
+
"aria-label": a
|
|
259
|
+
}),
|
|
260
|
+
children: /* @__PURE__ */ O(j, {})
|
|
261
|
+
}), /* @__PURE__ */ k(b, {
|
|
262
|
+
"aria-label": a,
|
|
263
|
+
align: "end",
|
|
264
|
+
className: "w-auto",
|
|
265
|
+
children: [/* @__PURE__ */ O(W, {
|
|
266
|
+
mode: "single",
|
|
267
|
+
labels: { labelNav: () => a },
|
|
268
|
+
...S == null ? {} : {
|
|
269
|
+
selected: S,
|
|
270
|
+
defaultMonth: S
|
|
271
|
+
},
|
|
272
|
+
onSelect: (e) => {
|
|
273
|
+
if (e == null) return;
|
|
274
|
+
let t = q(e, C);
|
|
275
|
+
t != null && n(t);
|
|
276
|
+
}
|
|
277
|
+
}), /* @__PURE__ */ O(v, {
|
|
278
|
+
type: "time",
|
|
279
|
+
step: 1,
|
|
280
|
+
value: C,
|
|
281
|
+
"aria-label": a,
|
|
282
|
+
onChange: (e) => {
|
|
283
|
+
let t = q(S ?? /* @__PURE__ */ new Date(), e.currentTarget.value);
|
|
284
|
+
t != null && n(t);
|
|
285
|
+
}
|
|
286
|
+
})]
|
|
287
|
+
})]
|
|
288
|
+
})]
|
|
289
|
+
}), _ === "invalid" ? /* @__PURE__ */ O("p", {
|
|
290
|
+
role: "alert",
|
|
291
|
+
className: "text-xs text-destructive",
|
|
292
|
+
children: d("ui_invalid_date_time")
|
|
293
|
+
}) : _ === "incomplete" ? /* @__PURE__ */ O("p", {
|
|
294
|
+
className: "text-xs text-muted-foreground",
|
|
295
|
+
children: d("ui_incomplete_date_time")
|
|
296
|
+
}) : null]
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
function Ae({ value: e, onValueChange: t, className: n, disabled: i, optional: a = !1 }) {
|
|
300
|
+
let o = r(), s = ke(e);
|
|
301
|
+
return /* @__PURE__ */ k("div", {
|
|
302
|
+
"data-slot": "date-time-range-picker",
|
|
303
|
+
className: c("space-y-1", n),
|
|
304
|
+
children: [/* @__PURE__ */ k("div", {
|
|
305
|
+
className: c("grid gap-2", "sm:grid-cols-2"),
|
|
306
|
+
children: [/* @__PURE__ */ O(J, {
|
|
307
|
+
value: e.from,
|
|
308
|
+
disabled: i,
|
|
309
|
+
optional: a,
|
|
310
|
+
"aria-label": o("ui_start_date_time"),
|
|
311
|
+
placeholder: o("ui_start_date_time"),
|
|
312
|
+
onValueChange: (n) => {
|
|
313
|
+
t({
|
|
314
|
+
...e,
|
|
315
|
+
from: n
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
}), /* @__PURE__ */ O(J, {
|
|
319
|
+
value: e.to,
|
|
320
|
+
disabled: i,
|
|
321
|
+
optional: a,
|
|
322
|
+
"aria-label": o("ui_end_date_time"),
|
|
323
|
+
placeholder: o("ui_end_date_time"),
|
|
324
|
+
onValueChange: (n) => {
|
|
325
|
+
t({
|
|
326
|
+
...e,
|
|
327
|
+
to: n
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
})]
|
|
331
|
+
}), s && /* @__PURE__ */ O("p", {
|
|
332
|
+
role: "alert",
|
|
333
|
+
className: "text-xs text-destructive",
|
|
334
|
+
children: o("ui_invalid_date_time_range")
|
|
335
|
+
})]
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
// src/ui/item.tsx
|
|
339
|
+
function je({ className: e, ...t }) {
|
|
340
|
+
return /* @__PURE__ */ O("div", {
|
|
341
|
+
"data-slot": "item-group",
|
|
342
|
+
className: c("\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 ", e),
|
|
343
|
+
...t
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
function Me({ className: e, ...t }) {
|
|
347
|
+
return /* @__PURE__ */ O(C, {
|
|
348
|
+
"data-slot": "item-separator",
|
|
349
|
+
orientation: "horizontal",
|
|
350
|
+
className: c("my-2", e),
|
|
351
|
+
...t
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
var Ne = P("\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 ", {
|
|
355
|
+
variants: {
|
|
356
|
+
variant: {
|
|
357
|
+
default: "border-transparent",
|
|
358
|
+
outline: "border-border",
|
|
359
|
+
muted: "border-transparent bg-muted/50"
|
|
360
|
+
},
|
|
361
|
+
size: {
|
|
362
|
+
default: "gap-2.5 px-3 py-2.5",
|
|
363
|
+
sm: "gap-2.5 px-3 py-2.5",
|
|
364
|
+
xs: "\n gap-2 px-2.5 py-2\n in-data-[slot=dropdown-menu-content]:p-0\n "
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
defaultVariants: {
|
|
368
|
+
variant: "default",
|
|
369
|
+
size: "default"
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
function Pe({ className: e, variant: t = "default", size: n = "default", render: r, ...i }) {
|
|
373
|
+
return B({
|
|
374
|
+
defaultTagName: "div",
|
|
375
|
+
props: z({ className: c(Ne({
|
|
376
|
+
variant: t,
|
|
377
|
+
size: n,
|
|
378
|
+
className: e
|
|
379
|
+
})) }, i),
|
|
380
|
+
render: r,
|
|
381
|
+
state: {
|
|
382
|
+
slot: "item",
|
|
383
|
+
variant: t,
|
|
384
|
+
size: n
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
var Fe = P("\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 ", {
|
|
389
|
+
variants: { variant: {
|
|
390
|
+
default: "bg-transparent",
|
|
391
|
+
icon: "[&_svg:not([class*='size-'])]:size-4",
|
|
392
|
+
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 "
|
|
393
|
+
} },
|
|
394
|
+
defaultVariants: { variant: "default" }
|
|
395
|
+
});
|
|
396
|
+
function Ie({ className: e, variant: t = "default", ...n }) {
|
|
397
|
+
return /* @__PURE__ */ O("div", {
|
|
398
|
+
"data-slot": "item-media",
|
|
399
|
+
"data-variant": t,
|
|
400
|
+
className: c(Fe({
|
|
401
|
+
variant: t,
|
|
402
|
+
className: e
|
|
403
|
+
})),
|
|
404
|
+
...n
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
function Le({ className: e, ...t }) {
|
|
408
|
+
return /* @__PURE__ */ O("div", {
|
|
409
|
+
"data-slot": "item-content",
|
|
410
|
+
className: c("\n flex flex-1 flex-col gap-1\n group-data-[size=xs]/item:gap-0\n [&+[data-slot=item-content]]:flex-none\n ", e),
|
|
411
|
+
...t
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
function Re({ className: e, ...t }) {
|
|
415
|
+
return /* @__PURE__ */ O("div", {
|
|
416
|
+
"data-slot": "item-title",
|
|
417
|
+
className: c("line-clamp-1 flex w-fit items-center gap-2 text-sm/snug font-medium underline-offset-4", e),
|
|
418
|
+
...t
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
function ze({ className: e, ...t }) {
|
|
422
|
+
return /* @__PURE__ */ O("p", {
|
|
423
|
+
"data-slot": "item-description",
|
|
424
|
+
className: c("\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 ", e),
|
|
425
|
+
...t
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
function Be({ className: e, ...t }) {
|
|
429
|
+
return /* @__PURE__ */ O("div", {
|
|
430
|
+
"data-slot": "item-actions",
|
|
431
|
+
className: c("flex items-center gap-2", e),
|
|
432
|
+
...t
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
function Ve({ className: e, ...t }) {
|
|
436
|
+
return /* @__PURE__ */ O("div", {
|
|
437
|
+
"data-slot": "item-header",
|
|
438
|
+
className: c("flex basis-full items-center justify-between gap-2", e),
|
|
439
|
+
...t
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
function He({ className: e, ...t }) {
|
|
443
|
+
return /* @__PURE__ */ O("div", {
|
|
444
|
+
"data-slot": "item-footer",
|
|
445
|
+
className: c("flex basis-full items-center justify-between gap-2", e),
|
|
446
|
+
...t
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
// src/ui/page-header.tsx
|
|
450
|
+
function Ue({ icon: e, breadcrumbs: t, title: n, description: r, titleActions: i, actions: a, children: o, className: l, ...u }) {
|
|
451
|
+
return /* @__PURE__ */ k("header", {
|
|
452
|
+
"data-slot": "page-header",
|
|
453
|
+
className: c("flex flex-col gap-3 px-4 py-3", l),
|
|
454
|
+
...u,
|
|
455
|
+
children: [
|
|
456
|
+
/* @__PURE__ */ k("div", {
|
|
457
|
+
className: "flex flex-wrap items-center gap-x-4 gap-y-2",
|
|
458
|
+
children: [/* @__PURE__ */ k("div", {
|
|
459
|
+
className: "flex min-w-0 flex-1 basis-56 flex-col gap-0.5",
|
|
460
|
+
children: [
|
|
461
|
+
t == null ? null : /* @__PURE__ */ O("div", {
|
|
462
|
+
className: "min-w-0 pb-0.5",
|
|
463
|
+
children: t
|
|
464
|
+
}),
|
|
465
|
+
/* @__PURE__ */ k("div", {
|
|
466
|
+
className: "flex w-fit max-w-full min-w-0 items-center gap-2.5",
|
|
467
|
+
children: [
|
|
468
|
+
e == null ? null : /* @__PURE__ */ O("span", {
|
|
469
|
+
className: "\n flex shrink-0 text-muted-foreground\n [&_svg]:size-6\n ",
|
|
470
|
+
children: e
|
|
471
|
+
}),
|
|
472
|
+
/* @__PURE__ */ O(s, {
|
|
473
|
+
size: "large",
|
|
474
|
+
className: "w-fit max-w-full truncate",
|
|
475
|
+
children: n
|
|
476
|
+
}),
|
|
477
|
+
i == null ? null : /* @__PURE__ */ O("div", {
|
|
478
|
+
className: "flex shrink-0 items-center gap-1.5",
|
|
479
|
+
children: i
|
|
480
|
+
})
|
|
481
|
+
]
|
|
482
|
+
}),
|
|
483
|
+
r == null ? null : /* @__PURE__ */ O("div", {
|
|
484
|
+
className: c("min-w-0 text-[13px] text-muted-foreground", e != null && "sm:pl-8.5"),
|
|
485
|
+
children: r
|
|
486
|
+
})
|
|
487
|
+
]
|
|
488
|
+
}), a == null ? null : /* @__PURE__ */ O("div", {
|
|
489
|
+
className: "ml-auto flex shrink-0 flex-wrap items-center gap-1.5",
|
|
490
|
+
children: a
|
|
491
|
+
})]
|
|
492
|
+
}),
|
|
493
|
+
o,
|
|
494
|
+
/* @__PURE__ */ O(C, {})
|
|
495
|
+
]
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
// src/ui/radio-group.tsx
|
|
499
|
+
function We({ className: e, ...t }) {
|
|
500
|
+
return /* @__PURE__ */ O(he, {
|
|
501
|
+
"data-slot": "radio-group",
|
|
502
|
+
className: c("grid w-full gap-2", e),
|
|
503
|
+
...t
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
function Ge({ className: e, ...t }) {
|
|
507
|
+
return /* @__PURE__ */ O(H.Root, {
|
|
508
|
+
"data-slot": "radio-group-item",
|
|
509
|
+
className: c("\n group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full\n border border-input outline-none\n group-has-focus-visible/field-label:ring-0\n group-has-focus-visible/field-label:not-data-checked:border-input\n after:absolute after:-inset-x-3 after:-inset-y-2\n focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50\n disabled:cursor-not-allowed disabled:opacity-50\n aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20\n aria-invalid:aria-checked:border-primary\n dark:bg-input/30\n dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40\n data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground\n group-has-focus-visible/field-label:data-checked:border-primary\n dark:data-checked:bg-primary\n ", e),
|
|
510
|
+
...t,
|
|
511
|
+
children: /* @__PURE__ */ O(H.Indicator, {
|
|
512
|
+
"data-slot": "radio-group-indicator",
|
|
513
|
+
className: "flex size-4 items-center justify-center",
|
|
514
|
+
children: /* @__PURE__ */ O("span", { className: "\n absolute top-1/2 left-1/2 size-2 -translate-1/2 rounded-full bg-primary-foreground\n " })
|
|
515
|
+
})
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
// src/ui/sheet.tsx
|
|
519
|
+
function Y(e) {
|
|
520
|
+
return /* @__PURE__ */ O(R.Root, {
|
|
521
|
+
"data-slot": "sheet",
|
|
522
|
+
...a(e)
|
|
523
|
+
});
|
|
524
|
+
}
|
|
525
|
+
function X({ ...e }) {
|
|
526
|
+
return /* @__PURE__ */ O(R.Trigger, {
|
|
527
|
+
"data-slot": "sheet-trigger",
|
|
528
|
+
...e
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
function Ke({ ...e }) {
|
|
532
|
+
return /* @__PURE__ */ O(R.Close, {
|
|
533
|
+
"data-slot": "sheet-close",
|
|
534
|
+
...e
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
function qe({ ...e }) {
|
|
538
|
+
let t = p(), n = t?.container;
|
|
539
|
+
return t != null && n == null ? null : /* @__PURE__ */ O(R.Portal, {
|
|
540
|
+
"data-slot": "sheet-portal",
|
|
541
|
+
...e,
|
|
542
|
+
container: n ?? void 0
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
function Je({ className: e, ...t }) {
|
|
546
|
+
l();
|
|
547
|
+
let n = p();
|
|
548
|
+
return /* @__PURE__ */ O(R.Backdrop, {
|
|
549
|
+
"data-slot": "sheet-overlay",
|
|
550
|
+
forceRender: !0,
|
|
551
|
+
className: c("\n inset-0 z-50 bg-black/10 transition-opacity duration-150\n data-ending-style:opacity-0\n data-starting-style:opacity-0\n supports-backdrop-filter:backdrop-blur-xs\n ", n?.container == null ? "fixed" : "absolute", e),
|
|
552
|
+
...t
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
function Ye({ className: e, children: t, side: n = "right", showCloseButton: i = !0, onKeyDown: a, ...o }) {
|
|
556
|
+
let s = r(), l = p();
|
|
557
|
+
return /* @__PURE__ */ k(qe, { children: [/* @__PURE__ */ O(Je, {}), /* @__PURE__ */ k(R.Popup, {
|
|
558
|
+
"data-slot": "sheet-content",
|
|
559
|
+
"data-side": n,
|
|
560
|
+
className: c("\n z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground\n shadow-lg transition duration-200 ease-in-out\n data-ending-style:opacity-0\n data-starting-style:opacity-0\n data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto\n data-[side=bottom]:border-t\n data-[side=bottom]:data-ending-style:translate-y-10\n data-[side=bottom]:data-starting-style:translate-y-10\n data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full\n data-[side=left]:w-3/4 data-[side=left]:border-r\n data-[side=left]:data-ending-style:-translate-x-10\n data-[side=left]:data-starting-style:-translate-x-10\n data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full\n data-[side=right]:w-3/4 data-[side=right]:border-l\n data-[side=right]:data-ending-style:translate-x-10\n data-[side=right]:data-starting-style:translate-x-10\n data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto\n data-[side=top]:border-b\n data-[side=top]:data-ending-style:-translate-y-10\n data-[side=top]:data-starting-style:-translate-y-10\n data-[side=left]:sm:max-w-sm\n data-[side=right]:sm:max-w-sm\n ", l?.container == null ? "fixed" : "absolute", e),
|
|
561
|
+
...o,
|
|
562
|
+
onKeyDown: (e) => {
|
|
563
|
+
_(e, e.currentTarget), a?.(e);
|
|
564
|
+
},
|
|
565
|
+
children: [t, i ? /* @__PURE__ */ k(R.Close, {
|
|
566
|
+
"data-slot": "sheet-close",
|
|
567
|
+
render: /* @__PURE__ */ O(f, {
|
|
568
|
+
variant: "ghost",
|
|
569
|
+
className: "absolute top-3 right-3",
|
|
570
|
+
size: "icon-sm"
|
|
571
|
+
}),
|
|
572
|
+
children: [/* @__PURE__ */ O(N, {}), /* @__PURE__ */ O("span", {
|
|
573
|
+
className: "sr-only",
|
|
574
|
+
children: s("action_close")
|
|
575
|
+
})]
|
|
576
|
+
}) : null]
|
|
577
|
+
})] });
|
|
578
|
+
}
|
|
579
|
+
function Xe({ className: e, ...t }) {
|
|
580
|
+
return /* @__PURE__ */ O("div", {
|
|
581
|
+
"data-slot": "sheet-header",
|
|
582
|
+
className: c("flex flex-col gap-0.5 p-4", e),
|
|
583
|
+
...t
|
|
584
|
+
});
|
|
585
|
+
}
|
|
586
|
+
function Ze({ className: e, ...t }) {
|
|
587
|
+
return /* @__PURE__ */ O("div", {
|
|
588
|
+
"data-slot": "sheet-footer",
|
|
589
|
+
className: c("mt-auto flex flex-col gap-2 p-4", e),
|
|
590
|
+
...t
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
function Qe({ className: e, ...t }) {
|
|
594
|
+
return /* @__PURE__ */ O(R.Title, {
|
|
595
|
+
"data-slot": "sheet-title",
|
|
596
|
+
className: c("font-heading text-base font-medium text-foreground", e),
|
|
597
|
+
...t
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
function $e({ className: e, ...t }) {
|
|
601
|
+
return /* @__PURE__ */ O(R.Description, {
|
|
602
|
+
"data-slot": "sheet-description",
|
|
603
|
+
className: c("text-sm text-muted-foreground", e),
|
|
604
|
+
...t
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
// src/theme-provider.tsx
|
|
608
|
+
var et = te(void 0);
|
|
609
|
+
function tt(e) {
|
|
610
|
+
return e === "dark" || e === "light" || e === "system";
|
|
611
|
+
}
|
|
612
|
+
function nt() {
|
|
613
|
+
return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
614
|
+
}
|
|
615
|
+
function rt(e) {
|
|
616
|
+
let t = window.document.documentElement;
|
|
617
|
+
t.classList.remove("light", "dark"), t.classList.add(e);
|
|
618
|
+
}
|
|
619
|
+
function it(e, t) {
|
|
620
|
+
try {
|
|
621
|
+
let n = localStorage.getItem(e);
|
|
622
|
+
return tt(n) ? n : t;
|
|
623
|
+
} catch {
|
|
624
|
+
return t;
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
function at({ children: e, defaultTheme: t = "system", storageKey: n = "vite-ui-theme" }) {
|
|
628
|
+
let [r, i] = D(() => it(n, t)), [a, o] = D(nt), s = r === "system" ? a : r;
|
|
629
|
+
T(() => {
|
|
630
|
+
rt(s);
|
|
631
|
+
}, [s]), T(() => {
|
|
632
|
+
let e = window.matchMedia("(prefers-color-scheme: dark)");
|
|
633
|
+
function t() {
|
|
634
|
+
o(e.matches ? "dark" : "light");
|
|
635
|
+
}
|
|
636
|
+
return e.addEventListener("change", t), () => {
|
|
637
|
+
e.removeEventListener("change", t);
|
|
638
|
+
};
|
|
639
|
+
}, []);
|
|
640
|
+
let c = ne((e) => {
|
|
641
|
+
try {
|
|
642
|
+
localStorage.setItem(n, e);
|
|
643
|
+
} catch {}
|
|
644
|
+
i(e);
|
|
645
|
+
}, [n]), l = ie(() => ({
|
|
646
|
+
theme: r,
|
|
647
|
+
resolvedTheme: s,
|
|
648
|
+
setTheme: c
|
|
649
|
+
}), [
|
|
650
|
+
r,
|
|
651
|
+
s,
|
|
652
|
+
c
|
|
653
|
+
]);
|
|
654
|
+
return /* @__PURE__ */ O(et.Provider, {
|
|
655
|
+
value: l,
|
|
656
|
+
children: e
|
|
657
|
+
});
|
|
658
|
+
}
|
|
659
|
+
function ot() {
|
|
660
|
+
let e = re(et);
|
|
661
|
+
if (e === void 0) throw Error("useTheme must be used within a ThemeProvider");
|
|
662
|
+
return e;
|
|
663
|
+
}
|
|
664
|
+
// src/ui/sonner.tsx
|
|
665
|
+
var st = ({ ...e }) => {
|
|
666
|
+
let { resolvedTheme: t } = ot(), n = r();
|
|
667
|
+
return /* @__PURE__ */ O(ae, {
|
|
668
|
+
theme: t,
|
|
669
|
+
className: "toaster group font-sans",
|
|
670
|
+
gap: 10,
|
|
671
|
+
icons: {
|
|
672
|
+
success: /* @__PURE__ */ O(ue, { className: "size-4" }),
|
|
673
|
+
info: /* @__PURE__ */ O(de, { className: "size-4" }),
|
|
674
|
+
warning: /* @__PURE__ */ O(M, { className: "size-4" }),
|
|
675
|
+
error: /* @__PURE__ */ O(pe, { className: "size-4" }),
|
|
676
|
+
loading: /* @__PURE__ */ O(ee, { className: "size-4" }),
|
|
677
|
+
close: /* @__PURE__ */ O(N, { className: "size-3.5" })
|
|
678
|
+
},
|
|
679
|
+
toastOptions: {
|
|
680
|
+
unstyled: !0,
|
|
681
|
+
closeButton: !0,
|
|
682
|
+
closeButtonAriaLabel: n("messages_toast_close"),
|
|
683
|
+
classNames: {
|
|
684
|
+
toast: "\n group/toast flex w-(--width) items-start gap-3 rounded-lg border bg-popover py-3 pr-10\n pl-3 text-sm text-popover-foreground shadow-lg shadow-black/5 outline-none\n focus-visible:ring-3 focus-visible:ring-ring/50\n data-[expanded=false]:data-[front=false]:*:opacity-0\n dark:shadow-black/30\n ",
|
|
685
|
+
success: "\n [--toast-accent:var(--color-emerald-600)]\n dark:[--toast-accent:var(--color-emerald-400)]\n ",
|
|
686
|
+
info: "\n [--toast-accent:var(--color-sky-600)]\n dark:[--toast-accent:var(--color-sky-400)]\n ",
|
|
687
|
+
warning: "\n [--toast-accent:var(--color-amber-600)]\n dark:[--toast-accent:var(--color-amber-400)]\n ",
|
|
688
|
+
error: "[--toast-accent:var(--destructive)]",
|
|
689
|
+
loading: "[--toast-accent:var(--muted-foreground)]",
|
|
690
|
+
icon: "\n flex size-7 shrink-0 items-center justify-center rounded-md bg-(--toast-accent)/12\n text-(--toast-accent)\n empty:hidden\n ",
|
|
691
|
+
content: "flex min-w-0 flex-1 flex-col gap-0.5 self-center",
|
|
692
|
+
title: "leading-5 font-medium wrap-anywhere",
|
|
693
|
+
description: "text-[13px]/5 wrap-anywhere text-muted-foreground",
|
|
694
|
+
actionButton: "\n inline-flex h-7 shrink-0 cursor-pointer items-center self-center rounded-md border\n bg-background px-2.5 text-xs font-medium shadow-xs transition-colors outline-none\n hover:bg-accent hover:text-accent-foreground\n focus-visible:ring-3 focus-visible:ring-ring/50\n ",
|
|
695
|
+
cancelButton: "\n inline-flex h-7 shrink-0 cursor-pointer items-center self-center rounded-md px-2.5\n text-xs font-medium text-muted-foreground transition-colors outline-none\n hover:bg-accent hover:text-accent-foreground\n focus-visible:ring-3 focus-visible:ring-ring/50\n ",
|
|
696
|
+
closeButton: "\n absolute top-2 right-2 flex size-6 cursor-pointer items-center justify-center rounded-md\n border-0 bg-transparent! text-muted-foreground! opacity-0 transition-opacity outline-none\n group-hover/toast:opacity-100\n hover:bg-accent! hover:text-accent-foreground!\n focus-visible:opacity-100 focus-visible:ring-3 focus-visible:ring-ring/50\n pointer-coarse:opacity-100\n "
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
...e
|
|
700
|
+
});
|
|
701
|
+
};
|
|
702
|
+
// src/ui/tabs.tsx
|
|
703
|
+
function ct({ className: e, orientation: t = "horizontal", ...n }) {
|
|
704
|
+
return /* @__PURE__ */ O(U.Root, {
|
|
705
|
+
"data-slot": "tabs",
|
|
706
|
+
"data-orientation": t,
|
|
707
|
+
className: c("\n group/tabs flex gap-2\n data-horizontal:flex-col\n ", e),
|
|
708
|
+
...n
|
|
709
|
+
});
|
|
710
|
+
}
|
|
711
|
+
var lt = P("\n group/tabs-list inline-flex w-fit items-center justify-center rounded-lg text-muted-foreground\n group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col\n data-[variant=line]:rounded-none\n ", {
|
|
712
|
+
variants: {
|
|
713
|
+
variant: {
|
|
714
|
+
default: "bg-muted",
|
|
715
|
+
line: "gap-1 bg-transparent"
|
|
716
|
+
},
|
|
717
|
+
size: {
|
|
718
|
+
default: "\n p-[3px]\n group-data-horizontal/tabs:h-8\n ",
|
|
719
|
+
sm: "\n p-0.5\n group-data-horizontal/tabs:h-7\n "
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
defaultVariants: {
|
|
723
|
+
variant: "default",
|
|
724
|
+
size: "default"
|
|
725
|
+
}
|
|
726
|
+
});
|
|
727
|
+
function Z({ className: e, variant: t = "default", size: n = "default", ...r }) {
|
|
728
|
+
return /* @__PURE__ */ O(U.List, {
|
|
729
|
+
"data-slot": "tabs-list",
|
|
730
|
+
"data-variant": t,
|
|
731
|
+
"data-size": n,
|
|
732
|
+
className: c(lt({
|
|
733
|
+
variant: t,
|
|
734
|
+
size: n
|
|
735
|
+
}), e),
|
|
736
|
+
...r
|
|
737
|
+
});
|
|
738
|
+
}
|
|
739
|
+
function Q({ className: e, ...t }) {
|
|
740
|
+
return /* @__PURE__ */ O(U.Tab, {
|
|
741
|
+
"data-slot": "tabs-trigger",
|
|
742
|
+
className: c("\n relative inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center\n gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium\n whitespace-nowrap text-foreground/60 transition-all\n group-data-[size=sm]/tabs-list:px-2 group-data-[size=sm]/tabs-list:text-xs\n group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start\n hover:text-foreground\n focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50\n focus-visible:outline-1 focus-visible:outline-ring\n disabled:pointer-events-none disabled:opacity-50\n has-data-[icon=inline-end]:pr-1\n has-data-[icon=inline-start]:pl-1\n aria-disabled:pointer-events-none aria-disabled:opacity-50\n dark:text-muted-foreground\n dark:hover:text-foreground\n group-data-[variant=default]/tabs-list:data-active:shadow-sm\n group-data-[variant=line]/tabs-list:data-active:shadow-none\n [&_svg]:pointer-events-none [&_svg]:shrink-0\n [&_svg:not([class*='size-'])]:size-4\n ", "\n group-data-[variant=line]/tabs-list:bg-transparent\n group-data-[variant=line]/tabs-list:data-active:bg-transparent\n dark:group-data-[variant=line]/tabs-list:data-active:border-transparent\n dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent\n ", "\n data-active:bg-background data-active:text-foreground\n dark:data-active:border-input dark:data-active:bg-input/30\n dark:data-active:text-foreground\n ", "\n after:absolute after:bg-foreground after:opacity-0 after:transition-opacity\n group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px]\n group-data-horizontal/tabs:after:h-0.5\n group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1\n group-data-vertical/tabs:after:w-0.5\n group-data-[variant=line]/tabs-list:data-active:after:opacity-100\n ", e),
|
|
743
|
+
...t
|
|
744
|
+
});
|
|
745
|
+
}
|
|
746
|
+
function $({ className: e, ...t }) {
|
|
747
|
+
return /* @__PURE__ */ O(U.Panel, {
|
|
748
|
+
"data-slot": "tabs-content",
|
|
749
|
+
className: c("flex-1 text-sm outline-none", e),
|
|
750
|
+
...t
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
// src/ui/message-history/panel.tsx
|
|
754
|
+
var ut = {
|
|
755
|
+
success: ue,
|
|
756
|
+
info: de,
|
|
757
|
+
warning: M,
|
|
758
|
+
error: pe
|
|
759
|
+
}, dt = {
|
|
760
|
+
success: "messages_kind_success",
|
|
761
|
+
info: "messages_kind_info",
|
|
762
|
+
warning: "messages_kind_warning",
|
|
763
|
+
error: "messages_kind_error"
|
|
764
|
+
};
|
|
765
|
+
function ft({ message: e, active: t }) {
|
|
766
|
+
let a = r(), o = i(), s = E(null);
|
|
767
|
+
T(() => {
|
|
768
|
+
if (!t || e.seen || !s.current) return;
|
|
769
|
+
let n = !1, r = () => {
|
|
770
|
+
n && document.visibilityState === "visible" && document.hasFocus() && o.markSeen([e.id]);
|
|
771
|
+
}, i = new IntersectionObserver((e) => {
|
|
772
|
+
n = e.some((e) => e.isIntersecting && e.intersectionRatio > 0), r();
|
|
773
|
+
});
|
|
774
|
+
return i.observe(s.current), document.addEventListener("visibilitychange", r), window.addEventListener("focus", r), () => {
|
|
775
|
+
i.disconnect(), document.removeEventListener("visibilitychange", r), window.removeEventListener("focus", r);
|
|
776
|
+
};
|
|
777
|
+
}, [
|
|
778
|
+
t,
|
|
779
|
+
e.id,
|
|
780
|
+
e.seen,
|
|
781
|
+
o
|
|
782
|
+
]);
|
|
783
|
+
let l = ut[e.kind], u = n(e.scope.href);
|
|
784
|
+
return /* @__PURE__ */ k("li", {
|
|
785
|
+
ref: s,
|
|
786
|
+
className: c("flex gap-3 px-5 py-3", e.kind === "error" && "bg-destructive/5"),
|
|
787
|
+
children: [
|
|
788
|
+
/* @__PURE__ */ O(l, {
|
|
789
|
+
"aria-hidden": "true",
|
|
790
|
+
className: c("mt-0.5 size-4 shrink-0", {
|
|
791
|
+
"text-destructive": e.kind === "error",
|
|
792
|
+
"text-amber-600 dark:text-amber-400": e.kind === "warning",
|
|
793
|
+
"text-green-600 dark:text-green-400": e.kind === "success",
|
|
794
|
+
"text-muted-foreground": e.kind === "info"
|
|
795
|
+
})
|
|
796
|
+
}),
|
|
797
|
+
/* @__PURE__ */ k("div", {
|
|
798
|
+
className: "min-w-0 flex-1",
|
|
799
|
+
children: [
|
|
800
|
+
/* @__PURE__ */ O("span", {
|
|
801
|
+
className: "sr-only",
|
|
802
|
+
children: a(dt[e.kind])
|
|
803
|
+
}),
|
|
804
|
+
/* @__PURE__ */ O("p", {
|
|
805
|
+
className: "wrap-anywhere whitespace-pre-wrap",
|
|
806
|
+
children: e.text
|
|
807
|
+
}),
|
|
808
|
+
/* @__PURE__ */ k("div", {
|
|
809
|
+
className: "\n mt-1 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-xs text-muted-foreground\n *:not-first:before:mr-2 *:not-first:before:inline-block *:not-first:before:font-normal\n *:not-first:before:text-muted-foreground *:not-first:before:content-['·'/'']\n ",
|
|
810
|
+
children: [
|
|
811
|
+
/* @__PURE__ */ O("time", {
|
|
812
|
+
dateTime: new Date(e.time).toISOString(),
|
|
813
|
+
children: F(e.time)
|
|
814
|
+
}),
|
|
815
|
+
e.scope.workspaceId ? /* @__PURE__ */ O("span", {
|
|
816
|
+
className: "min-w-0 wrap-anywhere",
|
|
817
|
+
children: e.scope.workspaceName ?? e.scope.workspaceId
|
|
818
|
+
}) : null,
|
|
819
|
+
u ? /* @__PURE__ */ O("a", {
|
|
820
|
+
href: u,
|
|
821
|
+
className: "\n font-medium text-primary underline-offset-4\n hover:underline\n ",
|
|
822
|
+
children: a("messages_open")
|
|
823
|
+
}) : null
|
|
824
|
+
]
|
|
825
|
+
})
|
|
826
|
+
]
|
|
827
|
+
}),
|
|
828
|
+
e.seen ? null : /* @__PURE__ */ O("span", {
|
|
829
|
+
role: "img",
|
|
830
|
+
"aria-label": a("messages_unseen"),
|
|
831
|
+
className: "mt-1.5 size-2 shrink-0 rounded-full bg-primary"
|
|
832
|
+
})
|
|
833
|
+
]
|
|
834
|
+
});
|
|
835
|
+
}
|
|
836
|
+
function pt({ notifications: t, notificationUnreadCount: n = 0 }) {
|
|
837
|
+
let a = r(), o = e(), s = i(), [c, l] = D(!1), [p, _] = D("messages"), v = o.some((e) => !e.seen), y = E(null), b = a(t == null ? "messages_tab" : "messages_title"), x = /* @__PURE__ */ O("div", {
|
|
838
|
+
className: "flex min-h-0 flex-1 flex-col text-sm",
|
|
839
|
+
children: o.length > 0 ? /* @__PURE__ */ k(oe, { children: [/* @__PURE__ */ k("div", {
|
|
840
|
+
className: "flex shrink-0 flex-wrap justify-end gap-1 border-b px-3 pb-2",
|
|
841
|
+
children: [/* @__PURE__ */ O(f, {
|
|
842
|
+
size: "sm",
|
|
843
|
+
variant: "ghost",
|
|
844
|
+
disabled: !v,
|
|
845
|
+
focusableWhenDisabled: !0,
|
|
846
|
+
className: "\n text-muted-foreground\n aria-disabled:opacity-40\n ",
|
|
847
|
+
onClick: () => {
|
|
848
|
+
s.markSeen(o.map((e) => e.id));
|
|
849
|
+
},
|
|
850
|
+
children: a("messages_mark_all")
|
|
851
|
+
}), /* @__PURE__ */ O(f, {
|
|
852
|
+
size: "sm",
|
|
853
|
+
variant: "ghost",
|
|
854
|
+
className: "text-muted-foreground",
|
|
855
|
+
onClick: () => {
|
|
856
|
+
y.current?.querySelector("[data-slot=\"sheet-close\"]")?.focus(), s.clear();
|
|
857
|
+
},
|
|
858
|
+
children: a("messages_clear")
|
|
859
|
+
})]
|
|
860
|
+
}), /* @__PURE__ */ O("ol", {
|
|
861
|
+
"aria-label": a("messages_tab"),
|
|
862
|
+
tabIndex: 0,
|
|
863
|
+
className: "\n min-h-0 flex-1 divide-y overflow-y-auto overscroll-contain outline-none\n focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset\n ",
|
|
864
|
+
children: o.map((e) => /* @__PURE__ */ O(ft, {
|
|
865
|
+
message: e,
|
|
866
|
+
active: c && (t == null || p === "messages")
|
|
867
|
+
}, e.id))
|
|
868
|
+
})] }) : /* @__PURE__ */ O(u, {
|
|
869
|
+
className: "justify-start px-8 py-16",
|
|
870
|
+
children: /* @__PURE__ */ k(d, { children: [
|
|
871
|
+
/* @__PURE__ */ O(m, {
|
|
872
|
+
variant: "icon",
|
|
873
|
+
children: /* @__PURE__ */ O(A, { "aria-hidden": "true" })
|
|
874
|
+
}),
|
|
875
|
+
/* @__PURE__ */ O(g, { children: a("messages_empty") }),
|
|
876
|
+
/* @__PURE__ */ O(h, { children: a("messages_empty_description") })
|
|
877
|
+
] })
|
|
878
|
+
})
|
|
879
|
+
});
|
|
880
|
+
return /* @__PURE__ */ k(Y, {
|
|
881
|
+
open: c,
|
|
882
|
+
onOpenChange: (e) => {
|
|
883
|
+
e && t != null && n > 0 && _("notifications"), l(e);
|
|
884
|
+
},
|
|
885
|
+
children: [/* @__PURE__ */ k(X, {
|
|
886
|
+
render: /* @__PURE__ */ O(f, {
|
|
887
|
+
size: "icon",
|
|
888
|
+
variant: "ghost",
|
|
889
|
+
className: "relative",
|
|
890
|
+
"aria-label": [
|
|
891
|
+
b,
|
|
892
|
+
...v ? [a("messages_unseen")] : [],
|
|
893
|
+
...n > 0 ? [a("messages_notification_count", { count: n })] : []
|
|
894
|
+
].join(". ")
|
|
895
|
+
}),
|
|
896
|
+
children: [/* @__PURE__ */ O(A, {}), n > 0 ? /* @__PURE__ */ O(S, {
|
|
897
|
+
"aria-hidden": "true",
|
|
898
|
+
className: "\n absolute -top-0.5 -right-0.5 h-4 min-w-4 justify-center rounded-full px-1 text-[10px]\n tabular-nums\n ",
|
|
899
|
+
children: n > 99 ? "99+" : n
|
|
900
|
+
}) : v ? /* @__PURE__ */ O("span", {
|
|
901
|
+
"aria-hidden": "true",
|
|
902
|
+
className: "absolute top-1 right-1 size-2 rounded-full bg-primary"
|
|
903
|
+
}) : null]
|
|
904
|
+
}), /* @__PURE__ */ k(Ye, {
|
|
905
|
+
ref: y,
|
|
906
|
+
className: "\n gap-0\n data-[side=right]:w-full\n data-[side=right]:sm:max-w-md\n ",
|
|
907
|
+
children: [
|
|
908
|
+
/* @__PURE__ */ O(Xe, {
|
|
909
|
+
className: "px-5 pt-3.5 pr-12 pb-3",
|
|
910
|
+
children: /* @__PURE__ */ O(Qe, { children: b })
|
|
911
|
+
}),
|
|
912
|
+
t == null ? x : /* @__PURE__ */ k(ct, {
|
|
913
|
+
value: p,
|
|
914
|
+
onValueChange: (e) => {
|
|
915
|
+
_(String(e));
|
|
916
|
+
},
|
|
917
|
+
className: "min-h-0 flex-1 gap-0",
|
|
918
|
+
children: [
|
|
919
|
+
/* @__PURE__ */ k(Z, {
|
|
920
|
+
className: "mx-5 mb-3 shrink-0",
|
|
921
|
+
children: [/* @__PURE__ */ O(Q, {
|
|
922
|
+
value: "messages",
|
|
923
|
+
children: a("messages_tab")
|
|
924
|
+
}), /* @__PURE__ */ O(Q, {
|
|
925
|
+
value: "notifications",
|
|
926
|
+
children: a("messages_notifications_tab")
|
|
927
|
+
})]
|
|
928
|
+
}),
|
|
929
|
+
/* @__PURE__ */ O($, {
|
|
930
|
+
value: "messages",
|
|
931
|
+
className: "flex min-h-0 flex-col",
|
|
932
|
+
children: x
|
|
933
|
+
}),
|
|
934
|
+
/* @__PURE__ */ O($, {
|
|
935
|
+
value: "notifications",
|
|
936
|
+
className: "min-h-0 overflow-y-auto overscroll-contain px-5",
|
|
937
|
+
children: t
|
|
938
|
+
})
|
|
939
|
+
]
|
|
940
|
+
}),
|
|
941
|
+
t == null || p === "messages" ? /* @__PURE__ */ O($e, {
|
|
942
|
+
className: "shrink-0 border-t px-5 py-3 text-xs/relaxed",
|
|
943
|
+
children: a("messages_description")
|
|
944
|
+
}) : null
|
|
945
|
+
]
|
|
946
|
+
})]
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
export { Re as A, be as B, Le as C, Ve as D, je as E, ge as F, Se as I, ve as L, Ae as M, W as N, Ie as O, G as P, ye as R, Be as S, He as T, xe as V, X as _, Q as a, Ue as b, at as c, Ke as d, Ye as f, Qe as g, Xe as h, Z as i, J as j, Me as k, ot as l, Ze as m, ct as n, lt as o, $e as p, $ as r, st as s, pt as t, Y as u, We as v, ze as w, Pe as x, Ge as y, _e as z };
|