@nxgt/material 1.0.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 +107 -0
- package/dist/components.js +2 -0
- package/dist/dist-B_rdiwEZ.js +16576 -0
- package/dist/dnd.js +2 -0
- package/dist/hooks-BPv0i6YN.js +581 -0
- package/dist/hooks.js +3 -0
- package/dist/i18n-1Eg35q8-.js +4617 -0
- package/dist/i18n.js +2 -0
- package/dist/lib/components/index.d.ts +136 -0
- package/dist/lib/components/ui/accordion-card.d.ts +13 -0
- package/dist/lib/components/ui/accordion.d.ts +7 -0
- package/dist/lib/components/ui/accordion.stories.d.ts +15 -0
- package/dist/lib/components/ui/action-card.d.ts +11 -0
- package/dist/lib/components/ui/action-card.stories.d.ts +20 -0
- package/dist/lib/components/ui/activity.d.ts +5 -0
- package/dist/lib/components/ui/app-bar/bottom-app-bar.d.ts +3 -0
- package/dist/lib/components/ui/app-bar/bottom-app-bar.stories.d.ts +15 -0
- package/dist/lib/components/ui/app-bar/index.d.ts +2 -0
- package/dist/lib/components/ui/app-bar/top-app-bar.d.ts +3 -0
- package/dist/lib/components/ui/app-shell/activity-content.d.ts +18 -0
- package/dist/lib/components/ui/app-shell/activity-layout.d.ts +22 -0
- package/dist/lib/components/ui/app-shell/app-breadcrumb.d.ts +19 -0
- package/dist/lib/components/ui/app-shell/app-header.d.ts +21 -0
- package/dist/lib/components/ui/app-shell/app-shell.stories.d.ts +17 -0
- package/dist/lib/components/ui/app-shell/app-shell.utils.d.ts +44 -0
- package/dist/lib/components/ui/app-shell/app-shell.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/app-shell/app-sidebar.d.ts +17 -0
- package/dist/lib/components/ui/app-shell/index.d.ts +7 -0
- package/dist/lib/components/ui/app-shell/types.d.ts +24 -0
- package/dist/lib/components/ui/attributes/attribute-dialog.d.ts +10 -0
- package/dist/lib/components/ui/attributes/attribute-form/attribute-form.d.ts +10 -0
- package/dist/lib/components/ui/attributes/attribute-form/attribute-value-form-field.d.ts +12 -0
- package/dist/lib/components/ui/attributes/attribute-form/consts.d.ts +45 -0
- package/dist/lib/components/ui/attributes/attribute-form/index.d.ts +2 -0
- package/dist/lib/components/ui/attributes/attribute-form/types.d.ts +3 -0
- package/dist/lib/components/ui/attributes/attribute-values-form/attribute-values-form.d.ts +15 -0
- package/dist/lib/components/ui/attributes/attribute-values-form/index.d.ts +1 -0
- package/dist/lib/components/ui/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +12 -0
- package/dist/lib/components/ui/attributes/attribute-values-form-field-set/index.d.ts +1 -0
- package/dist/lib/components/ui/attributes/attributes-field/attributes-field.d.ts +9 -0
- package/dist/lib/components/ui/attributes/attributes-field/index.d.ts +1 -0
- package/dist/lib/components/ui/attributes/attributes-field/state.d.ts +14 -0
- package/dist/lib/components/ui/attributes/attributes-form-field/attributes-form-field.d.ts +11 -0
- package/dist/lib/components/ui/attributes/attributes-form-field/index.d.ts +1 -0
- package/dist/lib/components/ui/attributes/attributes-list/attributes-list.d.ts +11 -0
- package/dist/lib/components/ui/attributes/attributes-list/index.d.ts +1 -0
- package/dist/lib/components/ui/attributes/attributes.stories.d.ts +17 -0
- package/dist/lib/components/ui/attributes/consts.d.ts +2 -0
- package/dist/lib/components/ui/attributes/index.d.ts +9 -0
- package/dist/lib/components/ui/attributes/models/attribute.d.ts +27 -0
- package/dist/lib/components/ui/attributes/models/index.d.ts +1 -0
- package/dist/lib/components/ui/attributes/utils.d.ts +4 -0
- package/dist/lib/components/ui/autocomplete.d.ts +40 -0
- package/dist/lib/components/ui/autocomplete.stories.d.ts +18 -0
- package/dist/lib/components/ui/avatar-group/avatar-group.d.ts +8 -0
- package/dist/lib/components/ui/avatar-group/avatar-group.stories.d.ts +16 -0
- package/dist/lib/components/ui/avatar-group/avatar-group.utils.d.ts +5 -0
- package/dist/lib/components/ui/avatar-group/avatar-group.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/avatar-group/index.d.ts +4 -0
- package/dist/lib/components/ui/avatar.d.ts +15 -0
- package/dist/lib/components/ui/avatar.stories.d.ts +16 -0
- package/dist/lib/components/ui/background.d.ts +2 -0
- package/dist/lib/components/ui/badge.d.ts +9 -0
- package/dist/lib/components/ui/badge.stories.d.ts +16 -0
- package/dist/lib/components/ui/banner/banner.d.ts +12 -0
- package/dist/lib/components/ui/banner/banner.stories.d.ts +18 -0
- package/dist/lib/components/ui/banner/index.d.ts +2 -0
- package/dist/lib/components/ui/barecode.d.ts +4 -0
- package/dist/lib/components/ui/barecode.stories.d.ts +42 -0
- package/dist/lib/components/ui/breadcrumb.d.ts +11 -0
- package/dist/lib/components/ui/breadcrumb.stories.d.ts +14 -0
- package/dist/lib/components/ui/buttons/button-group.d.ts +3 -0
- package/dist/lib/components/ui/buttons/button-group.stories.d.ts +18 -0
- package/dist/lib/components/ui/buttons/button.d.ts +16 -0
- package/dist/lib/components/ui/buttons/button.stories.d.ts +39 -0
- package/dist/lib/components/ui/buttons/icon-button.d.ts +13 -0
- package/dist/lib/components/ui/buttons/icon-button.stories.d.ts +23 -0
- package/dist/lib/components/ui/buttons/index.d.ts +6 -0
- package/dist/lib/components/ui/buttons/link.d.ts +7 -0
- package/dist/lib/components/ui/buttons/link.stories.d.ts +333 -0
- package/dist/lib/components/ui/buttons/responsive-button.d.ts +7 -0
- package/dist/lib/components/ui/buttons/responsive-button.stories.d.ts +22 -0
- package/dist/lib/components/ui/buttons/split-button.d.ts +8 -0
- package/dist/lib/components/ui/buttons/split-button.stories.d.ts +17 -0
- package/dist/lib/components/ui/calendar-year-view.d.ts +8 -0
- package/dist/lib/components/ui/calendar.d.ts +12 -0
- package/dist/lib/components/ui/calendar.stories.d.ts +19 -0
- package/dist/lib/components/ui/calendar.utils.d.ts +26 -0
- package/dist/lib/components/ui/calendar.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/camera/__storries__/camera.stories.d.ts +15 -0
- package/dist/lib/components/ui/camera/camera-content.d.ts +3 -0
- package/dist/lib/components/ui/camera/camera.d.ts +3 -0
- package/dist/lib/components/ui/camera/camera.provider.d.ts +6 -0
- package/dist/lib/components/ui/camera/consts.d.ts +2 -0
- package/dist/lib/components/ui/camera/index.d.ts +1 -0
- package/dist/lib/components/ui/camera/state/camera.reducers.d.ts +7 -0
- package/dist/lib/components/ui/camera/state/camera.reducers.test.d.ts +1 -0
- package/dist/lib/components/ui/camera/state/camera.slice.d.ts +148 -0
- package/dist/lib/components/ui/camera/state/camera.slice.test.d.ts +1 -0
- package/dist/lib/components/ui/camera/state/camera.store.d.ts +145 -0
- package/dist/lib/components/ui/camera/state/camera.thunks.d.ts +97 -0
- package/dist/lib/components/ui/camera/state/camera.thunks.test.d.ts +1 -0
- package/dist/lib/components/ui/camera/state/index.d.ts +2 -0
- package/dist/lib/components/ui/camera/types.d.ts +38 -0
- package/dist/lib/components/ui/camera/use-camera.d.ts +11 -0
- package/dist/lib/components/ui/camera/utils/camera.utils.d.ts +14 -0
- package/dist/lib/components/ui/camera/utils/camera.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/camera/utils/index.d.ts +1 -0
- package/dist/lib/components/ui/card.d.ts +9 -0
- package/dist/lib/components/ui/card.stories.d.ts +14 -0
- package/dist/lib/components/ui/carousel.d.ts +19 -0
- package/dist/lib/components/ui/carousel.stories.d.ts +14 -0
- package/dist/lib/components/ui/charts/area-chart.d.ts +5 -0
- package/dist/lib/components/ui/charts/area-chart.stories.d.ts +17 -0
- package/dist/lib/components/ui/charts/bar-chart.d.ts +7 -0
- package/dist/lib/components/ui/charts/bar-chart.stories.d.ts +17 -0
- package/dist/lib/components/ui/charts/chart-container.d.ts +10 -0
- package/dist/lib/components/ui/charts/funnel-chart.d.ts +7 -0
- package/dist/lib/components/ui/charts/funnel-chart.stories.d.ts +17 -0
- package/dist/lib/components/ui/charts/heatmap-chart.d.ts +13 -0
- package/dist/lib/components/ui/charts/heatmap-chart.stories.d.ts +17 -0
- package/dist/lib/components/ui/charts/index.d.ts +10 -0
- package/dist/lib/components/ui/charts/line-chart.d.ts +8 -0
- package/dist/lib/components/ui/charts/line-chart.stories.d.ts +17 -0
- package/dist/lib/components/ui/charts/pie-chart.d.ts +8 -0
- package/dist/lib/components/ui/charts/pie-chart.stories.d.ts +17 -0
- package/dist/lib/components/ui/charts/radar-chart.d.ts +7 -0
- package/dist/lib/components/ui/charts/radar-chart.stories.d.ts +17 -0
- package/dist/lib/components/ui/charts/scatter-chart.d.ts +7 -0
- package/dist/lib/components/ui/charts/scatter-chart.stories.d.ts +17 -0
- package/dist/lib/components/ui/charts/use-chart-theme.d.ts +11 -0
- package/dist/lib/components/ui/chat/chat-advanced.stories.d.ts +12 -0
- package/dist/lib/components/ui/chat/chat-composer-attachment-chip.d.ts +6 -0
- package/dist/lib/components/ui/chat/chat-composer-attachments.d.ts +18 -0
- package/dist/lib/components/ui/chat/chat-composer.d.ts +20 -0
- package/dist/lib/components/ui/chat/chat-conversation-item.d.ts +12 -0
- package/dist/lib/components/ui/chat/chat-copy-text.d.ts +2 -0
- package/dist/lib/components/ui/chat/chat-copy-text.test.d.ts +1 -0
- package/dist/lib/components/ui/chat/chat-markdown-inline.d.ts +3 -0
- package/dist/lib/components/ui/chat/chat-markdown.d.ts +6 -0
- package/dist/lib/components/ui/chat/chat-markdown.test.d.ts +1 -0
- package/dist/lib/components/ui/chat/chat-message-list.d.ts +11 -0
- package/dist/lib/components/ui/chat/chat-message-meta.d.ts +7 -0
- package/dist/lib/components/ui/chat/chat-message-separator.d.ts +7 -0
- package/dist/lib/components/ui/chat/chat-message.d.ts +20 -0
- package/dist/lib/components/ui/chat/chat-reaction-group.d.ts +14 -0
- package/dist/lib/components/ui/chat/chat-thread.d.ts +11 -0
- package/dist/lib/components/ui/chat/chat-typing-indicator.d.ts +5 -0
- package/dist/lib/components/ui/chat/chat-unseen.d.ts +1 -0
- package/dist/lib/components/ui/chat/chat-unseen.test.d.ts +1 -0
- package/dist/lib/components/ui/chat/chat.stories.d.ts +19 -0
- package/dist/lib/components/ui/chat/index.d.ts +12 -0
- package/dist/lib/components/ui/chat/use-chat-composer-attachments.d.ts +25 -0
- package/dist/lib/components/ui/chat/use-chat-composer-attachments.test.d.ts +1 -0
- package/dist/lib/components/ui/check-card-field.d.ts +13 -0
- package/dist/lib/components/ui/checkbox-group.d.ts +15 -0
- package/dist/lib/components/ui/checkbox-group.stories.d.ts +21 -0
- package/dist/lib/components/ui/checkbox.d.ts +7 -0
- package/dist/lib/components/ui/checkbox.stories.d.ts +15 -0
- package/dist/lib/components/ui/chip.d.ts +11 -0
- package/dist/lib/components/ui/chip.stories.d.ts +26 -0
- package/dist/lib/components/ui/code/code-block.d.ts +12 -0
- package/dist/lib/components/ui/code/code-block.stories.d.ts +19 -0
- package/dist/lib/components/ui/code/code-diff.d.ts +11 -0
- package/dist/lib/components/ui/code/code-diff.stories.d.ts +13 -0
- package/dist/lib/components/ui/code/code-editor-chrome.d.ts +10 -0
- package/dist/lib/components/ui/code/highlight.d.ts +2 -0
- package/dist/lib/components/ui/code/highlight.test.d.ts +1 -0
- package/dist/lib/components/ui/code/index.d.ts +13 -0
- package/dist/lib/components/ui/code/json-node.d.ts +7 -0
- package/dist/lib/components/ui/code/json-viewer.d.ts +10 -0
- package/dist/lib/components/ui/code/json-viewer.stories.d.ts +16 -0
- package/dist/lib/components/ui/code/languages.d.ts +7 -0
- package/dist/lib/components/ui/code/languages.test.d.ts +1 -0
- package/dist/lib/components/ui/code/moonlight-monaco.d.ts +3 -0
- package/dist/lib/components/ui/code/moonlight-monaco.test.d.ts +1 -0
- package/dist/lib/components/ui/code/moonlight-tokens.d.ts +33 -0
- package/dist/lib/components/ui/code/moonlight-tokens.test.d.ts +1 -0
- package/dist/lib/components/ui/code/parse-json.d.ts +11 -0
- package/dist/lib/components/ui/code/parse-json.test.d.ts +1 -0
- package/dist/lib/components/ui/code-editor.d.ts +23 -0
- package/dist/lib/components/ui/code-editor.stories.d.ts +19 -0
- package/dist/lib/components/ui/collapsible.d.ts +6 -0
- package/dist/lib/components/ui/color-field/color-field.d.ts +8 -0
- package/dist/lib/components/ui/color-field/color-field.stories.d.ts +17 -0
- package/dist/lib/components/ui/color-field/index.d.ts +3 -0
- package/dist/lib/components/ui/color-field/normalize-hex.d.ts +1 -0
- package/dist/lib/components/ui/color-field/normalize-hex.test.d.ts +1 -0
- package/dist/lib/components/ui/combobox-field/combobox-field.d.ts +20 -0
- package/dist/lib/components/ui/combobox-field/combobox-field.stories.d.ts +15 -0
- package/dist/lib/components/ui/combobox-field/index.d.ts +2 -0
- package/dist/lib/components/ui/combobox.d.ts +27 -0
- package/dist/lib/components/ui/combobox.stories.d.ts +21 -0
- package/dist/lib/components/ui/command.d.ts +16 -0
- package/dist/lib/components/ui/contacts/contact-dialog.d.ts +10 -0
- package/dist/lib/components/ui/contacts/contact-item.d.ts +11 -0
- package/dist/lib/components/ui/contacts/contacts-form-field.d.ts +8 -0
- package/dist/lib/components/ui/contacts/contacts.d.ts +11 -0
- package/dist/lib/components/ui/contacts/contacts.stories.d.ts +16 -0
- package/dist/lib/components/ui/contacts/index.d.ts +6 -0
- package/dist/lib/components/ui/contacts/models.d.ts +25 -0
- package/dist/lib/components/ui/contacts/utils.d.ts +11 -0
- package/dist/lib/components/ui/context-menu.d.ts +25 -0
- package/dist/lib/components/ui/context-menu.stories.d.ts +14 -0
- package/dist/lib/components/ui/copy-button/copy-button.d.ts +7 -0
- package/dist/lib/components/ui/copy-button/copy-button.stories.d.ts +16 -0
- package/dist/lib/components/ui/copy-button/copy-to-clipboard.d.ts +1 -0
- package/dist/lib/components/ui/copy-button/copy-to-clipboard.test.d.ts +1 -0
- package/dist/lib/components/ui/copy-button/copy-value.d.ts +7 -0
- package/dist/lib/components/ui/copy-button/index.d.ts +5 -0
- package/dist/lib/components/ui/count-badge.d.ts +10 -0
- package/dist/lib/components/ui/count-badge.stories.d.ts +16 -0
- package/dist/lib/components/ui/country-field/country-field.d.ts +20 -0
- package/dist/lib/components/ui/country-field/country-field.stories.d.ts +15 -0
- package/dist/lib/components/ui/country-field/index.d.ts +2 -0
- package/dist/lib/components/ui/currency-field/currency-field.d.ts +8 -0
- package/dist/lib/components/ui/currency-field/currency-field.stories.d.ts +17 -0
- package/dist/lib/components/ui/currency-field/index.d.ts +3 -0
- package/dist/lib/components/ui/currency-field/parse-currency.d.ts +1 -0
- package/dist/lib/components/ui/currency-field/parse-currency.test.d.ts +1 -0
- package/dist/lib/components/ui/data-table/data-table-column-header.d.ts +9 -0
- package/dist/lib/components/ui/data-table/data-table-pagination.d.ts +10 -0
- package/dist/lib/components/ui/data-table/data-table-view-options.d.ts +5 -0
- package/dist/lib/components/ui/data-table/data-table.d.ts +21 -0
- package/dist/lib/components/ui/data-table/data-table.stories.d.ts +27 -0
- package/dist/lib/components/ui/data-table/features.d.ts +13 -0
- package/dist/lib/components/ui/data-table/hooks.d.ts +62 -0
- package/dist/lib/components/ui/data-table/index.d.ts +12 -0
- package/dist/lib/components/ui/date-field.d.ts +21 -0
- package/dist/lib/components/ui/date-field.stories.d.ts +15 -0
- package/dist/lib/components/ui/date-range-field.d.ts +17 -0
- package/dist/lib/components/ui/date-range-field.stories.d.ts +15 -0
- package/dist/lib/components/ui/description.d.ts +12 -0
- package/dist/lib/components/ui/dialog.d.ts +14 -0
- package/dist/lib/components/ui/dnd/compose-refs.d.ts +2 -0
- package/dist/lib/components/ui/dnd/dnd-item-context.d.ts +9 -0
- package/dist/lib/components/ui/dnd/dnd-overlay.d.ts +7 -0
- package/dist/lib/components/ui/dnd/dnd-provider.d.ts +7 -0
- package/dist/lib/components/ui/dnd/dnd.stories.d.ts +11 -0
- package/dist/lib/components/ui/dnd/drag-handle.d.ts +6 -0
- package/dist/lib/components/ui/dnd/draggable-droppable.d.ts +9 -0
- package/dist/lib/components/ui/dnd/draggable.d.ts +9 -0
- package/dist/lib/components/ui/dnd/droppable.d.ts +9 -0
- package/dist/lib/components/ui/dnd/index.d.ts +24 -0
- package/dist/lib/components/ui/dnd/insert-ids.d.ts +1 -0
- package/dist/lib/components/ui/dnd/insert-ids.test.d.ts +1 -0
- package/dist/lib/components/ui/dnd/sortable-provider.d.ts +9 -0
- package/dist/lib/components/ui/dnd/sortable.d.ts +10 -0
- package/dist/lib/components/ui/dnd/use-dnd-active-id.d.ts +2 -0
- package/dist/lib/components/ui/drawer.d.ts +14 -0
- package/dist/lib/components/ui/dropdown-menu.d.ts +26 -0
- package/dist/lib/components/ui/dropdown-menu.stories.d.ts +14 -0
- package/dist/lib/components/ui/duration-field/duration-field.d.ts +15 -0
- package/dist/lib/components/ui/duration-field/duration-field.stories.d.ts +15 -0
- package/dist/lib/components/ui/duration-field/index.d.ts +3 -0
- package/dist/lib/components/ui/duration-field/parse-duration.d.ts +5 -0
- package/dist/lib/components/ui/duration-field/parse-duration.test.d.ts +1 -0
- package/dist/lib/components/ui/education/index.d.ts +2 -0
- package/dist/lib/components/ui/education/questions/index.d.ts +3 -0
- package/dist/lib/components/ui/education/questions/question-boolean.d.ts +2 -0
- package/dist/lib/components/ui/education/questions/question-choice.d.ts +2 -0
- package/dist/lib/components/ui/education/questions/question-multi.d.ts +2 -0
- package/dist/lib/components/ui/education/questions/question-options.d.ts +9 -0
- package/dist/lib/components/ui/education/questions/question-text.d.ts +2 -0
- package/dist/lib/components/ui/education/questions/question.d.ts +2 -0
- package/dist/lib/components/ui/education/questions/question.stories.d.ts +16 -0
- package/dist/lib/components/ui/education/questions/question.utils.d.ts +6 -0
- package/dist/lib/components/ui/education/questions/question.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/education/questions/types.d.ts +26 -0
- package/dist/lib/components/ui/education/quizzes/index.d.ts +3 -0
- package/dist/lib/components/ui/education/quizzes/partials/quiz-body.d.ts +1 -0
- package/dist/lib/components/ui/education/quizzes/partials/quiz-nav.d.ts +1 -0
- package/dist/lib/components/ui/education/quizzes/partials/quiz-progress.d.ts +1 -0
- package/dist/lib/components/ui/education/quizzes/partials/quiz-results.d.ts +1 -0
- package/dist/lib/components/ui/education/quizzes/quiz-provider.d.ts +7 -0
- package/dist/lib/components/ui/education/quizzes/quiz.d.ts +3 -0
- package/dist/lib/components/ui/education/quizzes/quiz.slice.d.ts +95 -0
- package/dist/lib/components/ui/education/quizzes/quiz.slice.test.d.ts +1 -0
- package/dist/lib/components/ui/education/quizzes/quiz.stories.d.ts +13 -0
- package/dist/lib/components/ui/education/quizzes/quiz.utils.d.ts +12 -0
- package/dist/lib/components/ui/education/quizzes/quiz.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/education/quizzes/types.d.ts +19 -0
- package/dist/lib/components/ui/education/quizzes/use-quiz.d.ts +21 -0
- package/dist/lib/components/ui/education/quizzes/use-skip-first.d.ts +1 -0
- package/dist/lib/components/ui/email-field/email-field.d.ts +3 -0
- package/dist/lib/components/ui/email-field/email-field.stories.d.ts +16 -0
- package/dist/lib/components/ui/email-field/index.d.ts +3 -0
- package/dist/lib/components/ui/email-field/is-email.d.ts +1 -0
- package/dist/lib/components/ui/email-field/is-email.test.d.ts +1 -0
- package/dist/lib/components/ui/entity-header.d.ts +12 -0
- package/dist/lib/components/ui/entity-header.stories.d.ts +17 -0
- package/dist/lib/components/ui/event-calendar/event-calendar-context.d.ts +15 -0
- package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.d.ts +14 -0
- package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.container.d.ts +9 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.container.test.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.d.ts +26 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.ids.d.ts +11 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.keyboard.d.ts +22 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.keyboard.test.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.preview.d.ts +4 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.preview.test.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.slice.d.ts +22 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.spans.d.ts +13 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.spans.test.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.stories.d.ts +19 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.utils.d.ts +22 -0
- package/dist/lib/components/ui/event-calendar/event-calendar.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/index.d.ts +5 -0
- package/dist/lib/components/ui/event-calendar/partials/agenda-view.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/partials/all-day-lane.d.ts +3 -0
- package/dist/lib/components/ui/event-calendar/partials/calendar-board.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/partials/calendar-date-picker.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/partials/calendar-event-chip.d.ts +8 -0
- package/dist/lib/components/ui/event-calendar/partials/calendar-now-line.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/partials/calendar-toolbar.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/partials/day-view.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/partials/event-color-swatches.d.ts +5 -0
- package/dist/lib/components/ui/event-calendar/partials/event-preview.d.ts +4 -0
- package/dist/lib/components/ui/event-calendar/partials/event-resize-handle.d.ts +5 -0
- package/dist/lib/components/ui/event-calendar/partials/month-day-cell.d.ts +10 -0
- package/dist/lib/components/ui/event-calendar/partials/month-day-dialog.d.ts +7 -0
- package/dist/lib/components/ui/event-calendar/partials/month-more.d.ts +5 -0
- package/dist/lib/components/ui/event-calendar/partials/month-view.d.ts +1 -0
- package/dist/lib/components/ui/event-calendar/partials/month-week-row.d.ts +10 -0
- package/dist/lib/components/ui/event-calendar/partials/span-event.d.ts +4 -0
- package/dist/lib/components/ui/event-calendar/partials/time-column.d.ts +3 -0
- package/dist/lib/components/ui/event-calendar/partials/time-grid-event.d.ts +5 -0
- package/dist/lib/components/ui/event-calendar/partials/time-grid.d.ts +3 -0
- package/dist/lib/components/ui/event-calendar/partials/week-view.d.ts +3 -0
- package/dist/lib/components/ui/event-calendar/types.d.ts +34 -0
- package/dist/lib/components/ui/event-calendar/use-event-calendar.d.ts +41 -0
- package/dist/lib/components/ui/event-calendar/use-month-create.d.ts +15 -0
- package/dist/lib/components/ui/event-calendar/use-slot-create.d.ts +19 -0
- package/dist/lib/components/ui/event-chip/event-chip.d.ts +16 -0
- package/dist/lib/components/ui/event-chip/event-chip.stories.d.ts +16 -0
- package/dist/lib/components/ui/event-chip/index.d.ts +2 -0
- package/dist/lib/components/ui/extended-label.d.ts +7 -0
- package/dist/lib/components/ui/feedback/alert-dialog.d.ts +15 -0
- package/dist/lib/components/ui/feedback/alert-dialog.stories.d.ts +14 -0
- package/dist/lib/components/ui/feedback/alert.d.ts +12 -0
- package/dist/lib/components/ui/feedback/alert.stories.d.ts +20 -0
- package/dist/lib/components/ui/feedback/circular-progress.d.ts +20 -0
- package/dist/lib/components/ui/feedback/circular-progress.stories.d.ts +33 -0
- package/dist/lib/components/ui/feedback/confirm-dialog.d.ts +12 -0
- package/dist/lib/components/ui/feedback/confirm-dialog.stories.d.ts +16 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog.d.ts +17 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog.stories.d.ts +17 -0
- package/dist/lib/components/ui/feedback/custom-alert-dialog.d.ts +10 -0
- package/dist/lib/components/ui/feedback/custom-alert-dialog.stories.d.ts +14 -0
- package/dist/lib/components/ui/feedback/custom-dialog.d.ts +10 -0
- package/dist/lib/components/ui/feedback/custom-dialog.stories.d.ts +17 -0
- package/dist/lib/components/ui/feedback/empty-state.d.ts +10 -0
- package/dist/lib/components/ui/feedback/empty-state.stories.d.ts +11 -0
- package/dist/lib/components/ui/feedback/index.d.ts +13 -0
- package/dist/lib/components/ui/feedback/progress-field.d.ts +9 -0
- package/dist/lib/components/ui/feedback/progress.d.ts +6 -0
- package/dist/lib/components/ui/feedback/progress.stories.d.ts +16 -0
- package/dist/lib/components/ui/feedback/spinner.d.ts +9 -0
- package/dist/lib/components/ui/feedback/spinner.stories.d.ts +24 -0
- package/dist/lib/components/ui/feedback/toast.d.ts +19 -0
- package/dist/lib/components/ui/feedback/toast.stories.d.ts +16 -0
- package/dist/lib/components/ui/feedback/toasts.d.ts +41 -0
- package/dist/lib/components/ui/feedback/toasts.test.d.ts +1 -0
- package/dist/lib/components/ui/field/field.d.ts +9 -0
- package/dist/lib/components/ui/field/index.d.ts +3 -0
- package/dist/lib/components/ui/field/renderers.d.ts +2 -0
- package/dist/lib/components/ui/field/types.d.ts +67 -0
- package/dist/lib/components/ui/file-list/file-list-field-row.d.ts +10 -0
- package/dist/lib/components/ui/file-list/file-list-field.d.ts +12 -0
- package/dist/lib/components/ui/file-list/file-list-field.stories.d.ts +15 -0
- package/dist/lib/components/ui/file-list/file-list-s3-field.d.ts +6 -0
- package/dist/lib/components/ui/file-list/file-list.d.ts +3 -0
- package/dist/lib/components/ui/file-list/file-list.stories.d.ts +17 -0
- package/dist/lib/components/ui/file-list/format-file-size.d.ts +1 -0
- package/dist/lib/components/ui/file-list/format-file-size.test.d.ts +1 -0
- package/dist/lib/components/ui/file-list/index.d.ts +8 -0
- package/dist/lib/components/ui/file-list/types.d.ts +17 -0
- package/dist/lib/components/ui/filter/__stories__/filter.stories.d.ts +26 -0
- package/dist/lib/components/ui/filter/consts.d.ts +51 -0
- package/dist/lib/components/ui/filter/filter-actions.d.ts +11 -0
- package/dist/lib/components/ui/filter/filter-chips.d.ts +5 -0
- package/dist/lib/components/ui/filter/filter-content.d.ts +9 -0
- package/dist/lib/components/ui/filter/filter-context.d.ts +52 -0
- package/dist/lib/components/ui/filter/filter-dialog.d.ts +15 -0
- package/dist/lib/components/ui/filter/filter-drawer.d.ts +16 -0
- package/dist/lib/components/ui/filter/filter-field.d.ts +14 -0
- package/dist/lib/components/ui/filter/filter-groups.d.ts +15 -0
- package/dist/lib/components/ui/filter/filter-inline.d.ts +13 -0
- package/dist/lib/components/ui/filter/filter-persistence-main.utils.d.ts +13 -0
- package/dist/lib/components/ui/filter/filter-persistence-main.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/filter-persistence-presets.utils.d.ts +13 -0
- package/dist/lib/components/ui/filter/filter-persistence-presets.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/filter-persistence-storage.utils.d.ts +13 -0
- package/dist/lib/components/ui/filter/filter-persistence-storage.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/filter-persistence-url.utils.d.ts +17 -0
- package/dist/lib/components/ui/filter/filter-persistence-url.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/filter-persistence.utils.d.ts +4 -0
- package/dist/lib/components/ui/filter/filter-persistence.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/filter-popover.d.ts +17 -0
- package/dist/lib/components/ui/filter/filter-preset.utils.d.ts +11 -0
- package/dist/lib/components/ui/filter/filter-preset.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/filter-presets.d.ts +5 -0
- package/dist/lib/components/ui/filter/filter-schema.utils.d.ts +34 -0
- package/dist/lib/components/ui/filter/filter-schema.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/filter-sheet.d.ts +16 -0
- package/dist/lib/components/ui/filter/filter-trigger.d.ts +6 -0
- package/dist/lib/components/ui/filter/filter-validation.utils.d.ts +48 -0
- package/dist/lib/components/ui/filter/filter-validation.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/filter-value.utils.d.ts +29 -0
- package/dist/lib/components/ui/filter/filter-value.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/filter.d.ts +59 -0
- package/dist/lib/components/ui/filter/filter.utils.d.ts +3 -0
- package/dist/lib/components/ui/filter/filter.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/filter/forms/filter-form-field.d.ts +52 -0
- package/dist/lib/components/ui/filter/index.d.ts +21 -0
- package/dist/lib/components/ui/filter/types.d.ts +293 -0
- package/dist/lib/components/ui/filter/use-filter-modal.d.ts +6 -0
- package/dist/lib/components/ui/filter/use-filter-selector.d.ts +11 -0
- package/dist/lib/components/ui/filter/use-filter.d.ts +42 -0
- package/dist/lib/components/ui/format-count.d.ts +1 -0
- package/dist/lib/components/ui/format-count.test.d.ts +1 -0
- package/dist/lib/components/ui/forms/autocomplete-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/check-card-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/checkbox-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/checkbox-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/code-editor-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/color-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/combobox-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/country-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/currency-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/date-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/date-range-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/duration-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/email-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/file-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/file-list-s3-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/files-form-field.d.ts +9 -0
- package/dist/lib/components/ui/forms/form-field.d.ts +6 -0
- package/dist/lib/components/ui/forms/image-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/image-s3-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/index.d.ts +44 -0
- package/dist/lib/components/ui/forms/inline-edit-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/input-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/network-upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/number-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/otp-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/password-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/percent-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/phone-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/radio-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/rating-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/rich-text-editor-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/s3-upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/search-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/select-card-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/select-chip-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/select-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/slider-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/sortable-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/switch-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/text-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/textarea-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/time-form-field.d.ts +5 -0
- package/dist/lib/components/ui/forms/timezone-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/transfer-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/url-form-field.d.ts +3 -0
- package/dist/lib/components/ui/galleries/gallery-download.d.ts +12 -0
- package/dist/lib/components/ui/galleries/gallery-download.test.d.ts +1 -0
- package/dist/lib/components/ui/galleries/gallery-keyboard.d.ts +14 -0
- package/dist/lib/components/ui/galleries/gallery-keyboard.test.d.ts +1 -0
- package/dist/lib/components/ui/galleries/gallery-provider.d.ts +7 -0
- package/dist/lib/components/ui/galleries/gallery.d.ts +3 -0
- package/dist/lib/components/ui/galleries/gallery.presets.d.ts +4 -0
- package/dist/lib/components/ui/galleries/gallery.presets.test.d.ts +1 -0
- package/dist/lib/components/ui/galleries/gallery.slice.d.ts +149 -0
- package/dist/lib/components/ui/galleries/gallery.slice.test.d.ts +1 -0
- package/dist/lib/components/ui/galleries/gallery.stories.d.ts +23 -0
- package/dist/lib/components/ui/galleries/gallery.utils.d.ts +14 -0
- package/dist/lib/components/ui/galleries/gallery.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/galleries/index.d.ts +6 -0
- package/dist/lib/components/ui/galleries/lightbox-gallery.d.ts +6 -0
- package/dist/lib/components/ui/galleries/lightbox-gallery.stories.d.ts +12 -0
- package/dist/lib/components/ui/galleries/mini-gallery.d.ts +4 -0
- package/dist/lib/components/ui/galleries/mini-gallery.stories.d.ts +12 -0
- package/dist/lib/components/ui/galleries/partials/gallery-carousel.d.ts +3 -0
- package/dist/lib/components/ui/galleries/partials/gallery-chrome.d.ts +1 -0
- package/dist/lib/components/ui/galleries/partials/gallery-empty.d.ts +1 -0
- package/dist/lib/components/ui/galleries/partials/gallery-featured.d.ts +3 -0
- package/dist/lib/components/ui/galleries/partials/gallery-grid.d.ts +3 -0
- package/dist/lib/components/ui/galleries/partials/gallery-justified.d.ts +3 -0
- package/dist/lib/components/ui/galleries/partials/gallery-lightbox.d.ts +1 -0
- package/dist/lib/components/ui/galleries/partials/gallery-masonry.d.ts +3 -0
- package/dist/lib/components/ui/galleries/partials/gallery-media.d.ts +6 -0
- package/dist/lib/components/ui/galleries/partials/gallery-selection-bar.d.ts +1 -0
- package/dist/lib/components/ui/galleries/partials/gallery-stage.d.ts +8 -0
- package/dist/lib/components/ui/galleries/partials/gallery-strip.d.ts +3 -0
- package/dist/lib/components/ui/galleries/partials/gallery-tile.d.ts +8 -0
- package/dist/lib/components/ui/galleries/partials/gallery-trigger.d.ts +5 -0
- package/dist/lib/components/ui/galleries/types.d.ts +57 -0
- package/dist/lib/components/ui/galleries/use-gallery.d.ts +31 -0
- package/dist/lib/components/ui/galleries/use-skip-first.d.ts +1 -0
- package/dist/lib/components/ui/helper-text.d.ts +5 -0
- package/dist/lib/components/ui/hidrate-loading.d.ts +6 -0
- package/dist/lib/components/ui/hover-card.d.ts +6 -0
- package/dist/lib/components/ui/icon.d.ts +9 -0
- package/dist/lib/components/ui/icon.stories.d.ts +15 -0
- package/dist/lib/components/ui/icon.test.d.ts +1 -0
- package/dist/lib/components/ui/image-cropper/crop-image.d.ts +13 -0
- package/dist/lib/components/ui/image-cropper/crop-image.test.d.ts +1 -0
- package/dist/lib/components/ui/image-cropper/crop-resize-handles.d.ts +12 -0
- package/dist/lib/components/ui/image-cropper/crop-resize-handles.test.d.ts +1 -0
- package/dist/lib/components/ui/image-cropper/image-cropper-dialog.d.ts +9 -0
- package/dist/lib/components/ui/image-cropper/image-cropper.d.ts +11 -0
- package/dist/lib/components/ui/image-cropper/image-cropper.stories.d.ts +17 -0
- package/dist/lib/components/ui/image-cropper/index.d.ts +7 -0
- package/dist/lib/components/ui/image-cropper/types.d.ts +24 -0
- package/dist/lib/components/ui/image-field/image-field.d.ts +14 -0
- package/dist/lib/components/ui/image-field/image-field.stories.d.ts +15 -0
- package/dist/lib/components/ui/image-field/image-s3-field.d.ts +6 -0
- package/dist/lib/components/ui/image-field/index.d.ts +4 -0
- package/dist/lib/components/ui/inline-edit/index.d.ts +2 -0
- package/dist/lib/components/ui/inline-edit/inline-edit.d.ts +11 -0
- package/dist/lib/components/ui/inline-edit/inline-edit.stories.d.ts +17 -0
- package/dist/lib/components/ui/input-group-field.d.ts +12 -0
- package/dist/lib/components/ui/input-group-field.stories.d.ts +35 -0
- package/dist/lib/components/ui/input-group.d.ts +13 -0
- package/dist/lib/components/ui/input-group.stories.d.ts +25 -0
- package/dist/lib/components/ui/input-otp.d.ts +11 -0
- package/dist/lib/components/ui/input.d.ts +4 -0
- package/dist/lib/components/ui/kanban/index.d.ts +5 -0
- package/dist/lib/components/ui/kanban/kanban-context.d.ts +16 -0
- package/dist/lib/components/ui/kanban/kanban.d.ts +20 -0
- package/dist/lib/components/ui/kanban/kanban.keyboard.d.ts +25 -0
- package/dist/lib/components/ui/kanban/kanban.slice.d.ts +106 -0
- package/dist/lib/components/ui/kanban/kanban.stories.d.ts +17 -0
- package/dist/lib/components/ui/kanban/kanban.utils.d.ts +24 -0
- package/dist/lib/components/ui/kanban/kanban.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/kanban/partials/kanban-board.d.ts +1 -0
- package/dist/lib/components/ui/kanban/partials/kanban-card-preview.d.ts +4 -0
- package/dist/lib/components/ui/kanban/partials/kanban-card.d.ts +7 -0
- package/dist/lib/components/ui/kanban/partials/kanban-column-header.d.ts +7 -0
- package/dist/lib/components/ui/kanban/partials/kanban-column.d.ts +4 -0
- package/dist/lib/components/ui/kanban/partials/kanban-composer.d.ts +5 -0
- package/dist/lib/components/ui/kanban/partials/kanban-group.d.ts +6 -0
- package/dist/lib/components/ui/kanban/types.d.ts +47 -0
- package/dist/lib/components/ui/kanban/use-kanban.d.ts +31 -0
- package/dist/lib/components/ui/kbd-shortcut.d.ts +6 -0
- package/dist/lib/components/ui/kbd.d.ts +3 -0
- package/dist/lib/components/ui/kbd.stories.d.ts +16 -0
- package/dist/lib/components/ui/label.d.ts +6 -0
- package/dist/lib/components/ui/language-switcher.d.ts +6 -0
- package/dist/lib/components/ui/language-switcher.stories.d.ts +14 -0
- package/dist/lib/components/ui/layout/index.d.ts +3 -0
- package/dist/lib/components/ui/layout/list-details-layout.d.ts +47 -0
- package/dist/lib/components/ui/layout/list-details-layout.stories.d.ts +13 -0
- package/dist/lib/components/ui/layout/pane-layout.d.ts +48 -0
- package/dist/lib/components/ui/layout/pane-layout.stories.d.ts +13 -0
- package/dist/lib/components/ui/layout/thread-layout.d.ts +18 -0
- package/dist/lib/components/ui/layout/thread-layout.stories.d.ts +15 -0
- package/dist/lib/components/ui/list-tile.d.ts +12 -0
- package/dist/lib/components/ui/list-tile.stories.d.ts +18 -0
- package/dist/lib/components/ui/load-more-button.d.ts +25 -0
- package/dist/lib/components/ui/load-more-button.stories.d.ts +17 -0
- package/dist/lib/components/ui/menubar.d.ts +26 -0
- package/dist/lib/components/ui/navigation-rail/index.d.ts +1 -0
- package/dist/lib/components/ui/navigation-rail/navigation-rail.d.ts +1 -0
- package/dist/lib/components/ui/notifications/index.d.ts +2 -0
- package/dist/lib/components/ui/notifications/notifications-provider.d.ts +7 -0
- package/dist/lib/components/ui/notifications/notifications.d.ts +3 -0
- package/dist/lib/components/ui/notifications/notifications.slice.d.ts +67 -0
- package/dist/lib/components/ui/notifications/notifications.slice.test.d.ts +1 -0
- package/dist/lib/components/ui/notifications/notifications.stories.d.ts +16 -0
- package/dist/lib/components/ui/notifications/notifications.utils.d.ts +8 -0
- package/dist/lib/components/ui/notifications/notifications.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/notifications/partials/notifications-bell.d.ts +1 -0
- package/dist/lib/components/ui/notifications/partials/notifications-categories.d.ts +1 -0
- package/dist/lib/components/ui/notifications/partials/notifications-empty.d.ts +1 -0
- package/dist/lib/components/ui/notifications/partials/notifications-inbox.d.ts +3 -0
- package/dist/lib/components/ui/notifications/partials/notifications-item.d.ts +4 -0
- package/dist/lib/components/ui/notifications/partials/notifications-list.d.ts +1 -0
- package/dist/lib/components/ui/notifications/partials/notifications-toolbar.d.ts +1 -0
- package/dist/lib/components/ui/notifications/types.d.ts +40 -0
- package/dist/lib/components/ui/notifications/use-notifications.d.ts +20 -0
- package/dist/lib/components/ui/notifications/use-skip-first.d.ts +1 -0
- package/dist/lib/components/ui/number-field/index.d.ts +3 -0
- package/dist/lib/components/ui/number-field/number-field.d.ts +22 -0
- package/dist/lib/components/ui/number-field/number-field.stories.d.ts +18 -0
- package/dist/lib/components/ui/number-field/parse-number.d.ts +3 -0
- package/dist/lib/components/ui/number-field/parse-number.test.d.ts +1 -0
- package/dist/lib/components/ui/opening-hours/consts.d.ts +18 -0
- package/dist/lib/components/ui/opening-hours/index.d.ts +6 -0
- package/dist/lib/components/ui/opening-hours/models.d.ts +7 -0
- package/dist/lib/components/ui/opening-hours/opening-hours-dialog.d.ts +10 -0
- package/dist/lib/components/ui/opening-hours/opening-hours-form-field.d.ts +9 -0
- package/dist/lib/components/ui/opening-hours/opening-hours-item.d.ts +11 -0
- package/dist/lib/components/ui/opening-hours/opening-hours.d.ts +12 -0
- package/dist/lib/components/ui/opening-hours/opening-hours.stories.d.ts +15 -0
- package/dist/lib/components/ui/otp-field.d.ts +9 -0
- package/dist/lib/components/ui/otp-field.stories.d.ts +30 -0
- package/dist/lib/components/ui/pagination/index.d.ts +5 -0
- package/dist/lib/components/ui/pagination/pagination-bar.d.ts +9 -0
- package/dist/lib/components/ui/pagination/pagination-items.d.ts +2 -0
- package/dist/lib/components/ui/pagination/pagination-items.test.d.ts +1 -0
- package/dist/lib/components/ui/pagination/pagination.d.ts +18 -0
- package/dist/lib/components/ui/pagination/pagination.stories.d.ts +21 -0
- package/dist/lib/components/ui/password-field.d.ts +8 -0
- package/dist/lib/components/ui/password-field.stories.d.ts +19 -0
- package/dist/lib/components/ui/password-strength-meter.d.ts +3 -0
- package/dist/lib/components/ui/password-strength.d.ts +2 -0
- package/dist/lib/components/ui/password-strength.test.d.ts +1 -0
- package/dist/lib/components/ui/pdf-viewer/index.d.ts +14 -0
- package/dist/lib/components/ui/pdf-viewer/index.test.d.ts +1 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-download.d.ts +3 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-download.test.d.ts +1 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-escape.d.ts +6 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-escape.test.d.ts +1 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-outline-sidebar.d.ts +7 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-page-list.d.ts +11 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-body.d.ts +26 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.d.ts +16 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.test.d.ts +1 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-states.d.ts +12 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.d.ts +20 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.reducer.d.ts +47 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.stories.d.ts +12 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-search.d.ts +7 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-search.test.d.ts +1 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-sidebar.d.ts +14 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-thumbnail-sidebar.d.ts +10 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-toolbar-actions.d.ts +14 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-toolbar-nav.d.ts +7 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-toolbar-search.d.ts +8 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-toolbar-zoom.d.ts +9 -0
- package/dist/lib/components/ui/pdf-viewer/pdf-toolbar.d.ts +26 -0
- package/dist/lib/components/ui/pdf-viewer/react-pdf.lazy.d.ts +34 -0
- package/dist/lib/components/ui/pdf-viewer/types.d.ts +34 -0
- package/dist/lib/components/ui/pdf-viewer/use-pdf-reader.d.ts +32 -0
- package/dist/lib/components/ui/pdf-viewer/use-pdf-search-hits.d.ts +11 -0
- package/dist/lib/components/ui/percent-field/index.d.ts +2 -0
- package/dist/lib/components/ui/percent-field/percent-field.d.ts +3 -0
- package/dist/lib/components/ui/percent-field/percent-field.stories.d.ts +16 -0
- package/dist/lib/components/ui/phone-field/countries.d.ts +8 -0
- package/dist/lib/components/ui/phone-field/index.d.ts +6 -0
- package/dist/lib/components/ui/phone-field/parse-phone.d.ts +15 -0
- package/dist/lib/components/ui/phone-field/parse-phone.test.d.ts +1 -0
- package/dist/lib/components/ui/phone-field/phone-country-menu.d.ts +6 -0
- package/dist/lib/components/ui/phone-field/phone-field.d.ts +18 -0
- package/dist/lib/components/ui/phone-field/phone-field.stories.d.ts +17 -0
- package/dist/lib/components/ui/popover.d.ts +7 -0
- package/dist/lib/components/ui/postal-address/index.d.ts +5 -0
- package/dist/lib/components/ui/postal-address/models.d.ts +11 -0
- package/dist/lib/components/ui/postal-address/postal-address-dialog.d.ts +10 -0
- package/dist/lib/components/ui/postal-address/postal-address-form-field.d.ts +8 -0
- package/dist/lib/components/ui/postal-address/postal-address.d.ts +10 -0
- package/dist/lib/components/ui/postal-address/postal-address.stories.d.ts +16 -0
- package/dist/lib/components/ui/postal-address/utils.d.ts +4 -0
- package/dist/lib/components/ui/print/components/print-badge.d.ts +7 -0
- package/dist/lib/components/ui/print/components/print-card.d.ts +11 -0
- package/dist/lib/components/ui/print/components/print-header.d.ts +8 -0
- package/dist/lib/components/ui/print/components/print-section.d.ts +12 -0
- package/dist/lib/components/ui/print/components/print-table.d.ts +14 -0
- package/dist/lib/components/ui/print/components/print-totals.d.ts +10 -0
- package/dist/lib/components/ui/print/index.d.ts +9 -0
- package/dist/lib/components/ui/print/styles.d.ts +34 -0
- package/dist/lib/components/ui/print/styles.test.d.ts +1 -0
- package/dist/lib/components/ui/print/tailwind.d.ts +5 -0
- package/dist/lib/components/ui/print/tailwind.test.d.ts +1 -0
- package/dist/lib/components/ui/print/utils.d.ts +5 -0
- package/dist/lib/components/ui/print/utils.test.d.ts +1 -0
- package/dist/lib/components/ui/qrcode.d.ts +7 -0
- package/dist/lib/components/ui/qrcode.stories.d.ts +38 -0
- package/dist/lib/components/ui/radio-group.d.ts +16 -0
- package/dist/lib/components/ui/radio-group.stories.d.ts +21 -0
- package/dist/lib/components/ui/rating-field/clamp-rating.d.ts +1 -0
- package/dist/lib/components/ui/rating-field/clamp-rating.test.d.ts +1 -0
- package/dist/lib/components/ui/rating-field/index.d.ts +3 -0
- package/dist/lib/components/ui/rating-field/rating-field.d.ts +23 -0
- package/dist/lib/components/ui/rating-field/rating-field.stories.d.ts +24 -0
- package/dist/lib/components/ui/resizable.d.ts +7 -0
- package/dist/lib/components/ui/resizable.stories.d.ts +14 -0
- package/dist/lib/components/ui/responsive-grid.d.ts +2 -0
- package/dist/lib/components/ui/responsive-grid.stories.d.ts +15 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/bubble-menu/buble-menu.d.ts +6 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/bubble-menu/index.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/code/editor-code-block.d.ts +18 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/code/index.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/color/color-picker-popover.d.ts +10 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/color/editor-color-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/color/index.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/accordion/accordion-component.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/accordion/accordion-item-edit-dialog.d.ts +8 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/accordion/accordion-item-edit-form.d.ts +7 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/accordion/const.d.ts +7 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/accordion/editor-accordion-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/accordion/extension.d.ts +13 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/accordion/index.d.ts +6 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/action-card/action-card-component.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/action-card/action-card-item-edit-dialog.d.ts +10 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/action-card/action-card-item-edit-form.d.ts +9 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/action-card/action-card-settings-dialog.d.ts +9 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/action-card/action-card-settings-form.d.ts +10 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/action-card/const.d.ts +15 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/action-card/editor-action-card-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/action-card/extension.d.ts +14 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/action-card/index.d.ts +8 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/callout/callout-component.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/callout/callout-edit-dialog.d.ts +10 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/callout/callout-edit-form.d.ts +9 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/callout/callout-insert-menu.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/callout/const.d.ts +9 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/callout/extension.d.ts +15 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/callout/index.d.ts +6 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-node-component.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/const.d.ts +8 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/editor-checkbox-group-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/extension.d.ts +16 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/index.d.ts +6 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/gallery/const.d.ts +7 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/gallery/editor-gallery-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/gallery/extension.d.ts +13 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/gallery/gallery-component.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/gallery/gallery-edit-dialog.d.ts +8 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/gallery/gallery-edit-form.d.ts +7 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/gallery/index.d.ts +6 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/index.d.ts +8 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/const.d.ts +8 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/editor-radio-group-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/extension.d.ts +16 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/index.d.ts +6 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-node-component.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-card/const.d.ts +13 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-card/editor-select-card-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-card/extension.d.ts +16 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-card/index.d.ts +8 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-card/select-card-item-edit-dialog.d.ts +9 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-card/select-card-item-edit-form.d.ts +8 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-card/select-card-node-component.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-card/select-card-settings-dialog.d.ts +11 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-card/select-card-settings-form.d.ts +12 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/const.d.ts +7 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/editor-select-chip-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/extension.d.ts +16 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/index.d.ts +6 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-node-component.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/shared/icon-options.d.ts +6 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/shared/index.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/shared/repeating-field-list.d.ts +16 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/emoji/consts.d.ts +30 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/emoji/emoji-list.d.ts +7 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/emoji/emoji-picker.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/emoji/index.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/font-family/editor-font-family-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/font-family/index.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/heading/heading-wrapper.d.ts +5 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/heading/index.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/highlight/editor-highlight-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/highlight/index.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/image/editor-image-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/image/editor-image.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/image/index.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/index.d.ts +12 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/link/editor-link-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/link/editor-link.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/link/index.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/marks/editor-mark-buttons.d.ts +6 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/marks/index.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/index.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/suggestions.d.ts +9 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/extension.d.ts +7 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/index.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-basic.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-insert.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.test.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-list.d.ts +13 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-types.d.ts +19 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/table/editor-table-menu.d.ts +5 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/table/editor-table-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/table/index.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/table/table-cell.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/table/table-properties-form.d.ts +12 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/table/table.d.ts +15 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/text-align/editor-text-align-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/text-align/index.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/youtube/editor-youtube-wrapper.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/youtube/editor-youtube.d.ts +4 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/youtube/index.d.ts +2 -0
- package/dist/lib/components/ui/rich-text-editor/index.d.ts +1 -0
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor-toolbar.d.ts +8 -0
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor-wrapper.d.ts +13 -0
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.d.ts +14 -0
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.stories.d.ts +25 -0
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.story-data.d.ts +3 -0
- package/dist/lib/components/ui/rich-text-editor/types.d.ts +29 -0
- package/dist/lib/components/ui/scroll-area.d.ts +5 -0
- package/dist/lib/components/ui/scroll-to-top.d.ts +20 -0
- package/dist/lib/components/ui/scroll-to-top.stories.d.ts +346 -0
- package/dist/lib/components/ui/search-field/debounce.d.ts +5 -0
- package/dist/lib/components/ui/search-field/debounce.test.d.ts +1 -0
- package/dist/lib/components/ui/search-field/index.d.ts +4 -0
- package/dist/lib/components/ui/search-field/search-field.d.ts +11 -0
- package/dist/lib/components/ui/search-field/search-field.stories.d.ts +18 -0
- package/dist/lib/components/ui/select-card-field.d.ts +20 -0
- package/dist/lib/components/ui/select-card-field.stories.d.ts +16 -0
- package/dist/lib/components/ui/select-chip-field.d.ts +17 -0
- package/dist/lib/components/ui/select-chip-field.stories.d.ts +16 -0
- package/dist/lib/components/ui/select-field.d.ts +20 -0
- package/dist/lib/components/ui/select-field.stories.d.ts +21 -0
- package/dist/lib/components/ui/select.d.ts +15 -0
- package/dist/lib/components/ui/separator.d.ts +4 -0
- package/dist/lib/components/ui/separator.stories.d.ts +14 -0
- package/dist/lib/components/ui/sheet.d.ts +15 -0
- package/dist/lib/components/ui/shortcut-glyph.d.ts +2 -0
- package/dist/lib/components/ui/shortcut-glyph.test.d.ts +1 -0
- package/dist/lib/components/ui/sidebar.d.ts +18 -0
- package/dist/lib/components/ui/sidebar.stories.d.ts +14 -0
- package/dist/lib/components/ui/skeleton/index.d.ts +5 -0
- package/dist/lib/components/ui/skeleton/skeleton-avatar.d.ts +12 -0
- package/dist/lib/components/ui/skeleton/skeleton-card.d.ts +4 -0
- package/dist/lib/components/ui/skeleton/skeleton-table.d.ts +6 -0
- package/dist/lib/components/ui/skeleton/skeleton-text.d.ts +6 -0
- package/dist/lib/components/ui/skeleton/skeleton.d.ts +3 -0
- package/dist/lib/components/ui/skeleton/skeleton.stories.d.ts +19 -0
- package/dist/lib/components/ui/slider-control.d.ts +6 -0
- package/dist/lib/components/ui/slider-readout.d.ts +9 -0
- package/dist/lib/components/ui/slider-ticks.d.ts +1 -0
- package/dist/lib/components/ui/slider-ticks.test.d.ts +1 -0
- package/dist/lib/components/ui/slider.d.ts +13 -0
- package/dist/lib/components/ui/slider.stories.d.ts +16 -0
- package/dist/lib/components/ui/sortable-list/index.d.ts +4 -0
- package/dist/lib/components/ui/sortable-list/partials/sortable-list-dnd.d.ts +8 -0
- package/dist/lib/components/ui/sortable-list/partials/sortable-list-empty.d.ts +3 -0
- package/dist/lib/components/ui/sortable-list/partials/sortable-list-item.d.ts +18 -0
- package/dist/lib/components/ui/sortable-list/sortable-list.d.ts +21 -0
- package/dist/lib/components/ui/sortable-list/sortable-list.keyboard.d.ts +19 -0
- package/dist/lib/components/ui/sortable-list/sortable-list.keyboard.test.d.ts +1 -0
- package/dist/lib/components/ui/sortable-list/sortable-list.stories.d.ts +21 -0
- package/dist/lib/components/ui/sortable-list/types.d.ts +11 -0
- package/dist/lib/components/ui/sortable-list/use-sortable-list.d.ts +18 -0
- package/dist/lib/components/ui/stat-card/format-stat-delta.d.ts +5 -0
- package/dist/lib/components/ui/stat-card/format-stat-delta.test.d.ts +1 -0
- package/dist/lib/components/ui/stat-card/index.d.ts +4 -0
- package/dist/lib/components/ui/stat-card/stat-card.d.ts +13 -0
- package/dist/lib/components/ui/stat-card/stat-card.stories.d.ts +17 -0
- package/dist/lib/components/ui/status-indicator.d.ts +10 -0
- package/dist/lib/components/ui/status-indicator.stories.d.ts +16 -0
- package/dist/lib/components/ui/stepper/index.d.ts +5 -0
- package/dist/lib/components/ui/stepper/step-state.d.ts +3 -0
- package/dist/lib/components/ui/stepper/step-state.test.d.ts +1 -0
- package/dist/lib/components/ui/stepper/stepper-icon.d.ts +7 -0
- package/dist/lib/components/ui/stepper/stepper-indicator.d.ts +4 -0
- package/dist/lib/components/ui/stepper/stepper.d.ts +19 -0
- package/dist/lib/components/ui/stepper/stepper.stories.d.ts +16 -0
- package/dist/lib/components/ui/stories-consts.d.ts +10 -0
- package/dist/lib/components/ui/stories-dark-theme.d.ts +2 -0
- package/dist/lib/components/ui/stx-player/consts.d.ts +7 -0
- package/dist/lib/components/ui/stx-player/format-time.d.ts +2 -0
- package/dist/lib/components/ui/stx-player/format-time.test.d.ts +1 -0
- package/dist/lib/components/ui/stx-player/index.d.ts +16 -0
- package/dist/lib/components/ui/stx-player/stx-player-controls.d.ts +7 -0
- package/dist/lib/components/ui/stx-player/stx-player-extras.d.ts +7 -0
- package/dist/lib/components/ui/stx-player/stx-player-keyboard.d.ts +17 -0
- package/dist/lib/components/ui/stx-player/stx-player-keyboard.test.d.ts +1 -0
- package/dist/lib/components/ui/stx-player/stx-player-mini.d.ts +4 -0
- package/dist/lib/components/ui/stx-player/stx-player-provider.d.ts +3 -0
- package/dist/lib/components/ui/stx-player/stx-player-queue.d.ts +4 -0
- package/dist/lib/components/ui/stx-player/stx-player-viewport.d.ts +6 -0
- package/dist/lib/components/ui/stx-player/stx-player.d.ts +2 -0
- package/dist/lib/components/ui/stx-player/stx-player.slice.d.ts +226 -0
- package/dist/lib/components/ui/stx-player/stx-player.slice.test.d.ts +1 -0
- package/dist/lib/components/ui/stx-player/stx-player.stories.d.ts +24 -0
- package/dist/lib/components/ui/stx-player/types.d.ts +82 -0
- package/dist/lib/components/ui/stx-player/use-media-bindings.d.ts +20 -0
- package/dist/lib/components/ui/stx-player/use-media-events.d.ts +11 -0
- package/dist/lib/components/ui/stx-player/use-player-shell.d.ts +20 -0
- package/dist/lib/components/ui/stx-player/use-stx-player.d.ts +4 -0
- package/dist/lib/components/ui/summary-data.d.ts +10 -0
- package/dist/lib/components/ui/summary-data.stories.d.ts +14 -0
- package/dist/lib/components/ui/switch.d.ts +9 -0
- package/dist/lib/components/ui/switch.stories.d.ts +16 -0
- package/dist/lib/components/ui/switcher.d.ts +15 -0
- package/dist/lib/components/ui/switcher.stories.d.ts +15 -0
- package/dist/lib/components/ui/table.d.ts +10 -0
- package/dist/lib/components/ui/table.stories.d.ts +14 -0
- package/dist/lib/components/ui/tabs.d.ts +9 -0
- package/dist/lib/components/ui/tabs.stories.d.ts +14 -0
- package/dist/lib/components/ui/text-field.d.ts +10 -0
- package/dist/lib/components/ui/text-field.stories.d.ts +22 -0
- package/dist/lib/components/ui/textarea-field.d.ts +10 -0
- package/dist/lib/components/ui/textarea-field.stories.d.ts +25 -0
- package/dist/lib/components/ui/textarea.d.ts +3 -0
- package/dist/lib/components/ui/textarea.stories.d.ts +26 -0
- package/dist/lib/components/ui/theme-toggle.d.ts +6 -0
- package/dist/lib/components/ui/theme-toggle.stories.d.ts +14 -0
- package/dist/lib/components/ui/time-field.d.ts +17 -0
- package/dist/lib/components/ui/time-field.stories.d.ts +15 -0
- package/dist/lib/components/ui/time-picker/index.d.ts +1 -0
- package/dist/lib/components/ui/time-picker/time-picker-utils.d.ts +3 -0
- package/dist/lib/components/ui/time-picker/time-picker-utils.test.d.ts +1 -0
- package/dist/lib/components/ui/time-picker/time-picker.d.ts +9 -0
- package/dist/lib/components/ui/time-picker/time-picker.stories.d.ts +15 -0
- package/dist/lib/components/ui/timeline/format-relative-time.d.ts +8 -0
- package/dist/lib/components/ui/timeline/format-relative-time.test.d.ts +1 -0
- package/dist/lib/components/ui/timeline/index.d.ts +8 -0
- package/dist/lib/components/ui/timeline/relative-time.d.ts +7 -0
- package/dist/lib/components/ui/timeline/timeline-item.d.ts +7 -0
- package/dist/lib/components/ui/timeline/timeline.d.ts +10 -0
- package/dist/lib/components/ui/timeline/timeline.stories.d.ts +19 -0
- package/dist/lib/components/ui/timeline/types.d.ts +14 -0
- package/dist/lib/components/ui/timezone-field/index.d.ts +4 -0
- package/dist/lib/components/ui/timezone-field/timezone-field.d.ts +5 -0
- package/dist/lib/components/ui/timezone-field/timezone-field.stories.d.ts +14 -0
- package/dist/lib/components/ui/timezone-field/timezones.d.ts +4 -0
- package/dist/lib/components/ui/timezone-field/timezones.test.d.ts +1 -0
- package/dist/lib/components/ui/toggle-group.d.ts +9 -0
- package/dist/lib/components/ui/toggle-group.stories.d.ts +25 -0
- package/dist/lib/components/ui/toggle.d.ts +9 -0
- package/dist/lib/components/ui/toggle.stories.d.ts +16 -0
- package/dist/lib/components/ui/tooltip.d.ts +10 -0
- package/dist/lib/components/ui/tooltip.stories.d.ts +15 -0
- package/dist/lib/components/ui/transfer-list/index.d.ts +3 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-actions.d.ts +18 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-board.d.ts +33 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-dnd.d.ts +13 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-droppable.d.ts +12 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-empty.d.ts +3 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-item-row.d.ts +4 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-item.d.ts +22 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-pane-body.d.ts +21 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-pane-header.d.ts +12 -0
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-pane.d.ts +35 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.d.ts +25 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.dnd.d.ts +10 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.dnd.test.d.ts +1 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.keyboard.d.ts +46 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.keyboard.test.d.ts +1 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.slice.d.ts +110 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.stories.d.ts +27 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.stories.data.d.ts +3 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.utils.d.ts +20 -0
- package/dist/lib/components/ui/transfer-list/transfer-list.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/transfer-list/types.d.ts +29 -0
- package/dist/lib/components/ui/transfer-list/use-transfer-list.d.ts +52 -0
- package/dist/lib/components/ui/tree/index.d.ts +6 -0
- package/dist/lib/components/ui/tree/tree-item.d.ts +11 -0
- package/dist/lib/components/ui/tree/tree.d.ts +3 -0
- package/dist/lib/components/ui/tree/tree.stories.d.ts +16 -0
- package/dist/lib/components/ui/tree/tree.utils.d.ts +4 -0
- package/dist/lib/components/ui/tree/tree.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/tree/types.d.ts +31 -0
- package/dist/lib/components/ui/tree/use-tree.d.ts +22 -0
- package/dist/lib/components/ui/typography.d.ts +7 -0
- package/dist/lib/components/ui/upload/index.d.ts +2 -0
- package/dist/lib/components/ui/upload/network-upload-field/index.d.ts +1 -0
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.d.ts +33 -0
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.slice.d.ts +249 -0
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.stories.d.ts +31 -0
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.d.ts +40 -0
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-item.d.ts +22 -0
- package/dist/lib/components/ui/upload/network-upload-field/use-file-drag-drop.d.ts +14 -0
- package/dist/lib/components/ui/upload/network-upload-field/use-network-upload-field.d.ts +19 -0
- package/dist/lib/components/ui/upload/network-upload-field/use-upload-items.d.ts +14 -0
- package/dist/lib/components/ui/upload/s3-upload-field/index.d.ts +1 -0
- package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.d.ts +12 -0
- package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.stories.d.ts +15 -0
- package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.utils.d.ts +5 -0
- package/dist/lib/components/ui/upload-field.d.ts +14 -0
- package/dist/lib/components/ui/upload-field.stories.d.ts +22 -0
- package/dist/lib/components/ui/url-field/index.d.ts +3 -0
- package/dist/lib/components/ui/url-field/parse-url.d.ts +2 -0
- package/dist/lib/components/ui/url-field/parse-url.test.d.ts +1 -0
- package/dist/lib/components/ui/url-field/url-field.d.ts +3 -0
- package/dist/lib/components/ui/url-field/url-field.stories.d.ts +16 -0
- package/dist/lib/components/ui/video-player/index.d.ts +2 -0
- package/dist/lib/dnd/index.d.ts +1 -0
- package/dist/lib/hooks/index.d.ts +10 -0
- package/dist/lib/hooks/resolve-theme.d.ts +7 -0
- package/dist/lib/hooks/resolve-theme.test.d.ts +1 -0
- package/dist/lib/hooks/use-allowed-transitions.d.ts +31 -0
- package/dist/lib/hooks/use-is-client.d.ts +2 -0
- package/dist/lib/hooks/use-localized-date.d.ts +21 -0
- package/dist/lib/hooks/use-mobile.d.ts +1 -0
- package/dist/lib/hooks/use-navigation.d.ts +6 -0
- package/dist/lib/hooks/use-number-formatter.d.ts +12 -0
- package/dist/lib/hooks/use-options.d.ts +29 -0
- package/dist/lib/hooks/use-search-param.d.ts +10 -0
- package/dist/lib/hooks/use-theme.d.ts +7 -0
- package/dist/lib/i18n/consts.d.ts +7 -0
- package/dist/lib/i18n/i18n-provider.d.ts +61 -0
- package/dist/lib/i18n/i18n-provider.stories.d.ts +29 -0
- package/dist/lib/i18n/index.d.ts +8 -0
- package/dist/lib/i18n/material-components.stories.d.ts +30 -0
- package/dist/lib/i18n/merge-resources.d.ts +40 -0
- package/dist/lib/i18n/merge-resources.test.d.ts +1 -0
- package/dist/lib/i18n/resources/en/index.d.ts +761 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +753 -0
- package/dist/lib/i18n/resources/fr/index.d.ts +761 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +753 -0
- package/dist/lib/i18n/resources/index.d.ts +1512 -0
- package/dist/lib/i18n/translator.d.ts +28 -0
- package/dist/lib/i18n/translator.test.d.ts +1 -0
- package/dist/lib/i18n/types.d.ts +43 -0
- package/dist/lib/i18n/use-material-translation.d.ts +21 -0
- package/dist/lib/i18n/use-typed-translation.d.ts +27 -0
- package/dist/lib/lib/array.utils.d.ts +13 -0
- package/dist/lib/lib/array.utils.test.d.ts +1 -0
- package/dist/lib/lib/build-field-options.d.ts +8 -0
- package/dist/lib/lib/build-field-options.test.d.ts +1 -0
- package/dist/lib/lib/client-only.utils.d.ts +22 -0
- package/dist/lib/lib/date.utils.d.ts +28 -0
- package/dist/lib/lib/date.utils.test.d.ts +1 -0
- package/dist/lib/lib/format.utils.d.ts +4 -0
- package/dist/lib/lib/format.utils.test.d.ts +1 -0
- package/dist/lib/lib/index.d.ts +17 -0
- package/dist/lib/lib/number.utils.d.ts +17 -0
- package/dist/lib/lib/number.utils.spec.d.ts +1 -0
- package/dist/lib/lib/object.utils.d.ts +11 -0
- package/dist/lib/lib/object.utils.test.d.ts +1 -0
- package/dist/lib/lib/promise.utils.d.ts +1 -0
- package/dist/lib/lib/promise.utils.test.d.ts +1 -0
- package/dist/lib/lib/redux/async-slice.d.ts +6 -0
- package/dist/lib/lib/redux/filter-slice.d.ts +23 -0
- package/dist/lib/lib/redux/filter-slice.test.d.ts +1 -0
- package/dist/lib/lib/redux/index.d.ts +7 -0
- package/dist/lib/lib/redux/status-slice.d.ts +50 -0
- package/dist/lib/lib/redux/status-slice.test.d.ts +1 -0
- package/dist/lib/lib/redux/step-form-slice.d.ts +48 -0
- package/dist/lib/lib/redux/step-form-slice.test.d.ts +1 -0
- package/dist/lib/lib/redux/use-actions.d.ts +2 -0
- package/dist/lib/lib/redux/use-slice-reducer.d.ts +3 -0
- package/dist/lib/lib/redux/use-slice-reducer.test.d.ts +1 -0
- package/dist/lib/lib/redux/use-slice-selector.d.ts +5 -0
- package/dist/lib/lib/storage.utils.d.ts +8 -0
- package/dist/lib/lib/storage.utils.test.d.ts +1 -0
- package/dist/lib/lib/string.utils.d.ts +6 -0
- package/dist/lib/lib/string.utils.test.d.ts +1 -0
- package/dist/lib/lib/styles.utils.d.ts +3 -0
- package/dist/lib/lib/styles.utils.test.d.ts +1 -0
- package/dist/lib/lib/ui.utils.d.ts +7 -0
- package/dist/lib/lib/upload.utils.d.ts +1 -0
- package/dist/lib/lib/upload.utils.test.d.ts +1 -0
- package/dist/lib/lib/url.utils.d.ts +2 -0
- package/dist/lib/lib/url.utils.test.d.ts +1 -0
- package/dist/lib/lib/utils.d.ts +2 -0
- package/dist/lib/lib/utils.test.d.ts +1 -0
- package/dist/lib/lib/zod-error-map.d.ts +26 -0
- package/dist/lib/lib/zod-error-map.test.d.ts +1 -0
- package/dist/lib/main.d.ts +6 -0
- package/dist/lib/models/index.d.ts +1 -0
- package/dist/lib/models/status.d.ts +5 -0
- package/dist/lib/types/functions.d.ts +36 -0
- package/dist/lib/types/index.d.ts +1 -0
- package/dist/lib-CaKARQ-7.js +2363 -0
- package/dist/lib.js +3 -0
- package/dist/main-BXsIMfbM.js +159901 -0
- package/dist/main.js +6 -0
- package/dist/material.css +3 -0
- package/dist/models.js +0 -0
- package/dist/number.utils-BR3XO6me.js +2681 -0
- package/dist/pdf.worker.min-DRpqlnXj.js +4 -0
- package/dist/styles.css +455 -0
- package/dist/types.js +0 -0
- package/package.json +188 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Language, LanguageProvider, MaterialLocaleKey, Translate } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Reads the current language from `localStorage`, falling back to
|
|
4
|
+
* {@link FALLBACK_LANGUAGE} when unavailable or unsupported.
|
|
5
|
+
*
|
|
6
|
+
* This is only the default language source of {@link createTranslator}. When an
|
|
7
|
+
* `I18nProvider` is mounted, prefer passing `() => language` so translations
|
|
8
|
+
* follow the shared React state instead of storage.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getLanguage(): Language;
|
|
11
|
+
/**
|
|
12
|
+
* Builds a translate function over a resource bundle keyed by language.
|
|
13
|
+
*
|
|
14
|
+
* Lookups are dot-path based (`lodash.get`) and messages are formatted with
|
|
15
|
+
* ICU MessageFormat, so plurals/selects/interpolations all work. An unknown key
|
|
16
|
+
* is returned verbatim, which makes missing translations obvious without
|
|
17
|
+
* throwing.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const translate = createTranslator<LocaleKey>(mergedResources);
|
|
22
|
+
* translate('material.command.title');
|
|
23
|
+
* translate('material.upload.dropzone.files-selected', { count: 3 }, () => 'fr');
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare function createTranslator<K extends string = MaterialLocaleKey>(bundle?: Record<string, any>, localeProvider?: LanguageProvider): Translate<K>;
|
|
27
|
+
/** Translator bound to the base bundle owned by `@nxgt/material`. */
|
|
28
|
+
export declare const translate: Translate<"material.filter.title" | "material.filter.reset" | "material.filter.trigger" | "material.filter.apply" | "material.filter.clear-all" | "material.code.copy" | "material.code.language" | "material.code.copied" | "material.code.word-wrap" | "material.pagination.next" | "material.pagination.previous" | "material.table.pagination.next" | "material.table.pagination.previous" | "material.table.pagination.go-to-next-page" | "material.table.pagination.go-to-previous-page" | "material.table.pagination.go-to-first-page" | "material.table.pagination.go-to-last-page" | "material.table.pagination.rows-per-page" | "material.table.pagination.rows-selected" | "material.table.pagination.page-of" | "material.table.labels.desc" | "material.table.labels.view" | "material.table.labels.hide" | "material.table.labels.asc" | "material.table.labels.actions" | "material.table.labels.delete-selected-rows" | "material.table.labels.toggle-columns" | "material.table.labels.no-data" | "material.table.delete-confirm.title" | "material.table.delete-confirm.cancel" | "material.table.delete-confirm.description" | "material.table.delete-confirm.confirm" | "material.banner.dismiss" | "material.tree.label" | "material.tree.expand" | "material.tree.collapse" | "material.copy.copy" | "material.copy.copied" | "material.command.title" | "material.command.description" | "material.language.fr" | "material.language.en" | "material.skeleton.loading" | "material.timeline.label" | "material.timeline.empty" | "material.upload.dropzone.idle" | "material.upload.dropzone.at-capacity" | "material.upload.dropzone.files-selected" | "material.empty-state.empty.title" | "material.empty-state.empty.description" | "material.empty-state.not-found.title" | "material.empty-state.not-found.description" | "material.empty-state.unauthorized.title" | "material.empty-state.unauthorized.description" | "material.empty-state.generic.title" | "material.empty-state.generic.description" | "material.image-field.replace" | "material.image-field.remove" | "material.image-field.choose" | "material.image-field.retry" | "material.buttons.add" | "material.buttons.save" | "material.buttons.load-more" | "material.buttons.ok" | "material.buttons.delete" | "material.json-viewer.expand" | "material.json-viewer.items" | "material.json-viewer.collapse" | "material.json-viewer.invalid" | "material.chat.send" | "material.chat.copy" | "material.chat.message" | "material.chat.empty" | "material.chat.retry" | "material.chat.attach" | "material.chat.remove-attachment" | "material.chat.scroll-to-latest" | "material.chat.add-reaction" | "material.chat.attachment-type" | "material.chat.attachment-max-files" | "material.chat.attachment-max-size" | "material.chat.placeholder" | "material.chat.typing" | "material.chat.empty-description" | "material.chat.send-failed" | "material.gallery.label" | "material.gallery.select" | "material.gallery.next" | "material.gallery.previous" | "material.gallery.open" | "material.gallery.repeat" | "material.gallery.close" | "material.gallery.download" | "material.gallery.play" | "material.gallery.empty" | "material.gallery.delete" | "material.gallery.empty-description" | "material.gallery.of" | "material.gallery.more" | "material.gallery.zoom-in" | "material.gallery.zoom-out" | "material.gallery.repeat-off" | "material.gallery.selected" | "material.gallery.clear-selection" | "material.notifications.label" | "material.notifications.search" | "material.notifications.dismiss" | "material.notifications.empty" | "material.notifications.empty-description" | "material.notifications.empty-unread" | "material.notifications.empty-unread-description" | "material.notifications.read-all" | "material.notifications.filter-all" | "material.notifications.filter-unread" | "material.notifications.filter-category-all" | "material.notifications.dismiss-item" | "material.education.progress" | "material.education.results" | "material.education.true" | "material.education.false" | "material.education.next" | "material.education.previous" | "material.education.submit" | "material.education.empty" | "material.education.retry" | "material.education.answer-placeholder" | "material.education.expected" | "material.education.answered" | "material.education.score" | "material.stx-player.audio" | "material.stx-player.video" | "material.stx-player.next" | "material.stx-player.previous" | "material.stx-player.repeat" | "material.stx-player.error" | "material.stx-player.loading" | "material.stx-player.pause" | "material.stx-player.play" | "material.stx-player.volume" | "material.stx-player.retry" | "material.stx-player.empty-description" | "material.stx-player.repeat-off" | "material.stx-player.mute" | "material.stx-player.unmute" | "material.stx-player.fullscreen" | "material.stx-player.exit-fullscreen" | "material.stx-player.pip" | "material.stx-player.exit-pip" | "material.stx-player.captions" | "material.stx-player.captions-off" | "material.stx-player.playback-rate" | "material.stx-player.queue" | "material.stx-player.now-playing" | "material.stx-player.buffering" | "material.stx-player.empty-title" | "material.stx-player.normal" | "material.attributes.buttons.add" | "material.attributes.buttons.save" | "material.attributes.form.label.label" | "material.attributes.form.label.placeholder" | "material.attributes.form.type.label" | "material.attributes.form.type.placeholder" | "material.attributes.form.name.label" | "material.attributes.form.name.placeholder" | "material.attributes.form.description.label" | "material.attributes.form.description.placeholder" | "material.attributes.form.default-value.label" | "material.attributes.form.default-value.placeholder" | "material.attributes.form.priority.label" | "material.attributes.form.priority.placeholder" | "material.attributes.form.options.label" | "material.attributes.form.options.placeholder" | "material.attributes.form.unit.label" | "material.attributes.form.unit.placeholder" | "material.attributes.messages.dialog" | "material.attributes.messages.empty" | "material.attributes.messages.create-succeeded" | "material.attributes.messages.update-succeeded" | "material.attributes.messages.delete-succeeded" | "material.attributes.messages.add-first" | "material.attributes.buttons.details" | "material.attributes.buttons.cancel" | "material.attributes.buttons.edit" | "material.attributes.buttons.remove" | "material.attributes.labels.attributes" | "material.attributes.labels.new-attribute" | "material.attributes.types.string" | "material.attributes.types.number" | "material.attributes.types.boolean" | "material.attributes.types.select" | "material.attributes.types.time" | "material.attributes.types.text" | "material.attributes.types.color" | "material.attributes.types.date" | "material.attributes.types.datetime" | "material.attributes.types.multi-select" | "material.attributes.types.rich-text" | "material.attributes.fields.label" | "material.attributes.fields.type" | "material.attributes.fields.name" | "material.attributes.fields.description" | "material.attributes.fields.default-value" | "material.attributes.fields.priority" | "material.attributes.fields.options" | "material.attributes.fields.unit" | "material.contacts.buttons.add" | "material.contacts.buttons.save" | "material.contacts.messages.dialog" | "material.contacts.messages.add-first" | "material.contacts.buttons.cancel" | "material.contacts.buttons.edit" | "material.contacts.buttons.remove" | "material.contacts.fields.label" | "material.contacts.fields.type" | "material.contacts.messages.no-contacts" | "material.contacts.labels.contacts" | "material.contacts.types.email" | "material.contacts.types.fax" | "material.contacts.types.mobile" | "material.contacts.types.phone" | "material.contacts.types.website" | "material.contacts.fields.value" | "material.contacts.placeholders.label" | "material.contacts.placeholders.email" | "material.contacts.placeholders.type" | "material.contacts.placeholders.value" | "material.contacts.placeholders.fax" | "material.contacts.placeholders.mobile" | "material.contacts.placeholders.phone" | "material.contacts.placeholders.website" | "material.opening-hours.buttons.add" | "material.opening-hours.buttons.save" | "material.opening-hours.messages.dialog" | "material.opening-hours.messages.add-first" | "material.opening-hours.buttons.cancel" | "material.opening-hours.buttons.edit" | "material.opening-hours.buttons.remove" | "material.opening-hours.messages.no-hours" | "material.opening-hours.buttons.add-all" | "material.opening-hours.labels.closed-all-day" | "material.opening-hours.labels.open-hours" | "material.opening-hours.fields.dayOfWeek" | "material.opening-hours.fields.openTime" | "material.opening-hours.fields.closeTime" | "material.opening-hours.fields.isClosed" | "material.opening-hours.placeholders.dayOfWeek" | "material.opening-hours.placeholders.openTime" | "material.opening-hours.placeholders.closeTime" | "material.opening-hours.days.0" | "material.opening-hours.days.1" | "material.opening-hours.days.2" | "material.opening-hours.days.3" | "material.opening-hours.days.4" | "material.opening-hours.days.5" | "material.opening-hours.days.6" | "material.opening-hours.daysShort.0" | "material.opening-hours.daysShort.1" | "material.opening-hours.daysShort.2" | "material.opening-hours.daysShort.3" | "material.opening-hours.daysShort.4" | "material.opening-hours.daysShort.5" | "material.opening-hours.daysShort.6" | "material.postal-address.buttons.add" | "material.postal-address.buttons.save" | "material.postal-address.messages.dialog" | "material.postal-address.messages.empty" | "material.postal-address.messages.add-first" | "material.postal-address.buttons.cancel" | "material.postal-address.buttons.edit" | "material.postal-address.buttons.remove" | "material.postal-address.labels.address" | "material.postal-address.fields.region" | "material.postal-address.fields.street" | "material.postal-address.fields.locality" | "material.postal-address.fields.postalCode" | "material.postal-address.fields.country" | "material.postal-address.placeholders.region" | "material.postal-address.placeholders.street" | "material.postal-address.placeholders.locality" | "material.postal-address.placeholders.postalCode" | "material.postal-address.placeholders.country" | "material.toast.buttons.close" | "material.toast.operations.error.title" | "material.toast.operations.success.title" | "material.toast.operations.loading.title" | "material.zod.default" | "material.zod.required" | "material.zod.invalid_value_single" | "material.zod.invalid_value_multiple" | "material.zod.too_big_inclusive" | "material.zod.too_big_exclusive" | "material.zod.too_big_no_unit_inclusive" | "material.zod.too_big_no_unit_exclusive" | "material.zod.too_small_inclusive" | "material.zod.too_small_exclusive" | "material.zod.too_small_no_unit_inclusive" | "material.zod.too_small_no_unit_exclusive" | "material.zod.not_multiple_of" | "material.zod.unrecognized_keys_single" | "material.zod.unrecognized_keys_multiple" | "material.zod.invalid_key" | "material.zod.invalid_union" | "material.zod.invalid_element" | "material.zod.invalid_type.string" | "material.zod.invalid_type.number" | "material.zod.invalid_type.bigint" | "material.zod.invalid_type.boolean" | "material.zod.invalid_type.symbol" | "material.zod.invalid_type.undefined" | "material.zod.invalid_type.object" | "material.zod.invalid_type.function" | "material.zod.invalid_type.default" | "material.zod.invalid_type.date" | "material.zod.invalid_type.array" | "material.zod.invalid_type.null" | "material.zod.invalid_type.enum" | "material.zod.invalid_format.includes" | "material.zod.invalid_format.default" | "material.zod.invalid_format.starts_with" | "material.zod.invalid_format.ends_with" | "material.zod.invalid_format.regex" | "material.zod.nouns.time" | "material.zod.nouns.url" | "material.zod.nouns.email" | "material.zod.nouns.date" | "material.zod.nouns.emoji" | "material.zod.nouns.nanoid" | "material.zod.nouns.cuid" | "material.zod.nouns.cuid2" | "material.zod.nouns.duration" | "material.zod.nouns.datetime" | "material.zod.nouns.regex" | "material.zod.nouns.uuid" | "material.zod.nouns.uuidv4" | "material.zod.nouns.uuidv6" | "material.zod.nouns.guid" | "material.zod.nouns.ulid" | "material.zod.nouns.xid" | "material.zod.nouns.ksuid" | "material.zod.nouns.ipv4" | "material.zod.nouns.ipv6" | "material.zod.nouns.mac" | "material.zod.nouns.cidrv4" | "material.zod.nouns.cidrv6" | "material.zod.nouns.base64" | "material.zod.nouns.base64url" | "material.zod.nouns.json_string" | "material.zod.nouns.e164" | "material.zod.nouns.jwt" | "material.zod.nouns.template_literal" | "material.zod.sizing.string.unit" | "material.zod.sizing.string.verb" | "material.zod.sizing.set.unit" | "material.zod.sizing.set.verb" | "material.zod.sizing.file.unit" | "material.zod.sizing.file.verb" | "material.zod.sizing.array.unit" | "material.zod.sizing.array.verb" | "material.pdf-reader.label" | "material.pdf-reader.search" | "material.pdf-reader.rotate" | "material.pdf-reader.error" | "material.pdf-reader.loading" | "material.pdf-reader.download" | "material.pdf-reader.print" | "material.pdf-reader.sidebar" | "material.pdf-reader.unlock" | "material.pdf-reader.empty" | "material.pdf-reader.zoom-in" | "material.pdf-reader.zoom-out" | "material.pdf-reader.fullscreen" | "material.pdf-reader.exit-fullscreen" | "material.pdf-reader.password" | "material.pdf-reader.password-placeholder" | "material.pdf-reader.pages" | "material.pdf-reader.outline" | "material.pdf-reader.outline-empty" | "material.pdf-reader.fit-width" | "material.pdf-reader.fit-page" | "material.pdf-reader.fit-width-full" | "material.pdf-reader.fit-page-full" | "material.pdf-reader.sidebar-toggle" | "material.pdf-reader.previous-page" | "material.pdf-reader.next-page" | "material.pdf-reader.current-page" | "material.pdf-reader.search-shortcut" | "material.pdf-reader.search-next" | "material.pdf-reader.search-prev" | "material.pdf-reader.night" | "material.pdf-reader.day" | "material.pdf-reader.thumbnails" | "material.pdf-reader.go-to-page" | "material.image-cropper.title" | "material.image-cropper.error" | "material.image-cropper.cancel" | "material.image-cropper.rotate-left" | "material.image-cropper.rotate-right" | "material.image-cropper.zoom" | "material.image-cropper.apply" | "material.image-cropper.free" | "material.avatar-group.more" | "material.search-field.placeholder" | "material.search-field.clear" | "material.password-field.strong" | "material.password-field.show" | "material.password-field.hide" | "material.password-field.too-weak" | "material.password-field.weak" | "material.password-field.fair" | "material.password-field.very-strong" | "material.stat-card.increase" | "material.stat-card.decrease" | "material.stat-card.unchanged" | "material.color-field.open" | "material.split-button.more" | "material.file-list.label" | "material.file-list.replace" | "material.file-list.download" | "material.file-list.remove" | "material.file-list.empty" | "material.file-list.retry" | "material.inline-edit.cancel" | "material.inline-edit.edit" | "material.inline-edit.save" | "material.inline-edit.placeholder" | "material.number-field.increase" | "material.number-field.decrease" | "material.textarea-field.count" | "material.chip.dismiss" | "material.pagination.page" | "material.pagination.more" | "material.phone-field.search" | "material.phone-field.empty" | "material.phone-field.placeholder" | "material.phone-field.country" | "material.rating-field.star" | "material.theme-toggle.light" | "material.theme-toggle.dark" | "material.theme-toggle.system" | "material.language-switcher.label" | "material.email-field.invalid" | "material.email-field.mailto" | "material.url-field.open" | "material.url-field.invalid" | "material.stepper.step" | "material.combobox-field.empty" | "material.combobox-field.placeholder" | "material.avatar.online" | "material.avatar.offline" | "material.avatar.away" | "material.avatar.busy" | "material.avatar.active" | "material.country-field.placeholder" | "material.duration-field.hours" | "material.duration-field.minutes" | "material.count-badge.label" | "material.timezone-field.placeholder" | "material.app-shell.home" | "material.app-shell.open-menu" | "material.transfer-list.search" | "material.transfer-list.max" | "material.transfer-list.selected" | "material.transfer-list.count" | "material.transfer-list.available" | "material.transfer-list.select-all" | "material.transfer-list.move-to-selected" | "material.transfer-list.move-all-to-selected" | "material.transfer-list.move-to-available" | "material.transfer-list.move-all-to-available" | "material.transfer-list.move-up" | "material.transfer-list.move-down" | "material.transfer-list.empty-available" | "material.transfer-list.empty-selected" | "material.transfer-list.empty-filter" | "material.transfer-list.locked" | "material.transfer-list.drag" | "material.sortable-list.search" | "material.sortable-list.empty" | "material.sortable-list.move-up" | "material.sortable-list.move-down" | "material.sortable-list.empty-filter" | "material.sortable-list.drag" | "material.event-calendar.search" | "material.event-calendar.title" | "material.event-calendar.color" | "material.event-calendar.next" | "material.event-calendar.previous" | "material.event-calendar.add" | "material.event-calendar.delete-confirm" | "material.event-calendar.description" | "material.event-calendar.empty" | "material.event-calendar.delete" | "material.event-calendar.more" | "material.event-calendar.day" | "material.event-calendar.drag" | "material.event-calendar.today" | "material.event-calendar.month" | "material.event-calendar.week" | "material.event-calendar.workweek" | "material.event-calendar.agenda" | "material.event-calendar.all-day" | "material.event-calendar.events" | "material.event-calendar.resize" | "material.event-calendar.new-event" | "material.event-calendar.new-all-day" | "material.event-calendar.pick-date" | "material.event-calendar.no-results" | "material.dnd.drag" | "material.kanban.search" | "material.kanban.empty" | "material.kanban.drag" | "material.kanban.no-results" | "material.kanban.wip" | "material.kanban.drag-column" | "material.kanban.ungrouped" | "material.kanban.collapse-group" | "material.kanban.expand-group" | "material.kanban.collapse-column" | "material.kanban.expand-column" | "material.kanban.add-card" | "material.kanban.new-card" | "material.kanban.card-title" | "material.kanban.subtitle" | "material.kanban.wip-full">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { resources } from './resources';
|
|
2
|
+
type PathImpl<T, K extends keyof T> = K extends string ? T[K] extends Record<string, any> ? `${K}.${Path<T[K]>}` : K : never;
|
|
3
|
+
/**
|
|
4
|
+
* Union of every dot-separated leaf path of `T`.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```ts
|
|
8
|
+
* type Keys = Path<{ a: { b: string } }>; // 'a.b'
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export type Path<T> = PathImpl<T, keyof T>;
|
|
12
|
+
/**
|
|
13
|
+
* Flattens `T` into a record whose keys are every dot-separated leaf path of
|
|
14
|
+
* `T` and whose values are all `R`. Used to derive the `LocaleKey` union of a
|
|
15
|
+
* resource bundle:
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* type LocaleKey = keyof FlatObject<typeof resources.en, string>;
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export type FlatObject<T, R> = {
|
|
23
|
+
[K in Path<T>]: R;
|
|
24
|
+
};
|
|
25
|
+
/** Languages supported by the base bundle shipped with `@nxgt/material`. */
|
|
26
|
+
export type Language = keyof typeof resources;
|
|
27
|
+
/** Every translation key owned by `@nxgt/material` itself (`material.*`). */
|
|
28
|
+
export type MaterialLocaleKey = keyof FlatObject<typeof resources.en, string>;
|
|
29
|
+
/** Values interpolated into an ICU message. */
|
|
30
|
+
export type TranslationContext = {
|
|
31
|
+
[k: string]: ((children: any) => any) | string | number | boolean | object | Record<string, any>;
|
|
32
|
+
} | undefined;
|
|
33
|
+
/** Either a language, or a function resolving the current language lazily. */
|
|
34
|
+
export type LanguageProvider = (() => Language) | Language;
|
|
35
|
+
/** A translate function produced by `createTranslator`. */
|
|
36
|
+
export type Translate<TLocaleKey extends string> = (key: TLocaleKey, context?: TranslationContext, provideLanguage?: LanguageProvider) => string;
|
|
37
|
+
/** Shared language state exposed by `I18nProvider`. */
|
|
38
|
+
export type I18nContextValue = {
|
|
39
|
+
language: Language;
|
|
40
|
+
changeLanguage: (value: Language) => void;
|
|
41
|
+
supportedLanguages: Language[];
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MaterialLocaleKey, TranslationContext } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* useMaterialTranslation - Translation hook for components shipped by this
|
|
4
|
+
* package, resilient to the provider being absent.
|
|
5
|
+
*
|
|
6
|
+
* Components in `lib/components/` must keep rendering their historical English
|
|
7
|
+
* copy in apps that have not mounted {@link I18nProvider} yet, so `t` always
|
|
8
|
+
* takes an explicit `fallback` and returns it when either no provider is
|
|
9
|
+
* mounted or the key is missing from the bundle.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* const { t } = useMaterialTranslation();
|
|
14
|
+
* <span>{t('material.command.title', 'Command Palette')}</span>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function useMaterialTranslation(): {
|
|
18
|
+
t: (key: MaterialLocaleKey, fallback: string, options?: TranslationContext) => string;
|
|
19
|
+
language: "fr" | "en" | undefined;
|
|
20
|
+
hasProvider: boolean;
|
|
21
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LanguageProvider, TranslationContext } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* createTypedTranslation - Builds an app's `useTranslation()` hook.
|
|
4
|
+
*
|
|
5
|
+
* Each consuming app instantiates this **once**, against a translator built
|
|
6
|
+
* from its own merged resources, and gets a fully typed hook back. The returned
|
|
7
|
+
* `t` re-binds on every language change, so all consumers re-render together.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // app/i18n/hooks.ts
|
|
12
|
+
* import { createTranslator, createTypedTranslation, mergeResources } from '@nxgt/material/i18n';
|
|
13
|
+
*
|
|
14
|
+
* const resources = mergeResources(materialResources, appResources);
|
|
15
|
+
* type LocaleKey = keyof FlatObject<typeof resources.en, string>;
|
|
16
|
+
*
|
|
17
|
+
* export const translate = createTranslator<LocaleKey>(resources);
|
|
18
|
+
* export const useTranslation = createTypedTranslation<LocaleKey>(translate);
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function createTypedTranslation<TLocaleKey extends string>(translate: (key: TLocaleKey, options?: TranslationContext, lang?: LanguageProvider) => string): () => {
|
|
22
|
+
t: (key: TLocaleKey, options?: TranslationContext) => string;
|
|
23
|
+
i18n: {
|
|
24
|
+
language: "fr" | "en";
|
|
25
|
+
changeLanguage: (value: import('./types').Language) => void;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function uniqueArray<T>(array: T[]): T[];
|
|
2
|
+
export declare function findByKey<T extends object, K extends keyof T>(array: T[], path: K, value: T[K]): T | undefined;
|
|
3
|
+
export declare function findByKeyIn<T extends object, K extends keyof T>(array: T[], path: K, values: T[K][]): T[];
|
|
4
|
+
export declare function useFindByKey<T extends Record<string, any>, K extends keyof T>(items: T[], key: K): {
|
|
5
|
+
findByKey: (value: T[K]) => T | undefined;
|
|
6
|
+
findByKeyIn: (values: T[K][]) => T[];
|
|
7
|
+
};
|
|
8
|
+
export declare function useFindById<T extends {
|
|
9
|
+
id: string;
|
|
10
|
+
}>(items: T[]): {
|
|
11
|
+
findByKey: (value: T["id"]) => T | undefined;
|
|
12
|
+
findByKeyIn: (values: T["id"][]) => T[];
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Path } from 'react-hook-form';
|
|
2
|
+
export declare function buildFieldOptions<T extends string>(values: T[], { valueKey, label, }: {
|
|
3
|
+
valueKey: Path<T>;
|
|
4
|
+
label: Path<T> | ((data: T) => string);
|
|
5
|
+
}): {
|
|
6
|
+
value: string extends Path<T> ? any : import('lodash').GetFieldType<T, Path<T>, "Path">;
|
|
7
|
+
label: any;
|
|
8
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Wraps a component so it renders only in the browser, after mount.
|
|
4
|
+
*
|
|
5
|
+
* For components whose dependencies are browser-only — pdf.js runs
|
|
6
|
+
* `new DOMMatrix()` at module scope, and the SSR consumers of this package
|
|
7
|
+
* evaluate every barrel in the server process at BOOT. The dependency itself
|
|
8
|
+
* must therefore be reached through a dynamic `import()` (see
|
|
9
|
+
* `components/ui/pdf-viewer/react-pdf.lazy.ts`); this wrapper supplies what
|
|
10
|
+
* that needs on the rendering side:
|
|
11
|
+
*
|
|
12
|
+
* - `useIsClient` is `false` on the server AND on the first client render, so
|
|
13
|
+
* hydration compares `null` with `null` — no mismatch, no console error;
|
|
14
|
+
* - a `Suspense` boundary for the `lazy()` pieces inside, appearing only after
|
|
15
|
+
* mount, where there is nothing to mismatch against;
|
|
16
|
+
* - a context so a wrapper nested in another wrapper's subtree renders
|
|
17
|
+
* straight through instead of blanking one more frame.
|
|
18
|
+
*
|
|
19
|
+
* A `typeof window` guard around a statement is NOT an alternative when the
|
|
20
|
+
* import is the side effect; the module has been evaluated by then.
|
|
21
|
+
*/
|
|
22
|
+
export declare function clientOnly<P extends object>(Component: ComponentType<P>): ComponentType<P>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Locale } from 'date-fns';
|
|
2
|
+
/**
|
|
3
|
+
* Formats an ISO string, optionally in a given date-fns locale.
|
|
4
|
+
*
|
|
5
|
+
* Pass `locale` to render month/day names in the user's language — the
|
|
6
|
+
* `useLocalizedDate()` hook pre-binds it from the current `I18nProvider`
|
|
7
|
+
* language, so components rarely need to resolve it themselves.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* DATE_UTILS.format('2023-10-01T12:00:00'); // 'Oct 1, 2023'
|
|
12
|
+
* DATE_UTILS.format('2023-10-01T12:00:00', 'PP', fr); // '1 oct. 2023'
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
declare function formatFromISO(value?: string | null, formatStr?: string, locale?: Locale): string;
|
|
16
|
+
declare function parseFromTimestring(timeString: string): Date;
|
|
17
|
+
declare function parseFromISOString(isoString?: string): Date | null;
|
|
18
|
+
export declare function formatDateRangeFilter(value: any): {
|
|
19
|
+
from: string | undefined;
|
|
20
|
+
to: string | undefined;
|
|
21
|
+
} | undefined;
|
|
22
|
+
export declare const DATE_UTILS: {
|
|
23
|
+
format: typeof formatFromISO;
|
|
24
|
+
parseFromTimestring: typeof parseFromTimestring;
|
|
25
|
+
parseFromISOString: typeof parseFromISOString;
|
|
26
|
+
formatDateRangeFilter: typeof formatDateRangeFilter;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function ifEmptyString<T extends string, R>(value?: T | null, fallbackValue?: R): T | R | undefined;
|
|
2
|
+
export declare function ifEmptyList<T extends string[], R>(value?: T | null, fallbackValue?: R): T | R | undefined;
|
|
3
|
+
export declare function objectToFormData<T extends object>(data: T): FormData;
|
|
4
|
+
export declare function formDataToObject<T extends object>(formData: FormData): T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './array.utils';
|
|
2
|
+
export * from './build-field-options';
|
|
3
|
+
export * from './client-only.utils';
|
|
4
|
+
export * from './date.utils';
|
|
5
|
+
export * from './format.utils';
|
|
6
|
+
export * from './number.utils';
|
|
7
|
+
export * from './object.utils';
|
|
8
|
+
export * from './promise.utils';
|
|
9
|
+
export * from './redux';
|
|
10
|
+
export * from './storage.utils';
|
|
11
|
+
export * from './string.utils';
|
|
12
|
+
export * from './styles.utils';
|
|
13
|
+
export * from './ui.utils';
|
|
14
|
+
export * from './upload.utils';
|
|
15
|
+
export * from './url.utils';
|
|
16
|
+
export * from './utils';
|
|
17
|
+
export * from './zod-error-map';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Formats a number with `Intl.NumberFormat`.
|
|
3
|
+
*
|
|
4
|
+
* `language` is per-call on purpose: this helper stays framework-free. When
|
|
5
|
+
* translation context is available, source it from `useI18nContext()` (or
|
|
6
|
+
* `useOptionalI18nContext()` inside components that must render without a
|
|
7
|
+
* provider) rather than hardcoding a locale.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const { language } = useI18nContext();
|
|
12
|
+
* formatNumber(1234.5, { language, style: 'currency', currency: 'EUR' });
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function formatNumber(value: number, options?: Intl.NumberFormatOptions & {
|
|
16
|
+
language?: string;
|
|
17
|
+
}): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function pick<Data extends object, Key extends keyof Data>(data: Data, keys: Key | Key[]): Pick<Data, Key>;
|
|
2
|
+
export declare function omit<Data extends object, Key extends keyof Data>(data: Data, keys: Key | Key[]): Omit<Data, Key>;
|
|
3
|
+
export declare function cast<T>(value: any): T;
|
|
4
|
+
export declare function castAsync<T>(value: Promise<any>): Promise<T>;
|
|
5
|
+
/**
|
|
6
|
+
* Removes properties with undefined values from an object. If the cleanNulls parameter is set to true, it also removes properties with null values.
|
|
7
|
+
* @param obj - The object to be cleaned.
|
|
8
|
+
* @param cleanNulls - A boolean indicating whether to also remove properties with null values. Defaults to false.
|
|
9
|
+
* @returns A new object with the specified properties removed.
|
|
10
|
+
*/
|
|
11
|
+
export declare function cleanObject<T extends object>(obj: T, cleanNulls?: boolean): Partial<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function delay(ms: number): Promise<unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type AsyncRejected = {
|
|
2
|
+
rejectValue: {
|
|
3
|
+
message: string;
|
|
4
|
+
};
|
|
5
|
+
};
|
|
6
|
+
export declare const createAsyncSlice: <State, CaseReducers extends import('@reduxjs/toolkit').SliceCaseReducers<State>, Name extends string, Selectors extends import('@reduxjs/toolkit').SliceSelectors<State>, ReducerPath extends string = Name>(options: import('@reduxjs/toolkit').CreateSliceOptions<State, CaseReducers, Name, ReducerPath, Selectors>) => import('@reduxjs/toolkit').Slice<State, CaseReducers, Name, ReducerPath, Selectors>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReducerCreators, SliceCaseReducers, SliceSelectors } from '@reduxjs/toolkit';
|
|
2
|
+
export declare function createSliceWithFilter<T extends {
|
|
3
|
+
filter?: any;
|
|
4
|
+
sort?: any;
|
|
5
|
+
}, Reducers extends SliceCaseReducers<T>, Selectors extends SliceSelectors<T>, Name extends string>({ name, initialState, reducers, selectors, }: {
|
|
6
|
+
name: Name;
|
|
7
|
+
initialState: T;
|
|
8
|
+
reducers?: (creators: ReducerCreators<T>) => Reducers;
|
|
9
|
+
selectors?: Selectors;
|
|
10
|
+
}): import('@reduxjs/toolkit').Slice<T, {
|
|
11
|
+
updateFilter: import('@reduxjs/toolkit').CaseReducer<T, {
|
|
12
|
+
payload: Pick<T, "sort" | "filter">;
|
|
13
|
+
type: string;
|
|
14
|
+
}> & {
|
|
15
|
+
_reducerDefinitionType: import("@reduxjs/toolkit").ReducerType.reducer;
|
|
16
|
+
};
|
|
17
|
+
resetFilter: import('@reduxjs/toolkit').CaseReducer<T, {
|
|
18
|
+
payload: void;
|
|
19
|
+
type: string;
|
|
20
|
+
}> & {
|
|
21
|
+
_reducerDefinitionType: import("@reduxjs/toolkit").ReducerType.reducer;
|
|
22
|
+
};
|
|
23
|
+
}, Name, Name, Selectors>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { PayloadAction, SliceCaseReducers, SliceSelectors, ValidateSliceCaseReducers } from '@reduxjs/toolkit';
|
|
2
|
+
import { Status } from '../../models';
|
|
3
|
+
export declare const createStatusSlice: <T, Reducers extends SliceCaseReducers<Status<T>>, Selectors extends SliceSelectors<Status<T>>, Name extends string>({ name, initialState, reducers, selectors, }: {
|
|
4
|
+
name: Name;
|
|
5
|
+
initialState?: Status<T>;
|
|
6
|
+
reducers?: ValidateSliceCaseReducers<Status<T>, Reducers>;
|
|
7
|
+
selectors?: Selectors;
|
|
8
|
+
}) => import('@reduxjs/toolkit').Slice<Status<T>, {
|
|
9
|
+
reset(state: {
|
|
10
|
+
data?: (T extends object ? import('immer').Draft<T> : T) | null | undefined;
|
|
11
|
+
status: "success" | "loading" | "idle" | "error";
|
|
12
|
+
error?: string | undefined;
|
|
13
|
+
}): void;
|
|
14
|
+
start(state: {
|
|
15
|
+
data?: (T extends object ? import('immer').Draft<T> : T) | null | undefined;
|
|
16
|
+
status: "success" | "loading" | "idle" | "error";
|
|
17
|
+
error?: string | undefined;
|
|
18
|
+
}): void;
|
|
19
|
+
success(state: Status<T>, action: PayloadAction<T>): void;
|
|
20
|
+
error(state: Status<T>, action: PayloadAction<string>): void;
|
|
21
|
+
} & Reducers & { [T_1 in keyof Reducers]: Reducers[T_1] extends {
|
|
22
|
+
reducer(s: Status<T>, action?: infer A): any;
|
|
23
|
+
} ? {
|
|
24
|
+
prepare(...a: never[]): Omit<A, "type">;
|
|
25
|
+
} : {}; }, Name, Name, Selectors>;
|
|
26
|
+
type InferValue<T> = T extends Status<infer V> ? V : never;
|
|
27
|
+
export declare const createStatusesSlice: <T extends Record<string, Status<any>>, Reducers extends SliceCaseReducers<T>, Selectors extends SliceSelectors<T>, Name extends string>({ name, initialState, reducers, selectors, }: {
|
|
28
|
+
name: Name;
|
|
29
|
+
initialState: T;
|
|
30
|
+
reducers?: ValidateSliceCaseReducers<T, Reducers>;
|
|
31
|
+
selectors?: Selectors;
|
|
32
|
+
}) => import('@reduxjs/toolkit').Slice<T, {
|
|
33
|
+
reset<K extends keyof T>(state: T, action: PayloadAction<K>): void;
|
|
34
|
+
start<K extends keyof T>(state: T, action: PayloadAction<K>): void;
|
|
35
|
+
success<K extends keyof T>(state: T, action: PayloadAction<{
|
|
36
|
+
path: K;
|
|
37
|
+
data: InferValue<T[K]>;
|
|
38
|
+
}>): void;
|
|
39
|
+
error<K extends keyof T>(state: T, action: PayloadAction<{
|
|
40
|
+
path: K;
|
|
41
|
+
message: string;
|
|
42
|
+
}>): void;
|
|
43
|
+
} & Reducers & { [T_1 in keyof Reducers]: Reducers[T_1] extends {
|
|
44
|
+
reducer(s: T, action?: infer A): any;
|
|
45
|
+
} ? {
|
|
46
|
+
prepare(...a: never[]): Omit<A, "type">;
|
|
47
|
+
} : {}; }, Name, Name, Selectors & {
|
|
48
|
+
status(state: T, path: any): "error" | "success" | "loading" | "idle";
|
|
49
|
+
}>;
|
|
50
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ReducerCreators, SliceCaseReducers, SliceSelectors } from '@reduxjs/toolkit';
|
|
2
|
+
import { FunctionOr } from '../../types';
|
|
3
|
+
export type StepFormState<T extends Record<string, any>> = {
|
|
4
|
+
isDirty: boolean;
|
|
5
|
+
step: number;
|
|
6
|
+
values: Partial<T>;
|
|
7
|
+
};
|
|
8
|
+
export declare const createStepFormSlice: <T extends Record<string, any>, Reducers extends SliceCaseReducers<StepFormState<T>> = SliceCaseReducers<StepFormState<T>>, Selectors extends SliceSelectors<StepFormState<T>> = SliceSelectors<StepFormState<T>>, Name extends string = string>({ name, initialState, reducers, selectors, }: {
|
|
9
|
+
name: Name;
|
|
10
|
+
initialState?: Partial<T>;
|
|
11
|
+
reducers?: (creators: ReducerCreators<StepFormState<T>>) => Reducers;
|
|
12
|
+
selectors?: Selectors;
|
|
13
|
+
}) => import('@reduxjs/toolkit').Slice<{
|
|
14
|
+
values: {};
|
|
15
|
+
isDirty: boolean;
|
|
16
|
+
step: number;
|
|
17
|
+
}, {
|
|
18
|
+
updateStep: import('@reduxjs/toolkit').CaseReducer<{
|
|
19
|
+
values: {};
|
|
20
|
+
isDirty: boolean;
|
|
21
|
+
step: number;
|
|
22
|
+
}, {
|
|
23
|
+
payload: FunctionOr<number>;
|
|
24
|
+
type: string;
|
|
25
|
+
}> & {
|
|
26
|
+
_reducerDefinitionType: import("@reduxjs/toolkit").ReducerType.reducer;
|
|
27
|
+
};
|
|
28
|
+
updateFormValues: import('@reduxjs/toolkit').CaseReducer<{
|
|
29
|
+
values: {};
|
|
30
|
+
isDirty: boolean;
|
|
31
|
+
step: number;
|
|
32
|
+
}, {
|
|
33
|
+
payload: FunctionOr<Partial<T>>;
|
|
34
|
+
type: string;
|
|
35
|
+
}> & {
|
|
36
|
+
_reducerDefinitionType: import("@reduxjs/toolkit").ReducerType.reducer;
|
|
37
|
+
};
|
|
38
|
+
reset: import('@reduxjs/toolkit').CaseReducer<{
|
|
39
|
+
values: {};
|
|
40
|
+
isDirty: boolean;
|
|
41
|
+
step: number;
|
|
42
|
+
}, {
|
|
43
|
+
payload: void;
|
|
44
|
+
type: string;
|
|
45
|
+
}> & {
|
|
46
|
+
_reducerDefinitionType: import("@reduxjs/toolkit").ReducerType.reducer;
|
|
47
|
+
};
|
|
48
|
+
}, Name, Name, Selectors>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CaseReducerActions, Slice, SliceCaseReducers, SliceSelectors } from '@reduxjs/toolkit';
|
|
2
|
+
export declare function resolveSliceState<State extends object>(base: State, overrides?: Partial<State>): State;
|
|
3
|
+
export declare function useSliceReducer<State extends object, CaseReducers extends SliceCaseReducers<State>, Name extends string, Selectors extends SliceSelectors<State>, ReducerPath extends string = Name>(slice: Slice<State, CaseReducers, Name, ReducerPath, Selectors>, initialState?: Partial<State>): readonly [State, { [K in keyof CaseReducerActions<CaseReducers, Name>]: (...args: Parameters<CaseReducerActions<CaseReducers, Name>[K]>) => void; }];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function safeGetItem<T>(key: string, defaultValue: T): T;
|
|
2
|
+
export declare function safeSetItem<T>(key: string, value: T): void;
|
|
3
|
+
export declare function safeRemoveItem(key: string): void;
|
|
4
|
+
export declare const LOCALE_STORE_UTILS: {
|
|
5
|
+
safeGetItem: typeof safeGetItem;
|
|
6
|
+
safeSetItem: typeof safeSetItem;
|
|
7
|
+
safeRemoveItem: typeof safeRemoveItem;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function enumToKebabCase(value?: string): string;
|
|
2
|
+
export declare function joinTruthyParts(parts: Array<string | null | undefined | false>, separator?: string): string;
|
|
3
|
+
export declare const STRING_UTILS: {
|
|
4
|
+
enumToKebabCase: typeof enumToKebabCase;
|
|
5
|
+
joinTruthyParts: typeof joinTruthyParts;
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A slot is a piece of content that can be either a ReactNode or a function that returns a ReactNode given some context.
|
|
4
|
+
*/
|
|
5
|
+
export type ContentSlot<T> = ReactNode | ((context: T) => ReactNode);
|
|
6
|
+
/** Resolves either form of a slot. */
|
|
7
|
+
export declare const renderSlot: <T>(slot: ContentSlot<T> | undefined, context: T) => ReactNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const convertToFormData: <T extends object = FormData>(data: File | (File | undefined)[], fieldName?: string) => T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* parsedType - Best-effort runtime type name for a Zod issue's `input`.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors Zod's own `parsedType` helper (not exported by the `zod` package),
|
|
5
|
+
* used to interpolate `{received}` into the `invalid_type` message.
|
|
6
|
+
*/
|
|
7
|
+
export declare const parsedType: (data: any) => string;
|
|
8
|
+
/**
|
|
9
|
+
* zodLocaleError - Zod v4 issue-code -> message error map, i18n'd through
|
|
10
|
+
* `@nxgt/material`'s own reserved `material.zod.*` namespace.
|
|
11
|
+
*
|
|
12
|
+
* Self-contained on purpose: it reads the current language directly from
|
|
13
|
+
* `localStorage` (the same key `I18nProvider` persists to) and formats
|
|
14
|
+
* against this package's own base bundle, so it produces sensible
|
|
15
|
+
* (English-fallback) messages even in an app that hasn't merged material's
|
|
16
|
+
* i18n resources or mounted `I18nProvider`.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* import { z } from 'zod';
|
|
21
|
+
* import { zodLocaleError } from '@nxgt/material/lib';
|
|
22
|
+
*
|
|
23
|
+
* z.config({ customError: zodLocaleError() });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare const zodLocaleError: () => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './status';
|