@erxes/ui 3.4.21 → 4.0.0-v2.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 +28 -58
- package/dist/base.css +124 -0
- package/dist/components/accordion.d.ts +11 -0
- package/dist/components/accordion.js +39 -0
- package/dist/components/alert-dialog.d.ts +23 -0
- package/dist/components/alert-dialog.js +60 -0
- package/dist/components/alert.d.ts +13 -0
- package/dist/components/alert.js +40 -0
- package/dist/components/avatar.d.ts +15 -0
- package/dist/components/avatar.js +41 -0
- package/dist/components/background-gradient-animation.d.ts +16 -0
- package/dist/components/background-gradient-animation.js +80 -0
- package/dist/components/badge.d.ts +9 -0
- package/dist/components/badge.js +38 -0
- package/dist/components/breadcrumb.d.ts +21 -0
- package/dist/components/breadcrumb.js +62 -0
- package/dist/components/button.d.ts +10 -0
- package/dist/components/button.js +43 -0
- package/dist/components/calendar.d.ts +4 -0
- package/dist/components/calendar.js +102 -0
- package/dist/components/card.d.ts +15 -0
- package/dist/components/card.js +42 -0
- package/dist/components/chart-config.d.ts +40 -0
- package/dist/components/chart-config.js +40 -0
- package/dist/components/charts.d.ts +27 -0
- package/dist/components/charts.js +125 -0
- package/dist/components/checkbox.d.ts +3 -0
- package/dist/components/checkbox.js +37 -0
- package/dist/components/choicebox-group.d.ts +19 -0
- package/dist/components/choicebox-group.js +46 -0
- package/dist/components/collapsible.d.ts +13 -0
- package/dist/components/collapsible.js +33 -0
- package/dist/components/color-picker.d.ts +27 -0
- package/dist/components/color-picker.js +129 -0
- package/dist/components/combobox.d.ts +48 -0
- package/dist/components/combobox.js +140 -0
- package/dist/components/command-bar.d.ts +17 -0
- package/dist/components/command-bar.js +56 -0
- package/dist/components/command.d.ts +41 -0
- package/dist/components/command.js +109 -0
- package/dist/components/context-menu.d.ts +34 -0
- package/dist/components/context-menu.js +79 -0
- package/dist/components/copy-text.d.ts +7 -0
- package/dist/components/copy-text.js +33 -0
- package/dist/components/date-picker-value.d.ts +32 -0
- package/dist/components/date-picker-value.js +120 -0
- package/dist/components/date-picker.d.ts +29 -0
- package/dist/components/date-picker.js +164 -0
- package/dist/components/date-text-input.d.ts +26 -0
- package/dist/components/date-text-input.js +87 -0
- package/dist/components/dialog.d.ts +29 -0
- package/dist/components/dialog.js +84 -0
- package/dist/components/drag-handle.d.ts +4 -0
- package/dist/components/drag-handle.js +18 -0
- package/dist/components/dropdown-menu.d.ts +34 -0
- package/dist/components/dropdown-menu.js +80 -0
- package/dist/components/empty.d.ts +18 -0
- package/dist/components/empty.js +65 -0
- package/dist/components/form.d.ts +39 -0
- package/dist/components/form.js +92 -0
- package/dist/components/hover-card.d.ts +8 -0
- package/dist/components/hover-card.js +17 -0
- package/dist/components/info-card.d.ts +12 -0
- package/dist/components/info-card.js +37 -0
- package/dist/components/input.d.ts +19 -0
- package/dist/components/input.js +54 -0
- package/dist/components/kbd.d.ts +7 -0
- package/dist/components/kbd.js +16 -0
- package/dist/components/label.d.ts +8 -0
- package/dist/components/label.js +19 -0
- package/dist/components/multiselect-options.d.ts +16 -0
- package/dist/components/multiselect-options.js +13 -0
- package/dist/components/multiselect-parts.d.ts +23 -0
- package/dist/components/multiselect-parts.js +62 -0
- package/dist/components/multiselect-state.d.ts +66 -0
- package/dist/components/multiselect-state.js +131 -0
- package/dist/components/multiselect.d.ts +6 -0
- package/dist/components/multiselect.js +153 -0
- package/dist/components/popover.d.ts +13 -0
- package/dist/components/popover.js +21 -0
- package/dist/components/radio-group.d.ts +9 -0
- package/dist/components/radio-group.js +36 -0
- package/dist/components/resizable.d.ts +27 -0
- package/dist/components/resizable.js +24 -0
- package/dist/components/scroll-area.d.ts +15 -0
- package/dist/components/scroll-area.js +41 -0
- package/dist/components/select.d.ts +22 -0
- package/dist/components/select.js +76 -0
- package/dist/components/separator.d.ts +8 -0
- package/dist/components/separator.js +21 -0
- package/dist/components/sheet.d.ts +31 -0
- package/dist/components/sheet.js +102 -0
- package/dist/components/sidebar/constants.d.ts +10 -0
- package/dist/components/sidebar/constants.js +16 -0
- package/dist/components/sidebar/context.d.ts +29 -0
- package/dist/components/sidebar/context.js +123 -0
- package/dist/components/sidebar/group.d.ts +9 -0
- package/dist/components/sidebar/group.js +38 -0
- package/dist/components/sidebar/layout.d.ts +9 -0
- package/dist/components/sidebar/layout.js +49 -0
- package/dist/components/sidebar/menu-sub.d.ts +8 -0
- package/dist/components/sidebar/menu-sub.js +36 -0
- package/dist/components/sidebar/menu.d.ts +24 -0
- package/dist/components/sidebar/menu.js +98 -0
- package/dist/components/sidebar/panel.d.ts +7 -0
- package/dist/components/sidebar/panel.js +115 -0
- package/dist/components/sidebar/root.d.ts +11 -0
- package/dist/components/sidebar/root.js +82 -0
- package/dist/components/sidebar/trigger.d.ts +3 -0
- package/dist/components/sidebar/trigger.js +27 -0
- package/dist/components/sidebar-tree-indicator.d.ts +7 -0
- package/dist/components/sidebar-tree-indicator.js +69 -0
- package/dist/components/sidebar.d.ts +38 -0
- package/dist/components/sidebar.js +40 -0
- package/dist/components/skeleton.d.ts +1 -0
- package/dist/components/skeleton.js +10 -0
- package/dist/components/slider.d.ts +6 -0
- package/dist/components/slider.js +15 -0
- package/dist/components/spinner.d.ts +14 -0
- package/dist/components/spinner.js +216 -0
- package/dist/components/string-array.d.ts +9 -0
- package/dist/components/string-array.js +44 -0
- package/dist/components/switch.d.ts +8 -0
- package/dist/components/switch.js +27 -0
- package/dist/components/table.d.ts +19 -0
- package/dist/components/table.js +54 -0
- package/dist/components/tabs.d.ts +19 -0
- package/dist/components/tabs.js +49 -0
- package/dist/components/text-overflow.d.ts +17 -0
- package/dist/components/text-overflow.js +59 -0
- package/dist/components/textarea.d.ts +2 -0
- package/dist/components/textarea.js +12 -0
- package/dist/components/time-picker.d.ts +10 -0
- package/dist/components/time-picker.js +33 -0
- package/dist/components/toaster.d.ts +1 -0
- package/dist/components/toaster.js +25 -0
- package/dist/components/toasts.d.ts +21 -0
- package/dist/components/toasts.js +69 -0
- package/dist/components/toggle-group.d.ts +10 -0
- package/dist/components/toggle-group.js +37 -0
- package/dist/components/toggle.d.ts +8 -0
- package/dist/components/toggle.js +33 -0
- package/dist/components/tooltip.d.ts +9 -0
- package/dist/components/tooltip.js +18 -0
- package/dist/components/upload.d.ts +36 -0
- package/dist/components/upload.js +179 -0
- package/dist/constants/CountryPhoneCodes.d.ts +7 -0
- package/dist/constants/CountryPhoneCodes.js +13 -0
- package/dist/constants/IntlLanguages.d.ts +74 -0
- package/dist/constants/IntlLanguages.js +76 -0
- package/dist/constants/SexCodes.d.ts +4 -0
- package/dist/constants/SexCodes.js +9 -0
- package/dist/hooks/use-confirm.d.ts +25 -0
- package/dist/hooks/use-confirm.js +133 -0
- package/dist/hooks/use-media-query.d.ts +1 -0
- package/dist/hooks/use-media-query.js +13 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-mobile.js +6 -0
- package/dist/hooks/use-query-state.d.ts +16 -0
- package/dist/hooks/use-query-state.js +122 -0
- package/dist/hooks/use-toast.d.ts +21 -0
- package/dist/hooks/use-toast.js +113 -0
- package/dist/hooks/use-upload.d.ts +34 -0
- package/dist/hooks/use-upload.js +77 -0
- package/dist/index.d.ts +103 -0
- package/dist/index.js +99 -0
- package/dist/lib/keyed-atom.d.ts +3 -0
- package/dist/lib/keyed-atom.js +6 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +7 -0
- package/dist/modules/attachments/attachment-media.d.ts +10 -0
- package/dist/modules/attachments/attachment-media.js +87 -0
- package/dist/modules/attachments/use-carousel.d.ts +10 -0
- package/dist/modules/attachments/use-carousel.js +27 -0
- package/dist/modules/blocks/components/BarcodeAttribute.d.ts +10 -0
- package/dist/modules/blocks/components/BarcodeAttribute.js +88 -0
- package/dist/modules/blocks/components/BarcodeSizeSettings.d.ts +5 -0
- package/dist/modules/blocks/components/BarcodeSizeSettings.js +105 -0
- package/dist/modules/blocks/components/BlockEditor.d.ts +2 -0
- package/dist/modules/blocks/components/BlockEditor.js +67 -0
- package/dist/modules/blocks/components/BlockEditorInlineContent.d.ts +40 -0
- package/dist/modules/blocks/components/BlockEditorInlineContent.js +56 -0
- package/dist/modules/blocks/components/BlockToolbar.d.ts +1 -0
- package/dist/modules/blocks/components/BlockToolbar.js +15 -0
- package/dist/modules/blocks/components/CustomFileBlock.d.ts +40 -0
- package/dist/modules/blocks/components/CustomFileBlock.js +52 -0
- package/dist/modules/blocks/components/CustomImageBlock.d.ts +79 -0
- package/dist/modules/blocks/components/CustomImageBlock.js +242 -0
- package/dist/modules/blocks/components/CustomVideoBlock.d.ts +64 -0
- package/dist/modules/blocks/components/CustomVideoBlock.js +67 -0
- package/dist/modules/blocks/components/DocumentPlaceholderBlock.d.ts +40 -0
- package/dist/modules/blocks/components/DocumentPlaceholderBlock.js +69 -0
- package/dist/modules/blocks/components/Editor.d.ts +2 -0
- package/dist/modules/blocks/components/Editor.js +27 -0
- package/dist/modules/blocks/components/FontFamilyButton.d.ts +1 -0
- package/dist/modules/blocks/components/FontFamilyButton.js +30 -0
- package/dist/modules/blocks/components/FontSizeButton.d.ts +1 -0
- package/dist/modules/blocks/components/FontSizeButton.js +47 -0
- package/dist/modules/blocks/components/GalleryBlock.d.ts +26 -0
- package/dist/modules/blocks/components/GalleryBlock.js +60 -0
- package/dist/modules/blocks/components/GalleryBlockContent.d.ts +2 -0
- package/dist/modules/blocks/components/GalleryBlockContent.js +81 -0
- package/dist/modules/blocks/components/GalleryBlockParts.d.ts +17 -0
- package/dist/modules/blocks/components/GalleryBlockParts.js +95 -0
- package/dist/modules/blocks/components/ImageStyleButton.d.ts +1 -0
- package/dist/modules/blocks/components/ImageStyleButton.js +38 -0
- package/dist/modules/blocks/components/SlashMenu.d.ts +2 -0
- package/dist/modules/blocks/components/SlashMenu.js +48 -0
- package/dist/modules/blocks/components/SuggestionMenu.d.ts +7 -0
- package/dist/modules/blocks/components/SuggestionMenu.js +36 -0
- package/dist/modules/blocks/components/TableColorPicker.d.ts +3 -0
- package/dist/modules/blocks/components/TableColorPicker.js +111 -0
- package/dist/modules/blocks/components/TableHandleWithRemove.d.ts +2 -0
- package/dist/modules/blocks/components/TableHandleWithRemove.js +97 -0
- package/dist/modules/blocks/components/toolbar/ToolbarContents.d.ts +1 -0
- package/dist/modules/blocks/components/toolbar/ToolbarContents.js +36 -0
- package/dist/modules/blocks/components/toolbar/ToolbarRoot.d.ts +2 -0
- package/dist/modules/blocks/components/toolbar/ToolbarRoot.js +9 -0
- package/dist/modules/blocks/components/toolbar/buttons/ToolbarButton.d.ts +3 -0
- package/dist/modules/blocks/components/toolbar/buttons/ToolbarButton.js +10 -0
- package/dist/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.d.ts +2 -0
- package/dist/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.js +20 -0
- package/dist/modules/blocks/components/toolbar/buttons/ToolbarToggle.d.ts +3 -0
- package/dist/modules/blocks/components/toolbar/buttons/ToolbarToggle.js +10 -0
- package/dist/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.d.ts +2 -0
- package/dist/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.js +9 -0
- package/dist/modules/blocks/components/toolbar/menus/ToolbarMenuItem.d.ts +2 -0
- package/dist/modules/blocks/components/toolbar/menus/ToolbarMenuItem.js +20 -0
- package/dist/modules/blocks/components/toolbar/menus/ToolbarSelect.d.ts +2 -0
- package/dist/modules/blocks/components/toolbar/menus/ToolbarSelect.js +29 -0
- package/dist/modules/blocks/constant/blockEditorSchema.d.ts +719 -0
- package/dist/modules/blocks/constant/blockEditorSchema.js +79 -0
- package/dist/modules/blocks/constant/galleryBlockConfig.d.ts +15 -0
- package/dist/modules/blocks/constant/galleryBlockConfig.js +10 -0
- package/dist/modules/blocks/constant/toolbar/codeIncompatibleControls.d.ts +1 -0
- package/dist/modules/blocks/constant/toolbar/codeIncompatibleControls.js +11 -0
- package/dist/modules/blocks/constant/toolbar/editorUIComponents.d.ts +3 -0
- package/dist/modules/blocks/constant/toolbar/editorUIComponents.js +16 -0
- package/dist/modules/blocks/constant/toolbar/fontFamilies.d.ts +4 -0
- package/dist/modules/blocks/constant/toolbar/fontFamilies.js +88 -0
- package/dist/modules/blocks/constant/toolbar/imageStyleOptions.d.ts +2 -0
- package/dist/modules/blocks/constant/toolbar/imageStyleOptions.js +25 -0
- package/dist/modules/blocks/hooks/toolbar/useCodeActive.d.ts +1 -0
- package/dist/modules/blocks/hooks/toolbar/useCodeActive.js +12 -0
- package/dist/modules/blocks/hooks/toolbar/useFontFamily.d.ts +2 -0
- package/dist/modules/blocks/hooks/toolbar/useFontFamily.js +24 -0
- package/dist/modules/blocks/hooks/toolbar/useFontSize.d.ts +2 -0
- package/dist/modules/blocks/hooks/toolbar/useFontSize.js +24 -0
- package/dist/modules/blocks/hooks/toolbar/useToolbarComponents.d.ts +2 -0
- package/dist/modules/blocks/hooks/toolbar/useToolbarComponents.js +29 -0
- package/dist/modules/blocks/hooks/useBarcodeResize.d.ts +32 -0
- package/dist/modules/blocks/hooks/useBarcodeResize.js +64 -0
- package/dist/modules/blocks/hooks/useBarcodeSizeForm.d.ts +25 -0
- package/dist/modules/blocks/hooks/useBarcodeSizeForm.js +71 -0
- package/dist/modules/blocks/hooks/useBlockEditor.d.ts +7 -0
- package/dist/modules/blocks/hooks/useBlockEditor.js +41 -0
- package/dist/modules/blocks/hooks/useBlockEditorEditable.d.ts +2 -0
- package/dist/modules/blocks/hooks/useBlockEditorEditable.js +5 -0
- package/dist/modules/blocks/hooks/useBlockEditorKeys.d.ts +13 -0
- package/dist/modules/blocks/hooks/useBlockEditorKeys.js +46 -0
- package/dist/modules/blocks/hooks/useEditorValue.d.ts +12 -0
- package/dist/modules/blocks/hooks/useEditorValue.js +50 -0
- package/dist/modules/blocks/hooks/useGalleryUpload.d.ts +11 -0
- package/dist/modules/blocks/hooks/useGalleryUpload.js +46 -0
- package/dist/modules/blocks/types/EditorBlock.d.ts +2 -0
- package/dist/modules/blocks/types/TextEditor.d.ts +28 -0
- package/dist/modules/blocks/types/toolbar/EditorVisibleBounds.d.ts +6 -0
- package/dist/modules/blocks/types/toolbar/FontFamily.d.ts +5 -0
- package/dist/modules/blocks/types/toolbar/FontSize.d.ts +5 -0
- package/dist/modules/blocks/types/toolbar/FormattingShortcut.d.ts +7 -0
- package/dist/modules/blocks/types/toolbar/ImageStyleOption.d.ts +7 -0
- package/dist/modules/blocks/types/toolbar/ToolbarFormattingButtonProps.d.ts +5 -0
- package/dist/modules/blocks/types/toolbar/ToolbarMenuItemProps.d.ts +4 -0
- package/dist/modules/blocks/types/toolbar/ToolbarPositioningOptions.d.ts +3 -0
- package/dist/modules/blocks/utils/galleryImages.d.ts +19 -0
- package/dist/modules/blocks/utils/galleryImages.js +26 -0
- package/dist/modules/blocks/utils/getSlashMenuItems.d.ts +3 -0
- package/dist/modules/blocks/utils/getSlashMenuItems.js +43 -0
- package/dist/modules/blocks/utils/isEmptyBlock.d.ts +2 -0
- package/dist/modules/blocks/utils/isEmptyBlock.js +6 -0
- package/dist/modules/blocks/utils/parseBlocks.d.ts +3 -0
- package/dist/modules/blocks/utils/parseBlocks.js +9 -0
- package/dist/modules/blocks/utils/removeCodeFormattingFromHTML.d.ts +1 -0
- package/dist/modules/blocks/utils/removeCodeFormattingFromHTML.js +11 -0
- package/dist/modules/blocks/utils/toolbar/getEditorVisibleBounds.d.ts +2 -0
- package/dist/modules/blocks/utils/toolbar/getEditorVisibleBounds.js +30 -0
- package/dist/modules/blocks/utils/toolbar/getToolbarPositioning.d.ts +2 -0
- package/dist/modules/blocks/utils/toolbar/getToolbarPositioning.js +41 -0
- package/dist/modules/blocks/utils/toolbar/isCodeFormattingShortcut.d.ts +2 -0
- package/dist/modules/blocks/utils/toolbar/isCodeFormattingShortcut.js +11 -0
- package/dist/modules/display/components/EmailDisplay.d.ts +2 -0
- package/dist/modules/display/components/EmailDisplay.js +64 -0
- package/dist/modules/display/components/PhoneDisplay.d.ts +4 -0
- package/dist/modules/display/components/PhoneDisplay.js +28 -0
- package/dist/modules/display/components/RelativeDateDisplay.d.ts +15 -0
- package/dist/modules/display/components/RelativeDateDisplay.js +26 -0
- package/dist/modules/display/components/SexDisplay.d.ts +4 -0
- package/dist/modules/display/components/SexDisplay.js +5 -0
- package/dist/modules/display/types/emailDisplay.d.ts +7 -0
- package/dist/modules/display/utils/formatEmails.d.ts +3 -0
- package/dist/modules/display/utils/formatEmails.js +12 -0
- package/dist/modules/display/utils/formatPhones.d.ts +3 -0
- package/dist/modules/display/utils/formatPhones.js +13 -0
- package/dist/modules/filter/components/Filter.d.ts +21 -0
- package/dist/modules/filter/components/Filter.js +23 -0
- package/dist/modules/filter/components/FilterBar.d.ts +16 -0
- package/dist/modules/filter/components/FilterBar.js +73 -0
- package/dist/modules/filter/components/FilterDialog.d.ts +7 -0
- package/dist/modules/filter/components/FilterDialog.js +70 -0
- package/dist/modules/filter/components/FilterPopover.d.ts +24 -0
- package/dist/modules/filter/components/FilterPopover.js +137 -0
- package/dist/modules/filter/components/FilterProvider.d.ts +5 -0
- package/dist/modules/filter/components/FilterProvider.js +30 -0
- package/dist/modules/filter/context/FilterContext.d.ts +2 -0
- package/dist/modules/filter/context/FilterContext.js +4 -0
- package/dist/modules/filter/hooks/useFilterContext.d.ts +2 -0
- package/dist/modules/filter/hooks/useFilterContext.js +9 -0
- package/dist/modules/filter/hooks/useFilterQueryState.d.ts +4 -0
- package/dist/modules/filter/hooks/useFilterQueryState.js +14 -0
- package/dist/modules/filter/states/filterStates.d.ts +4 -0
- package/dist/modules/filter/states/filterStates.js +7 -0
- package/dist/modules/filter/types/filter.d.ts +9 -0
- package/dist/modules/hotkey/components/PopoverScoped.d.ts +10 -0
- package/dist/modules/hotkey/components/PopoverScoped.js +54 -0
- package/dist/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.d.ts +2 -0
- package/dist/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.js +6 -0
- package/dist/modules/hotkey/constants/initialHotkeysScope.d.ts +2 -0
- package/dist/modules/hotkey/constants/initialHotkeysScope.js +12 -0
- package/dist/modules/hotkey/hooks/usePreviousHotkeyScope.d.ts +5 -0
- package/dist/modules/hotkey/hooks/usePreviousHotkeyScope.js +22 -0
- package/dist/modules/hotkey/hooks/useScopedHotKeysCallback.d.ts +9 -0
- package/dist/modules/hotkey/hooks/useScopedHotKeysCallback.js +15 -0
- package/dist/modules/hotkey/hooks/useScopedHotkeys.d.ts +3 -0
- package/dist/modules/hotkey/hooks/useScopedHotkeys.js +32 -0
- package/dist/modules/hotkey/hooks/useSetHotkeyScope.d.ts +2 -0
- package/dist/modules/hotkey/hooks/useSetHotkeyScope.js +14 -0
- package/dist/modules/hotkey/states/internal/currentHotkeyScopeState.d.ts +4 -0
- package/dist/modules/hotkey/states/internal/currentHotkeyScopeState.js +5 -0
- package/dist/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.d.ts +3 -0
- package/dist/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.js +4 -0
- package/dist/modules/hotkey/states/internal/pendingHotkeyState.d.ts +4 -0
- package/dist/modules/hotkey/states/internal/pendingHotkeyState.js +4 -0
- package/dist/modules/hotkey/states/internal/previousHotkeyScopeState.d.ts +4 -0
- package/dist/modules/hotkey/states/internal/previousHotkeyScopeState.js +4 -0
- package/dist/modules/hotkey/states/setHotkeyScopeState.d.ts +7 -0
- package/dist/modules/hotkey/states/setHotkeyScopeState.js +37 -0
- package/dist/modules/hotkey/types/AppHotkeyScope.d.ts +7 -0
- package/dist/modules/hotkey/types/AppHotkeyScope.js +10 -0
- package/dist/modules/hotkey/types/CustomHotkeyScope.d.ts +6 -0
- package/dist/modules/hotkey/types/HotkeyScope.d.ts +5 -0
- package/dist/modules/icons/components/IconComponent.d.ts +5 -0
- package/dist/modules/icons/components/IconComponent.js +11 -0
- package/dist/modules/icons/components/IconPicker.d.ts +5 -0
- package/dist/modules/icons/components/IconPicker.js +44 -0
- package/dist/modules/icons/components/TablerIcons.d.ts +2 -0
- package/dist/modules/icons/components/TablerIcons.js +1 -0
- package/dist/modules/icons/hooks/useIcons.d.ts +4 -0
- package/dist/modules/icons/hooks/useIcons.js +20 -0
- package/dist/modules/icons/providers/IconsProvider.d.ts +4 -0
- package/dist/modules/icons/providers/IconsProvider.js +12 -0
- package/dist/modules/icons/states/iconsState.d.ts +4 -0
- package/dist/modules/icons/states/iconsState.js +4 -0
- package/dist/modules/inputs/components/ContactFieldParts.d.ts +20 -0
- package/dist/modules/inputs/components/ContactFieldParts.js +67 -0
- package/dist/modules/inputs/components/EmailField.d.ts +11 -0
- package/dist/modules/inputs/components/EmailField.js +75 -0
- package/dist/modules/inputs/components/EmailFieldForm.d.ts +11 -0
- package/dist/modules/inputs/components/EmailFieldForm.js +74 -0
- package/dist/modules/inputs/components/FullNameField.d.ts +9 -0
- package/dist/modules/inputs/components/FullNameField.js +88 -0
- package/dist/modules/inputs/components/PhoneField.d.ts +11 -0
- package/dist/modules/inputs/components/PhoneField.js +81 -0
- package/dist/modules/inputs/components/PhoneFieldForm.d.ts +11 -0
- package/dist/modules/inputs/components/PhoneFieldForm.js +62 -0
- package/dist/modules/inputs/components/SexField.d.ts +5 -0
- package/dist/modules/inputs/components/SexField.js +18 -0
- package/dist/modules/inputs/contexts/FullNameFieldContext.d.ts +7 -0
- package/dist/modules/inputs/contexts/FullNameFieldContext.js +4 -0
- package/dist/modules/inputs/hooks/useContactFieldInput.d.ts +14 -0
- package/dist/modules/inputs/hooks/useContactFieldInput.js +34 -0
- package/dist/modules/inputs/hooks/useFullNameField.d.ts +7 -0
- package/dist/modules/inputs/hooks/useFullNameField.js +9 -0
- package/dist/modules/inputs/types/emailField.d.ts +15 -0
- package/dist/modules/inputs/types/phoneField.d.ts +13 -0
- package/dist/modules/inputs/validations/emailValidation.d.ts +4 -0
- package/dist/modules/inputs/validations/emailValidation.js +4 -0
- package/dist/modules/inputs/validations/phoneValidation.d.ts +4 -0
- package/dist/modules/inputs/validations/phoneValidation.js +4 -0
- package/dist/modules/layout/components/AppLayout.d.ts +22 -0
- package/dist/modules/layout/components/AppLayout.js +192 -0
- package/dist/modules/layout/components/AppLayoutPageSlot.d.ts +2 -0
- package/dist/modules/layout/components/AppLayoutPageSlot.js +27 -0
- package/dist/modules/layout/components/AppLayoutResizeHandle.d.ts +20 -0
- package/dist/modules/layout/components/AppLayoutResizeHandle.js +70 -0
- package/dist/modules/layout/components/Page.d.ts +5 -0
- package/dist/modules/layout/components/Page.js +20 -0
- package/dist/modules/layout/components/PageHeader.d.ts +13 -0
- package/dist/modules/layout/components/PageHeader.js +30 -0
- package/dist/modules/layout/states/appLayoutPageState.d.ts +6 -0
- package/dist/modules/layout/states/appLayoutPageState.js +5 -0
- package/dist/modules/navigation-menu/components/NavigationMenu.d.ts +11 -0
- package/dist/modules/navigation-menu/components/NavigationMenu.js +45 -0
- package/dist/modules/navigation-menu/components/NavigationMenuItemControls.d.ts +11 -0
- package/dist/modules/navigation-menu/components/NavigationMenuItemControls.js +5 -0
- package/dist/modules/record-field/components/NumberField.d.ts +12 -0
- package/dist/modules/record-field/components/NumberField.js +68 -0
- package/dist/modules/record-field/components/TextField.d.ts +12 -0
- package/dist/modules/record-field/components/TextField.js +65 -0
- package/dist/modules/record-field/meta-inputs/components/PhoneInput.d.ts +14 -0
- package/dist/modules/record-field/meta-inputs/components/PhoneInput.js +146 -0
- package/dist/modules/record-table/components/CheckboxColumn.d.ts +5 -0
- package/dist/modules/record-table/components/CheckboxColumn.js +77 -0
- package/dist/modules/record-table/components/MoreColumn.d.ts +3 -0
- package/dist/modules/record-table/components/MoreColumn.js +17 -0
- package/dist/modules/record-table/components/RecordTable.d.ts +34 -0
- package/dist/modules/record-table/components/RecordTable.js +37 -0
- package/dist/modules/record-table/components/RecordTableCell.d.ts +5 -0
- package/dist/modules/record-table/components/RecordTableCell.js +29 -0
- package/dist/modules/record-table/components/RecordTableCellInline.d.ts +14 -0
- package/dist/modules/record-table/components/RecordTableCellInline.js +59 -0
- package/dist/modules/record-table/components/RecordTableColumnSelector.d.ts +4 -0
- package/dist/modules/record-table/components/RecordTableColumnSelector.js +132 -0
- package/dist/modules/record-table/components/RecordTableContainer.d.ts +6 -0
- package/dist/modules/record-table/components/RecordTableContainer.js +33 -0
- package/dist/modules/record-table/components/RecordTableCursor.d.ts +25 -0
- package/dist/modules/record-table/components/RecordTableCursor.js +107 -0
- package/dist/modules/record-table/components/RecordTableDnDProvider.d.ts +7 -0
- package/dist/modules/record-table/components/RecordTableDnDProvider.js +31 -0
- package/dist/modules/record-table/components/RecordTableHead.d.ts +5 -0
- package/dist/modules/record-table/components/RecordTableHead.js +72 -0
- package/dist/modules/record-table/components/RecordTableHeader.d.ts +3 -0
- package/dist/modules/record-table/components/RecordTableHeader.js +55 -0
- package/dist/modules/record-table/components/RecordTableInlineHead.d.ts +5 -0
- package/dist/modules/record-table/components/RecordTableInlineHead.js +9 -0
- package/dist/modules/record-table/components/RecordTableProvider.d.ts +19 -0
- package/dist/modules/record-table/components/RecordTableProvider.js +63 -0
- package/dist/modules/record-table/components/RecordTableRoot.d.ts +2 -0
- package/dist/modules/record-table/components/RecordTableRoot.js +17 -0
- package/dist/modules/record-table/components/RecordTableRow.d.ts +5 -0
- package/dist/modules/record-table/components/RecordTableRow.js +28 -0
- package/dist/modules/record-table/components/RecordTableRowList.d.ts +6 -0
- package/dist/modules/record-table/components/RecordTableRowList.js +32 -0
- package/dist/modules/record-table/components/RecordTableRowSkeleton.d.ts +7 -0
- package/dist/modules/record-table/components/RecordTableRowSkeleton.js +32 -0
- package/dist/modules/record-table/components/RecordTableScroll.d.ts +2 -0
- package/dist/modules/record-table/components/RecordTableScroll.js +17 -0
- package/dist/modules/record-table/hooks/useColumnLayout.d.ts +25 -0
- package/dist/modules/record-table/hooks/useColumnLayout.js +78 -0
- package/dist/modules/record-table/hooks/useCursorScroll.d.ts +13 -0
- package/dist/modules/record-table/hooks/useCursorScroll.js +34 -0
- package/dist/modules/record-table/hooks/useTablePreferences.d.ts +27 -0
- package/dist/modules/record-table/hooks/useTablePreferences.js +50 -0
- package/dist/modules/record-table/states/RecordTableCursorState.d.ts +1 -0
- package/dist/modules/record-table/states/RecordTableCursorState.js +4 -0
- package/dist/modules/record-table/types/RecordTableCursorTypes.d.ts +4 -0
- package/dist/modules/record-table/types/RecordTableCursorTypes.js +7 -0
- package/dist/modules/record-table/utils/columnLayout.d.ts +36 -0
- package/dist/modules/record-table/utils/columnLayout.js +58 -0
- package/dist/modules/record-table/utils/columnUtils.d.ts +3 -0
- package/dist/modules/record-table/utils/columnUtils.js +5 -0
- package/dist/modules/record-table/utils/rowFields.d.ts +13 -0
- package/dist/modules/record-table/utils/rowFields.js +24 -0
- package/dist/state/sidebarPanelState.d.ts +1 -0
- package/dist/state/sidebarPanelState.js +4 -0
- package/dist/state/themeState.d.ts +2 -0
- package/dist/state/themeState.js +4 -0
- package/dist/styles.css +13 -0
- package/dist/theme.css +280 -0
- package/dist/types/CountryCode.d.ts +6 -0
- package/dist/types/SexCode.d.ts +6 -0
- package/dist/types/SexCode.js +9 -0
- package/dist/types/Theme.d.ts +1 -0
- package/dist/types/UIConfig.d.ts +125 -0
- package/dist/types/ValidationStatus.d.ts +4 -0
- package/dist/types/ValidationStatus.js +7 -0
- package/dist/utils/IsUndefinedOrNull.d.ts +1 -0
- package/dist/utils/IsUndefinedOrNull.js +3 -0
- package/dist/utils/core.d.ts +5 -0
- package/dist/utils/core.js +7 -0
- package/dist/utils/file-storage.d.ts +18 -0
- package/dist/utils/file-storage.js +17 -0
- package/dist/utils/format/formatPhoneNumber.d.ts +5 -0
- package/dist/utils/format/formatPhoneNumber.js +6 -0
- package/dist/utils/getPluginAssetsUrl.d.ts +1 -0
- package/dist/utils/getPluginAssetsUrl.js +8 -0
- package/dist/utils/isDefined.d.ts +1 -0
- package/dist/utils/isDefined.js +3 -0
- package/dist/utils/json.d.ts +6 -0
- package/dist/utils/json.js +18 -0
- package/dist/utils/localization/formatDateISOStringToRelativeDate.d.ts +2 -0
- package/dist/utils/localization/formatDateISOStringToRelativeDate.js +16 -0
- package/dist/utils/plugin-runtime.d.ts +51 -0
- package/dist/utils/plugin-runtime.js +93 -0
- package/dist/utils/record-timeline.d.ts +14 -0
- package/dist/utils/record-timeline.js +19 -0
- package/dist/utils/videoEmbed.d.ts +15 -0
- package/dist/utils/videoEmbed.js +33 -0
- package/package.json +71 -486
- package/LICENSE.md +0 -672
- package/chunks/chunk-27DB3V2L.js +0 -10
- package/chunks/chunk-2R3JGXIB.js +0 -121
- package/chunks/chunk-2UIHFMOO.js +0 -14
- package/chunks/chunk-2VXTM7NQ.js +0 -93
- package/chunks/chunk-34R3Q65T.js +0 -199
- package/chunks/chunk-3HIMHBLG.js +0 -33
- package/chunks/chunk-3J5VNBOP.js +0 -13
- package/chunks/chunk-3KAFS4LM.js +0 -65
- package/chunks/chunk-3WLTIKD7.js +0 -124
- package/chunks/chunk-43GXDTDI.js +0 -16
- package/chunks/chunk-45CVREXI.js +0 -25
- package/chunks/chunk-4ATZGPMG.js +0 -28
- package/chunks/chunk-4CCLUOX6.js +0 -144
- package/chunks/chunk-4EIP6AVX.js +0 -29
- package/chunks/chunk-4GSYMR2A.js +0 -31
- package/chunks/chunk-4IUFKR3Z.js +0 -43
- package/chunks/chunk-4J36M6XR.js +0 -14
- package/chunks/chunk-4JJAB43E.js +0 -7
- package/chunks/chunk-53UJM7YO.js +0 -10
- package/chunks/chunk-55FS4R5Q.js +0 -12
- package/chunks/chunk-5BDR2SO5.js +0 -15
- package/chunks/chunk-5NH4WZCY.js +0 -49
- package/chunks/chunk-5V3DI2JS.js +0 -80
- package/chunks/chunk-5Z3GGJHV.js +0 -228
- package/chunks/chunk-6AOLCRV5.js +0 -30
- package/chunks/chunk-6FIFKPLP.js +0 -37
- package/chunks/chunk-6GO23OUL.js +0 -49
- package/chunks/chunk-6H233CIJ.js +0 -15
- package/chunks/chunk-6J2ZJOES.js +0 -9
- package/chunks/chunk-6VR6SGPC.js +0 -31
- package/chunks/chunk-734JLHAF.js +0 -24
- package/chunks/chunk-73TX6ZQQ.js +0 -18
- package/chunks/chunk-7FIVWVHV.js +0 -25
- package/chunks/chunk-7GRGQLFS.js +0 -264
- package/chunks/chunk-7IPMUU22.js +0 -64
- package/chunks/chunk-7O4K7V5O.js +0 -72
- package/chunks/chunk-7QLWA64F.js +0 -18
- package/chunks/chunk-7T23XKCT.js +0 -24
- package/chunks/chunk-7TL2WV5V.js +0 -150
- package/chunks/chunk-7VGTZ76T.js +0 -9304
- package/chunks/chunk-7ZIALLII.js +0 -77
- package/chunks/chunk-A6CNIFNS.js +0 -11
- package/chunks/chunk-A6ID2P5A.js +0 -47
- package/chunks/chunk-AIRW6SHV.js +0 -29
- package/chunks/chunk-AJCSQFCK.js +0 -11
- package/chunks/chunk-ALHJUUD5.js +0 -12
- package/chunks/chunk-ANRBWR3H.js +0 -193
- package/chunks/chunk-ATAEEVLB.js +0 -41
- package/chunks/chunk-AV4CRRSS.js +0 -109
- package/chunks/chunk-B2CYD52N.js +0 -11
- package/chunks/chunk-B2WUSPB5.js +0 -50
- package/chunks/chunk-B6WEOYCY.js +0 -11
- package/chunks/chunk-BATNONIA.js +0 -31
- package/chunks/chunk-BJARUVP3.js +0 -243
- package/chunks/chunk-BNHHTDLC.js +0 -49
- package/chunks/chunk-BR6S5JY5.js +0 -14
- package/chunks/chunk-BR7WQVF4.js +0 -7
- package/chunks/chunk-C4TFL7CS.js +0 -16
- package/chunks/chunk-C6NKYLT3.js +0 -58
- package/chunks/chunk-CAV3X4PT.js +0 -14
- package/chunks/chunk-CHDXXCMI.js +0 -65
- package/chunks/chunk-CPF6PSFR.js +0 -56
- package/chunks/chunk-CUFSLOE4.js +0 -12
- package/chunks/chunk-CXEGOUML.js +0 -324
- package/chunks/chunk-D3VC2SRW.js +0 -46
- package/chunks/chunk-D63SZO4E.js +0 -71
- package/chunks/chunk-D6HNEGMV.js +0 -181
- package/chunks/chunk-DCCZEG7Z.js +0 -55
- package/chunks/chunk-DHS7XAKB.js +0 -23
- package/chunks/chunk-DJMMAGMX.js +0 -363
- package/chunks/chunk-DKEJIAFP.js +0 -11
- package/chunks/chunk-DUSKF3PG.js +0 -97
- package/chunks/chunk-DUVG2QQC.js +0 -63
- package/chunks/chunk-E5FW3ERE.js +0 -207
- package/chunks/chunk-EEW7RLNA.js +0 -87
- package/chunks/chunk-EKACQ5FS.js +0 -45
- package/chunks/chunk-ELBCBP27.js +0 -51
- package/chunks/chunk-F2VATUUS.js +0 -46
- package/chunks/chunk-FDI6FB6D.js +0 -13
- package/chunks/chunk-FEXWVX6N.js +0 -7
- package/chunks/chunk-FEYF56QM.js +0 -55
- package/chunks/chunk-FIMKTPWK.js +0 -71
- package/chunks/chunk-FJLBHW7X.js +0 -190
- package/chunks/chunk-FJTUANXN.js +0 -10
- package/chunks/chunk-FL4BZTMQ.js +0 -71
- package/chunks/chunk-FSE4KVKE.js +0 -74
- package/chunks/chunk-FTTQ6J3Y.js +0 -28
- package/chunks/chunk-G2QQZN4L.js +0 -162
- package/chunks/chunk-GAYFYYXL.js +0 -14
- package/chunks/chunk-GEVRIBPF.js +0 -173
- package/chunks/chunk-GHBZJCIA.js +0 -28
- package/chunks/chunk-GIBFUQI4.js +0 -8
- package/chunks/chunk-GNV7UG3U.js +0 -13
- package/chunks/chunk-GTW4DI5C.js +0 -28
- package/chunks/chunk-GXARUX2O.js +0 -19
- package/chunks/chunk-GZ7VO7KA.js +0 -81
- package/chunks/chunk-GZNR5Y3B.js +0 -0
- package/chunks/chunk-H32OMVSR.js +0 -8
- package/chunks/chunk-H5OTBPGB.js +0 -14
- package/chunks/chunk-HHT5SPZG.js +0 -218
- package/chunks/chunk-HSEBNAEA.js +0 -12
- package/chunks/chunk-HT6R7GVC.js +0 -31
- package/chunks/chunk-I2LZMWEI.js +0 -118
- package/chunks/chunk-I3G3HVMC.js +0 -16
- package/chunks/chunk-I3I7T4UD.js +0 -21
- package/chunks/chunk-I5PPLXSZ.js +0 -125
- package/chunks/chunk-I7XARNX4.js +0 -32
- package/chunks/chunk-IGQ6UQUM.js +0 -94
- package/chunks/chunk-IIK24XSW.js +0 -601
- package/chunks/chunk-IJVY23RC.js +0 -20
- package/chunks/chunk-IKDLWUZ7.js +0 -19
- package/chunks/chunk-IM5IHH3X.js +0 -23
- package/chunks/chunk-IMKAHINH.js +0 -7
- package/chunks/chunk-IN7H6TNM.js +0 -28
- package/chunks/chunk-INFZPSGC.js +0 -44
- package/chunks/chunk-IQR2LD6K.js +0 -41
- package/chunks/chunk-ITLNFLKR.js +0 -35
- package/chunks/chunk-IWPK637H.js +0 -105
- package/chunks/chunk-J4T4WIBM.js +0 -51
- package/chunks/chunk-J65EQMDN.js +0 -76
- package/chunks/chunk-J75NVPXJ.js +0 -0
- package/chunks/chunk-JKEWLTH7.js +0 -160
- package/chunks/chunk-JKZ776CQ.js +0 -58
- package/chunks/chunk-JMDEHBWJ.js +0 -179
- package/chunks/chunk-JPCD46D4.js +0 -0
- package/chunks/chunk-JSZTGL4T.js +0 -7
- package/chunks/chunk-JVFLCNKB.js +0 -67
- package/chunks/chunk-JWRKTKTI.js +0 -57
- package/chunks/chunk-K4QWFHHP.js +0 -106
- package/chunks/chunk-KTBDECJI.js +0 -62
- package/chunks/chunk-KTNEDC7K.js +0 -20
- package/chunks/chunk-KW4MCMRZ.js +0 -125
- package/chunks/chunk-KXW36NG2.js +0 -30
- package/chunks/chunk-L5TCGIYY.js +0 -42
- package/chunks/chunk-LE4PIQPL.js +0 -0
- package/chunks/chunk-LPNW25XF.js +0 -45
- package/chunks/chunk-LVNNZDXL.js +0 -59
- package/chunks/chunk-M66JMKRR.js +0 -11
- package/chunks/chunk-MM5MMNXN.js +0 -19
- package/chunks/chunk-MNNGKWCI.js +0 -56
- package/chunks/chunk-MSAEUPAX.js +0 -35
- package/chunks/chunk-MSSVDJPS.js +0 -72
- package/chunks/chunk-MZ4RKADP.js +0 -27
- package/chunks/chunk-N4UKAPHL.js +0 -36
- package/chunks/chunk-N6SOBDY7.js +0 -11
- package/chunks/chunk-NCKIHIJR.js +0 -9
- package/chunks/chunk-NDGKMVC7.js +0 -10
- package/chunks/chunk-NDIVNBGK.js +0 -212
- package/chunks/chunk-NJFDVNW5.js +0 -13
- package/chunks/chunk-NJJVZ3JY.js +0 -9
- package/chunks/chunk-NLHLWEDB.js +0 -92
- package/chunks/chunk-NLJ6XLH7.js +0 -6
- package/chunks/chunk-NNF3YJY2.js +0 -70
- package/chunks/chunk-NSAKTQ2Q.js +0 -17
- package/chunks/chunk-NUGJ3NYH.js +0 -149
- package/chunks/chunk-O6IUPS6U.js +0 -7
- package/chunks/chunk-O735ESAQ.js +0 -35
- package/chunks/chunk-O76CR475.js +0 -79
- package/chunks/chunk-OADHO5WP.js +0 -231
- package/chunks/chunk-ODVGCL6C.js +0 -33
- package/chunks/chunk-OKRWCATR.js +0 -12
- package/chunks/chunk-OMGBQTKQ.js +0 -225
- package/chunks/chunk-ONOUIZ6L.js +0 -20
- package/chunks/chunk-OOAGMFCJ.js +0 -0
- package/chunks/chunk-OQSM2FFV.js +0 -37
- package/chunks/chunk-OSSJ2FMG.js +0 -9
- package/chunks/chunk-PDVNR7LI.js +0 -24
- package/chunks/chunk-PNTO4UDY.js +0 -0
- package/chunks/chunk-PPQ4DIII.js +0 -0
- package/chunks/chunk-PPRBTD5G.js +0 -38
- package/chunks/chunk-PUDZPB4P.js +0 -24
- package/chunks/chunk-Q3CMFGM7.js +0 -81
- package/chunks/chunk-QPHY7OAH.js +0 -13
- package/chunks/chunk-QPJFUBIS.js +0 -7
- package/chunks/chunk-QS54MMOE.js +0 -48
- package/chunks/chunk-QTKFDPZO.js +0 -7
- package/chunks/chunk-QWLVJ3B3.js +0 -40
- package/chunks/chunk-QY5RA3NM.js +0 -19
- package/chunks/chunk-R2RAAS4Y.js +0 -39
- package/chunks/chunk-R3MJDVPP.js +0 -0
- package/chunks/chunk-R3V3G4FN.js +0 -59
- package/chunks/chunk-R7LIWID7.js +0 -73
- package/chunks/chunk-R7LWDDDY.js +0 -26
- package/chunks/chunk-R7PWUR7Z.js +0 -84
- package/chunks/chunk-RGR6MIXH.js +0 -64
- package/chunks/chunk-RREVMRKX.js +0 -95
- package/chunks/chunk-RRL4XQSY.js +0 -24
- package/chunks/chunk-RTKGTC5M.js +0 -21
- package/chunks/chunk-RZM4UL7J.js +0 -132
- package/chunks/chunk-S2HOHADT.js +0 -20
- package/chunks/chunk-S2UZYA2K.js +0 -142
- package/chunks/chunk-SBVVGYRA.js +0 -23
- package/chunks/chunk-SIWINSCP.js +0 -0
- package/chunks/chunk-SL6UK5XI.js +0 -0
- package/chunks/chunk-SN5JDDNY.js +0 -184
- package/chunks/chunk-SRNSMVXB.js +0 -192
- package/chunks/chunk-TRZXPKUK.js +0 -17
- package/chunks/chunk-TUQK5HP5.js +0 -10
- package/chunks/chunk-U363OCVD.js +0 -61
- package/chunks/chunk-U3Q5J7XQ.js +0 -12
- package/chunks/chunk-U46BZAPJ.js +0 -134
- package/chunks/chunk-U64G5PZP.js +0 -129
- package/chunks/chunk-UC7SM7BM.js +0 -55
- package/chunks/chunk-UD2ZXWEI.js +0 -115
- package/chunks/chunk-UKLVO5YZ.js +0 -47
- package/chunks/chunk-ULRPDB6S.js +0 -79
- package/chunks/chunk-UOEXGF6S.js +0 -7
- package/chunks/chunk-UQJA4TBO.js +0 -32
- package/chunks/chunk-UQYVKPRU.js +0 -6
- package/chunks/chunk-UXDXIN6Q.js +0 -65
- package/chunks/chunk-UZREMEFG.js +0 -10
- package/chunks/chunk-V42CIN6H.js +0 -55
- package/chunks/chunk-VAQZFKAX.js +0 -12
- package/chunks/chunk-VBW6O2FL.js +0 -51
- package/chunks/chunk-VBZAZNZK.js +0 -160
- package/chunks/chunk-VZTFOYF3.js +0 -65
- package/chunks/chunk-W3NXVJX4.js +0 -18
- package/chunks/chunk-W5KVCFS2.js +0 -126
- package/chunks/chunk-WAES3OQO.js +0 -21
- package/chunks/chunk-WC5GDWV2.js +0 -164
- package/chunks/chunk-WFVSF7GY.js +0 -17
- package/chunks/chunk-WJC7I7VI.js +0 -58
- package/chunks/chunk-WKBUEFOB.js +0 -7
- package/chunks/chunk-WKCCSZLB.js +0 -0
- package/chunks/chunk-WLKDIP4Y.js +0 -17
- package/chunks/chunk-WOOM5JC4.js +0 -82
- package/chunks/chunk-WS4SMSBU.js +0 -244
- package/chunks/chunk-WUKJ4QY7.js +0 -14
- package/chunks/chunk-WX3NKKHS.js +0 -12
- package/chunks/chunk-X2W2IRYX.js +0 -94
- package/chunks/chunk-XAEONXTN.js +0 -360
- package/chunks/chunk-XBMSMK3U.js +0 -0
- package/chunks/chunk-XD4PKWF4.js +0 -94
- package/chunks/chunk-XD4TBZYB.js +0 -44
- package/chunks/chunk-XEQJYWZP.js +0 -67
- package/chunks/chunk-XGRCG2DK.js +0 -344
- package/chunks/chunk-XHYJBJV7.js +0 -0
- package/chunks/chunk-XJKGUTA5.js +0 -0
- package/chunks/chunk-XQGH7WSU.js +0 -18
- package/chunks/chunk-XREHNAPK.js +0 -172
- package/chunks/chunk-XWJKQS3Q.js +0 -60
- package/chunks/chunk-XX3GPHFO.js +0 -25
- package/chunks/chunk-Y4PHXFJG.js +0 -8
- package/chunks/chunk-YDWH4BVW.js +0 -9
- package/chunks/chunk-YG5KZSTP.js +0 -16
- package/chunks/chunk-YH5K7V44.js +0 -161
- package/chunks/chunk-YLDPFS3W.js +0 -78
- package/chunks/chunk-YV4XDAHC.js +0 -84
- package/chunks/chunk-YZMSGM54.js +0 -9
- package/chunks/chunk-YZNP3ZEJ.js +0 -36
- package/chunks/chunk-YZXFCISZ.js +0 -54
- package/chunks/chunk-Z2GG4YSV.js +0 -49
- package/chunks/chunk-Z37GI372.js +0 -34
- package/chunks/chunk-Z3U4QH2C.js +0 -9
- package/chunks/chunk-Z4JRW5OO.js +0 -0
- package/chunks/chunk-ZBV3RCPW.js +0 -19
- package/chunks/chunk-ZGLCEJEN.js +0 -37
- package/chunks/chunk-ZQBIGO4Q.js +0 -30
- package/chunks/chunk-ZSFHU5S3.js +0 -25
- package/chunks/chunk-ZXLAVUFZ.js +0 -56
- package/components/accordion.d.ts +0 -7
- package/components/accordion.js +0 -9
- package/components/alert-dialog.d.ts +0 -20
- package/components/alert-dialog.js +0 -11
- package/components/alert.d.ts +0 -13
- package/components/alert.js +0 -9
- package/components/avatar.d.ts +0 -13
- package/components/avatar.js +0 -11
- package/components/background-gradient-animation.d.ts +0 -16
- package/components/background-gradient-animation.js +0 -11
- package/components/badge.d.ts +0 -9
- package/components/badge.js +0 -13
- package/components/breadcrumb.d.ts +0 -19
- package/components/breadcrumb.js +0 -10
- package/components/button.d.ts +0 -10
- package/components/button.js +0 -12
- package/components/calendar.d.ts +0 -5
- package/components/calendar.js +0 -14
- package/components/card.d.ts +0 -8
- package/components/card.js +0 -10
- package/components/charts.d.ts +0 -61
- package/components/charts.js +0 -19
- package/components/checkbox.d.ts +0 -3
- package/components/checkbox.js +0 -10
- package/components/choicebox-group.d.ts +0 -16
- package/components/choicebox-group.js +0 -274
- package/components/collapsible.d.ts +0 -10
- package/components/collapsible.js +0 -278
- package/components/color-picker.d.ts +0 -34
- package/components/color-picker.js +0 -276
- package/components/combobox.d.ts +0 -99
- package/components/combobox.js +0 -32
- package/components/command-bar.d.ts +0 -17
- package/components/command-bar.js +0 -11
- package/components/command.d.ts +0 -205
- package/components/command.js +0 -12
- package/components/context-menu.d.ts +0 -27
- package/components/context-menu.js +0 -9
- package/components/copy-text.d.ts +0 -7
- package/components/copy-text.js +0 -11
- package/components/date-picker.d.ts +0 -30
- package/components/date-picker.js +0 -14
- package/components/dialog.d.ts +0 -30
- package/components/dialog.js +0 -11
- package/components/drag-handle.d.ts +0 -3
- package/components/drag-handle.js +0 -11
- package/components/dropdown-menu.d.ts +0 -27
- package/components/dropdown-menu.js +0 -9
- package/components/empty.d.ts +0 -18
- package/components/empty.js +0 -9
- package/components/erxes-logo-icon.d.ts +0 -1
- package/components/erxes-logo-icon.js +0 -8
- package/components/form.d.ts +0 -25
- package/components/form.js +0 -10
- package/components/hover-card.d.ts +0 -6
- package/components/hover-card.js +0 -9
- package/components/index.d.ts +0 -60
- package/components/index.js +0 -517
- package/components/info-card.d.ts +0 -9
- package/components/info-card.js +0 -12
- package/components/input-otp.d.ts +0 -36
- package/components/input-otp.js +0 -9
- package/components/input.d.ts +0 -296
- package/components/input.js +0 -13
- package/components/kbd.d.ts +0 -7
- package/components/kbd.js +0 -10
- package/components/label.d.ts +0 -6
- package/components/label.js +0 -9
- package/components/multiselect.d.ts +0 -72
- package/components/multiselect.js +0 -274
- package/components/popover.d.ts +0 -12
- package/components/popover.js +0 -11
- package/components/radio-group.d.ts +0 -6
- package/components/radio-group.js +0 -10
- package/components/resizable.d.ts +0 -24
- package/components/resizable.js +0 -10
- package/components/scroll-area.d.ts +0 -13
- package/components/scroll-area.js +0 -9
- package/components/search-order-select.d.ts +0 -8
- package/components/search-order-select.js +0 -11
- package/components/select.d.ts +0 -14
- package/components/select.js +0 -10
- package/components/separator.d.ts +0 -5
- package/components/separator.js +0 -9
- package/components/sheet.d.ts +0 -39
- package/components/sheet.js +0 -15
- package/components/sidebar/constants.d.ts +0 -11
- package/components/sidebar/constants.js +0 -24
- package/components/sidebar/context.d.ts +0 -26
- package/components/sidebar/context.js +0 -25
- package/components/sidebar/group.d.ts +0 -9
- package/components/sidebar/group.js +0 -15
- package/components/sidebar/hooks.d.ts +0 -2
- package/components/sidebar/hooks.js +0 -6
- package/components/sidebar/layout.d.ts +0 -11
- package/components/sidebar/layout.js +0 -20
- package/components/sidebar/menu-sub.d.ts +0 -8
- package/components/sidebar/menu-sub.js +0 -15
- package/components/sidebar/menu.d.ts +0 -22
- package/components/sidebar/menu.js +0 -33
- package/components/sidebar/panel.d.ts +0 -6
- package/components/sidebar/panel.js +0 -16
- package/components/sidebar/root.d.ts +0 -9
- package/components/sidebar/root.js +0 -29
- package/components/sidebar/trigger.d.ts +0 -2
- package/components/sidebar/trigger.js +0 -24
- package/components/sidebar-tree-indicator.d.ts +0 -8
- package/components/sidebar-tree-indicator.js +0 -11
- package/components/sidebar.d.ts +0 -78
- package/components/sidebar.js +0 -39
- package/components/skeleton.d.ts +0 -4
- package/components/skeleton.js +0 -11
- package/components/slider.d.ts +0 -6
- package/components/slider.js +0 -10
- package/components/spinner.d.ts +0 -14
- package/components/spinner.js +0 -10
- package/components/stepper.d.ts +0 -28
- package/components/stepper.js +0 -10
- package/components/string-array.d.ts +0 -16
- package/components/string-array.js +0 -12
- package/components/switch.d.ts +0 -6
- package/components/switch.js +0 -9
- package/components/table.d.ts +0 -10
- package/components/table.js +0 -9
- package/components/tabs.d.ts +0 -13
- package/components/tabs.js +0 -10
- package/components/text-overflow.d.ts +0 -15
- package/components/text-overflow.js +0 -12
- package/components/textarea.d.ts +0 -2
- package/components/textarea.js +0 -9
- package/components/time-picker.d.ts +0 -11
- package/components/time-picker.js +0 -16
- package/components/toaster.d.ts +0 -1
- package/components/toaster.js +0 -11
- package/components/toasts.d.ts +0 -19
- package/components/toasts.js +0 -9
- package/components/toggle-group.d.ts +0 -12
- package/components/toggle-group.js +0 -10
- package/components/toggle.d.ts +0 -11
- package/components/toggle.js +0 -11
- package/components/tooltip.d.ts +0 -7
- package/components/tooltip.js +0 -9
- package/components/upload-new.d.ts +0 -16
- package/components/upload-new.js +0 -22
- package/components/upload.d.ts +0 -23
- package/components/upload.js +0 -274
- package/constants/AttachmentGql.d.ts +0 -1
- package/constants/AttachmentGql.js +0 -6
- package/constants/CountryPhoneCodes.d.ts +0 -2
- package/constants/CountryPhoneCodes.js +0 -6
- package/constants/CurrencyCodes.d.ts +0 -6
- package/constants/CurrencyCodes.js +0 -6
- package/constants/EmailValidationStatusInfos.d.ts +0 -11
- package/constants/EmailValidationStatusInfos.js +0 -10
- package/constants/GraphqlConstants.d.ts +0 -3
- package/constants/GraphqlConstants.js +0 -10
- package/constants/IanaTimeZones.d.ts +0 -5
- package/constants/IanaTimeZones.js +0 -6
- package/constants/IntlLanguages.d.ts +0 -74
- package/constants/IntlLanguages.js +0 -6
- package/constants/PhoneValidationStatusInfos.d.ts +0 -12
- package/constants/PhoneValidationStatusInfos.js +0 -10
- package/constants/SexCodes.d.ts +0 -4
- package/constants/SexCodes.js +0 -18
- package/constants/index.d.ts +0 -5
- package/constants/index.js +0 -39
- package/hooks/index.d.ts +0 -9
- package/hooks/index.js +0 -310
- package/hooks/use-confirm.d.ts +0 -29
- package/hooks/use-confirm.js +0 -276
- package/hooks/use-cursor-pagination.d.ts +0 -10
- package/hooks/use-cursor-pagination.js +0 -34
- package/hooks/use-is-matching-location.d.ts +0 -1
- package/hooks/use-is-matching-location.js +0 -8
- package/hooks/use-media-query.d.ts +0 -1
- package/hooks/use-media-query.js +0 -8
- package/hooks/use-mobile.d.ts +0 -1
- package/hooks/use-mobile.js +0 -9
- package/hooks/use-query-state.d.ts +0 -25
- package/hooks/use-query-state.js +0 -16
- package/hooks/use-toast.d.ts +0 -21
- package/hooks/use-toast.js +0 -10
- package/hooks/use-upload-chunked.d.ts +0 -13
- package/hooks/use-upload-chunked.js +0 -33
- package/hooks/use-upload-new.d.ts +0 -73
- package/hooks/use-upload-new.js +0 -35
- package/hooks/use-upload.d.ts +0 -45
- package/hooks/use-upload.js +0 -274
- package/index.d.ts +0 -8
- package/index.js +0 -1035
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -13
- package/lib/utils.d.ts +0 -11
- package/lib/utils.js +0 -12
- package/modules/attachments/attachments.d.ts +0 -38
- package/modules/attachments/attachments.js +0 -274
- package/modules/attachments/context.d.ts +0 -12
- package/modules/attachments/context.js +0 -10
- package/modules/attachments/index.d.ts +0 -5
- package/modules/attachments/index.js +0 -280
- package/modules/attachments/types.d.ts +0 -19
- package/modules/attachments/types.js +0 -6
- package/modules/blocks/components/BarcodeAttribute.d.ts +0 -10
- package/modules/blocks/components/BarcodeAttribute.js +0 -18
- package/modules/blocks/components/BlockEditor.d.ts +0 -3
- package/modules/blocks/components/BlockEditor.js +0 -279
- package/modules/blocks/components/BlockEditorComments.d.ts +0 -6
- package/modules/blocks/components/BlockEditorComments.js +0 -274
- package/modules/blocks/components/BlockEditorInlineContent.d.ts +0 -40
- package/modules/blocks/components/BlockEditorInlineContent.js +0 -21
- package/modules/blocks/components/BlockEditorReadOnly.d.ts +0 -5
- package/modules/blocks/components/BlockEditorReadOnly.js +0 -274
- package/modules/blocks/components/BlockToolbar.d.ts +0 -1
- package/modules/blocks/components/BlockToolbar.js +0 -274
- package/modules/blocks/components/CustomFileBlock.d.ts +0 -40
- package/modules/blocks/components/CustomFileBlock.js +0 -274
- package/modules/blocks/components/CustomImageBlock.d.ts +0 -79
- package/modules/blocks/components/CustomImageBlock.js +0 -276
- package/modules/blocks/components/CustomVideoBlock.d.ts +0 -70
- package/modules/blocks/components/CustomVideoBlock.js +0 -36
- package/modules/blocks/components/DocumentPlaceholderBlock.d.ts +0 -40
- package/modules/blocks/components/DocumentPlaceholderBlock.js +0 -8
- package/modules/blocks/components/Editor.d.ts +0 -2
- package/modules/blocks/components/Editor.js +0 -274
- package/modules/blocks/components/FontFamilyButton.d.ts +0 -1
- package/modules/blocks/components/FontFamilyButton.js +0 -10
- package/modules/blocks/components/FontSizeButton.d.ts +0 -1
- package/modules/blocks/components/FontSizeButton.js +0 -9
- package/modules/blocks/components/GalleryBlock.d.ts +0 -30
- package/modules/blocks/components/GalleryBlock.js +0 -274
- package/modules/blocks/components/ImageStyleButton.d.ts +0 -1
- package/modules/blocks/components/ImageStyleButton.js +0 -274
- package/modules/blocks/components/SlashMenu.d.ts +0 -2
- package/modules/blocks/components/SlashMenu.js +0 -274
- package/modules/blocks/components/SuggestionMenu.d.ts +0 -7
- package/modules/blocks/components/SuggestionMenu.js +0 -276
- package/modules/blocks/components/TableHandleWithRemove.d.ts +0 -2
- package/modules/blocks/components/TableHandleWithRemove.js +0 -8
- package/modules/blocks/components/index.d.ts +0 -6
- package/modules/blocks/components/index.js +0 -291
- package/modules/blocks/components/toolbar/ToolbarContents.d.ts +0 -1
- package/modules/blocks/components/toolbar/ToolbarContents.js +0 -274
- package/modules/blocks/components/toolbar/ToolbarRoot.d.ts +0 -2
- package/modules/blocks/components/toolbar/ToolbarRoot.js +0 -10
- package/modules/blocks/components/toolbar/buttons/ToolbarButton.d.ts +0 -1
- package/modules/blocks/components/toolbar/buttons/ToolbarButton.js +0 -274
- package/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.d.ts +0 -2
- package/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.js +0 -10
- package/modules/blocks/components/toolbar/buttons/ToolbarToggle.js +0 -274
- package/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.d.ts +0 -2
- package/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.js +0 -10
- package/modules/blocks/components/toolbar/menus/ToolbarMenuItem.d.ts +0 -2
- package/modules/blocks/components/toolbar/menus/ToolbarMenuItem.js +0 -274
- package/modules/blocks/components/toolbar/menus/ToolbarSelect.d.ts +0 -2
- package/modules/blocks/components/toolbar/menus/ToolbarSelect.js +0 -274
- package/modules/blocks/constant/blockEditorSchema.d.ts +0 -732
- package/modules/blocks/constant/blockEditorSchema.js +0 -278
- package/modules/blocks/constant/index.d.ts +0 -1
- package/modules/blocks/constant/index.js +0 -280
- package/modules/blocks/constant/toolbar/codeIncompatibleControls.d.ts +0 -1
- package/modules/blocks/constant/toolbar/codeIncompatibleControls.js +0 -6
- package/modules/blocks/constant/toolbar/editorUIComponents.d.ts +0 -3
- package/modules/blocks/constant/toolbar/editorUIComponents.js +0 -272
- package/modules/blocks/constant/toolbar/fontFamilies.d.ts +0 -4
- package/modules/blocks/constant/toolbar/fontFamilies.js +0 -6
- package/modules/blocks/constant/toolbar/imageStyleOptions.d.ts +0 -2
- package/modules/blocks/constant/toolbar/imageStyleOptions.js +0 -6
- package/modules/blocks/hooks/toolbar/useCodeActive.d.ts +0 -1
- package/modules/blocks/hooks/toolbar/useCodeActive.js +0 -7
- package/modules/blocks/hooks/toolbar/useFontFamily.d.ts +0 -2
- package/modules/blocks/hooks/toolbar/useFontFamily.js +0 -7
- package/modules/blocks/hooks/toolbar/useFontSize.d.ts +0 -2
- package/modules/blocks/hooks/toolbar/useFontSize.js +0 -7
- package/modules/blocks/hooks/toolbar/useToolbarComponents.d.ts +0 -2
- package/modules/blocks/hooks/toolbar/useToolbarComponents.js +0 -273
- package/modules/blocks/hooks/useBarcodeAttribute.d.ts +0 -35
- package/modules/blocks/hooks/useBarcodeAttribute.js +0 -11
- package/modules/blocks/hooks/useBlockEditor.d.ts +0 -12
- package/modules/blocks/hooks/useBlockEditor.js +0 -274
- package/modules/blocks/hooks/useBlockEditorCommentComposer.d.ts +0 -6
- package/modules/blocks/hooks/useBlockEditorCommentComposer.js +0 -273
- package/modules/blocks/hooks/useBlockEditorEditable.d.ts +0 -2
- package/modules/blocks/hooks/useBlockEditorEditable.js +0 -9
- package/modules/blocks/index.d.ts +0 -5
- package/modules/blocks/index.js +0 -310
- package/modules/blocks/types/EditorBlock.d.ts +0 -2
- package/modules/blocks/types/TextEditor.d.ts +0 -30
- package/modules/blocks/types/TextEditor.js +0 -1
- package/modules/blocks/types/index.d.ts +0 -1
- package/modules/blocks/types/index.js +0 -4
- package/modules/blocks/types/toolbar/EditorVisibleBounds.d.ts +0 -6
- package/modules/blocks/types/toolbar/FontFamily.d.ts +0 -5
- package/modules/blocks/types/toolbar/FontSize.d.ts +0 -5
- package/modules/blocks/types/toolbar/FormattingShortcut.d.ts +0 -7
- package/modules/blocks/types/toolbar/ImageStyleOption.d.ts +0 -7
- package/modules/blocks/types/toolbar/ToolbarFormattingButtonProps.d.ts +0 -5
- package/modules/blocks/types/toolbar/ToolbarMenuItemProps.d.ts +0 -4
- package/modules/blocks/types/toolbar/ToolbarPositioningOptions.d.ts +0 -3
- package/modules/blocks/utils/getBlockAttachments.d.ts +0 -12
- package/modules/blocks/utils/getBlockAttachments.js +0 -6
- package/modules/blocks/utils/getMentionedUserIds.d.ts +0 -2
- package/modules/blocks/utils/getMentionedUserIds.js +0 -6
- package/modules/blocks/utils/getSlashMenuItems.d.ts +0 -3
- package/modules/blocks/utils/getSlashMenuItems.js +0 -8
- package/modules/blocks/utils/index.d.ts +0 -3
- package/modules/blocks/utils/index.js +0 -17
- package/modules/blocks/utils/isEmptyBlock.d.ts +0 -2
- package/modules/blocks/utils/isEmptyBlock.js +0 -6
- package/modules/blocks/utils/parseBlocks.d.ts +0 -2
- package/modules/blocks/utils/parseBlocks.js +0 -6
- package/modules/blocks/utils/removeCodeFormattingFromHTML.d.ts +0 -1
- package/modules/blocks/utils/removeCodeFormattingFromHTML.js +0 -6
- package/modules/blocks/utils/toolbar/getEditorVisibleBounds.d.ts +0 -2
- package/modules/blocks/utils/toolbar/getEditorVisibleBounds.js +0 -6
- package/modules/blocks/utils/toolbar/getToolbarPositioning.d.ts +0 -2
- package/modules/blocks/utils/toolbar/getToolbarPositioning.js +0 -7
- package/modules/blocks/utils/toolbar/isCodeFormattingShortcut.d.ts +0 -2
- package/modules/blocks/utils/toolbar/isCodeFormattingShortcut.js +0 -6
- package/modules/board/components/Board.d.ts +0 -22
- package/modules/board/components/Board.js +0 -278
- package/modules/board/contexts/BoardContext.d.ts +0 -2
- package/modules/board/contexts/BoardContext.js +0 -6
- package/modules/board/index.d.ts +0 -2
- package/modules/board/index.js +0 -278
- package/modules/board/states/boardStates.d.ts +0 -2
- package/modules/board/states/boardStates.js +0 -8
- package/modules/board/types/boardTypes.d.ts +0 -42
- package/modules/board/types/boardTypes.js +0 -1
- package/modules/chat-viz/components/ChatVizArea.d.ts +0 -9
- package/modules/chat-viz/components/ChatVizArea.js +0 -13
- package/modules/chat-viz/components/ChatVizBar.d.ts +0 -9
- package/modules/chat-viz/components/ChatVizBar.js +0 -13
- package/modules/chat-viz/components/ChatVizCartesianDecorations.d.ts +0 -7
- package/modules/chat-viz/components/ChatVizCartesianDecorations.js +0 -11
- package/modules/chat-viz/components/ChatVizLine.d.ts +0 -9
- package/modules/chat-viz/components/ChatVizLine.js +0 -13
- package/modules/chat-viz/components/ChatVizMessage.d.ts +0 -16
- package/modules/chat-viz/components/ChatVizMessage.js +0 -21
- package/modules/chat-viz/components/ChatVizPie.d.ts +0 -13
- package/modules/chat-viz/components/ChatVizPie.js +0 -12
- package/modules/chat-viz/components/ChatVizSendButton.d.ts +0 -17
- package/modules/chat-viz/components/ChatVizSendButton.js +0 -12
- package/modules/chat-viz/hooks/useChatVizSend.d.ts +0 -11
- package/modules/chat-viz/hooks/useChatVizSend.js +0 -8
- package/modules/chat-viz/hooks/useIsClient.d.ts +0 -8
- package/modules/chat-viz/hooks/useIsClient.js +0 -7
- package/modules/chat-viz/index.d.ts +0 -12
- package/modules/chat-viz/index.js +0 -60
- package/modules/chat-viz/types/chatVizTypes.d.ts +0 -53
- package/modules/chat-viz/types/chatVizTypes.js +0 -0
- package/modules/chat-viz/utils/chartVizPresentation.d.ts +0 -10
- package/modules/chat-viz/utils/chartVizPresentation.js +0 -10
- package/modules/chat-viz/utils/chartVizTransforms.d.ts +0 -19
- package/modules/chat-viz/utils/chartVizTransforms.js +0 -11
- package/modules/chat-viz/utils/chatVizSanitize.d.ts +0 -25
- package/modules/chat-viz/utils/chatVizSanitize.js +0 -10
- package/modules/display/components/CurrencyDisplay.d.ts +0 -15
- package/modules/display/components/CurrencyDisplay.js +0 -40
- package/modules/display/components/EllipsisDisplay.d.ts +0 -2
- package/modules/display/components/EllipsisDisplay.js +0 -10
- package/modules/display/components/EmailDisplay.d.ts +0 -2
- package/modules/display/components/EmailDisplay.js +0 -274
- package/modules/display/components/PhoneDisplay.d.ts +0 -4
- package/modules/display/components/PhoneDisplay.js +0 -274
- package/modules/display/components/RelativeDateDisplay.d.ts +0 -288
- package/modules/display/components/RelativeDateDisplay.js +0 -274
- package/modules/display/components/SexDisplay.d.ts +0 -4
- package/modules/display/components/SexDisplay.js +0 -26
- package/modules/display/index.d.ts +0 -6
- package/modules/display/index.js +0 -289
- package/modules/display/types/emailDisplay.d.ts +0 -7
- package/modules/display/utils/formatEmails.d.ts +0 -3
- package/modules/display/utils/formatEmails.js +0 -6
- package/modules/display/utils/formatPhones.d.ts +0 -3
- package/modules/display/utils/formatPhones.js +0 -18
- package/modules/email-editor/components/EmailEditor.d.ts +0 -3
- package/modules/email-editor/components/EmailEditor.js +0 -276
- package/modules/email-editor/components/EmailPreviewDeviceToggle.d.ts +0 -7
- package/modules/email-editor/components/EmailPreviewDeviceToggle.js +0 -274
- package/modules/email-editor/components/EmailPreviewFrame.d.ts +0 -8
- package/modules/email-editor/components/EmailPreviewFrame.js +0 -10
- package/modules/email-editor/components/EmailTableBackground.d.ts +0 -4
- package/modules/email-editor/components/EmailTableBackground.js +0 -274
- package/modules/email-editor/components/EmailTableToolbar.d.ts +0 -8
- package/modules/email-editor/components/EmailTableToolbar.js +0 -274
- package/modules/email-editor/components/index.d.ts +0 -3
- package/modules/email-editor/components/index.js +0 -281
- package/modules/email-editor/constant/index.d.ts +0 -4
- package/modules/email-editor/constant/index.js +0 -9
- package/modules/email-editor/extensions/documentPlaceholder.d.ts +0 -20
- package/modules/email-editor/extensions/documentPlaceholder.js +0 -6
- package/modules/email-editor/extensions/documentPlaceholderBlock.d.ts +0 -19
- package/modules/email-editor/extensions/documentPlaceholderBlock.js +0 -12
- package/modules/email-editor/extensions/table.d.ts +0 -38
- package/modules/email-editor/extensions/table.js +0 -16
- package/modules/email-editor/extensions/tableBlock.d.ts +0 -12
- package/modules/email-editor/extensions/tableBlock.js +0 -8
- package/modules/email-editor/hooks/useEmailHtml.d.ts +0 -6
- package/modules/email-editor/hooks/useEmailHtml.js +0 -9
- package/modules/email-editor/index.d.ts +0 -6
- package/modules/email-editor/index.js +0 -295
- package/modules/email-editor/types/index.d.ts +0 -29
- package/modules/email-editor/types/index.js +0 -3
- package/modules/email-editor/utils/expandCustomNodes.d.ts +0 -2
- package/modules/email-editor/utils/expandCustomNodes.js +0 -6
- package/modules/email-editor/utils/renderEmailHtml.d.ts +0 -5
- package/modules/email-editor/utils/renderEmailHtml.js +0 -7
- package/modules/filter/components/Filter.d.ts +0 -909
- package/modules/filter/components/Filter.js +0 -274
- package/modules/filter/context/FilterContext.d.ts +0 -2
- package/modules/filter/context/FilterContext.js +0 -8
- package/modules/filter/date-filter/components/DateFilterCommand.d.ts +0 -7
- package/modules/filter/date-filter/components/DateFilterCommand.js +0 -274
- package/modules/filter/date-filter/components/DialogDateView.d.ts +0 -9
- package/modules/filter/date-filter/components/DialogDateView.js +0 -276
- package/modules/filter/date-filter/constants/dateTypes.d.ts +0 -4
- package/modules/filter/date-filter/constants/dateTypes.js +0 -14
- package/modules/filter/date-filter/index.d.ts +0 -2
- package/modules/filter/date-filter/index.js +0 -279
- package/modules/filter/date-filter/utils/dateTokens.d.ts +0 -9
- package/modules/filter/date-filter/utils/dateTokens.js +0 -11
- package/modules/filter/date-filter/utils/getActiveTab.d.ts +0 -1
- package/modules/filter/date-filter/utils/getActiveTab.js +0 -7
- package/modules/filter/date-filter/utils/getDisplayValue.d.ts +0 -1
- package/modules/filter/date-filter/utils/getDisplayValue.js +0 -8
- package/modules/filter/date-filter/utils/getYears.d.ts +0 -1
- package/modules/filter/date-filter/utils/getYears.js +0 -6
- package/modules/filter/date-filter/utils/parseDateRangeFromString.d.ts +0 -4
- package/modules/filter/date-filter/utils/parseDateRangeFromString.js +0 -34
- package/modules/filter/hooks/useFilterContext.d.ts +0 -1
- package/modules/filter/hooks/useFilterContext.js +0 -9
- package/modules/filter/hooks/useFilterQueryState.d.ts +0 -4
- package/modules/filter/hooks/useFilterQueryState.js +0 -10
- package/modules/filter/index.d.ts +0 -5
- package/modules/filter/index.js +0 -287
- package/modules/filter/states/filterStates.d.ts +0 -15
- package/modules/filter/states/filterStates.js +0 -14
- package/modules/filter/types/filter.d.ts +0 -23
- package/modules/filter/types/filter.js +0 -1
- package/modules/focus-sheet/components/focus-sheet.d.ts +0 -59
- package/modules/focus-sheet/components/focus-sheet.js +0 -278
- package/modules/hotkey/components/PopoverScoped.d.ts +0 -10
- package/modules/hotkey/components/PopoverScoped.js +0 -274
- package/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.d.ts +0 -2
- package/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.js +0 -6
- package/modules/hotkey/constants/initialHotkeysScope.d.ts +0 -2
- package/modules/hotkey/constants/initialHotkeysScope.js +0 -7
- package/modules/hotkey/hooks/usePreviousHotkeyScope.d.ts +0 -5
- package/modules/hotkey/hooks/usePreviousHotkeyScope.js +0 -19
- package/modules/hotkey/hooks/useScopedHotKeysCallback.d.ts +0 -9
- package/modules/hotkey/hooks/useScopedHotKeysCallback.js +0 -12
- package/modules/hotkey/hooks/useScopedHotkeys.d.ts +0 -3
- package/modules/hotkey/hooks/useScopedHotkeys.js +0 -13
- package/modules/hotkey/hooks/useSequenceHotkeys.d.ts +0 -4
- package/modules/hotkey/hooks/useSequenceHotkeys.js +0 -21
- package/modules/hotkey/hooks/useSetHotkeyScope.d.ts +0 -2
- package/modules/hotkey/hooks/useSetHotkeyScope.js +0 -17
- package/modules/hotkey/index.d.ts +0 -13
- package/modules/hotkey/index.js +0 -306
- package/modules/hotkey/states/internal/currentHotkeyScopeState.d.ts +0 -4
- package/modules/hotkey/states/internal/currentHotkeyScopeState.js +0 -8
- package/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.d.ts +0 -3
- package/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.js +0 -6
- package/modules/hotkey/states/internal/pendingHotkeyState.d.ts +0 -2
- package/modules/hotkey/states/internal/pendingHotkeyState.js +0 -6
- package/modules/hotkey/states/internal/previousHotkeyScopeState.d.ts +0 -2
- package/modules/hotkey/states/internal/previousHotkeyScopeState.js +0 -6
- package/modules/hotkey/states/setHotkeyScopeState.d.ts +0 -5
- package/modules/hotkey/states/setHotkeyScopeState.js +0 -12
- package/modules/hotkey/types/AppHotkeyScope.d.ts +0 -7
- package/modules/hotkey/types/AppHotkeyScope.js +0 -6
- package/modules/hotkey/types/CustomHotkeyScope.d.ts +0 -6
- package/modules/hotkey/types/CustomHotkeyScope.js +0 -1
- package/modules/hotkey/types/HotkeyScope.d.ts +0 -5
- package/modules/hotkey/types/HotkeyScope.js +0 -1
- package/modules/hotkey/utils/isNonTextWritingKey.d.ts +0 -1
- package/modules/hotkey/utils/isNonTextWritingKey.js +0 -6
- package/modules/icons/components/IconComponent.d.ts +0 -5
- package/modules/icons/components/IconComponent.js +0 -10
- package/modules/icons/components/IconPicker.d.ts +0 -6
- package/modules/icons/components/IconPicker.js +0 -274
- package/modules/icons/components/TablerIcons.d.ts +0 -294
- package/modules/icons/components/TablerIcons.js +0 -592
- package/modules/icons/hooks/useIcons.d.ts +0 -4
- package/modules/icons/hooks/useIcons.js +0 -8
- package/modules/icons/index.d.ts +0 -3
- package/modules/icons/index.js +0 -280
- package/modules/icons/providers/IconsProvider.d.ts +0 -5
- package/modules/icons/providers/IconsProvider.js +0 -9
- package/modules/icons/states/iconsState.d.ts +0 -4
- package/modules/icons/states/iconsState.js +0 -6
- package/modules/index.d.ts +0 -22
- package/modules/index.js +0 -609
- package/modules/inputs/components/CurrencyField.d.ts +0 -442
- package/modules/inputs/components/CurrencyField.js +0 -274
- package/modules/inputs/components/EmailField.d.ts +0 -30
- package/modules/inputs/components/EmailField.js +0 -276
- package/modules/inputs/components/FullNameField.d.ts +0 -9
- package/modules/inputs/components/FullNameField.js +0 -276
- package/modules/inputs/components/LanguageSelect.d.ts +0 -7
- package/modules/inputs/components/LanguageSelect.js +0 -274
- package/modules/inputs/components/NumberField.d.ts +0 -6
- package/modules/inputs/components/NumberField.js +0 -10
- package/modules/inputs/components/PhoneField.d.ts +0 -56
- package/modules/inputs/components/PhoneField.js +0 -276
- package/modules/inputs/components/SexField.d.ts +0 -5
- package/modules/inputs/components/SexField.js +0 -274
- package/modules/inputs/components/TimezoneSelect.d.ts +0 -7
- package/modules/inputs/components/TimezoneSelect.js +0 -274
- package/modules/inputs/contexts/EmailFieldsContext.d.ts +0 -8
- package/modules/inputs/contexts/EmailFieldsContext.js +0 -8
- package/modules/inputs/contexts/FullNameFieldContext.d.ts +0 -7
- package/modules/inputs/contexts/FullNameFieldContext.js +0 -8
- package/modules/inputs/contexts/PhoneFieldsContext.d.ts +0 -6
- package/modules/inputs/contexts/PhoneFieldsContext.js +0 -8
- package/modules/inputs/hooks/useEmailFields.d.ts +0 -6
- package/modules/inputs/hooks/useEmailFields.js +0 -9
- package/modules/inputs/hooks/useFullNameField.d.ts +0 -7
- package/modules/inputs/hooks/useFullNameField.js +0 -9
- package/modules/inputs/hooks/usePhoneFields.d.ts +0 -5
- package/modules/inputs/hooks/usePhoneFields.js +0 -9
- package/modules/inputs/index.d.ts +0 -8
- package/modules/inputs/index.js +0 -295
- package/modules/inputs/states/emailFieldStates.d.ts +0 -8
- package/modules/inputs/states/emailFieldStates.js +0 -10
- package/modules/inputs/states/phoneFieldStates.d.ts +0 -8
- package/modules/inputs/states/phoneFieldStates.js +0 -10
- package/modules/inputs/validations/emailValidation.d.ts +0 -8
- package/modules/inputs/validations/emailValidation.js +0 -6
- package/modules/inputs/validations/phoneValidation.d.ts +0 -8
- package/modules/inputs/validations/phoneValidation.js +0 -6
- package/modules/layout/components/AppLayout.d.ts +0 -22
- package/modules/layout/components/AppLayout.js +0 -44
- package/modules/layout/components/AppLayoutPageSlot.d.ts +0 -2
- package/modules/layout/components/AppLayoutPageSlot.js +0 -9
- package/modules/layout/components/Page.d.ts +0 -5
- package/modules/layout/components/Page.js +0 -12
- package/modules/layout/index.d.ts +0 -3
- package/modules/layout/index.js +0 -56
- package/modules/layout/states/appLayoutPageState.d.ts +0 -4
- package/modules/layout/states/appLayoutPageState.js +0 -8
- package/modules/motion/components/TextEffect.d.ts +0 -26
- package/modules/motion/components/TextEffect.js +0 -10
- package/modules/motion/components/TextLoop.d.ts +0 -12
- package/modules/motion/components/TextLoop.js +0 -10
- package/modules/motion/index.d.ts +0 -2
- package/modules/motion/index.js +0 -15
- package/modules/navigation-menu/components/NavigationMenu.d.ts +0 -60
- package/modules/navigation-menu/components/NavigationMenu.js +0 -280
- package/modules/navigation-menu/components/NavigationMenuItemControls.d.ts +0 -11
- package/modules/navigation-menu/components/NavigationMenuItemControls.js +0 -10
- package/modules/navigation-menu/index.d.ts +0 -3
- package/modules/navigation-menu/index.js +0 -288
- package/modules/navigation-menu/states/activePluginState.d.ts +0 -1
- package/modules/navigation-menu/states/activePluginState.js +0 -8
- package/modules/preview/components/Preview.d.ts +0 -43
- package/modules/preview/components/Preview.js +0 -278
- package/modules/preview/context/PreviewContext.d.ts +0 -6
- package/modules/preview/context/PreviewContext.js +0 -10
- package/modules/record-field/components/NumberField.d.ts +0 -18
- package/modules/record-field/components/NumberField.js +0 -274
- package/modules/record-field/components/TextField.d.ts +0 -18
- package/modules/record-field/components/TextField.js +0 -274
- package/modules/record-field/index.d.ts +0 -3
- package/modules/record-field/index.js +0 -278
- package/modules/record-field/meta-inputs/components/EmailVerificationInput.d.ts +0 -8
- package/modules/record-field/meta-inputs/components/EmailVerificationInput.js +0 -372
- package/modules/record-field/meta-inputs/components/PhoneInput.d.ts +0 -13
- package/modules/record-field/meta-inputs/components/PhoneInput.js +0 -274
- package/modules/record-field/meta-inputs/components/PhoneVerificationInput.d.ts +0 -8
- package/modules/record-field/meta-inputs/components/PhoneVerificationInput.js +0 -350
- package/modules/record-field/meta-inputs/components/TextFieldInput.d.ts +0 -4
- package/modules/record-field/meta-inputs/components/TextFieldInput.js +0 -293
- package/modules/record-table/components/CheckboxColumn.d.ts +0 -2
- package/modules/record-table/components/CheckboxColumn.js +0 -11
- package/modules/record-table/components/MoreColumn.d.ts +0 -3
- package/modules/record-table/components/MoreColumn.js +0 -274
- package/modules/record-table/components/RecordTableArrowEffect.d.ts +0 -4
- package/modules/record-table/components/RecordTableArrowEffect.js +0 -274
- package/modules/record-table/components/RecordTableCell.d.ts +0 -5
- package/modules/record-table/components/RecordTableCell.js +0 -274
- package/modules/record-table/components/RecordTableCellInline.d.ts +0 -14
- package/modules/record-table/components/RecordTableCellInline.js +0 -276
- package/modules/record-table/components/RecordTableColumnSelector.d.ts +0 -4
- package/modules/record-table/components/RecordTableColumnSelector.js +0 -274
- package/modules/record-table/components/RecordTableContainer.d.ts +0 -7
- package/modules/record-table/components/RecordTableContainer.js +0 -10
- package/modules/record-table/components/RecordTableCursor.d.ts +0 -20
- package/modules/record-table/components/RecordTableCursor.js +0 -278
- package/modules/record-table/components/RecordTableDnDProvider.d.ts +0 -8
- package/modules/record-table/components/RecordTableDnDProvider.js +0 -8
- package/modules/record-table/components/RecordTableHead.d.ts +0 -9
- package/modules/record-table/components/RecordTableHead.js +0 -276
- package/modules/record-table/components/RecordTableHeader.d.ts +0 -3
- package/modules/record-table/components/RecordTableHeader.js +0 -274
- package/modules/record-table/components/RecordTableHotkeyCell.d.ts +0 -8
- package/modules/record-table/components/RecordTableHotkeyCell.js +0 -274
- package/modules/record-table/components/RecordTableInlineHead.d.ts +0 -5
- package/modules/record-table/components/RecordTableInlineHead.js +0 -8
- package/modules/record-table/components/RecordTableProvider.d.ts +0 -13
- package/modules/record-table/components/RecordTableProvider.js +0 -15
- package/modules/record-table/components/RecordTableRoot.d.ts +0 -2
- package/modules/record-table/components/RecordTableRoot.js +0 -274
- package/modules/record-table/components/RecordTableRow.d.ts +0 -6
- package/modules/record-table/components/RecordTableRow.js +0 -274
- package/modules/record-table/components/RecordTableRowList.d.ts +0 -5
- package/modules/record-table/components/RecordTableRowList.js +0 -274
- package/modules/record-table/components/RecordTableRowSkeleton.d.ts +0 -6
- package/modules/record-table/components/RecordTableRowSkeleton.js +0 -274
- package/modules/record-table/components/RecordTableScroll.d.ts +0 -4
- package/modules/record-table/components/RecordTableScroll.js +0 -274
- package/modules/record-table/components/RecordTableTree.d.ts +0 -23
- package/modules/record-table/components/RecordTableTree.js +0 -274
- package/modules/record-table/contexts/RecordTableCursorContext.d.ts +0 -2
- package/modules/record-table/contexts/RecordTableCursorContext.js +0 -8
- package/modules/record-table/contexts/RecordTableHotkeyContext.d.ts +0 -16
- package/modules/record-table/contexts/RecordTableHotkeyContext.js +0 -276
- package/modules/record-table/contexts/RecordTableTreeContext.d.ts +0 -2
- package/modules/record-table/contexts/RecordTableTreeContext.js +0 -8
- package/modules/record-table/hooks/usePopoverOnEnter.d.ts +0 -3
- package/modules/record-table/hooks/usePopoverOnEnter.js +0 -300
- package/modules/record-table/hooks/useRecordTableCursor.d.ts +0 -6
- package/modules/record-table/hooks/useRecordTableCursor.js +0 -9
- package/modules/record-table/hooks/useRecordTableCursorContext.d.ts +0 -1
- package/modules/record-table/hooks/useRecordTableCursorContext.js +0 -9
- package/modules/record-table/hooks/useRecordTableTree.d.ts +0 -9
- package/modules/record-table/hooks/useRecordTableTree.js +0 -12
- package/modules/record-table/hooks/useTablePreferences.d.ts +0 -11
- package/modules/record-table/hooks/useTablePreferences.js +0 -7
- package/modules/record-table/index.d.ts +0 -71
- package/modules/record-table/index.js +0 -302
- package/modules/record-table/states/EditModePositionComponentState.d.ts +0 -3
- package/modules/record-table/states/EditModePositionComponentState.js +0 -9
- package/modules/record-table/states/RecordTableCursorState.d.ts +0 -3
- package/modules/record-table/states/RecordTableCursorState.js +0 -6
- package/modules/record-table/states/RecordTableTreeState.d.ts +0 -3
- package/modules/record-table/states/RecordTableTreeState.js +0 -6
- package/modules/record-table/types/RecordTableCursorTypes.d.ts +0 -23
- package/modules/record-table/types/RecordTableCursorTypes.js +0 -8
- package/modules/record-table/types/RecordTableScope.d.ts +0 -3
- package/modules/record-table/types/RecordTableScope.js +0 -8
- package/modules/record-table/types/RecordTableTreeTypes.d.ts +0 -6
- package/modules/record-table/types/RecordTableTreeTypes.js +0 -0
- package/modules/record-table/types/recordTableTypes.d.ts +0 -7
- package/modules/record-table/types/recordTableTypes.js +0 -0
- package/modules/record-table/utils/columnUtils.d.ts +0 -4
- package/modules/record-table/utils/columnUtils.js +0 -10
- package/modules/record-table/utils/cursorUtils.d.ts +0 -25
- package/modules/record-table/utils/cursorUtils.js +0 -9
- package/modules/report/components/report-page-container.d.ts +0 -4
- package/modules/report/components/report-page-container.js +0 -276
- package/modules/report/components/report-table.d.ts +0 -19
- package/modules/report/components/report-table.js +0 -9
- package/modules/report/index.d.ts +0 -2
- package/modules/report/index.js +0 -279
- package/modules/report/states/reportSettingsState.d.ts +0 -13
- package/modules/report/states/reportSettingsState.js +0 -6
- package/modules/select-operation/components/SelectOperation.d.ts +0 -17
- package/modules/select-operation/components/SelectOperation.js +0 -278
- package/modules/select-operation/index.d.ts +0 -1
- package/modules/select-operation/index.js +0 -278
- package/modules/select-tree/components/SelectTree.d.ts +0 -63
- package/modules/select-tree/components/SelectTree.js +0 -284
- package/modules/select-tree/context/SelectTreeContext.d.ts +0 -3
- package/modules/select-tree/context/SelectTreeContext.js +0 -10
- package/modules/select-tree/hooks/useSelectTreeHide.d.ts +0 -6
- package/modules/select-tree/hooks/useSelectTreeHide.js +0 -10
- package/modules/select-tree/index.d.ts +0 -1
- package/modules/select-tree/index.js +0 -284
- package/modules/select-tree/states/selectTreeStates.d.ts +0 -3
- package/modules/select-tree/states/selectTreeStates.js +0 -8
- package/modules/select-tree/types/selectTreeTypes.d.ts +0 -11
- package/modules/select-tree/types/selectTreeTypes.js +0 -0
- package/modules/side-menu/components/SideMenu.d.ts +0 -34
- package/modules/side-menu/components/SideMenu.js +0 -284
- package/modules/side-menu/context/SideMenuContext.d.ts +0 -8
- package/modules/side-menu/context/SideMenuContext.js +0 -10
- package/state/index.d.ts +0 -2
- package/state/index.js +0 -11
- package/state/sidebarPanelState.d.ts +0 -1
- package/state/sidebarPanelState.js +0 -6
- package/state/themeState.d.ts +0 -2
- package/state/themeState.js +0 -6
- package/styles.css +0 -2
- package/theme.css +0 -285
- package/types/CountryCode.d.ts +0 -6
- package/types/CountryCode.js +0 -1
- package/types/CurrencyCode.d.ts +0 -159
- package/types/CurrencyCode.js +0 -6
- package/types/Displays.d.ts +0 -5
- package/types/Displays.js +0 -1
- package/types/Gql.d.ts +0 -14
- package/types/Gql.js +0 -8
- package/types/Key.d.ts +0 -997
- package/types/Key.js +0 -6
- package/types/Relations.d.ts +0 -13
- package/types/Relations.js +0 -1
- package/types/SexCode.d.ts +0 -6
- package/types/SexCode.js +0 -6
- package/types/Theme.d.ts +0 -2
- package/types/Theme.js +0 -1
- package/types/UIConfig.d.ts +0 -221
- package/types/UIConfig.js +0 -1
- package/types/Utils.d.ts +0 -11
- package/types/Utils.js +0 -1
- package/types/ValidationStatus.d.ts +0 -4
- package/types/ValidationStatus.js +0 -6
- package/types/index.d.ts +0 -11
- package/types/index.js +0 -31
- package/utils/IsUndefinedOrNull.d.ts +0 -1
- package/utils/IsUndefinedOrNull.js +0 -6
- package/utils/colors.d.ts +0 -7
- package/utils/colors.js +0 -8
- package/utils/config/index.d.ts +0 -14
- package/utils/config/index.js +0 -19
- package/utils/config/readProcessEnvironment.d.ts +0 -1
- package/utils/config/readProcessEnvironment.js +0 -6
- package/utils/cookie-storage.d.ts +0 -9
- package/utils/cookie-storage.js +0 -6
- package/utils/core.d.ts +0 -2
- package/utils/core.js +0 -33
- package/utils/fixOrder.d.ts +0 -4
- package/utils/fixOrder.js +0 -6
- package/utils/format/formatAmount.d.ts +0 -1
- package/utils/format/formatAmount.js +0 -6
- package/utils/format/formatPhoneNumber.d.ts +0 -5
- package/utils/format/formatPhoneNumber.js +0 -6
- package/utils/format/index.d.ts +0 -2
- package/utils/format/index.js +0 -11
- package/utils/getPluginAssetsUrl.d.ts +0 -1
- package/utils/getPluginAssetsUrl.js +0 -6
- package/utils/highlightMatch.d.ts +0 -1
- package/utils/highlightMatch.js +0 -8
- package/utils/index.d.ts +0 -18
- package/utils/index.js +0 -119
- package/utils/isAnObject.d.ts +0 -1
- package/utils/isAnObject.js +0 -6
- package/utils/isDeeplyEqual.d.ts +0 -3
- package/utils/isDeeplyEqual.js +0 -6
- package/utils/isDefined.d.ts +0 -1
- package/utils/isDefined.js +0 -6
- package/utils/isEnabled.d.ts +0 -1
- package/utils/isEnabled.js +0 -7
- package/utils/localization/detectTimeZone.d.ts +0 -5
- package/utils/localization/detectTimeZone.js +0 -6
- package/utils/localization/formatDateISOStringToRelativeDate.d.ts +0 -2
- package/utils/localization/formatDateISOStringToRelativeDate.js +0 -8
- package/utils/localization/formatTimeZoneLabel.d.ts +0 -7
- package/utils/localization/formatTimeZoneLabel.js +0 -6
- package/utils/localization/index.d.ts +0 -3
- package/utils/localization/index.js +0 -17
- package/utils/logDebug.d.ts +0 -1
- package/utils/logDebug.js +0 -6
- package/utils/regex/index.d.ts +0 -1
- package/utils/regex/index.js +0 -7
- package/utils/regex/passwordRegex.d.ts +0 -1
- package/utils/regex/passwordRegex.js +0 -6
- package/utils/searchProvider.d.ts +0 -9
- package/utils/searchProvider.js +0 -13
- package/utils/string-array.d.ts +0 -6
- package/utils/string-array.js +0 -6
- package/utils/stripHtml.d.ts +0 -5
- package/utils/stripHtml.js +0 -8
- package/utils/urlParser.d.ts +0 -8
- package/utils/urlParser.js +0 -10
- package/utils/videoEmbed.d.ts +0 -14
- package/utils/videoEmbed.js +0 -8
- /package/{fonts.css → dist/fonts.css} +0 -0
- /package/{modules → dist/modules}/blocks/types/EditorBlock.js +0 -0
- /package/{chunks/chunk-2OQPZ7Y3.js → dist/modules/blocks/types/TextEditor.js} +0 -0
- /package/{modules → dist/modules}/blocks/types/toolbar/EditorVisibleBounds.js +0 -0
- /package/{modules → dist/modules}/blocks/types/toolbar/FontFamily.js +0 -0
- /package/{modules → dist/modules}/blocks/types/toolbar/FontSize.js +0 -0
- /package/{modules → dist/modules}/blocks/types/toolbar/FormattingShortcut.js +0 -0
- /package/{modules → dist/modules}/blocks/types/toolbar/ImageStyleOption.js +0 -0
- /package/{modules → dist/modules}/blocks/types/toolbar/ToolbarFormattingButtonProps.js +0 -0
- /package/{modules → dist/modules}/blocks/types/toolbar/ToolbarMenuItemProps.js +0 -0
- /package/{modules → dist/modules}/blocks/types/toolbar/ToolbarPositioningOptions.js +0 -0
- /package/{modules → dist/modules}/display/types/emailDisplay.js +0 -0
- /package/{chunks/chunk-5U37WCDE.js → dist/modules/filter/types/filter.js} +0 -0
- /package/{chunks/chunk-6CKZMMTO.js → dist/modules/hotkey/types/CustomHotkeyScope.js} +0 -0
- /package/{chunks/chunk-6JSVJV3E.js → dist/modules/hotkey/types/HotkeyScope.js} +0 -0
- /package/{chunks/chunk-76MIPBCD.js → dist/modules/inputs/types/emailField.js} +0 -0
- /package/{chunks/chunk-7C7JTY65.js → dist/modules/inputs/types/phoneField.js} +0 -0
- /package/{chunks/chunk-E545F45A.js → dist/types/CountryCode.js} +0 -0
- /package/{chunks/chunk-F7VYTUUZ.js → dist/types/Theme.js} +0 -0
- /package/{chunks/chunk-FWDXQCUE.js → dist/types/UIConfig.js} +0 -0
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { cn } from "../lib/utils.js";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
// src/components/spinner.tsx
|
|
5
|
+
const spinnerVariants = cva("flex-col items-center justify-center flex-auto h-full", {
|
|
6
|
+
variants: { show: {
|
|
7
|
+
true: "flex",
|
|
8
|
+
false: "hidden"
|
|
9
|
+
} },
|
|
10
|
+
defaultVariants: { show: true }
|
|
11
|
+
});
|
|
12
|
+
const loaderVariants = cva("relative", {
|
|
13
|
+
variants: { size: {
|
|
14
|
+
sm: "size-3",
|
|
15
|
+
default: "size-4",
|
|
16
|
+
md: "size-5",
|
|
17
|
+
lg: "size-6"
|
|
18
|
+
} },
|
|
19
|
+
defaultVariants: { size: "default" }
|
|
20
|
+
});
|
|
21
|
+
const BOT_WHITE = "#FFFFFF";
|
|
22
|
+
const BOT_BODY = "#ECE9FB";
|
|
23
|
+
const BOT_LIMB = "#D9D3F5";
|
|
24
|
+
const BOT_GLOW = "#A78BFA";
|
|
25
|
+
const BOT_VISOR = "#2A1F5C";
|
|
26
|
+
const BOT_VISOR_SHINE = "#3D3180";
|
|
27
|
+
const BOT_DOTS = "#7F6BD6";
|
|
28
|
+
const FILL_BOX = "[transform-box:fill-box]";
|
|
29
|
+
/** The loader's ten spokes, by position. */
|
|
30
|
+
const SPOKES = [...Array(10).keys()];
|
|
31
|
+
const WaitingBot = ({ className }) => /* @__PURE__ */ jsxs("output", {
|
|
32
|
+
className: cn("flex flex-col items-center gap-1 animate-bot-appear", className),
|
|
33
|
+
children: [/* @__PURE__ */ jsxs("svg", {
|
|
34
|
+
viewBox: "20 4 136 134",
|
|
35
|
+
className: "w-20",
|
|
36
|
+
"aria-hidden": "true",
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ jsx("circle", {
|
|
39
|
+
cx: "80",
|
|
40
|
+
cy: "76",
|
|
41
|
+
r: "58",
|
|
42
|
+
className: "fill-primary/10"
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ jsx("ellipse", {
|
|
45
|
+
cx: "80",
|
|
46
|
+
cy: "129",
|
|
47
|
+
rx: "44",
|
|
48
|
+
ry: "5",
|
|
49
|
+
fill: BOT_GLOW,
|
|
50
|
+
opacity: "0.18"
|
|
51
|
+
}),
|
|
52
|
+
/* @__PURE__ */ jsxs("g", {
|
|
53
|
+
className: cn(FILL_BOX, "origin-bottom motion-safe:animate-bot-rock"),
|
|
54
|
+
children: [
|
|
55
|
+
/* @__PURE__ */ jsx("ellipse", {
|
|
56
|
+
cx: "80",
|
|
57
|
+
cy: "102",
|
|
58
|
+
rx: "32",
|
|
59
|
+
ry: "25",
|
|
60
|
+
fill: BOT_BODY
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ jsx("ellipse", {
|
|
63
|
+
cx: "66",
|
|
64
|
+
cy: "108",
|
|
65
|
+
rx: "13",
|
|
66
|
+
ry: "18",
|
|
67
|
+
fill: BOT_LIMB
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsx("ellipse", {
|
|
70
|
+
cx: "94",
|
|
71
|
+
cy: "108",
|
|
72
|
+
rx: "13",
|
|
73
|
+
ry: "18",
|
|
74
|
+
fill: BOT_LIMB
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ jsx("path", {
|
|
77
|
+
d: "M60 98q-3 8 0 16",
|
|
78
|
+
stroke: BOT_WHITE,
|
|
79
|
+
strokeWidth: "3.5",
|
|
80
|
+
strokeLinecap: "round",
|
|
81
|
+
fill: "none",
|
|
82
|
+
opacity: "0.7"
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ jsx("ellipse", {
|
|
85
|
+
cx: "64",
|
|
86
|
+
cy: "125",
|
|
87
|
+
rx: "11",
|
|
88
|
+
ry: "6",
|
|
89
|
+
fill: BOT_LIMB
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ jsx("ellipse", {
|
|
92
|
+
cx: "96",
|
|
93
|
+
cy: "125",
|
|
94
|
+
rx: "11",
|
|
95
|
+
ry: "6",
|
|
96
|
+
fill: BOT_LIMB
|
|
97
|
+
}),
|
|
98
|
+
/* @__PURE__ */ jsx("circle", {
|
|
99
|
+
cx: "72",
|
|
100
|
+
cy: "104",
|
|
101
|
+
r: "7",
|
|
102
|
+
fill: BOT_BODY
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ jsx("circle", {
|
|
105
|
+
cx: "88",
|
|
106
|
+
cy: "104",
|
|
107
|
+
r: "7",
|
|
108
|
+
fill: BOT_BODY
|
|
109
|
+
}),
|
|
110
|
+
/* @__PURE__ */ jsx("circle", {
|
|
111
|
+
cx: "80",
|
|
112
|
+
cy: "52",
|
|
113
|
+
r: "33",
|
|
114
|
+
fill: BOT_WHITE
|
|
115
|
+
}),
|
|
116
|
+
/* @__PURE__ */ jsx("path", {
|
|
117
|
+
d: "M53 64a29 29 0 0 0 38 19",
|
|
118
|
+
stroke: BOT_BODY,
|
|
119
|
+
strokeWidth: "5",
|
|
120
|
+
strokeLinecap: "round",
|
|
121
|
+
fill: "none"
|
|
122
|
+
}),
|
|
123
|
+
/* @__PURE__ */ jsx("rect", {
|
|
124
|
+
x: "55",
|
|
125
|
+
y: "37",
|
|
126
|
+
width: "50",
|
|
127
|
+
height: "29",
|
|
128
|
+
rx: "14.5",
|
|
129
|
+
fill: BOT_VISOR
|
|
130
|
+
}),
|
|
131
|
+
/* @__PURE__ */ jsx("rect", {
|
|
132
|
+
x: "62",
|
|
133
|
+
y: "42",
|
|
134
|
+
width: "12",
|
|
135
|
+
height: "4",
|
|
136
|
+
rx: "2",
|
|
137
|
+
fill: BOT_VISOR_SHINE
|
|
138
|
+
}),
|
|
139
|
+
/* @__PURE__ */ jsx("g", {
|
|
140
|
+
className: "motion-safe:animate-bot-glance",
|
|
141
|
+
children: [66, 84].map((x) => /* @__PURE__ */ jsx("rect", {
|
|
142
|
+
x,
|
|
143
|
+
y: "46",
|
|
144
|
+
width: "10",
|
|
145
|
+
height: "13",
|
|
146
|
+
rx: "5",
|
|
147
|
+
fill: BOT_GLOW,
|
|
148
|
+
className: cn(FILL_BOX, "origin-center motion-safe:animate-bot-blink")
|
|
149
|
+
}, x))
|
|
150
|
+
})
|
|
151
|
+
]
|
|
152
|
+
}),
|
|
153
|
+
/* @__PURE__ */ jsxs("g", {
|
|
154
|
+
className: "fill-background stroke-primary/20",
|
|
155
|
+
strokeWidth: "1.5",
|
|
156
|
+
children: [
|
|
157
|
+
/* @__PURE__ */ jsx("circle", {
|
|
158
|
+
cx: "108",
|
|
159
|
+
cy: "31",
|
|
160
|
+
r: "2.5"
|
|
161
|
+
}),
|
|
162
|
+
/* @__PURE__ */ jsx("circle", {
|
|
163
|
+
cx: "113",
|
|
164
|
+
cy: "25",
|
|
165
|
+
r: "3.5"
|
|
166
|
+
}),
|
|
167
|
+
/* @__PURE__ */ jsx("rect", {
|
|
168
|
+
x: "115",
|
|
169
|
+
y: "8",
|
|
170
|
+
width: "38",
|
|
171
|
+
height: "18",
|
|
172
|
+
rx: "9"
|
|
173
|
+
})
|
|
174
|
+
]
|
|
175
|
+
}),
|
|
176
|
+
[
|
|
177
|
+
125,
|
|
178
|
+
134,
|
|
179
|
+
143
|
|
180
|
+
].map((cx, i) => /* @__PURE__ */ jsx("circle", {
|
|
181
|
+
cx,
|
|
182
|
+
cy: "17",
|
|
183
|
+
r: "2.8",
|
|
184
|
+
fill: BOT_DOTS,
|
|
185
|
+
className: "animate-bot-dots",
|
|
186
|
+
style: { animationDelay: `${i * .2}s` }
|
|
187
|
+
}, cx))
|
|
188
|
+
]
|
|
189
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
190
|
+
className: "bg-[linear-gradient(90deg,var(--color-muted-foreground)_40%,var(--color-foreground)_50%,var(--color-muted-foreground)_60%)] bg-size-[300%_100%] bg-clip-text text-xs text-transparent motion-safe:animate-text-shimmer motion-reduce:text-muted-foreground",
|
|
191
|
+
children: "Loading"
|
|
192
|
+
})]
|
|
193
|
+
});
|
|
194
|
+
function Spinner({ size, show, className, containerClassName, withMascot }) {
|
|
195
|
+
if (withMascot) return /* @__PURE__ */ jsx("div", {
|
|
196
|
+
className: cn(spinnerVariants({ show }), containerClassName),
|
|
197
|
+
children: /* @__PURE__ */ jsx(WaitingBot, { className })
|
|
198
|
+
});
|
|
199
|
+
return /* @__PURE__ */ jsx("div", {
|
|
200
|
+
className: cn(spinnerVariants({ show }), containerClassName),
|
|
201
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
202
|
+
className: cn(loaderVariants({ size }), className),
|
|
203
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
204
|
+
className: "relative size-full left-1/2 top-1/2",
|
|
205
|
+
children: SPOKES.map((i) => /* @__PURE__ */ jsx("div", {
|
|
206
|
+
style: {
|
|
207
|
+
transform: `translate(146%) rotate(${i * 36 + .001}deg)`,
|
|
208
|
+
animationDelay: `-${(10 - i) * .096}s`
|
|
209
|
+
},
|
|
210
|
+
className: "absolute h-[8%] w-[24%] left-[-10%] top-[-3.9%] origin-[-100%] rounded-md bg-current animate-spinner "
|
|
211
|
+
}, i))
|
|
212
|
+
})
|
|
213
|
+
})
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
export { Spinner };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A list of short strings as removable badges. Enter or a comma adds the typed text,
|
|
3
|
+
* Backspace in the empty input removes the last one, and pasted lines add one each.
|
|
4
|
+
*/
|
|
5
|
+
export declare function StringArrayInput({ value, onValueChange, placeholder }: {
|
|
6
|
+
value: string[];
|
|
7
|
+
onValueChange: (value: string[]) => void;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Badge } from "./badge.js";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
// src/components/string-array.tsx
|
|
5
|
+
/**
|
|
6
|
+
* A list of short strings as removable badges. Enter or a comma adds the typed text,
|
|
7
|
+
* Backspace in the empty input removes the last one, and pasted lines add one each.
|
|
8
|
+
*/
|
|
9
|
+
function StringArrayInput({ value, onValueChange, placeholder = "Add a tag" }) {
|
|
10
|
+
const [draft, setDraft] = useState("");
|
|
11
|
+
const add = (texts) => {
|
|
12
|
+
const next = [.../* @__PURE__ */ new Set([...value, ...texts.map((text) => text.trim()).filter(Boolean)])];
|
|
13
|
+
if (next.length !== value.length) onValueChange(next);
|
|
14
|
+
setDraft("");
|
|
15
|
+
};
|
|
16
|
+
const onKeyDown = (event) => {
|
|
17
|
+
if (event.key === "Enter" || event.key === ",") {
|
|
18
|
+
event.preventDefault();
|
|
19
|
+
add([draft]);
|
|
20
|
+
} else if (event.key === "Backspace" && !draft && value.length > 0) onValueChange(value.slice(0, -1));
|
|
21
|
+
};
|
|
22
|
+
const onPaste = (event) => {
|
|
23
|
+
const lines = event.clipboardData.getData("text").split(/\r\n|\r|\n/);
|
|
24
|
+
if (lines.length < 2) return;
|
|
25
|
+
event.preventDefault();
|
|
26
|
+
add(lines);
|
|
27
|
+
};
|
|
28
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
29
|
+
className: "flex min-h-7 flex-wrap items-center gap-1 rounded-sm bg-background px-1 shadow-xs focus-within:shadow-focus",
|
|
30
|
+
children: [value.map((text) => /* @__PURE__ */ jsx(Badge, {
|
|
31
|
+
variant: "secondary",
|
|
32
|
+
onClose: () => onValueChange(value.filter((item) => item !== text)),
|
|
33
|
+
children: text
|
|
34
|
+
}, text)), /* @__PURE__ */ jsx("input", {
|
|
35
|
+
value: draft,
|
|
36
|
+
placeholder,
|
|
37
|
+
onChange: (event) => setDraft(event.target.value),
|
|
38
|
+
onKeyDown,
|
|
39
|
+
onPaste,
|
|
40
|
+
className: "h-7 min-w-20 flex-1 bg-transparent px-2 text-sm outline-hidden placeholder:text-accent-foreground/70"
|
|
41
|
+
})]
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
export { StringArrayInput };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Switch as Switch$1 } from "radix-ui";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
declare const switchVariants: (props?: ({
|
|
5
|
+
size?: "default" | "sm" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export declare const Switch: ({ ref, className, size, ...props }: React.ComponentProps<typeof Switch$1.Root> & VariantProps<typeof switchVariants>) => React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { cn } from "../lib/utils.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { Switch as Switch$1 } from "radix-ui";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { cva } from "class-variance-authority";
|
|
6
|
+
// src/components/switch.tsx
|
|
7
|
+
const switchVariants = cva("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-transparent transition-colors focus-visible:outline-hidden focus-visible:shadow-focus disabled:cursor-not-allowed disabled:opacity-50 aria-checked:bg-primary aria-[checked=false]:bg-accent shadow-inner", {
|
|
8
|
+
variants: { size: {
|
|
9
|
+
default: "h-6 w-10 p-1",
|
|
10
|
+
sm: "h-4 w-7 p-0.5"
|
|
11
|
+
} },
|
|
12
|
+
defaultVariants: { size: "default" }
|
|
13
|
+
});
|
|
14
|
+
const switchThumbVariants = cva("pointer-events-none block rounded-full bg-background dark:bg-foreground shadow-sm ring-0 transition-transform data-[state=unchecked]:translate-x-0", {
|
|
15
|
+
variants: { size: {
|
|
16
|
+
default: "size-4 data-[state=checked]:translate-x-4",
|
|
17
|
+
sm: "size-3 data-[state=checked]:translate-x-3"
|
|
18
|
+
} },
|
|
19
|
+
defaultVariants: { size: "default" }
|
|
20
|
+
});
|
|
21
|
+
const Switch = ({ ref, className, size, ...props }) => /* @__PURE__ */ jsx(Switch$1.Root, {
|
|
22
|
+
className: cn(switchVariants({ size }), className),
|
|
23
|
+
...props,
|
|
24
|
+
ref,
|
|
25
|
+
children: /* @__PURE__ */ jsx(Switch$1.Thumb, { className: switchThumbVariants({ size }) })
|
|
26
|
+
});
|
|
27
|
+
export { Switch };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const TableRoot: ({ ref, className, ...props }: React.ComponentProps<'table'>) => React.JSX.Element;
|
|
3
|
+
declare const TableHeader: ({ ref, className, ...props }: React.ComponentProps<'tbody'>) => React.JSX.Element;
|
|
4
|
+
declare const TableBody: ({ ref, className, ...props }: React.ComponentProps<'tbody'>) => React.JSX.Element;
|
|
5
|
+
declare const TableFooter: ({ ref, className, ...props }: React.ComponentProps<'tbody'>) => React.JSX.Element;
|
|
6
|
+
declare const TableRow: ({ ref, className, ...props }: React.ComponentProps<'tr'>) => React.JSX.Element;
|
|
7
|
+
declare const TableHead: ({ ref, className, ...props }: React.ComponentProps<'th'>) => React.JSX.Element;
|
|
8
|
+
declare const TableCell: ({ ref, className, ...props }: React.ComponentProps<'td'>) => React.JSX.Element;
|
|
9
|
+
declare const TableCaption: ({ ref, className, ...props }: React.ComponentProps<'caption'>) => React.JSX.Element;
|
|
10
|
+
export declare const Table: typeof TableRoot & {
|
|
11
|
+
Header: typeof TableHeader;
|
|
12
|
+
Body: typeof TableBody;
|
|
13
|
+
Footer: typeof TableFooter;
|
|
14
|
+
Head: typeof TableHead;
|
|
15
|
+
Row: typeof TableRow;
|
|
16
|
+
Cell: typeof TableCell;
|
|
17
|
+
Caption: typeof TableCaption;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { cn } from "../lib/utils.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
// src/components/table.tsx
|
|
5
|
+
const TableRoot = ({ ref, className, ...props }) => /* @__PURE__ */ jsx("table", {
|
|
6
|
+
ref,
|
|
7
|
+
className: cn("w-full caption-bottom text-sm border-separate bg-sidebar table-fixed border-spacing-0", className),
|
|
8
|
+
...props
|
|
9
|
+
});
|
|
10
|
+
const TableHeader = ({ ref, className, ...props }) => /* @__PURE__ */ jsx("thead", {
|
|
11
|
+
ref,
|
|
12
|
+
className: cn(className),
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
const TableBody = ({ ref, className, ...props }) => /* @__PURE__ */ jsx("tbody", {
|
|
16
|
+
ref,
|
|
17
|
+
className: cn("[&_tr:last-child]:border-0 border border-collapse rounded-lg", className),
|
|
18
|
+
...props
|
|
19
|
+
});
|
|
20
|
+
const TableFooter = ({ ref, className, ...props }) => /* @__PURE__ */ jsx("tfoot", {
|
|
21
|
+
ref,
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
});
|
|
25
|
+
const TableRow = ({ ref, className, ...props }) => /* @__PURE__ */ jsx("tr", {
|
|
26
|
+
ref,
|
|
27
|
+
className: cn("[&>td]:border-b [&>td:first-child]:border-l transition-colors group/table-row hover:bg-muted", className),
|
|
28
|
+
...props
|
|
29
|
+
});
|
|
30
|
+
const TableHead = ({ ref, className, ...props }) => /* @__PURE__ */ jsx("th", {
|
|
31
|
+
ref,
|
|
32
|
+
className: cn("h-9 px-2 text-left align-middle font-semibold text-xs text-accent-foreground *:[[role=checkbox]]:translate-y-[2px] border-spacing-0 font-mono uppercase bg-sidebar", className),
|
|
33
|
+
...props
|
|
34
|
+
});
|
|
35
|
+
const TableCell = ({ ref, className, ...props }) => /* @__PURE__ */ jsx("td", {
|
|
36
|
+
ref,
|
|
37
|
+
className: cn("align-middle p-0 *:[[role=checkbox]]:translate-y-[2px] bg-background whitespace-nowrap h-cell border-r border-spacing-0 group-data-[state=selected]/table-row:bg-primary/10 group-hover/table-row:bg-muted", className),
|
|
38
|
+
...props
|
|
39
|
+
});
|
|
40
|
+
const TableCaption = ({ ref, className, ...props }) => /* @__PURE__ */ jsx("caption", {
|
|
41
|
+
ref,
|
|
42
|
+
className: cn("mt-4 text-sm text-muted-foreground", className),
|
|
43
|
+
...props
|
|
44
|
+
});
|
|
45
|
+
const Table = Object.assign(TableRoot, {
|
|
46
|
+
Header: TableHeader,
|
|
47
|
+
Body: TableBody,
|
|
48
|
+
Footer: TableFooter,
|
|
49
|
+
Head: TableHead,
|
|
50
|
+
Row: TableRow,
|
|
51
|
+
Cell: TableCell,
|
|
52
|
+
Caption: TableCaption
|
|
53
|
+
});
|
|
54
|
+
export { Table };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Tabs as Tabs$1 } from "radix-ui";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
declare const tabsListVariants: (props?: ({
|
|
5
|
+
variant?: "segment" | "underline" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
declare const tabsTriggerVariants: (props?: ({
|
|
8
|
+
variant?: "segment" | "underline" | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
+
declare const TabsList: ({ ref, className, variant, ...props }: React.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>) => React.JSX.Element;
|
|
11
|
+
declare const TabsTrigger: ({ ref, className, variant, ...props }: React.ComponentProps<typeof Tabs$1.Trigger> & VariantProps<typeof tabsTriggerVariants>) => React.JSX.Element;
|
|
12
|
+
declare const TabsContent: ({ ref, className, ...props }: React.ComponentProps<typeof Tabs$1.Content>) => React.JSX.Element;
|
|
13
|
+
export declare const Tabs: React.ForwardRefExoticComponent<Tabs$1.TabsProps & React.RefAttributes<HTMLDivElement>> & {
|
|
14
|
+
List: typeof TabsList;
|
|
15
|
+
Trigger: typeof TabsTrigger;
|
|
16
|
+
Content: typeof TabsContent;
|
|
17
|
+
Primitive: typeof Tabs$1;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { cn } from "../lib/utils.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Tabs as Tabs$1 } from "radix-ui";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { cva } from "class-variance-authority";
|
|
6
|
+
// src/components/tabs.tsx
|
|
7
|
+
const tabsListVariants = cva("h-auto text-accent-foreground", {
|
|
8
|
+
variants: { variant: {
|
|
9
|
+
underline: "gap-2 rounded-none border-b border-border bg-transparent px-0 py-1",
|
|
10
|
+
segment: "w-fit gap-1 rounded-lg bg-muted p-1"
|
|
11
|
+
} },
|
|
12
|
+
defaultVariants: { variant: "underline" }
|
|
13
|
+
});
|
|
14
|
+
const tabsTriggerVariants = cva("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", {
|
|
15
|
+
variants: { variant: {
|
|
16
|
+
underline: "relative after:absolute after:inset-x-0 after:bottom-0 after:-mb-1 after:h-0.5 hover:bg-accent data-[state=active]:bg-transparent data-[state=active]:shadow-none data-[state=active]:after:bg-primary data-[state=active]:hover:bg-accent data-[state=active]:text-primary",
|
|
17
|
+
segment: "gap-2 rounded-md text-muted-foreground hover:bg-accent data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm data-[state=active]:hover:bg-background"
|
|
18
|
+
} },
|
|
19
|
+
defaultVariants: { variant: "underline" }
|
|
20
|
+
});
|
|
21
|
+
const TabsVariantContext = React.createContext("underline");
|
|
22
|
+
const TabsList = ({ ref, className, variant, ...props }) => /* @__PURE__ */ jsx(TabsVariantContext.Provider, {
|
|
23
|
+
value: variant ?? "underline",
|
|
24
|
+
children: /* @__PURE__ */ jsx(Tabs$1.List, {
|
|
25
|
+
ref,
|
|
26
|
+
className: cn(tabsListVariants({ variant }), className),
|
|
27
|
+
...props
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
const TabsTrigger = ({ ref, className, variant, ...props }) => {
|
|
31
|
+
const listVariant = React.useContext(TabsVariantContext);
|
|
32
|
+
return /* @__PURE__ */ jsx(Tabs$1.Trigger, {
|
|
33
|
+
ref,
|
|
34
|
+
className: cn(tabsTriggerVariants({ variant: variant ?? listVariant }), className),
|
|
35
|
+
...props
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
const TabsContent = ({ ref, className, ...props }) => /* @__PURE__ */ jsx(Tabs$1.Content, {
|
|
39
|
+
ref,
|
|
40
|
+
className: cn("focus-visible:outline-hidden", className),
|
|
41
|
+
...props
|
|
42
|
+
});
|
|
43
|
+
const Tabs = Object.assign(Tabs$1.Root, {
|
|
44
|
+
List: TabsList,
|
|
45
|
+
Trigger: TabsTrigger,
|
|
46
|
+
Content: TabsContent,
|
|
47
|
+
Primitive: Tabs$1
|
|
48
|
+
});
|
|
49
|
+
export { Tabs };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from "react";
|
|
2
|
+
interface TextOverflowTooltipProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
delayDuration?: number;
|
|
6
|
+
}
|
|
7
|
+
declare const TextOverflowTooltipRoot: ({ ref: forwardedRef, value, className, delayDuration }: TextOverflowTooltipProps & React.RefAttributes<HTMLSpanElement>) => import("react").JSX.Element;
|
|
8
|
+
interface TextOverflowTooltipInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'> {
|
|
9
|
+
value?: string;
|
|
10
|
+
onChange?: (value: string) => void;
|
|
11
|
+
delayDuration?: number;
|
|
12
|
+
}
|
|
13
|
+
declare const TextOverflowTooltipInput: ({ ref: forwardedRef, value, onChange, className, delayDuration, ...props }: TextOverflowTooltipInputProps & React.RefAttributes<HTMLInputElement>) => import("react").JSX.Element;
|
|
14
|
+
export declare const TextOverflowTooltip: typeof TextOverflowTooltipRoot & {
|
|
15
|
+
Input: typeof TextOverflowTooltipInput;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Tooltip } from "./tooltip.js";
|
|
2
|
+
import { inputVariants } from "./input.js";
|
|
3
|
+
import { cn } from "../lib/utils.js";
|
|
4
|
+
import { useRef, useState } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { composeRefs } from "radix-ui/internal";
|
|
7
|
+
// src/components/text-overflow.tsx
|
|
8
|
+
/** A tooltip that opens only while the element's text is cut off, measured when it would open. */
|
|
9
|
+
function useOverflowTooltip(ref) {
|
|
10
|
+
const [open, setOpen] = useState(false);
|
|
11
|
+
const onOpenChange = (next) => {
|
|
12
|
+
const element = ref.current;
|
|
13
|
+
setOpen(next && element !== null && element.scrollWidth > element.clientWidth);
|
|
14
|
+
};
|
|
15
|
+
return {
|
|
16
|
+
open,
|
|
17
|
+
onOpenChange
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
const TextOverflowTooltipRoot = ({ ref: forwardedRef, value, className, delayDuration = 100 }) => {
|
|
21
|
+
const innerRef = useRef(null);
|
|
22
|
+
const tooltip = useOverflowTooltip(innerRef);
|
|
23
|
+
return /* @__PURE__ */ jsx(Tooltip.Provider, {
|
|
24
|
+
delayDuration,
|
|
25
|
+
children: /* @__PURE__ */ jsxs(Tooltip, {
|
|
26
|
+
...tooltip,
|
|
27
|
+
children: [/* @__PURE__ */ jsx(Tooltip.Trigger, {
|
|
28
|
+
asChild: true,
|
|
29
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
30
|
+
ref: composeRefs(innerRef, forwardedRef),
|
|
31
|
+
className: cn("truncate w-full", className),
|
|
32
|
+
children: value
|
|
33
|
+
})
|
|
34
|
+
}), /* @__PURE__ */ jsx(Tooltip.Content, { children: /* @__PURE__ */ jsx("span", { children: value }) })]
|
|
35
|
+
})
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
const TextOverflowTooltipInput = ({ ref: forwardedRef, value, onChange, className, delayDuration = 100, ...props }) => {
|
|
39
|
+
const innerRef = useRef(null);
|
|
40
|
+
const tooltip = useOverflowTooltip(innerRef);
|
|
41
|
+
return /* @__PURE__ */ jsx(Tooltip.Provider, {
|
|
42
|
+
delayDuration,
|
|
43
|
+
children: /* @__PURE__ */ jsxs(Tooltip, {
|
|
44
|
+
...tooltip,
|
|
45
|
+
children: [/* @__PURE__ */ jsx(Tooltip.Trigger, {
|
|
46
|
+
asChild: true,
|
|
47
|
+
children: /* @__PURE__ */ jsx("input", {
|
|
48
|
+
ref: composeRefs(innerRef, forwardedRef),
|
|
49
|
+
value,
|
|
50
|
+
onChange: (e) => onChange?.(e.target.value),
|
|
51
|
+
className: cn(inputVariants(), className),
|
|
52
|
+
...props
|
|
53
|
+
})
|
|
54
|
+
}), value && /* @__PURE__ */ jsx(Tooltip.Content, { children: /* @__PURE__ */ jsx("span", { children: value }) })]
|
|
55
|
+
})
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
const TextOverflowTooltip = Object.assign(TextOverflowTooltipRoot, { Input: TextOverflowTooltipInput });
|
|
59
|
+
export { TextOverflowTooltip };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { cn } from "../lib/utils.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
// src/components/textarea.tsx
|
|
5
|
+
const Textarea = ({ ref, className, ...props }) => {
|
|
6
|
+
return /* @__PURE__ */ jsx("textarea", {
|
|
7
|
+
className: cn("flex min-h-[60px] w-full rounded bg-transparent px-3 py-1.5 text-sm shadow-xs transition-[color,box-shadow] placeholder:text-accent-foreground focus-visible:outline-hidden focus-visible:shadow-focus disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", className),
|
|
8
|
+
ref,
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
export { Textarea };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DateFieldProps, DateInputProps as DateInputProps$1, DateSegmentProps, DateValue, TimeFieldProps, TimeValue } from "react-aria-components";
|
|
2
|
+
declare function DateField<T extends DateValue>({ className, children, ...props }: DateFieldProps<T>): import("react").JSX.Element;
|
|
3
|
+
declare function TimeField<T extends TimeValue>({ className, children, ...props }: TimeFieldProps<T>): import("react").JSX.Element;
|
|
4
|
+
declare function DateSegment({ className, ...props }: DateSegmentProps): import("react").JSX.Element;
|
|
5
|
+
interface DateInputProps extends DateInputProps$1 {
|
|
6
|
+
className?: string;
|
|
7
|
+
unstyled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function DateInput({ className, unstyled, ...props }: Omit<DateInputProps, 'children'>): import("react").JSX.Element;
|
|
10
|
+
export { DateField, DateInput, type DateInputProps, DateSegment, TimeField };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { cn } from "../lib/utils.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { DateField as DateField$1, DateInput as DateInput$1, DateSegment as DateSegment$1, TimeField as TimeField$1, composeRenderProps } from "react-aria-components";
|
|
4
|
+
// src/components/time-picker.tsx
|
|
5
|
+
function DateField({ className, children, ...props }) {
|
|
6
|
+
return /* @__PURE__ */ jsx(DateField$1, {
|
|
7
|
+
className,
|
|
8
|
+
...props,
|
|
9
|
+
children
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function TimeField({ className, children, ...props }) {
|
|
13
|
+
return /* @__PURE__ */ jsx(TimeField$1, {
|
|
14
|
+
className,
|
|
15
|
+
...props,
|
|
16
|
+
children
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function DateSegment({ className, ...props }) {
|
|
20
|
+
return /* @__PURE__ */ jsx(DateSegment$1, {
|
|
21
|
+
className: composeRenderProps(className, (rendered) => cn("text-foreground data-[focused=true]:bg-primary data-[invalid=true]:data-[focused=true]:bg-destructive data-[focused=true]:data-[placeholder=true]:text-primary-foreground data-[focused=true]:text-primary-foreground data-[invalid=true]:data-[placeholder=true]:text-destructive data-[invalid=true]:text-destructive data-[placeholder=true]:text-accent-foreground data-[type=literal]:text-accent-foreground inline rounded p-0.5 caret-transparent outline-hidden data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50 data-[invalid=true]:data-[focused=true]:text-primary-foreground data-[type=literal]:px-0 data-[focused=true]:outline-hidden", rendered)),
|
|
22
|
+
...props,
|
|
23
|
+
"data-invalid": true
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function DateInput({ className, unstyled = false, ...props }) {
|
|
27
|
+
return /* @__PURE__ */ jsx(DateInput$1, {
|
|
28
|
+
className: composeRenderProps(className, (rendered) => cn(!unstyled && "relative inline-flex h-7 w-full items-center overflow-hidden whitespace-nowrap rounded bg-background px-2 py-2 text-sm shadow-xs transition-[color,box-shadow] outline-hidden data-[focus-within=true]:shadow-focus data-[focus-within=true]:has-aria-invalid:shadow-destructive", rendered)),
|
|
29
|
+
...props,
|
|
30
|
+
children: (segment) => /* @__PURE__ */ jsx(DateSegment, { segment })
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
export { DateField, DateInput, DateSegment, TimeField };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Toaster(): import("react").JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Toast } from "./toasts.js";
|
|
2
|
+
import { useToast } from "../hooks/use-toast.js";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
// src/components/toaster.tsx
|
|
5
|
+
function Toaster() {
|
|
6
|
+
const { toasts, dismiss } = useToast();
|
|
7
|
+
return /* @__PURE__ */ jsxs(Toast.Provider, { children: [toasts.map(function({ id, title, description, action, dismissOnPointerEnter, ...props }) {
|
|
8
|
+
return /* @__PURE__ */ jsxs(Toast, {
|
|
9
|
+
...props,
|
|
10
|
+
onPointerEnter: (event) => {
|
|
11
|
+
props.onPointerEnter?.(event);
|
|
12
|
+
if (dismissOnPointerEnter && event.pointerType === "mouse") dismiss(id);
|
|
13
|
+
},
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ jsxs("div", {
|
|
16
|
+
className: "grid gap-1",
|
|
17
|
+
children: [title && /* @__PURE__ */ jsx(Toast.Title, { children: title }), description && /* @__PURE__ */ jsx(Toast.Description, { children: description })]
|
|
18
|
+
}),
|
|
19
|
+
action,
|
|
20
|
+
/* @__PURE__ */ jsx(Toast.Close, {})
|
|
21
|
+
]
|
|
22
|
+
}, id);
|
|
23
|
+
}), /* @__PURE__ */ jsx(Toast.Viewport, {})] });
|
|
24
|
+
}
|
|
25
|
+
export { Toaster };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Toast as Toast$1 } from "radix-ui";
|
|
3
|
+
declare const ToastViewport: ({ ref, className, ...props }: React.ComponentProps<typeof Toast$1.Viewport>) => React.JSX.Element;
|
|
4
|
+
declare const ToastRoot: ({ ref, className, variant, children, ...props }: React.ComponentProps<typeof Toast$1.Root> & {
|
|
5
|
+
variant?: 'success' | 'warning' | 'destructive' | 'default';
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
|
+
declare const ToastAction: ({ ref, className, ...props }: React.ComponentProps<typeof Toast$1.Action>) => React.JSX.Element;
|
|
8
|
+
declare const ToastClose: ({ ref, className, ...props }: React.ComponentProps<typeof Toast$1.Close>) => React.JSX.Element;
|
|
9
|
+
declare const ToastTitle: ({ ref, className, ...props }: React.ComponentProps<typeof Toast$1.Title>) => React.JSX.Element;
|
|
10
|
+
declare const ToastDescription: ({ ref, className, ...props }: React.ComponentProps<typeof Toast$1.Description>) => React.JSX.Element;
|
|
11
|
+
export type ToastProps = React.ComponentPropsWithoutRef<typeof ToastRoot>;
|
|
12
|
+
export type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
13
|
+
export declare const Toast: typeof ToastRoot & {
|
|
14
|
+
Provider: React.FC<Toast$1.ToastProviderProps>;
|
|
15
|
+
Viewport: typeof ToastViewport;
|
|
16
|
+
Action: typeof ToastAction;
|
|
17
|
+
Close: typeof ToastClose;
|
|
18
|
+
Title: typeof ToastTitle;
|
|
19
|
+
Description: typeof ToastDescription;
|
|
20
|
+
};
|
|
21
|
+
export {};
|