@overvis/hmi-workspace-ui 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +28 -0
- package/README.md +84 -2
- package/THIRD_PARTY_NOTICES +151 -0
- package/dist/OFL-1.1.txt +93 -0
- package/dist/alarm-list-BL3xQ5Lf.js +423 -0
- package/dist/alarm-rule-dialog-S1ZUg-74.js +423 -0
- package/dist/alarm-rule-lists-C5v1Kf7A.js +344 -0
- package/dist/alarm-rules-page-CqFzofPd.js +121 -0
- package/dist/alert-B8MAoIO8.js +45 -0
- package/dist/alert-dialog-CYkuMg5D.js +129 -0
- package/dist/api-error-9rQmUN5L.js +93 -0
- package/dist/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/base-revision-YCO27zR4.js +106 -0
- package/dist/breadcrumb-DzVL1yHa.js +74 -0
- package/dist/breadcrumbs-0cjsV2cq.js +21 -0
- package/dist/button-6SxPBYMz.js +44 -0
- package/dist/catalog-list-DjZojYLJ.js +77 -0
- package/dist/code-editor-BVimvjDV.js +143 -0
- package/dist/context-u9KJQmdB.js +102 -0
- package/dist/copyable-id-DYGiAcnq.js +40 -0
- package/dist/dashboard-bindings.js +26 -0
- package/dist/dashboard-context-CBfG6DoT.js +191 -0
- package/dist/dashboards-page-BlrJguNz.js +1064 -0
- package/dist/date-time-picker-C3FhMXk6.js +266 -0
- package/dist/de-14WdmJxZ.js +4578 -0
- package/dist/diagnostic-text-BAkzW0SE.js +111 -0
- package/dist/diagnostic-text-DiKd2i1w.js +76 -0
- package/dist/dialog-BIhQXcZC.js +237 -0
- package/dist/dialog-BqyIxMD-.js +54 -0
- package/dist/dialogs-B6BRnf3Q.js +730 -0
- package/dist/dialogs-D_v1LeH4.js +7820 -0
- package/dist/display-DmOo23mi.js +79 -0
- package/dist/dropdown-menu-DSzbBq3v.js +136 -0
- package/dist/editor-language-To9MxloY.js +437 -0
- package/dist/editor-page-BiSZJz5b.js +1353 -0
- package/dist/empty-B-QJ-06w.js +59 -0
- package/dist/en-BgercpT0.js +4578 -0
- package/dist/entity-controls-D1K4Ot3O.js +76 -0
- package/dist/errors-CcsvDHu8.js +26 -0
- package/dist/footer-DC-Q0052.js +10675 -0
- package/dist/history-page-sAAhG54V.js +1400 -0
- package/dist/host.js +1523 -0
- package/dist/i18n-BgzakKoC.js +401 -0
- package/dist/i18n.js +2 -0
- package/dist/icon-D-pR9htW.js +57 -0
- package/dist/index-page-DMH82fZe.js +214 -0
- package/dist/index.js +19118 -0
- package/dist/item-B5SaTFQU.js +120 -0
- package/dist/lat-lng-B12P7QyY.js +11 -0
- package/dist/list-page-CvsdZb86.js +363 -0
- package/dist/location-map-renderer-DO5yfdSU.js +145 -0
- package/dist/location-picker-renderer-CjCxg6ai.js +105 -0
- package/dist/model-B8gGi4OK.js +9 -0
- package/dist/mutation-form-validators-BNz5bsv1.js +2408 -0
- package/dist/mutations-THtGG6Ai.js +240 -0
- package/dist/notice-card-DyGywFsW.js +246 -0
- package/dist/page-2KPemaAj.js +328 -0
- package/dist/page-6rIoTg2L.js +459 -0
- package/dist/page-C6giEoEd.js +1935 -0
- package/dist/page-DCbTxKsi.js +313 -0
- package/dist/page-DWO427hT.js +208 -0
- package/dist/page-LXu_2zm3.js +137 -0
- package/dist/page-aaUiVOnk.js +513 -0
- package/dist/page-header-RB2YFWlE.js +55 -0
- package/dist/page-title-CdCbiLt8.js +14 -0
- package/dist/page-v6LCwswN.js +304 -0
- package/dist/panel-DDy8tUNR.js +338 -0
- package/dist/parameter-values.js +215 -0
- package/dist/pl-lQ9HXV9k.js +4578 -0
- package/dist/presence-code-BfSXr50g.js +83 -0
- package/dist/progress-C7cxNJA1.js +83 -0
- package/dist/provider-BOeYHi0n.js +134 -0
- package/dist/provider-DoEpKcQ-.js +29015 -0
- package/dist/query-gate-DVhNIkge.js +33 -0
- package/dist/quick-report-CUVJnbKP.js +416 -0
- package/dist/radio-group-CZGqVbkJ.js +26 -0
- package/dist/retention-BYXNpYmR.js +62 -0
- package/dist/retention-note-CHhA6gjY.js +42 -0
- package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist/ru-qTKINoUj.js +4578 -0
- package/dist/run-text-DvaO8LDF.js +113 -0
- package/dist/search-D4rDnE9T.js +265 -0
- package/dist/sections-kCOyc4NR.js +77 -0
- package/dist/select-BKiOWdSr.js +539 -0
- package/dist/select-eNgZdZ30.js +521 -0
- package/dist/skeleton-6yk8Tdh5.js +19 -0
- package/dist/slider-DorDsoF8.js +37 -0
- package/dist/spinner-C-HPNxOc.js +530 -0
- package/dist/src/audit/checkpoint-presentation.d.ts +2 -0
- package/dist/src/audit/checkpoints.d.ts +23 -0
- package/dist/src/audit/history-model.d.ts +3 -0
- package/dist/src/audit/history-page.d.ts +13 -0
- package/dist/src/audit/history-presentation.d.ts +21 -0
- package/dist/src/audit/history-search.d.ts +6 -0
- package/dist/src/audit/revert-checkpoint-dialog.d.ts +29 -0
- package/dist/src/audit/revert-device-confirmation.d.ts +20 -0
- package/dist/src/audit/setup-change-list.d.ts +5 -0
- package/dist/src/brand/brand-link.d.ts +7 -0
- package/dist/src/brand/local-brand-link.d.ts +11 -0
- package/dist/src/brand/overvis-logo.d.ts +10 -0
- package/dist/src/brand/workspace-brand-link.d.ts +10 -0
- package/dist/src/brand/workspace-favicon.d.ts +4 -0
- package/dist/src/chrome/language-switcher.d.ts +3 -0
- package/dist/src/chrome/mode-toggle.d.ts +1 -0
- package/dist/src/chrome/text-link.d.ts +8 -0
- package/dist/src/code-editor/code-editor.d.ts +55 -0
- package/dist/src/code-editor/formula-input.d.ts +20 -0
- package/dist/src/code-editor/json-positions.d.ts +26 -0
- package/dist/src/code-editor/language-features.d.ts +122 -0
- package/dist/src/code-editor/taskfile-language.d.ts +10 -0
- package/dist/src/dev-fatal/error-boundary.d.ts +10 -0
- package/dist/src/dev-fatal/format-console-error.d.ts +5 -0
- package/dist/src/dev-fatal/install.d.ts +6 -0
- package/dist/src/dev-fatal/is-enabled.d.ts +7 -0
- package/dist/src/dev-fatal/overlay.d.ts +8 -0
- package/dist/src/dev-fatal/report-render-error.d.ts +6 -0
- package/dist/src/dev-fatal/should-ignore.d.ts +5 -0
- package/dist/src/entry/host/index.d.ts +43 -0
- package/dist/src/entry/ui/index.d.ts +80 -0
- package/dist/src/form/api-error.d.ts +11 -0
- package/dist/src/form/fields/checkbox-field.d.ts +9 -0
- package/dist/src/form/fields/dashboard-picker-field.d.ts +13 -0
- package/dist/src/form/fields/formula-field.d.ts +11 -0
- package/dist/src/form/fields/otp-field.d.ts +14 -0
- package/dist/src/form/fields/parameter-picker-field.d.ts +3 -0
- package/dist/src/form/fields/text-field.d.ts +9 -0
- package/dist/src/form/fields/textarea-field.d.ts +6 -0
- package/dist/src/form/focus-first-invalid-field.d.ts +4 -0
- package/dist/src/form/form-contexts.d.ts +1 -0
- package/dist/src/form/form-error-banner.d.ts +4 -0
- package/dist/src/form/form-root.d.ts +18 -0
- package/dist/src/form/format-field-errors.d.ts +10 -0
- package/dist/src/form/index.d.ts +36 -0
- package/dist/src/form/map-trpc-to-form-errors.d.ts +34 -0
- package/dist/src/form/message.d.ts +5 -0
- package/dist/src/form/mutation-form-validators.d.ts +41 -0
- package/dist/src/form/submit-button.d.ts +13 -0
- package/dist/src/form/trpc-error-data.d.ts +19 -0
- package/dist/src/form/use-app-form.d.ts +89 -0
- package/dist/src/hooks/use-closed-minute.d.ts +6 -0
- package/dist/src/hooks/use-media-query.d.ts +2 -0
- package/dist/src/hooks/use-mobile.d.ts +1 -0
- package/dist/src/hooks/use-now.d.ts +5 -0
- package/dist/src/i18n/catalogs/de/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/de/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/de/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/de/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/de/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/de/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/de/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/de/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/de/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/de/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/de/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/de/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/de/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/de/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/de/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/de/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/de/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/de/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/de/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/de/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/de/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/de/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/de/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/de/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/de/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/de/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/de/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/de/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/de/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/de/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/de/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/de/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/de/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/de/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/de/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/de.d.ts +4510 -0
- package/dist/src/i18n/catalogs/en/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/en/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/en/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/en/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/en/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/en/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/en/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/en/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/en/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/en/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/en/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/en/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/en/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/en/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/en/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/en/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/en/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/en/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/en/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/en/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/en/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/en/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/en/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/en/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/en/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/en/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/en/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/en/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/en/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/en/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/en/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/en/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/en/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/en/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/en/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/en.d.ts +4510 -0
- package/dist/src/i18n/catalogs/pl/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/pl/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/pl/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/pl/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/pl/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/pl/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/pl/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/pl/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/pl/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/pl/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/pl/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/pl/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/pl/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/pl/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/pl/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/pl/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/pl/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/pl/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/pl/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/pl/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/pl/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/pl/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/pl/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/pl/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/pl/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/pl/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/pl/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/pl/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/pl/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/pl/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/pl/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/pl/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/pl/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/pl/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/pl/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/pl.d.ts +4510 -0
- package/dist/src/i18n/catalogs/ru/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/ru/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/ru/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/ru/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/ru/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/ru/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/ru/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/ru/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/ru/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/ru/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/ru/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/ru/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/ru/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/ru/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/ru/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/ru/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/ru/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/ru/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/ru/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/ru/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/ru/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/ru/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/ru/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/ru/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/ru/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/ru/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/ru/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/ru/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/ru/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/ru/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/ru/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/ru/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/ru/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/ru/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/ru/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/ru.d.ts +4510 -0
- package/dist/src/i18n/catalogs/uk/action.d.ts +14 -0
- package/dist/src/i18n/catalogs/uk/alarm.d.ts +79 -0
- package/dist/src/i18n/catalogs/uk/api-error.d.ts +261 -0
- package/dist/src/i18n/catalogs/uk/audit.d.ts +133 -0
- package/dist/src/i18n/catalogs/uk/automation-editor.d.ts +220 -0
- package/dist/src/i18n/catalogs/uk/automation-language.d.ts +249 -0
- package/dist/src/i18n/catalogs/uk/automation.d.ts +59 -0
- package/dist/src/i18n/catalogs/uk/brand.d.ts +4 -0
- package/dist/src/i18n/catalogs/uk/cold-room.d.ts +26 -0
- package/dist/src/i18n/catalogs/uk/copyable.d.ts +6 -0
- package/dist/src/i18n/catalogs/uk/dashboard.d.ts +92 -0
- package/dist/src/i18n/catalogs/uk/device-preset.d.ts +71 -0
- package/dist/src/i18n/catalogs/uk/document.d.ts +52 -0
- package/dist/src/i18n/catalogs/uk/edge-program-language.d.ts +165 -0
- package/dist/src/i18n/catalogs/uk/edge-program.d.ts +238 -0
- package/dist/src/i18n/catalogs/uk/endpoint.d.ts +112 -0
- package/dist/src/i18n/catalogs/uk/error.d.ts +34 -0
- package/dist/src/i18n/catalogs/uk/fleet.d.ts +247 -0
- package/dist/src/i18n/catalogs/uk/formula.d.ts +35 -0
- package/dist/src/i18n/catalogs/uk/graphics.d.ts +417 -0
- package/dist/src/i18n/catalogs/uk/language.d.ts +10 -0
- package/dist/src/i18n/catalogs/uk/messages.d.ts +19 -0
- package/dist/src/i18n/catalogs/uk/parameter.d.ts +373 -0
- package/dist/src/i18n/catalogs/uk/pull.d.ts +11 -0
- package/dist/src/i18n/catalogs/uk/report.d.ts +377 -0
- package/dist/src/i18n/catalogs/uk/setup.d.ts +65 -0
- package/dist/src/i18n/catalogs/uk/starter.d.ts +38 -0
- package/dist/src/i18n/catalogs/uk/storage.d.ts +124 -0
- package/dist/src/i18n/catalogs/uk/symbols-hvac.d.ts +142 -0
- package/dist/src/i18n/catalogs/uk/symbols-power.d.ts +122 -0
- package/dist/src/i18n/catalogs/uk/symbols-quarry.d.ts +81 -0
- package/dist/src/i18n/catalogs/uk/symbols.d.ts +676 -0
- package/dist/src/i18n/catalogs/uk/theme.d.ts +4 -0
- package/dist/src/i18n/catalogs/uk/ui.d.ts +37 -0
- package/dist/src/i18n/catalogs/uk/workspace.d.ts +19 -0
- package/dist/src/i18n/catalogs/uk.d.ts +4510 -0
- package/dist/src/i18n/index.d.ts +4 -0
- package/dist/src/i18n/locale.d.ts +11 -0
- package/dist/src/i18n/messages.d.ts +12 -0
- package/dist/src/i18n/use-language-change.d.ts +5 -0
- package/dist/src/i18n/use-locale.d.ts +1 -0
- package/dist/src/index.d.ts +151 -0
- package/dist/src/lib/utils.d.ts +2 -0
- package/dist/src/theme-provider.d.ts +16 -0
- package/dist/src/trpc.d.ts +37 -0
- package/dist/src/ui/accordion.d.ts +6 -0
- package/dist/src/ui/alert-dialog.d.ts +20 -0
- package/dist/src/ui/alert.d.ts +10 -0
- package/dist/src/ui/aspect-ratio.d.ts +6 -0
- package/dist/src/ui/attachment.d.ts +23 -0
- package/dist/src/ui/avatar.d.ts +11 -0
- package/dist/src/ui/badge.d.ts +6 -0
- package/dist/src/ui/breadcrumb.d.ts +10 -0
- package/dist/src/ui/bubble.d.ts +16 -0
- package/dist/src/ui/button-group.d.ts +10 -0
- package/dist/src/ui/button.d.ts +8 -0
- package/dist/src/ui/calendar.d.ts +10 -0
- package/dist/src/ui/card.d.ts +11 -0
- package/dist/src/ui/carousel.d.ts +28 -0
- package/dist/src/ui/chart.d.ts +60 -0
- package/dist/src/ui/checkbox.d.ts +3 -0
- package/dist/src/ui/collapsible.d.ts +5 -0
- package/dist/src/ui/combobox.d.ts +24 -0
- package/dist/src/ui/command.d.ts +19 -0
- package/dist/src/ui/content-overlay/dismiss.d.ts +10 -0
- package/dist/src/ui/content-overlay/region.d.ts +37 -0
- package/dist/src/ui/content-overlay/root.d.ts +3 -0
- package/dist/src/ui/content-overlay/tab-wrap.d.ts +6 -0
- package/dist/src/ui/context-menu.d.ts +28 -0
- package/dist/src/ui/data-table.d.ts +38 -0
- package/dist/src/ui/date-time-picker.d.ts +30 -0
- package/dist/src/ui/dialog.d.ts +19 -0
- package/dist/src/ui/direction.d.ts +3 -0
- package/dist/src/ui/drawer.d.ts +18 -0
- package/dist/src/ui/dropdown-menu.d.ts +29 -0
- package/dist/src/ui/empty.d.ts +11 -0
- package/dist/src/ui/field.d.ts +24 -0
- package/dist/src/ui/gauge-bar.d.ts +43 -0
- package/dist/src/ui/gauge.d.ts +24 -0
- package/dist/src/ui/hover-card.d.ts +5 -0
- package/dist/src/ui/input-group.d.ts +18 -0
- package/dist/src/ui/input-otp.d.ts +11 -0
- package/dist/src/ui/input.d.ts +3 -0
- package/dist/src/ui/item.d.ts +22 -0
- package/dist/src/ui/kbd.d.ts +3 -0
- package/dist/src/ui/label.d.ts +3 -0
- package/dist/src/ui/marker.d.ts +10 -0
- package/dist/src/ui/menubar.d.ts +28 -0
- package/dist/src/ui/message-history/context.d.ts +51 -0
- package/dist/src/ui/message-history/emit.d.ts +27 -0
- package/dist/src/ui/message-history/legacy-content.d.ts +6 -0
- package/dist/src/ui/message-history/legacy.d.ts +7 -0
- package/dist/src/ui/message-history/model.d.ts +22 -0
- package/dist/src/ui/message-history/panel.d.ts +6 -0
- package/dist/src/ui/message-history/store.d.ts +26 -0
- package/dist/src/ui/message-history/toast.d.ts +7 -0
- package/dist/src/ui/message-scroller.d.ts +20 -0
- package/dist/src/ui/message.d.ts +10 -0
- package/dist/src/ui/native-select.d.ts +8 -0
- package/dist/src/ui/navigation-menu.d.ts +11 -0
- package/dist/src/ui/notice-card.d.ts +61 -0
- package/dist/src/ui/page-header.d.ts +21 -0
- package/dist/src/ui/page-title.d.ts +5 -0
- package/dist/src/ui/pagination.d.ts +17 -0
- package/dist/src/ui/popover.d.ts +9 -0
- package/dist/src/ui/progress.d.ts +7 -0
- package/dist/src/ui/questionnaire.d.ts +19 -0
- package/dist/src/ui/radio-group.d.ts +5 -0
- package/dist/src/ui/resizable.d.ts +7 -0
- package/dist/src/ui/scroll-area.d.ts +5 -0
- package/dist/src/ui/select.d.ts +11 -0
- package/dist/src/ui/separator.d.ts +3 -0
- package/dist/src/ui/sheet.d.ts +14 -0
- package/dist/src/ui/sidebar.d.ts +63 -0
- package/dist/src/ui/skeleton.d.ts +7 -0
- package/dist/src/ui/slider.d.ts +3 -0
- package/dist/src/ui/sonner.d.ts +9 -0
- package/dist/src/ui/sparkline.d.ts +31 -0
- package/dist/src/ui/spinner.d.ts +2 -0
- package/dist/src/ui/svg-diagram/dom.d.ts +6 -0
- package/dist/src/ui/svg-diagram/types.d.ts +13 -0
- package/dist/src/ui/svg-diagram.d.ts +8 -0
- package/dist/src/ui/switch.d.ts +5 -0
- package/dist/src/ui/table.d.ts +10 -0
- package/dist/src/ui/tabs.d.ts +11 -0
- package/dist/src/ui/textarea.d.ts +3 -0
- package/dist/src/ui/theme-scope.d.ts +11 -0
- package/dist/src/ui/toggle-group.d.ts +11 -0
- package/dist/src/ui/toggle.d.ts +8 -0
- package/dist/src/ui/tooltip.d.ts +6 -0
- package/dist/src/version.d.ts +2 -0
- package/dist/src/workspace/access-label.d.ts +2 -0
- package/dist/src/workspace/alarms/actions.d.ts +19 -0
- package/dist/src/workspace/alarms/alarm-list.d.ts +65 -0
- package/dist/src/workspace/alarms/history.d.ts +17 -0
- package/dist/src/workspace/alarms/model.d.ts +29 -0
- package/dist/src/workspace/alarms/nav.d.ts +15 -0
- package/dist/src/workspace/alarms/page.d.ts +10 -0
- package/dist/src/workspace/alarms/provider.d.ts +30 -0
- package/dist/src/workspace/alarms/search.d.ts +8 -0
- package/dist/src/workspace/alarms/sound.d.ts +9 -0
- package/dist/src/workspace/automations/diagnostic-text.d.ts +6 -0
- package/dist/src/workspace/automations/editor-language.d.ts +13 -0
- package/dist/src/workspace/automations/item-descriptions.d.ts +3 -0
- package/dist/src/workspace/automations/parameter-names.d.ts +2 -0
- package/dist/src/workspace/automations/run-text.d.ts +18 -0
- package/dist/src/workspace/automations/trace-view.d.ts +24 -0
- package/dist/src/workspace/automations/use-catalog.d.ts +10 -0
- package/dist/src/workspace/caches.d.ts +41 -0
- package/dist/src/workspace/context.d.ts +71 -0
- package/dist/src/workspace/copyable-id.d.ts +4 -0
- package/dist/src/workspace/dashboards/actions-menu.d.ts +4 -0
- package/dist/src/workspace/dashboards/anchor-scroll.d.ts +11 -0
- package/dist/src/workspace/dashboards/bindings.d.ts +26 -0
- package/dist/src/workspace/dashboards/configuration-rename-dialog.d.ts +10 -0
- package/dist/src/workspace/dashboards/configuration-required.d.ts +10 -0
- package/dist/src/workspace/dashboards/configuration-update-queue.d.ts +2 -0
- package/dist/src/workspace/dashboards/copy-dialog.d.ts +7 -0
- package/dist/src/workspace/dashboards/document/blocks.d.ts +42 -0
- package/dist/src/workspace/dashboards/document/chart-data.d.ts +13 -0
- package/dist/src/workspace/dashboards/document/chart.d.ts +10 -0
- package/dist/src/workspace/dashboards/document/layout.d.ts +29 -0
- package/dist/src/workspace/dashboards/document/markdown.d.ts +7 -0
- package/dist/src/workspace/dashboards/document/sources.d.ts +32 -0
- package/dist/src/workspace/dashboards/document/tiles/chart.d.ts +23 -0
- package/dist/src/workspace/dashboards/document/tiles/context.d.ts +23 -0
- package/dist/src/workspace/dashboards/document/tiles/controls.d.ts +23 -0
- package/dist/src/workspace/dashboards/document/tiles/frame.d.ts +28 -0
- package/dist/src/workspace/dashboards/document/tiles/gauge-model.d.ts +4 -0
- package/dist/src/workspace/dashboards/document/tiles/gauge.d.ts +11 -0
- package/dist/src/workspace/dashboards/document/tiles/presentation.d.ts +29 -0
- package/dist/src/workspace/dashboards/document/tiles/reading.d.ts +14 -0
- package/dist/src/workspace/dashboards/document/tiles/sparkline.d.ts +7 -0
- package/dist/src/workspace/dashboards/document/tiles/tile.d.ts +8 -0
- package/dist/src/workspace/dashboards/document/tiles/tones.d.ts +44 -0
- package/dist/src/workspace/dashboards/document/tiles/use-tile-tone.d.ts +19 -0
- package/dist/src/workspace/dashboards/document/tiles/value.d.ts +8 -0
- package/dist/src/workspace/dashboards/document/view.d.ts +16 -0
- package/dist/src/workspace/dashboards/enabled-switch.d.ts +10 -0
- package/dist/src/workspace/dashboards/entrypoint.d.ts +15 -0
- package/dist/src/workspace/dashboards/icon.d.ts +6 -0
- package/dist/src/workspace/dashboards/load-module.d.ts +40 -0
- package/dist/src/workspace/dashboards/locale.d.ts +8 -0
- package/dist/src/workspace/dashboards/module-cache.d.ts +9 -0
- package/dist/src/workspace/dashboards/mount-diagnostics.d.ts +23 -0
- package/dist/src/workspace/dashboards/mount.d.ts +39 -0
- package/dist/src/workspace/dashboards/name.d.ts +11 -0
- package/dist/src/workspace/dashboards/navigation.d.ts +51 -0
- package/dist/src/workspace/dashboards/page-paths.d.ts +7 -0
- package/dist/src/workspace/dashboards/page-tabs.d.ts +23 -0
- package/dist/src/workspace/dashboards/page.d.ts +4 -0
- package/dist/src/workspace/dashboards/rotation.d.ts +26 -0
- package/dist/src/workspace/dashboards/search-params.d.ts +7 -0
- package/dist/src/workspace/dashboards/sortable-grid.d.ts +79 -0
- package/dist/src/workspace/dashboards/stylesheet.d.ts +9 -0
- package/dist/src/workspace/dashboards/use-configuration-mutation.d.ts +40 -0
- package/dist/src/workspace/device-api/errors.d.ts +6 -0
- package/dist/src/workspace/device-api/use-device-api.d.ts +75 -0
- package/dist/src/workspace/device-presets/cold-room-card.d.ts +17 -0
- package/dist/src/workspace/device-presets/cold-room-commands.d.ts +19 -0
- package/dist/src/workspace/device-presets/cold-room-labels.d.ts +5 -0
- package/dist/src/workspace/device-presets/cold-room-model.d.ts +141 -0
- package/dist/src/workspace/device-presets/command-button.d.ts +34 -0
- package/dist/src/workspace/device-presets/endpoint-unavailable.d.ts +15 -0
- package/dist/src/workspace/device-presets/gauge-scale.d.ts +23 -0
- package/dist/src/workspace/device-presets/gauges.d.ts +52 -0
- package/dist/src/workspace/device-presets/header.d.ts +14 -0
- package/dist/src/workspace/device-presets/layout.d.ts +52 -0
- package/dist/src/workspace/device-presets/overview.d.ts +103 -0
- package/dist/src/workspace/device-presets/quantity.d.ts +5 -0
- package/dist/src/workspace/device-presets/relay-test-panel.d.ts +37 -0
- package/dist/src/workspace/device-presets/relay-test.d.ts +164 -0
- package/dist/src/workspace/device-presets/series-colors.d.ts +58 -0
- package/dist/src/workspace/device-presets/settings-choice.d.ts +20 -0
- package/dist/src/workspace/device-presets/settings-fields.d.ts +39 -0
- package/dist/src/workspace/device-presets/settings-form.d.ts +35 -0
- package/dist/src/workspace/device-presets/settings-page.d.ts +29 -0
- package/dist/src/workspace/device-presets/settings-rows.d.ts +25 -0
- package/dist/src/workspace/device-presets/settings-section.d.ts +78 -0
- package/dist/src/workspace/device-presets/settings-text.d.ts +5 -0
- package/dist/src/workspace/device-presets/settings-types.d.ts +122 -0
- package/dist/src/workspace/device-presets/settings-write-dialog.d.ts +27 -0
- package/dist/src/workspace/device-presets/settings-write.d.ts +73 -0
- package/dist/src/workspace/device-presets/state-text.d.ts +17 -0
- package/dist/src/workspace/device-presets/trend-chart.d.ts +51 -0
- package/dist/src/workspace/device-presets/trend-model.d.ts +45 -0
- package/dist/src/workspace/device-presets/unsupported.d.ts +14 -0
- package/dist/src/workspace/device-presets/values.d.ts +56 -0
- package/dist/src/workspace/edge-programs/deploy-status.d.ts +12 -0
- package/dist/src/workspace/edge-programs/diagnostic-text.d.ts +9 -0
- package/dist/src/workspace/edge-programs/editor-language.d.ts +15 -0
- package/dist/src/workspace/edge-programs/item-descriptions.d.ts +3 -0
- package/dist/src/workspace/edge-programs/live-state.d.ts +12 -0
- package/dist/src/workspace/endpoint-status/provider.d.ts +16 -0
- package/dist/src/workspace/endpoint-status/store.d.ts +18 -0
- package/dist/src/workspace/errors.d.ts +1 -0
- package/dist/src/workspace/fleet/alarms.d.ts +27 -0
- package/dist/src/workspace/fleet/binding-editor.d.ts +65 -0
- package/dist/src/workspace/fleet/board-editor.d.ts +118 -0
- package/dist/src/workspace/fleet/command-buttons.d.ts +19 -0
- package/dist/src/workspace/fleet/command-entry.d.ts +25 -0
- package/dist/src/workspace/fleet/command-steps.d.ts +65 -0
- package/dist/src/workspace/fleet/control-mode.d.ts +30 -0
- package/dist/src/workspace/fleet/counter-bars.d.ts +109 -0
- package/dist/src/workspace/fleet/counter-notices.d.ts +23 -0
- package/dist/src/workspace/fleet/counter-period.d.ts +35 -0
- package/dist/src/workspace/fleet/counter-shares.d.ts +34 -0
- package/dist/src/workspace/fleet/counter-total.d.ts +43 -0
- package/dist/src/workspace/fleet/counter-totals.d.ts +77 -0
- package/dist/src/workspace/fleet/due-dates.d.ts +18 -0
- package/dist/src/workspace/fleet/duplicate-dialog.d.ts +63 -0
- package/dist/src/workspace/fleet/editor-dialog.d.ts +26 -0
- package/dist/src/workspace/fleet/equipment-setup.d.ts +44 -0
- package/dist/src/workspace/fleet/equipment-view.d.ts +31 -0
- package/dist/src/workspace/fleet/figure.d.ts +18 -0
- package/dist/src/workspace/fleet/form-types.d.ts +15 -0
- package/dist/src/workspace/fleet/group-command-dialogs.d.ts +43 -0
- package/dist/src/workspace/fleet/group-command.d.ts +83 -0
- package/dist/src/workspace/fleet/indicator-lights.d.ts +23 -0
- package/dist/src/workspace/fleet/map.d.ts +41 -0
- package/dist/src/workspace/fleet/mode-badge.d.ts +7 -0
- package/dist/src/workspace/fleet/operations.d.ts +23 -0
- package/dist/src/workspace/fleet/order-editor.d.ts +13 -0
- package/dist/src/workspace/fleet/overview-model.d.ts +43 -0
- package/dist/src/workspace/fleet/overview.d.ts +93 -0
- package/dist/src/workspace/fleet/page-header.d.ts +27 -0
- package/dist/src/workspace/fleet/parameters.d.ts +65 -0
- package/dist/src/workspace/fleet/period-settings.d.ts +66 -0
- package/dist/src/workspace/fleet/placement-fields.d.ts +104 -0
- package/dist/src/workspace/fleet/position.d.ts +13 -0
- package/dist/src/workspace/fleet/readings.d.ts +64 -0
- package/dist/src/workspace/fleet/section.d.ts +7 -0
- package/dist/src/workspace/fleet/site-page.d.ts +150 -0
- package/dist/src/workspace/fleet/slot-fields.d.ts +53 -0
- package/dist/src/workspace/fleet/starter-fields.d.ts +63 -0
- package/dist/src/workspace/fleet/status-badge.d.ts +23 -0
- package/dist/src/workspace/fleet/status.d.ts +85 -0
- package/dist/src/workspace/formulas/diagnostic-text.d.ts +7 -0
- package/dist/src/workspace/graphics/actions/details.d.ts +49 -0
- package/dist/src/workspace/graphics/actions/dialog.d.ts +12 -0
- package/dist/src/workspace/graphics/actions/selection.d.ts +1352 -0
- package/dist/src/workspace/graphics/binding-value.d.ts +19 -0
- package/dist/src/workspace/graphics/bindings.d.ts +847 -0
- package/dist/src/workspace/graphics/canvas.d.ts +47 -0
- package/dist/src/workspace/graphics/commands/fields.d.ts +7 -0
- package/dist/src/workspace/graphics/commands/model.d.ts +10 -0
- package/dist/src/workspace/graphics/commands/provider.d.ts +285 -0
- package/dist/src/workspace/graphics/dashboard-graphics.d.ts +12 -0
- package/dist/src/workspace/graphics/editor-session.d.ts +47 -0
- package/dist/src/workspace/graphics/framing.d.ts +28 -0
- package/dist/src/workspace/graphics/generated-drawing.d.ts +47 -0
- package/dist/src/workspace/graphics/geometry.d.ts +41 -0
- package/dist/src/workspace/graphics/image-cache.d.ts +18 -0
- package/dist/src/workspace/graphics/image-dialog.d.ts +5 -0
- package/dist/src/workspace/graphics/image-picker.d.ts +5 -0
- package/dist/src/workspace/graphics/inspector/bindings.d.ts +17 -0
- package/dist/src/workspace/graphics/inspector/element.d.ts +10 -0
- package/dist/src/workspace/graphics/inspector/fields.d.ts +69 -0
- package/dist/src/workspace/graphics/inspector/item.d.ts +862 -0
- package/dist/src/workspace/graphics/inspector/multi.d.ts +10 -0
- package/dist/src/workspace/graphics/inspector/panel.d.ts +27 -0
- package/dist/src/workspace/graphics/inspector/ports.d.ts +2 -0
- package/dist/src/workspace/graphics/inspector/section.d.ts +14 -0
- package/dist/src/workspace/graphics/inspector/slots.d.ts +7 -0
- package/dist/src/workspace/graphics/inspector/symbol.d.ts +11 -0
- package/dist/src/workspace/graphics/line-geometry.d.ts +26 -0
- package/dist/src/workspace/graphics/lines.d.ts +14 -0
- package/dist/src/workspace/graphics/node-memo.d.ts +3 -0
- package/dist/src/workspace/graphics/node.d.ts +3 -0
- package/dist/src/workspace/graphics/placement.d.ts +23 -0
- package/dist/src/workspace/graphics/quality-indicator.d.ts +6 -0
- package/dist/src/workspace/graphics/resize-handles.d.ts +8 -0
- package/dist/src/workspace/graphics/source-picker.d.ts +35 -0
- package/dist/src/workspace/graphics/symbol-issues.d.ts +26 -0
- package/dist/src/workspace/graphics/symbols/agriculture/fertigation.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/agriculture/index.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/agriculture/soil-sensor.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/agriculture/soil.d.ts +9 -0
- package/dist/src/workspace/graphics/symbols/agriculture/sprinkler.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/agriculture/zone.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/bindings.d.ts +34 -0
- package/dist/src/workspace/graphics/symbols/browser.d.ts +28 -0
- package/dist/src/workspace/graphics/symbols/builtins.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/button.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/catalog.d.ts +41 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/compressor.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/drain.d.ts +15 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/receiver.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/compressed-air/treatment.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/definition.d.ts +115 -0
- package/dist/src/workspace/graphics/symbols/electrical/breaker.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/electrical/compensation.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/electrical/index.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/electrical/loads.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/electrical/machines.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/electrical/metering.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/electrical/presentation.d.ts +132 -0
- package/dist/src/workspace/graphics/symbols/electrical/renewables.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/electrical/storage.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/electrical/supply.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/electrical/switchgear.d.ts +61 -0
- package/dist/src/workspace/graphics/symbols/food/filling.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/food/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/food/vessel.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/fuel-gas/gas-detector.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/fuel-gas/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/handles.d.ts +6 -0
- package/dist/src/workspace/graphics/symbols/hvac/air-handling.d.ts +4 -0
- package/dist/src/workspace/graphics/symbols/hvac/air-section.d.ts +60 -0
- package/dist/src/workspace/graphics/symbols/hvac/air-terminals.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/air-treatment.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/circuit.d.ts +45 -0
- package/dist/src/workspace/graphics/symbols/hvac/cooling-plant.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/firing.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/hydronic.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/hvac/index.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/hvac/instruments.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/hvac/presentation.d.ts +162 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/actuators.d.ts +20 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/conveyor.d.ts +26 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/index.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/indicators.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/manufacturing/stations.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/ports.d.ts +12 -0
- package/dist/src/workspace/graphics/symbols/preferences.d.ts +27 -0
- package/dist/src/workspace/graphics/symbols/preview.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/properties.d.ts +46 -0
- package/dist/src/workspace/graphics/symbols/provider.d.ts +12 -0
- package/dist/src/workspace/graphics/symbols/pump-status-icon.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/pump.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/quality.d.ts +63 -0
- package/dist/src/workspace/graphics/symbols/quarry/belt-scale.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/chute.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/crusher.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/quarry/diverter-gate.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/quarry/dust-collector.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/feeder.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/hopper.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/parts.d.ts +18 -0
- package/dist/src/workspace/graphics/symbols/quarry/screen.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/quarry/spray-suppression.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/stockpile.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/quarry/trommel.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/reading.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/render.d.ts +12 -0
- package/dist/src/workspace/graphics/symbols/reservoir.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/serialize.d.ts +7 -0
- package/dist/src/workspace/graphics/symbols/status.d.ts +47 -0
- package/dist/src/workspace/graphics/symbols/thermal/furnace.d.ts +28 -0
- package/dist/src/workspace/graphics/symbols/thermal/heater.d.ts +6 -0
- package/dist/src/workspace/graphics/symbols/thermal/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/thermal/kiln.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/upright.d.ts +68 -0
- package/dist/src/workspace/graphics/symbols/variant-field.d.ts +17 -0
- package/dist/src/workspace/graphics/symbols/variants.d.ts +30 -0
- package/dist/src/workspace/graphics/symbols/viewport.d.ts +43 -0
- package/dist/src/workspace/graphics/symbols/warehouse/agv.d.ts +4 -0
- package/dist/src/workspace/graphics/symbols/warehouse/cold-room.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/warehouse/cooling-unit.d.ts +19 -0
- package/dist/src/workspace/graphics/symbols/warehouse/door.d.ts +61 -0
- package/dist/src/workspace/graphics/symbols/warehouse/index.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/warehouse/loading-dock.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/warehouse/pallet.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/warehouse/rack.d.ts +25 -0
- package/dist/src/workspace/graphics/symbols/warehouse/stacker-crane.d.ts +12 -0
- package/dist/src/workspace/graphics/symbols/warehouse/storage-zone.d.ts +34 -0
- package/dist/src/workspace/graphics/symbols/waste/baler.d.ts +5 -0
- package/dist/src/workspace/graphics/symbols/waste/compactor.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/waste/container.d.ts +7 -0
- package/dist/src/workspace/graphics/symbols/waste/index.d.ts +2 -0
- package/dist/src/workspace/graphics/symbols/waste/parts.d.ts +32 -0
- package/dist/src/workspace/graphics/symbols/waste/separator.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/waste/shredder.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/waste/vehicle.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/waste/weighbridge.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/aeration.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/water/artwork.d.ts +42 -0
- package/dist/src/workspace/graphics/symbols/water/clarifier.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/disinfection.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/dosing.d.ts +30 -0
- package/dist/src/workspace/graphics/symbols/water/filter.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/index.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/water/instruments.d.ts +3 -0
- package/dist/src/workspace/graphics/symbols/water/pumps.d.ts +7 -0
- package/dist/src/workspace/graphics/symbols/water/tank.d.ts +1 -0
- package/dist/src/workspace/graphics/symbols/water/treatment-state.d.ts +15 -0
- package/dist/src/workspace/graphics/symbols/water/valves.d.ts +8 -0
- package/dist/src/workspace/graphics/symbols/well.d.ts +2 -0
- package/dist/src/workspace/graphics/toolbar.d.ts +58 -0
- package/dist/src/workspace/graphics/use-images.d.ts +13 -0
- package/dist/src/workspace/graphics/view-frame.d.ts +31 -0
- package/dist/src/workspace/graphics/viewport-passthrough.d.ts +8 -0
- package/dist/src/workspace/index-page.d.ts +3 -0
- package/dist/src/workspace/layout.d.ts +3 -0
- package/dist/src/workspace/live-changes.d.ts +16 -0
- package/dist/src/workspace/local-message-identity.d.ts +2 -0
- package/dist/src/workspace/local-setup-link.d.ts +16 -0
- package/dist/src/workspace/local-workspace-app.d.ts +21 -0
- package/dist/src/workspace/maps/auth-failure.d.ts +5 -0
- package/dist/src/workspace/maps/error-boundary.d.ts +21 -0
- package/dist/src/workspace/maps/lat-lng.d.ts +8 -0
- package/dist/src/workspace/maps/location-map-renderer.d.ts +10 -0
- package/dist/src/workspace/maps/location-map.d.ts +40 -0
- package/dist/src/workspace/maps/location-picker-renderer.d.ts +20 -0
- package/dist/src/workspace/maps/location-picker.d.ts +31 -0
- package/dist/src/workspace/maps/use-browser-config.d.ts +11 -0
- package/dist/src/workspace/maps/use-reverse-geocode.d.ts +15 -0
- package/dist/src/workspace/mobile-nav.d.ts +13 -0
- package/dist/src/workspace/mutations.d.ts +10634 -0
- package/dist/src/workspace/no-access.d.ts +1 -0
- package/dist/src/workspace/page-navigation.d.ts +67 -0
- package/dist/src/workspace/page-state/branch-path.d.ts +7 -0
- package/dist/src/workspace/page-state/context.d.ts +14 -0
- package/dist/src/workspace/page-state/dashboard-context.d.ts +37 -0
- package/dist/src/workspace/page-state/dashboard.d.ts +65 -0
- package/dist/src/workspace/page-state/model.d.ts +48 -0
- package/dist/src/workspace/page-state/parameters.d.ts +11 -0
- package/dist/src/workspace/page-state/report.d.ts +16 -0
- package/dist/src/workspace/page-state/store.d.ts +10 -0
- package/dist/src/workspace/parameters/defaults.d.ts +7 -0
- package/dist/src/workspace/parameters/display.d.ts +28 -0
- package/dist/src/workspace/parameters/distinct-names.d.ts +12 -0
- package/dist/src/workspace/parameters/errors.d.ts +15 -0
- package/dist/src/workspace/parameters/form/shared-fields.d.ts +49 -0
- package/dist/src/workspace/parameters/form/values.d.ts +33 -0
- package/dist/src/workspace/parameters/geo-value.d.ts +9 -0
- package/dist/src/workspace/parameters/icon.d.ts +8 -0
- package/dist/src/workspace/parameters/inventory-options.d.ts +9 -0
- package/dist/src/workspace/parameters/live/condition.d.ts +4 -0
- package/dist/src/workspace/parameters/live/control-button.d.ts +13 -0
- package/dist/src/workspace/parameters/live/controls.d.ts +14 -0
- package/dist/src/workspace/parameters/live/coordinator.d.ts +87 -0
- package/dist/src/workspace/parameters/live/deadline.d.ts +13 -0
- package/dist/src/workspace/parameters/live/diagnostic-copy.d.ts +26 -0
- package/dist/src/workspace/parameters/live/diagnostic-links.d.ts +5 -0
- package/dist/src/workspace/parameters/live/diagnostics.d.ts +9 -0
- package/dist/src/workspace/parameters/live/history-windows.d.ts +53 -0
- package/dist/src/workspace/parameters/live/metric.d.ts +29 -0
- package/dist/src/workspace/parameters/live/model.d.ts +133 -0
- package/dist/src/workspace/parameters/live/provider.d.ts +49 -0
- package/dist/src/workspace/parameters/live/read-once.d.ts +13 -0
- package/dist/src/workspace/parameters/live/stale-note.d.ts +8 -0
- package/dist/src/workspace/parameters/live/use-history.d.ts +30 -0
- package/dist/src/workspace/parameters/live/use-stored-history.d.ts +85 -0
- package/dist/src/workspace/parameters/live/value-display.d.ts +25 -0
- package/dist/src/workspace/parameters/live/value-editor.d.ts +24 -0
- package/dist/src/workspace/parameters/live/write-review-dialog.d.ts +41 -0
- package/dist/src/workspace/parameters/live/write-review-form.d.ts +18 -0
- package/dist/src/workspace/parameters/live/write-sequence-dialog.d.ts +80 -0
- package/dist/src/workspace/parameters/metadata.d.ts +37 -0
- package/dist/src/workspace/parameters/option-labels.d.ts +14 -0
- package/dist/src/workspace/parameters/picker/browser.d.ts +41 -0
- package/dist/src/workspace/parameters/picker/model.d.ts +91 -0
- package/dist/src/workspace/parameters/picker/picker.d.ts +380 -0
- package/dist/src/workspace/parameters/runtime-errors.d.ts +23 -0
- package/dist/src/workspace/parameters/source-fields.d.ts +22 -0
- package/dist/src/workspace/parameters/value/cells.d.ts +21 -0
- package/dist/src/workspace/parameters/value/edit-draft.d.ts +24 -0
- package/dist/src/workspace/parameters/value/reads.d.ts +54 -0
- package/dist/src/workspace/parameters/value/state.d.ts +96 -0
- package/dist/src/workspace/parameters/value/type/datetime-parts.d.ts +12 -0
- package/dist/src/workspace/parameters/value/type/fields.d.ts +5 -0
- package/dist/src/workspace/parameters/value/type/geo.d.ts +10 -0
- package/dist/src/workspace/parameters/value/type/int-repr.d.ts +9 -0
- package/dist/src/workspace/parameters/writability.d.ts +26 -0
- package/dist/src/workspace/pull-instructions.d.ts +4 -0
- package/dist/src/workspace/query-gate.d.ts +40 -0
- package/dist/src/workspace/reports/aggregate-fetch.d.ts +25 -0
- package/dist/src/workspace/reports/bar-legend.d.ts +12 -0
- package/dist/src/workspace/reports/bar-path.d.ts +25 -0
- package/dist/src/workspace/reports/cadence-fetch.d.ts +25 -0
- package/dist/src/workspace/reports/calendar/demand.d.ts +46 -0
- package/dist/src/workspace/reports/calendar/layout.d.ts +98 -0
- package/dist/src/workspace/reports/calendar/representation.d.ts +7 -0
- package/dist/src/workspace/reports/cell-title.d.ts +11 -0
- package/dist/src/workspace/reports/chart/axes.d.ts +17 -0
- package/dist/src/workspace/reports/chart/build.d.ts +208 -0
- package/dist/src/workspace/reports/chart/caches.d.ts +57 -0
- package/dist/src/workspace/reports/chart/colors.d.ts +17 -0
- package/dist/src/workspace/reports/chart/comment-gutter.d.ts +44 -0
- package/dist/src/workspace/reports/chart/demand.d.ts +50 -0
- package/dist/src/workspace/reports/chart/paint.d.ts +17 -0
- package/dist/src/workspace/reports/chart/pan-zoom.d.ts +19 -0
- package/dist/src/workspace/reports/chart/payload.d.ts +57 -0
- package/dist/src/workspace/reports/chart/plot-interactions.d.ts +13 -0
- package/dist/src/workspace/reports/chart/plot-tooltip.d.ts +10 -0
- package/dist/src/workspace/reports/chart/plot.d.ts +29 -0
- package/dist/src/workspace/reports/chart/realtime.d.ts +96 -0
- package/dist/src/workspace/reports/chart/representation.d.ts +40 -0
- package/dist/src/workspace/reports/chart/tooltip.d.ts +36 -0
- package/dist/src/workspace/reports/chart/use-realtime.d.ts +44 -0
- package/dist/src/workspace/reports/color/cascade.d.ts +3 -0
- package/dist/src/workspace/reports/color/css.d.ts +5 -0
- package/dist/src/workspace/reports/color/select.d.ts +11 -0
- package/dist/src/workspace/reports/comments/author.d.ts +2 -0
- package/dist/src/workspace/reports/comments/errors.d.ts +11 -0
- package/dist/src/workspace/reports/comments/footer.d.ts +1 -0
- package/dist/src/workspace/reports/comments/use-comments.d.ts +9 -0
- package/dist/src/workspace/reports/csv/build.d.ts +29 -0
- package/dist/src/workspace/reports/csv/columns.d.ts +18 -0
- package/dist/src/workspace/reports/csv/fetch.d.ts +29 -0
- package/dist/src/workspace/reports/csv/use-export.d.ts +7 -0
- package/dist/src/workspace/reports/data/context.d.ts +79 -0
- package/dist/src/workspace/reports/data/extent.d.ts +40 -0
- package/dist/src/workspace/reports/data/provider.d.ts +20 -0
- package/dist/src/workspace/reports/data/report-caches.d.ts +56 -0
- package/dist/src/workspace/reports/data/specs.d.ts +38 -0
- package/dist/src/workspace/reports/demand-cache.d.ts +76 -0
- package/dist/src/workspace/reports/element-size.d.ts +7 -0
- package/dist/src/workspace/reports/generated.d.ts +46 -0
- package/dist/src/workspace/reports/histogram/build.d.ts +1 -0
- package/dist/src/workspace/reports/histogram/demand.d.ts +26 -0
- package/dist/src/workspace/reports/histogram/plot.d.ts +42 -0
- package/dist/src/workspace/reports/histogram/representation.d.ts +8 -0
- package/dist/src/workspace/reports/histogram/slots.d.ts +19 -0
- package/dist/src/workspace/reports/hourly-matrix/demand.d.ts +28 -0
- package/dist/src/workspace/reports/hourly-matrix/layout.d.ts +36 -0
- package/dist/src/workspace/reports/hourly-matrix/model.d.ts +66 -0
- package/dist/src/workspace/reports/hourly-matrix/representation.d.ts +7 -0
- package/dist/src/workspace/reports/html/build.d.ts +57 -0
- package/dist/src/workspace/reports/html/cache-clone.d.ts +36 -0
- package/dist/src/workspace/reports/html/calendar.d.ts +15 -0
- package/dist/src/workspace/reports/html/comments.d.ts +13 -0
- package/dist/src/workspace/reports/html/css.d.ts +2 -0
- package/dist/src/workspace/reports/html/document.d.ts +5 -0
- package/dist/src/workspace/reports/html/escape.d.ts +6 -0
- package/dist/src/workspace/reports/html/matrix.d.ts +13 -0
- package/dist/src/workspace/reports/html/mounted.d.ts +19 -0
- package/dist/src/workspace/reports/html/png.d.ts +39 -0
- package/dist/src/workspace/reports/html/ready.d.ts +56 -0
- package/dist/src/workspace/reports/html/table.d.ts +3 -0
- package/dist/src/workspace/reports/html/use-render.d.ts +8 -0
- package/dist/src/workspace/reports/html/widgets.d.ts +31 -0
- package/dist/src/workspace/reports/page.d.ts +4 -0
- package/dist/src/workspace/reports/preset/errors.d.ts +5 -0
- package/dist/src/workspace/reports/preset/form-helpers.d.ts +65 -0
- package/dist/src/workspace/reports/preset/submit.d.ts +43 -0
- package/dist/src/workspace/reports/quick-report.d.ts +17 -0
- package/dist/src/workspace/reports/readings-client.d.ts +23 -0
- package/dist/src/workspace/reports/runtime-chrome.d.ts +15 -0
- package/dist/src/workspace/reports/sankey/demand.d.ts +47 -0
- package/dist/src/workspace/reports/sankey/graph.d.ts +28 -0
- package/dist/src/workspace/reports/sankey/layout.d.ts +80 -0
- package/dist/src/workspace/reports/sankey/representation.d.ts +7 -0
- package/dist/src/workspace/reports/sankey/use-caches.d.ts +16 -0
- package/dist/src/workspace/reports/session/init.d.ts +9 -0
- package/dist/src/workspace/reports/session/storage.d.ts +24 -0
- package/dist/src/workspace/reports/state-duration/demand.d.ts +39 -0
- package/dist/src/workspace/reports/state-duration/reduce.d.ts +27 -0
- package/dist/src/workspace/reports/state-duration/representation.d.ts +7 -0
- package/dist/src/workspace/reports/state-duration/use-caches.d.ts +15 -0
- package/dist/src/workspace/reports/table/cache-fetch.d.ts +8 -0
- package/dist/src/workspace/reports/table/chunk.d.ts +31 -0
- package/dist/src/workspace/reports/table/demand.d.ts +83 -0
- package/dist/src/workspace/reports/table/fetch.d.ts +42 -0
- package/dist/src/workspace/reports/table/format.d.ts +7 -0
- package/dist/src/workspace/reports/table/representation.d.ts +10 -0
- package/dist/src/workspace/reports/table/rows.d.ts +31 -0
- package/dist/src/workspace/reports/table/snapshot.d.ts +40 -0
- package/dist/src/workspace/reports/table/totals.d.ts +4 -0
- package/dist/src/workspace/reports/time-buckets/build.d.ts +40 -0
- package/dist/src/workspace/reports/time-buckets/demand.d.ts +52 -0
- package/dist/src/workspace/reports/time-buckets/navigate.d.ts +26 -0
- package/dist/src/workspace/reports/time-buckets/plot.d.ts +58 -0
- package/dist/src/workspace/reports/time-buckets/representation.d.ts +8 -0
- package/dist/src/workspace/reports/time-buckets/slots.d.ts +23 -0
- package/dist/src/workspace/reports/time-nav.d.ts +1 -0
- package/dist/src/workspace/reports/use-demand-cache.d.ts +29 -0
- package/dist/src/workspace/reports/use-quick-report.d.ts +45 -0
- package/dist/src/workspace/reports/view.d.ts +6 -0
- package/dist/src/workspace/routes.d.ts +23 -0
- package/dist/src/workspace/setup/automations/alarm-rule-dialog.d.ts +7 -0
- package/dist/src/workspace/setup/automations/alarm-rule-lists.d.ts +61 -0
- package/dist/src/workspace/setup/automations/alarm-rules-page.d.ts +4 -0
- package/dist/src/workspace/setup/automations/document.d.ts +39 -0
- package/dist/src/workspace/setup/automations/dry-run.d.ts +12 -0
- package/dist/src/workspace/setup/automations/editor-form.d.ts +22 -0
- package/dist/src/workspace/setup/automations/editor-page.d.ts +14 -0
- package/dist/src/workspace/setup/automations/editor-tab.d.ts +6 -0
- package/dist/src/workspace/setup/automations/entity-controls.d.ts +22 -0
- package/dist/src/workspace/setup/automations/history.d.ts +15 -0
- package/dist/src/workspace/setup/automations/list-page.d.ts +28 -0
- package/dist/src/workspace/setup/automations/starter-dialog.d.ts +10 -0
- package/dist/src/workspace/setup/automations/starter-handoff.d.ts +17 -0
- package/dist/src/workspace/setup/base-revision.d.ts +64 -0
- package/dist/src/workspace/setup/breadcrumbs.d.ts +10 -0
- package/dist/src/workspace/setup/catalog-list.d.ts +21 -0
- package/dist/src/workspace/setup/dashboards-order.d.ts +10 -0
- package/dist/src/workspace/setup/dashboards-page.d.ts +24 -0
- package/dist/src/workspace/setup/dashboards-reorder-queue.d.ts +13 -0
- package/dist/src/workspace/setup/dashboards-sortable-list.d.ts +6 -0
- package/dist/src/workspace/setup/endpoints/connection-error.d.ts +3 -0
- package/dist/src/workspace/setup/endpoints/connection-indicator.d.ts +4 -0
- package/dist/src/workspace/setup/endpoints/device-log-clock.d.ts +7 -0
- package/dist/src/workspace/setup/endpoints/display.d.ts +12 -0
- package/dist/src/workspace/setup/endpoints/edit-dialog.d.ts +5 -0
- package/dist/src/workspace/setup/endpoints/enabled-switch.d.ts +10 -0
- package/dist/src/workspace/setup/endpoints/form-problem.d.ts +5 -0
- package/dist/src/workspace/setup/endpoints/page.d.ts +11 -0
- package/dist/src/workspace/setup/endpoints/presence-challenge.d.ts +34 -0
- package/dist/src/workspace/setup/endpoints/presence-code.d.ts +6 -0
- package/dist/src/workspace/setup/endpoints/programs/deploy-status-bar.d.ts +13 -0
- package/dist/src/workspace/setup/endpoints/programs/device-log.d.ts +15 -0
- package/dist/src/workspace/setup/endpoints/programs/dialogs.d.ts +16 -0
- package/dist/src/workspace/setup/endpoints/programs/live-state-pane.d.ts +7 -0
- package/dist/src/workspace/setup/endpoints/programs/program-editor.d.ts +79 -0
- package/dist/src/workspace/setup/endpoints/programs/programs-tab.d.ts +14 -0
- package/dist/src/workspace/setup/endpoints/programs/settings-dialog.d.ts +9 -0
- package/dist/src/workspace/setup/endpoints/programs/starter-dialog.d.ts +17 -0
- package/dist/src/workspace/setup/endpoints/programs/tasks-table.d.ts +5 -0
- package/dist/src/workspace/setup/endpoints/sharing.d.ts +9 -0
- package/dist/src/workspace/setup/endpoints/status-connection.d.ts +8 -0
- package/dist/src/workspace/setup/endpoints/status-device-ui-progress.d.ts +9 -0
- package/dist/src/workspace/setup/endpoints/status-device-ui.d.ts +8 -0
- package/dist/src/workspace/setup/endpoints/status-page.d.ts +14 -0
- package/dist/src/workspace/setup/endpoints/status-recorded.d.ts +13 -0
- package/dist/src/workspace/setup/endpoints/status-tab.d.ts +12 -0
- package/dist/src/workspace/setup/endpoints/wireguard-docs.d.ts +11 -0
- package/dist/src/workspace/setup/files/errors.d.ts +1 -0
- package/dist/src/workspace/setup/files/http.d.ts +21 -0
- package/dist/src/workspace/setup/files/page.d.ts +3 -0
- package/dist/src/workspace/setup/menu.d.ts +14 -0
- package/dist/src/workspace/setup/nav.d.ts +11 -0
- package/dist/src/workspace/setup/parameters/dialogs.d.ts +32 -0
- package/dist/src/workspace/setup/parameters/edit/create-branch-form.d.ts +10 -0
- package/dist/src/workspace/setup/parameters/edit/dialog-body.d.ts +13 -0
- package/dist/src/workspace/setup/parameters/edit/form.d.ts +22 -0
- package/dist/src/workspace/setup/parameters/page.d.ts +3 -0
- package/dist/src/workspace/setup/parameters/recorded.d.ts +14 -0
- package/dist/src/workspace/setup/parameters/selection.d.ts +45 -0
- package/dist/src/workspace/setup/parameters/stamp-from-template-form.d.ts +10 -0
- package/dist/src/workspace/setup/parameters/toolbar.d.ts +32 -0
- package/dist/src/workspace/setup/parameters/tree/expand.d.ts +10 -0
- package/dist/src/workspace/setup/parameters/tree/model.d.ts +61 -0
- package/dist/src/workspace/setup/parameters/tree/rows.d.ts +38 -0
- package/dist/src/workspace/setup/parameters/tree/storage.d.ts +13 -0
- package/dist/src/workspace/setup/parameters/use-tree-selection.d.ts +21 -0
- package/dist/src/workspace/setup/parameters/use-tree-view.d.ts +22 -0
- package/dist/src/workspace/setup/report/add-parameters-dialog.d.ts +8 -0
- package/dist/src/workspace/setup/report/calendar-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/chart-editor.d.ts +14 -0
- package/dist/src/workspace/setup/report/edit/confirm-removal-dialog.d.ts +9 -0
- package/dist/src/workspace/setup/report/edit/dialog-body.d.ts +10 -0
- package/dist/src/workspace/setup/report/edit/form.d.ts +14 -0
- package/dist/src/workspace/setup/report/edit/representations-section.d.ts +11 -0
- package/dist/src/workspace/setup/report/edit/sections.d.ts +23 -0
- package/dist/src/workspace/setup/report/edit/state.d.ts +29 -0
- package/dist/src/workspace/setup/report/foldable-item-card.d.ts +47 -0
- package/dist/src/workspace/setup/report/histogram-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/hourly-matrix-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/includes-literal.d.ts +1 -0
- package/dist/src/workspace/setup/report/layout-editor.d.ts +6 -0
- package/dist/src/workspace/setup/report/number-draft-input.d.ts +23 -0
- package/dist/src/workspace/setup/report/page.d.ts +3 -0
- package/dist/src/workspace/setup/report/sankey-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/state-duration-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/table-editor.d.ts +9 -0
- package/dist/src/workspace/setup/report/time-buckets-editor.d.ts +9 -0
- package/dist/src/workspace/setup/route/dialog.d.ts +33 -0
- package/dist/src/workspace/setup/route/dialogs.d.ts +41 -0
- package/dist/src/workspace/setup/sections.d.ts +17 -0
- package/dist/src/workspace/setup/starters/starter-fields.d.ts +45 -0
- package/dist/src/workspace/setup/starters/starter-form.d.ts +50 -0
- package/dist/src/workspace/setup/storage/dialogs.d.ts +77 -0
- package/dist/src/workspace/setup/storage/format.d.ts +6 -0
- package/dist/src/workspace/setup/storage/page.d.ts +3 -0
- package/dist/src/workspace/setup/storage/retention-note.d.ts +11 -0
- package/dist/src/workspace/setup/storage/retention.d.ts +21 -0
- package/dist/src/workspace/shell.d.ts +21 -0
- package/dist/src/workspace/sidebar-nav-link.d.ts +13 -0
- package/dist/src/workspace/suspended.d.ts +8 -0
- package/dist/starter-fields-BRLX0z-v.js +586 -0
- package/dist/starter-handoff-BA3ucMKL.js +19 -0
- package/dist/status-page-DAHiKM9P.js +3286 -0
- package/dist/styles-reference.css +54 -0
- package/dist/styles.css +2 -0
- package/dist/switch-BqD0RH_G.js +18 -0
- package/dist/table-Q2-voLuw.js +65 -0
- package/dist/tabs-CSIucYFP.js +57 -0
- package/dist/theme-provider-BkRohQFU.js +61 -0
- package/dist/toggle-group-9Bs0Mm3r.js +82 -0
- package/dist/trpc-CvJUuUXp.js +153 -0
- package/dist/ui.js +2174 -0
- package/dist/uk-CwpJAxmx.js +4578 -0
- package/dist/utils-CX-Pz5p6.js +8 -0
- package/dist/wireguard-docs-AfU6NzTL.js +81 -0
- package/dist/writability-BuH-spxv.js +57 -0
- package/package.json +149 -3
package/dist/ui.js
ADDED
|
@@ -0,0 +1,2174 @@
|
|
|
1
|
+
import { c as e, f as t, i as n, m as r, n as i, r as a, s as o } from "./i18n-BgzakKoC.js";
|
|
2
|
+
import { t as s } from "./utils-CX-Pz5p6.js";
|
|
3
|
+
import { A as c, B as l, C as u, D as d, E as f, F as p, G as m, H as h, I as g, J as ee, K as _, L as v, M as te, N as ne, O as re, P as ie, R as ae, S as oe, T as se, U as ce, V as le, W as ue, Y as de, _ as fe, a as pe, b as me, c as he, d as ge, f as _e, g as ve, h as ye, i as y, j as be, l as xe, m as Se, n as b, o as Ce, p as we, q as Te, r as x, s as Ee, t as De, u as Oe, v as ke, w as Ae, x as je, y as Me, z as Ne } from "./spinner-C-HPNxOc.js";
|
|
4
|
+
import { n as S, t as C } from "./button-6SxPBYMz.js";
|
|
5
|
+
import { _ as Pe, a as Fe, c as Ie, f as Le, g as Re, i as ze, l as Be, n as Ve, o as He, r as Ue, s as We, t as Ge, u as Ke, v as qe } from "./dialog-BIhQXcZC.js";
|
|
6
|
+
import { n as w, t as Je } from "./skeleton-6yk8Tdh5.js";
|
|
7
|
+
import { a as Ye, c as T, i as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./table-Q2-voLuw.js";
|
|
8
|
+
import { C as nt, E as rt, S as it, T as at, _ as ot, a as st, c as ct, d as lt, f as ut, g as dt, h as ft, i as pt, l as mt, m as ht, n as gt, o as _t, p as vt, r as yt, s as bt, t as xt, u as St, v as Ct, w as wt, x as Tt, y as Et } from "./select-BKiOWdSr.js";
|
|
9
|
+
import { a as Dt, i as Ot, n as kt, o as At, r as jt, t as Mt } from "./empty-B-QJ-06w.js";
|
|
10
|
+
import { a as Nt, c as Pt, d as Ft, i as It, l as Lt, n as Rt, o as zt, r as Bt, s as Vt, t as Ht, u as Ut } from "./notice-card-DyGywFsW.js";
|
|
11
|
+
import { i as Wt, n as Gt, r as Kt, t as qt } from "./alert-B8MAoIO8.js";
|
|
12
|
+
import { t as Jt } from "./slider-DorDsoF8.js";
|
|
13
|
+
import { t as Yt } from "./switch-BqD0RH_G.js";
|
|
14
|
+
import { i as Xt, n as Zt, r as Qt, t as $t } from "./toggle-group-9Bs0Mm3r.js";
|
|
15
|
+
import { a as en, c as tn, i as nn, l as rn, n as an, o as on, r as sn, s as cn, t as ln } from "./progress-C7cxNJA1.js";
|
|
16
|
+
import { t as un } from "./page-title-CdCbiLt8.js";
|
|
17
|
+
import { a as dn, c as fn, d as pn, f as mn, h as E, i as D, l as hn, m as gn, n as _n, o as O, p as vn, r as k, s as yn, t as bn, u as xn } from "./dropdown-menu-DSzbBq3v.js";
|
|
18
|
+
import { a as Sn, c as Cn, d as wn, f as Tn, i as En, l as Dn, n as On, o as kn, r as An, s as jn, t as Mn, u as Nn } from "./alert-dialog-CYkuMg5D.js";
|
|
19
|
+
import { a as Pn, i as Fn, n as In, o as Ln, r as Rn, s as zn, t as Bn } from "./breadcrumb-DzVL1yHa.js";
|
|
20
|
+
import { i as Vn, n as Hn, r as Un, t as Wn } from "./date-time-picker-C3FhMXk6.js";
|
|
21
|
+
import { a as Gn, c as Kn, i as qn, l as Jn, n as Yn, o as Xn, r as Zn, s as Qn, t as $n, u as er } from "./item-B5SaTFQU.js";
|
|
22
|
+
import { t as tr } from "./page-header-RB2YFWlE.js";
|
|
23
|
+
import { n as nr, t as rr } from "./radio-group-CZGqVbkJ.js";
|
|
24
|
+
import { a as ir, c as ar, i as or, l as sr, n as cr, o as lr, r as ur, s as dr, t as fr, u as pr } from "./panel-DDy8tUNR.js";
|
|
25
|
+
import { a as mr, i as hr, n as gr, r as _r, t as vr } from "./tabs-CSIucYFP.js";
|
|
26
|
+
import * as A from "react";
|
|
27
|
+
import { useEffect as j, useId as yr, useRef as br, useState as xr } from "react";
|
|
28
|
+
import { Fragment as Sr, jsx as M, jsxs as N } from "react/jsx-runtime";
|
|
29
|
+
import { ArrowDownIcon as Cr, ArrowUpDownIcon as wr, ArrowUpIcon as Tr, CheckIcon as P, ChevronDownIcon as F, ChevronLeftIcon as Er, ChevronRightIcon as I, ChevronUpIcon as Dr, Columns3Icon as Or, MoreHorizontalIcon as kr, PanelLeftIcon as Ar, SearchIcon as jr, XIcon as Mr } from "lucide-react";
|
|
30
|
+
import { cva as L } from "class-variance-authority";
|
|
31
|
+
import { Area as Nr, AreaChart as Pr, Bar as Fr, BarChart as Ir, CartesianGrid as Lr, ComposedChart as Rr, Line as zr, LineChart as Br, Rectangle as Vr, ReferenceLine as Hr, XAxis as Ur, YAxis as Wr } from "recharts";
|
|
32
|
+
import { Menu as R } from "@base-ui/react/menu";
|
|
33
|
+
import { mergeProps as z } from "@base-ui/react/merge-props";
|
|
34
|
+
import { useRender as B } from "@base-ui/react/use-render";
|
|
35
|
+
import { Accordion as V } from "@base-ui/react/accordion";
|
|
36
|
+
import { Avatar as H } from "@base-ui/react/avatar";
|
|
37
|
+
import Gr from "embla-carousel-react";
|
|
38
|
+
import { Combobox as U } from "@base-ui/react/combobox";
|
|
39
|
+
import { Command as W } from "cmdk";
|
|
40
|
+
import { ContextMenu as G } from "@base-ui/react/context-menu";
|
|
41
|
+
import { columnFilteringFeature as Kr, columnVisibilityFeature as qr, createFilteredRowModel as Jr, createPaginatedRowModel as Yr, createSortedRowModel as Xr, rowPaginationFeature as Zr, rowSelectionFeature as Qr, rowSortingFeature as $r, tableFeatures as ei, useTable as ti } from "@tanstack/react-table";
|
|
42
|
+
import { DirectionProvider as ni, useDirection as ri } from "@base-ui/react/direction-provider";
|
|
43
|
+
import { PreviewCard as K } from "@base-ui/react/preview-card";
|
|
44
|
+
import { Menubar as ii } from "@base-ui/react/menubar";
|
|
45
|
+
import { MessageScroller as q, useMessageScroller as ai, useMessageScrollerScrollable as oi, useMessageScrollerVisibility as si } from "@shadcn/react/message-scroller";
|
|
46
|
+
import { NavigationMenu as J } from "@base-ui/react/navigation-menu";
|
|
47
|
+
import { Questionnaire as Y } from "@shadcn/react/questionnaire";
|
|
48
|
+
import { ScrollArea as X } from "@base-ui/react/scroll-area";
|
|
49
|
+
//#region src/ui/accordion.tsx
|
|
50
|
+
function ci({ className: e, ...t }) {
|
|
51
|
+
return /* @__PURE__ */ M(V.Root, {
|
|
52
|
+
"data-slot": "accordion",
|
|
53
|
+
className: s("flex w-full flex-col", e),
|
|
54
|
+
...t
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
function li({ className: e, ...t }) {
|
|
58
|
+
return /* @__PURE__ */ M(V.Item, {
|
|
59
|
+
"data-slot": "accordion-item",
|
|
60
|
+
className: s("not-last:border-b", e),
|
|
61
|
+
...t
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
function ui({ className: e, children: t, ...n }) {
|
|
65
|
+
return /* @__PURE__ */ M(V.Header, {
|
|
66
|
+
className: "flex",
|
|
67
|
+
children: /* @__PURE__ */ N(V.Trigger, {
|
|
68
|
+
"data-slot": "accordion-trigger",
|
|
69
|
+
className: s("\n group/accordion-trigger relative flex flex-1 items-start justify-between rounded-lg\n border border-transparent py-2.5 text-left text-sm font-medium transition-all\n outline-none\n hover:underline\n focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50\n focus-visible:after:border-ring\n aria-disabled:pointer-events-none aria-disabled:opacity-50\n **:data-[slot=accordion-trigger-icon]:ml-auto\n **:data-[slot=accordion-trigger-icon]:size-4\n **:data-[slot=accordion-trigger-icon]:text-muted-foreground\n ", e),
|
|
70
|
+
...n,
|
|
71
|
+
children: [
|
|
72
|
+
t,
|
|
73
|
+
/* @__PURE__ */ M(F, {
|
|
74
|
+
"data-slot": "accordion-trigger-icon",
|
|
75
|
+
className: "\n pointer-events-none shrink-0\n group-aria-expanded/accordion-trigger:hidden\n "
|
|
76
|
+
}),
|
|
77
|
+
/* @__PURE__ */ M(Dr, {
|
|
78
|
+
"data-slot": "accordion-trigger-icon",
|
|
79
|
+
className: "\n pointer-events-none hidden shrink-0\n group-aria-expanded/accordion-trigger:inline\n "
|
|
80
|
+
})
|
|
81
|
+
]
|
|
82
|
+
})
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function di({ className: e, children: t, ...n }) {
|
|
86
|
+
return /* @__PURE__ */ M(V.Panel, {
|
|
87
|
+
"data-slot": "accordion-content",
|
|
88
|
+
className: "\n overflow-hidden text-sm\n data-open:animate-accordion-down\n data-closed:animate-accordion-up\n ",
|
|
89
|
+
...n,
|
|
90
|
+
children: /* @__PURE__ */ M("div", {
|
|
91
|
+
className: s("\n h-(--accordion-panel-height) pt-0 pb-2.5\n data-ending-style:h-0\n data-starting-style:h-0\n [&_a]:underline [&_a]:underline-offset-3\n [&_a]:hover:text-foreground\n [&_p:not(:last-child)]:mb-4\n ", e),
|
|
92
|
+
children: t
|
|
93
|
+
})
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
//#endregion
|
|
97
|
+
//#region src/ui/aspect-ratio.tsx
|
|
98
|
+
var fi = L("relative", {
|
|
99
|
+
variants: { ratio: {
|
|
100
|
+
square: "aspect-square",
|
|
101
|
+
video: "aspect-video",
|
|
102
|
+
portrait: "aspect-3/4",
|
|
103
|
+
wide: "aspect-21/9"
|
|
104
|
+
} },
|
|
105
|
+
defaultVariants: { ratio: "video" }
|
|
106
|
+
});
|
|
107
|
+
function pi({ ratio: e = "video", className: t, ...n }) {
|
|
108
|
+
return /* @__PURE__ */ M("div", {
|
|
109
|
+
"data-slot": "aspect-ratio",
|
|
110
|
+
"data-ratio": e,
|
|
111
|
+
className: s(fi({ ratio: e }), t),
|
|
112
|
+
...n
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region src/ui/attachment.tsx
|
|
117
|
+
var mi = L("\n group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-xl border\n bg-card text-card-foreground transition-colors\n focus-within:ring-1 focus-within:ring-ring/50\n has-[>a,>button]:hover:bg-muted/50\n data-[state=error]:border-destructive/30\n data-[state=idle]:border-dashed\n ", { variants: {
|
|
118
|
+
size: {
|
|
119
|
+
default: "\n gap-2 text-sm\n has-data-[slot=attachment-content]:px-2.5 has-data-[slot=attachment-content]:py-2\n has-data-[slot=attachment-media]:p-2\n ",
|
|
120
|
+
sm: "\n gap-2.5 text-xs\n has-data-[slot=attachment-content]:px-2 has-data-[slot=attachment-content]:py-1.5\n has-data-[slot=attachment-media]:p-1.5\n ",
|
|
121
|
+
xs: "\n gap-1.5 rounded-lg text-xs\n has-data-[slot=attachment-content]:px-1.5 has-data-[slot=attachment-content]:py-1\n has-data-[slot=attachment-media]:p-1\n "
|
|
122
|
+
},
|
|
123
|
+
orientation: {
|
|
124
|
+
horizontal: "min-w-40 items-center",
|
|
125
|
+
vertical: "\n w-24 flex-col\n has-data-[slot=attachment-content]:w-30\n "
|
|
126
|
+
}
|
|
127
|
+
} });
|
|
128
|
+
function hi({ className: e, state: t = "done", size: n = "default", orientation: r = "horizontal", ...i }) {
|
|
129
|
+
return /* @__PURE__ */ M("div", {
|
|
130
|
+
"data-slot": "attachment",
|
|
131
|
+
"data-state": t,
|
|
132
|
+
"data-size": n,
|
|
133
|
+
"data-orientation": r,
|
|
134
|
+
className: s(mi({
|
|
135
|
+
size: n,
|
|
136
|
+
orientation: r
|
|
137
|
+
}), e),
|
|
138
|
+
...i
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
var gi = L("\n relative flex aspect-square w-10 shrink-0 items-center justify-center overflow-hidden\n rounded-lg bg-muted text-foreground\n group-data-[orientation=vertical]/attachment:w-full\n group-data-[size=sm]/attachment:w-8\n group-data-[size=xs]/attachment:w-7 group-data-[size=xs]/attachment:rounded-md\n group-data-[state=error]/attachment:bg-destructive/10\n group-data-[state=error]/attachment:text-destructive\n group-data-[orientation=vertical]/attachment:*:data-[slot=spinner]:size-6!\n [&_svg]:pointer-events-none\n [&_svg:not([class*='size-'])]:size-4\n group-data-[orientation=vertical]/attachment:[&_svg:not([class*='size-'])]:size-6\n group-data-[size=xs]/attachment:[&_svg:not([class*='size-'])]:size-3.5\n ", {
|
|
142
|
+
variants: { variant: {
|
|
143
|
+
icon: "",
|
|
144
|
+
image: "\n opacity-60\n group-data-[state=done]/attachment:opacity-100\n group-data-[state=idle]/attachment:opacity-100\n *:[img]:aspect-square *:[img]:w-full *:[img]:object-cover\n "
|
|
145
|
+
} },
|
|
146
|
+
defaultVariants: { variant: "icon" }
|
|
147
|
+
});
|
|
148
|
+
function _i({ className: e, variant: t = "icon", ...n }) {
|
|
149
|
+
return /* @__PURE__ */ M("div", {
|
|
150
|
+
"data-slot": "attachment-media",
|
|
151
|
+
"data-variant": t,
|
|
152
|
+
className: s(gi({ variant: t }), e),
|
|
153
|
+
...n
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
function vi({ className: e, ...t }) {
|
|
157
|
+
return /* @__PURE__ */ M("div", {
|
|
158
|
+
"data-slot": "attachment-content",
|
|
159
|
+
className: s("\n max-w-full min-w-0 flex-1 leading-tight\n group-data-[orientation=vertical]/attachment:px-1\n ", e),
|
|
160
|
+
...t
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
function yi({ className: e, ...t }) {
|
|
164
|
+
return /* @__PURE__ */ M("span", {
|
|
165
|
+
"data-slot": "attachment-title",
|
|
166
|
+
className: s("\n block max-w-full min-w-0 truncate font-medium\n group-data-[state=processing]/attachment:shimmer\n group-data-[state=uploading]/attachment:shimmer\n ", e),
|
|
167
|
+
...t
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
function bi({ className: e, ...t }) {
|
|
171
|
+
return /* @__PURE__ */ M("span", {
|
|
172
|
+
"data-slot": "attachment-description",
|
|
173
|
+
className: s("\n mt-0.5 block min-w-0 truncate text-xs text-muted-foreground\n group-data-[state=error]/attachment:text-destructive/80\n ", "max-w-full", e),
|
|
174
|
+
...t
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
function xi({ className: e, ...t }) {
|
|
178
|
+
return /* @__PURE__ */ M("div", {
|
|
179
|
+
"data-slot": "attachment-actions",
|
|
180
|
+
className: s("\n relative z-20 flex shrink-0 items-center\n group-data-[orientation=vertical]/attachment:absolute\n group-data-[orientation=vertical]/attachment:top-3\n group-data-[orientation=vertical]/attachment:right-3\n group-data-[orientation=vertical]/attachment:gap-1\n ", e),
|
|
181
|
+
...t
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
function Si({ className: e, variant: t, size: n = "icon-xs", ...r }) {
|
|
185
|
+
return /* @__PURE__ */ M(C, {
|
|
186
|
+
"data-slot": "attachment-action",
|
|
187
|
+
variant: t ?? "ghost",
|
|
188
|
+
size: n,
|
|
189
|
+
className: s(e),
|
|
190
|
+
...r
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
function Ci({ className: e, render: t, type: n, ...r }) {
|
|
194
|
+
return B({
|
|
195
|
+
defaultTagName: "button",
|
|
196
|
+
props: z({
|
|
197
|
+
type: t ? n : n ?? "button",
|
|
198
|
+
className: s("absolute inset-0 z-10 outline-none", e)
|
|
199
|
+
}, r),
|
|
200
|
+
render: t,
|
|
201
|
+
state: { slot: "attachment-trigger" }
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
function wi({ className: e, ...t }) {
|
|
205
|
+
return /* @__PURE__ */ M("div", {
|
|
206
|
+
"data-slot": "attachment-group",
|
|
207
|
+
className: s("\n flex min-w-0 scroll-fade-x snap-x snap-mandatory scroll-px-1 scrollbar-none gap-3\n overflow-x-auto overscroll-x-contain py-1\n *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start\n ", e),
|
|
208
|
+
...t
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region src/ui/avatar.tsx
|
|
213
|
+
function Ti({ className: e, size: t = "default", ...n }) {
|
|
214
|
+
return /* @__PURE__ */ M(H.Root, {
|
|
215
|
+
"data-slot": "avatar",
|
|
216
|
+
"data-size": t,
|
|
217
|
+
className: s("\n group/avatar relative flex size-8 shrink-0 rounded-full select-none\n after:absolute after:inset-0 after:rounded-full after:border after:border-border\n after:mix-blend-darken\n data-[size=lg]:size-10\n data-[size=sm]:size-6\n dark:after:mix-blend-lighten\n ", e),
|
|
218
|
+
...n
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
function Ei({ className: e, ...t }) {
|
|
222
|
+
return /* @__PURE__ */ M(H.Image, {
|
|
223
|
+
"data-slot": "avatar-image",
|
|
224
|
+
className: s("aspect-square size-full rounded-full object-cover", e),
|
|
225
|
+
...t
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
function Di({ className: e, ...t }) {
|
|
229
|
+
return /* @__PURE__ */ M(H.Fallback, {
|
|
230
|
+
"data-slot": "avatar-fallback",
|
|
231
|
+
className: s("\n flex size-full items-center justify-center rounded-full bg-muted text-sm\n text-muted-foreground\n group-data-[size=sm]/avatar:text-xs\n ", e),
|
|
232
|
+
...t
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
function Oi({ className: e, ...t }) {
|
|
236
|
+
return /* @__PURE__ */ M("span", {
|
|
237
|
+
"data-slot": "avatar-badge",
|
|
238
|
+
className: s("\n absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full\n bg-primary text-primary-foreground bg-blend-color ring-2 ring-background select-none\n ", "\n group-data-[size=sm]/avatar:size-2\n group-data-[size=sm]/avatar:[&>svg]:hidden\n ", "\n group-data-[size=default]/avatar:size-2.5\n group-data-[size=default]/avatar:[&>svg]:size-2\n ", "\n group-data-[size=lg]/avatar:size-3\n group-data-[size=lg]/avatar:[&>svg]:size-2\n ", e),
|
|
239
|
+
...t
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
function ki({ className: e, ...t }) {
|
|
243
|
+
return /* @__PURE__ */ M("div", {
|
|
244
|
+
"data-slot": "avatar-group",
|
|
245
|
+
className: s("\n group/avatar-group flex -space-x-2\n *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background\n ", e),
|
|
246
|
+
...t
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
function Ai({ className: e, ...t }) {
|
|
250
|
+
return /* @__PURE__ */ M("div", {
|
|
251
|
+
"data-slot": "avatar-group-count",
|
|
252
|
+
className: s("\n relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm\n text-muted-foreground ring-2 ring-background\n group-has-data-[size=lg]/avatar-group:size-10\n group-has-data-[size=sm]/avatar-group:size-6\n [&>svg]:size-4\n group-has-data-[size=lg]/avatar-group:[&>svg]:size-5\n group-has-data-[size=sm]/avatar-group:[&>svg]:size-3\n ", e),
|
|
253
|
+
...t
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
//#endregion
|
|
257
|
+
//#region src/ui/bubble.tsx
|
|
258
|
+
function ji({ className: e, ...t }) {
|
|
259
|
+
return /* @__PURE__ */ M("div", {
|
|
260
|
+
"data-slot": "bubble-group",
|
|
261
|
+
className: s("flex min-w-0 flex-col gap-2", e),
|
|
262
|
+
...t
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
var Mi = L("\n group/bubble relative flex w-fit max-w-[80%] min-w-0 flex-col gap-1\n group-data-[align=end]/message:self-end\n data-[align=end]:self-end\n data-[variant=ghost]:max-w-full\n ", {
|
|
266
|
+
variants: { variant: {
|
|
267
|
+
default: "\n *:data-[slot=bubble-content]:bg-primary\n *:data-[slot=bubble-content]:text-primary-foreground\n [&>[data-slot=bubble-content]:is(button,a):hover]:bg-primary/80\n ",
|
|
268
|
+
secondary: "\n *:data-[slot=bubble-content]:bg-secondary\n *:data-[slot=bubble-content]:text-secondary-foreground\n [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)]\n ",
|
|
269
|
+
muted: "\n *:data-[slot=bubble-content]:bg-muted\n [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--muted),var(--foreground)_5%)]\n ",
|
|
270
|
+
tinted: "\n *:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.93_calc(c*0.4)_h)]\n *:data-[slot=bubble-content]:text-foreground\n dark:*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.3_calc(c*0.4)_h)]\n [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.88_calc(c*0.5)_h)]\n dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.35_calc(c*0.5)_h)]\n ",
|
|
271
|
+
outline: "\n *:data-[slot=bubble-content]:border-border *:data-[slot=bubble-content]:bg-background\n [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted\n [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground\n dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-input/30\n ",
|
|
272
|
+
ghost: "\n border-none\n *:data-[slot=bubble-content]:rounded-none *:data-[slot=bubble-content]:bg-transparent\n *:data-[slot=bubble-content]:p-0\n [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted\n [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground\n dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted/50\n ",
|
|
273
|
+
destructive: "\n *:data-[slot=bubble-content]:bg-destructive/10\n *:data-[slot=bubble-content]:text-destructive\n dark:*:data-[slot=bubble-content]:bg-destructive/20\n [&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/20\n dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/30\n "
|
|
274
|
+
} },
|
|
275
|
+
defaultVariants: { variant: "default" }
|
|
276
|
+
});
|
|
277
|
+
function Ni({ variant: e = "default", align: t = "start", className: n, ...r }) {
|
|
278
|
+
return /* @__PURE__ */ M("div", {
|
|
279
|
+
"data-slot": "bubble",
|
|
280
|
+
"data-variant": e,
|
|
281
|
+
"data-align": t,
|
|
282
|
+
className: s(Mi({ variant: e }), n),
|
|
283
|
+
...r
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
function Pi({ className: e, render: t, ...n }) {
|
|
287
|
+
return B({
|
|
288
|
+
defaultTagName: "div",
|
|
289
|
+
props: z({ className: s("\n w-fit max-w-full min-w-0 overflow-hidden rounded-xl border border-transparent px-3 py-2\n text-sm/relaxed wrap-break-word\n group-data-[align=end]/bubble:self-end\n [button]:text-left\n [button,a]:transition-colors [button,a]:outline-none\n [button,a]:focus-visible:border-ring [button,a]:focus-visible:ring-3\n [button,a]:focus-visible:ring-ring/50\n ", e) }, n),
|
|
290
|
+
render: t,
|
|
291
|
+
state: { slot: "bubble-content" }
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
var Fi = L("\n absolute z-10 flex w-fit shrink-0 items-center justify-center gap-1 rounded-full bg-muted\n px-1.5 py-0.5 text-sm ring-3 ring-card\n has-[button]:p-0\n ", {
|
|
295
|
+
variants: {
|
|
296
|
+
side: {
|
|
297
|
+
top: "top-0 -translate-y-3/4",
|
|
298
|
+
bottom: "bottom-0 translate-y-3/4"
|
|
299
|
+
},
|
|
300
|
+
align: {
|
|
301
|
+
start: "left-3",
|
|
302
|
+
end: "right-3"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
defaultVariants: {
|
|
306
|
+
side: "bottom",
|
|
307
|
+
align: "end"
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
function Ii({ side: e = "bottom", align: t = "end", className: n, ...r }) {
|
|
311
|
+
return /* @__PURE__ */ M("div", {
|
|
312
|
+
"data-slot": "bubble-reactions",
|
|
313
|
+
"data-align": t,
|
|
314
|
+
"data-side": e,
|
|
315
|
+
className: s(Fi({
|
|
316
|
+
side: e,
|
|
317
|
+
align: t
|
|
318
|
+
}), n),
|
|
319
|
+
...r
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
//#endregion
|
|
323
|
+
//#region src/ui/carousel.tsx
|
|
324
|
+
var Li = A.createContext(null);
|
|
325
|
+
function Z() {
|
|
326
|
+
let e = A.useContext(Li);
|
|
327
|
+
if (!e) throw Error("useCarousel must be used within a <Carousel />");
|
|
328
|
+
return e;
|
|
329
|
+
}
|
|
330
|
+
function Ri({ orientation: e = "horizontal", opts: t, setApi: n, plugins: i, className: a, children: o, onKeyDownCapture: c, ...l }) {
|
|
331
|
+
let u = r(), [d, f] = Gr({
|
|
332
|
+
...t,
|
|
333
|
+
axis: e === "horizontal" ? "x" : "y"
|
|
334
|
+
}, i), p = A.useCallback((e) => f == null ? () => void 0 : (f.on("reInit", e), f.on("select", e), () => {
|
|
335
|
+
f.off("reInit", e), f.off("select", e);
|
|
336
|
+
}), [f]), m = A.useCallback(() => `${String(f?.canScrollPrev() ?? !1)}:${String(f?.canScrollNext() ?? !1)}:${String(f?.selectedScrollSnap() ?? 0)}`, [f]), h = A.useSyncExternalStore(p, m, () => "false:false:0"), g = h.startsWith("true:"), ee = h.includes(":true:"), _ = A.useCallback(() => {
|
|
337
|
+
f?.scrollPrev();
|
|
338
|
+
}, [f]), v = A.useCallback(() => {
|
|
339
|
+
f?.scrollNext();
|
|
340
|
+
}, [f]), te = A.useCallback((t) => {
|
|
341
|
+
if (c?.(t), t.defaultPrevented) return;
|
|
342
|
+
let n = e === "horizontal" ? "ArrowLeft" : "ArrowUp", r = e === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
343
|
+
t.key === n ? (t.preventDefault(), _()) : t.key === r && (t.preventDefault(), v());
|
|
344
|
+
}, [
|
|
345
|
+
c,
|
|
346
|
+
e,
|
|
347
|
+
_,
|
|
348
|
+
v
|
|
349
|
+
]);
|
|
350
|
+
return A.useEffect(() => {
|
|
351
|
+
!f || !n || n(f);
|
|
352
|
+
}, [f, n]), /* @__PURE__ */ M(Li.Provider, {
|
|
353
|
+
value: {
|
|
354
|
+
carouselRef: d,
|
|
355
|
+
api: f,
|
|
356
|
+
opts: t,
|
|
357
|
+
orientation: e,
|
|
358
|
+
scrollPrev: _,
|
|
359
|
+
scrollNext: v,
|
|
360
|
+
canScrollPrev: g,
|
|
361
|
+
canScrollNext: ee
|
|
362
|
+
},
|
|
363
|
+
children: /* @__PURE__ */ M("div", {
|
|
364
|
+
...l,
|
|
365
|
+
onKeyDownCapture: te,
|
|
366
|
+
className: s("relative", a),
|
|
367
|
+
role: "region",
|
|
368
|
+
"aria-roledescription": u("ui_carousel"),
|
|
369
|
+
"data-slot": "carousel",
|
|
370
|
+
children: o
|
|
371
|
+
})
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
function zi({ className: e, ...t }) {
|
|
375
|
+
let { carouselRef: n, orientation: r } = Z();
|
|
376
|
+
return /* @__PURE__ */ M("div", {
|
|
377
|
+
ref: n,
|
|
378
|
+
className: "overflow-hidden",
|
|
379
|
+
"data-slot": "carousel-content",
|
|
380
|
+
children: /* @__PURE__ */ M("div", {
|
|
381
|
+
className: s("flex", r === "horizontal" ? "-ml-4" : "-mt-4 flex-col", e),
|
|
382
|
+
...t
|
|
383
|
+
})
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
function Bi({ className: e, ...t }) {
|
|
387
|
+
let n = r(), { orientation: i } = Z();
|
|
388
|
+
return /* @__PURE__ */ M("div", {
|
|
389
|
+
role: "group",
|
|
390
|
+
"aria-roledescription": n("ui_slide"),
|
|
391
|
+
"data-slot": "carousel-item",
|
|
392
|
+
className: s("min-w-0 shrink-0 grow-0 basis-full", i === "horizontal" ? "pl-4" : "pt-4", e),
|
|
393
|
+
...t
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
function Vi({ className: e, variant: t = "outline", size: n = "icon-sm", disabled: i, onClick: a, ...o }) {
|
|
397
|
+
let c = r(), { orientation: l, scrollPrev: u, canScrollPrev: d } = Z();
|
|
398
|
+
return /* @__PURE__ */ N(C, {
|
|
399
|
+
...o,
|
|
400
|
+
"data-slot": "carousel-previous",
|
|
401
|
+
variant: t,
|
|
402
|
+
size: n,
|
|
403
|
+
className: s("absolute touch-manipulation rounded-full", l === "horizontal" ? "inset-y-0 -left-12 my-auto" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", e),
|
|
404
|
+
disabled: i === !0 || !d,
|
|
405
|
+
onClick: (e) => {
|
|
406
|
+
a?.(e), e.defaultPrevented || u();
|
|
407
|
+
},
|
|
408
|
+
children: [/* @__PURE__ */ M(Er, {}), /* @__PURE__ */ M("span", {
|
|
409
|
+
className: "sr-only",
|
|
410
|
+
children: c("ui_previous_slide")
|
|
411
|
+
})]
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
function Hi({ className: e, variant: t = "outline", size: n = "icon-sm", disabled: i, onClick: a, ...o }) {
|
|
415
|
+
let c = r(), { orientation: l, scrollNext: u, canScrollNext: d } = Z();
|
|
416
|
+
return /* @__PURE__ */ N(C, {
|
|
417
|
+
...o,
|
|
418
|
+
"data-slot": "carousel-next",
|
|
419
|
+
variant: t,
|
|
420
|
+
size: n,
|
|
421
|
+
className: s("absolute touch-manipulation rounded-full", l === "horizontal" ? "inset-y-0 -right-12 my-auto" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", e),
|
|
422
|
+
disabled: i === !0 || !d,
|
|
423
|
+
onClick: (e) => {
|
|
424
|
+
a?.(e), e.defaultPrevented || u();
|
|
425
|
+
},
|
|
426
|
+
children: [/* @__PURE__ */ M(I, {}), /* @__PURE__ */ M("span", {
|
|
427
|
+
className: "sr-only",
|
|
428
|
+
children: c("ui_next_slide")
|
|
429
|
+
})]
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
//#endregion
|
|
433
|
+
//#region src/ui/combobox.tsx
|
|
434
|
+
var Ui = U.Root;
|
|
435
|
+
function Wi({ ...e }) {
|
|
436
|
+
return /* @__PURE__ */ M(U.Value, {
|
|
437
|
+
"data-slot": "combobox-value",
|
|
438
|
+
...e
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
function Gi({ className: e, children: t, ...n }) {
|
|
442
|
+
let i = r();
|
|
443
|
+
return /* @__PURE__ */ N(U.Trigger, {
|
|
444
|
+
"data-slot": "combobox-trigger",
|
|
445
|
+
"aria-label": i("ui_open_options"),
|
|
446
|
+
className: s("[&_svg:not([class*='size-'])]:size-4", e),
|
|
447
|
+
...n,
|
|
448
|
+
children: [t, /* @__PURE__ */ M(F, { className: "pointer-events-none size-4 text-muted-foreground" })]
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
function Ki({ className: e, ...t }) {
|
|
452
|
+
let n = r();
|
|
453
|
+
return /* @__PURE__ */ M(U.Clear, {
|
|
454
|
+
"data-slot": "combobox-clear",
|
|
455
|
+
"aria-label": n("ui_clear_selection"),
|
|
456
|
+
render: /* @__PURE__ */ M(y, {
|
|
457
|
+
variant: "ghost",
|
|
458
|
+
size: "icon-xs"
|
|
459
|
+
}),
|
|
460
|
+
className: s(e),
|
|
461
|
+
...t,
|
|
462
|
+
children: /* @__PURE__ */ M(Mr, { className: "pointer-events-none" })
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
function qi({ className: e, children: t, disabled: n = !1, showTrigger: i = !0, showClear: a = !1, ...o }) {
|
|
466
|
+
let c = r();
|
|
467
|
+
return /* @__PURE__ */ N(b, {
|
|
468
|
+
className: s("w-auto", e),
|
|
469
|
+
children: [
|
|
470
|
+
/* @__PURE__ */ M(U.Input, {
|
|
471
|
+
render: /* @__PURE__ */ M(pe, { disabled: n }),
|
|
472
|
+
...o
|
|
473
|
+
}),
|
|
474
|
+
/* @__PURE__ */ N(x, {
|
|
475
|
+
align: "inline-end",
|
|
476
|
+
children: [i && /* @__PURE__ */ M(y, {
|
|
477
|
+
size: "icon-xs",
|
|
478
|
+
variant: "ghost",
|
|
479
|
+
render: /* @__PURE__ */ M(Gi, { "aria-label": c("ui_open_options") }),
|
|
480
|
+
"data-slot": "input-group-button",
|
|
481
|
+
className: "\n group-has-data-[slot=combobox-clear]/input-group:hidden\n data-pressed:bg-transparent\n ",
|
|
482
|
+
disabled: n
|
|
483
|
+
}), a && /* @__PURE__ */ M(Ki, { disabled: n })]
|
|
484
|
+
}),
|
|
485
|
+
t
|
|
486
|
+
]
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
function Ji({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: a, ...o }) {
|
|
490
|
+
return /* @__PURE__ */ M(U.Portal, { children: /* @__PURE__ */ M(U.Positioner, {
|
|
491
|
+
side: t,
|
|
492
|
+
sideOffset: n,
|
|
493
|
+
align: r,
|
|
494
|
+
alignOffset: i,
|
|
495
|
+
anchor: a,
|
|
496
|
+
className: "isolate z-50",
|
|
497
|
+
children: /* @__PURE__ */ M(U.Popup, {
|
|
498
|
+
"data-slot": "combobox-content",
|
|
499
|
+
"data-chips": !!a,
|
|
500
|
+
className: s("\n group/combobox-content relative max-h-(--available-height) w-(--anchor-width)\n max-w-(--available-width) min-w-[calc(var(--anchor-width)+(--spacing(7)))]\n origin-(--transform-origin) overflow-hidden rounded-lg border bg-popover\n text-popover-foreground shadow-lg duration-100\n data-[chips=true]:min-w-(--anchor-width)\n data-[side=bottom]:slide-in-from-top-2\n data-[side=inline-end]:slide-in-from-left-2\n data-[side=inline-start]:slide-in-from-right-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2\n *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0\n *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30\n *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none\n data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95\n data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\n ", e),
|
|
501
|
+
...o
|
|
502
|
+
})
|
|
503
|
+
}) });
|
|
504
|
+
}
|
|
505
|
+
function Yi({ className: e, ...t }) {
|
|
506
|
+
let n = r();
|
|
507
|
+
return /* @__PURE__ */ M(U.List, {
|
|
508
|
+
"data-slot": "combobox-list",
|
|
509
|
+
"aria-label": n("ui_options"),
|
|
510
|
+
className: s("\n no-scrollbar\n max-h-[min(calc(--spacing(72)-(--spacing(9))),calc(var(--available-height)-(--spacing(9))))]\n scroll-py-1 overflow-y-auto overscroll-contain p-1\n data-empty:p-0\n ", e),
|
|
511
|
+
...t
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
function Xi({ className: e, children: t, ...n }) {
|
|
515
|
+
return /* @__PURE__ */ N(U.Item, {
|
|
516
|
+
"data-slot": "combobox-item",
|
|
517
|
+
className: s("\n relative flex w-full cursor-default items-center gap-2 rounded-md py-1 pr-8 pl-1.5\n text-sm outline-hidden select-none\n data-highlighted:bg-accent data-highlighted:text-accent-foreground\n not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground\n data-disabled:pointer-events-none data-disabled:opacity-50\n [&_svg]:pointer-events-none [&_svg]:shrink-0\n [&_svg:not([class*='size-'])]:size-4\n ", e),
|
|
518
|
+
...n,
|
|
519
|
+
children: [t, /* @__PURE__ */ M(U.ItemIndicator, {
|
|
520
|
+
render: /* @__PURE__ */ M("span", { className: "\n pointer-events-none absolute right-2 flex size-4 items-center justify-center\n " }),
|
|
521
|
+
children: /* @__PURE__ */ M(P, { className: "pointer-events-none" })
|
|
522
|
+
})]
|
|
523
|
+
});
|
|
524
|
+
}
|
|
525
|
+
function Zi({ className: e, ...t }) {
|
|
526
|
+
return /* @__PURE__ */ M(U.Group, {
|
|
527
|
+
"data-slot": "combobox-group",
|
|
528
|
+
className: s(e),
|
|
529
|
+
...t
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
function Qi({ className: e, ...t }) {
|
|
533
|
+
return /* @__PURE__ */ M(U.GroupLabel, {
|
|
534
|
+
"data-slot": "combobox-label",
|
|
535
|
+
className: s("px-2 py-1.5 text-xs text-muted-foreground", e),
|
|
536
|
+
...t
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
function $i({ ...e }) {
|
|
540
|
+
return /* @__PURE__ */ M(U.Collection, {
|
|
541
|
+
"data-slot": "combobox-collection",
|
|
542
|
+
...e
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
function ea({ className: e, ...t }) {
|
|
546
|
+
return /* @__PURE__ */ M(U.Empty, {
|
|
547
|
+
"data-slot": "combobox-empty",
|
|
548
|
+
className: s("\n hidden w-full justify-center py-2 text-center text-sm text-muted-foreground\n group-data-empty/combobox-content:flex\n ", e),
|
|
549
|
+
...t
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
function ta({ className: e, ...t }) {
|
|
553
|
+
return /* @__PURE__ */ M(U.Separator, {
|
|
554
|
+
"data-slot": "combobox-separator",
|
|
555
|
+
className: s("-mx-1 my-1 h-px bg-border", e),
|
|
556
|
+
...t
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
function na({ className: e, ...t }) {
|
|
560
|
+
return /* @__PURE__ */ M(U.Chips, {
|
|
561
|
+
"data-slot": "combobox-chips",
|
|
562
|
+
className: s("\n flex min-h-8 flex-wrap items-center gap-1 rounded-lg border border-input bg-transparent\n bg-clip-padding px-2.5 py-1 text-sm transition-colors\n focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50\n has-aria-invalid:border-destructive has-aria-invalid:ring-3\n has-aria-invalid:ring-destructive/20\n has-data-[slot=combobox-chip]:px-1\n dark:bg-input/30\n dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40\n ", e),
|
|
563
|
+
...t
|
|
564
|
+
});
|
|
565
|
+
}
|
|
566
|
+
function ra({ className: e, children: t, showRemove: n = !0, ...i }) {
|
|
567
|
+
let a = r();
|
|
568
|
+
return /* @__PURE__ */ N(U.Chip, {
|
|
569
|
+
"data-slot": "combobox-chip",
|
|
570
|
+
className: s("\n flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-sm\n bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground\n has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50\n has-data-[slot=combobox-chip-remove]:pr-0\n ", e),
|
|
571
|
+
...i,
|
|
572
|
+
children: [t, n && /* @__PURE__ */ M(U.ChipRemove, {
|
|
573
|
+
"aria-label": a("ui_remove_item"),
|
|
574
|
+
render: /* @__PURE__ */ M(C, {
|
|
575
|
+
variant: "ghost",
|
|
576
|
+
size: "icon-xs"
|
|
577
|
+
}),
|
|
578
|
+
className: "\n -ml-1 opacity-50\n hover:opacity-100\n ",
|
|
579
|
+
"data-slot": "combobox-chip-remove",
|
|
580
|
+
children: /* @__PURE__ */ M(Mr, { className: "pointer-events-none" })
|
|
581
|
+
})]
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
function ia({ className: e, ...t }) {
|
|
585
|
+
return /* @__PURE__ */ M(U.Input, {
|
|
586
|
+
"data-slot": "combobox-chip-input",
|
|
587
|
+
className: s("min-w-16 flex-1 outline-none", e),
|
|
588
|
+
...t
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
function aa() {
|
|
592
|
+
return A.useRef(null);
|
|
593
|
+
}
|
|
594
|
+
//#endregion
|
|
595
|
+
//#region src/ui/command.tsx
|
|
596
|
+
function oa({ className: e, ...t }) {
|
|
597
|
+
return /* @__PURE__ */ M(W, {
|
|
598
|
+
"data-slot": "command",
|
|
599
|
+
className: s("\n flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1\n text-popover-foreground\n ", e),
|
|
600
|
+
...t
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
function sa({ title: e, description: t, children: n, className: i, showCloseButton: a = !1, ...o }) {
|
|
604
|
+
let c = r();
|
|
605
|
+
return /* @__PURE__ */ M(Ge, {
|
|
606
|
+
...o,
|
|
607
|
+
children: /* @__PURE__ */ N(Ue, {
|
|
608
|
+
className: s("top-1/3 translate-y-0 overflow-hidden rounded-xl! p-0", i),
|
|
609
|
+
showCloseButton: a,
|
|
610
|
+
children: [/* @__PURE__ */ N(He, {
|
|
611
|
+
className: "sr-only",
|
|
612
|
+
children: [/* @__PURE__ */ M(Be, { children: e ?? c("ui_command_palette") }), /* @__PURE__ */ M(ze, { children: t ?? c("ui_command_palette_description") })]
|
|
613
|
+
}), n]
|
|
614
|
+
})
|
|
615
|
+
});
|
|
616
|
+
}
|
|
617
|
+
function ca({ className: e, ...t }) {
|
|
618
|
+
return /* @__PURE__ */ M("div", {
|
|
619
|
+
"data-slot": "command-input-wrapper",
|
|
620
|
+
className: "p-1 pb-0",
|
|
621
|
+
children: /* @__PURE__ */ N(b, {
|
|
622
|
+
className: "\n h-8! rounded-lg! border-input/30 bg-input/30 shadow-none!\n *:data-[slot=input-group-addon]:pl-2!\n ",
|
|
623
|
+
children: [/* @__PURE__ */ M(W.Input, {
|
|
624
|
+
"data-slot": "command-input",
|
|
625
|
+
className: s("\n w-full text-sm outline-hidden\n disabled:cursor-not-allowed disabled:opacity-50\n ", e),
|
|
626
|
+
...t
|
|
627
|
+
}), /* @__PURE__ */ M(x, { children: /* @__PURE__ */ M(jr, { className: "size-4 shrink-0 opacity-50" }) })]
|
|
628
|
+
})
|
|
629
|
+
});
|
|
630
|
+
}
|
|
631
|
+
function la({ className: e, ...t }) {
|
|
632
|
+
return /* @__PURE__ */ M(W.List, {
|
|
633
|
+
"data-slot": "command-list",
|
|
634
|
+
className: s("no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none", e),
|
|
635
|
+
...t
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
function ua({ className: e, ...t }) {
|
|
639
|
+
return /* @__PURE__ */ M(W.Empty, {
|
|
640
|
+
"data-slot": "command-empty",
|
|
641
|
+
className: s("py-6 text-center text-sm", e),
|
|
642
|
+
...t
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
function da({ className: e, ...t }) {
|
|
646
|
+
return /* @__PURE__ */ M(W.Group, {
|
|
647
|
+
"data-slot": "command-group",
|
|
648
|
+
className: s("\n overflow-hidden p-1 text-foreground\n **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5\n **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium\n **:[[cmdk-group-heading]]:text-muted-foreground\n ", e),
|
|
649
|
+
...t
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
function fa({ className: e, ...t }) {
|
|
653
|
+
return /* @__PURE__ */ M(W.Separator, {
|
|
654
|
+
"data-slot": "command-separator",
|
|
655
|
+
className: s("-mx-1 h-px bg-border", e),
|
|
656
|
+
...t
|
|
657
|
+
});
|
|
658
|
+
}
|
|
659
|
+
function pa({ className: e, children: t, ...n }) {
|
|
660
|
+
return /* @__PURE__ */ N(W.Item, {
|
|
661
|
+
"data-slot": "command-item",
|
|
662
|
+
className: s("\n group/command-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5\n text-sm outline-hidden select-none\n in-data-[slot=dialog-content]:rounded-lg!\n data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50\n data-selected:bg-muted data-selected:text-foreground\n [&_svg]:pointer-events-none [&_svg]:shrink-0\n [&_svg:not([class*='size-'])]:size-4\n data-selected:*:[svg]:text-foreground\n ", e),
|
|
663
|
+
...n,
|
|
664
|
+
children: [t, /* @__PURE__ */ M(P, { className: "\n ml-auto opacity-0\n group-has-data-[slot=command-shortcut]/command-item:hidden\n group-data-[checked=true]/command-item:opacity-100\n " })]
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
function ma({ className: e, ...t }) {
|
|
668
|
+
return /* @__PURE__ */ M("span", {
|
|
669
|
+
"data-slot": "command-shortcut",
|
|
670
|
+
className: s("\n ml-auto text-xs tracking-widest text-muted-foreground\n group-data-selected/command-item:text-foreground\n ", e),
|
|
671
|
+
...t
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
//#endregion
|
|
675
|
+
//#region src/ui/context-menu.tsx
|
|
676
|
+
function ha({ ...e }) {
|
|
677
|
+
return /* @__PURE__ */ M(G.Root, {
|
|
678
|
+
"data-slot": "context-menu",
|
|
679
|
+
...e
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
function ga({ className: e, ...t }) {
|
|
683
|
+
return /* @__PURE__ */ M(G.Trigger, {
|
|
684
|
+
"data-slot": "context-menu-trigger",
|
|
685
|
+
className: s("select-none", e),
|
|
686
|
+
...t
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
function _a({ className: e, align: t = "start", alignOffset: n = 4, side: r = "right", sideOffset: i = 0, ...a }) {
|
|
690
|
+
return /* @__PURE__ */ M(G.Portal, { children: /* @__PURE__ */ M(G.Positioner, {
|
|
691
|
+
className: "isolate z-50 outline-none",
|
|
692
|
+
align: t,
|
|
693
|
+
alignOffset: n,
|
|
694
|
+
side: r,
|
|
695
|
+
sideOffset: i,
|
|
696
|
+
children: /* @__PURE__ */ M(G.Popup, {
|
|
697
|
+
"data-slot": "context-menu-content",
|
|
698
|
+
className: s("\n z-50 max-h-(--available-height) min-w-36 origin-(--transform-origin)\n overflow-x-hidden overflow-y-auto rounded-lg border bg-popover p-1\n text-popover-foreground shadow-lg duration-100 outline-none\n data-[side=bottom]:slide-in-from-top-2\n data-[side=inline-end]:slide-in-from-left-2\n data-[side=inline-start]:slide-in-from-right-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2\n data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95\n data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\n ", e),
|
|
699
|
+
...a
|
|
700
|
+
})
|
|
701
|
+
}) });
|
|
702
|
+
}
|
|
703
|
+
function va({ ...e }) {
|
|
704
|
+
return /* @__PURE__ */ M(G.Group, {
|
|
705
|
+
"data-slot": "context-menu-group",
|
|
706
|
+
...e
|
|
707
|
+
});
|
|
708
|
+
}
|
|
709
|
+
function ya({ className: e, inset: t, ...n }) {
|
|
710
|
+
return /* @__PURE__ */ M(G.GroupLabel, {
|
|
711
|
+
"data-slot": "context-menu-label",
|
|
712
|
+
"data-inset": t,
|
|
713
|
+
className: s("\n px-1.5 py-1 text-xs font-medium text-muted-foreground\n data-inset:pl-7\n ", e),
|
|
714
|
+
...n
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
function ba({ className: e, inset: t, variant: n = "default", ...r }) {
|
|
718
|
+
return /* @__PURE__ */ M(G.Item, {
|
|
719
|
+
"data-slot": "context-menu-item",
|
|
720
|
+
"data-inset": t,
|
|
721
|
+
"data-variant": n,
|
|
722
|
+
className: s("\n group/context-menu-item relative flex cursor-default items-center gap-1.5 rounded-md\n px-1.5 py-1 text-sm outline-hidden select-none\n focus:bg-accent focus:text-accent-foreground\n data-inset:pl-7\n data-[variant=destructive]:text-destructive\n data-[variant=destructive]:focus:bg-destructive/10\n data-[variant=destructive]:focus:text-destructive\n dark:data-[variant=destructive]:focus:bg-destructive/20\n data-disabled:pointer-events-none data-disabled:opacity-50\n [&_svg]:pointer-events-none [&_svg]:shrink-0\n [&_svg:not([class*='size-'])]:size-4\n focus:*:[svg]:text-accent-foreground\n data-[variant=destructive]:*:[svg]:text-destructive\n ", e),
|
|
723
|
+
...r
|
|
724
|
+
});
|
|
725
|
+
}
|
|
726
|
+
function xa({ ...e }) {
|
|
727
|
+
return /* @__PURE__ */ M(G.SubmenuRoot, {
|
|
728
|
+
"data-slot": "context-menu-sub",
|
|
729
|
+
...e
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
function Sa({ className: e, inset: t, children: n, ...r }) {
|
|
733
|
+
return /* @__PURE__ */ N(G.SubmenuTrigger, {
|
|
734
|
+
"data-slot": "context-menu-sub-trigger",
|
|
735
|
+
"data-inset": t,
|
|
736
|
+
className: s("\n flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden\n select-none\n focus:bg-accent focus:text-accent-foreground\n data-inset:pl-7\n data-open:bg-accent data-open:text-accent-foreground\n [&_svg]:pointer-events-none [&_svg]:shrink-0\n [&_svg:not([class*='size-'])]:size-4\n ", e),
|
|
737
|
+
...r,
|
|
738
|
+
children: [n, /* @__PURE__ */ M(I, { className: "ml-auto" })]
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
function Ca({ ...e }) {
|
|
742
|
+
return /* @__PURE__ */ M(_a, {
|
|
743
|
+
"data-slot": "context-menu-sub-content",
|
|
744
|
+
className: "shadow-lg",
|
|
745
|
+
side: "right",
|
|
746
|
+
...e
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
function wa({ className: e, children: t, checked: n, inset: r, ...i }) {
|
|
750
|
+
return /* @__PURE__ */ N(G.CheckboxItem, {
|
|
751
|
+
"data-slot": "context-menu-checkbox-item",
|
|
752
|
+
"data-inset": r,
|
|
753
|
+
className: s("\n relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm\n outline-hidden select-none\n focus:bg-accent focus:text-accent-foreground\n data-inset:pl-7\n data-disabled:pointer-events-none data-disabled:opacity-50\n [&_svg]:pointer-events-none [&_svg]:shrink-0\n [&_svg:not([class*='size-'])]:size-4\n ", e),
|
|
754
|
+
checked: n,
|
|
755
|
+
...i,
|
|
756
|
+
children: [/* @__PURE__ */ M("span", {
|
|
757
|
+
className: "pointer-events-none absolute right-2",
|
|
758
|
+
children: /* @__PURE__ */ M(G.CheckboxItemIndicator, { children: /* @__PURE__ */ M(P, {}) })
|
|
759
|
+
}), t]
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
function Ta({ ...e }) {
|
|
763
|
+
return /* @__PURE__ */ M(G.RadioGroup, {
|
|
764
|
+
"data-slot": "context-menu-radio-group",
|
|
765
|
+
...e
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
function Ea({ className: e, children: t, inset: n, ...r }) {
|
|
769
|
+
return /* @__PURE__ */ N(G.RadioItem, {
|
|
770
|
+
"data-slot": "context-menu-radio-item",
|
|
771
|
+
"data-inset": n,
|
|
772
|
+
className: s("\n relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm\n outline-hidden select-none\n focus:bg-accent focus:text-accent-foreground\n data-inset:pl-7\n data-disabled:pointer-events-none data-disabled:opacity-50\n [&_svg]:pointer-events-none [&_svg]:shrink-0\n [&_svg:not([class*='size-'])]:size-4\n ", e),
|
|
773
|
+
...r,
|
|
774
|
+
children: [/* @__PURE__ */ M("span", {
|
|
775
|
+
className: "pointer-events-none absolute right-2",
|
|
776
|
+
children: /* @__PURE__ */ M(G.RadioItemIndicator, { children: /* @__PURE__ */ M(P, {}) })
|
|
777
|
+
}), t]
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
function Da({ className: e, ...t }) {
|
|
781
|
+
return /* @__PURE__ */ M(G.Separator, {
|
|
782
|
+
"data-slot": "context-menu-separator",
|
|
783
|
+
className: s("-mx-1 my-1 h-px bg-border", e),
|
|
784
|
+
...t
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
function Oa({ className: e, ...t }) {
|
|
788
|
+
return /* @__PURE__ */ M("span", {
|
|
789
|
+
"data-slot": "context-menu-shortcut",
|
|
790
|
+
className: s("\n ml-auto text-xs tracking-widest text-muted-foreground\n group-focus/context-menu-item:text-accent-foreground\n ", e),
|
|
791
|
+
...t
|
|
792
|
+
});
|
|
793
|
+
}
|
|
794
|
+
//#endregion
|
|
795
|
+
//#region src/ui/data-table.tsx
|
|
796
|
+
var ka = ei({
|
|
797
|
+
columnFilteringFeature: Kr,
|
|
798
|
+
columnVisibilityFeature: qr,
|
|
799
|
+
rowPaginationFeature: Zr,
|
|
800
|
+
rowSelectionFeature: Qr,
|
|
801
|
+
rowSortingFeature: $r,
|
|
802
|
+
filteredRowModel: Jr(),
|
|
803
|
+
paginatedRowModel: Yr(),
|
|
804
|
+
sortedRowModel: Xr()
|
|
805
|
+
});
|
|
806
|
+
function Aa({ columns: e, data: t, empty: n, toolbar: i, ...a }) {
|
|
807
|
+
let o = r(), s = ti({
|
|
808
|
+
features: ka,
|
|
809
|
+
columns: e,
|
|
810
|
+
data: t,
|
|
811
|
+
...a
|
|
812
|
+
}), c = s.getRowModel().rows, l = s.getVisibleLeafColumns().length;
|
|
813
|
+
return /* @__PURE__ */ N("div", {
|
|
814
|
+
"data-slot": "data-table",
|
|
815
|
+
className: "space-y-3",
|
|
816
|
+
children: [typeof i == "function" ? i(s) : i, /* @__PURE__ */ M("div", {
|
|
817
|
+
className: "overflow-hidden rounded-md border",
|
|
818
|
+
children: /* @__PURE__ */ N(tt, { children: [/* @__PURE__ */ M(et, { children: s.getHeaderGroups().map((e) => /* @__PURE__ */ M(T, { children: e.headers.map((e) => /* @__PURE__ */ M(Qe, {
|
|
819
|
+
colSpan: e.colSpan,
|
|
820
|
+
"aria-sort": Fa(e.column.getIsSorted()),
|
|
821
|
+
children: e.isPlaceholder ? null : /* @__PURE__ */ M(s.FlexRender, { header: e })
|
|
822
|
+
}, e.id)) }, e.id)) }), /* @__PURE__ */ M(Ze, { children: c.length === 0 ? /* @__PURE__ */ M(T, { children: /* @__PURE__ */ M(Xe, {
|
|
823
|
+
colSpan: l,
|
|
824
|
+
className: "h-24 text-center",
|
|
825
|
+
children: n === void 0 ? o("ui_data_table_empty") : n
|
|
826
|
+
}) }) : c.map((e) => /* @__PURE__ */ M(T, {
|
|
827
|
+
"data-state": e.getIsSelected() ? "selected" : void 0,
|
|
828
|
+
children: e.getVisibleCells().map((e) => /* @__PURE__ */ M(Xe, { children: /* @__PURE__ */ M(s.FlexRender, { cell: e }) }, e.id))
|
|
829
|
+
}, e.id)) })] })
|
|
830
|
+
})]
|
|
831
|
+
});
|
|
832
|
+
}
|
|
833
|
+
function ja({ column: e, children: t }) {
|
|
834
|
+
if (!e.getCanSort()) return t;
|
|
835
|
+
let n = e.getIsSorted();
|
|
836
|
+
return /* @__PURE__ */ N(C, {
|
|
837
|
+
type: "button",
|
|
838
|
+
variant: "ghost",
|
|
839
|
+
size: "sm",
|
|
840
|
+
className: "-ml-3",
|
|
841
|
+
onClick: () => {
|
|
842
|
+
e.toggleSorting(n === "asc");
|
|
843
|
+
},
|
|
844
|
+
children: [t, M(n === "asc" ? Tr : n === "desc" ? Cr : wr, {})]
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
function Ma({ table: e }) {
|
|
848
|
+
let t = r(), n = e.getAllLeafColumns().filter((e) => e.getCanHide());
|
|
849
|
+
return /* @__PURE__ */ N(bn, { children: [/* @__PURE__ */ N(E, {
|
|
850
|
+
render: /* @__PURE__ */ M(C, {
|
|
851
|
+
type: "button",
|
|
852
|
+
variant: "outline",
|
|
853
|
+
size: "sm"
|
|
854
|
+
}),
|
|
855
|
+
children: [/* @__PURE__ */ M(Or, {}), t("ui_data_table_columns")]
|
|
856
|
+
}), /* @__PURE__ */ M(k, {
|
|
857
|
+
align: "end",
|
|
858
|
+
children: /* @__PURE__ */ N(D, { children: [/* @__PURE__ */ M(O, { children: t("ui_data_table_columns") }), n.map((e) => /* @__PURE__ */ M(_n, {
|
|
859
|
+
checked: e.getIsVisible(),
|
|
860
|
+
onCheckedChange: (t) => {
|
|
861
|
+
e.toggleVisibility(t);
|
|
862
|
+
},
|
|
863
|
+
children: e.id
|
|
864
|
+
}, e.id))] })
|
|
865
|
+
})] });
|
|
866
|
+
}
|
|
867
|
+
function Na({ children: e }) {
|
|
868
|
+
return /* @__PURE__ */ M("div", {
|
|
869
|
+
"data-slot": "data-table-toolbar",
|
|
870
|
+
className: "flex flex-wrap items-center justify-between gap-2",
|
|
871
|
+
children: e
|
|
872
|
+
});
|
|
873
|
+
}
|
|
874
|
+
function Pa({ table: e }) {
|
|
875
|
+
let t = r();
|
|
876
|
+
return /* @__PURE__ */ N("div", {
|
|
877
|
+
"data-slot": "data-table-pagination",
|
|
878
|
+
className: "flex items-center justify-end gap-2",
|
|
879
|
+
children: [
|
|
880
|
+
/* @__PURE__ */ M("span", {
|
|
881
|
+
className: "text-sm text-muted-foreground",
|
|
882
|
+
children: Ia(e.state.pagination.pageIndex + 1, e.getPageCount())
|
|
883
|
+
}),
|
|
884
|
+
/* @__PURE__ */ M(C, {
|
|
885
|
+
type: "button",
|
|
886
|
+
variant: "outline",
|
|
887
|
+
size: "sm",
|
|
888
|
+
disabled: !e.getCanPreviousPage(),
|
|
889
|
+
onClick: () => {
|
|
890
|
+
e.previousPage();
|
|
891
|
+
},
|
|
892
|
+
children: t("action_previous")
|
|
893
|
+
}),
|
|
894
|
+
/* @__PURE__ */ M(C, {
|
|
895
|
+
type: "button",
|
|
896
|
+
variant: "outline",
|
|
897
|
+
size: "sm",
|
|
898
|
+
disabled: !e.getCanNextPage(),
|
|
899
|
+
onClick: () => {
|
|
900
|
+
e.nextPage();
|
|
901
|
+
},
|
|
902
|
+
children: t("action_next")
|
|
903
|
+
})
|
|
904
|
+
]
|
|
905
|
+
});
|
|
906
|
+
}
|
|
907
|
+
function Fa(e) {
|
|
908
|
+
if (e === "asc") return "ascending";
|
|
909
|
+
if (e === "desc") return "descending";
|
|
910
|
+
}
|
|
911
|
+
function Ia(e, n) {
|
|
912
|
+
return n < 0 ? t("ui_data_table_page", { page: e }) : t("ui_data_table_page_of", {
|
|
913
|
+
page: e,
|
|
914
|
+
pages: Math.max(n, 1)
|
|
915
|
+
});
|
|
916
|
+
}
|
|
917
|
+
//#endregion
|
|
918
|
+
//#region src/ui/direction.tsx
|
|
919
|
+
var La = ni;
|
|
920
|
+
function Ra() {
|
|
921
|
+
return ri();
|
|
922
|
+
}
|
|
923
|
+
//#endregion
|
|
924
|
+
//#region src/ui/gauge.tsx
|
|
925
|
+
function za(e) {
|
|
926
|
+
if (!(e > 0) || !Number.isFinite(e)) return 1;
|
|
927
|
+
let t = 10 ** Math.floor(Math.log10(e));
|
|
928
|
+
return ([
|
|
929
|
+
1,
|
|
930
|
+
2,
|
|
931
|
+
5,
|
|
932
|
+
10
|
|
933
|
+
].find((n) => n * t >= e) ?? 10) * t;
|
|
934
|
+
}
|
|
935
|
+
var Ba = {
|
|
936
|
+
default: "stroke-primary",
|
|
937
|
+
positive: "stroke-emerald-500",
|
|
938
|
+
warning: "stroke-amber-500",
|
|
939
|
+
muted: "stroke-muted-foreground/50"
|
|
940
|
+
}, Va = "M 20 100 A 80 80 0 0 1 180 100";
|
|
941
|
+
function Ha(e, t) {
|
|
942
|
+
let n = Math.PI * (1 - e);
|
|
943
|
+
return {
|
|
944
|
+
x: 100 + t * Math.cos(n),
|
|
945
|
+
y: 100 - t * Math.sin(n)
|
|
946
|
+
};
|
|
947
|
+
}
|
|
948
|
+
function Ua({ value: e, max: t, marker: n, valueText: r, unitText: i, minLabel: a = "0", maxLabel: o, tone: c = "default", ariaLabel: l, className: u }) {
|
|
949
|
+
let d = yr(), f = t > 0 && Number.isFinite(t) ? t : 1, p = (e) => Math.min(1, Math.max(0, e / f)), m = n == null || !Number.isFinite(n) ? null : {
|
|
950
|
+
inner: Ha(p(n), 66),
|
|
951
|
+
outer: Ha(p(n), 94)
|
|
952
|
+
};
|
|
953
|
+
return /* @__PURE__ */ N("svg", {
|
|
954
|
+
viewBox: "0 0 200 122",
|
|
955
|
+
role: "img",
|
|
956
|
+
"aria-labelledby": d,
|
|
957
|
+
className: s("w-full max-w-44", u),
|
|
958
|
+
"data-slot": "gauge",
|
|
959
|
+
children: [
|
|
960
|
+
/* @__PURE__ */ M("title", {
|
|
961
|
+
id: d,
|
|
962
|
+
children: l
|
|
963
|
+
}),
|
|
964
|
+
/* @__PURE__ */ M("path", {
|
|
965
|
+
d: Va,
|
|
966
|
+
pathLength: 100,
|
|
967
|
+
fill: "none",
|
|
968
|
+
strokeWidth: 14,
|
|
969
|
+
strokeLinecap: "round",
|
|
970
|
+
className: "stroke-muted"
|
|
971
|
+
}),
|
|
972
|
+
e == null || !Number.isFinite(e) ? null : /* @__PURE__ */ M("path", {
|
|
973
|
+
d: Va,
|
|
974
|
+
pathLength: 100,
|
|
975
|
+
fill: "none",
|
|
976
|
+
strokeWidth: 14,
|
|
977
|
+
strokeLinecap: "round",
|
|
978
|
+
strokeDasharray: `${String(Math.max(.5, p(e) * 100))} 100`,
|
|
979
|
+
className: s("transition-[stroke-dasharray] duration-700", Ba[c]),
|
|
980
|
+
"data-slot": "gauge-value"
|
|
981
|
+
}),
|
|
982
|
+
m == null ? null : /* @__PURE__ */ M("line", {
|
|
983
|
+
x1: m.inner.x,
|
|
984
|
+
y1: m.inner.y,
|
|
985
|
+
x2: m.outer.x,
|
|
986
|
+
y2: m.outer.y,
|
|
987
|
+
strokeWidth: 3,
|
|
988
|
+
strokeLinecap: "round",
|
|
989
|
+
className: "stroke-foreground/70",
|
|
990
|
+
"data-slot": "gauge-marker"
|
|
991
|
+
}),
|
|
992
|
+
/* @__PURE__ */ M("text", {
|
|
993
|
+
x: "20",
|
|
994
|
+
y: "120",
|
|
995
|
+
textAnchor: "middle",
|
|
996
|
+
className: "fill-muted-foreground text-[12px] tabular-nums",
|
|
997
|
+
children: a
|
|
998
|
+
}),
|
|
999
|
+
/* @__PURE__ */ M("text", {
|
|
1000
|
+
x: "180",
|
|
1001
|
+
y: "120",
|
|
1002
|
+
textAnchor: "middle",
|
|
1003
|
+
className: "fill-muted-foreground text-[12px] tabular-nums",
|
|
1004
|
+
children: o ?? String(f)
|
|
1005
|
+
}),
|
|
1006
|
+
/* @__PURE__ */ M("text", {
|
|
1007
|
+
x: "100",
|
|
1008
|
+
y: "86",
|
|
1009
|
+
textAnchor: "middle",
|
|
1010
|
+
className: s("text-[30px] font-semibold tabular-nums", c === "muted" ? "fill-muted-foreground" : "fill-foreground"),
|
|
1011
|
+
children: r
|
|
1012
|
+
}),
|
|
1013
|
+
i == null ? null : /* @__PURE__ */ M("text", {
|
|
1014
|
+
x: "100",
|
|
1015
|
+
y: "106",
|
|
1016
|
+
textAnchor: "middle",
|
|
1017
|
+
className: "fill-muted-foreground text-[13px]",
|
|
1018
|
+
children: i
|
|
1019
|
+
})
|
|
1020
|
+
]
|
|
1021
|
+
});
|
|
1022
|
+
}
|
|
1023
|
+
//#endregion
|
|
1024
|
+
//#region src/ui/hover-card.tsx
|
|
1025
|
+
function Wa({ ...e }) {
|
|
1026
|
+
return /* @__PURE__ */ M(K.Root, {
|
|
1027
|
+
"data-slot": "hover-card",
|
|
1028
|
+
...e
|
|
1029
|
+
});
|
|
1030
|
+
}
|
|
1031
|
+
function Ga({ ...e }) {
|
|
1032
|
+
return /* @__PURE__ */ M(K.Trigger, {
|
|
1033
|
+
"data-slot": "hover-card-trigger",
|
|
1034
|
+
...e
|
|
1035
|
+
});
|
|
1036
|
+
}
|
|
1037
|
+
function Ka({ className: e, side: t = "bottom", sideOffset: n = 4, align: r = "center", alignOffset: i = 4, ...a }) {
|
|
1038
|
+
return /* @__PURE__ */ M(K.Portal, {
|
|
1039
|
+
"data-slot": "hover-card-portal",
|
|
1040
|
+
children: /* @__PURE__ */ M(K.Positioner, {
|
|
1041
|
+
align: r,
|
|
1042
|
+
alignOffset: i,
|
|
1043
|
+
side: t,
|
|
1044
|
+
sideOffset: n,
|
|
1045
|
+
className: "isolate z-50",
|
|
1046
|
+
children: /* @__PURE__ */ M(K.Popup, {
|
|
1047
|
+
"data-slot": "hover-card-content",
|
|
1048
|
+
className: s("\n z-50 w-64 origin-(--transform-origin) rounded-lg border bg-popover p-2.5 text-sm\n text-popover-foreground shadow-lg outline-hidden duration-100\n data-[side=bottom]:slide-in-from-top-2\n data-[side=inline-end]:slide-in-from-left-2\n data-[side=inline-start]:slide-in-from-right-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2\n data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95\n data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\n ", e),
|
|
1049
|
+
...a
|
|
1050
|
+
})
|
|
1051
|
+
})
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
1054
|
+
//#endregion
|
|
1055
|
+
//#region src/ui/marker.tsx
|
|
1056
|
+
var qa = L("\n group/marker relative flex min-h-4 w-full items-center gap-2 text-left text-sm\n text-muted-foreground\n [&_svg:not([class*='size-'])]:size-4\n [a]:underline [a]:underline-offset-3\n [a]:hover:text-foreground\n ", { variants: { variant: {
|
|
1057
|
+
default: "",
|
|
1058
|
+
separator: "\n before:mr-1 before:h-px before:min-w-0 before:flex-1 before:bg-border\n after:ml-1 after:h-px after:min-w-0 after:flex-1 after:bg-border\n ",
|
|
1059
|
+
border: "border-b border-border pb-2"
|
|
1060
|
+
} } });
|
|
1061
|
+
function Ja({ className: e, variant: t = "default", render: n, ...r }) {
|
|
1062
|
+
return B({
|
|
1063
|
+
defaultTagName: "div",
|
|
1064
|
+
props: z({ className: s(qa({
|
|
1065
|
+
variant: t,
|
|
1066
|
+
className: e
|
|
1067
|
+
})) }, r),
|
|
1068
|
+
render: n,
|
|
1069
|
+
state: {
|
|
1070
|
+
slot: "marker",
|
|
1071
|
+
variant: t
|
|
1072
|
+
}
|
|
1073
|
+
});
|
|
1074
|
+
}
|
|
1075
|
+
function Ya({ className: e, ...t }) {
|
|
1076
|
+
return /* @__PURE__ */ M("span", {
|
|
1077
|
+
"data-slot": "marker-icon",
|
|
1078
|
+
"aria-hidden": "true",
|
|
1079
|
+
className: s("\n size-4 shrink-0\n [&_svg:not([class*='size-'])]:size-4\n ", e),
|
|
1080
|
+
...t
|
|
1081
|
+
});
|
|
1082
|
+
}
|
|
1083
|
+
function Xa({ className: e, ...t }) {
|
|
1084
|
+
return /* @__PURE__ */ M("span", {
|
|
1085
|
+
"data-slot": "marker-content",
|
|
1086
|
+
className: s("\n min-w-0 wrap-break-word\n group-data-[variant=separator]/marker:flex-none\n group-data-[variant=separator]/marker:text-center\n *:[a]:underline *:[a]:underline-offset-3\n *:[a]:hover:text-foreground\n ", e),
|
|
1087
|
+
...t
|
|
1088
|
+
});
|
|
1089
|
+
}
|
|
1090
|
+
//#endregion
|
|
1091
|
+
//#region src/ui/menubar.tsx
|
|
1092
|
+
function Za({ className: e, ...t }) {
|
|
1093
|
+
return /* @__PURE__ */ M(ii, {
|
|
1094
|
+
"data-slot": "menubar",
|
|
1095
|
+
className: s("flex h-8 items-center gap-0.5 rounded-lg border p-[3px]", e),
|
|
1096
|
+
...t
|
|
1097
|
+
});
|
|
1098
|
+
}
|
|
1099
|
+
function Qa({ ...e }) {
|
|
1100
|
+
return /* @__PURE__ */ M(bn, {
|
|
1101
|
+
"data-slot": "menubar-menu",
|
|
1102
|
+
...e
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1105
|
+
function $a({ ...e }) {
|
|
1106
|
+
return /* @__PURE__ */ M(D, {
|
|
1107
|
+
"data-slot": "menubar-group",
|
|
1108
|
+
...e
|
|
1109
|
+
});
|
|
1110
|
+
}
|
|
1111
|
+
function eo({ className: e, ...t }) {
|
|
1112
|
+
return /* @__PURE__ */ M(E, {
|
|
1113
|
+
"data-slot": "menubar-trigger",
|
|
1114
|
+
className: s("\n flex items-center rounded-sm px-1.5 py-[2px] text-sm font-medium outline-hidden\n select-none\n hover:bg-muted\n aria-expanded:bg-muted\n ", e),
|
|
1115
|
+
...t
|
|
1116
|
+
});
|
|
1117
|
+
}
|
|
1118
|
+
function to({ className: e, align: t = "start", alignOffset: n = -4, sideOffset: r = 8, ...i }) {
|
|
1119
|
+
return /* @__PURE__ */ M(k, {
|
|
1120
|
+
"data-slot": "menubar-content",
|
|
1121
|
+
align: t,
|
|
1122
|
+
alignOffset: n,
|
|
1123
|
+
sideOffset: r,
|
|
1124
|
+
className: s("\n min-w-36 rounded-lg border bg-popover p-1 text-popover-foreground shadow-lg duration-100\n data-[side=bottom]:slide-in-from-top-2\n data-[side=inline-end]:slide-in-from-left-2\n data-[side=inline-start]:slide-in-from-right-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2\n data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95\n ", e),
|
|
1125
|
+
...i
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
function no({ className: e, inset: t, variant: n = "default", ...r }) {
|
|
1129
|
+
return /* @__PURE__ */ M(dn, {
|
|
1130
|
+
"data-slot": "menubar-item",
|
|
1131
|
+
"data-inset": t,
|
|
1132
|
+
"data-variant": n,
|
|
1133
|
+
className: s("\n group/menubar-item gap-1.5 rounded-md px-1.5 py-1 text-sm\n focus:bg-accent focus:text-accent-foreground\n not-data-[variant=destructive]:focus:**:text-accent-foreground\n data-inset:pl-7\n data-[variant=destructive]:text-destructive\n data-[variant=destructive]:focus:bg-destructive/10\n data-[variant=destructive]:focus:text-destructive\n dark:data-[variant=destructive]:focus:bg-destructive/20\n data-disabled:opacity-50\n [&_svg:not([class*='size-'])]:size-4\n data-[variant=destructive]:*:[svg]:text-destructive!\n ", e),
|
|
1134
|
+
...r
|
|
1135
|
+
});
|
|
1136
|
+
}
|
|
1137
|
+
function ro({ className: e, children: t, checked: n, inset: r, ...i }) {
|
|
1138
|
+
return /* @__PURE__ */ N(R.CheckboxItem, {
|
|
1139
|
+
"data-slot": "menubar-checkbox-item",
|
|
1140
|
+
"data-inset": r,
|
|
1141
|
+
className: s("\n relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-1.5 pl-7 text-sm\n outline-hidden select-none\n focus:bg-accent focus:text-accent-foreground\n focus:**:text-accent-foreground\n data-inset:pl-7\n data-disabled:pointer-events-none data-disabled:opacity-50\n [&_svg]:pointer-events-none [&_svg]:shrink-0\n ", e),
|
|
1142
|
+
checked: n,
|
|
1143
|
+
...i,
|
|
1144
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1145
|
+
className: "\n pointer-events-none absolute left-1.5 flex size-4 items-center justify-center\n [&_svg:not([class*='size-'])]:size-4\n ",
|
|
1146
|
+
children: /* @__PURE__ */ M(R.CheckboxItemIndicator, { children: /* @__PURE__ */ M(P, {}) })
|
|
1147
|
+
}), t]
|
|
1148
|
+
});
|
|
1149
|
+
}
|
|
1150
|
+
function io({ ...e }) {
|
|
1151
|
+
return /* @__PURE__ */ M(fn, {
|
|
1152
|
+
"data-slot": "menubar-radio-group",
|
|
1153
|
+
...e
|
|
1154
|
+
});
|
|
1155
|
+
}
|
|
1156
|
+
function ao({ className: e, children: t, inset: n, ...r }) {
|
|
1157
|
+
return /* @__PURE__ */ N(R.RadioItem, {
|
|
1158
|
+
"data-slot": "menubar-radio-item",
|
|
1159
|
+
"data-inset": n,
|
|
1160
|
+
className: s("\n relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-1.5 pl-7 text-sm\n outline-hidden select-none\n focus:bg-accent focus:text-accent-foreground\n focus:**:text-accent-foreground\n data-inset:pl-7\n data-disabled:pointer-events-none data-disabled:opacity-50\n [&_svg]:pointer-events-none [&_svg]:shrink-0\n [&_svg:not([class*='size-'])]:size-4\n ", e),
|
|
1161
|
+
...r,
|
|
1162
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1163
|
+
className: "\n pointer-events-none absolute left-1.5 flex size-4 items-center justify-center\n [&_svg:not([class*='size-'])]:size-4\n ",
|
|
1164
|
+
children: /* @__PURE__ */ M(R.RadioItemIndicator, { children: /* @__PURE__ */ M(P, {}) })
|
|
1165
|
+
}), t]
|
|
1166
|
+
});
|
|
1167
|
+
}
|
|
1168
|
+
function oo({ className: e, inset: t, ...n }) {
|
|
1169
|
+
return /* @__PURE__ */ M(O, {
|
|
1170
|
+
"data-slot": "menubar-label",
|
|
1171
|
+
"data-inset": t,
|
|
1172
|
+
className: s("\n px-1.5 py-1 text-sm font-medium\n data-inset:pl-7\n ", e),
|
|
1173
|
+
...n
|
|
1174
|
+
});
|
|
1175
|
+
}
|
|
1176
|
+
function so({ className: e, ...t }) {
|
|
1177
|
+
return /* @__PURE__ */ M(xn, {
|
|
1178
|
+
"data-slot": "menubar-separator",
|
|
1179
|
+
className: s("-mx-1 my-1 h-px bg-border", e),
|
|
1180
|
+
...t
|
|
1181
|
+
});
|
|
1182
|
+
}
|
|
1183
|
+
function co({ className: e, ...t }) {
|
|
1184
|
+
return /* @__PURE__ */ M(pn, {
|
|
1185
|
+
"data-slot": "menubar-shortcut",
|
|
1186
|
+
className: s("\n ml-auto text-xs tracking-widest text-muted-foreground\n group-focus/menubar-item:text-accent-foreground\n ", e),
|
|
1187
|
+
...t
|
|
1188
|
+
});
|
|
1189
|
+
}
|
|
1190
|
+
function lo({ ...e }) {
|
|
1191
|
+
return /* @__PURE__ */ M(mn, {
|
|
1192
|
+
"data-slot": "menubar-sub",
|
|
1193
|
+
...e
|
|
1194
|
+
});
|
|
1195
|
+
}
|
|
1196
|
+
function uo({ className: e, inset: t, ...n }) {
|
|
1197
|
+
return /* @__PURE__ */ M(gn, {
|
|
1198
|
+
"data-slot": "menubar-sub-trigger",
|
|
1199
|
+
"data-inset": t,
|
|
1200
|
+
className: s("\n gap-1.5 rounded-md px-1.5 py-1 text-sm\n focus:bg-accent focus:text-accent-foreground\n data-inset:pl-7\n data-open:bg-accent data-open:text-accent-foreground\n [&_svg:not([class*='size-'])]:size-4\n ", e),
|
|
1201
|
+
...n
|
|
1202
|
+
});
|
|
1203
|
+
}
|
|
1204
|
+
function fo({ className: e, ...t }) {
|
|
1205
|
+
return /* @__PURE__ */ M(vn, {
|
|
1206
|
+
"data-slot": "menubar-sub-content",
|
|
1207
|
+
className: s("\n min-w-32 rounded-lg border bg-popover p-1 text-popover-foreground shadow-lg duration-100\n data-[side=bottom]:slide-in-from-top-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2\n data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95\n data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\n ", e),
|
|
1208
|
+
...t
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1211
|
+
//#endregion
|
|
1212
|
+
//#region src/ui/message.tsx
|
|
1213
|
+
function po({ className: e, ...t }) {
|
|
1214
|
+
return /* @__PURE__ */ M("div", {
|
|
1215
|
+
"data-slot": "message-group",
|
|
1216
|
+
className: s("flex min-w-0 flex-col gap-2", e),
|
|
1217
|
+
...t
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
function mo({ className: e, align: t = "start", ...n }) {
|
|
1221
|
+
return /* @__PURE__ */ M("div", {
|
|
1222
|
+
"data-slot": "message",
|
|
1223
|
+
"data-align": t,
|
|
1224
|
+
className: s("\n group/message relative flex w-full min-w-0 gap-2 text-sm\n data-[align=end]:flex-row-reverse\n ", e),
|
|
1225
|
+
...n
|
|
1226
|
+
});
|
|
1227
|
+
}
|
|
1228
|
+
function ho({ className: e, ...t }) {
|
|
1229
|
+
return /* @__PURE__ */ M("div", {
|
|
1230
|
+
"data-slot": "message-avatar",
|
|
1231
|
+
className: s("\n flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden\n rounded-full bg-muted\n group-has-data-[slot=message-footer]/message:-translate-y-8\n ", e),
|
|
1232
|
+
...t
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
function go({ className: e, ...t }) {
|
|
1236
|
+
return /* @__PURE__ */ M("div", {
|
|
1237
|
+
"data-slot": "message-content",
|
|
1238
|
+
className: s("\n flex w-full min-w-0 flex-col gap-2.5 wrap-break-word\n group-data-[align=end]/message:*:data-slot:self-end\n ", e),
|
|
1239
|
+
...t
|
|
1240
|
+
});
|
|
1241
|
+
}
|
|
1242
|
+
function _o({ className: e, ...t }) {
|
|
1243
|
+
return /* @__PURE__ */ M("div", {
|
|
1244
|
+
"data-slot": "message-header",
|
|
1245
|
+
className: s("\n flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground\n group-has-data-[variant=ghost]/message:px-0\n ", e),
|
|
1246
|
+
...t
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
function vo({ className: e, ...t }) {
|
|
1250
|
+
return /* @__PURE__ */ M("div", {
|
|
1251
|
+
"data-slot": "message-footer",
|
|
1252
|
+
className: s("\n flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground\n group-has-data-[variant=ghost]/message:px-0\n group-data-[align=end]/message:justify-end\n ", e),
|
|
1253
|
+
...t
|
|
1254
|
+
});
|
|
1255
|
+
}
|
|
1256
|
+
//#endregion
|
|
1257
|
+
//#region src/ui/message-scroller.tsx
|
|
1258
|
+
var yo = q.Provider, bo = ai, xo = oi, So = si;
|
|
1259
|
+
function Co({ className: e, ...t }) {
|
|
1260
|
+
return /* @__PURE__ */ M(q.Root, {
|
|
1261
|
+
"data-slot": "message-scroller",
|
|
1262
|
+
className: s("group/message-scroller relative flex size-full min-h-0 flex-col overflow-hidden", e),
|
|
1263
|
+
...t
|
|
1264
|
+
});
|
|
1265
|
+
}
|
|
1266
|
+
function wo({ className: e, ...t }) {
|
|
1267
|
+
return /* @__PURE__ */ M(q.Viewport, {
|
|
1268
|
+
"data-slot": "message-scroller-viewport",
|
|
1269
|
+
className: s("\n size-full min-h-0 min-w-0 scroll-fade-b scrollbar-thin scrollbar-gutter-stable\n overflow-y-auto overscroll-contain contain-content\n data-autoscrolling:scrollbar-thumb-transparent\n data-autoscrolling:scrollbar-track-transparent\n data-pending-scroll:invisible\n ", e),
|
|
1270
|
+
...t
|
|
1271
|
+
});
|
|
1272
|
+
}
|
|
1273
|
+
function To({ className: e, ...t }) {
|
|
1274
|
+
return /* @__PURE__ */ M(q.Content, {
|
|
1275
|
+
"data-slot": "message-scroller-content",
|
|
1276
|
+
className: s("flex h-max min-h-full flex-col gap-6", e),
|
|
1277
|
+
...t
|
|
1278
|
+
});
|
|
1279
|
+
}
|
|
1280
|
+
function Eo({ className: e, scrollAnchor: t = !1, ...n }) {
|
|
1281
|
+
return /* @__PURE__ */ M(q.Item, {
|
|
1282
|
+
"data-slot": "message-scroller-item",
|
|
1283
|
+
scrollAnchor: t,
|
|
1284
|
+
className: s("min-w-0 shrink-0 [contain-intrinsic-size:auto_10rem] [content-visibility:auto]", e),
|
|
1285
|
+
...n
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
function Do({ direction: e = "end", className: t, children: n, render: i, variant: a = "secondary", size: o = "icon-sm", ...c }) {
|
|
1289
|
+
let l = r();
|
|
1290
|
+
return /* @__PURE__ */ M(q.Button, {
|
|
1291
|
+
"data-slot": "message-scroller-button",
|
|
1292
|
+
"data-direction": e,
|
|
1293
|
+
"data-variant": a,
|
|
1294
|
+
"data-size": o,
|
|
1295
|
+
direction: e,
|
|
1296
|
+
className: s("\n absolute inset-s-1/2 -translate-x-1/2 border-border bg-background text-foreground\n transition-[translate,scale,opacity] duration-200\n hover:bg-muted hover:text-foreground\n data-[active=false]:pointer-events-none data-[active=false]:scale-95\n data-[active=false]:opacity-0 data-[active=false]:duration-400\n data-[active=false]:ease-[cubic-bezier(0.7,0,0.84,0)]\n data-[active=true]:translate-y-0 data-[active=true]:scale-100\n data-[active=true]:opacity-100 data-[active=true]:ease-[cubic-bezier(0.23,1,0.32,1)]\n data-[direction=end]:bottom-4\n data-[direction=end]:data-[active=false]:translate-y-full\n data-[direction=start]:top-4\n data-[direction=start]:data-[active=false]:-translate-y-full\n rtl:translate-x-1/2\n data-[direction=start]:[&_svg]:rotate-180\n ", t),
|
|
1297
|
+
render: i ?? /* @__PURE__ */ M(C, {
|
|
1298
|
+
variant: a,
|
|
1299
|
+
size: o
|
|
1300
|
+
}),
|
|
1301
|
+
...c,
|
|
1302
|
+
children: n ?? /* @__PURE__ */ N(Sr, { children: [/* @__PURE__ */ M(Cr, {}), /* @__PURE__ */ M("span", {
|
|
1303
|
+
className: "sr-only",
|
|
1304
|
+
children: l(e === "end" ? "ui_scroll_to_end" : "ui_scroll_to_start")
|
|
1305
|
+
})] })
|
|
1306
|
+
});
|
|
1307
|
+
}
|
|
1308
|
+
//#endregion
|
|
1309
|
+
//#region src/ui/navigation-menu.tsx
|
|
1310
|
+
function Oo({ align: e = "start", className: t, children: n, ...r }) {
|
|
1311
|
+
return /* @__PURE__ */ N(J.Root, {
|
|
1312
|
+
"data-slot": "navigation-menu",
|
|
1313
|
+
className: s("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", t),
|
|
1314
|
+
...r,
|
|
1315
|
+
children: [n, /* @__PURE__ */ M(Po, { align: e })]
|
|
1316
|
+
});
|
|
1317
|
+
}
|
|
1318
|
+
function ko({ className: e, ...t }) {
|
|
1319
|
+
return /* @__PURE__ */ M(J.List, {
|
|
1320
|
+
"data-slot": "navigation-menu-list",
|
|
1321
|
+
className: s("group flex flex-1 list-none items-center justify-center gap-0", e),
|
|
1322
|
+
...t
|
|
1323
|
+
});
|
|
1324
|
+
}
|
|
1325
|
+
function Ao({ className: e, ...t }) {
|
|
1326
|
+
return /* @__PURE__ */ M(J.Item, {
|
|
1327
|
+
"data-slot": "navigation-menu-item",
|
|
1328
|
+
className: s("relative", e),
|
|
1329
|
+
...t
|
|
1330
|
+
});
|
|
1331
|
+
}
|
|
1332
|
+
var jo = L("\n group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg\n px-2.5 py-1.5 text-sm font-medium transition-all outline-none\n hover:bg-muted\n focus:bg-muted\n focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1\n disabled:pointer-events-none disabled:opacity-50\n data-popup-open:bg-muted/50\n data-popup-open:hover:bg-muted\n data-open:bg-muted/50\n data-open:hover:bg-muted\n data-open:focus:bg-muted\n ");
|
|
1333
|
+
function Mo({ className: e, children: t, ...n }) {
|
|
1334
|
+
return /* @__PURE__ */ N(J.Trigger, {
|
|
1335
|
+
"data-slot": "navigation-menu-trigger",
|
|
1336
|
+
className: s(jo(), "group", e),
|
|
1337
|
+
...n,
|
|
1338
|
+
children: [
|
|
1339
|
+
t,
|
|
1340
|
+
" ",
|
|
1341
|
+
/* @__PURE__ */ M(F, {
|
|
1342
|
+
className: "\n relative top-px ml-1 size-3 transition duration-300\n group-data-popup-open/navigation-menu-trigger:rotate-180\n group-data-open/navigation-menu-trigger:rotate-180\n ",
|
|
1343
|
+
"aria-hidden": "true"
|
|
1344
|
+
})
|
|
1345
|
+
]
|
|
1346
|
+
});
|
|
1347
|
+
}
|
|
1348
|
+
function No({ className: e, ...t }) {
|
|
1349
|
+
return /* @__PURE__ */ M(J.Content, {
|
|
1350
|
+
"data-slot": "navigation-menu-content",
|
|
1351
|
+
className: s("\n h-full w-auto p-1 transition-[opacity,transform,translate] duration-[0.35s]\n ease-[cubic-bezier(0.22,1,0.36,1)]\n group-data-[viewport=false]/navigation-menu:rounded-lg\n group-data-[viewport=false]/navigation-menu:border\n group-data-[viewport=false]/navigation-menu:bg-popover\n group-data-[viewport=false]/navigation-menu:text-popover-foreground\n group-data-[viewport=false]/navigation-menu:shadow-sm\n group-data-[viewport=false]/navigation-menu:duration-300\n data-ending-style:opacity-0\n data-starting-style:opacity-0\n data-[motion=from-end]:slide-in-from-right-52\n data-[motion=from-start]:slide-in-from-left-52\n data-[motion=to-end]:slide-out-to-right-52\n data-[motion=to-start]:slide-out-to-left-52\n data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in\n data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out\n **:data-[slot=navigation-menu-link]:focus:ring-0\n **:data-[slot=navigation-menu-link]:focus:outline-none\n group-data-[viewport=false]/navigation-menu:data-open:animate-in\n group-data-[viewport=false]/navigation-menu:data-open:fade-in-0\n group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95\n group-data-[viewport=false]/navigation-menu:data-closed:animate-out\n group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0\n group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95\n ", e),
|
|
1352
|
+
...t
|
|
1353
|
+
});
|
|
1354
|
+
}
|
|
1355
|
+
function Po({ className: e, side: t = "bottom", sideOffset: n = 8, align: r = "start", alignOffset: i = 0, ...a }) {
|
|
1356
|
+
return /* @__PURE__ */ M(J.Portal, { children: /* @__PURE__ */ M(J.Positioner, {
|
|
1357
|
+
side: t,
|
|
1358
|
+
sideOffset: n,
|
|
1359
|
+
align: r,
|
|
1360
|
+
alignOffset: i,
|
|
1361
|
+
className: s("\n isolate z-50 h-(--positioner-height) w-(--positioner-width) max-w-(--available-width)\n transition-[top,left,right,bottom] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)]\n data-instant:transition-none\n data-[side=bottom]:before:inset-x-0 data-[side=bottom]:before:top-[-10px]\n ", e),
|
|
1362
|
+
...a,
|
|
1363
|
+
children: /* @__PURE__ */ M(J.Popup, {
|
|
1364
|
+
className: "\n relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-lg\n border bg-popover text-popover-foreground shadow-lg\n transition-[opacity,transform,width,height,scale,translate] duration-[0.35s]\n ease-[cubic-bezier(0.22,1,0.36,1)] outline-none\n data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150\n data-starting-style:scale-90 data-starting-style:opacity-0\n ",
|
|
1365
|
+
children: /* @__PURE__ */ M(J.Viewport, { className: "relative size-full overflow-hidden" })
|
|
1366
|
+
})
|
|
1367
|
+
}) });
|
|
1368
|
+
}
|
|
1369
|
+
function Fo({ className: e, ...t }) {
|
|
1370
|
+
return /* @__PURE__ */ M(J.Link, {
|
|
1371
|
+
"data-slot": "navigation-menu-link",
|
|
1372
|
+
className: s("\n flex items-center gap-2 rounded-lg p-2 text-sm transition-all outline-none\n hover:bg-muted\n focus:bg-muted\n focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1\n in-data-[slot=navigation-menu-content]:rounded-md\n data-active:bg-muted/50\n data-active:hover:bg-muted\n data-active:focus:bg-muted\n [&_svg:not([class*='size-'])]:size-4\n ", e),
|
|
1373
|
+
...t
|
|
1374
|
+
});
|
|
1375
|
+
}
|
|
1376
|
+
function Io({ className: e, ...t }) {
|
|
1377
|
+
return /* @__PURE__ */ M(J.Icon, {
|
|
1378
|
+
"data-slot": "navigation-menu-indicator",
|
|
1379
|
+
className: s("\n top-full z-1 flex h-1.5 items-end justify-center overflow-hidden\n data-[state=hidden]:animate-out data-[state=hidden]:fade-out\n data-[state=visible]:animate-in data-[state=visible]:fade-in\n ", e),
|
|
1380
|
+
...t,
|
|
1381
|
+
children: /* @__PURE__ */ M("div", { className: "relative top-[60%] size-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
1382
|
+
});
|
|
1383
|
+
}
|
|
1384
|
+
//#endregion
|
|
1385
|
+
//#region src/ui/pagination.tsx
|
|
1386
|
+
function Lo({ className: e, ...t }) {
|
|
1387
|
+
return /* @__PURE__ */ M("nav", {
|
|
1388
|
+
role: "navigation",
|
|
1389
|
+
"aria-label": r()("ui_more_pages"),
|
|
1390
|
+
"data-slot": "pagination",
|
|
1391
|
+
className: s("mx-auto flex w-full justify-center", e),
|
|
1392
|
+
...t
|
|
1393
|
+
});
|
|
1394
|
+
}
|
|
1395
|
+
function Ro({ className: e, ...t }) {
|
|
1396
|
+
return /* @__PURE__ */ M("ul", {
|
|
1397
|
+
"data-slot": "pagination-content",
|
|
1398
|
+
className: s("flex items-center gap-0.5", e),
|
|
1399
|
+
...t
|
|
1400
|
+
});
|
|
1401
|
+
}
|
|
1402
|
+
function zo({ ...e }) {
|
|
1403
|
+
return /* @__PURE__ */ M("li", {
|
|
1404
|
+
"data-slot": "pagination-item",
|
|
1405
|
+
...e
|
|
1406
|
+
});
|
|
1407
|
+
}
|
|
1408
|
+
function Bo({ className: e, isActive: t, size: n = "icon", ...r }) {
|
|
1409
|
+
return /* @__PURE__ */ M(C, {
|
|
1410
|
+
variant: t ? "outline" : "ghost",
|
|
1411
|
+
size: n,
|
|
1412
|
+
className: s(e),
|
|
1413
|
+
nativeButton: !1,
|
|
1414
|
+
render: /* @__PURE__ */ M("a", {
|
|
1415
|
+
"aria-current": t ? "page" : void 0,
|
|
1416
|
+
"data-slot": "pagination-link",
|
|
1417
|
+
"data-active": t,
|
|
1418
|
+
...r
|
|
1419
|
+
})
|
|
1420
|
+
});
|
|
1421
|
+
}
|
|
1422
|
+
function Vo({ className: e, text: n = t("action_previous"), ...i }) {
|
|
1423
|
+
return /* @__PURE__ */ N(Bo, {
|
|
1424
|
+
"aria-label": r()("ui_go_to_previous_page"),
|
|
1425
|
+
size: "default",
|
|
1426
|
+
className: s("pl-1.5!", e),
|
|
1427
|
+
...i,
|
|
1428
|
+
children: [/* @__PURE__ */ M(Er, { "data-icon": "inline-start" }), /* @__PURE__ */ M("span", {
|
|
1429
|
+
className: "\n hidden\n sm:block\n ",
|
|
1430
|
+
children: n
|
|
1431
|
+
})]
|
|
1432
|
+
});
|
|
1433
|
+
}
|
|
1434
|
+
function Ho({ className: e, text: n = t("action_next"), ...i }) {
|
|
1435
|
+
return /* @__PURE__ */ N(Bo, {
|
|
1436
|
+
"aria-label": r()("ui_go_to_next_page"),
|
|
1437
|
+
size: "default",
|
|
1438
|
+
className: s("pr-1.5!", e),
|
|
1439
|
+
...i,
|
|
1440
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1441
|
+
className: "\n hidden\n sm:block\n ",
|
|
1442
|
+
children: n
|
|
1443
|
+
}), /* @__PURE__ */ M(I, { "data-icon": "inline-end" })]
|
|
1444
|
+
});
|
|
1445
|
+
}
|
|
1446
|
+
function Uo({ className: e, ...t }) {
|
|
1447
|
+
let n = r();
|
|
1448
|
+
return /* @__PURE__ */ N("span", {
|
|
1449
|
+
"aria-hidden": !0,
|
|
1450
|
+
"data-slot": "pagination-ellipsis",
|
|
1451
|
+
className: s("\n flex size-8 items-center justify-center\n [&_svg:not([class*='size-'])]:size-4\n ", e),
|
|
1452
|
+
...t,
|
|
1453
|
+
children: [/* @__PURE__ */ M(kr, {}), /* @__PURE__ */ M("span", {
|
|
1454
|
+
className: "sr-only",
|
|
1455
|
+
children: n("ui_more_pages")
|
|
1456
|
+
})]
|
|
1457
|
+
});
|
|
1458
|
+
}
|
|
1459
|
+
//#endregion
|
|
1460
|
+
//#region src/ui/questionnaire.tsx
|
|
1461
|
+
function Wo({ className: e, ...t }) {
|
|
1462
|
+
return /* @__PURE__ */ M(Y.Root, {
|
|
1463
|
+
"data-slot": "questionnaire",
|
|
1464
|
+
className: s("flex w-full min-w-0 flex-col gap-4", e),
|
|
1465
|
+
...t
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
function Go({ className: e, ...t }) {
|
|
1469
|
+
return /* @__PURE__ */ M(Y.Progress, {
|
|
1470
|
+
"data-slot": "questionnaire-progress",
|
|
1471
|
+
className: s("min-h-lh w-fit min-w-[14ch] text-xs font-medium text-muted-foreground tabular-nums", e),
|
|
1472
|
+
...t
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
function Ko({ className: e, ...t }) {
|
|
1476
|
+
return /* @__PURE__ */ M(Y.Item, {
|
|
1477
|
+
"data-slot": "questionnaire-item",
|
|
1478
|
+
className: s("flex min-w-0 flex-col gap-4 border-0 p-0 outline-none", e),
|
|
1479
|
+
...t
|
|
1480
|
+
});
|
|
1481
|
+
}
|
|
1482
|
+
function qo({ className: e, ...t }) {
|
|
1483
|
+
return /* @__PURE__ */ M(Y.Title, {
|
|
1484
|
+
"data-slot": "questionnaire-title",
|
|
1485
|
+
className: s("\n text-base/snug font-medium text-pretty\n [&:not(:has(~[data-slot=questionnaire-description]))]:mb-4\n ", e),
|
|
1486
|
+
...t
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
function Jo({ className: e, ...t }) {
|
|
1490
|
+
return /* @__PURE__ */ M(Y.Description, {
|
|
1491
|
+
"data-slot": "questionnaire-description",
|
|
1492
|
+
className: s("text-sm text-pretty text-muted-foreground", e),
|
|
1493
|
+
...t
|
|
1494
|
+
});
|
|
1495
|
+
}
|
|
1496
|
+
function Yo({ className: e, ...t }) {
|
|
1497
|
+
return /* @__PURE__ */ M(Y.Choices, {
|
|
1498
|
+
"data-slot": "questionnaire-choices",
|
|
1499
|
+
className: s("group/questionnaire-choices grid min-w-0 gap-2", e),
|
|
1500
|
+
...t
|
|
1501
|
+
});
|
|
1502
|
+
}
|
|
1503
|
+
function Xo({ children: e, className: t, ...n }) {
|
|
1504
|
+
return /* @__PURE__ */ N(Y.Choice, {
|
|
1505
|
+
"data-slot": "questionnaire-choice",
|
|
1506
|
+
className: s("\n group/questionnaire-choice relative flex min-h-11 cursor-pointer items-start gap-2.5\n rounded-lg border border-input bg-transparent px-3 py-2.5 text-start text-sm\n transition-colors outline-none select-none\n hover:bg-muted/50\n has-[>input:focus-visible]:border-ring has-[>input:focus-visible]:ring-3\n has-[>input:focus-visible]:ring-ring/50\n data-invalid:border-destructive\n dark:bg-input/20\n data-checked:border-primary/40 data-checked:bg-muted\n dark:data-checked:bg-muted\n ", "\n data-disabled:pointer-events-none data-disabled:cursor-not-allowed\n data-disabled:opacity-50\n ", t),
|
|
1507
|
+
...n,
|
|
1508
|
+
children: [
|
|
1509
|
+
/* @__PURE__ */ M(Y.ChoiceInput, {
|
|
1510
|
+
"data-slot": "questionnaire-choice-input",
|
|
1511
|
+
className: "absolute inset-0 z-10 size-full cursor-pointer opacity-0"
|
|
1512
|
+
}),
|
|
1513
|
+
/* @__PURE__ */ N("span", {
|
|
1514
|
+
"aria-hidden": "true",
|
|
1515
|
+
"data-slot": "questionnaire-choice-indicator",
|
|
1516
|
+
className: "\n pointer-events-none relative flex size-4 shrink-0 translate-y-[--spacing(0.45)]\n items-center justify-center rounded-[4px] border border-input\n group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5\n group-data-[type=radio]/questionnaire-choice:rounded-full\n group-data-checked/questionnaire-choice:border-primary\n group-data-checked/questionnaire-choice:bg-primary\n group-data-checked/questionnaire-choice:text-primary-foreground\n dark:bg-input/30\n dark:group-data-checked/questionnaire-choice:bg-primary\n ",
|
|
1517
|
+
children: [/* @__PURE__ */ M("span", {
|
|
1518
|
+
"data-slot": "questionnaire-choice-indicator-dot",
|
|
1519
|
+
className: "\n hidden size-2 rounded-full bg-primary-foreground\n group-data-[type=checkbox]/questionnaire-choice:hidden\n group-data-checked/questionnaire-choice:block\n "
|
|
1520
|
+
}), /* @__PURE__ */ M(P, {
|
|
1521
|
+
"data-slot": "questionnaire-choice-indicator-check",
|
|
1522
|
+
className: "\n hidden size-3.5\n group-data-[type=radio]/questionnaire-choice:hidden\n group-data-checked/questionnaire-choice:block\n "
|
|
1523
|
+
})]
|
|
1524
|
+
}),
|
|
1525
|
+
/* @__PURE__ */ M(Y.ChoiceLabel, {
|
|
1526
|
+
"data-slot": "questionnaire-choice-label",
|
|
1527
|
+
className: "flex min-w-0 flex-1 flex-col gap-0.5 leading-snug",
|
|
1528
|
+
children: e
|
|
1529
|
+
}),
|
|
1530
|
+
/* @__PURE__ */ M(Y.ChoiceShortcut, {
|
|
1531
|
+
"data-slot": "questionnaire-choice-shortcut",
|
|
1532
|
+
className: "\n pointer-events-none ms-auto hidden size-5 shrink-0 translate-y-[--spacing(0.45)]\n items-center justify-center rounded-md border border-input bg-background font-mono\n text-[0.625rem] leading-none font-medium text-muted-foreground\n group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5\n group-data-shortcut/questionnaire-choice:inline-flex\n "
|
|
1533
|
+
})
|
|
1534
|
+
]
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
function Zo({ className: e, ...t }) {
|
|
1538
|
+
return /* @__PURE__ */ M("span", {
|
|
1539
|
+
"data-slot": "questionnaire-choice-description",
|
|
1540
|
+
className: s("text-muted-foreground", e),
|
|
1541
|
+
...t
|
|
1542
|
+
});
|
|
1543
|
+
}
|
|
1544
|
+
function Qo({ className: e, ...t }) {
|
|
1545
|
+
return /* @__PURE__ */ M("div", {
|
|
1546
|
+
"data-slot": "questionnaire-input-wrapper",
|
|
1547
|
+
className: "group/questionnaire-input relative w-full min-w-0",
|
|
1548
|
+
children: /* @__PURE__ */ M(Y.Input, {
|
|
1549
|
+
"data-slot": "questionnaire-input",
|
|
1550
|
+
className: s("\n h-8 min-h-11 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1\n text-sm transition-[color,box-shadow,background-color] outline-none\n focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50\n disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50\n disabled:opacity-50\n aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20\n sm:min-h-0\n dark:bg-input/30\n dark:disabled:bg-input/80\n dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40\n ", "\n selection:bg-primary selection:text-primary-foreground\n placeholder:text-muted-foreground\n ", e),
|
|
1551
|
+
...t
|
|
1552
|
+
})
|
|
1553
|
+
});
|
|
1554
|
+
}
|
|
1555
|
+
function $o({ className: e, ...t }) {
|
|
1556
|
+
return /* @__PURE__ */ M(Y.Error, {
|
|
1557
|
+
"data-slot": "questionnaire-error",
|
|
1558
|
+
className: s("mt-2 text-sm text-destructive", e),
|
|
1559
|
+
...t
|
|
1560
|
+
});
|
|
1561
|
+
}
|
|
1562
|
+
function es({ className: e, ...t }) {
|
|
1563
|
+
return /* @__PURE__ */ M("div", {
|
|
1564
|
+
"data-slot": "questionnaire-actions",
|
|
1565
|
+
className: s("\n grid min-h-11 w-full grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-2\n sm:min-h-8\n ", e),
|
|
1566
|
+
...t
|
|
1567
|
+
});
|
|
1568
|
+
}
|
|
1569
|
+
function ts({ children: e, className: t, size: n = "default", variant: i = "outline", ...a }) {
|
|
1570
|
+
let o = r();
|
|
1571
|
+
return /* @__PURE__ */ M(Y.Previous, {
|
|
1572
|
+
"data-slot": "questionnaire-previous",
|
|
1573
|
+
"data-size": n,
|
|
1574
|
+
"data-variant": i,
|
|
1575
|
+
className: s(S({
|
|
1576
|
+
size: n,
|
|
1577
|
+
variant: i
|
|
1578
|
+
}), "\n col-start-1 row-start-1 min-h-11 justify-self-start\n sm:min-h-0\n ", t),
|
|
1579
|
+
...a,
|
|
1580
|
+
children: e ?? o("action_previous")
|
|
1581
|
+
});
|
|
1582
|
+
}
|
|
1583
|
+
function ns({ children: e, className: t, size: n = "default", variant: i = "outline", ...a }) {
|
|
1584
|
+
let o = r();
|
|
1585
|
+
return /* @__PURE__ */ M(Y.Skip, {
|
|
1586
|
+
"data-slot": "questionnaire-skip",
|
|
1587
|
+
"data-size": n,
|
|
1588
|
+
"data-variant": i,
|
|
1589
|
+
className: s(S({
|
|
1590
|
+
size: n,
|
|
1591
|
+
variant: i
|
|
1592
|
+
}), "\n col-start-2 row-start-1 min-h-11 justify-self-end\n sm:min-h-0\n ", t),
|
|
1593
|
+
...a,
|
|
1594
|
+
children: e ?? o("action_skip")
|
|
1595
|
+
});
|
|
1596
|
+
}
|
|
1597
|
+
function rs({ children: e, className: t, size: n = "default", variant: i = "default", ...a }) {
|
|
1598
|
+
let o = r();
|
|
1599
|
+
return /* @__PURE__ */ M(Y.Next, {
|
|
1600
|
+
"data-slot": "questionnaire-next",
|
|
1601
|
+
"data-size": n,
|
|
1602
|
+
"data-variant": i,
|
|
1603
|
+
className: s(S({
|
|
1604
|
+
size: n,
|
|
1605
|
+
variant: i
|
|
1606
|
+
}), "\n col-start-3 row-start-1 min-h-11 justify-self-end\n sm:min-h-0\n ", t),
|
|
1607
|
+
...a,
|
|
1608
|
+
children: e ?? o("action_next")
|
|
1609
|
+
});
|
|
1610
|
+
}
|
|
1611
|
+
function is({ children: e, className: t, size: n = "default", variant: i = "default", ...a }) {
|
|
1612
|
+
let o = r();
|
|
1613
|
+
return /* @__PURE__ */ M(Y.Submit, {
|
|
1614
|
+
"data-slot": "questionnaire-submit",
|
|
1615
|
+
"data-size": n,
|
|
1616
|
+
"data-variant": i,
|
|
1617
|
+
className: s(S({
|
|
1618
|
+
size: n,
|
|
1619
|
+
variant: i
|
|
1620
|
+
}), "\n col-start-3 row-start-1 min-h-11 justify-self-end\n sm:min-h-0\n ", t),
|
|
1621
|
+
...a,
|
|
1622
|
+
children: e ?? o("action_submit")
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1625
|
+
//#endregion
|
|
1626
|
+
//#region src/ui/scroll-area.tsx
|
|
1627
|
+
function as({ className: e, children: t, ...n }) {
|
|
1628
|
+
return /* @__PURE__ */ N(X.Root, {
|
|
1629
|
+
"data-slot": "scroll-area",
|
|
1630
|
+
className: s("relative", e),
|
|
1631
|
+
...n,
|
|
1632
|
+
children: [
|
|
1633
|
+
/* @__PURE__ */ M(X.Viewport, {
|
|
1634
|
+
"data-slot": "scroll-area-viewport",
|
|
1635
|
+
className: "\n size-full rounded-[inherit] transition-[color,box-shadow] outline-none\n focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1\n ",
|
|
1636
|
+
children: t
|
|
1637
|
+
}),
|
|
1638
|
+
/* @__PURE__ */ M(os, {}),
|
|
1639
|
+
/* @__PURE__ */ M(X.Corner, {})
|
|
1640
|
+
]
|
|
1641
|
+
});
|
|
1642
|
+
}
|
|
1643
|
+
function os({ className: e, orientation: t = "vertical", ...n }) {
|
|
1644
|
+
return /* @__PURE__ */ M(X.Scrollbar, {
|
|
1645
|
+
"data-slot": "scroll-area-scrollbar",
|
|
1646
|
+
"data-orientation": t,
|
|
1647
|
+
orientation: t,
|
|
1648
|
+
className: s("\n flex touch-none p-px transition-colors select-none\n data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t\n data-horizontal:border-t-transparent\n data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l\n data-vertical:border-l-transparent\n ", e),
|
|
1649
|
+
...n,
|
|
1650
|
+
children: /* @__PURE__ */ M(X.Thumb, {
|
|
1651
|
+
"data-slot": "scroll-area-thumb",
|
|
1652
|
+
className: "relative flex-1 rounded-full bg-border"
|
|
1653
|
+
})
|
|
1654
|
+
});
|
|
1655
|
+
}
|
|
1656
|
+
//#endregion
|
|
1657
|
+
//#region src/ui/sidebar.tsx
|
|
1658
|
+
var ss = A.createContext(null);
|
|
1659
|
+
function Q() {
|
|
1660
|
+
let e = A.useContext(ss);
|
|
1661
|
+
if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
|
|
1662
|
+
return e;
|
|
1663
|
+
}
|
|
1664
|
+
function cs({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, children: i, ...a }) {
|
|
1665
|
+
let o = re(), [c, l] = A.useState(!1), [u, d] = A.useState(e), f = t ?? u, p = A.useCallback((e) => {
|
|
1666
|
+
let t = typeof e == "function" ? e(f) : e;
|
|
1667
|
+
n ? n(t) : d(t);
|
|
1668
|
+
}, [n, f]), m = A.useCallback(() => {
|
|
1669
|
+
o ? l((e) => !e) : p((e) => !e);
|
|
1670
|
+
}, [
|
|
1671
|
+
o,
|
|
1672
|
+
p,
|
|
1673
|
+
l
|
|
1674
|
+
]), h = f ? "expanded" : "collapsed", g = A.useMemo(() => ({
|
|
1675
|
+
state: h,
|
|
1676
|
+
open: f,
|
|
1677
|
+
setOpen: p,
|
|
1678
|
+
isMobile: o,
|
|
1679
|
+
openMobile: c,
|
|
1680
|
+
setOpenMobile: l,
|
|
1681
|
+
toggleSidebar: m
|
|
1682
|
+
}), [
|
|
1683
|
+
h,
|
|
1684
|
+
f,
|
|
1685
|
+
p,
|
|
1686
|
+
o,
|
|
1687
|
+
c,
|
|
1688
|
+
l,
|
|
1689
|
+
m
|
|
1690
|
+
]);
|
|
1691
|
+
return /* @__PURE__ */ M(ss.Provider, {
|
|
1692
|
+
value: g,
|
|
1693
|
+
children: /* @__PURE__ */ M("div", {
|
|
1694
|
+
"data-slot": "sidebar-wrapper",
|
|
1695
|
+
className: s("\n group/sidebar-wrapper relative flex min-h-0 w-full [--sidebar-width-icon:3rem]\n [--sidebar-width:16rem]\n has-data-[variant=inset]:bg-sidebar\n ", r),
|
|
1696
|
+
...a,
|
|
1697
|
+
children: i
|
|
1698
|
+
})
|
|
1699
|
+
});
|
|
1700
|
+
}
|
|
1701
|
+
function ls({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: i, children: a, dir: o, ...c }) {
|
|
1702
|
+
let l = r(), { isMobile: u, state: d, openMobile: f, setOpenMobile: p } = Q();
|
|
1703
|
+
return n === "none" ? /* @__PURE__ */ M("div", {
|
|
1704
|
+
"data-slot": "sidebar",
|
|
1705
|
+
className: s("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground", i),
|
|
1706
|
+
...c,
|
|
1707
|
+
children: a
|
|
1708
|
+
}) : u ? /* @__PURE__ */ M(ur, {
|
|
1709
|
+
open: f,
|
|
1710
|
+
onOpenChange: p,
|
|
1711
|
+
...c,
|
|
1712
|
+
children: /* @__PURE__ */ N(ir, {
|
|
1713
|
+
dir: o,
|
|
1714
|
+
"data-sidebar": "sidebar",
|
|
1715
|
+
"data-slot": "sidebar",
|
|
1716
|
+
"data-mobile": "true",
|
|
1717
|
+
className: "\n w-72 bg-sidebar p-0 text-sidebar-foreground\n [&>button]:hidden\n ",
|
|
1718
|
+
side: e,
|
|
1719
|
+
children: [/* @__PURE__ */ N(ar, {
|
|
1720
|
+
className: "sr-only",
|
|
1721
|
+
children: [/* @__PURE__ */ M(sr, { children: l("ui_sidebar") }), /* @__PURE__ */ M(lr, { children: l("ui_sidebar_description") })]
|
|
1722
|
+
}), /* @__PURE__ */ M("div", {
|
|
1723
|
+
className: "flex size-full flex-col",
|
|
1724
|
+
children: a
|
|
1725
|
+
})]
|
|
1726
|
+
})
|
|
1727
|
+
}) : /* @__PURE__ */ N("div", {
|
|
1728
|
+
className: "\n group peer hidden text-sidebar-foreground\n md:block\n ",
|
|
1729
|
+
"data-state": d,
|
|
1730
|
+
"data-collapsible": d === "collapsed" ? n : "",
|
|
1731
|
+
"data-variant": t,
|
|
1732
|
+
"data-side": e,
|
|
1733
|
+
"data-slot": "sidebar",
|
|
1734
|
+
children: [/* @__PURE__ */ M("div", {
|
|
1735
|
+
"data-slot": "sidebar-gap",
|
|
1736
|
+
className: s("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", t === "floating" || t === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)")
|
|
1737
|
+
}), /* @__PURE__ */ M("div", {
|
|
1738
|
+
"data-slot": "sidebar-container",
|
|
1739
|
+
"data-side": e,
|
|
1740
|
+
className: s("\n absolute inset-y-0 z-10 hidden h-full w-(--sidebar-width) transition-[left,right,width]\n duration-200 ease-linear\n data-[side=left]:left-0\n data-[side=left]:group-data-[collapsible=offcanvas]:-left-(--sidebar-width)\n data-[side=right]:right-0\n data-[side=right]:group-data-[collapsible=offcanvas]:-right-(--sidebar-width)\n md:flex\n ", t === "floating" || t === "inset" ? "\n p-2\n group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]\n " : "\n group-data-[collapsible=icon]:w-(--sidebar-width-icon)\n group-data-[side=left]:border-r\n group-data-[side=right]:border-l\n ", i),
|
|
1741
|
+
...c,
|
|
1742
|
+
children: /* @__PURE__ */ M("div", {
|
|
1743
|
+
"data-sidebar": "sidebar",
|
|
1744
|
+
"data-slot": "sidebar-inner",
|
|
1745
|
+
className: "\n flex size-full flex-col bg-sidebar\n group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm\n group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border\n ",
|
|
1746
|
+
children: a
|
|
1747
|
+
})
|
|
1748
|
+
})]
|
|
1749
|
+
});
|
|
1750
|
+
}
|
|
1751
|
+
function us({ className: e, onClick: t, ...n }) {
|
|
1752
|
+
let i = r(), { toggleSidebar: a } = Q();
|
|
1753
|
+
return /* @__PURE__ */ N(C, {
|
|
1754
|
+
"data-sidebar": "trigger",
|
|
1755
|
+
"data-slot": "sidebar-trigger",
|
|
1756
|
+
variant: "ghost",
|
|
1757
|
+
size: "icon-sm",
|
|
1758
|
+
className: s(e),
|
|
1759
|
+
onClick: (e) => {
|
|
1760
|
+
t?.(e), a();
|
|
1761
|
+
},
|
|
1762
|
+
...n,
|
|
1763
|
+
children: [/* @__PURE__ */ M(Ar, {}), /* @__PURE__ */ M("span", {
|
|
1764
|
+
className: "sr-only",
|
|
1765
|
+
children: i("ui_toggle_sidebar")
|
|
1766
|
+
})]
|
|
1767
|
+
});
|
|
1768
|
+
}
|
|
1769
|
+
function ds({ className: e, ...t }) {
|
|
1770
|
+
let n = r(), { toggleSidebar: i } = Q();
|
|
1771
|
+
return /* @__PURE__ */ M("button", {
|
|
1772
|
+
"data-sidebar": "rail",
|
|
1773
|
+
"data-slot": "sidebar-rail",
|
|
1774
|
+
"aria-label": n("ui_toggle_sidebar"),
|
|
1775
|
+
tabIndex: -1,
|
|
1776
|
+
onClick: i,
|
|
1777
|
+
title: n("ui_toggle_sidebar"),
|
|
1778
|
+
className: s("\n absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear\n group-data-[side=left]:-right-4\n group-data-[side=right]:left-0\n after:absolute after:inset-y-0 after:inset-s-1/2 after:w-[2px]\n hover:after:bg-sidebar-border\n sm:flex\n ltr:-translate-x-1/2\n rtl:-translate-x-1/2\n ", "\n in-data-[side=left]:cursor-w-resize\n in-data-[side=right]:cursor-e-resize\n ", "\n [[data-side=left][data-state=collapsed]_&]:cursor-e-resize\n [[data-side=right][data-state=collapsed]_&]:cursor-w-resize\n ", "\n group-data-[collapsible=offcanvas]:translate-x-0\n group-data-[collapsible=offcanvas]:after:left-full\n hover:group-data-[collapsible=offcanvas]:bg-sidebar\n ", "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2", e),
|
|
1779
|
+
...t
|
|
1780
|
+
});
|
|
1781
|
+
}
|
|
1782
|
+
function fs({ className: e, ...t }) {
|
|
1783
|
+
return /* @__PURE__ */ M("main", {
|
|
1784
|
+
"data-slot": "sidebar-inset",
|
|
1785
|
+
className: s("\n relative flex w-full flex-1 flex-col bg-background\n md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0\n md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm\n md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2\n ", e),
|
|
1786
|
+
...t
|
|
1787
|
+
});
|
|
1788
|
+
}
|
|
1789
|
+
function ps({ className: e, ...t }) {
|
|
1790
|
+
return /* @__PURE__ */ M(he, {
|
|
1791
|
+
"data-slot": "sidebar-input",
|
|
1792
|
+
"data-sidebar": "input",
|
|
1793
|
+
className: s("h-8 w-full bg-background shadow-none", e),
|
|
1794
|
+
...t
|
|
1795
|
+
});
|
|
1796
|
+
}
|
|
1797
|
+
function ms({ className: e, ...t }) {
|
|
1798
|
+
return /* @__PURE__ */ M("div", {
|
|
1799
|
+
"data-slot": "sidebar-header",
|
|
1800
|
+
"data-sidebar": "header",
|
|
1801
|
+
className: s("flex flex-col gap-2 p-2", e),
|
|
1802
|
+
...t
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
function hs({ className: e, ...t }) {
|
|
1806
|
+
return /* @__PURE__ */ M("div", {
|
|
1807
|
+
"data-slot": "sidebar-footer",
|
|
1808
|
+
"data-sidebar": "footer",
|
|
1809
|
+
className: s("flex flex-col gap-2 p-2", e),
|
|
1810
|
+
...t
|
|
1811
|
+
});
|
|
1812
|
+
}
|
|
1813
|
+
function gs({ className: e, ...t }) {
|
|
1814
|
+
return /* @__PURE__ */ M(Te, {
|
|
1815
|
+
"data-slot": "sidebar-separator",
|
|
1816
|
+
"data-sidebar": "separator",
|
|
1817
|
+
className: s("mx-2 w-auto bg-sidebar-border", e),
|
|
1818
|
+
...t
|
|
1819
|
+
});
|
|
1820
|
+
}
|
|
1821
|
+
function _s({ className: e, ...t }) {
|
|
1822
|
+
return /* @__PURE__ */ M("div", {
|
|
1823
|
+
"data-slot": "sidebar-content",
|
|
1824
|
+
"data-sidebar": "content",
|
|
1825
|
+
className: s("\n no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto\n group-data-[collapsible=icon]:overflow-hidden\n ", e),
|
|
1826
|
+
...t
|
|
1827
|
+
});
|
|
1828
|
+
}
|
|
1829
|
+
function vs({ className: e, ...t }) {
|
|
1830
|
+
return /* @__PURE__ */ M("div", {
|
|
1831
|
+
"data-slot": "sidebar-group",
|
|
1832
|
+
"data-sidebar": "group",
|
|
1833
|
+
className: s("relative flex w-full min-w-0 flex-col p-2", e),
|
|
1834
|
+
...t
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1837
|
+
function ys({ className: e, render: t, ...n }) {
|
|
1838
|
+
return B({
|
|
1839
|
+
defaultTagName: "div",
|
|
1840
|
+
props: z({ className: s("\n flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium\n text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity]\n duration-200 ease-linear\n group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0\n focus-visible:ring-2\n [&>svg]:size-4 [&>svg]:shrink-0\n ", e) }, n),
|
|
1841
|
+
render: t,
|
|
1842
|
+
state: {
|
|
1843
|
+
slot: "sidebar-group-label",
|
|
1844
|
+
sidebar: "group-label"
|
|
1845
|
+
}
|
|
1846
|
+
});
|
|
1847
|
+
}
|
|
1848
|
+
function bs({ className: e, render: t, ...n }) {
|
|
1849
|
+
return B({
|
|
1850
|
+
defaultTagName: "button",
|
|
1851
|
+
props: z({ className: s("\n absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md\n p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform\n group-data-[collapsible=icon]:hidden\n after:absolute after:-inset-2\n hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\n focus-visible:ring-2\n md:after:hidden\n [&>svg]:size-4 [&>svg]:shrink-0\n ", e) }, n),
|
|
1852
|
+
render: t,
|
|
1853
|
+
state: {
|
|
1854
|
+
slot: "sidebar-group-action",
|
|
1855
|
+
sidebar: "group-action"
|
|
1856
|
+
}
|
|
1857
|
+
});
|
|
1858
|
+
}
|
|
1859
|
+
function xs({ className: e, ...t }) {
|
|
1860
|
+
return /* @__PURE__ */ M("div", {
|
|
1861
|
+
"data-slot": "sidebar-group-content",
|
|
1862
|
+
"data-sidebar": "group-content",
|
|
1863
|
+
className: s("w-full text-sm", e),
|
|
1864
|
+
...t
|
|
1865
|
+
});
|
|
1866
|
+
}
|
|
1867
|
+
function Ss({ className: e, ...t }) {
|
|
1868
|
+
return /* @__PURE__ */ M("ul", {
|
|
1869
|
+
"data-slot": "sidebar-menu",
|
|
1870
|
+
"data-sidebar": "menu",
|
|
1871
|
+
className: s("flex w-full min-w-0 flex-col gap-0", e),
|
|
1872
|
+
...t
|
|
1873
|
+
});
|
|
1874
|
+
}
|
|
1875
|
+
function Cs({ className: e, ...t }) {
|
|
1876
|
+
return /* @__PURE__ */ M("li", {
|
|
1877
|
+
"data-slot": "sidebar-menu-item",
|
|
1878
|
+
"data-sidebar": "menu-item",
|
|
1879
|
+
className: s("group/menu-item relative", e),
|
|
1880
|
+
...t
|
|
1881
|
+
});
|
|
1882
|
+
}
|
|
1883
|
+
var ws = L("\n peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md\n p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding]\n group-has-data-[sidebar=menu-action]/menu-item:pr-8\n group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2!\n hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\n focus-visible:ring-2\n active:bg-sidebar-accent active:text-sidebar-accent-foreground\n disabled:pointer-events-none disabled:opacity-50\n aria-disabled:pointer-events-none aria-disabled:opacity-50\n data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground\n data-active:bg-sidebar-accent data-active:font-medium\n data-active:text-sidebar-accent-foreground\n [&_svg]:size-4 [&_svg]:shrink-0\n [&>span:last-child]:truncate\n ", {
|
|
1884
|
+
variants: {
|
|
1885
|
+
variant: {
|
|
1886
|
+
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
1887
|
+
outline: "\n bg-background shadow-[0_0_0_1px_var(--sidebar-border)]\n hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\n hover:shadow-[0_0_0_1px_var(--sidebar-accent)]\n "
|
|
1888
|
+
},
|
|
1889
|
+
size: {
|
|
1890
|
+
default: "h-8 text-sm",
|
|
1891
|
+
sm: "h-7 text-xs",
|
|
1892
|
+
lg: "\n h-12 text-sm\n group-data-[collapsible=icon]:p-0!\n "
|
|
1893
|
+
}
|
|
1894
|
+
},
|
|
1895
|
+
defaultVariants: {
|
|
1896
|
+
variant: "default",
|
|
1897
|
+
size: "default"
|
|
1898
|
+
}
|
|
1899
|
+
});
|
|
1900
|
+
function Ts({ render: e, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ...o }) {
|
|
1901
|
+
let { isMobile: c, state: l } = Q(), u = B({
|
|
1902
|
+
defaultTagName: "button",
|
|
1903
|
+
props: z({ className: s(ws({
|
|
1904
|
+
variant: n,
|
|
1905
|
+
size: r
|
|
1906
|
+
}), a) }, o),
|
|
1907
|
+
render: i ? /* @__PURE__ */ M(rn, { render: e }) : e,
|
|
1908
|
+
state: {
|
|
1909
|
+
slot: "sidebar-menu-button",
|
|
1910
|
+
sidebar: "menu-button",
|
|
1911
|
+
size: r,
|
|
1912
|
+
active: t
|
|
1913
|
+
}
|
|
1914
|
+
});
|
|
1915
|
+
return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ N(on, { children: [u, /* @__PURE__ */ M(cn, {
|
|
1916
|
+
side: "right",
|
|
1917
|
+
align: "center",
|
|
1918
|
+
hidden: l !== "collapsed" || c,
|
|
1919
|
+
...i
|
|
1920
|
+
})] })) : u;
|
|
1921
|
+
}
|
|
1922
|
+
function Es({ className: e, render: t, showOnHover: n = !1, ...r }) {
|
|
1923
|
+
return B({
|
|
1924
|
+
defaultTagName: "button",
|
|
1925
|
+
props: z({ className: s("\n absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md\n p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform\n group-data-[collapsible=icon]:hidden\n peer-hover/menu-button:text-sidebar-accent-foreground\n peer-data-[size=default]/menu-button:top-1.5\n peer-data-[size=lg]/menu-button:top-2.5\n peer-data-[size=sm]/menu-button:top-1\n after:absolute after:-inset-2\n hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\n focus-visible:ring-2\n md:after:hidden\n [&>svg]:size-4 [&>svg]:shrink-0\n ", n && "\n group-focus-within/menu-item:opacity-100\n group-hover/menu-item:opacity-100\n peer-data-active/menu-button:text-sidebar-accent-foreground\n aria-expanded:opacity-100\n md:opacity-0\n ", e) }, r),
|
|
1926
|
+
render: t,
|
|
1927
|
+
state: {
|
|
1928
|
+
slot: "sidebar-menu-action",
|
|
1929
|
+
sidebar: "menu-action"
|
|
1930
|
+
}
|
|
1931
|
+
});
|
|
1932
|
+
}
|
|
1933
|
+
function Ds({ className: e, ...t }) {
|
|
1934
|
+
return /* @__PURE__ */ M("div", {
|
|
1935
|
+
"data-slot": "sidebar-menu-badge",
|
|
1936
|
+
"data-sidebar": "menu-badge",
|
|
1937
|
+
className: s("\n pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center\n rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none\n group-data-[collapsible=icon]:hidden\n peer-hover/menu-button:text-sidebar-accent-foreground\n peer-data-[size=default]/menu-button:top-1.5\n peer-data-[size=lg]/menu-button:top-2.5\n peer-data-[size=sm]/menu-button:top-1\n peer-data-active/menu-button:text-sidebar-accent-foreground\n ", e),
|
|
1938
|
+
...t
|
|
1939
|
+
});
|
|
1940
|
+
}
|
|
1941
|
+
function Os({ className: e, showIcon: t = !1, ...n }) {
|
|
1942
|
+
return /* @__PURE__ */ N("div", {
|
|
1943
|
+
"data-slot": "sidebar-menu-skeleton",
|
|
1944
|
+
"data-sidebar": "menu-skeleton",
|
|
1945
|
+
className: s("flex h-8 items-center gap-2 rounded-md px-2", e),
|
|
1946
|
+
...n,
|
|
1947
|
+
children: [t && /* @__PURE__ */ M(w, {
|
|
1948
|
+
className: "size-4 rounded-md",
|
|
1949
|
+
"data-sidebar": "menu-skeleton-icon"
|
|
1950
|
+
}), /* @__PURE__ */ M(w, {
|
|
1951
|
+
className: "h-4 w-3/4",
|
|
1952
|
+
"data-sidebar": "menu-skeleton-text"
|
|
1953
|
+
})]
|
|
1954
|
+
});
|
|
1955
|
+
}
|
|
1956
|
+
function ks({ className: e, ...t }) {
|
|
1957
|
+
return /* @__PURE__ */ M("ul", {
|
|
1958
|
+
"data-slot": "sidebar-menu-sub",
|
|
1959
|
+
"data-sidebar": "menu-sub",
|
|
1960
|
+
className: s("\n mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5\n py-0.5\n group-data-[collapsible=icon]:hidden\n ", e),
|
|
1961
|
+
...t
|
|
1962
|
+
});
|
|
1963
|
+
}
|
|
1964
|
+
function As({ className: e, ...t }) {
|
|
1965
|
+
return /* @__PURE__ */ M("li", {
|
|
1966
|
+
"data-slot": "sidebar-menu-sub-item",
|
|
1967
|
+
"data-sidebar": "menu-sub-item",
|
|
1968
|
+
className: s("group/menu-sub-item relative", e),
|
|
1969
|
+
...t
|
|
1970
|
+
});
|
|
1971
|
+
}
|
|
1972
|
+
function js({ render: e, size: t = "md", isActive: n = !1, className: r, ...i }) {
|
|
1973
|
+
return B({
|
|
1974
|
+
defaultTagName: "a",
|
|
1975
|
+
props: z({ className: s("\n flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2\n text-sidebar-foreground ring-sidebar-ring outline-hidden\n group-data-[collapsible=icon]:hidden\n hover:bg-sidebar-accent hover:text-sidebar-accent-foreground\n focus-visible:ring-2\n active:bg-sidebar-accent active:text-sidebar-accent-foreground\n disabled:pointer-events-none disabled:opacity-50\n aria-disabled:pointer-events-none aria-disabled:opacity-50\n data-[size=md]:text-sm\n data-[size=sm]:text-xs\n data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground\n [&>span:last-child]:truncate\n [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground\n ", r) }, i),
|
|
1976
|
+
render: e,
|
|
1977
|
+
state: {
|
|
1978
|
+
slot: "sidebar-menu-sub-button",
|
|
1979
|
+
sidebar: "menu-sub-button",
|
|
1980
|
+
size: t,
|
|
1981
|
+
active: n
|
|
1982
|
+
}
|
|
1983
|
+
});
|
|
1984
|
+
}
|
|
1985
|
+
//#endregion
|
|
1986
|
+
//#region src/ui/svg-diagram/dom.ts
|
|
1987
|
+
var Ms = [
|
|
1988
|
+
"href",
|
|
1989
|
+
"xlink:href",
|
|
1990
|
+
"fill",
|
|
1991
|
+
"stroke",
|
|
1992
|
+
"filter",
|
|
1993
|
+
"clip-path",
|
|
1994
|
+
"mask",
|
|
1995
|
+
"marker-start",
|
|
1996
|
+
"marker-mid",
|
|
1997
|
+
"marker-end"
|
|
1998
|
+
], Ns = ["aria-labelledby", "aria-describedby"], Ps = "svg-diagram";
|
|
1999
|
+
function Fs(e) {
|
|
2000
|
+
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2001
|
+
}
|
|
2002
|
+
function Is(e, t) {
|
|
2003
|
+
return e.replace(/url\(\s*(["']?)#([^\s)"']+)\1\s*\)/g, (e, n, r) => {
|
|
2004
|
+
let i = t.get(r);
|
|
2005
|
+
return i == null ? e : `url(#${i})`;
|
|
2006
|
+
});
|
|
2007
|
+
}
|
|
2008
|
+
function Ls(e) {
|
|
2009
|
+
return e.replace(/@import\s+[^;]+;?/gi, "").replace(/url\(\s*(["']?)([^)"']+)\1\s*\)/gi, (e, t, n) => {
|
|
2010
|
+
let r = n.trim();
|
|
2011
|
+
return r.startsWith("#") || r.startsWith("data:image/") ? e : "none";
|
|
2012
|
+
});
|
|
2013
|
+
}
|
|
2014
|
+
function Rs(e, t) {
|
|
2015
|
+
let n = Is(Ls(e), t);
|
|
2016
|
+
for (let [e, r] of t) n = n.replace(RegExp(`#${Fs(e)}(?=[^\\w-]|$)`, "g"), `#${r}`);
|
|
2017
|
+
return n;
|
|
2018
|
+
}
|
|
2019
|
+
function zs(e, t, n) {
|
|
2020
|
+
let r = new CSSStyleSheet();
|
|
2021
|
+
r.replaceSync(Rs(e, t));
|
|
2022
|
+
let i = [...r.cssRules].map((e) => e.cssText).join("\n");
|
|
2023
|
+
return i.length === 0 ? "" : `@layer ${Ps} {\n@scope (${n}) {\n${i}\n}\n}`;
|
|
2024
|
+
}
|
|
2025
|
+
function Bs(e, t) {
|
|
2026
|
+
e.querySelectorAll("script, foreignObject").forEach((e) => {
|
|
2027
|
+
e.remove();
|
|
2028
|
+
});
|
|
2029
|
+
let n = [e, ...e.querySelectorAll("*")], r = /* @__PURE__ */ new Map();
|
|
2030
|
+
n.forEach((e) => {
|
|
2031
|
+
let n = e.getAttribute("id");
|
|
2032
|
+
if (n == null) return;
|
|
2033
|
+
let i = `${t}-${n}`;
|
|
2034
|
+
r.set(n, i), e.setAttribute("id", i);
|
|
2035
|
+
}), n.forEach((e) => {
|
|
2036
|
+
for (let t of [...e.attributes]) t.name.toLowerCase().startsWith("on") && e.removeAttribute(t.name);
|
|
2037
|
+
for (let t of Ms) {
|
|
2038
|
+
let n = e.getAttribute(t);
|
|
2039
|
+
if (n == null) continue;
|
|
2040
|
+
let i = n.startsWith("#") ? n.slice(1) : null;
|
|
2041
|
+
if ((t === "href" || t === "xlink:href") && i == null && !n.startsWith("data:image/")) {
|
|
2042
|
+
e.removeAttribute(t);
|
|
2043
|
+
continue;
|
|
2044
|
+
}
|
|
2045
|
+
let a = Is(n, r);
|
|
2046
|
+
if (i == null) {
|
|
2047
|
+
e.setAttribute(t, a);
|
|
2048
|
+
continue;
|
|
2049
|
+
}
|
|
2050
|
+
let o = r.get(i);
|
|
2051
|
+
o != null && e.setAttribute(t, `#${o}`);
|
|
2052
|
+
}
|
|
2053
|
+
let t = e.getAttribute("style");
|
|
2054
|
+
t != null && e.setAttribute("style", Rs(t, r));
|
|
2055
|
+
for (let t of Ns) {
|
|
2056
|
+
let n = e.getAttribute(t);
|
|
2057
|
+
n != null && e.setAttribute(t, n.split(/\s+/).map((e) => r.get(e) ?? e).join(" "));
|
|
2058
|
+
}
|
|
2059
|
+
});
|
|
2060
|
+
let i = "data-svg-diagram-root";
|
|
2061
|
+
e.setAttribute(i, t);
|
|
2062
|
+
let a = `[${i}="${t}"]`;
|
|
2063
|
+
e.querySelectorAll("style").forEach((e) => {
|
|
2064
|
+
e.textContent = zs(e.textContent, r, a);
|
|
2065
|
+
});
|
|
2066
|
+
}
|
|
2067
|
+
function Vs(e, t) {
|
|
2068
|
+
let n = [], r = [], i = new Map([...e.querySelectorAll("[data-svg-target]")].flatMap((e) => {
|
|
2069
|
+
let t = e.getAttribute("data-svg-target");
|
|
2070
|
+
return t == null ? [] : [[t, e]];
|
|
2071
|
+
}));
|
|
2072
|
+
for (let e of t) {
|
|
2073
|
+
let t = i.get(e.target);
|
|
2074
|
+
if (t == null) {
|
|
2075
|
+
r.push(e.target);
|
|
2076
|
+
continue;
|
|
2077
|
+
}
|
|
2078
|
+
let a = e.text == null ? null : [...t.childNodes].map((e) => e.cloneNode(!0)), o = t.getAttribute("class"), s = t.getAttribute("display"), c = t.getAttribute("aria-label"), l = t.getAttribute("role"), u = t.getAttribute("tabindex");
|
|
2079
|
+
e.text != null && (t.textContent = e.text), e.className != null && t.setAttribute("class", [o, e.className].filter(Boolean).join(" ")), e.hidden === !0 && t.setAttribute("display", "none"), e.ariaLabel != null && t.setAttribute("aria-label", e.ariaLabel);
|
|
2080
|
+
let d = e.onActivate, f = (e) => {
|
|
2081
|
+
e.stopPropagation(), d?.();
|
|
2082
|
+
}, p = (e) => {
|
|
2083
|
+
!(e instanceof KeyboardEvent) || e.key !== "Enter" && e.key !== " " || (e.preventDefault(), e.stopPropagation(), d?.());
|
|
2084
|
+
};
|
|
2085
|
+
d != null && (t.setAttribute("role", "button"), t.setAttribute("tabindex", "0"), t.addEventListener("click", f), t.addEventListener("keydown", p)), n.push(() => {
|
|
2086
|
+
a != null && t.replaceChildren(...a), $(t, "class", o), $(t, "display", s), $(t, "aria-label", c), $(t, "role", l), $(t, "tabindex", u), t.removeEventListener("click", f), t.removeEventListener("keydown", p);
|
|
2087
|
+
});
|
|
2088
|
+
}
|
|
2089
|
+
return {
|
|
2090
|
+
missing: r,
|
|
2091
|
+
cleanup: () => {
|
|
2092
|
+
n.forEach((e) => {
|
|
2093
|
+
e();
|
|
2094
|
+
});
|
|
2095
|
+
}
|
|
2096
|
+
};
|
|
2097
|
+
}
|
|
2098
|
+
function $(e, t, n) {
|
|
2099
|
+
n == null ? e.removeAttribute(t) : e.setAttribute(t, n);
|
|
2100
|
+
}
|
|
2101
|
+
//#endregion
|
|
2102
|
+
//#region src/ui/svg-diagram.tsx
|
|
2103
|
+
function Hs({ src: e, bindings: t, labels: n, ariaLabel: r, className: i }) {
|
|
2104
|
+
let a = br(null), o = br(r), [c, l] = xr(null), [u, d] = xr([]), f = c?.src === e ? c.svg : null, p = c?.src === e && c.failed;
|
|
2105
|
+
return j(() => {
|
|
2106
|
+
o.current = r;
|
|
2107
|
+
}, [r]), j(() => {
|
|
2108
|
+
let t = new AbortController(), n = a.current;
|
|
2109
|
+
return Promise.resolve().then(() => {
|
|
2110
|
+
let n = new URL(e, window.location.href);
|
|
2111
|
+
if (n.origin !== window.location.origin) throw Error("SVG asset must use the dashboard host origin");
|
|
2112
|
+
return fetch(n, { signal: t.signal });
|
|
2113
|
+
}).then(async (e) => {
|
|
2114
|
+
if (!e.ok) throw Error(`SVG request failed with ${String(e.status)}`);
|
|
2115
|
+
return e.text();
|
|
2116
|
+
}).then((r) => {
|
|
2117
|
+
if (t.signal.aborted) return;
|
|
2118
|
+
let i = new DOMParser().parseFromString(r, "image/svg+xml"), a = i.documentElement;
|
|
2119
|
+
if (!(a instanceof SVGSVGElement) || i.querySelector("parsererror") != null) throw Error("Asset is not a valid SVG document");
|
|
2120
|
+
Bs(a, `svg-diagram-${crypto.randomUUID()}`), a.setAttribute("role", "group"), a.setAttribute("aria-label", o.current), a.removeAttribute("aria-labelledby"), a.removeAttribute("aria-describedby"), a.setAttribute("preserveAspectRatio", "xMidYMid meet"), n?.replaceChildren(a), l({
|
|
2121
|
+
src: e,
|
|
2122
|
+
svg: a,
|
|
2123
|
+
failed: !1
|
|
2124
|
+
});
|
|
2125
|
+
}).catch((t) => {
|
|
2126
|
+
t instanceof DOMException && t.name === "AbortError" || l({
|
|
2127
|
+
src: e,
|
|
2128
|
+
svg: null,
|
|
2129
|
+
failed: !0
|
|
2130
|
+
});
|
|
2131
|
+
}), () => {
|
|
2132
|
+
t.abort(), n?.replaceChildren();
|
|
2133
|
+
};
|
|
2134
|
+
}, [e]), j(() => {
|
|
2135
|
+
f?.setAttribute("aria-label", r);
|
|
2136
|
+
}, [r, f]), j(() => {
|
|
2137
|
+
if (f == null) return;
|
|
2138
|
+
let e = Vs(f, t), n = window.setTimeout(() => {
|
|
2139
|
+
d((t) => t.length === e.missing.length && t.every((t, n) => t === e.missing[n]) ? t : e.missing);
|
|
2140
|
+
}, 0);
|
|
2141
|
+
return () => {
|
|
2142
|
+
window.clearTimeout(n), e.cleanup();
|
|
2143
|
+
};
|
|
2144
|
+
}, [t, f]), /* @__PURE__ */ N("div", {
|
|
2145
|
+
className: s("relative min-h-80 overflow-hidden", i),
|
|
2146
|
+
children: [
|
|
2147
|
+
/* @__PURE__ */ M("div", {
|
|
2148
|
+
ref: a,
|
|
2149
|
+
className: "\n size-full\n [&>svg]:block [&>svg]:size-full\n "
|
|
2150
|
+
}),
|
|
2151
|
+
f == null && !p ? /* @__PURE__ */ N("div", {
|
|
2152
|
+
className: "\n pointer-events-none absolute inset-0 flex items-center justify-center gap-2 text-sm\n text-muted-foreground\n ",
|
|
2153
|
+
children: [
|
|
2154
|
+
/* @__PURE__ */ M(De, {}),
|
|
2155
|
+
" ",
|
|
2156
|
+
n.loading
|
|
2157
|
+
]
|
|
2158
|
+
}) : null,
|
|
2159
|
+
p ? /* @__PURE__ */ M(Ht, {
|
|
2160
|
+
className: "absolute inset-x-4 top-4 w-auto",
|
|
2161
|
+
size: "compact",
|
|
2162
|
+
description: n.loadError
|
|
2163
|
+
}) : null,
|
|
2164
|
+
f != null && u.length > 0 ? /* @__PURE__ */ M(Ht, {
|
|
2165
|
+
className: "absolute inset-x-4 bottom-4 w-auto",
|
|
2166
|
+
severity: "info",
|
|
2167
|
+
size: "compact",
|
|
2168
|
+
description: n.missingTargets(u)
|
|
2169
|
+
}) : null
|
|
2170
|
+
]
|
|
2171
|
+
});
|
|
2172
|
+
}
|
|
2173
|
+
//#endregion
|
|
2174
|
+
export { ci as Accordion, di as AccordionContent, li as AccordionItem, ui as AccordionTrigger, qt as Alert, Gt as AlertAction, Kt as AlertDescription, Mn as AlertDialog, On as AlertDialogAction, An as AlertDialogCancel, En as AlertDialogContent, Sn as AlertDialogDescription, kn as AlertDialogFooter, jn as AlertDialogHeader, Cn as AlertDialogMedia, Dn as AlertDialogOverlay, Nn as AlertDialogPortal, wn as AlertDialogTitle, Tn as AlertDialogTrigger, Wt as AlertTitle, Nr as Area, Pr as AreaChart, pi as AspectRatio, hi as Attachment, Si as AttachmentAction, xi as AttachmentActions, vi as AttachmentContent, bi as AttachmentDescription, wi as AttachmentGroup, _i as AttachmentMedia, yi as AttachmentTitle, Ci as AttachmentTrigger, Ti as Avatar, Oi as AvatarBadge, Di as AvatarFallback, ki as AvatarGroup, Ai as AvatarGroupCount, Ei as AvatarImage, xe as Badge, Fr as Bar, Ir as BarChart, Bn as Breadcrumb, In as BreadcrumbEllipsis, Rn as BreadcrumbItem, Fn as BreadcrumbLink, Pn as BreadcrumbList, Ln as BreadcrumbPage, zn as BreadcrumbSeparator, Ni as Bubble, Pi as BubbleContent, ji as BubbleGroup, Ii as BubbleReactions, C as Button, mt as ButtonGroup, St as ButtonGroupSeparator, lt as ButtonGroupText, Un as Calendar, Vn as CalendarDayButton, Nt as Card, zt as CardAction, Vt as CardContent, Pt as CardDescription, Lt as CardFooter, Ut as CardHeader, Ft as CardTitle, Ri as Carousel, zi as CarouselContent, Bi as CarouselItem, Hi as CarouselNext, Vi as CarouselPrevious, Lr as CartesianGrid, Tt as ChartContainer, it as ChartIndicator, nt as ChartLegend, wt as ChartLegendContent, at as ChartTooltip, rt as ChartTooltipContent, de as Checkbox, Rt as Collapsible, Bt as CollapsibleContent, It as CollapsibleTrigger, Ui as Combobox, ra as ComboboxChip, na as ComboboxChips, ia as ComboboxChipsInput, $i as ComboboxCollection, Ji as ComboboxContent, ea as ComboboxEmpty, Zi as ComboboxGroup, qi as ComboboxInput, Xi as ComboboxItem, Qi as ComboboxLabel, Yi as ComboboxList, ta as ComboboxSeparator, Gi as ComboboxTrigger, Wi as ComboboxValue, oa as Command, sa as CommandDialog, ua as CommandEmpty, da as CommandGroup, ca as CommandInput, pa as CommandItem, la as CommandList, fa as CommandSeparator, ma as CommandShortcut, Rr as ComposedChart, Re as ContentOverlayProvider, Pe as ContentOverlayRegion, ha as ContextMenu, wa as ContextMenuCheckboxItem, _a as ContextMenuContent, va as ContextMenuGroup, ba as ContextMenuItem, ya as ContextMenuLabel, Ta as ContextMenuRadioGroup, Ea as ContextMenuRadioItem, Da as ContextMenuSeparator, Oa as ContextMenuShortcut, xa as ContextMenuSub, Ca as ContextMenuSubContent, Sa as ContextMenuSubTrigger, ga as ContextMenuTrigger, Aa as DataTable, ja as DataTableColumnHeader, Ma as DataTableColumnVisibility, Pa as DataTablePagination, Na as DataTableToolbar, Wn as DateTimePicker, Hn as DateTimeRangePicker, Ge as Dialog, Ve as DialogClose, Ue as DialogContent, ze as DialogDescription, Fe as DialogFooter, He as DialogHeader, We as DialogOverlay, Ie as DialogPortal, Be as DialogTitle, Ke as DialogTrigger, La as DirectionProvider, fe as Drawer, ke as DrawerClose, Me as DrawerContent, me as DrawerDescription, je as DrawerFooter, oe as DrawerHeader, u as DrawerOverlay, Ae as DrawerPortal, se as DrawerSwipeHandle, f as DrawerTitle, d as DrawerTrigger, bn as DropdownMenu, _n as DropdownMenuCheckboxItem, k as DropdownMenuContent, D as DropdownMenuGroup, dn as DropdownMenuItem, O as DropdownMenuLabel, yn as DropdownMenuPortal, fn as DropdownMenuRadioGroup, hn as DropdownMenuRadioItem, xn as DropdownMenuSeparator, pn as DropdownMenuShortcut, mn as DropdownMenuSub, vn as DropdownMenuSubContent, gn as DropdownMenuSubTrigger, E as DropdownMenuTrigger, Mt as Empty, kt as EmptyContent, jt as EmptyDescription, Ot as EmptyHeader, Dt as EmptyMedia, At as EmptyTitle, v as Field, ae as FieldContent, Ne as FieldDescription, l as FieldError, le as FieldGroup, h as FieldLabel, ce as FieldLegend, ue as FieldSeparator, m as FieldSet, _ as FieldTitle, Ua as Gauge, Et as GaugeBar, Wa as HoverCard, Ka as HoverCardContent, Ga as HoverCardTrigger, Je as InlineSkeleton, he as Input, b as InputGroup, x as InputGroupAddon, y as InputGroupButton, pe as InputGroupInput, Ce as InputGroupText, Ee as InputGroupTextarea, ne as InputOTP, ie as InputOTPGroup, p as InputOTPSeparator, g as InputOTPSlot, $n as Item, Yn as ItemActions, Zn as ItemContent, qn as ItemDescription, Gn as ItemFooter, Xn as ItemGroup, Qn as ItemHeader, Kn as ItemMedia, Jn as ItemSeparator, er as ItemTitle, dt as Kbd, ot as KbdGroup, ee as Label, zr as Line, Br as LineChart, Ja as Marker, Xa as MarkerContent, Ya as MarkerIcon, Za as Menubar, ro as MenubarCheckboxItem, to as MenubarContent, $a as MenubarGroup, no as MenubarItem, oo as MenubarLabel, Qa as MenubarMenu, io as MenubarRadioGroup, ao as MenubarRadioItem, so as MenubarSeparator, co as MenubarShortcut, lo as MenubarSub, fo as MenubarSubContent, uo as MenubarSubTrigger, eo as MenubarTrigger, mo as Message, ho as MessageAvatar, go as MessageContent, vo as MessageFooter, po as MessageGroup, _o as MessageHeader, fr as MessageHistoryBell, a as MessageHistoryProvider, n as MessageScopeProvider, Co as MessageScroller, Do as MessageScrollerButton, To as MessageScrollerContent, Eo as MessageScrollerItem, yo as MessageScrollerProvider, wo as MessageScrollerViewport, c as NativeSelect, be as NativeSelectOptGroup, te as NativeSelectOption, Oo as NavigationMenu, No as NavigationMenuContent, Io as NavigationMenuIndicator, Ao as NavigationMenuItem, Fo as NavigationMenuLink, ko as NavigationMenuList, Po as NavigationMenuPositioner, Mo as NavigationMenuTrigger, Ht as NoticeCard, tr as PageHeader, un as PageTitle, Lo as Pagination, Ro as PaginationContent, Uo as PaginationEllipsis, zo as PaginationItem, Bo as PaginationLink, Ho as PaginationNext, Vo as PaginationPrevious, ge as Popover, _e as PopoverContent, we as PopoverDescription, Se as PopoverHeader, ye as PopoverTitle, ve as PopoverTrigger, ln as Progress, an as ProgressIndicator, sn as ProgressLabel, nn as ProgressTrack, en as ProgressValue, Wo as Questionnaire, es as QuestionnaireActions, Xo as QuestionnaireChoice, Zo as QuestionnaireChoiceDescription, Yo as QuestionnaireChoices, Jo as QuestionnaireDescription, $o as QuestionnaireError, Qo as QuestionnaireInput, Ko as QuestionnaireItem, rs as QuestionnaireNext, ts as QuestionnairePrevious, Go as QuestionnaireProgress, ns as QuestionnaireSkip, is as QuestionnaireSubmit, qo as QuestionnaireTitle, rr as RadioGroup, nr as RadioGroupItem, Vr as Rectangle, Hr as ReferenceLine, vt as ResizableHandle, ht as ResizablePanel, ft as ResizablePanelGroup, as as ScrollArea, os as ScrollBar, xt as Select, gt as SelectContent, yt as SelectGroup, pt as SelectItem, st as SelectLabel, _t as SelectSeparator, bt as SelectTrigger, ct as SelectValue, Te as Separator, ur as Sheet, or as SheetClose, ir as SheetContent, lr as SheetDescription, dr as SheetFooter, ar as SheetHeader, sr as SheetTitle, pr as SheetTrigger, ls as Sidebar, _s as SidebarContent, hs as SidebarFooter, vs as SidebarGroup, bs as SidebarGroupAction, xs as SidebarGroupContent, ys as SidebarGroupLabel, ms as SidebarHeader, ps as SidebarInput, fs as SidebarInset, Ss as SidebarMenu, Es as SidebarMenuAction, Ds as SidebarMenuBadge, Ts as SidebarMenuButton, Cs as SidebarMenuItem, Os as SidebarMenuSkeleton, ks as SidebarMenuSub, js as SidebarMenuSubButton, As as SidebarMenuSubItem, cs as SidebarProvider, ds as SidebarRail, gs as SidebarSeparator, us as SidebarTrigger, w as Skeleton, Jt as Slider, Ct as Sparkline, De as Spinner, Hs as SvgDiagram, Yt as Switch, tt as Table, Ze as TableBody, $e as TableCaption, Xe as TableCell, Ye as TableFooter, Qe as TableHead, et as TableHeader, T as TableRow, vr as Tabs, gr as TabsContent, _r as TabsList, hr as TabsTrigger, Le as Textarea, cr as Toaster, Qt as Toggle, $t as ToggleGroup, Zt as ToggleGroupItem, on as Tooltip, cn as TooltipContent, tn as TooltipProvider, rn as TooltipTrigger, qe as WindowOverlayScope, Ur as XAxis, Wr as YAxis, fi as aspectRatioVariants, Oe as badgeVariants, ut as buttonGroupVariants, S as buttonVariants, s as cn, za as gaugeScaleMax, qa as markerVariants, jo as navigationMenuTriggerStyle, e as showNotificationToast, mr as tabsListVariants, o as toast, Xt as toggleVariants, Z as useCarousel, aa as useComboboxAnchor, Ra as useDirection, bo as useMessageScroller, xo as useMessageScrollerScrollable, So as useMessageScrollerVisibility, Q as useSidebar, i as useToast };
|