@datum-cloud/datum-ui 1.3.2 → 1.5.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/README.md +54 -46
- package/dist/_shadcn/hooks/use-mobile.d.ts +0 -1
- package/dist/_shadcn/hooks/use-theme.d.ts +0 -1
- package/dist/_shadcn/lib/utils.d.ts +1 -6
- package/dist/_shadcn/ui/alert.d.ts +2 -3
- package/dist/_shadcn/ui/avatar.d.ts +4 -5
- package/dist/_shadcn/ui/badge.d.ts +1 -2
- package/dist/_shadcn/ui/breadcrumb.d.ts +9 -10
- package/dist/_shadcn/ui/button-group.d.ts +1 -2
- package/dist/_shadcn/ui/button.d.ts +1 -2
- package/dist/_shadcn/ui/card.d.ts +7 -8
- package/dist/_shadcn/ui/chart.d.ts +8 -9
- package/dist/_shadcn/ui/checkbox.d.ts +0 -1
- package/dist/_shadcn/ui/collapsible.d.ts +1 -2
- package/dist/_shadcn/ui/command.d.ts +12 -13
- package/dist/_shadcn/ui/dialog.d.ts +10 -11
- package/dist/_shadcn/ui/dropdown-menu.d.ts +5 -6
- package/dist/_shadcn/ui/hover-card.d.ts +1 -2
- package/dist/_shadcn/ui/input-group.d.ts +2 -3
- package/dist/_shadcn/ui/input.d.ts +4 -5
- package/dist/_shadcn/ui/label.d.ts +1 -2
- package/dist/_shadcn/ui/map/controls.d.ts +20 -0
- package/dist/_shadcn/ui/map/draw.d.ts +15 -0
- package/dist/_shadcn/ui/map/hooks.d.ts +7 -0
- package/dist/_shadcn/ui/map/layers.d.ts +45 -0
- package/dist/_shadcn/ui/map/lazy.d.ts +20 -0
- package/dist/_shadcn/ui/map/primitives.d.ts +36 -0
- package/dist/_shadcn/ui/map/shared.d.ts +5 -0
- package/dist/_shadcn/ui/map-leaflet-imports.d.ts +0 -1
- package/dist/_shadcn/ui/map.d.ts +6 -115
- package/dist/_shadcn/ui/place-autocomplete.d.ts +0 -1
- package/dist/_shadcn/ui/popover.d.ts +5 -6
- package/dist/_shadcn/ui/radio-group.d.ts +0 -1
- package/dist/_shadcn/ui/select.d.ts +10 -11
- package/dist/_shadcn/ui/separator.d.ts +1 -2
- package/dist/_shadcn/ui/sheet.d.ts +11 -12
- package/dist/_shadcn/ui/skeleton.d.ts +0 -1
- package/dist/_shadcn/ui/sonner.d.ts +1 -2
- package/dist/_shadcn/ui/spinner.d.ts +0 -1
- package/dist/_shadcn/ui/switch.d.ts +0 -1
- package/dist/_shadcn/ui/table.d.ts +9 -10
- package/dist/_shadcn/ui/tabs.d.ts +1 -2
- package/dist/_shadcn/ui/textarea.d.ts +0 -1
- package/dist/_shadcn/ui/tooltip.d.ts +5 -6
- package/dist/_shadcn/ui/visuallyhidden.d.ts +0 -1
- package/dist/{action-row-BhMyMSep.mjs → action-row-DTvs91_3.mjs} +1 -1
- package/dist/alert/index.mjs +1 -1
- package/dist/{alert-o1rpjbOJ.mjs → alert-SAPwee1h.mjs} +3 -3
- package/dist/app-navigation/index.mjs +3 -4
- package/dist/app-navigation--mry98XV.mjs +576 -0
- package/dist/assistant/index.mjs +987 -0
- package/dist/autocomplete/index.mjs +1 -1
- package/dist/{autocomplete-Bg187x6x.mjs → autocomplete-G24AgvxU.mjs} +20 -29
- package/dist/autosearch/index.mjs +14 -21
- package/dist/avatar/index.mjs +27 -1
- package/dist/avatar-stack/index.mjs +1 -1
- package/dist/{avatar-stack-dsUoEFWs.mjs → avatar-stack-D1-BA7hA.mjs} +3 -3
- package/dist/badge/index.mjs +1 -1
- package/dist/{badge-DO2_XsXD.mjs → badge-BTNW_FEU.mjs} +1 -1
- package/dist/breadcrumb/index.mjs +1 -1
- package/dist/{breadcrumb-2S5MuWmM.mjs → breadcrumb-DmdhC8bE.mjs} +14 -14
- package/dist/button/index.mjs +2 -2
- package/dist/{button-B_N7A8gv.mjs → button-A1qTjZ8U.mjs} +25 -11
- package/dist/{button-BLYlDzP-.mjs → button-H_8dI-Ib.mjs} +3 -9
- package/dist/button-group/index.mjs +1 -1
- package/dist/{button-group-B5s-1BCV.mjs → button-group-DFrTH4L8.mjs} +1 -1
- package/dist/calendar/index.mjs +110 -1
- package/dist/{calendar-date-picker-DAVXW7Jg.mjs → calendar-date-picker-C52Y05ZN.mjs} +4 -4
- package/dist/card/index.mjs +1 -1
- package/dist/{card-C5ykfNwX.mjs → card-Cphn2nA3.mjs} +10 -11
- package/dist/chart/index.mjs +1 -1
- package/dist/{chart-CyOC7Ha-.mjs → chart-DeCrbcpY.mjs} +3 -3
- package/dist/checkbox/index.mjs +1 -1
- package/dist/{checkbox-BZr9bkke.mjs → checkbox-C6P12fio.mjs} +2 -3
- package/dist/{close.icon-ClpRDt_H.mjs → close.icon-DdXKQ4m0.mjs} +1 -1
- package/dist/code-editor/index.mjs +1 -1
- package/dist/{col-DlpHgWOq.mjs → col-BYGWTB4j.mjs} +17 -4
- package/dist/collapsible/index.mjs +6 -1
- package/dist/command/index.mjs +1 -1
- package/dist/{command-B1sx-XVY.mjs → command-C0aGIYnQ.mjs} +19 -19
- package/dist/components/base/alert/alert.d.ts +2 -2
- package/dist/components/base/alert/index.d.ts +0 -1
- package/dist/components/base/avatar/index.d.ts +0 -1
- package/dist/components/base/badge/badge.d.ts +0 -1
- package/dist/components/base/badge/index.d.ts +0 -1
- package/dist/components/base/breadcrumb/index.d.ts +0 -1
- package/dist/components/base/button/button.d.ts +0 -1
- package/dist/components/base/button/icon-only.d.ts +14 -0
- package/dist/components/base/button/index.d.ts +0 -1
- package/dist/components/base/button/link-button.d.ts +0 -1
- package/dist/components/base/button-group/index.d.ts +0 -1
- package/dist/components/base/calendar/calendar.d.ts +0 -1
- package/dist/components/base/calendar/index.d.ts +0 -1
- package/dist/components/base/card/card.d.ts +0 -1
- package/dist/components/base/card/index.d.ts +0 -1
- package/dist/components/base/chart/index.d.ts +0 -1
- package/dist/components/base/checkbox/checkbox.d.ts +0 -1
- package/dist/components/base/checkbox/index.d.ts +0 -1
- package/dist/components/base/collapsible/index.d.ts +0 -1
- package/dist/components/base/command/index.d.ts +0 -1
- package/dist/components/base/date-picker/index.d.ts +0 -1
- package/dist/components/base/date-picker/types.d.ts +0 -1
- package/dist/components/base/date-picker/use-date-constraints.d.ts +0 -1
- package/dist/components/base/dialog/dialog.d.ts +0 -1
- package/dist/components/base/dialog/index.d.ts +0 -1
- package/dist/components/base/hooks/index.d.ts +2 -0
- package/dist/components/base/hooks/use-controllable-state.d.ts +10 -0
- package/dist/components/base/hover-card/index.d.ts +0 -1
- package/dist/components/base/index.d.ts +1 -1
- package/dist/components/base/input/index.d.ts +0 -1
- package/dist/components/base/input/input.d.ts +0 -1
- package/dist/components/base/input-group/index.d.ts +0 -1
- package/dist/components/base/label/index.d.ts +0 -1
- package/dist/components/base/label/label.d.ts +0 -1
- package/dist/components/base/loader-overlay/index.d.ts +1 -0
- package/dist/components/base/loader-overlay/loader-overlay.d.ts +4 -0
- package/dist/components/base/map/index.d.ts +0 -1
- package/dist/components/base/mobile-sheet/context.d.ts +0 -1
- package/dist/components/base/mobile-sheet/index.d.ts +1 -1
- package/dist/components/base/mobile-sheet/mobile-sheet.d.ts +0 -1
- package/dist/components/base/mobile-sheet/responsive-sheet-trigger.d.ts +25 -0
- package/dist/components/base/option-picker/index.d.ts +0 -1
- package/dist/components/base/option-picker/option-list.d.ts +0 -1
- package/dist/components/base/option-picker/types.d.ts +28 -1
- package/dist/components/base/option-picker/use-option-picker.d.ts +0 -1
- package/dist/components/base/place-autocomplete/index.d.ts +0 -1
- package/dist/components/base/popover/index.d.ts +0 -1
- package/dist/components/base/radio-group/index.d.ts +0 -1
- package/dist/components/base/radio-group/radio-group.d.ts +0 -1
- package/dist/components/base/responsive-dropdown/index.d.ts +0 -1
- package/dist/components/base/responsive-dropdown/responsive-dropdown.d.ts +0 -1
- package/dist/components/base/responsive-popover/index.d.ts +0 -1
- package/dist/components/base/responsive-popover/responsive-popover.d.ts +4 -3
- package/dist/components/base/select/index.d.ts +0 -1
- package/dist/components/base/select/select.d.ts +3 -4
- package/dist/components/base/separator/index.d.ts +0 -1
- package/dist/components/base/sheet/index.d.ts +0 -1
- package/dist/components/base/sheet/sheet.d.ts +0 -1
- package/dist/components/base/sidebar/context.d.ts +32 -0
- package/dist/components/base/sidebar/group.d.ts +10 -0
- package/dist/components/base/sidebar/index.d.ts +0 -1
- package/dist/components/base/sidebar/menu.d.ts +33 -0
- package/dist/components/base/sidebar/shell.d.ts +18 -0
- package/dist/components/base/sidebar/sidebar.d.ts +4 -84
- package/dist/components/base/skeleton/index.d.ts +0 -1
- package/dist/components/base/skeleton/skeleton.d.ts +0 -1
- package/dist/components/base/spinner/index.d.ts +0 -1
- package/dist/components/base/switch/index.d.ts +0 -1
- package/dist/components/base/switch/switch.d.ts +0 -1
- package/dist/components/base/table/index.d.ts +0 -1
- package/dist/components/base/tabs/index.d.ts +0 -1
- package/dist/components/base/tabs/tabs.d.ts +0 -1
- package/dist/components/base/textarea/index.d.ts +0 -1
- package/dist/components/base/textarea/textarea.d.ts +0 -1
- package/dist/components/base/tooltip/index.d.ts +0 -1
- package/dist/components/base/tooltip/tooltip.d.ts +0 -1
- package/dist/components/base/typography/index.d.ts +0 -1
- package/dist/components/base/typography/typography.d.ts +0 -1
- package/dist/components/base/visuallyhidden/index.d.ts +0 -1
- package/dist/components/features/_shared/index.d.ts +2 -0
- package/dist/components/features/_shared/timezone.d.ts +13 -0
- package/dist/components/features/_shared/use-deprecation-warning.d.ts +8 -0
- package/dist/components/features/app-navigation/app-navigation.d.ts +1 -2
- package/dist/components/features/app-navigation/index.d.ts +0 -1
- package/dist/components/features/app-navigation/nav-menu/active-path.d.ts +33 -0
- package/dist/components/features/app-navigation/nav-menu/index.d.ts +4 -0
- package/dist/components/features/app-navigation/nav-menu/nav-menu-context.d.ts +47 -0
- package/dist/components/features/app-navigation/nav-menu/nav-menu-item.d.ts +13 -0
- package/dist/components/features/app-navigation/{nav-menu.d.ts → nav-menu/nav-menu.d.ts} +7 -20
- package/dist/components/features/app-navigation/nav-menu/parts.d.ts +31 -0
- package/dist/components/features/app-navigation/nav-menu/types.d.ts +18 -0
- package/dist/components/features/assistant/components/assistant-workspace.d.ts +48 -0
- package/dist/components/features/assistant/components/brain-glyph.d.ts +8 -0
- package/dist/components/features/assistant/components/composer/equalizer.d.ts +6 -0
- package/dist/components/features/assistant/components/composer/index.d.ts +3 -0
- package/dist/components/features/assistant/components/composer/model-selector.d.ts +10 -0
- package/dist/components/features/assistant/components/composer/prompt-card.d.ts +21 -0
- package/dist/components/features/assistant/components/conversation/conversation.d.ts +15 -0
- package/dist/components/features/assistant/components/conversation/index.d.ts +3 -0
- package/dist/components/features/assistant/components/conversation/scroll-to-bottom-button.d.ts +5 -0
- package/dist/components/features/assistant/components/conversation/turn-rail.d.ts +12 -0
- package/dist/components/features/assistant/components/empty-state.d.ts +10 -0
- package/dist/components/features/assistant/components/message/assistant-message.d.ts +9 -0
- package/dist/components/features/assistant/components/message/index.d.ts +4 -0
- package/dist/components/features/assistant/components/message/loading-dots.d.ts +4 -0
- package/dist/components/features/assistant/components/message/thinking-block.d.ts +4 -0
- package/dist/components/features/assistant/components/message/user-message.d.ts +4 -0
- package/dist/components/features/assistant/components/sidebar/chat-rail.d.ts +7 -0
- package/dist/components/features/assistant/components/sidebar/history-panel.d.ts +9 -0
- package/dist/components/features/assistant/components/sidebar/index.d.ts +2 -0
- package/dist/components/features/assistant/context/assistant-config.d.ts +19 -0
- package/dist/components/features/assistant/context/index.d.ts +1 -0
- package/dist/components/features/assistant/hooks/index.d.ts +1 -0
- package/dist/components/features/assistant/hooks/use-turn-rail.d.ts +16 -0
- package/dist/components/features/assistant/index.d.ts +11 -0
- package/dist/components/features/assistant/types.d.ts +59 -0
- package/dist/components/features/assistant/utils/format-relative-time.d.ts +2 -0
- package/dist/components/features/assistant/utils/index.d.ts +2 -0
- package/dist/components/features/assistant/utils/sanitize-html.d.ts +2 -0
- package/dist/components/features/autocomplete/autocomplete.d.ts +0 -1
- package/dist/components/features/autocomplete/autocomplete.types.d.ts +0 -1
- package/dist/components/features/autocomplete/index.d.ts +0 -1
- package/dist/components/features/autocomplete/trigger.d.ts +6 -2
- package/dist/components/features/autosearch/autosearch.d.ts +0 -1
- package/dist/components/features/autosearch/autosearch.types.d.ts +1 -2
- package/dist/components/features/autosearch/index.d.ts +0 -1
- package/dist/components/features/avatar-stack/avatar-stack.d.ts +0 -1
- package/dist/components/features/avatar-stack/index.d.ts +0 -1
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +0 -1
- package/dist/components/features/calendar-date-picker/index.d.ts +0 -1
- package/dist/components/features/calendar-date-picker/types.d.ts +3 -8
- package/dist/components/features/code-editor/code-editor-tabs.d.ts +0 -1
- package/dist/components/features/code-editor/code-editor.d.ts +0 -1
- package/dist/components/features/code-editor/index.d.ts +0 -1
- package/dist/components/features/code-editor/lib/editor.d.ts +0 -1
- package/dist/components/features/code-editor/types.d.ts +0 -1
- package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts +0 -1
- package/dist/components/features/data-table/columns/selection-column.d.ts +2 -3
- package/dist/components/features/data-table/components/active-filters.d.ts +0 -1
- package/dist/components/features/data-table/components/bulk-actions.d.ts +0 -1
- package/dist/components/features/data-table/components/column-header.d.ts +0 -1
- package/dist/components/features/data-table/components/content.d.ts +0 -1
- package/dist/components/features/data-table/components/inline-content.d.ts +0 -1
- package/dist/components/features/data-table/components/loading.d.ts +0 -1
- package/dist/components/features/data-table/components/pagination.d.ts +0 -1
- package/dist/components/features/data-table/components/row-actions.d.ts +0 -1
- package/dist/components/features/data-table/components/search.d.ts +0 -1
- package/dist/components/features/data-table/constants.d.ts +0 -1
- package/dist/components/features/data-table/core/client-provider.d.ts +0 -1
- package/dist/components/features/data-table/core/data-table-context.d.ts +0 -1
- package/dist/components/features/data-table/core/filter-engine.d.ts +1 -3
- package/dist/components/features/data-table/core/server-provider.d.ts +0 -1
- package/dist/components/features/data-table/core/store.d.ts +0 -1
- package/dist/components/features/data-table/data-table.d.ts +0 -1
- package/dist/components/features/data-table/filters/checkbox-filter.d.ts +0 -1
- package/dist/components/features/data-table/filters/date-picker-filter.d.ts +0 -1
- package/dist/components/features/data-table/filters/select-filter.d.ts +0 -1
- package/dist/components/features/data-table/hooks/index.d.ts +0 -1
- package/dist/components/features/data-table/hooks/use-data-table-client.d.ts +2 -3
- package/dist/components/features/data-table/hooks/use-data-table-server.d.ts +2 -3
- package/dist/components/features/data-table/hooks/use-selectors.d.ts +1 -1
- package/dist/components/features/data-table/index.d.ts +1 -2
- package/dist/components/features/data-table/types.d.ts +36 -19
- package/dist/components/features/date-picker/index.d.ts +0 -1
- package/dist/components/features/date-time-picker/date-time-picker.d.ts +0 -1
- package/dist/components/features/date-time-picker/index.d.ts +0 -1
- package/dist/components/features/date-time-picker/types.d.ts +0 -1
- package/dist/components/features/date-time-picker/utils/format.d.ts +0 -1
- package/dist/components/features/date-time-picker/utils/index.d.ts +0 -1
- package/dist/components/features/date-time-picker/utils/timezone.d.ts +1 -5
- package/dist/components/features/dropdown/dropdown.d.ts +0 -1
- package/dist/components/features/dropdown/index.d.ts +0 -1
- package/dist/components/features/dropzone/dropzone.d.ts +0 -1
- package/dist/components/features/dropzone/index.d.ts +0 -1
- package/dist/components/features/empty-content/empty-content.d.ts +1 -2
- package/dist/components/features/empty-content/index.d.ts +0 -1
- package/dist/components/features/file-input-button/file-input-button.d.ts +0 -1
- package/dist/components/features/file-input-button/index.d.ts +0 -1
- package/dist/components/features/form/adapter-context.d.ts +0 -1
- package/dist/components/features/form/adapter-types.d.ts +0 -1
- package/dist/components/features/form/adapters/conform/conform-adapter.d.ts +13 -1
- package/dist/components/features/form/adapters/conform/conform-provider.d.ts +0 -1
- package/dist/components/features/form/adapters/conform/index.d.ts +0 -1
- package/dist/components/features/form/adapters/rhf/index.d.ts +0 -1
- package/dist/components/features/form/adapters/rhf/rhf-adapter.d.ts +0 -1
- package/dist/components/features/form/adapters/rhf/rhf-provider.d.ts +0 -1
- package/dist/components/features/form/components/form-autocomplete.d.ts +1 -2
- package/dist/components/features/form/components/form-autosearch.d.ts +0 -1
- package/dist/components/features/form/components/form-button.d.ts +0 -1
- package/dist/components/features/form/components/form-checkbox.d.ts +0 -1
- package/dist/components/features/form/components/form-combobox.d.ts +1 -2
- package/dist/components/features/form/components/form-copy-box.d.ts +0 -1
- package/dist/components/features/form/components/form-custom.d.ts +0 -1
- package/dist/components/features/form/components/form-date-picker.d.ts +0 -1
- package/dist/components/features/form/components/form-date-time-picker.d.ts +0 -1
- package/dist/components/features/form/components/form-description.d.ts +0 -1
- package/dist/components/features/form/components/form-dialog.d.ts +0 -1
- package/dist/components/features/form/components/form-error.d.ts +0 -1
- package/dist/components/features/form/components/form-field-array.d.ts +0 -1
- package/dist/components/features/form/components/form-field.d.ts +0 -1
- package/dist/components/features/form/components/form-input-group.d.ts +0 -1
- package/dist/components/features/form/components/form-input.d.ts +0 -1
- package/dist/components/features/form/components/form-radio-group.d.ts +0 -1
- package/dist/components/features/form/components/form-root.d.ts +0 -1
- package/dist/components/features/form/components/form-select.d.ts +0 -1
- package/dist/components/features/form/components/form-submit.d.ts +0 -1
- package/dist/components/features/form/components/form-switch.d.ts +0 -1
- package/dist/components/features/form/components/form-textarea.d.ts +0 -1
- package/dist/components/features/form/components/form-time-picker.d.ts +0 -1
- package/dist/components/features/form/components/form-transfer.d.ts +0 -1
- package/dist/components/features/form/components/form-when.d.ts +0 -1
- package/dist/components/features/form/components/index.d.ts +0 -1
- package/dist/components/features/form/components/stepper/form-step.d.ts +0 -1
- package/dist/components/features/form/components/stepper/form-stepper.d.ts +0 -1
- package/dist/components/features/form/components/stepper/index.d.ts +0 -1
- package/dist/components/features/form/components/stepper/stepper-controls.d.ts +0 -1
- package/dist/components/features/form/components/stepper/stepper-navigation.d.ts +0 -1
- package/dist/components/features/form/context/field-context.d.ts +0 -1
- package/dist/components/features/form/context/form-context.d.ts +0 -1
- package/dist/components/features/form/context/index.d.ts +0 -1
- package/dist/components/features/form/hooks/index.d.ts +0 -1
- package/dist/components/features/form/hooks/use-display-touched.d.ts +0 -1
- package/dist/components/features/form/hooks/use-field-context.d.ts +0 -1
- package/dist/components/features/form/hooks/use-field.d.ts +0 -1
- package/dist/components/features/form/hooks/use-form-context.d.ts +0 -1
- package/dist/components/features/form/hooks/use-form-state.d.ts +0 -1
- package/dist/components/features/form/hooks/use-stepper.d.ts +0 -1
- package/dist/components/features/form/hooks/use-watch.d.ts +0 -1
- package/dist/components/features/form/index.d.ts +0 -1
- package/dist/components/features/form/stepper/index.d.ts +0 -1
- package/dist/components/features/form/types/context.d.ts +18 -0
- package/dist/components/features/form/types/core.d.ts +20 -0
- package/dist/components/features/form/types/dialog.d.ts +83 -0
- package/dist/components/features/form/types/field.d.ts +113 -0
- package/dist/components/features/form/types/index.d.ts +9 -651
- package/dist/components/features/form/types/inputs.d.ts +157 -0
- package/dist/components/features/form/types/root.d.ts +86 -0
- package/dist/components/features/form/types/stepper.d.ts +98 -0
- package/dist/components/features/form/types/telemetry.d.ts +44 -0
- package/dist/components/features/form/utils/get-field-constraints.d.ts +0 -1
- package/dist/components/features/form/utils/get-schema-defaults.d.ts +0 -1
- package/dist/components/features/form/utils/zod-helpers.d.ts +0 -1
- package/dist/components/features/grid/components/col.d.ts +0 -1
- package/dist/components/features/grid/components/index.d.ts +0 -1
- package/dist/components/features/grid/components/row.d.ts +0 -1
- package/dist/components/features/grid/constants/grid.constants.d.ts +0 -1
- package/dist/components/features/grid/index.d.ts +0 -1
- package/dist/components/features/grid/types/grid.types.d.ts +0 -1
- package/dist/components/features/grid/utils/responsive.d.ts +9 -1
- package/dist/components/features/grouped-table/components/grouped-skeleton.d.ts +0 -1
- package/dist/components/features/grouped-table/components/grouped-toolbar.d.ts +0 -1
- package/dist/components/features/grouped-table/grouped-table.d.ts +0 -1
- package/dist/components/features/grouped-table/index.d.ts +0 -1
- package/dist/components/features/grouped-table/lib/bucket-rows.d.ts +0 -1
- package/dist/components/features/grouped-table/lib/compose-columns.d.ts +3 -4
- package/dist/components/features/grouped-table/lib/sort-rows.d.ts +0 -1
- package/dist/components/features/grouped-table/lib/use-controllable-state.d.ts +7 -6
- package/dist/components/features/grouped-table/types.d.ts +3 -4
- package/dist/components/features/grouped-table/use-grouped-expansion.d.ts +0 -1
- package/dist/components/features/index.d.ts +6 -1
- package/dist/components/features/input-number/index.d.ts +0 -1
- package/dist/components/features/input-number/input-number.d.ts +0 -1
- package/dist/components/features/input-with-addons/index.d.ts +0 -1
- package/dist/components/features/input-with-addons/input-with-addons.d.ts +0 -1
- package/dist/components/features/loader-overlay/index.d.ts +0 -1
- package/dist/components/features/loader-overlay/loader-overlay.d.ts +6 -5
- package/dist/components/features/logo/index.d.ts +0 -1
- package/dist/components/features/logo/logo-flat.d.ts +0 -1
- package/dist/components/features/logo/logo-icon.d.ts +0 -1
- package/dist/components/features/logo/logo-stacked.d.ts +0 -1
- package/dist/components/features/logo/logo-text.d.ts +0 -1
- package/dist/components/features/logo/logo.d.ts +0 -1
- package/dist/components/features/logo/logo.styles.d.ts +0 -1
- package/dist/components/features/logo/themed/index.d.ts +0 -1
- package/dist/components/features/logo/themed/logo-themed.d.ts +0 -1
- package/dist/components/features/more-actions/action-row.d.ts +0 -1
- package/dist/components/features/more-actions/index.d.ts +0 -1
- package/dist/components/features/more-actions/more-actions.d.ts +14 -3
- package/dist/components/features/more-actions/types.d.ts +0 -1
- package/dist/components/features/multi-select/index.d.ts +0 -1
- package/dist/components/features/multi-select/multi-select-options.d.ts +21 -0
- package/dist/components/features/multi-select/multi-select-shared.d.ts +21 -0
- package/dist/components/features/multi-select/multi-select.d.ts +6 -19
- package/dist/components/features/multi-select/selected-badge-list.d.ts +29 -0
- package/dist/components/features/nprogress/index.d.ts +0 -1
- package/dist/components/features/page-title/index.d.ts +0 -1
- package/dist/components/features/page-title/page-title.d.ts +0 -1
- package/dist/components/features/picker/components/calendar.d.ts +0 -1
- package/dist/components/features/picker/components/content.d.ts +0 -1
- package/dist/components/features/picker/components/context.d.ts +0 -1
- package/dist/components/features/picker/components/footer.d.ts +0 -1
- package/dist/components/features/picker/components/index.d.ts +0 -1
- package/dist/components/features/picker/components/presets.d.ts +0 -1
- package/dist/components/features/picker/components/root.d.ts +0 -1
- package/dist/components/features/picker/components/time-input-field.d.ts +0 -1
- package/dist/components/features/picker/components/time-input.d.ts +0 -1
- package/dist/components/features/picker/components/timezone-indicator.d.ts +0 -1
- package/dist/components/features/picker/components/timezone-select.d.ts +0 -1
- package/dist/components/features/picker/components/trigger.d.ts +0 -1
- package/dist/components/features/picker/hooks/index.d.ts +0 -1
- package/dist/components/features/picker/hooks/use-keyboard-shortcuts.d.ts +16 -10
- package/dist/components/features/picker/hooks/use-picker-state.d.ts +0 -1
- package/dist/components/features/picker/hooks/use-presets.d.ts +0 -1
- package/dist/components/features/picker/hooks/use-time-slots.d.ts +0 -1
- package/dist/components/features/picker/index.d.ts +0 -1
- package/dist/components/features/picker/internal/use-deprecation-warning.d.ts +1 -9
- package/dist/components/features/picker/presets/defaults.d.ts +0 -1
- package/dist/components/features/picker/presets/index.d.ts +0 -1
- package/dist/components/features/picker/types.d.ts +0 -1
- package/dist/components/features/picker/utils/commit.d.ts +0 -1
- package/dist/components/features/picker/utils/compare.d.ts +0 -1
- package/dist/components/features/picker/utils/format-value.d.ts +0 -1
- package/dist/components/features/picker/utils/format.d.ts +0 -1
- package/dist/components/features/picker/utils/index.d.ts +0 -1
- package/dist/components/features/picker/utils/range.d.ts +0 -1
- package/dist/components/features/picker/utils/timezone.d.ts +7 -3
- package/dist/components/features/picker/wrappers/date-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/date-range-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/date-range-time-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/date-time-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/date-time-range-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/index.d.ts +0 -1
- package/dist/components/features/picker/wrappers/internal/default-footer.d.ts +0 -1
- package/dist/components/features/picker/wrappers/time-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/time-range-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/types.d.ts +0 -1
- package/dist/components/features/rich-text-editor/index.d.ts +0 -1
- package/dist/components/features/rich-text-editor/rich-text-content.d.ts +0 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/bold-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/italic-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/link-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/strike-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/toolbar-button.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/underline-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/types.d.ts +0 -1
- package/dist/components/features/stepper/index.d.ts +0 -1
- package/dist/components/features/stepper/parts.d.ts +25 -0
- package/dist/components/features/stepper/stepper.d.ts +0 -7
- package/dist/components/features/stepper/utils.d.ts +8 -0
- package/dist/components/features/tag-input/index.d.ts +0 -1
- package/dist/components/features/tag-input/parse.d.ts +56 -0
- package/dist/components/features/tag-input/tag-input-field.d.ts +16 -0
- package/dist/components/features/tag-input/tag-input.d.ts +3 -3
- package/dist/components/features/tag-input/use-tags-input.d.ts +38 -0
- package/dist/components/features/task-queue/constants.d.ts +0 -1
- package/dist/components/features/task-queue/core/index.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel-actions.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel-counter.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel-header.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel-item.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-queue-trigger.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-summary-dialog.d.ts +0 -1
- package/dist/components/features/task-queue/engine/executor.d.ts +2 -3
- package/dist/components/features/task-queue/engine/index.d.ts +0 -1
- package/dist/components/features/task-queue/engine/queue.d.ts +52 -8
- package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts +0 -1
- package/dist/components/features/task-queue/engine/storage/index.d.ts +0 -1
- package/dist/components/features/task-queue/engine/storage/local-storage.d.ts +9 -5
- package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts +0 -1
- package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts +11 -6
- package/dist/components/features/task-queue/engine/storage/serialize.d.ts +12 -0
- package/dist/components/features/task-queue/engine/storage/storage.d.ts +0 -1
- package/dist/components/features/task-queue/engine/summary-store.d.ts +17 -0
- package/dist/components/features/task-queue/hooks/index.d.ts +0 -1
- package/dist/components/features/task-queue/hooks/use-task-queue.d.ts +0 -1
- package/dist/components/features/task-queue/hooks/use-task-scope.d.ts +0 -1
- package/dist/components/features/task-queue/index.d.ts +0 -1
- package/dist/components/features/task-queue/provider/index.d.ts +0 -1
- package/dist/components/features/task-queue/provider/task-queue-provider.d.ts +0 -1
- package/dist/components/features/task-queue/types.d.ts +66 -25
- package/dist/components/features/task-queue/utils/index.d.ts +0 -1
- package/dist/components/features/time-picker/index.d.ts +0 -1
- package/dist/components/features/time-picker/time-picker.d.ts +0 -1
- package/dist/components/features/time-picker/types.d.ts +0 -1
- package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts +0 -1
- package/dist/components/features/time-range-picker/components/index.d.ts +0 -1
- package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts +0 -1
- package/dist/components/features/time-range-picker/components/timezone-selector.d.ts +0 -1
- package/dist/components/features/time-range-picker/index.d.ts +0 -1
- package/dist/components/features/time-range-picker/presets.d.ts +0 -1
- package/dist/components/features/time-range-picker/time-range-picker.d.ts +0 -1
- package/dist/components/features/time-range-picker/types.d.ts +0 -1
- package/dist/components/features/time-range-picker/utils/format-display.d.ts +0 -1
- package/dist/components/features/time-range-picker/utils/index.d.ts +0 -1
- package/dist/components/features/time-range-picker/utils/timezone.d.ts +2 -15
- package/dist/components/features/time-range-picker/utils/to-api-format.d.ts +0 -1
- package/dist/components/features/toast/headless-toast.d.ts +7 -2
- package/dist/components/features/toast/index.d.ts +0 -1
- package/dist/components/features/toast/toast.d.ts +0 -1
- package/dist/components/features/toast/toaster.d.ts +0 -1
- package/dist/components/features/toast/types.d.ts +7 -3
- package/dist/components/features/toast/use-toast.d.ts +0 -1
- package/dist/components/features/transfer/components/index.d.ts +0 -1
- package/dist/components/features/transfer/components/transfer-group.d.ts +0 -1
- package/dist/components/features/transfer/components/transfer-item.d.ts +0 -1
- package/dist/components/features/transfer/components/transfer-panel.d.ts +0 -1
- package/dist/components/features/transfer/components/transfer-search.d.ts +0 -1
- package/dist/components/features/transfer/hooks/use-transfer-state.d.ts +0 -1
- package/dist/components/features/transfer/index.d.ts +0 -1
- package/dist/components/features/transfer/transfer.d.ts +0 -1
- package/dist/components/features/transfer/types.d.ts +0 -1
- package/dist/components/icons/close.icon.d.ts +0 -1
- package/dist/components/icons/icon-wrapper.d.ts +0 -1
- package/dist/components/icons/index.d.ts +0 -1
- package/dist/components/icons/spinner.icon.d.ts +0 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/themes/client-only.d.ts +0 -1
- package/dist/components/themes/index.d.ts +0 -1
- package/dist/components/themes/script.d.ts +0 -1
- package/dist/components/themes/theme-script.d.ts +0 -1
- package/dist/components/themes/theme.provider.d.ts +0 -1
- package/dist/components/themes/types.d.ts +0 -1
- package/dist/components/toast.d.ts +0 -1
- package/dist/data-table/index.mjs +1 -1
- package/dist/{data-table-BYhWsINw.mjs → data-table-CfeovSJV.mjs} +35 -42
- package/dist/date-picker/index.mjs +3 -2
- package/dist/date-time-picker/index.mjs +1 -1
- package/dist/{date-time-picker-BWrS9k-c.mjs → date-time-picker-BbtA6JJJ.mjs} +2 -2
- package/dist/dialog/index.mjs +1 -1
- package/dist/{dialog-Lg6iiEcv.mjs → dialog-CmkrpaYy.mjs} +20 -20
- package/dist/{dialog-ZmYSe4-x.mjs → dialog-N2pkQIc4.mjs} +4 -4
- package/dist/dropdown/index.mjs +1 -1
- package/dist/{dropdown-DIeMiG4G.mjs → dropdown-B0znsOlu.mjs} +1 -1
- package/dist/dropdown-menu-b8zY5Cs6.mjs +82 -0
- package/dist/dropzone/index.mjs +1 -1
- package/dist/{dropzone-ZJhq4Ec9.mjs → dropzone-C_vA4q0u.mjs} +11 -11
- package/dist/empty-content/index.mjs +1 -1
- package/dist/{empty-content-C4Z0QVfg.mjs → empty-content-BpS0PONb.mjs} +7 -7
- package/dist/exports/map.d.ts +0 -1
- package/dist/form/adapters/conform/index.mjs +73 -17
- package/dist/form/adapters/rhf/index.mjs +24 -9
- package/dist/form/index.mjs +1 -1
- package/dist/form/stepper/index.mjs +34 -15
- package/dist/{form-JM1Rqh6g.mjs → form-2pTdgtYr.mjs} +57 -41
- package/dist/grid/index.mjs +1 -1
- package/dist/grouped-table/index.mjs +1 -351
- package/dist/grouped-table-CPF8Jijv.mjs +342 -0
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +3 -2
- package/dist/hooks/use-breakpoint.d.ts +0 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts +0 -1
- package/dist/hooks/use-debounce.d.ts +0 -1
- package/dist/hooks/use-debounced-search-input.d.ts +16 -0
- package/dist/hooks/use-theme.d.ts +0 -1
- package/dist/icons/index.mjs +2 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +75 -66
- package/dist/input/index.mjs +1 -1
- package/dist/{input-BJBQxFli.mjs → input-DR-XbgpD.mjs} +2 -2
- package/dist/input-group/index.mjs +1 -1
- package/dist/{input-group-Cr_BOTbn.mjs → input-group-DieA8aBt.mjs} +3 -3
- package/dist/{input-DBzgl-pN.mjs → input-j4tbmYYz.mjs} +2 -2
- package/dist/input-number/index.mjs +1 -1
- package/dist/{input-number-BSRdHUdT.mjs → input-number-TXmW-X9o.mjs} +38 -23
- package/dist/input-with-addons/index.mjs +1 -1
- package/dist/label/index.mjs +1 -1
- package/dist/{label-CiVSCTp9.mjs → label-Bk6FXsju.mjs} +4 -5
- package/dist/{map-_GaPwJUi.mjs → layers-DJYz6fyE.mjs} +334 -357
- package/dist/loader-overlay/index.mjs +1 -1
- package/dist/{loader-overlay-CumsP4Xh.mjs → loader-overlay-DD94azZX.mjs} +3 -3
- package/dist/logo/index.mjs +2 -2
- package/dist/logo/themed/index.mjs +2 -2
- package/dist/{logo-BhV6hnzH.mjs → logo-C3FxD7jb.mjs} +1 -1
- package/dist/{logo-text-DMp3dH-h.mjs → logo-text-Dpm5O6Kg.mjs} +1 -1
- package/dist/map/index.mjs +1 -1
- package/dist/mobile-sheet/index.mjs +2 -2
- package/dist/{mobile-sheet-Cx8B89jB.mjs → mobile-sheet-D9L-JOee.mjs} +40 -5
- package/dist/more-actions/index.mjs +2 -2
- package/dist/{more-actions-B6sw_I8O.mjs → more-actions-G9hs0rpJ.mjs} +9 -6
- package/dist/multi-select/index.mjs +1 -1
- package/dist/multi-select-DIWTdi0i.mjs +310 -0
- package/dist/page-title/index.mjs +1 -1
- package/dist/{page-title-Wj1lF0BP.mjs → page-title-ipRWEOeM.mjs} +1 -1
- package/dist/picker/index.mjs +1 -272
- package/dist/picker-CRUSdzpo.mjs +1945 -0
- package/dist/popover/index.mjs +33 -1
- package/dist/radio-group/index.mjs +1 -1
- package/dist/{radio-group-kjKWAwdr.mjs → radio-group-LduBVTnh.mjs} +3 -4
- package/dist/responsive-dropdown/index.mjs +1 -1
- package/dist/responsive-dropdown-fCmduKaz.mjs +35 -0
- package/dist/responsive-popover/index.mjs +1 -1
- package/dist/responsive-popover-DJZgXWIE.mjs +42 -0
- package/dist/rich-text-editor/index.mjs +1 -1
- package/dist/{rich-text-editor-B3i5csUE.mjs → rich-text-editor-DRIwcleW.mjs} +89 -48
- package/dist/select/index.mjs +1 -1
- package/dist/{select-DNnPDWSW.mjs → select-DCU44UO6.mjs} +2 -2
- package/dist/{select-B8z0c7UD.mjs → select-daE2Nn0Z.mjs} +20 -20
- package/dist/separator/index.mjs +1 -1
- package/dist/{separator-BONRV3sq.mjs → separator-vbPD_WFQ.mjs} +2 -2
- package/dist/sheet/index.mjs +2 -2
- package/dist/{sheet-C6-WAHk2.mjs → sheet-BZViad2U.mjs} +3 -3
- package/dist/{sheet-CIdmO-NE.mjs → sheet-DXCZyMHI.mjs} +18 -18
- package/dist/sidebar/index.mjs +1 -1
- package/dist/{sidebar-DPQbMC3f.mjs → sidebar-Df6Po0K8.mjs} +184 -177
- package/dist/skeleton/index.mjs +25 -1
- package/dist/{spinner.icon-DSvVwPjx.mjs → spinner.icon-BYUMQ8H-.mjs} +1 -1
- package/dist/stepper/index.mjs +1 -1
- package/dist/{stepper-DV9FH5Cy.mjs → stepper-DJkYcilu.mjs} +175 -156
- package/dist/styles/root.css +4 -0
- package/dist/styles/shadcn/shadcn.css +212 -212
- package/dist/styles/shadcn/style.css +2 -0
- package/dist/switch/index.mjs +1 -1
- package/dist/switch-DPHr3TcN.mjs +28 -0
- package/dist/table/index.mjs +65 -1
- package/dist/tabs/index.mjs +1 -1
- package/dist/tag-input/index.mjs +1 -1
- package/dist/tag-input-CSav22U5.mjs +433 -0
- package/dist/task-queue/index.mjs +1 -1
- package/dist/{task-queue-dropdown-B63xh0f-.mjs → task-queue-dropdown-DfdGiyfA.mjs} +451 -147
- package/dist/textarea/index.mjs +1 -1
- package/dist/{textarea-BzQxX-oL.mjs → textarea-B6YhjFVC.mjs} +1 -1
- package/dist/theme/index.mjs +1 -1
- package/dist/{themes-CAmRnjUM.mjs → themes-BK5atywZ.mjs} +61 -23
- package/dist/time-picker/index.mjs +1 -1
- package/dist/{time-picker-B52KLKGe.mjs → time-picker-Bgt6R1fU.mjs} +2 -2
- package/dist/{to-api-format-tidT5mxa.mjs → to-api-format-CgKtSuWO.mjs} +68 -94
- package/dist/toast/index.mjs +2 -2
- package/dist/{toast-qSJgeN-g.mjs → toast-BUPlDkN3.mjs} +47 -10
- package/dist/tooltip/index.mjs +1 -1
- package/dist/{tooltip-BqrOCH8l.mjs → tooltip-BhatUaar.mjs} +10 -11
- package/dist/transfer/index.mjs +1 -1
- package/dist/{transfer-Dp6tTYeN.mjs → transfer-CEq9AhL7.mjs} +13 -6
- package/dist/{types-B7jxIH5I.mjs → types-DrN0rei5.mjs} +48 -22
- package/dist/typography/index.mjs +1 -1
- package/dist/{typography-Bcq9Tkwi.mjs → typography-BXIBvq3-.mjs} +1 -1
- package/dist/use-controllable-state-Dna7u3r9.mjs +26 -0
- package/dist/{use-copy-to-clipboard-BOCe6C1j.mjs → use-copy-to-clipboard-DZDq_85T.mjs} +8 -2
- package/dist/use-debounced-search-input-yu_F0QBt.mjs +37 -0
- package/dist/{use-deprecation-warning-BjKiPZ98.mjs → use-deprecation-warning-DXrGc0jX.mjs} +1 -1
- package/dist/{use-display-touched-B31H1Ziq.mjs → use-display-touched-CMEEv7aT.mjs} +2 -27
- package/dist/{use-option-picker-Cqzcr5f2.mjs → use-option-picker-CV-9CyBV.mjs} +46 -24
- package/dist/{toast-0C5jhuto.mjs → use-toast-Bpq0yJIT.mjs} +10 -3
- package/dist/utils/cn.d.ts +1 -3
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/timezone.d.ts +0 -1
- package/dist/zod-helpers-YEhVo2S-.mjs +27 -0
- package/package.json +68 -45
- package/dist/_shadcn/hooks/use-mobile.d.ts.map +0 -1
- package/dist/_shadcn/hooks/use-theme.d.ts.map +0 -1
- package/dist/_shadcn/lib/utils.d.ts.map +0 -1
- package/dist/_shadcn/ui/alert.d.ts.map +0 -1
- package/dist/_shadcn/ui/avatar.d.ts.map +0 -1
- package/dist/_shadcn/ui/badge.d.ts.map +0 -1
- package/dist/_shadcn/ui/breadcrumb.d.ts.map +0 -1
- package/dist/_shadcn/ui/button-group.d.ts.map +0 -1
- package/dist/_shadcn/ui/button.d.ts.map +0 -1
- package/dist/_shadcn/ui/card.d.ts.map +0 -1
- package/dist/_shadcn/ui/chart.d.ts.map +0 -1
- package/dist/_shadcn/ui/checkbox.d.ts.map +0 -1
- package/dist/_shadcn/ui/collapsible.d.ts.map +0 -1
- package/dist/_shadcn/ui/command.d.ts.map +0 -1
- package/dist/_shadcn/ui/dialog.d.ts.map +0 -1
- package/dist/_shadcn/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/_shadcn/ui/hover-card.d.ts.map +0 -1
- package/dist/_shadcn/ui/input-group.d.ts.map +0 -1
- package/dist/_shadcn/ui/input.d.ts.map +0 -1
- package/dist/_shadcn/ui/label.d.ts.map +0 -1
- package/dist/_shadcn/ui/map-leaflet-imports.d.ts.map +0 -1
- package/dist/_shadcn/ui/map.d.ts.map +0 -1
- package/dist/_shadcn/ui/place-autocomplete.d.ts.map +0 -1
- package/dist/_shadcn/ui/popover.d.ts.map +0 -1
- package/dist/_shadcn/ui/radio-group.d.ts.map +0 -1
- package/dist/_shadcn/ui/select.d.ts.map +0 -1
- package/dist/_shadcn/ui/separator.d.ts.map +0 -1
- package/dist/_shadcn/ui/sheet.d.ts.map +0 -1
- package/dist/_shadcn/ui/skeleton.d.ts.map +0 -1
- package/dist/_shadcn/ui/sonner.d.ts.map +0 -1
- package/dist/_shadcn/ui/spinner.d.ts.map +0 -1
- package/dist/_shadcn/ui/switch.d.ts.map +0 -1
- package/dist/_shadcn/ui/table.d.ts.map +0 -1
- package/dist/_shadcn/ui/tabs.d.ts.map +0 -1
- package/dist/_shadcn/ui/textarea.d.ts.map +0 -1
- package/dist/_shadcn/ui/tooltip.d.ts.map +0 -1
- package/dist/_shadcn/ui/visuallyhidden.d.ts.map +0 -1
- package/dist/app-navigation-D2EAiTGO.mjs +0 -482
- package/dist/avatar-DbTh2mk4.mjs +0 -28
- package/dist/calendar-BQF1XDjq.mjs +0 -77
- package/dist/calendar-ByqfbFGx.mjs +0 -111
- package/dist/cn-dlASUkDY.mjs +0 -8
- package/dist/collapsible-BeCdkxTJ.mjs +0 -7
- package/dist/components/base/alert/alert.d.ts.map +0 -1
- package/dist/components/base/alert/index.d.ts.map +0 -1
- package/dist/components/base/avatar/index.d.ts.map +0 -1
- package/dist/components/base/badge/badge.d.ts.map +0 -1
- package/dist/components/base/badge/index.d.ts.map +0 -1
- package/dist/components/base/breadcrumb/index.d.ts.map +0 -1
- package/dist/components/base/button/button.d.ts.map +0 -1
- package/dist/components/base/button/index.d.ts.map +0 -1
- package/dist/components/base/button/link-button.d.ts.map +0 -1
- package/dist/components/base/button-group/index.d.ts.map +0 -1
- package/dist/components/base/calendar/calendar.d.ts.map +0 -1
- package/dist/components/base/calendar/index.d.ts.map +0 -1
- package/dist/components/base/card/card.d.ts.map +0 -1
- package/dist/components/base/card/index.d.ts.map +0 -1
- package/dist/components/base/chart/index.d.ts.map +0 -1
- package/dist/components/base/checkbox/checkbox.d.ts.map +0 -1
- package/dist/components/base/checkbox/index.d.ts.map +0 -1
- package/dist/components/base/collapsible/index.d.ts.map +0 -1
- package/dist/components/base/command/index.d.ts.map +0 -1
- package/dist/components/base/date-picker/index.d.ts.map +0 -1
- package/dist/components/base/date-picker/types.d.ts.map +0 -1
- package/dist/components/base/date-picker/use-date-constraints.d.ts.map +0 -1
- package/dist/components/base/dialog/dialog.d.ts.map +0 -1
- package/dist/components/base/dialog/index.d.ts.map +0 -1
- package/dist/components/base/hover-card/index.d.ts.map +0 -1
- package/dist/components/base/index.d.ts.map +0 -1
- package/dist/components/base/input/index.d.ts.map +0 -1
- package/dist/components/base/input/input.d.ts.map +0 -1
- package/dist/components/base/input-group/index.d.ts.map +0 -1
- package/dist/components/base/label/index.d.ts.map +0 -1
- package/dist/components/base/label/label.d.ts.map +0 -1
- package/dist/components/base/map/index.d.ts.map +0 -1
- package/dist/components/base/mobile-sheet/context.d.ts.map +0 -1
- package/dist/components/base/mobile-sheet/index.d.ts.map +0 -1
- package/dist/components/base/mobile-sheet/mobile-sheet.d.ts.map +0 -1
- package/dist/components/base/option-picker/index.d.ts.map +0 -1
- package/dist/components/base/option-picker/option-list.d.ts.map +0 -1
- package/dist/components/base/option-picker/types.d.ts.map +0 -1
- package/dist/components/base/option-picker/use-option-picker.d.ts.map +0 -1
- package/dist/components/base/place-autocomplete/index.d.ts.map +0 -1
- package/dist/components/base/popover/index.d.ts.map +0 -1
- package/dist/components/base/radio-group/index.d.ts.map +0 -1
- package/dist/components/base/radio-group/radio-group.d.ts.map +0 -1
- package/dist/components/base/responsive-dropdown/index.d.ts.map +0 -1
- package/dist/components/base/responsive-dropdown/responsive-dropdown.d.ts.map +0 -1
- package/dist/components/base/responsive-popover/index.d.ts.map +0 -1
- package/dist/components/base/responsive-popover/responsive-popover.d.ts.map +0 -1
- package/dist/components/base/select/index.d.ts.map +0 -1
- package/dist/components/base/select/select.d.ts.map +0 -1
- package/dist/components/base/separator/index.d.ts.map +0 -1
- package/dist/components/base/sheet/index.d.ts.map +0 -1
- package/dist/components/base/sheet/sheet.d.ts.map +0 -1
- package/dist/components/base/sidebar/index.d.ts.map +0 -1
- package/dist/components/base/sidebar/sidebar.d.ts.map +0 -1
- package/dist/components/base/skeleton/index.d.ts.map +0 -1
- package/dist/components/base/skeleton/skeleton.d.ts.map +0 -1
- package/dist/components/base/spinner/index.d.ts.map +0 -1
- package/dist/components/base/switch/index.d.ts.map +0 -1
- package/dist/components/base/switch/switch.d.ts.map +0 -1
- package/dist/components/base/table/index.d.ts.map +0 -1
- package/dist/components/base/tabs/index.d.ts.map +0 -1
- package/dist/components/base/tabs/tabs.d.ts.map +0 -1
- package/dist/components/base/textarea/index.d.ts.map +0 -1
- package/dist/components/base/textarea/textarea.d.ts.map +0 -1
- package/dist/components/base/tooltip/index.d.ts.map +0 -1
- package/dist/components/base/tooltip/tooltip.d.ts.map +0 -1
- package/dist/components/base/typography/index.d.ts.map +0 -1
- package/dist/components/base/typography/typography.d.ts.map +0 -1
- package/dist/components/base/visuallyhidden/index.d.ts.map +0 -1
- package/dist/components/features/app-navigation/app-navigation.d.ts.map +0 -1
- package/dist/components/features/app-navigation/index.d.ts.map +0 -1
- package/dist/components/features/app-navigation/nav-menu.d.ts.map +0 -1
- package/dist/components/features/autocomplete/autocomplete.d.ts.map +0 -1
- package/dist/components/features/autocomplete/autocomplete.types.d.ts.map +0 -1
- package/dist/components/features/autocomplete/index.d.ts.map +0 -1
- package/dist/components/features/autocomplete/trigger.d.ts.map +0 -1
- package/dist/components/features/autosearch/autosearch.d.ts.map +0 -1
- package/dist/components/features/autosearch/autosearch.types.d.ts.map +0 -1
- package/dist/components/features/autosearch/index.d.ts.map +0 -1
- package/dist/components/features/avatar-stack/avatar-stack.d.ts.map +0 -1
- package/dist/components/features/avatar-stack/index.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/calendar-header.d.ts +0 -13
- package/dist/components/features/calendar-date-picker/calendar-header.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/calendar-presets.d.ts +0 -9
- package/dist/components/features/calendar-date-picker/calendar-presets.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/date-trigger.d.ts +0 -24
- package/dist/components/features/calendar-date-picker/date-trigger.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/index.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/types.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/use-calendar-date-picker.d.ts +0 -48
- package/dist/components/features/calendar-date-picker/use-calendar-date-picker.d.ts.map +0 -1
- package/dist/components/features/code-editor/code-editor-tabs.d.ts.map +0 -1
- package/dist/components/features/code-editor/code-editor.d.ts.map +0 -1
- package/dist/components/features/code-editor/index.d.ts.map +0 -1
- package/dist/components/features/code-editor/lib/editor.d.ts.map +0 -1
- package/dist/components/features/code-editor/types.d.ts.map +0 -1
- package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts.map +0 -1
- package/dist/components/features/data-table/columns/selection-column.d.ts.map +0 -1
- package/dist/components/features/data-table/components/active-filters.d.ts.map +0 -1
- package/dist/components/features/data-table/components/bulk-actions.d.ts.map +0 -1
- package/dist/components/features/data-table/components/column-header.d.ts.map +0 -1
- package/dist/components/features/data-table/components/content.d.ts.map +0 -1
- package/dist/components/features/data-table/components/inline-content.d.ts.map +0 -1
- package/dist/components/features/data-table/components/loading.d.ts.map +0 -1
- package/dist/components/features/data-table/components/pagination.d.ts.map +0 -1
- package/dist/components/features/data-table/components/row-actions.d.ts.map +0 -1
- package/dist/components/features/data-table/components/search.d.ts.map +0 -1
- package/dist/components/features/data-table/constants.d.ts.map +0 -1
- package/dist/components/features/data-table/core/client-provider.d.ts.map +0 -1
- package/dist/components/features/data-table/core/data-table-context.d.ts.map +0 -1
- package/dist/components/features/data-table/core/filter-engine.d.ts.map +0 -1
- package/dist/components/features/data-table/core/server-provider.d.ts.map +0 -1
- package/dist/components/features/data-table/core/store.d.ts.map +0 -1
- package/dist/components/features/data-table/data-table.d.ts.map +0 -1
- package/dist/components/features/data-table/filters/checkbox-filter.d.ts.map +0 -1
- package/dist/components/features/data-table/filters/date-picker-filter.d.ts.map +0 -1
- package/dist/components/features/data-table/filters/select-filter.d.ts.map +0 -1
- package/dist/components/features/data-table/hooks/index.d.ts.map +0 -1
- package/dist/components/features/data-table/hooks/use-data-table-client.d.ts.map +0 -1
- package/dist/components/features/data-table/hooks/use-data-table-server.d.ts.map +0 -1
- package/dist/components/features/data-table/hooks/use-selectors.d.ts.map +0 -1
- package/dist/components/features/data-table/index.d.ts.map +0 -1
- package/dist/components/features/data-table/types.d.ts.map +0 -1
- package/dist/components/features/date-picker/index.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/date-time-picker.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/index.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/types.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/utils/format.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/utils/index.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/utils/timezone.d.ts.map +0 -1
- package/dist/components/features/dropdown/dropdown.d.ts.map +0 -1
- package/dist/components/features/dropdown/index.d.ts.map +0 -1
- package/dist/components/features/dropzone/dropzone.d.ts.map +0 -1
- package/dist/components/features/dropzone/index.d.ts.map +0 -1
- package/dist/components/features/empty-content/empty-content.d.ts.map +0 -1
- package/dist/components/features/empty-content/index.d.ts.map +0 -1
- package/dist/components/features/file-input-button/file-input-button.d.ts.map +0 -1
- package/dist/components/features/file-input-button/index.d.ts.map +0 -1
- package/dist/components/features/form/adapter-context.d.ts.map +0 -1
- package/dist/components/features/form/adapter-types.d.ts.map +0 -1
- package/dist/components/features/form/adapters/conform/conform-adapter.d.ts.map +0 -1
- package/dist/components/features/form/adapters/conform/conform-provider.d.ts.map +0 -1
- package/dist/components/features/form/adapters/conform/index.d.ts.map +0 -1
- package/dist/components/features/form/adapters/rhf/index.d.ts.map +0 -1
- package/dist/components/features/form/adapters/rhf/rhf-adapter.d.ts.map +0 -1
- package/dist/components/features/form/adapters/rhf/rhf-provider.d.ts.map +0 -1
- package/dist/components/features/form/components/form-autocomplete.d.ts.map +0 -1
- package/dist/components/features/form/components/form-autosearch.d.ts.map +0 -1
- package/dist/components/features/form/components/form-button.d.ts.map +0 -1
- package/dist/components/features/form/components/form-checkbox.d.ts.map +0 -1
- package/dist/components/features/form/components/form-combobox.d.ts.map +0 -1
- package/dist/components/features/form/components/form-copy-box.d.ts.map +0 -1
- package/dist/components/features/form/components/form-custom.d.ts.map +0 -1
- package/dist/components/features/form/components/form-date-picker.d.ts.map +0 -1
- package/dist/components/features/form/components/form-date-time-picker.d.ts.map +0 -1
- package/dist/components/features/form/components/form-description.d.ts.map +0 -1
- package/dist/components/features/form/components/form-dialog.d.ts.map +0 -1
- package/dist/components/features/form/components/form-error.d.ts.map +0 -1
- package/dist/components/features/form/components/form-field-array.d.ts.map +0 -1
- package/dist/components/features/form/components/form-field.d.ts.map +0 -1
- package/dist/components/features/form/components/form-input-group.d.ts.map +0 -1
- package/dist/components/features/form/components/form-input.d.ts.map +0 -1
- package/dist/components/features/form/components/form-radio-group.d.ts.map +0 -1
- package/dist/components/features/form/components/form-root.d.ts.map +0 -1
- package/dist/components/features/form/components/form-select.d.ts.map +0 -1
- package/dist/components/features/form/components/form-submit.d.ts.map +0 -1
- package/dist/components/features/form/components/form-switch.d.ts.map +0 -1
- package/dist/components/features/form/components/form-textarea.d.ts.map +0 -1
- package/dist/components/features/form/components/form-time-picker.d.ts.map +0 -1
- package/dist/components/features/form/components/form-transfer.d.ts.map +0 -1
- package/dist/components/features/form/components/form-when.d.ts.map +0 -1
- package/dist/components/features/form/components/index.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/form-step.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/form-stepper.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/index.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/stepper-controls.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/stepper-navigation.d.ts.map +0 -1
- package/dist/components/features/form/context/field-context.d.ts.map +0 -1
- package/dist/components/features/form/context/form-context.d.ts.map +0 -1
- package/dist/components/features/form/context/index.d.ts.map +0 -1
- package/dist/components/features/form/hooks/index.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-display-touched.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-field-context.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-field.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-form-context.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-form-state.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-stepper.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-watch.d.ts.map +0 -1
- package/dist/components/features/form/index.d.ts.map +0 -1
- package/dist/components/features/form/stepper/index.d.ts.map +0 -1
- package/dist/components/features/form/types/index.d.ts.map +0 -1
- package/dist/components/features/form/utils/get-field-constraints.d.ts.map +0 -1
- package/dist/components/features/form/utils/get-schema-defaults.d.ts.map +0 -1
- package/dist/components/features/form/utils/zod-helpers.d.ts.map +0 -1
- package/dist/components/features/grid/components/col.d.ts.map +0 -1
- package/dist/components/features/grid/components/index.d.ts.map +0 -1
- package/dist/components/features/grid/components/row.d.ts.map +0 -1
- package/dist/components/features/grid/constants/grid.constants.d.ts.map +0 -1
- package/dist/components/features/grid/index.d.ts.map +0 -1
- package/dist/components/features/grid/types/grid.types.d.ts.map +0 -1
- package/dist/components/features/grid/utils/responsive.d.ts.map +0 -1
- package/dist/components/features/grouped-table/components/grouped-skeleton.d.ts.map +0 -1
- package/dist/components/features/grouped-table/components/grouped-toolbar.d.ts.map +0 -1
- package/dist/components/features/grouped-table/grouped-table.d.ts.map +0 -1
- package/dist/components/features/grouped-table/index.d.ts.map +0 -1
- package/dist/components/features/grouped-table/lib/bucket-rows.d.ts.map +0 -1
- package/dist/components/features/grouped-table/lib/compose-columns.d.ts.map +0 -1
- package/dist/components/features/grouped-table/lib/sort-rows.d.ts.map +0 -1
- package/dist/components/features/grouped-table/lib/use-controllable-state.d.ts.map +0 -1
- package/dist/components/features/grouped-table/types.d.ts.map +0 -1
- package/dist/components/features/grouped-table/use-grouped-expansion.d.ts.map +0 -1
- package/dist/components/features/index.d.ts.map +0 -1
- package/dist/components/features/input-number/index.d.ts.map +0 -1
- package/dist/components/features/input-number/input-number.d.ts.map +0 -1
- package/dist/components/features/input-with-addons/index.d.ts.map +0 -1
- package/dist/components/features/input-with-addons/input-with-addons.d.ts.map +0 -1
- package/dist/components/features/loader-overlay/index.d.ts.map +0 -1
- package/dist/components/features/loader-overlay/loader-overlay.d.ts.map +0 -1
- package/dist/components/features/logo/index.d.ts.map +0 -1
- package/dist/components/features/logo/logo-flat.d.ts.map +0 -1
- package/dist/components/features/logo/logo-icon.d.ts.map +0 -1
- package/dist/components/features/logo/logo-stacked.d.ts.map +0 -1
- package/dist/components/features/logo/logo-text.d.ts.map +0 -1
- package/dist/components/features/logo/logo.d.ts.map +0 -1
- package/dist/components/features/logo/logo.styles.d.ts.map +0 -1
- package/dist/components/features/logo/themed/index.d.ts.map +0 -1
- package/dist/components/features/logo/themed/logo-themed.d.ts.map +0 -1
- package/dist/components/features/more-actions/action-row.d.ts.map +0 -1
- package/dist/components/features/more-actions/index.d.ts.map +0 -1
- package/dist/components/features/more-actions/more-actions.d.ts.map +0 -1
- package/dist/components/features/more-actions/types.d.ts.map +0 -1
- package/dist/components/features/multi-select/index.d.ts.map +0 -1
- package/dist/components/features/multi-select/multi-select.d.ts.map +0 -1
- package/dist/components/features/nprogress/index.d.ts.map +0 -1
- package/dist/components/features/page-title/index.d.ts.map +0 -1
- package/dist/components/features/page-title/page-title.d.ts.map +0 -1
- package/dist/components/features/picker/components/calendar.d.ts.map +0 -1
- package/dist/components/features/picker/components/content.d.ts.map +0 -1
- package/dist/components/features/picker/components/context.d.ts.map +0 -1
- package/dist/components/features/picker/components/footer.d.ts.map +0 -1
- package/dist/components/features/picker/components/index.d.ts.map +0 -1
- package/dist/components/features/picker/components/presets.d.ts.map +0 -1
- package/dist/components/features/picker/components/root.d.ts.map +0 -1
- package/dist/components/features/picker/components/time-input-field.d.ts.map +0 -1
- package/dist/components/features/picker/components/time-input.d.ts.map +0 -1
- package/dist/components/features/picker/components/timezone-indicator.d.ts.map +0 -1
- package/dist/components/features/picker/components/timezone-select.d.ts.map +0 -1
- package/dist/components/features/picker/components/trigger.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/index.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/use-keyboard-shortcuts.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/use-picker-state.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/use-presets.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/use-time-slots.d.ts.map +0 -1
- package/dist/components/features/picker/index.d.ts.map +0 -1
- package/dist/components/features/picker/internal/use-deprecation-warning.d.ts.map +0 -1
- package/dist/components/features/picker/presets/defaults.d.ts.map +0 -1
- package/dist/components/features/picker/presets/index.d.ts.map +0 -1
- package/dist/components/features/picker/types.d.ts.map +0 -1
- package/dist/components/features/picker/utils/commit.d.ts.map +0 -1
- package/dist/components/features/picker/utils/compare.d.ts.map +0 -1
- package/dist/components/features/picker/utils/format-value.d.ts.map +0 -1
- package/dist/components/features/picker/utils/format.d.ts.map +0 -1
- package/dist/components/features/picker/utils/index.d.ts.map +0 -1
- package/dist/components/features/picker/utils/range.d.ts.map +0 -1
- package/dist/components/features/picker/utils/timezone.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-range-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-range-time-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-time-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-time-range-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/index.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/internal/default-footer.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/time-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/time-range-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/types.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/index.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/rich-text-content.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/bold-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/italic-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/link-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/strike-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/toolbar-button.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/underline-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/types.d.ts.map +0 -1
- package/dist/components/features/stepper/index.d.ts.map +0 -1
- package/dist/components/features/stepper/stepper.d.ts.map +0 -1
- package/dist/components/features/tag-input/index.d.ts.map +0 -1
- package/dist/components/features/tag-input/tag-input.d.ts.map +0 -1
- package/dist/components/features/task-queue/constants.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel-actions.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel-counter.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel-header.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel-item.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-queue-trigger.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-summary-dialog.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/executor.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/queue.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/local-storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/hooks/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/hooks/use-task-queue.d.ts.map +0 -1
- package/dist/components/features/task-queue/hooks/use-task-scope.d.ts.map +0 -1
- package/dist/components/features/task-queue/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/provider/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/provider/task-queue-provider.d.ts.map +0 -1
- package/dist/components/features/task-queue/types.d.ts.map +0 -1
- package/dist/components/features/task-queue/utils/index.d.ts.map +0 -1
- package/dist/components/features/time-picker/index.d.ts.map +0 -1
- package/dist/components/features/time-picker/time-picker.d.ts.map +0 -1
- package/dist/components/features/time-picker/types.d.ts.map +0 -1
- package/dist/components/features/time-picker/use-time-slots.d.ts +0 -10
- package/dist/components/features/time-picker/use-time-slots.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/components/index.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/components/timezone-selector.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/index.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/presets.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/time-range-picker.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/types.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/utils/format-display.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/utils/index.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/utils/timezone.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/utils/to-api-format.d.ts.map +0 -1
- package/dist/components/features/toast/headless-toast.d.ts.map +0 -1
- package/dist/components/features/toast/index.d.ts.map +0 -1
- package/dist/components/features/toast/toast.d.ts.map +0 -1
- package/dist/components/features/toast/toaster.d.ts.map +0 -1
- package/dist/components/features/toast/types.d.ts.map +0 -1
- package/dist/components/features/toast/use-toast.d.ts.map +0 -1
- package/dist/components/features/transfer/components/index.d.ts.map +0 -1
- package/dist/components/features/transfer/components/transfer-group.d.ts.map +0 -1
- package/dist/components/features/transfer/components/transfer-item.d.ts.map +0 -1
- package/dist/components/features/transfer/components/transfer-panel.d.ts.map +0 -1
- package/dist/components/features/transfer/components/transfer-search.d.ts.map +0 -1
- package/dist/components/features/transfer/hooks/use-transfer-dnd.d.ts +0 -26
- package/dist/components/features/transfer/hooks/use-transfer-dnd.d.ts.map +0 -1
- package/dist/components/features/transfer/hooks/use-transfer-state.d.ts.map +0 -1
- package/dist/components/features/transfer/index.d.ts.map +0 -1
- package/dist/components/features/transfer/transfer.d.ts.map +0 -1
- package/dist/components/features/transfer/types.d.ts.map +0 -1
- package/dist/components/icons/close.icon.d.ts.map +0 -1
- package/dist/components/icons/icon-wrapper.d.ts.map +0 -1
- package/dist/components/icons/index.d.ts.map +0 -1
- package/dist/components/icons/spinner.icon.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/themes/client-only.d.ts.map +0 -1
- package/dist/components/themes/index.d.ts.map +0 -1
- package/dist/components/themes/script.d.ts.map +0 -1
- package/dist/components/themes/theme-script.d.ts.map +0 -1
- package/dist/components/themes/theme.provider.d.ts.map +0 -1
- package/dist/components/themes/types.d.ts.map +0 -1
- package/dist/components/toast.d.ts.map +0 -1
- package/dist/date-range-picker-CuU5mdxt.mjs +0 -77
- package/dist/date-time-picker-BczLnnE6.mjs +0 -109
- package/dist/date-time-range-picker-DHItep1U.mjs +0 -82
- package/dist/default-footer-DzYzX_OT.mjs +0 -1037
- package/dist/exports/map.d.ts.map +0 -1
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/use-breakpoint.d.ts.map +0 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts.map +0 -1
- package/dist/hooks/use-debounce.d.ts.map +0 -1
- package/dist/hooks/use-theme.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/multi-select-C9ocz07C.mjs +0 -235
- package/dist/popover-CBXjbpUR.mjs +0 -34
- package/dist/responsive-dropdown-Hxq7qwAW.mjs +0 -54
- package/dist/responsive-popover-CVFh3i33.mjs +0 -61
- package/dist/skeleton-CGU89HPB.mjs +0 -26
- package/dist/switch-Doft2t6-.mjs +0 -29
- package/dist/table-BR3mwU8X.mjs +0 -66
- package/dist/tag-input-DZJUc1hL.mjs +0 -297
- package/dist/time-input-DI8l2oeN.mjs +0 -196
- package/dist/time-picker-Dm7jOOcX.mjs +0 -45
- package/dist/timezone-indicator-B4GVkwmg.mjs +0 -27
- package/dist/utils/cn.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/timezone.d.ts.map +0 -1
- package/dist/{utils-BAytYO8b.mjs → utils-U06Eu2KT.mjs} +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as cn } from "./
|
|
2
|
-
import { t as Badge } from "./badge-
|
|
3
|
-
import { t as SpinnerIcon } from "./spinner.icon-
|
|
4
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as cn } from "./utils-Bu32wN-x.mjs";
|
|
2
|
+
import { t as Badge } from "./badge-BTNW_FEU.mjs";
|
|
3
|
+
import { t as SpinnerIcon } from "./spinner.icon-BYUMQ8H-.mjs";
|
|
4
|
+
import { t as Button } from "./button-A1qTjZ8U.mjs";
|
|
5
5
|
import { t as Icon } from "./icon-wrapper-DKfJlJd0.mjs";
|
|
6
|
-
import { t as Dialog } from "./dialog-
|
|
7
|
-
import { t as ResponsiveDropdown } from "./responsive-dropdown-
|
|
8
|
-
import { a as TooltipTrigger, n as Tooltip, r as TooltipContent, t as Tooltip$1 } from "./tooltip-
|
|
9
|
-
import {
|
|
6
|
+
import { t as Dialog } from "./dialog-N2pkQIc4.mjs";
|
|
7
|
+
import { t as ResponsiveDropdown } from "./responsive-dropdown-fCmduKaz.mjs";
|
|
8
|
+
import { a as TooltipTrigger, n as Tooltip, r as TooltipContent, t as Tooltip$1 } from "./tooltip-BhatUaar.mjs";
|
|
9
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./table/index.mjs";
|
|
10
10
|
import { Ban, CheckCircle2, CircleAlert, CircleCheck, CornerDownRightIcon, FileIcon, ListTodo, X, XCircle } from "lucide-react";
|
|
11
11
|
import { createContext, use, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -84,6 +84,20 @@ function createUserMetadata(extra) {
|
|
|
84
84
|
}
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/components/features/task-queue/engine/executor.ts
|
|
87
|
+
/**
|
|
88
|
+
* Shallow-clone a task into an engine-local working copy.
|
|
89
|
+
*
|
|
90
|
+
* The executor mutates its working copy freely and emits fresh copies on every
|
|
91
|
+
* update, so the object handed in (which may be the exact reference held in a
|
|
92
|
+
* live React snapshot) is never mutated in place.
|
|
93
|
+
*/
|
|
94
|
+
function cloneTask(task) {
|
|
95
|
+
return {
|
|
96
|
+
...task,
|
|
97
|
+
succeededItems: [...task.succeededItems ?? []],
|
|
98
|
+
failedItems: [...task.failedItems ?? []]
|
|
99
|
+
};
|
|
100
|
+
}
|
|
87
101
|
function createTaskContext(task, callbacks) {
|
|
88
102
|
let cancelled = false;
|
|
89
103
|
let shouldStop = false;
|
|
@@ -145,14 +159,14 @@ function createTaskContext(task, callbacks) {
|
|
|
145
159
|
getShouldStop: () => shouldStop
|
|
146
160
|
};
|
|
147
161
|
}
|
|
148
|
-
async function executeTask(
|
|
149
|
-
const processor = task._processor;
|
|
162
|
+
async function executeTask(inputTask, processor, callbacks) {
|
|
150
163
|
if (!processor) return {
|
|
151
164
|
status: "failed",
|
|
152
165
|
completed: 0,
|
|
153
166
|
failed: 0,
|
|
154
167
|
failedItems: [{ message: "No processor attached" }]
|
|
155
168
|
};
|
|
169
|
+
const task = cloneTask(inputTask);
|
|
156
170
|
task.status = "running";
|
|
157
171
|
task.startedAt = Date.now();
|
|
158
172
|
if (!task.succeededItems) task.succeededItems = [];
|
|
@@ -182,6 +196,22 @@ async function executeTask(task, callbacks) {
|
|
|
182
196
|
};
|
|
183
197
|
}
|
|
184
198
|
//#endregion
|
|
199
|
+
//#region src/components/features/task-queue/engine/storage/serialize.ts
|
|
200
|
+
/**
|
|
201
|
+
* Strip a task down to its JSON-serializable fields before persisting.
|
|
202
|
+
*
|
|
203
|
+
* Drops the non-serializable members: the in-memory `_processor` reference and
|
|
204
|
+
* the two fields that can hold React elements or functions — `icon`
|
|
205
|
+
* (`ReactNode`) and `completionActions` (a `ButtonProps[]` or callback). Left in
|
|
206
|
+
* place, a `ReactNode` icon sends `JSON.stringify` into circular-reference
|
|
207
|
+
* territory and throws, aborting the whole persist. `_originalItems` is kept so
|
|
208
|
+
* retry can resume against the full input set.
|
|
209
|
+
*/
|
|
210
|
+
function toSerializableTask(task) {
|
|
211
|
+
const { _processor, icon, completionActions, ...rest } = task;
|
|
212
|
+
return rest;
|
|
213
|
+
}
|
|
214
|
+
//#endregion
|
|
185
215
|
//#region src/components/features/task-queue/engine/storage/local-storage.ts
|
|
186
216
|
var LocalTaskStorage = class {
|
|
187
217
|
key;
|
|
@@ -220,12 +250,21 @@ var LocalTaskStorage = class {
|
|
|
220
250
|
localStorage.removeItem(this.key);
|
|
221
251
|
} catch {}
|
|
222
252
|
}
|
|
253
|
+
/**
|
|
254
|
+
* Notify when another tab writes to the same storage key, so this instance's
|
|
255
|
+
* consumers can re-read and converge instead of showing stale state.
|
|
256
|
+
*/
|
|
257
|
+
onExternalChange(callback) {
|
|
258
|
+
if (!isBrowser()) return () => {};
|
|
259
|
+
const handler = (event) => {
|
|
260
|
+
if (event.key === this.key) callback();
|
|
261
|
+
};
|
|
262
|
+
window.addEventListener("storage", handler);
|
|
263
|
+
return () => window.removeEventListener("storage", handler);
|
|
264
|
+
}
|
|
223
265
|
persist(tasks) {
|
|
224
266
|
try {
|
|
225
|
-
const serializable = tasks.map(
|
|
226
|
-
const { _processor, _icon, _completionActions, ...rest } = task;
|
|
227
|
-
return rest;
|
|
228
|
-
});
|
|
267
|
+
const serializable = tasks.map(toSerializableTask);
|
|
229
268
|
localStorage.setItem(this.key, JSON.stringify(serializable));
|
|
230
269
|
} catch (error) {
|
|
231
270
|
if (error instanceof Error && error.name === "QuotaExceededError") console.warn("[TaskQueue] Storage quota exceeded. Consider dismissing old tasks.");
|
|
@@ -263,6 +302,9 @@ var MemoryTaskStorage = class {
|
|
|
263
302
|
//#endregion
|
|
264
303
|
//#region src/components/features/task-queue/engine/storage/redis-storage.ts
|
|
265
304
|
const DEFAULT_TTL = 3600 * 24 * 7;
|
|
305
|
+
function hasSetex(client) {
|
|
306
|
+
return "setex" in client && typeof client.setex === "function";
|
|
307
|
+
}
|
|
266
308
|
var RedisTaskStorage = class {
|
|
267
309
|
client;
|
|
268
310
|
key;
|
|
@@ -270,11 +312,15 @@ var RedisTaskStorage = class {
|
|
|
270
312
|
initialized = false;
|
|
271
313
|
initPromise = null;
|
|
272
314
|
ttl;
|
|
315
|
+
readyCallbacks = /* @__PURE__ */ new Set();
|
|
316
|
+
pendingSync = false;
|
|
317
|
+
writeChain = Promise.resolve();
|
|
273
318
|
constructor(client, key = TASK_STORAGE_KEY, ttl = DEFAULT_TTL) {
|
|
274
319
|
this.client = client;
|
|
275
320
|
this.key = key;
|
|
276
321
|
this.ttl = ttl;
|
|
277
322
|
if (isBrowser()) this.initPromise = this.initialize();
|
|
323
|
+
else this.initialized = true;
|
|
278
324
|
}
|
|
279
325
|
/**
|
|
280
326
|
* Wait for initialization to complete.
|
|
@@ -283,6 +329,14 @@ var RedisTaskStorage = class {
|
|
|
283
329
|
async waitForInit() {
|
|
284
330
|
if (this.initPromise) await this.initPromise;
|
|
285
331
|
}
|
|
332
|
+
/** Invoke `callback` once persisted data has been loaded into the cache. */
|
|
333
|
+
onReady(callback) {
|
|
334
|
+
if (this.initialized) {
|
|
335
|
+
callback();
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
this.readyCallbacks.add(callback);
|
|
339
|
+
}
|
|
286
340
|
async initialize() {
|
|
287
341
|
if (this.initialized) return;
|
|
288
342
|
if (!isBrowser()) {
|
|
@@ -291,10 +345,19 @@ var RedisTaskStorage = class {
|
|
|
291
345
|
}
|
|
292
346
|
try {
|
|
293
347
|
const raw = await this.client.get(this.key);
|
|
294
|
-
if (raw) JSON.parse(raw).forEach((t) =>
|
|
295
|
-
|
|
296
|
-
|
|
348
|
+
if (raw) JSON.parse(raw).forEach((t) => {
|
|
349
|
+
if (!this.cache.has(t.id)) this.cache.set(t.id, t);
|
|
350
|
+
});
|
|
351
|
+
} catch (error) {
|
|
352
|
+
console.error("[TaskQueue] Redis initialize failed:", error);
|
|
353
|
+
} finally {
|
|
297
354
|
this.initialized = true;
|
|
355
|
+
this.readyCallbacks.forEach((cb) => cb());
|
|
356
|
+
this.readyCallbacks.clear();
|
|
357
|
+
if (this.pendingSync) {
|
|
358
|
+
this.pendingSync = false;
|
|
359
|
+
this.flush();
|
|
360
|
+
}
|
|
298
361
|
}
|
|
299
362
|
}
|
|
300
363
|
getAll() {
|
|
@@ -306,26 +369,35 @@ var RedisTaskStorage = class {
|
|
|
306
369
|
set(id, task) {
|
|
307
370
|
if (!isBrowser()) return;
|
|
308
371
|
this.cache.set(id, task);
|
|
309
|
-
this.
|
|
372
|
+
this.scheduleSync();
|
|
310
373
|
}
|
|
311
374
|
remove(id) {
|
|
312
375
|
if (!isBrowser()) return;
|
|
313
376
|
this.cache.delete(id);
|
|
314
|
-
this.
|
|
377
|
+
this.scheduleSync();
|
|
315
378
|
}
|
|
316
379
|
clear() {
|
|
317
380
|
if (!isBrowser()) return;
|
|
318
381
|
this.cache.clear();
|
|
319
|
-
this.client.del(this.key).catch(() => {
|
|
382
|
+
this.client.del(this.key).catch((error) => {
|
|
383
|
+
console.error("[TaskQueue] Redis clear failed:", error);
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
scheduleSync() {
|
|
387
|
+
if (!this.initialized) {
|
|
388
|
+
this.pendingSync = true;
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
this.flush();
|
|
320
392
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
const
|
|
324
|
-
|
|
393
|
+
flush() {
|
|
394
|
+
this.writeChain = this.writeChain.then(async () => {
|
|
395
|
+
const value = JSON.stringify(this.getAll().map(toSerializableTask));
|
|
396
|
+
if (hasSetex(this.client)) await this.client.setex(this.key, this.ttl, value);
|
|
397
|
+
else await this.client.set(this.key, value);
|
|
398
|
+
}).catch((error) => {
|
|
399
|
+
console.error("[TaskQueue] Redis write failed:", error);
|
|
325
400
|
});
|
|
326
|
-
const value = JSON.stringify(tasks);
|
|
327
|
-
if ("setex" in this.client && typeof this.client.setex === "function") this.client.setex(this.key, this.ttl, value).catch(() => {});
|
|
328
|
-
else this.client.set(this.key, value).catch(() => {});
|
|
329
401
|
}
|
|
330
402
|
};
|
|
331
403
|
//#endregion
|
|
@@ -348,21 +420,62 @@ function detectStorage(options = {}) {
|
|
|
348
420
|
return new LocalTaskStorage(storageKey);
|
|
349
421
|
}
|
|
350
422
|
//#endregion
|
|
423
|
+
//#region src/components/features/task-queue/engine/summary-store.ts
|
|
424
|
+
/**
|
|
425
|
+
* Holds the summary-dialog UI state that is intentionally decoupled from the
|
|
426
|
+
* task-scheduling engine. Keeping this separate from {@link TaskQueue} means the
|
|
427
|
+
* scheduler is not responsible for presentation state.
|
|
428
|
+
*/
|
|
429
|
+
var SummaryStore = class {
|
|
430
|
+
activeSummary = null;
|
|
431
|
+
globalRenderContent;
|
|
432
|
+
constructor(globalRenderContent) {
|
|
433
|
+
this.globalRenderContent = globalRenderContent;
|
|
434
|
+
}
|
|
435
|
+
show(title, items, options) {
|
|
436
|
+
this.activeSummary = {
|
|
437
|
+
title,
|
|
438
|
+
items,
|
|
439
|
+
renderContent: options?.renderContent
|
|
440
|
+
};
|
|
441
|
+
}
|
|
442
|
+
close() {
|
|
443
|
+
this.activeSummary = null;
|
|
444
|
+
}
|
|
445
|
+
getActive() {
|
|
446
|
+
return this.activeSummary;
|
|
447
|
+
}
|
|
448
|
+
getGlobalRenderContent() {
|
|
449
|
+
return this.globalRenderContent;
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
//#endregion
|
|
351
453
|
//#region src/components/features/task-queue/engine/queue.ts
|
|
454
|
+
const DEFAULT_TIMEOUT_MS = 3e5;
|
|
455
|
+
const HEARTBEAT_INTERVAL_MS = 5e3;
|
|
456
|
+
const HEARTBEAT_STALE_MS = 2e4;
|
|
352
457
|
var TaskQueue = class {
|
|
353
458
|
storage;
|
|
354
459
|
concurrency;
|
|
355
460
|
runningCount = 0;
|
|
356
461
|
listeners = /* @__PURE__ */ new Set();
|
|
357
|
-
taskResolvers = /* @__PURE__ */ new Map();
|
|
358
462
|
snapshot = [];
|
|
359
463
|
notifyScheduled = false;
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
464
|
+
/**
|
|
465
|
+
* Consolidated, engine-only runtime state (processor, live callbacks, timers)
|
|
466
|
+
* keyed by task id. Never serialized — persisted tasks only carry the
|
|
467
|
+
* serializable {@link TaskView} half.
|
|
468
|
+
*/
|
|
469
|
+
runtimes = /* @__PURE__ */ new Map();
|
|
470
|
+
summary;
|
|
471
|
+
disposed = false;
|
|
472
|
+
unsubscribeExternal;
|
|
473
|
+
/** Unique id for this queue instance, used to claim ownership of tasks it runs. */
|
|
474
|
+
instanceId = generateTaskId();
|
|
475
|
+
/** True when the backend broadcasts writes across tabs (localStorage). */
|
|
476
|
+
sharedStorage = false;
|
|
477
|
+
/** Keepalive that re-stamps this instance's live tasks in shared storage. */
|
|
478
|
+
heartbeatTimer;
|
|
366
479
|
constructor(config = {}) {
|
|
367
480
|
this.concurrency = config.concurrency ?? TASK_QUEUE_DEFAULTS.concurrency;
|
|
368
481
|
this.storage = config.storage ?? detectStorage({
|
|
@@ -370,7 +483,16 @@ var TaskQueue = class {
|
|
|
370
483
|
storageKey: config.storageKey,
|
|
371
484
|
storageType: config.storageType
|
|
372
485
|
});
|
|
373
|
-
this.
|
|
486
|
+
this.summary = new SummaryStore(config.summaryRenderContent);
|
|
487
|
+
this.sharedStorage = typeof this.storage.onExternalChange === "function";
|
|
488
|
+
this.storage.onReady?.(() => {
|
|
489
|
+
this.reconcileOrphans();
|
|
490
|
+
this.notify();
|
|
491
|
+
});
|
|
492
|
+
this.unsubscribeExternal = this.storage.onExternalChange?.(() => {
|
|
493
|
+
this.notify();
|
|
494
|
+
});
|
|
495
|
+
this.reconcileOrphans();
|
|
374
496
|
this.updateSnapshot();
|
|
375
497
|
}
|
|
376
498
|
subscribe = (listener) => {
|
|
@@ -394,12 +516,91 @@ var TaskQueue = class {
|
|
|
394
516
|
updateSnapshot() {
|
|
395
517
|
this.snapshot = this.storage.getAll();
|
|
396
518
|
}
|
|
519
|
+
/**
|
|
520
|
+
* Mark tasks a previous session left in a non-terminal state (no live
|
|
521
|
+
* processor exists for them) as failed, so they become dismissible and stop
|
|
522
|
+
* triggering the beforeunload guard instead of being stuck forever.
|
|
523
|
+
*/
|
|
524
|
+
reconcileOrphans() {
|
|
525
|
+
const tasks = this.storage.getAll();
|
|
526
|
+
const now = Date.now();
|
|
527
|
+
for (const task of tasks) {
|
|
528
|
+
if (!(task.status === "pending" || task.status === "running")) continue;
|
|
529
|
+
if (this.runtimes.has(task.id)) continue;
|
|
530
|
+
if (this.sharedStorage && this.isLiveForeignTask(task, now)) continue;
|
|
531
|
+
const reconciled = {
|
|
532
|
+
...task,
|
|
533
|
+
status: "failed",
|
|
534
|
+
cancelable: false,
|
|
535
|
+
retryable: false,
|
|
536
|
+
completedAt: Date.now(),
|
|
537
|
+
failedItems: [...task.failedItems, { message: "Task interrupted (page was reloaded)" }]
|
|
538
|
+
};
|
|
539
|
+
this.storage.set(task.id, reconciled);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* True when a non-terminal task is claimed by a *different* instance whose
|
|
544
|
+
* heartbeat is still fresh — i.e. another live tab is running it. A task
|
|
545
|
+
* without an ownership stamp (legacy, or persisted by a now-dead session) is
|
|
546
|
+
* not "live foreign" and remains eligible for reconciliation.
|
|
547
|
+
*/
|
|
548
|
+
isLiveForeignTask(task, now) {
|
|
549
|
+
const owned = task;
|
|
550
|
+
if (owned._ownerId === void 0 || owned._heartbeatAt === void 0) return false;
|
|
551
|
+
if (owned._ownerId === this.instanceId) return false;
|
|
552
|
+
return now - owned._heartbeatAt < HEARTBEAT_STALE_MS;
|
|
553
|
+
}
|
|
554
|
+
/** Stamp this instance's ownership on a task before it is written to shared storage. */
|
|
555
|
+
withOwnership(task) {
|
|
556
|
+
if (!this.sharedStorage) return task;
|
|
557
|
+
return {
|
|
558
|
+
...task,
|
|
559
|
+
_ownerId: this.instanceId,
|
|
560
|
+
_heartbeatAt: Date.now()
|
|
561
|
+
};
|
|
562
|
+
}
|
|
563
|
+
/** Start the heartbeat keepalive if shared storage is in use and it is not already running. */
|
|
564
|
+
ensureHeartbeat() {
|
|
565
|
+
if (!this.sharedStorage || this.heartbeatTimer || this.disposed) return;
|
|
566
|
+
this.heartbeatTimer = setInterval(() => this.beat(), HEARTBEAT_INTERVAL_MS);
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* Refresh the ownership timestamp on every non-terminal task this instance is
|
|
570
|
+
* actively running, so other tabs keep seeing them as live. Self-stops once
|
|
571
|
+
* this instance has no more active tasks.
|
|
572
|
+
*/
|
|
573
|
+
beat() {
|
|
574
|
+
const now = Date.now();
|
|
575
|
+
let active = false;
|
|
576
|
+
for (const task of this.storage.getAll()) {
|
|
577
|
+
if (!this.runtimes.has(task.id)) continue;
|
|
578
|
+
if (task.status !== "running" && task.status !== "pending") continue;
|
|
579
|
+
active = true;
|
|
580
|
+
const owned = {
|
|
581
|
+
...task,
|
|
582
|
+
_ownerId: this.instanceId,
|
|
583
|
+
_heartbeatAt: now
|
|
584
|
+
};
|
|
585
|
+
this.storage.set(task.id, owned);
|
|
586
|
+
}
|
|
587
|
+
if (!active) this.stopHeartbeat();
|
|
588
|
+
}
|
|
589
|
+
stopHeartbeat() {
|
|
590
|
+
if (this.heartbeatTimer) {
|
|
591
|
+
clearInterval(this.heartbeatTimer);
|
|
592
|
+
this.heartbeatTimer = void 0;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
397
595
|
enqueue = (options) => {
|
|
398
596
|
const id = generateTaskId();
|
|
399
597
|
const items = options.items;
|
|
400
598
|
let processor;
|
|
401
|
-
|
|
402
|
-
|
|
599
|
+
let getItemId;
|
|
600
|
+
if ("processItem" in options && options.processItem) {
|
|
601
|
+
processor = this.buildProcessor(options);
|
|
602
|
+
getItemId = options.getItemId;
|
|
603
|
+
} else if ("processor" in options && options.processor) processor = options.processor;
|
|
403
604
|
else throw new Error("[TaskQueue] enqueue: must provide either processor or processItem");
|
|
404
605
|
const cancelable = options.cancelable ?? TASK_QUEUE_DEFAULTS.cancelable;
|
|
405
606
|
const confirmBeforeUnload = options.confirmBeforeUnload ?? true;
|
|
@@ -423,21 +624,24 @@ var TaskQueue = class {
|
|
|
423
624
|
completionActions: options.completionActions,
|
|
424
625
|
retryCount: 0,
|
|
425
626
|
createdAt: Date.now(),
|
|
426
|
-
_processor: processor,
|
|
427
627
|
_originalItems: items ? [...items] : void 0
|
|
428
628
|
};
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
this.
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
629
|
+
const requestedTimeout = options.timeout ?? DEFAULT_TIMEOUT_MS;
|
|
630
|
+
const timeoutMs = requestedTimeout > 0 ? requestedTimeout : void 0;
|
|
631
|
+
this.runtimes.set(id, {
|
|
632
|
+
processor,
|
|
633
|
+
originalItems: items ? [...items] : void 0,
|
|
634
|
+
getItemId,
|
|
635
|
+
onComplete: options.onComplete,
|
|
636
|
+
timeoutMs
|
|
637
|
+
});
|
|
438
638
|
const promise = new Promise((resolve) => {
|
|
439
|
-
this.
|
|
639
|
+
const runtime = this.runtimes.get(id);
|
|
640
|
+
if (runtime) runtime.resolve = resolve;
|
|
440
641
|
});
|
|
642
|
+
this.storage.set(id, this.withOwnership(task));
|
|
643
|
+
this.notify();
|
|
644
|
+
this.ensureHeartbeat();
|
|
441
645
|
this.drain();
|
|
442
646
|
return {
|
|
443
647
|
id,
|
|
@@ -447,63 +651,102 @@ var TaskQueue = class {
|
|
|
447
651
|
};
|
|
448
652
|
cancel = (taskId) => {
|
|
449
653
|
const task = this.storage.get(taskId);
|
|
450
|
-
if (!task
|
|
451
|
-
|
|
452
|
-
|
|
654
|
+
if (!task) return;
|
|
655
|
+
if (task.status === "running") {
|
|
656
|
+
this.runtimes.get(taskId)?.setCancelled?.(true);
|
|
657
|
+
return;
|
|
658
|
+
}
|
|
659
|
+
if (task.status === "pending") {
|
|
660
|
+
this.clearTaskTimeout(taskId);
|
|
661
|
+
const cancelled = {
|
|
662
|
+
...task,
|
|
663
|
+
status: "cancelled",
|
|
664
|
+
completedAt: Date.now()
|
|
665
|
+
};
|
|
666
|
+
this.storage.set(taskId, cancelled);
|
|
667
|
+
this.notify();
|
|
668
|
+
this.finalize(taskId, {
|
|
669
|
+
status: "cancelled",
|
|
670
|
+
completed: cancelled.completed,
|
|
671
|
+
failed: cancelled.failed,
|
|
672
|
+
failedItems: [...cancelled.failedItems],
|
|
673
|
+
result: cancelled.result
|
|
674
|
+
}, true);
|
|
675
|
+
}
|
|
453
676
|
};
|
|
454
677
|
retry = (taskId) => {
|
|
455
678
|
const task = this.storage.get(taskId);
|
|
456
679
|
if (!task) return;
|
|
457
680
|
if (task.status !== "failed" && task.status !== "cancelled") return;
|
|
458
|
-
const
|
|
459
|
-
if (!processor) {
|
|
681
|
+
const runtime = this.runtimes.get(taskId);
|
|
682
|
+
if (!runtime?.processor) {
|
|
460
683
|
console.error("[TaskQueue] retry: no processor found for task", taskId);
|
|
461
684
|
return;
|
|
462
685
|
}
|
|
463
|
-
|
|
686
|
+
const isBatchTask = task.items && task.items.length > 0;
|
|
687
|
+
let next;
|
|
688
|
+
if (isBatchTask) {
|
|
464
689
|
const remainingItems = this.getRetryItems(task);
|
|
465
690
|
if (!remainingItems || remainingItems.length === 0) {
|
|
466
691
|
const succeededItems = task.succeededItems ?? [];
|
|
467
|
-
const originalItems = task._originalItems ?? task.items ?? [];
|
|
692
|
+
const originalItems = runtime.originalItems ?? task._originalItems ?? task.items ?? [];
|
|
468
693
|
if (succeededItems.length >= originalItems.length || task.completed >= (task.total ?? 0)) {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
694
|
+
const completed = {
|
|
695
|
+
...task,
|
|
696
|
+
status: "completed",
|
|
697
|
+
completedAt: Date.now()
|
|
698
|
+
};
|
|
699
|
+
this.storage.set(taskId, completed);
|
|
472
700
|
this.notify();
|
|
701
|
+
this.finalize(taskId, {
|
|
702
|
+
status: "completed",
|
|
703
|
+
completed: completed.completed,
|
|
704
|
+
failed: completed.failed,
|
|
705
|
+
failedItems: [...completed.failedItems],
|
|
706
|
+
result: completed.result
|
|
707
|
+
}, false);
|
|
473
708
|
return;
|
|
474
709
|
}
|
|
475
710
|
console.warn("[TaskQueue] retry: no remaining items for task", taskId);
|
|
476
711
|
return;
|
|
477
712
|
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
task
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
713
|
+
next = {
|
|
714
|
+
...task,
|
|
715
|
+
status: "pending",
|
|
716
|
+
items: remainingItems,
|
|
717
|
+
failedItems: [],
|
|
718
|
+
failed: 0,
|
|
719
|
+
retryCount: task.retryCount + 1,
|
|
720
|
+
startedAt: void 0,
|
|
721
|
+
completedAt: void 0
|
|
722
|
+
};
|
|
723
|
+
} else next = {
|
|
724
|
+
...task,
|
|
725
|
+
status: "pending",
|
|
726
|
+
completed: 0,
|
|
727
|
+
failed: 0,
|
|
728
|
+
succeededItems: [],
|
|
729
|
+
failedItems: [],
|
|
730
|
+
result: void 0,
|
|
731
|
+
retryCount: task.retryCount + 1,
|
|
732
|
+
startedAt: void 0,
|
|
733
|
+
completedAt: void 0
|
|
734
|
+
};
|
|
735
|
+
this.storage.set(taskId, this.withOwnership(next));
|
|
496
736
|
this.notify();
|
|
737
|
+
this.ensureHeartbeat();
|
|
497
738
|
this.drain();
|
|
498
739
|
};
|
|
499
740
|
getRetryItems(task) {
|
|
500
|
-
const
|
|
741
|
+
const runtime = this.runtimes.get(task.id);
|
|
742
|
+
const originalItems = runtime?.originalItems ?? task._originalItems ?? task.items;
|
|
501
743
|
if (!originalItems || originalItems.length === 0) return void 0;
|
|
744
|
+
const getItemId = runtime?.getItemId;
|
|
502
745
|
const succeededItems = task.succeededItems ?? [];
|
|
503
746
|
const failedItems = task.failedItems ?? [];
|
|
504
747
|
if (task.status === "cancelled" && succeededItems.length > 0) {
|
|
505
748
|
const remaining = originalItems.filter((item) => {
|
|
506
|
-
const itemId = this.resolveItemId(item);
|
|
749
|
+
const itemId = this.resolveItemId(item, getItemId);
|
|
507
750
|
if (!itemId) return true;
|
|
508
751
|
return !succeededItems.includes(itemId);
|
|
509
752
|
});
|
|
@@ -511,7 +754,7 @@ var TaskQueue = class {
|
|
|
511
754
|
}
|
|
512
755
|
if (task.status === "failed" && failedItems.length > 0) {
|
|
513
756
|
const failed = originalItems.filter((item) => {
|
|
514
|
-
const itemId = this.resolveItemId(item);
|
|
757
|
+
const itemId = this.resolveItemId(item, getItemId);
|
|
515
758
|
if (!itemId) return false;
|
|
516
759
|
return failedItems.some((fi) => fi.id === itemId);
|
|
517
760
|
});
|
|
@@ -521,7 +764,10 @@ var TaskQueue = class {
|
|
|
521
764
|
}
|
|
522
765
|
/** Extract ID from an item using custom extractor or shared utility */
|
|
523
766
|
resolveItemId(item, getItemId) {
|
|
524
|
-
if (getItemId)
|
|
767
|
+
if (getItemId) {
|
|
768
|
+
const custom = getItemId(item);
|
|
769
|
+
if (custom !== void 0) return custom;
|
|
770
|
+
}
|
|
525
771
|
const id = extractItemId(item);
|
|
526
772
|
if (id !== void 0) return id;
|
|
527
773
|
try {
|
|
@@ -535,38 +781,63 @@ var TaskQueue = class {
|
|
|
535
781
|
if (!task) return;
|
|
536
782
|
if (task.status === "running" || task.status === "pending") return;
|
|
537
783
|
this.storage.remove(taskId);
|
|
538
|
-
this.
|
|
539
|
-
this.onCompleteCallbacks.delete(taskId);
|
|
784
|
+
this.cleanupRuntime(taskId);
|
|
540
785
|
this.notify();
|
|
541
786
|
};
|
|
542
787
|
dismissAll = () => {
|
|
543
788
|
this.storage.getAll().forEach((task) => {
|
|
544
789
|
if (task.status !== "running" && task.status !== "pending") {
|
|
545
790
|
this.storage.remove(task.id);
|
|
546
|
-
this.
|
|
547
|
-
this.onCompleteCallbacks.delete(task.id);
|
|
791
|
+
this.cleanupRuntime(task.id);
|
|
548
792
|
}
|
|
549
793
|
});
|
|
550
794
|
this.notify();
|
|
551
795
|
};
|
|
552
796
|
showSummary = (title, items, options) => {
|
|
553
|
-
this.
|
|
554
|
-
title,
|
|
555
|
-
items,
|
|
556
|
-
renderContent: options?.renderContent
|
|
557
|
-
};
|
|
797
|
+
this.summary.show(title, items, options);
|
|
558
798
|
this.notify();
|
|
559
799
|
};
|
|
560
800
|
closeSummary = () => {
|
|
561
|
-
this.
|
|
801
|
+
this.summary.close();
|
|
562
802
|
this.notify();
|
|
563
803
|
};
|
|
564
804
|
getActiveSummary = () => {
|
|
565
|
-
return this.
|
|
805
|
+
return this.summary.getActive();
|
|
566
806
|
};
|
|
567
807
|
getSummaryRenderContent = () => {
|
|
568
|
-
return this.
|
|
808
|
+
return this.summary.getGlobalRenderContent();
|
|
569
809
|
};
|
|
810
|
+
/**
|
|
811
|
+
* Fully tear down the queue: cancel in-flight and pending tasks, clear all
|
|
812
|
+
* timers and listeners. Call from the provider on unmount so a re-mounted
|
|
813
|
+
* provider does not leave orphaned timers/listeners behind.
|
|
814
|
+
*/
|
|
815
|
+
dispose() {
|
|
816
|
+
if (this.disposed) return;
|
|
817
|
+
this.disposed = true;
|
|
818
|
+
this.stopHeartbeat();
|
|
819
|
+
this.storage.getAll().forEach((task) => {
|
|
820
|
+
if (task.status === "running" || task.status === "pending") this.cancel(task.id);
|
|
821
|
+
});
|
|
822
|
+
this.runtimes.forEach((runtime, taskId) => {
|
|
823
|
+
if (runtime.timeoutId) clearTimeout(runtime.timeoutId);
|
|
824
|
+
const resolve = runtime.resolve;
|
|
825
|
+
if (resolve) {
|
|
826
|
+
const task = this.storage.get(taskId);
|
|
827
|
+
resolve({
|
|
828
|
+
status: "cancelled",
|
|
829
|
+
completed: task?.completed ?? 0,
|
|
830
|
+
failed: task?.failed ?? 0,
|
|
831
|
+
failedItems: task ? [...task.failedItems] : [],
|
|
832
|
+
result: task?.result
|
|
833
|
+
});
|
|
834
|
+
runtime.resolve = void 0;
|
|
835
|
+
}
|
|
836
|
+
});
|
|
837
|
+
this.runtimes.clear();
|
|
838
|
+
this.listeners.clear();
|
|
839
|
+
this.unsubscribeExternal?.();
|
|
840
|
+
}
|
|
570
841
|
buildProcessor(options) {
|
|
571
842
|
const { processItem, itemConcurrency = 1, getItemId, errorStrategy = "continue" } = options;
|
|
572
843
|
return async (ctx) => {
|
|
@@ -623,81 +894,112 @@ var TaskQueue = class {
|
|
|
623
894
|
}
|
|
624
895
|
async runTask(task) {
|
|
625
896
|
this.runningCount += 1;
|
|
626
|
-
const
|
|
627
|
-
if (!processor) {
|
|
628
|
-
|
|
897
|
+
const runtime = this.runtimes.get(task.id);
|
|
898
|
+
if (!runtime?.processor) {
|
|
899
|
+
this.failOrphan(task.id);
|
|
629
900
|
this.runningCount -= 1;
|
|
901
|
+
this.drain();
|
|
630
902
|
return;
|
|
631
903
|
}
|
|
632
|
-
|
|
904
|
+
runtime.timedOut = false;
|
|
905
|
+
if (runtime.timeoutMs != null) runtime.timeoutId = setTimeout(() => this.handleTaskTimeout(task.id), runtime.timeoutMs);
|
|
633
906
|
try {
|
|
634
|
-
const outcome = await executeTask(task, {
|
|
907
|
+
const outcome = await executeTask(task, runtime.processor, {
|
|
635
908
|
onUpdate: (updated) => {
|
|
909
|
+
if (this.runtimes.get(task.id)?.timedOut) return;
|
|
636
910
|
this.storage.set(updated.id, updated);
|
|
637
911
|
this.notify();
|
|
638
912
|
},
|
|
639
913
|
onCancelReady: (setCancelled) => {
|
|
640
|
-
this.
|
|
914
|
+
const rt = this.runtimes.get(task.id);
|
|
915
|
+
if (rt) rt.setCancelled = setCancelled;
|
|
641
916
|
},
|
|
642
917
|
onTaskComplete: () => {
|
|
643
918
|
this.clearTaskTimeout(task.id);
|
|
644
919
|
}
|
|
645
920
|
});
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
await onComplete(outcome);
|
|
649
|
-
} catch (error) {
|
|
650
|
-
console.error("[TaskQueue] onComplete callback error:", error);
|
|
651
|
-
}
|
|
652
|
-
const resolver = this.taskResolvers.get(task.id);
|
|
653
|
-
if (resolver) {
|
|
654
|
-
resolver(outcome);
|
|
655
|
-
this.taskResolvers.delete(task.id);
|
|
656
|
-
}
|
|
657
|
-
if (outcome.status === "completed") {
|
|
658
|
-
this.processors.delete(task.id);
|
|
659
|
-
this.onCompleteCallbacks.delete(task.id);
|
|
660
|
-
}
|
|
921
|
+
if (this.runtimes.get(task.id)?.timedOut) return;
|
|
922
|
+
await this.finalize(task.id, outcome, outcome.status !== "completed");
|
|
661
923
|
} finally {
|
|
662
924
|
this.runningCount -= 1;
|
|
663
|
-
this.
|
|
925
|
+
const rt = this.runtimes.get(task.id);
|
|
926
|
+
if (rt) rt.setCancelled = void 0;
|
|
664
927
|
this.drain();
|
|
665
928
|
}
|
|
666
929
|
}
|
|
667
|
-
|
|
930
|
+
/**
|
|
931
|
+
* Resolve a task's awaited handle and fire its onComplete callback exactly
|
|
932
|
+
* once. When {@link keepForRetry} is false the runtime is discarded.
|
|
933
|
+
*/
|
|
934
|
+
async finalize(taskId, outcome, keepForRetry) {
|
|
935
|
+
this.clearTaskTimeout(taskId);
|
|
936
|
+
const runtime = this.runtimes.get(taskId);
|
|
937
|
+
if (runtime?.onComplete) try {
|
|
938
|
+
await runtime.onComplete(outcome);
|
|
939
|
+
} catch (error) {
|
|
940
|
+
console.error("[TaskQueue] onComplete callback error:", error);
|
|
941
|
+
}
|
|
942
|
+
const resolve = runtime?.resolve;
|
|
943
|
+
if (resolve) {
|
|
944
|
+
resolve(outcome);
|
|
945
|
+
if (runtime) runtime.resolve = void 0;
|
|
946
|
+
}
|
|
947
|
+
if (!keepForRetry) this.cleanupRuntime(taskId);
|
|
948
|
+
}
|
|
949
|
+
failOrphan(taskId) {
|
|
668
950
|
const task = this.storage.get(taskId);
|
|
669
|
-
if (!task
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
951
|
+
if (!task) return;
|
|
952
|
+
const failed = {
|
|
953
|
+
...task,
|
|
954
|
+
status: "failed",
|
|
955
|
+
cancelable: false,
|
|
956
|
+
retryable: false,
|
|
957
|
+
completedAt: Date.now(),
|
|
958
|
+
failedItems: [...task.failedItems, { message: "Task interrupted (no active processor)" }]
|
|
959
|
+
};
|
|
960
|
+
this.storage.set(taskId, failed);
|
|
961
|
+
this.cleanupRuntime(taskId);
|
|
677
962
|
this.notify();
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
});
|
|
687
|
-
this.taskResolvers.delete(taskId);
|
|
963
|
+
}
|
|
964
|
+
handleTaskTimeout(taskId) {
|
|
965
|
+
const runtime = this.runtimes.get(taskId);
|
|
966
|
+
if (runtime) runtime.timeoutId = void 0;
|
|
967
|
+
const task = this.storage.get(taskId);
|
|
968
|
+
if (!task) {
|
|
969
|
+
this.cleanupRuntime(taskId);
|
|
970
|
+
return;
|
|
688
971
|
}
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
972
|
+
if (task.status !== "running") return;
|
|
973
|
+
if (runtime) runtime.timedOut = true;
|
|
974
|
+
runtime?.setCancelled?.(true);
|
|
975
|
+
const failed = {
|
|
976
|
+
...task,
|
|
977
|
+
status: "failed",
|
|
978
|
+
completedAt: Date.now(),
|
|
979
|
+
failedItems: [...task.failedItems, { message: "Task timeout: exceeded maximum execution time" }],
|
|
980
|
+
failed: task.failed + 1
|
|
981
|
+
};
|
|
982
|
+
this.storage.set(taskId, failed);
|
|
983
|
+
this.notify();
|
|
984
|
+
this.finalize(taskId, {
|
|
985
|
+
status: "failed",
|
|
986
|
+
completed: failed.completed,
|
|
987
|
+
failed: failed.failed,
|
|
988
|
+
failedItems: [...failed.failedItems],
|
|
989
|
+
result: failed.result
|
|
990
|
+
}, true);
|
|
693
991
|
}
|
|
694
992
|
clearTaskTimeout(taskId) {
|
|
695
|
-
const
|
|
696
|
-
if (timeoutId) {
|
|
697
|
-
clearTimeout(timeoutId);
|
|
698
|
-
|
|
993
|
+
const runtime = this.runtimes.get(taskId);
|
|
994
|
+
if (runtime?.timeoutId) {
|
|
995
|
+
clearTimeout(runtime.timeoutId);
|
|
996
|
+
runtime.timeoutId = void 0;
|
|
699
997
|
}
|
|
700
998
|
}
|
|
999
|
+
cleanupRuntime(taskId) {
|
|
1000
|
+
this.clearTaskTimeout(taskId);
|
|
1001
|
+
this.runtimes.delete(taskId);
|
|
1002
|
+
}
|
|
701
1003
|
};
|
|
702
1004
|
//#endregion
|
|
703
1005
|
//#region src/components/features/task-queue/provider/task-queue-provider.tsx
|
|
@@ -709,9 +1011,8 @@ function TaskQueueProvider({ children, config }) {
|
|
|
709
1011
|
const queue = queueRef.current;
|
|
710
1012
|
return () => {
|
|
711
1013
|
if (!queue) return;
|
|
712
|
-
queue.
|
|
713
|
-
|
|
714
|
-
});
|
|
1014
|
+
queue.dispose();
|
|
1015
|
+
queueRef.current = null;
|
|
715
1016
|
};
|
|
716
1017
|
}, []);
|
|
717
1018
|
useEffect(() => {
|
|
@@ -1046,14 +1347,14 @@ function TaskStatusAction({ task, onCancel }) {
|
|
|
1046
1347
|
if (task.status === "running") return /* @__PURE__ */ jsxs("div", {
|
|
1047
1348
|
className: "relative size-5",
|
|
1048
1349
|
children: [/* @__PURE__ */ jsx("div", {
|
|
1049
|
-
className: "pointer-events-none absolute inset-0 flex items-center justify-center transition-opacity group-hover:opacity-0",
|
|
1350
|
+
className: "pointer-events-none absolute inset-0 flex items-center justify-center transition-opacity group-hover:opacity-0 group-focus-within:opacity-0",
|
|
1050
1351
|
children: /* @__PURE__ */ jsx(SpinnerIcon, { size: "sm" })
|
|
1051
1352
|
}), task.cancelable && /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
1052
1353
|
asChild: true,
|
|
1053
1354
|
children: /* @__PURE__ */ jsx("button", {
|
|
1054
1355
|
type: "button",
|
|
1055
1356
|
onClick: onCancel,
|
|
1056
|
-
className: cn("flex size-5 items-center justify-center rounded-md transition-colors", "text-muted-foreground hover:bg-accent hover:text-foreground", "absolute inset-0 opacity-0 transition-opacity group-hover:opacity-100"),
|
|
1357
|
+
className: cn("flex size-5 items-center justify-center rounded-md transition-colors", "text-muted-foreground hover:bg-accent hover:text-foreground", "absolute inset-0 opacity-0 transition-opacity group-hover:opacity-100 focus-visible:opacity-100", "focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none"),
|
|
1057
1358
|
"aria-label": "Cancel task",
|
|
1058
1359
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
1059
1360
|
icon: X,
|
|
@@ -1114,7 +1415,10 @@ function TaskQueueTrigger({ ref, tasks, ...props }) {
|
|
|
1114
1415
|
const timer = setTimeout(setFlash, 5e3, false);
|
|
1115
1416
|
return () => clearTimeout(timer);
|
|
1116
1417
|
}
|
|
1117
|
-
if (!isAllComplete)
|
|
1418
|
+
if (!isAllComplete) {
|
|
1419
|
+
prevAllComplete.current = false;
|
|
1420
|
+
setFlash(false);
|
|
1421
|
+
}
|
|
1118
1422
|
}, [isAllComplete]);
|
|
1119
1423
|
useEffect(() => {
|
|
1120
1424
|
if (tasks.length === 0) {
|