@erxes/ui 3.4.22 → 4.0.0-v2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -58
- package/dist/base.css +137 -0
- package/dist/components/accordion.d.ts +10 -0
- package/dist/components/accordion.js +34 -0
- package/dist/components/alert-dialog.d.ts +24 -0
- package/dist/components/alert-dialog.js +57 -0
- package/dist/components/alert.d.ts +13 -0
- package/dist/components/alert.js +40 -0
- package/dist/components/avatar.d.ts +17 -0
- package/dist/components/avatar.js +52 -0
- package/dist/components/background-gradient-animation.d.ts +7 -0
- package/dist/components/background-gradient-animation.js +51 -0
- package/dist/components/badge.d.ts +10 -0
- package/dist/components/badge.js +53 -0
- package/dist/components/breadcrumb.d.ts +23 -0
- package/dist/components/breadcrumb.js +66 -0
- package/dist/components/button.d.ts +18 -0
- package/dist/components/button.js +66 -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 +26 -0
- package/dist/components/chart-config.js +35 -0
- package/dist/components/charts.d.ts +27 -0
- package/dist/components/charts.js +117 -0
- package/dist/components/checkbox.d.ts +2 -0
- package/dist/components/checkbox.js +35 -0
- package/dist/components/choicebox-group.d.ts +19 -0
- package/dist/components/choicebox-group.js +42 -0
- package/dist/components/collapsible.d.ts +9 -0
- package/dist/components/collapsible.js +16 -0
- package/dist/components/color-picker.d.ts +27 -0
- package/dist/components/color-picker.js +130 -0
- package/dist/components/combobox.d.ts +48 -0
- package/dist/components/combobox.js +141 -0
- package/dist/components/command-bar.d.ts +17 -0
- package/dist/components/command-bar.js +59 -0
- package/dist/components/command.d.ts +51 -0
- package/dist/components/command.js +145 -0
- package/dist/components/context-menu.d.ts +22 -0
- package/dist/components/context-menu.js +33 -0
- package/dist/components/copy-text.d.ts +7 -0
- package/dist/components/copy-text.js +29 -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 +167 -0
- package/dist/components/date-text-input.d.ts +26 -0
- package/dist/components/date-text-input.js +87 -0
- package/dist/components/date-time-input.d.ts +12 -0
- package/dist/components/date-time-input.js +21 -0
- package/dist/components/dialog.d.ts +34 -0
- package/dist/components/dialog.js +88 -0
- package/dist/components/drag-handle.d.ts +4 -0
- package/dist/components/drag-handle.js +17 -0
- package/dist/components/dropdown-menu.d.ts +53 -0
- package/dist/components/dropdown-menu.js +121 -0
- package/dist/components/empty.d.ts +18 -0
- package/dist/components/empty.js +65 -0
- package/dist/components/form.d.ts +48 -0
- package/dist/components/form.js +109 -0
- package/dist/components/hover-card.d.ts +9 -0
- package/dist/components/hover-card.js +26 -0
- package/dist/components/info-card.d.ts +12 -0
- package/dist/components/info-card.js +36 -0
- package/dist/components/input-group.d.ts +22 -0
- package/dist/components/input-group.js +42 -0
- package/dist/components/input.d.ts +28 -0
- package/dist/components/input.js +67 -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 +22 -0
- package/dist/components/multiselect.d.ts +21 -0
- package/dist/components/multiselect.js +107 -0
- package/dist/components/on-demand.d.ts +17 -0
- package/dist/components/on-demand.js +42 -0
- package/dist/components/popover.d.ts +22 -0
- package/dist/components/popover.js +46 -0
- package/dist/components/radio-group.d.ts +9 -0
- package/dist/components/radio-group.js +30 -0
- package/dist/components/resizable.d.ts +14 -0
- package/dist/components/resizable.js +19 -0
- package/dist/components/scroll-area.d.ts +20 -0
- package/dist/components/scroll-area.js +41 -0
- package/dist/components/select.d.ts +30 -0
- package/dist/components/select.js +115 -0
- package/dist/components/separator.d.ts +8 -0
- package/dist/components/separator.js +17 -0
- package/dist/components/sheet.d.ts +35 -0
- package/dist/components/sheet.js +118 -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 +10 -0
- package/dist/components/sidebar/group.js +43 -0
- package/dist/components/sidebar/layout.d.ts +14 -0
- package/dist/components/sidebar/layout.js +57 -0
- package/dist/components/sidebar/menu-sub.d.ts +9 -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 +86 -0
- package/dist/components/sidebar/panel.d.ts +7 -0
- package/dist/components/sidebar/panel.js +110 -0
- package/dist/components/sidebar/root.d.ts +10 -0
- package/dist/components/sidebar/root.js +81 -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 +7 -0
- package/dist/components/skeleton.js +26 -0
- package/dist/components/slider.d.ts +6 -0
- package/dist/components/slider.js +24 -0
- package/dist/components/spinner.d.ts +14 -0
- package/dist/components/spinner.js +52 -0
- package/dist/components/string-array.d.ts +9 -0
- package/dist/components/string-array.js +44 -0
- package/dist/components/switch.d.ts +7 -0
- package/dist/components/switch.js +25 -0
- package/dist/components/table.d.ts +30 -0
- package/dist/components/table.js +78 -0
- package/dist/components/tabs.d.ts +45 -0
- package/dist/components/tabs.js +122 -0
- package/dist/components/text-overflow.d.ts +15 -0
- package/dist/components/text-overflow.js +53 -0
- package/dist/components/textarea.d.ts +9 -0
- package/dist/components/textarea.js +33 -0
- package/dist/components/toaster.d.ts +2 -0
- package/dist/components/toaster.js +46 -0
- package/dist/components/toggle-group.d.ts +12 -0
- package/dist/components/toggle-group.js +36 -0
- package/dist/components/toggle.d.ts +7 -0
- package/dist/components/toggle.js +33 -0
- package/dist/components/tooltip.d.ts +10 -0
- package/dist/components/tooltip.js +28 -0
- package/dist/components/upload.d.ts +41 -0
- package/dist/components/upload.js +200 -0
- package/dist/components.css +325 -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/federation.d.ts +10 -0
- package/dist/federation.js +24 -0
- package/dist/fonts.css +5 -0
- package/dist/hooks/use-confirm.d.ts +25 -0
- package/dist/hooks/use-confirm.js +131 -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 +19 -0
- package/dist/hooks/use-toast.js +18 -0
- package/dist/hooks/use-upload.d.ts +34 -0
- package/dist/hooks/use-upload.js +77 -0
- package/dist/index.d.ts +104 -0
- package/dist/index.js +99 -0
- package/dist/lib/cn-tables.d.ts +27 -0
- package/dist/lib/cn-tables.js +128 -0
- package/dist/lib/keyed-atom.d.ts +3 -0
- package/dist/lib/keyed-atom.js +6 -0
- package/dist/lib/utils.d.ts +14 -0
- package/dist/lib/utils.js +15 -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 +91 -0
- package/dist/modules/blocks/components/BarcodeSizeSettings.d.ts +5 -0
- package/dist/modules/blocks/components/BarcodeSizeSettings.js +104 -0
- package/dist/modules/blocks/components/BlockEditor.d.ts +2 -0
- package/dist/modules/blocks/components/BlockEditor.js +77 -0
- package/dist/modules/blocks/components/BlockEditorInlineContent.d.ts +30 -0
- package/dist/modules/blocks/components/BlockEditorInlineContent.js +56 -0
- package/dist/modules/blocks/components/BlockToolbar.d.ts +7 -0
- package/dist/modules/blocks/components/BlockToolbar.js +30 -0
- package/dist/modules/blocks/components/CustomFileBlock.d.ts +14 -0
- package/dist/modules/blocks/components/CustomFileBlock.js +51 -0
- package/dist/modules/blocks/components/CustomImageBlock.d.ts +29 -0
- package/dist/modules/blocks/components/CustomImageBlock.js +163 -0
- package/dist/modules/blocks/components/CustomVideoBlock.d.ts +27 -0
- package/dist/modules/blocks/components/CustomVideoBlock.js +69 -0
- package/dist/modules/blocks/components/DocumentPlaceholderBlock.d.ts +14 -0
- package/dist/modules/blocks/components/DocumentPlaceholderBlock.js +68 -0
- package/dist/modules/blocks/components/Editor.d.ts +2 -0
- package/dist/modules/blocks/components/Editor.js +28 -0
- package/dist/modules/blocks/components/FontFamilyButton.d.ts +1 -0
- package/dist/modules/blocks/components/FontFamilyButton.js +34 -0
- package/dist/modules/blocks/components/FontSizeButton.d.ts +1 -0
- package/dist/modules/blocks/components/FontSizeButton.js +51 -0
- package/dist/modules/blocks/components/GalleryBlock.d.ts +8 -0
- package/dist/modules/blocks/components/GalleryBlock.js +27 -0
- package/dist/modules/blocks/components/GalleryBlockContent.d.ts +2 -0
- package/dist/modules/blocks/components/GalleryBlockContent.js +86 -0
- package/dist/modules/blocks/components/GalleryBlockParts.d.ts +17 -0
- package/dist/modules/blocks/components/GalleryBlockParts.js +97 -0
- package/dist/modules/blocks/components/GalleryExternalHtml.d.ts +2 -0
- package/dist/modules/blocks/components/GalleryExternalHtml.js +36 -0
- package/dist/modules/blocks/components/ImageExternalHtml.d.ts +2 -0
- package/dist/modules/blocks/components/ImageExternalHtml.js +51 -0
- package/dist/modules/blocks/components/ImageStyleButton.d.ts +1 -0
- package/dist/modules/blocks/components/ImageStyleButton.js +42 -0
- package/dist/modules/blocks/components/LazyEditor.d.ts +9 -0
- package/dist/modules/blocks/components/LazyEditor.js +14 -0
- package/dist/modules/blocks/components/MediaBlockWrapper.d.ts +24 -0
- package/dist/modules/blocks/components/MediaBlockWrapper.js +98 -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 +35 -0
- package/dist/modules/blocks/components/TableColorPicker.d.ts +3 -0
- package/dist/modules/blocks/components/TableColorPicker.js +104 -0
- package/dist/modules/blocks/components/TableHandleWithRemove.d.ts +2 -0
- package/dist/modules/blocks/components/TableHandleWithRemove.js +81 -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 +9 -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 +9 -0
- package/dist/modules/blocks/components/toolbar/menus/MenuCheckboxItem.d.ts +3 -0
- package/dist/modules/blocks/components/toolbar/menus/MenuCheckboxItem.js +8 -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 +9 -0
- package/dist/modules/blocks/components/toolbar/menus/ToolbarSelect.d.ts +2 -0
- package/dist/modules/blocks/components/toolbar/menus/ToolbarSelect.js +33 -0
- package/dist/modules/blocks/constant/blockEditorSchema.d.ts +334 -0
- package/dist/modules/blocks/constant/blockEditorSchema.js +71 -0
- package/dist/modules/blocks/constant/galleryBlockConfig.d.ts +14 -0
- package/dist/modules/blocks/constant/galleryBlockConfig.js +10 -0
- package/dist/modules/blocks/constant/imageBlockConfig.d.ts +46 -0
- package/dist/modules/blocks/constant/imageBlockConfig.js +39 -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 +2 -0
- package/dist/modules/blocks/constant/toolbar/editorUIComponents.js +14 -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 +10 -0
- package/dist/modules/blocks/hooks/toolbar/useStringStyle.d.ts +9 -0
- package/dist/modules/blocks/hooks/toolbar/useStringStyle.js +27 -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 +9 -0
- package/dist/modules/blocks/hooks/useBlockEditor.js +47 -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 +13 -0
- package/dist/modules/blocks/hooks/useEditorValue.js +39 -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 +30 -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/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 +28 -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 +5 -0
- package/dist/modules/blocks/utils/parseBlocks.js +22 -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/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 +63 -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 +23 -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 +63 -0
- package/dist/modules/filter/components/FilterPopover.d.ts +24 -0
- package/dist/modules/filter/components/FilterPopover.js +129 -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 +11 -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/useScopedHotkeys.d.ts +3 -0
- package/dist/modules/hotkey/hooks/useScopedHotkeys.js +23 -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/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 +45 -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 +66 -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 +73 -0
- package/dist/modules/inputs/components/FullNameField.d.ts +9 -0
- package/dist/modules/inputs/components/FullNameField.js +90 -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 +63 -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 +190 -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 +10 -0
- package/dist/modules/layout/components/Page.js +28 -0
- package/dist/modules/layout/components/PageHeader.d.ts +20 -0
- package/dist/modules/layout/components/PageHeader.js +45 -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 +42 -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 +65 -0
- package/dist/modules/record-field/components/TextField.d.ts +12 -0
- package/dist/modules/record-field/components/TextField.js +62 -0
- package/dist/modules/record-field/meta-inputs/components/PhoneInput.d.ts +16 -0
- package/dist/modules/record-field/meta-inputs/components/PhoneInput.js +152 -0
- package/dist/modules/record-table/components/CheckboxColumn.d.ts +6 -0
- package/dist/modules/record-table/components/CheckboxColumn.js +94 -0
- package/dist/modules/record-table/components/MoreColumn.d.ts +3 -0
- package/dist/modules/record-table/components/MoreColumn.js +18 -0
- package/dist/modules/record-table/components/RecordTable.d.ts +35 -0
- package/dist/modules/record-table/components/RecordTable.js +38 -0
- package/dist/modules/record-table/components/RecordTableCell.d.ts +8 -0
- package/dist/modules/record-table/components/RecordTableCell.js +35 -0
- package/dist/modules/record-table/components/RecordTableCellInline.d.ts +25 -0
- package/dist/modules/record-table/components/RecordTableCellInline.js +83 -0
- package/dist/modules/record-table/components/RecordTableColumnSelector.d.ts +3 -0
- package/dist/modules/record-table/components/RecordTableColumnSelector.js +135 -0
- package/dist/modules/record-table/components/RecordTableContainer.d.ts +11 -0
- package/dist/modules/record-table/components/RecordTableContainer.js +45 -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 +10 -0
- package/dist/modules/record-table/components/RecordTableHead.js +78 -0
- package/dist/modules/record-table/components/RecordTableHeader.d.ts +3 -0
- package/dist/modules/record-table/components/RecordTableHeader.js +64 -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 +42 -0
- package/dist/modules/record-table/components/RecordTableProvider.js +73 -0
- package/dist/modules/record-table/components/RecordTableRoot.d.ts +3 -0
- package/dist/modules/record-table/components/RecordTableRoot.js +12 -0
- package/dist/modules/record-table/components/RecordTableRow.d.ts +12 -0
- package/dist/modules/record-table/components/RecordTableRow.js +29 -0
- package/dist/modules/record-table/components/RecordTableRowList.d.ts +11 -0
- package/dist/modules/record-table/components/RecordTableRowList.js +40 -0
- package/dist/modules/record-table/components/RecordTableRowSkeleton.d.ts +7 -0
- package/dist/modules/record-table/components/RecordTableRowSkeleton.js +28 -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 +81 -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 +4 -0
- package/dist/modules/record-table/utils/columnUtils.js +5 -0
- package/dist/modules/record-table/utils/rowFields.d.ts +14 -0
- package/dist/modules/record-table/utils/rowFields.js +25 -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 +16 -0
- package/dist/theme.css +313 -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 +76 -488
- 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/fonts.css +0 -5
- 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/EditorVisibleBounds.js +0 -0
- package/modules/blocks/types/toolbar/FontFamily.d.ts +0 -5
- package/modules/blocks/types/toolbar/FontFamily.js +0 -0
- package/modules/blocks/types/toolbar/FontSize.d.ts +0 -5
- package/modules/blocks/types/toolbar/FontSize.js +0 -0
- 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/ToolbarMenuItemProps.js +0 -0
- package/modules/blocks/types/toolbar/ToolbarPositioningOptions.d.ts +0 -3
- package/modules/blocks/types/toolbar/ToolbarPositioningOptions.js +0 -0
- 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/{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/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}/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,115 @@
|
|
|
1
|
+
import { cn } from "../lib/utils.js";
|
|
2
|
+
import { IconCheck, IconChevronDown, IconChevronUp } from "@tabler/icons-react";
|
|
3
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { createContext, use, useCallback, useLayoutEffect, useState } from "react";
|
|
5
|
+
import { cva } from "class-variance-authority";
|
|
6
|
+
import { Select as Select$1 } from "@base-ui/react/select";
|
|
7
|
+
// src/components/select.tsx
|
|
8
|
+
const RegisterLabelContext = createContext(() => void 0);
|
|
9
|
+
const CollectingContext = createContext(false);
|
|
10
|
+
/** An empty string means nothing is selected, as it did under Radix. Clearing isn't reported. */
|
|
11
|
+
const SelectRoot = ({ value, defaultValue, onValueChange, ...props }) => {
|
|
12
|
+
const [labels, setLabels] = useState({});
|
|
13
|
+
const register = useCallback((itemValue, label) => {
|
|
14
|
+
setLabels((prev) => prev[itemValue] === label ? prev : {
|
|
15
|
+
...prev,
|
|
16
|
+
[itemValue]: label
|
|
17
|
+
});
|
|
18
|
+
}, []);
|
|
19
|
+
return /* @__PURE__ */ jsx(RegisterLabelContext, {
|
|
20
|
+
value: register,
|
|
21
|
+
children: /* @__PURE__ */ jsx(Select$1.Root, {
|
|
22
|
+
items: labels,
|
|
23
|
+
value: value === "" ? null : value,
|
|
24
|
+
defaultValue: defaultValue === "" ? null : defaultValue,
|
|
25
|
+
onValueChange: (next) => {
|
|
26
|
+
if (next !== null) onValueChange?.(next);
|
|
27
|
+
},
|
|
28
|
+
...props
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
const SelectGroup = (props) => use(CollectingContext) ? props.children : /* @__PURE__ */ jsx(Select$1.Group, { ...props });
|
|
33
|
+
const selectTriggerVariants = cva("flex h-7 w-full items-center font-medium justify-between whitespace-nowrap rounded bg-transparent px-3 py-1 transition text-sm shadow-xs data-placeholder:text-accent-foreground focus:outline-hidden focus:shadow-focus data-disabled:cursor-not-allowed data-disabled:opacity-50 [&>span]:line-clamp-1", {
|
|
34
|
+
variants: { variant: {
|
|
35
|
+
default: "",
|
|
36
|
+
bordered: "border border-input font-normal shadow-none",
|
|
37
|
+
flush: "rounded-none shadow-none"
|
|
38
|
+
} },
|
|
39
|
+
defaultVariants: { variant: "default" }
|
|
40
|
+
});
|
|
41
|
+
const SelectTrigger = ({ className, children, variant, ...props }) => /* @__PURE__ */ jsxs(Select$1.Trigger, {
|
|
42
|
+
className: cn(selectTriggerVariants({ variant }), className),
|
|
43
|
+
...props,
|
|
44
|
+
children: [children, /* @__PURE__ */ jsx(IconChevronDown, {
|
|
45
|
+
"aria-hidden": true,
|
|
46
|
+
className: "w-4 h-4 opacity-50"
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
const SelectContent = ({ className, children, side = "bottom", align = "center", ...props }) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(CollectingContext, {
|
|
50
|
+
value: true,
|
|
51
|
+
children
|
|
52
|
+
}), /* @__PURE__ */ jsx(Select$1.Portal, { children: /* @__PURE__ */ jsx(Select$1.Positioner, {
|
|
53
|
+
className: "isolate z-50",
|
|
54
|
+
side,
|
|
55
|
+
align,
|
|
56
|
+
alignItemWithTrigger: false,
|
|
57
|
+
collisionPadding: 0,
|
|
58
|
+
children: /* @__PURE__ */ jsxs(Select$1.Popup, {
|
|
59
|
+
className: cn("relative max-h-popup min-w-32 overflow-hidden flex flex-col rounded-md bg-background shadow-lg data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
60
|
+
...props,
|
|
61
|
+
children: [
|
|
62
|
+
/* @__PURE__ */ jsx(Select$1.ScrollUpArrow, {
|
|
63
|
+
className: "flex cursor-default items-center justify-center py-1",
|
|
64
|
+
children: /* @__PURE__ */ jsx(IconChevronUp, { className: "w-4 h-4" })
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ jsx(Select$1.List, {
|
|
67
|
+
className: "max-h-inherit w-full min-w-(--anchor-width) overflow-y-auto p-1",
|
|
68
|
+
children
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ jsx(Select$1.ScrollDownArrow, {
|
|
71
|
+
className: "flex cursor-default items-center justify-center py-1",
|
|
72
|
+
children: /* @__PURE__ */ jsx(IconChevronDown, { className: "w-4 h-4" })
|
|
73
|
+
})
|
|
74
|
+
]
|
|
75
|
+
})
|
|
76
|
+
}) })] });
|
|
77
|
+
const SelectLabel = ({ className, ...props }) => use(CollectingContext) ? null : /* @__PURE__ */ jsx(Select$1.GroupLabel, {
|
|
78
|
+
className: cn("px-2 py-1.5 text-xs font-semibold text-muted-foreground", className),
|
|
79
|
+
...props
|
|
80
|
+
});
|
|
81
|
+
const CollectedItem = ({ value, children }) => {
|
|
82
|
+
const register = use(RegisterLabelContext);
|
|
83
|
+
useLayoutEffect(() => register(value, children), [
|
|
84
|
+
register,
|
|
85
|
+
value,
|
|
86
|
+
children
|
|
87
|
+
]);
|
|
88
|
+
return null;
|
|
89
|
+
};
|
|
90
|
+
const SelectItem = ({ className, children, value, ...props }) => use(CollectingContext) ? /* @__PURE__ */ jsx(CollectedItem, {
|
|
91
|
+
value,
|
|
92
|
+
children
|
|
93
|
+
}) : /* @__PURE__ */ jsxs(Select$1.Item, {
|
|
94
|
+
value,
|
|
95
|
+
className: cn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-hidden data-highlighted:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", className),
|
|
96
|
+
...props,
|
|
97
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
98
|
+
className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
99
|
+
children: /* @__PURE__ */ jsx(Select$1.ItemIndicator, { children: /* @__PURE__ */ jsx(IconCheck, { className: "w-4 h-4" }) })
|
|
100
|
+
}), /* @__PURE__ */ jsx(Select$1.ItemText, { children })]
|
|
101
|
+
});
|
|
102
|
+
const SelectSeparator = ({ className, ...props }) => use(CollectingContext) ? null : /* @__PURE__ */ jsx(Select$1.Separator, {
|
|
103
|
+
className: cn("-mx-1 my-1 h-px bg-muted", className),
|
|
104
|
+
...props
|
|
105
|
+
});
|
|
106
|
+
const Select = Object.assign(SelectRoot, {
|
|
107
|
+
Group: SelectGroup,
|
|
108
|
+
Value: Select$1.Value,
|
|
109
|
+
Trigger: SelectTrigger,
|
|
110
|
+
Content: SelectContent,
|
|
111
|
+
Label: SelectLabel,
|
|
112
|
+
Item: SelectItem,
|
|
113
|
+
Separator: SelectSeparator
|
|
114
|
+
});
|
|
115
|
+
export { Select };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
3
|
+
declare const SeparatorRoot: ({ className, orientation, ...props }: React.ComponentProps<typeof Separator$1>) => React.JSX.Element;
|
|
4
|
+
declare const SeparatorInline: ({ className, orientation, ...props }: React.ComponentProps<typeof Separator$1>) => React.JSX.Element;
|
|
5
|
+
export declare const Separator: typeof SeparatorRoot & {
|
|
6
|
+
Inline: typeof SeparatorInline;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { cn } from "../lib/utils.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
5
|
+
// src/components/separator.tsx
|
|
6
|
+
const SeparatorRoot = ({ className, orientation = "horizontal", ...props }) => /* @__PURE__ */ jsx(Separator$1, {
|
|
7
|
+
orientation,
|
|
8
|
+
className: cn("shrink-0 bg-border", orientation === "horizontal" ? "h-px w-full" : "h-full w-px", className),
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
const SeparatorInline = ({ className, orientation = "vertical", ...props }) => /* @__PURE__ */ jsx(Separator$1, {
|
|
12
|
+
orientation,
|
|
13
|
+
className: cn("inline-block bg-border rounded-lg flex-none", orientation === "horizontal" ? "w-3 h-0.5" : "w-0.5 h-3", className),
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
const Separator = Object.assign(SeparatorRoot, { Inline: SeparatorInline });
|
|
17
|
+
export { Separator };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
import { Dialog } from "@base-ui/react/dialog";
|
|
4
|
+
declare const SheetRoot: ({ headerActions, ...props }: Dialog.Root.Props & {
|
|
5
|
+
headerActions?: React.ReactNode;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
|
+
declare const sheetVariants: (props?: ({
|
|
8
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
9
|
+
size?: "lg" | "md" | "xl" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
+
/** Dims the page under a sheet. View renders one. */
|
|
12
|
+
declare const SheetBackdrop: ({ className, ...props }: Dialog.Backdrop.Props) => React.JSX.Element;
|
|
13
|
+
/** The backdrop fades in under the panel, which slides in from its side and fades with it. */
|
|
14
|
+
declare const SheetView: ({ side, size, className, ...props }: Dialog.Popup.Props & VariantProps<typeof sheetVariants>) => React.JSX.Element;
|
|
15
|
+
/** The close icon button in a sheet header. */
|
|
16
|
+
declare const SheetClose: ({ className }: {
|
|
17
|
+
className?: string;
|
|
18
|
+
}) => React.JSX.Element;
|
|
19
|
+
declare const SheetHeader: ({ className, children, ...props }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
20
|
+
declare const SheetContent: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
21
|
+
declare const SheetFooter: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
22
|
+
declare const SheetTitle: ({ className, ...props }: Dialog.Title.Props) => React.JSX.Element;
|
|
23
|
+
declare const SheetDescription: ({ className, ...props }: Dialog.Description.Props) => React.JSX.Element;
|
|
24
|
+
export declare const Sheet: typeof SheetRoot & {
|
|
25
|
+
Trigger: Dialog.Trigger;
|
|
26
|
+
View: typeof SheetView;
|
|
27
|
+
Backdrop: typeof SheetBackdrop;
|
|
28
|
+
Content: typeof SheetContent;
|
|
29
|
+
Header: typeof SheetHeader;
|
|
30
|
+
Footer: typeof SheetFooter;
|
|
31
|
+
Title: typeof SheetTitle;
|
|
32
|
+
Description: typeof SheetDescription;
|
|
33
|
+
Close: typeof SheetClose;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Button } from "./button.js";
|
|
2
|
+
import { cn } from "../lib/utils.js";
|
|
3
|
+
import { IconX } from "@tabler/icons-react";
|
|
4
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
7
|
+
import { Dialog } from "@base-ui/react/dialog";
|
|
8
|
+
import { useTranslation } from "react-i18next";
|
|
9
|
+
// src/components/sheet.tsx
|
|
10
|
+
const SheetHeaderActionsContext = React.createContext(null);
|
|
11
|
+
const SheetRoot = ({ headerActions = null, ...props }) => /* @__PURE__ */ jsx(SheetHeaderActionsContext, {
|
|
12
|
+
value: headerActions,
|
|
13
|
+
children: /* @__PURE__ */ jsx(Dialog.Root, { ...props })
|
|
14
|
+
});
|
|
15
|
+
const sheetVariants = cva("fixed z-50 shadow-lg outline-hidden ease-in-out data-closed:duration-200 data-open:duration-200 data-open:animate-in data-closed:animate-out data-open:fade-in-0 data-closed:fade-out-0 data-closed:animation-forwards rounded-md bg-muted", {
|
|
16
|
+
variants: {
|
|
17
|
+
side: {
|
|
18
|
+
top: "inset-x-0 top-0 border-b data-closed:slide-out-to-top-full data-open:slide-in-from-top-full",
|
|
19
|
+
bottom: "inset-x-0 bottom-0 border-t data-closed:slide-out-to-bottom-full data-open:slide-in-from-bottom-full",
|
|
20
|
+
left: "inset-y-0 left-0 h-full flex flex-col w-3/4 border-r data-closed:slide-out-to-left-full data-open:slide-in-from-left-full sm:max-w-md",
|
|
21
|
+
right: "inset-y-2 right-2 max-sm:left-2 flex flex-col data-closed:slide-out-to-right-full data-open:slide-in-from-right-full overflow-hidden"
|
|
22
|
+
},
|
|
23
|
+
size: {
|
|
24
|
+
md: "",
|
|
25
|
+
lg: "",
|
|
26
|
+
xl: ""
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
compoundVariants: [
|
|
30
|
+
{
|
|
31
|
+
side: "right",
|
|
32
|
+
size: "md",
|
|
33
|
+
className: "sm:w-md"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
side: "right",
|
|
37
|
+
size: "lg",
|
|
38
|
+
className: "sm:w-lg"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
side: "right",
|
|
42
|
+
size: "xl",
|
|
43
|
+
className: "sm:w-xl"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
defaultVariants: {
|
|
47
|
+
side: "right",
|
|
48
|
+
size: "md"
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
/** Dims the page under a sheet. View renders one. */
|
|
52
|
+
const SheetBackdrop = ({ className, ...props }) => /* @__PURE__ */ jsx(Dialog.Backdrop, {
|
|
53
|
+
forceRender: true,
|
|
54
|
+
className: cn("fixed inset-0 z-50 bg-black/25 data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-open:duration-200 data-closed:duration-200 data-closed:animation-forwards", className),
|
|
55
|
+
...props
|
|
56
|
+
});
|
|
57
|
+
/** The backdrop fades in under the panel, which slides in from its side and fades with it. */
|
|
58
|
+
const SheetView = ({ side = "right", size, className, ...props }) => /* @__PURE__ */ jsxs(Dialog.Portal, { children: [/* @__PURE__ */ jsx(SheetBackdrop, {}), /* @__PURE__ */ jsx(Dialog.Popup, {
|
|
59
|
+
className: cn(sheetVariants({
|
|
60
|
+
side,
|
|
61
|
+
size
|
|
62
|
+
}), className),
|
|
63
|
+
...props
|
|
64
|
+
})] });
|
|
65
|
+
/** The close icon button in a sheet header. */
|
|
66
|
+
const SheetClose = ({ className }) => {
|
|
67
|
+
const { t } = useTranslation();
|
|
68
|
+
return /* @__PURE__ */ jsx(Dialog.Close, {
|
|
69
|
+
"aria-label": t("close", "Close"),
|
|
70
|
+
render: /* @__PURE__ */ jsx(Button, {
|
|
71
|
+
variant: "secondary",
|
|
72
|
+
size: "icon",
|
|
73
|
+
className: cn("ml-auto", className)
|
|
74
|
+
}),
|
|
75
|
+
children: /* @__PURE__ */ jsx(IconX, {})
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
const SheetHeader = ({ className, children, ...props }) => {
|
|
79
|
+
const actions = React.useContext(SheetHeaderActionsContext);
|
|
80
|
+
const items = React.Children.toArray(children);
|
|
81
|
+
const close = actions ? items.find((child) => React.isValidElement(child) && child.type === SheetClose) : void 0;
|
|
82
|
+
return /* @__PURE__ */ jsx("div", {
|
|
83
|
+
className: cn("flex px-5 h-10 items-center bg-background border-b flex-none", className),
|
|
84
|
+
...props,
|
|
85
|
+
children: actions ? /* @__PURE__ */ jsxs(Fragment, { children: [items.filter((child) => child !== close), /* @__PURE__ */ jsxs("div", {
|
|
86
|
+
className: "ml-auto flex shrink-0 items-center gap-1 [&>button]:ml-0",
|
|
87
|
+
children: [actions, close]
|
|
88
|
+
})] }) : children
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
const SheetContent = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
92
|
+
className: cn("rounded-b-lg bg-background border-b flex-1 px-5 py-4", className),
|
|
93
|
+
...props
|
|
94
|
+
});
|
|
95
|
+
const SheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
96
|
+
className: cn("flex flex-row gap-2 sm:justify-end sm:items-center h-14 px-5", className),
|
|
97
|
+
...props
|
|
98
|
+
});
|
|
99
|
+
const SheetTitle = ({ className, ...props }) => /* @__PURE__ */ jsx(Dialog.Title, {
|
|
100
|
+
className: cn("text-lg font-semibold text-foreground leading-none", className),
|
|
101
|
+
...props
|
|
102
|
+
});
|
|
103
|
+
const SheetDescription = ({ className, ...props }) => /* @__PURE__ */ jsx(Dialog.Description, {
|
|
104
|
+
className: cn("text-sm leading-none text-muted-foreground mt-2", className),
|
|
105
|
+
...props
|
|
106
|
+
});
|
|
107
|
+
const Sheet = Object.assign(SheetRoot, {
|
|
108
|
+
Trigger: Dialog.Trigger,
|
|
109
|
+
View: SheetView,
|
|
110
|
+
Backdrop: SheetBackdrop,
|
|
111
|
+
Content: SheetContent,
|
|
112
|
+
Header: SheetHeader,
|
|
113
|
+
Footer: SheetFooter,
|
|
114
|
+
Title: SheetTitle,
|
|
115
|
+
Description: SheetDescription,
|
|
116
|
+
Close: SheetClose
|
|
117
|
+
});
|
|
118
|
+
export { Sheet };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const SIDEBAR_COOKIE_NAME = "sidebar:state";
|
|
2
|
+
export declare const SIDEBAR_COLLAPSE_COOKIE_NAME = "sidebar:collapse";
|
|
3
|
+
export declare const SIDEBAR_COOKIE_MAX_AGE: number;
|
|
4
|
+
export declare const SIDEBAR_WIDTH = "16rem";
|
|
5
|
+
export declare const SIDEBAR_WIDTH_COMPACT = "12rem";
|
|
6
|
+
export declare const SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
7
|
+
export declare const SIDEBAR_WIDTH_ICON = "3rem";
|
|
8
|
+
export declare const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
9
|
+
export type CollapseState = 'expanded' | 'compact' | 'collapsed';
|
|
10
|
+
export declare const nextCollapseState: (prev: CollapseState) => CollapseState;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/sidebar/constants.ts
|
|
2
|
+
const SIDEBAR_COOKIE_NAME = "sidebar:state";
|
|
3
|
+
const SIDEBAR_COLLAPSE_COOKIE_NAME = "sidebar:collapse";
|
|
4
|
+
const SIDEBAR_COOKIE_MAX_AGE = 604800;
|
|
5
|
+
const SIDEBAR_WIDTH = "16rem";
|
|
6
|
+
const SIDEBAR_WIDTH_COMPACT = "12rem";
|
|
7
|
+
const SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
8
|
+
const SIDEBAR_WIDTH_ICON = "3rem";
|
|
9
|
+
const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
10
|
+
const NEXT_COLLAPSE_STATE = {
|
|
11
|
+
expanded: "compact",
|
|
12
|
+
compact: "collapsed",
|
|
13
|
+
collapsed: "expanded"
|
|
14
|
+
};
|
|
15
|
+
const nextCollapseState = (prev) => NEXT_COLLAPSE_STATE[prev];
|
|
16
|
+
export { SIDEBAR_COLLAPSE_COOKIE_NAME, SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDTH, SIDEBAR_WIDTH_COMPACT, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MOBILE, nextCollapseState };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CollapseState } from "./constants.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
type ISidebarContext = {
|
|
4
|
+
state: 'expanded' | 'collapsed';
|
|
5
|
+
collapseState: CollapseState;
|
|
6
|
+
open: boolean;
|
|
7
|
+
setOpen: (open: boolean) => void;
|
|
8
|
+
openMobile: boolean;
|
|
9
|
+
setOpenMobile: (open: boolean) => void;
|
|
10
|
+
isMobile: boolean;
|
|
11
|
+
toggleSidebar: () => void;
|
|
12
|
+
};
|
|
13
|
+
type SidebarStateOptions = {
|
|
14
|
+
defaultOpen?: boolean;
|
|
15
|
+
open?: boolean;
|
|
16
|
+
onOpenChange?: (open: boolean) => void;
|
|
17
|
+
collapseState?: CollapseState;
|
|
18
|
+
defaultCollapseState?: CollapseState;
|
|
19
|
+
onCollapseStateChange?: (state: CollapseState) => void;
|
|
20
|
+
};
|
|
21
|
+
export declare function useOptionalSidebar(): ISidebarContext | null;
|
|
22
|
+
export declare function useSidebar(): ISidebarContext;
|
|
23
|
+
type SidebarProviderProps = React.ComponentProps<'div'> & SidebarStateOptions & {
|
|
24
|
+
sidebarKeyboardShortcut?: string | false;
|
|
25
|
+
sidebarWidth?: string;
|
|
26
|
+
sidebarWidthIcon?: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const SidebarProvider: ({ ref, defaultOpen, open: openProp, onOpenChange, collapseState: collapseStateProp, defaultCollapseState, onCollapseStateChange, sidebarKeyboardShortcut, sidebarWidth, sidebarWidthIcon, className, style, children, ...props }: SidebarProviderProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Tooltip } from "../tooltip.js";
|
|
2
|
+
import { useIsMobile } from "../../hooks/use-mobile.js";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { useScopedHotkeys } from "../../modules/hotkey/hooks/useScopedHotkeys.js";
|
|
5
|
+
import "../../modules/hotkey/types/AppHotkeyScope.js";
|
|
6
|
+
import { SIDEBAR_COLLAPSE_COOKIE_NAME, SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_WIDTH, SIDEBAR_WIDTH_COMPACT, SIDEBAR_WIDTH_ICON, nextCollapseState } from "./constants.js";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
import React from "react";
|
|
9
|
+
// src/components/sidebar/context.tsx
|
|
10
|
+
const SidebarContext = React.createContext(null);
|
|
11
|
+
function useOptionalSidebar() {
|
|
12
|
+
return React.useContext(SidebarContext);
|
|
13
|
+
}
|
|
14
|
+
function useSidebar() {
|
|
15
|
+
const context = useOptionalSidebar();
|
|
16
|
+
if (!context) throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
17
|
+
return context;
|
|
18
|
+
}
|
|
19
|
+
const rememberInCookie = (name, value) => {
|
|
20
|
+
document.cookie = `${name}=${value}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Open and collapse state, controlled from outside through the props or kept here.
|
|
24
|
+
* Passing `collapseState` or `defaultCollapseState` turns on the three steps
|
|
25
|
+
* (expanded, compact, collapsed); otherwise the sidebar is only open or closed.
|
|
26
|
+
*/
|
|
27
|
+
function useSidebarState({ defaultOpen = true, open: openProp, onOpenChange, collapseState: collapseStateProp, defaultCollapseState, onCollapseStateChange }) {
|
|
28
|
+
const threeStep = collapseStateProp !== void 0 || defaultCollapseState !== void 0;
|
|
29
|
+
const [openState, setOpenState] = React.useState(defaultOpen);
|
|
30
|
+
const [collapseStateState, setCollapseStateState] = React.useState(defaultCollapseState ?? (defaultOpen ? "expanded" : "collapsed"));
|
|
31
|
+
const openControlled = openProp ?? openState;
|
|
32
|
+
const collapseState = threeStep ? collapseStateProp ?? collapseStateState : openControlled ? "expanded" : "collapsed";
|
|
33
|
+
const open = threeStep ? collapseState === "expanded" : openControlled;
|
|
34
|
+
const setCollapseState = React.useCallback((next) => {
|
|
35
|
+
if (onCollapseStateChange) onCollapseStateChange(next);
|
|
36
|
+
else setCollapseStateState(next);
|
|
37
|
+
rememberInCookie(SIDEBAR_COLLAPSE_COOKIE_NAME, next);
|
|
38
|
+
}, [onCollapseStateChange]);
|
|
39
|
+
const setOpen = React.useCallback((next) => {
|
|
40
|
+
if (threeStep) {
|
|
41
|
+
setCollapseState(next ? "expanded" : "collapsed");
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (onOpenChange) onOpenChange(next);
|
|
45
|
+
else setOpenState(next);
|
|
46
|
+
rememberInCookie(SIDEBAR_COOKIE_NAME, String(next));
|
|
47
|
+
}, [
|
|
48
|
+
onOpenChange,
|
|
49
|
+
threeStep,
|
|
50
|
+
setCollapseState
|
|
51
|
+
]);
|
|
52
|
+
return {
|
|
53
|
+
collapseState,
|
|
54
|
+
open,
|
|
55
|
+
setOpen,
|
|
56
|
+
toggleOpen: React.useCallback(() => {
|
|
57
|
+
if (threeStep) setCollapseState(nextCollapseState(collapseState));
|
|
58
|
+
else setOpen(!open);
|
|
59
|
+
}, [
|
|
60
|
+
threeStep,
|
|
61
|
+
collapseState,
|
|
62
|
+
open,
|
|
63
|
+
setCollapseState,
|
|
64
|
+
setOpen
|
|
65
|
+
])
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
const SidebarProvider = ({ ref, defaultOpen, open: openProp, onOpenChange, collapseState: collapseStateProp, defaultCollapseState, onCollapseStateChange, sidebarKeyboardShortcut = "b", sidebarWidth = SIDEBAR_WIDTH, sidebarWidthIcon = SIDEBAR_WIDTH_ICON, className, style, children, ...props }) => {
|
|
69
|
+
const isMobile = useIsMobile();
|
|
70
|
+
const [openMobile, setOpenMobile] = React.useState(false);
|
|
71
|
+
const { collapseState, open, setOpen, toggleOpen } = useSidebarState({
|
|
72
|
+
defaultOpen,
|
|
73
|
+
open: openProp,
|
|
74
|
+
onOpenChange,
|
|
75
|
+
collapseState: collapseStateProp,
|
|
76
|
+
defaultCollapseState,
|
|
77
|
+
onCollapseStateChange
|
|
78
|
+
});
|
|
79
|
+
const toggleSidebar = React.useCallback(() => {
|
|
80
|
+
if (isMobile) setOpenMobile((wasOpen) => !wasOpen);
|
|
81
|
+
else toggleOpen();
|
|
82
|
+
}, [isMobile, toggleOpen]);
|
|
83
|
+
useScopedHotkeys(`Meta+${sidebarKeyboardShortcut}`, toggleSidebar, "sidebar", void 0, { enabled: Boolean(sidebarKeyboardShortcut) });
|
|
84
|
+
const contextValue = React.useMemo(() => ({
|
|
85
|
+
state: collapseState === "collapsed" ? "collapsed" : "expanded",
|
|
86
|
+
collapseState,
|
|
87
|
+
open,
|
|
88
|
+
setOpen,
|
|
89
|
+
isMobile,
|
|
90
|
+
openMobile,
|
|
91
|
+
setOpenMobile,
|
|
92
|
+
toggleSidebar
|
|
93
|
+
}), [
|
|
94
|
+
collapseState,
|
|
95
|
+
open,
|
|
96
|
+
setOpen,
|
|
97
|
+
isMobile,
|
|
98
|
+
openMobile,
|
|
99
|
+
toggleSidebar
|
|
100
|
+
]);
|
|
101
|
+
const cssVariables = {
|
|
102
|
+
"--sidebar-width": sidebarWidth,
|
|
103
|
+
"--sidebar-width-compact": SIDEBAR_WIDTH_COMPACT,
|
|
104
|
+
"--sidebar-width-icon": sidebarWidthIcon
|
|
105
|
+
};
|
|
106
|
+
return /* @__PURE__ */ jsx(SidebarContext.Provider, {
|
|
107
|
+
value: contextValue,
|
|
108
|
+
children: /* @__PURE__ */ jsx(Tooltip.Provider, {
|
|
109
|
+
delay: 0,
|
|
110
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
111
|
+
style: {
|
|
112
|
+
...cssVariables,
|
|
113
|
+
...style
|
|
114
|
+
},
|
|
115
|
+
className: cn("group/sidebar-wrapper flex min-h-svh w-full", className),
|
|
116
|
+
ref,
|
|
117
|
+
...props,
|
|
118
|
+
children
|
|
119
|
+
})
|
|
120
|
+
})
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
export { SidebarProvider, useOptionalSidebar, useSidebar };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const sidebarGroupVariants: (props?: ({
|
|
4
|
+
variant?: "compact" | "default" | "flush" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export declare const SidebarGroup: ({ ref, className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof sidebarGroupVariants>) => React.JSX.Element;
|
|
7
|
+
export declare const SidebarGroupLabel: ({ className, ...props }: React.ComponentProps<'div'>) => React.JSX.Element;
|
|
8
|
+
export declare const SidebarGroupAction: ({ className, ...props }: React.ComponentProps<'button'>) => React.JSX.Element;
|
|
9
|
+
export declare const SidebarGroupContent: ({ ref, className, ...props }: React.ComponentProps<'div'>) => React.JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
// src/components/sidebar/group.tsx
|
|
6
|
+
const sidebarGroupVariants = cva("relative flex w-full min-w-0 flex-col group-data-[collapsible=icon]:px-2", {
|
|
7
|
+
variants: { variant: {
|
|
8
|
+
default: "px-4 py-3",
|
|
9
|
+
compact: "px-4 py-1",
|
|
10
|
+
flush: "px-2 py-1"
|
|
11
|
+
} },
|
|
12
|
+
defaultVariants: { variant: "default" }
|
|
13
|
+
});
|
|
14
|
+
const SidebarGroup = ({ ref, className, variant, ...props }) => {
|
|
15
|
+
return /* @__PURE__ */ jsx("div", {
|
|
16
|
+
ref,
|
|
17
|
+
"data-sidebar": "group",
|
|
18
|
+
className: cn(sidebarGroupVariants({ variant }), className),
|
|
19
|
+
...props
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
const SidebarGroupLabel = ({ className, ...props }) => {
|
|
23
|
+
return /* @__PURE__ */ jsx("div", {
|
|
24
|
+
"data-sidebar": "group-label",
|
|
25
|
+
className: cn("flex h-6 shrink-0 items-center rounded-lg px-2 font-sans text-3xs font-semibold uppercase tracking-wider text-muted-foreground outline-hidden transition-layout duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0", className),
|
|
26
|
+
...props
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
const SidebarGroupAction = ({ className, ...props }) => {
|
|
30
|
+
return /* @__PURE__ */ jsx("button", {
|
|
31
|
+
type: "button",
|
|
32
|
+
"data-sidebar": "group-action",
|
|
33
|
+
className: cn("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-foreground outline-hidden transition-transform hover:bg-accent focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "after:absolute after:-inset-2 md:after:hidden", "group-data-[collapsible=icon]:hidden", className),
|
|
34
|
+
...props
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
const SidebarGroupContent = ({ ref, className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
38
|
+
ref,
|
|
39
|
+
"data-sidebar": "group-content",
|
|
40
|
+
className: cn("w-full text-sm", className),
|
|
41
|
+
...props
|
|
42
|
+
});
|
|
43
|
+
export { SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Input } from "../input.js";
|
|
2
|
+
import { ScrollArea } from "../scroll-area.js";
|
|
3
|
+
import { Separator } from "../separator.js";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
export declare const SidebarInput: ({ ref, className, ...props }: React.ComponentProps<typeof Input>) => React.JSX.Element;
|
|
7
|
+
declare const sidebarHeaderVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "sticky" | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
+
export declare const SidebarHeader: ({ ref, className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof sidebarHeaderVariants>) => React.JSX.Element;
|
|
11
|
+
export declare const SidebarFooter: ({ ref, className, ...props }: React.ComponentProps<'div'>) => React.JSX.Element;
|
|
12
|
+
export declare const SidebarSeparator: ({ ref, className, ...props }: React.ComponentProps<typeof Separator>) => React.JSX.Element;
|
|
13
|
+
export declare const SidebarContent: ({ ref, className, viewportClassName, ...props }: React.ComponentProps<typeof ScrollArea>) => React.JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Input } from "../input.js";
|
|
2
|
+
import { ScrollArea } from "../scroll-area.js";
|
|
3
|
+
import { Separator } from "../separator.js";
|
|
4
|
+
import { cn } from "../../lib/utils.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import "react";
|
|
7
|
+
import { cva } from "class-variance-authority";
|
|
8
|
+
// src/components/sidebar/layout.tsx
|
|
9
|
+
const SidebarInput = ({ ref, className, ...props }) => {
|
|
10
|
+
return /* @__PURE__ */ jsx(Input, {
|
|
11
|
+
ref,
|
|
12
|
+
"data-sidebar": "input",
|
|
13
|
+
className: cn("w-full bg-background shadow-none focus-visible:ring-2", className),
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
const sidebarHeaderVariants = cva("flex flex-col gap-2", {
|
|
18
|
+
variants: { variant: {
|
|
19
|
+
default: "p-2",
|
|
20
|
+
sticky: "sticky top-0 z-10 bg-sidebar px-2 pt-0 pb-1 after:pointer-events-none after:absolute after:inset-x-0 after:top-full after:h-4 after:bg-linear-to-b after:from-sidebar after:to-transparent"
|
|
21
|
+
} },
|
|
22
|
+
defaultVariants: { variant: "default" }
|
|
23
|
+
});
|
|
24
|
+
const SidebarHeader = ({ ref, className, variant, ...props }) => {
|
|
25
|
+
return /* @__PURE__ */ jsx("div", {
|
|
26
|
+
ref,
|
|
27
|
+
"data-sidebar": "header",
|
|
28
|
+
className: cn(sidebarHeaderVariants({ variant }), className),
|
|
29
|
+
...props
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
const SidebarFooter = ({ ref, className, ...props }) => {
|
|
33
|
+
return /* @__PURE__ */ jsx("div", {
|
|
34
|
+
ref,
|
|
35
|
+
"data-sidebar": "footer",
|
|
36
|
+
className: cn("flex flex-col gap-2 p-2", className),
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
const SidebarSeparator = ({ ref, className, ...props }) => {
|
|
41
|
+
return /* @__PURE__ */ jsx(Separator, {
|
|
42
|
+
ref,
|
|
43
|
+
"data-sidebar": "separator",
|
|
44
|
+
className: cn("w-auto bg-border", className),
|
|
45
|
+
...props
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
const SidebarContent = ({ ref, className, viewportClassName, ...props }) => {
|
|
49
|
+
return /* @__PURE__ */ jsx(ScrollArea, {
|
|
50
|
+
ref,
|
|
51
|
+
"data-sidebar": "content",
|
|
52
|
+
className: cn("flex min-h-0 flex-1 flex-col gap-2 group-data-[collapsible=icon]:overflow-hidden", className),
|
|
53
|
+
viewportClassName: cn("min-w-0 [&>div]:block! [&>div]:min-w-0", viewportClassName),
|
|
54
|
+
...props
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
export { SidebarContent, SidebarFooter, SidebarHeader, SidebarInput, SidebarSeparator };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
+
export declare const SidebarMenuSub: ({ ref, className, children, ...props }: React.ComponentProps<'ul'>) => React.JSX.Element;
|
|
4
|
+
export declare const SidebarMenuSubItem: ({ ref, ...props }: React.ComponentProps<'li'>) => React.JSX.Element;
|
|
5
|
+
/** An anchor by default; pass `render={<Link />}` for a router link. */
|
|
6
|
+
export declare const SidebarMenuSubButton: ({ render, size, isActive, className, ...props }: useRender.ComponentProps<'a'> & {
|
|
7
|
+
size?: 'sm' | 'md';
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
}) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SidebarTreeIndicator } from "../sidebar-tree-indicator.js";
|
|
2
|
+
import { cn, mergeRefs } from "../../lib/utils.js";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
6
|
+
// src/components/sidebar/menu-sub.tsx
|
|
7
|
+
const SidebarMenuSub = ({ ref, className, children, ...props }) => {
|
|
8
|
+
const subRef = React.useRef(null);
|
|
9
|
+
return /* @__PURE__ */ jsxs("ul", {
|
|
10
|
+
ref: mergeRefs(subRef, ref),
|
|
11
|
+
"data-sidebar": "menu-sub",
|
|
12
|
+
className: cn("relative ml-3.5 flex min-w-0 translate-x-px flex-col gap-1 pl-2.5 py-0.5", "group-data-[collapsible=icon]:hidden", className),
|
|
13
|
+
...props,
|
|
14
|
+
children: [/* @__PURE__ */ jsx(SidebarTreeIndicator, {
|
|
15
|
+
as: "li",
|
|
16
|
+
containerRef: subRef
|
|
17
|
+
}), children]
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
const SidebarMenuSubItem = ({ ref, ...props }) => /* @__PURE__ */ jsx("li", {
|
|
21
|
+
ref,
|
|
22
|
+
...props
|
|
23
|
+
});
|
|
24
|
+
/** An anchor by default; pass `render={<Link />}` for a router link. */
|
|
25
|
+
const SidebarMenuSubButton = ({ render, size = "md", isActive, className, ...props }) => useRender({
|
|
26
|
+
defaultTagName: "a",
|
|
27
|
+
render,
|
|
28
|
+
props: {
|
|
29
|
+
"data-sidebar": "menu-sub-button",
|
|
30
|
+
"data-size": size,
|
|
31
|
+
"data-active": isActive,
|
|
32
|
+
...props,
|
|
33
|
+
className: cn("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded px-2 outline-hidden font-normal hover:bg-accent focus-visible:ring-2 active:bg-accent disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", "data-[active=true]:bg-primary/10 data-[active=true]:text-primary-text data-[active=true]:font-semibold data-[active=true]:[&>svg]:text-primary-text [&>svg]:transition-transform active:[&>svg]:scale-90", size === "sm" && "text-xs", size === "md" && "text-sm", "group-data-[collapsible=icon]:hidden", className)
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export { SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem };
|