@epam/ai-dial-ui-kit 0.14.0-dev.3 → 0.14.0-dev.32
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 +23 -1
- package/dist/CHANGELOG.md +20 -3
- package/dist/DateCellRenderer-B0o0BqbW.cjs +63 -0
- package/dist/DateCellRenderer-CKFfW-Hf.cjs +1 -0
- package/dist/IconButton-BCbBgnzo.cjs +1 -0
- package/dist/JsonEditor-pdzI3xkJ.cjs +1 -0
- package/dist/MarkdownEditor-CNEY8i7O.cjs +1 -0
- package/dist/MarkdownEditor-Dea4eQpw.cjs +1 -0
- package/dist/MarkdownEditorContainer-BO6PafCS.cjs +1 -0
- package/dist/Switch-CtdhpYik.cjs +1 -0
- package/dist/_virtual/___vite-browser-external.js +6 -0
- package/dist/_virtual/__vite-browser-external.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +31 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +7 -0
- package/dist/assets/icons/add-child.svg.js +5 -0
- package/dist/assets/icons/add-sibling.svg.js +5 -0
- package/dist/assets/icons/copy-to.svg.js +5 -0
- package/dist/assets/icons/file/c.svg.js +5 -0
- package/dist/assets/icons/file/cpp.svg.js +5 -0
- package/dist/assets/icons/file/cs.svg.js +5 -0
- package/dist/assets/icons/file/ini.svg.js +5 -0
- package/dist/assets/icons/file/json.svg.js +5 -0
- package/dist/assets/icons/file/md.svg.js +5 -0
- package/dist/assets/icons/file/py.svg.js +5 -0
- package/dist/assets/icons/loader.svg.js +5 -0
- package/dist/assets/icons/move-to.svg.js +5 -0
- package/dist/assets/icons/open-popup.svg.js +5 -0
- package/dist/assets/icons/unshare.svg.js +5 -0
- package/dist/components/Accordion/Accordion.js +70 -0
- package/dist/components/Analytics/Bar/Bar.js +80 -0
- package/dist/components/Analytics/Bar/utils.js +24 -0
- package/dist/components/Analytics/BarGroup/BarGroup.js +140 -0
- package/dist/components/Analytics/Card/Card.js +87 -0
- package/dist/components/Analytics/ErrorTag/ErrorTag.js +19 -0
- package/dist/components/Analytics/Histogram/Histogram.js +200 -0
- package/dist/components/Analytics/Histogram/utils.js +45 -0
- package/dist/components/AutocompleteInput/AutocompleteInputValue.js +21 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +126 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.js +83 -0
- package/dist/components/Breadcrumb/constants.js +20 -0
- package/dist/components/Button/Button.js +53 -0
- package/dist/components/Button/ButtonWrappers.js +40 -0
- package/dist/components/Button/constants.js +29 -0
- package/dist/components/Button/utils.js +11 -0
- package/dist/components/ButtonDropdown/ButtonDropdown.js +33 -0
- package/dist/components/ButtonDropdown/constants.js +8 -0
- package/dist/components/CaptionText/CaptionText.js +27 -0
- package/dist/components/Checkbox/Checkbox.js +64 -0
- package/dist/components/Checkbox/constants.js +4 -0
- package/dist/components/CloseButton/CloseButton.js +27 -0
- package/dist/components/CollapsibleSidebar/CollapsibleSidebar.js +84 -0
- package/dist/components/ConfirmationPopup/ConfirmationPopup.js +75 -0
- package/dist/components/ConfirmationPopup/constants.js +32 -0
- package/dist/components/DraggableItem/DraggableItem.js +61 -0
- package/dist/components/DraggableItem/constants.js +6 -0
- package/dist/components/Dropdown/Dropdown.js +293 -0
- package/dist/components/Dropdown/DropdownSubMenuItem.js +121 -0
- package/dist/components/Dropdown/constants.js +24 -0
- package/dist/components/DropdownIcon/DropdownIcon.js +92 -0
- package/dist/components/EllipsisTooltip/EllipsisTooltip.js +75 -0
- package/dist/components/EllipsisTooltip/constants.js +4 -0
- package/dist/components/FabButton/FabButton.js +35 -0
- package/dist/components/FileIcon/FileIcon.js +37 -0
- package/dist/components/FileIcon/constants.js +60 -0
- package/dist/components/FileManager/FileManager.js +887 -0
- package/dist/components/FileManager/FileManagerContext.js +5 -0
- package/dist/components/FileManager/FileManagerProvider.js +770 -0
- package/dist/components/FileManager/FileManagerTooltip.js +92 -0
- package/dist/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.js +293 -0
- package/dist/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js +194 -0
- package/dist/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.js +52 -0
- package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.js +103 -0
- package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/constants.js +5 -0
- package/dist/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.js +56 -0
- package/dist/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.js +69 -0
- package/dist/components/FileManager/components/FileManagerItemName/FileManagerItemName.js +100 -0
- package/dist/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.js +93 -0
- package/dist/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.js +165 -0
- package/dist/components/FileManager/components/FileManagerNavigationPanel/constants.js +6 -0
- package/dist/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.js +120 -0
- package/dist/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.js +119 -0
- package/dist/components/FileManager/components/FileMetadataPopup/constants.js +9 -0
- package/dist/components/FileManager/components/FoldersTree/FoldersTree.js +180 -0
- package/dist/components/FileManager/components/FoldersTree/constants.js +9 -0
- package/dist/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.js +51 -0
- package/dist/components/FileManager/constants.js +28 -0
- package/dist/components/FileManager/errors.js +10 -0
- package/dist/components/FileManager/hooks/use-bulk-actions.js +143 -0
- package/dist/components/FileManager/hooks/use-collapse-tree.js +22 -0
- package/dist/components/FileManager/hooks/use-conflict-resolution.js +158 -0
- package/dist/components/FileManager/hooks/use-current-path.js +29 -0
- package/dist/components/FileManager/hooks/use-file-clipboard.js +154 -0
- package/dist/components/FileManager/hooks/use-file-delete.js +39 -0
- package/dist/components/FileManager/hooks/use-file-download.js +16 -0
- package/dist/components/FileManager/hooks/use-file-manager-columns.js +106 -0
- package/dist/components/FileManager/hooks/use-file-manager-context.js +13 -0
- package/dist/components/FileManager/hooks/use-file-manager-tabs.js +23 -0
- package/dist/components/FileManager/hooks/use-file-metadata.js +20 -0
- package/dist/components/FileManager/hooks/use-file-search.js +90 -0
- package/dist/components/FileManager/hooks/use-file-upload.js +338 -0
- package/dist/components/FileManager/hooks/use-folder-creation.js +151 -0
- package/dist/components/FileManager/hooks/use-grid-actions-column.js +65 -0
- package/dist/components/FileManager/hooks/use-grid-context-menu.js +188 -0
- package/dist/components/FileManager/hooks/use-item-renaming.js +124 -0
- package/dist/components/FileManager/hooks/use-new-actions.js +67 -0
- package/dist/components/FileManager/hooks/use-paths-selection.js +28 -0
- package/dist/components/FileManager/hooks/use-show-hidden-files.js +20 -0
- package/dist/components/FileManager/hooks/use-tree-additional-buttons.js +39 -0
- package/dist/components/FileManager/hooks/use-trigger-view-create-folder.js +42 -0
- package/dist/components/FileManager/hooks/use-trigger-view-rename.js +25 -0
- package/dist/components/FileManager/utils.js +121 -0
- package/dist/components/FileName/FileName.js +68 -0
- package/dist/components/FolderName/FolderName.js +57 -0
- package/dist/components/FormItem/FormItem.js +90 -0
- package/dist/components/FormItem/constants.js +9 -0
- package/dist/components/FormPopup/FormPopup.js +59 -0
- package/dist/components/FormPopup/constants.js +6 -0
- package/dist/components/Grid/Grid.js +333 -0
- package/dist/components/Grid/constants.js +33 -0
- package/dist/components/Grid/renderers/DateCellRenderer.js +27 -0
- package/dist/components/Grid/renderers/constants.js +25 -0
- package/dist/components/Icon/Icon.js +6 -0
- package/dist/components/IconButton/IconButton.js +40 -0
- package/dist/components/IconButton/IconButtonWrappers.js +48 -0
- package/dist/components/InfoButton/InfoButton.js +32 -0
- package/dist/components/InfoButton/constants.js +4 -0
- package/dist/components/Input/Button/InputButton.js +37 -0
- package/dist/components/Input/Button/constants.js +4 -0
- package/dist/components/Input/Input.js +120 -0
- package/dist/components/Input/utils.js +37 -0
- package/dist/components/InputPopup/InputPopup.js +174 -0
- package/dist/components/JsonEditor/JsonEditor.js +64 -0
- package/dist/components/Label/Label.js +27 -0
- package/dist/components/LabelledText/LabelledText.js +37 -0
- package/dist/components/LoadFileArea/EmptyFileArea.js +130 -0
- package/dist/components/LoadFileArea/FilledDropZone.js +80 -0
- package/dist/components/LoadFileArea/FilledInput.js +29 -0
- package/dist/components/LoadFileArea/LoadFileArea.js +70 -0
- package/dist/components/LoadFileArea/LoadFileAreaField.js +128 -0
- package/dist/components/Loader/Loader.js +40 -0
- package/dist/components/Loader/constants.js +5 -0
- package/dist/components/MarkdownEditor/MarkdownEditor.js +37 -0
- package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +80 -0
- package/dist/components/New/Accordion/Accordion.js +103 -0
- package/dist/components/New/Button/Button.js +76 -0
- package/dist/components/New/Button/ButtonWrappers.js +44 -0
- package/dist/components/New/Button/constants.js +27 -0
- package/dist/components/New/Button/utils.js +11 -0
- package/dist/components/New/ButtonDropdown/ButtonDropdown.js +28 -0
- package/dist/components/New/ButtonDropdown/constants.js +17 -0
- package/dist/components/New/Calendar/Calendar.js +343 -0
- package/dist/components/New/Calendar/constants.js +57 -0
- package/dist/components/New/Calendar/utils.js +77 -0
- package/dist/components/New/CaptionText/CaptionText.js +27 -0
- package/dist/components/New/CardShell/CardShell.js +22 -0
- package/dist/components/New/Checkbox/Checkbox.js +92 -0
- package/dist/components/New/Checkbox/CheckboxBox.js +34 -0
- package/dist/components/New/Checkbox/constants.js +8 -0
- package/dist/components/New/CloseButton/CloseButton.js +33 -0
- package/dist/components/New/CollapsibleSidebar/CollapsibleSidebar.js +108 -0
- package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +78 -0
- package/dist/components/New/ConfirmationPopup/constants.js +27 -0
- package/dist/components/New/Dropdown/Dropdown.js +323 -0
- package/dist/components/New/Dropdown/DropdownSubMenuItem.js +127 -0
- package/dist/components/New/Dropdown/constants.js +35 -0
- package/dist/components/New/EllipsisTooltip/EllipsisTooltip.js +45 -0
- package/dist/components/New/EllipsisTooltip/use-truncation.js +18 -0
- package/dist/components/New/FileDropzone/FileDropzone.js +135 -0
- package/dist/components/New/FolderPath/FolderPath.js +64 -0
- package/dist/components/New/Grid/Grid.js +301 -0
- package/dist/components/New/Grid/components/SelectionCell.js +50 -0
- package/dist/components/New/Grid/components/SelectionHeader.js +46 -0
- package/dist/components/New/Grid/constants.js +44 -0
- package/dist/components/New/Grid/renderers/DateCellRenderer.js +27 -0
- package/dist/components/New/Grid/renderers/constants.js +25 -0
- package/dist/components/New/Highlight/Highlight.js +50 -0
- package/dist/components/New/IconButton/IconButton.js +46 -0
- package/dist/components/New/IconButton/IconButtonWrappers.js +40 -0
- package/dist/components/New/InfoButton/InfoButton.js +39 -0
- package/dist/components/New/InlineSelect/InlineSelect.js +96 -0
- package/dist/components/New/Input/Button/InputButton.js +38 -0
- package/dist/components/New/Input/Button/constants.js +4 -0
- package/dist/components/New/Input/Input.js +169 -0
- package/dist/components/New/Input/utils.js +37 -0
- package/dist/components/New/Label/Label.js +42 -0
- package/dist/components/New/MarkdownEditor/MarkdownEditor.js +41 -0
- package/dist/components/New/MarkdownEditor/constants.js +43 -0
- package/dist/components/New/NoDataContent/NoDataContent.js +54 -0
- package/dist/components/New/Notification/Notification.js +67 -0
- package/dist/components/New/Notification/NotificationWrapper.js +61 -0
- package/dist/components/New/Notification/constants.js +32 -0
- package/dist/components/New/NumberInput/NumberInput.js +41 -0
- package/dist/components/New/PasswordInput/PasswordInput.js +54 -0
- package/dist/components/New/Popup/Popup.js +164 -0
- package/dist/components/New/Popup/constants.js +17 -0
- package/dist/components/New/Radio/Radio.js +100 -0
- package/dist/components/New/RadioGroup/RadioGroup.js +81 -0
- package/dist/components/New/RadioGroup/constants.js +11 -0
- package/dist/components/New/RadioGroupPopupField/RadioGroupPopupField.js +138 -0
- package/dist/components/New/RadioGroupPopupField/constants.js +11 -0
- package/dist/components/New/ResizableContainer/ConditionalResizableContainer.js +6 -0
- package/dist/components/New/ResizableContainer/ResizableContainer.js +106 -0
- package/dist/components/New/ResizableContainer/components/ResizeHandle.js +85 -0
- package/dist/components/New/Search/Search.js +74 -0
- package/dist/components/New/SegmentedControl/SegmentedControl.js +92 -0
- package/dist/components/New/SegmentedControl/constants.js +19 -0
- package/dist/components/New/Select/MultiSelectTags.js +23 -0
- package/dist/components/New/Select/Select.js +379 -0
- package/dist/components/New/Select/SelectSubMenuItem.js +90 -0
- package/dist/components/New/Select/constants.js +57 -0
- package/dist/components/New/Slider/Slider.js +112 -0
- package/dist/components/New/Switch/Switch.js +95 -0
- package/dist/components/New/Tabs/Tabs.js +95 -0
- package/dist/components/New/Tag/Tag.js +76 -0
- package/dist/components/New/Tag/constants.js +17 -0
- package/dist/components/New/TagInput/TagInput.js +197 -0
- package/dist/components/New/TagInput/utils.js +21 -0
- package/dist/components/New/Textarea/Textarea.js +55 -0
- package/dist/components/New/ThemeScope/ThemeScope.js +14 -0
- package/dist/components/New/ToggleIconButton/ToggleIconButton.js +54 -0
- package/dist/components/New/Tooltip/Tooltip.js +19 -0
- package/dist/components/New/Tooltip/TooltipContainer.js +12 -0
- package/dist/components/New/Tooltip/TooltipContent.js +45 -0
- package/dist/components/New/Tooltip/TooltipContext.js +67 -0
- package/dist/components/New/Tooltip/TooltipTrigger.js +45 -0
- package/dist/components/New/Tooltip/constants.js +8 -0
- package/dist/components/New/constants/icon.js +4 -0
- package/dist/components/New/constants/overlay.js +23 -0
- package/dist/components/NoDataContent/NoDataContent.js +45 -0
- package/dist/components/Notification/Notification.js +67 -0
- package/dist/components/Notification/constants.js +24 -0
- package/dist/components/NumberInput/NumberInput.js +41 -0
- package/dist/components/Pagination/Pagination.js +80 -0
- package/dist/components/Pagination/utils.js +10 -0
- package/dist/components/PasswordInput/Icons/HideIcon.js +16 -0
- package/dist/components/PasswordInput/Icons/ShowIcon.js +16 -0
- package/dist/components/PasswordInput/PasswordInput.js +21 -0
- package/dist/components/Popup/Popup.js +110 -0
- package/dist/components/Popup/constants.js +12 -0
- package/dist/components/ProgressBar/ProgressBar.js +58 -0
- package/dist/components/RadioButton/RadioButton.js +103 -0
- package/dist/components/RadioGroup/RadioGroup.js +92 -0
- package/dist/components/RadioGroup/constants.js +10 -0
- package/dist/components/RadioGroupPopupField/RadioGroupPopupField.js +101 -0
- package/dist/components/RemoveButton/RemoveButton.js +30 -0
- package/dist/components/ResizableContainer/ConditionalResizableContainer.js +6 -0
- package/dist/components/ResizableContainer/ResizableContainer.js +79 -0
- package/dist/components/ResizableContainer/components/ResizeHandle.js +20 -0
- package/dist/components/ResizableContainer/components/ResizeIcon.js +11 -0
- package/dist/components/SchemaRenderer/SchemaRenderer.js +150 -0
- package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +41 -0
- package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +74 -0
- package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +118 -0
- package/dist/components/SchemaRenderer/components/SchemaField.js +78 -0
- package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +114 -0
- package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +184 -0
- package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +36 -0
- package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +192 -0
- package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +161 -0
- package/dist/components/SchemaRenderer/components/SchemaSection.js +81 -0
- package/dist/components/SchemaRenderer/context.js +12 -0
- package/dist/components/SchemaRenderer/types.js +27 -0
- package/dist/components/SchemaRenderer/utils.js +258 -0
- package/dist/components/Search/Search.js +63 -0
- package/dist/components/Search/constants.js +27 -0
- package/dist/components/SegmentedControl/SegmentedControl.js +87 -0
- package/dist/components/SegmentedControl/constants.js +8 -0
- package/dist/components/Select/MultiSelectTags.js +23 -0
- package/dist/components/Select/Select.js +435 -0
- package/dist/components/Select/SelectSubMenuItem.js +90 -0
- package/dist/components/Select/constants.js +15 -0
- package/dist/components/SelectField/SelectField.js +66 -0
- package/dist/components/SharedEntityIndicator/SharedEntityIndicator.js +34 -0
- package/dist/components/Skeleton/Skeleton.js +90 -0
- package/dist/components/Skeleton/utils.js +16 -0
- package/dist/components/Slider/Slider.js +158 -0
- package/dist/components/Spinner/Spinner.js +30 -0
- package/dist/components/Steps/Step.js +34 -0
- package/dist/components/Steps/Steps.js +27 -0
- package/dist/components/Steps/utils.js +42 -0
- package/dist/components/Switch/Switch.js +70 -0
- package/dist/components/Tab/Tab.js +65 -0
- package/dist/components/Tabs/Tabs.js +213 -0
- package/dist/components/Tabs/constants.js +4 -0
- package/dist/components/Tag/Tag.js +37 -0
- package/dist/components/TagInput/TagInput.js +179 -0
- package/dist/components/Textarea/Textarea.js +43 -0
- package/dist/components/Tooltip/Tooltip.js +30 -0
- package/dist/components/Tooltip/TooltipContainer.js +12 -0
- package/dist/components/Tooltip/TooltipContent.js +40 -0
- package/dist/components/Tooltip/TooltipContext.js +66 -0
- package/dist/components/Tooltip/TooltipTrigger.js +33 -0
- package/dist/components-manifest.json +1544 -373
- package/dist/{JsonEditor-0ZT9yNXj.js → constants/editor.js} +5 -63
- package/dist/constants/file-grid-columns.js +176 -0
- package/dist/constants/icon.js +10 -0
- package/dist/constants/validation.js +11 -0
- package/dist/dial-ui-kit.cjs +2 -0
- package/dist/dial-ui-kit.js +408 -0
- package/dist/editor-Ba3vCFHk.cjs +1 -0
- package/dist/editors.cjs +1 -0
- package/dist/editors.js +9 -0
- package/dist/file-manager.cjs +1 -0
- package/dist/file-manager.js +22 -0
- package/dist/grid.cjs +1 -0
- package/dist/grid.js +30 -0
- package/dist/hooks/use-editable-item.js +94 -0
- package/dist/hooks/use-flexible-actions.js +72 -0
- package/dist/hooks/use-is-mobile-screen.js +12 -0
- package/dist/hooks/use-is-tablet-screen.js +12 -0
- package/dist/hooks/use-screen-type.js +14 -0
- package/dist/hooks/use-width-breakpoint.js +15 -0
- package/dist/icon-CrGVkVpG.cjs +1 -0
- package/dist/icon-DhjrDQ8I.cjs +1 -0
- package/dist/index.css +2 -2
- package/dist/merge-classes-Dipy1Ih1.cjs +1 -0
- package/dist/migration-guides/0.14.0/button-tooltip-2-0.md +111 -0
- package/dist/migration-guides/0.14.0/select-multiselect-option-row.md +99 -0
- package/dist/migration-guides/0.14.0/shadow-token-per-step-rename.md +139 -0
- package/dist/migration-guides/0.14.0/tag-single-size.md +121 -0
- package/dist/migration-guides/README.md +4 -0
- package/dist/models/file.js +6 -0
- package/dist/models/selection-mode.js +4 -0
- package/dist/models/step.js +4 -0
- package/dist/node_modules/@react-dnd/asap/dist/AsapQueue.js +39 -0
- package/dist/node_modules/@react-dnd/asap/dist/RawTask.js +17 -0
- package/dist/node_modules/@react-dnd/asap/dist/TaskFactory.js +16 -0
- package/dist/node_modules/@react-dnd/asap/dist/asap.js +9 -0
- package/dist/node_modules/@react-dnd/asap/dist/makeRequestCall.js +62 -0
- package/dist/node_modules/@react-dnd/invariant/dist/index.js +22 -0
- package/dist/node_modules/@react-dnd/shallowequal/dist/index.js +25 -0
- package/dist/node_modules/ag-grid-community/dist/package/main.esm.js +39799 -0
- package/dist/node_modules/ag-grid-react/dist/package/index.esm.js +1989 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/beginDrag.js +70 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/drop.js +54 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/endDrag.js +18 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/hover.js +42 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/index.js +17 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/local/setClientOffset.js +13 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/publishDragSource.js +12 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/types.js +9 -0
- package/dist/node_modules/dnd-core/dist/actions/registry.js +43 -0
- package/dist/node_modules/dnd-core/dist/classes/DragDropManagerImpl.js +41 -0
- package/dist/node_modules/dnd-core/dist/classes/DragDropMonitorImpl.js +115 -0
- package/dist/node_modules/dnd-core/dist/classes/HandlerRegistryImpl.js +96 -0
- package/dist/node_modules/dnd-core/dist/contracts.js +21 -0
- package/dist/node_modules/dnd-core/dist/createDragDropManager.js +19 -0
- package/dist/node_modules/dnd-core/dist/interfaces.js +7 -0
- package/dist/node_modules/dnd-core/dist/reducers/dirtyHandlerIds.js +30 -0
- package/dist/node_modules/dnd-core/dist/reducers/dragOffset.js +50 -0
- package/dist/node_modules/dnd-core/dist/reducers/dragOperation.js +78 -0
- package/dist/node_modules/dnd-core/dist/reducers/index.js +42 -0
- package/dist/node_modules/dnd-core/dist/reducers/refCount.js +16 -0
- package/dist/node_modules/dnd-core/dist/reducers/stateId.js +6 -0
- package/dist/node_modules/dnd-core/dist/utils/coords.js +26 -0
- package/dist/node_modules/dnd-core/dist/utils/dirtiness.js +12 -0
- package/dist/node_modules/dnd-core/dist/utils/equality.js +17 -0
- package/dist/node_modules/dnd-core/dist/utils/getNextUniqueId.js +7 -0
- package/dist/node_modules/dnd-core/dist/utils/js_utils.js +36 -0
- package/dist/node_modules/dnd-core/dist/utils/matchesType.js +8 -0
- package/dist/node_modules/fast-deep-equal/index.js +31 -0
- package/dist/node_modules/mime-db/db.json.js +2527 -0
- package/dist/node_modules/mime-db/index.js +8 -0
- package/dist/node_modules/mime-types/index.js +70 -0
- package/dist/node_modules/mime-types/mimeScore.js +38 -0
- package/dist/node_modules/re-resizable/lib/index.js +424 -0
- package/dist/node_modules/re-resizable/lib/resizer.js +49 -0
- package/dist/node_modules/react-dnd/dist/core/DndContext.js +7 -0
- package/dist/node_modules/react-dnd/dist/core/DndProvider.js +66 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollectedProps.js +11 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +22 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js +25 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js +21 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js +20 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js +19 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js +22 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js +15 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js +13 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js +23 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDragDropManager.js +10 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/DropTargetImpl.js +21 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/connectors.js +12 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useAccept.js +13 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDrop.js +16 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTarget.js +18 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetConnector.js +18 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetMonitor.js +15 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useRegisteredDropTarget.js +23 -0
- package/dist/node_modules/react-dnd/dist/hooks/useIsomorphicLayoutEffect.js +5 -0
- package/dist/node_modules/react-dnd/dist/hooks/useMonitorOutput.js +20 -0
- package/dist/node_modules/react-dnd/dist/hooks/useOptionalFactory.js +10 -0
- package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js +88 -0
- package/dist/node_modules/react-dnd/dist/internals/DropTargetMonitorImpl.js +59 -0
- package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js +87 -0
- package/dist/node_modules/react-dnd/dist/internals/TargetConnector.js +57 -0
- package/dist/node_modules/react-dnd/dist/internals/isRef.js +9 -0
- package/dist/node_modules/react-dnd/dist/internals/registration.js +18 -0
- package/dist/node_modules/react-dnd/dist/internals/wrapConnectorHooks.js +46 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/BrowserDetector.js +10 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/EnterLeaveCounter.js +22 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/HTML5BackendImpl.js +274 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/MonotonicInterpolant.js +59 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/NativeDragSource.js +43 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/getDataFromDataTransfer.js +10 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/index.js +24 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/nativeTypesConfig.js +48 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeTypes.js +7 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/OffsetUtils.js +70 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/OptionsReader.js +22 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/index.js +7 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/utils/js_utils.js +22 -0
- package/dist/node_modules/redux/es/redux.js +158 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2924 -0
- package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +4 -2
- package/dist/src/components/Grid/comparators/base-column-comparator.d.ts +1 -4
- package/dist/src/components/Grid/renderers/utils.d.ts +1 -2
- package/dist/src/components/New/Button/Button.d.ts +4 -3
- package/dist/src/components/New/Checkbox/Checkbox.d.ts +4 -0
- package/dist/src/components/New/Checkbox/CheckboxBox.d.ts +30 -0
- package/dist/src/components/New/CollapsibleSidebar/CollapsibleSidebar.d.ts +82 -0
- package/dist/src/components/New/Dropdown/constants.d.ts +2 -0
- package/dist/src/components/New/EllipsisTooltip/use-truncation.d.ts +5 -0
- package/dist/src/components/New/Grid/Grid.d.ts +124 -0
- package/dist/src/components/New/Grid/components/SelectionCell.d.ts +21 -0
- package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +14 -0
- package/dist/src/components/New/Grid/constants.d.ts +61 -0
- package/dist/src/components/New/Grid/renderers/DateCellRenderer.d.ts +48 -0
- package/dist/src/components/New/Grid/renderers/constants.d.ts +5 -0
- package/dist/src/components/New/Highlight/Highlight.d.ts +1 -1
- package/dist/src/components/New/IconButton/IconButton.d.ts +4 -4
- package/dist/src/components/New/Label/Label.d.ts +5 -0
- package/dist/src/components/New/MarkdownEditor/MarkdownEditor.d.ts +6 -0
- package/dist/src/components/New/NoDataContent/NoDataContent.d.ts +48 -0
- package/dist/src/components/New/Popup/Popup.d.ts +48 -9
- package/dist/src/components/New/Popup/constants.d.ts +7 -0
- package/dist/src/components/New/RadioGroup/RadioGroup.d.ts +78 -0
- package/dist/src/components/New/RadioGroup/constants.d.ts +11 -0
- package/dist/src/components/New/RadioGroupPopupField/RadioGroupPopupField.d.ts +93 -0
- package/dist/src/components/New/RadioGroupPopupField/constants.d.ts +22 -0
- package/dist/src/components/New/ResizableContainer/ConditionalResizableContainer.d.ts +34 -0
- package/dist/src/components/New/ResizableContainer/ResizableContainer.d.ts +77 -0
- package/dist/src/components/New/ResizableContainer/components/ResizeHandle.d.ts +21 -0
- package/dist/src/components/New/SegmentedControl/constants.d.ts +1 -1
- package/dist/src/components/New/Select/constants.d.ts +2 -2
- package/dist/src/components/New/Slider/Slider.d.ts +70 -0
- package/dist/src/components/New/Tag/Tag.d.ts +26 -4
- package/dist/src/components/New/Tag/constants.d.ts +23 -0
- package/dist/src/components/New/Textarea/Textarea.d.ts +8 -2
- package/dist/src/components/New/ThemeScope/ThemeScope.d.ts +46 -0
- package/dist/src/components/New/Tooltip/constants.d.ts +15 -1
- package/dist/src/components/New/constants/icon.d.ts +22 -0
- package/dist/src/components/New/constants/overlay.d.ts +12 -3
- package/dist/src/index.d.ts +29 -1
- package/dist/src/models/dropdown.d.ts +10 -0
- package/dist/src/subpaths/editors.d.ts +21 -0
- package/dist/src/subpaths/file-manager.d.ts +21 -0
- package/dist/src/subpaths/grid.d.ts +25 -0
- package/dist/src/types/tag.d.ts +4 -0
- package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +1 -0
- package/dist/src/utils/element-size-observer.d.ts +26 -0
- package/dist/src/utils/grid-comparators.d.ts +4 -0
- package/dist/src/utils/grid-date.d.ts +7 -0
- package/dist/types/analytics.js +4 -0
- package/dist/types/button.js +5 -0
- package/dist/types/calendar.js +4 -0
- package/dist/types/caption.js +4 -0
- package/dist/types/confirmation-popup.js +4 -0
- package/dist/types/dropdown.js +6 -0
- package/dist/types/editor.js +4 -0
- package/dist/types/file-manager.js +12 -0
- package/dist/types/flexible-actions.js +4 -0
- package/dist/types/form-item.js +4 -0
- package/dist/types/item.js +4 -0
- package/dist/types/notification.js +5 -0
- package/dist/types/popup.js +4 -0
- package/dist/types/radio-group.js +4 -0
- package/dist/types/resizable-container.js +4 -0
- package/dist/types/screen.js +4 -0
- package/dist/types/select.js +5 -0
- package/dist/types/size.js +4 -0
- package/dist/types/skeleton.js +6 -0
- package/dist/types/tab.js +6 -0
- package/dist/types/tag.js +4 -0
- package/dist/types/tooltip.js +4 -0
- package/dist/use-file-manager-tabs-CkYH0CvF.cjs +3 -0
- package/dist/utils/accessible-name.js +6 -0
- package/dist/utils/debounce.js +9 -0
- package/dist/utils/element-size-observer.js +24 -0
- package/dist/utils/file-accept.js +16 -0
- package/dist/utils/flat-to-hierarchy-convertor.js +86 -0
- package/dist/utils/grid-comparators.js +17 -0
- package/dist/utils/grid-date.js +20 -0
- package/dist/utils/merge-classes.js +8 -0
- package/dist/utils/mobile.js +11 -0
- package/dist/utils/path.js +4 -0
- package/dist/utils/sub-menu-floating.js +78 -0
- package/package.json +21 -8
- package/dist/JsonEditor-EOISr6OE.cjs +0 -1
- package/dist/MarkdownEditor-BfeV6-XV.cjs +0 -1
- package/dist/MarkdownEditor-Csbic0gz.js +0 -75
- package/dist/MarkdownEditor-D8p7zjZ1.js +0 -35
- package/dist/MarkdownEditor-vV5rCB3Y.cjs +0 -1
- package/dist/dial-ui-kit.cjs.js +0 -1
- package/dist/dial-ui-kit.es.js +0 -216
- package/dist/index-BVZGIW7V.js +0 -66534
- package/dist/index-Ho1ZjGNx.cjs +0 -71
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
import { DialCaptionText as i, DialErrorText as p } from "./components/CaptionText/CaptionText.js";
|
|
2
|
+
import { AnalyticsCardVariant as m } from "./types/analytics.js";
|
|
3
|
+
import { DialLabel as f } from "./components/Label/Label.js";
|
|
4
|
+
import { DialAccordion as D } from "./components/Accordion/Accordion.js";
|
|
5
|
+
import { DialIcon as T } from "./components/Icon/Icon.js";
|
|
6
|
+
import { DialNotification as u } from "./components/Notification/Notification.js";
|
|
7
|
+
import { DialLoader as S } from "./components/Loader/Loader.js";
|
|
8
|
+
import { Spinner as A } from "./components/Spinner/Spinner.js";
|
|
9
|
+
import { ProgressBar as E } from "./components/ProgressBar/ProgressBar.js";
|
|
10
|
+
import { DialPagination as L } from "./components/Pagination/Pagination.js";
|
|
11
|
+
import { DialCheckbox as g } from "./components/Checkbox/Checkbox.js";
|
|
12
|
+
import { DialSteps as O } from "./components/Steps/Steps.js";
|
|
13
|
+
import { DialRadioButton as F } from "./components/RadioButton/RadioButton.js";
|
|
14
|
+
import { DialRadioGroup as M } from "./components/RadioGroup/RadioGroup.js";
|
|
15
|
+
import { DialSlider as G } from "./components/Slider/Slider.js";
|
|
16
|
+
import { DialNoDataContent as y } from "./components/NoDataContent/NoDataContent.js";
|
|
17
|
+
import { DialCollapsibleSidebar as z } from "./components/CollapsibleSidebar/CollapsibleSidebar.js";
|
|
18
|
+
import { DialLabelledText as k } from "./components/LabelledText/LabelledText.js";
|
|
19
|
+
import { DialTag as H } from "./components/Tag/Tag.js";
|
|
20
|
+
import { DialEllipsisTooltip as v } from "./components/EllipsisTooltip/EllipsisTooltip.js";
|
|
21
|
+
import { DialDraggableItem as Y } from "./components/DraggableItem/DraggableItem.js";
|
|
22
|
+
import { DialFileIcon as J } from "./components/FileIcon/FileIcon.js";
|
|
23
|
+
import { DialFormItem as j } from "./components/FormItem/FormItem.js";
|
|
24
|
+
import { DialSharedEntityIndicator as Q } from "./components/SharedEntityIndicator/SharedEntityIndicator.js";
|
|
25
|
+
import { DialFileName as oo } from "./components/FileName/FileName.js";
|
|
26
|
+
import { DialFolderName as eo } from "./components/FolderName/FolderName.js";
|
|
27
|
+
import { DialResizableContainer as ao } from "./components/ResizableContainer/ResizableContainer.js";
|
|
28
|
+
import { DialConditionalResizableContainer as po } from "./components/ResizableContainer/ConditionalResizableContainer.js";
|
|
29
|
+
import { Skeleton as mo } from "./components/Skeleton/Skeleton.js";
|
|
30
|
+
import { DialGrid as fo } from "./components/Grid/Grid.js";
|
|
31
|
+
import { DialDateCellRenderer as Do } from "./components/Grid/renderers/DateCellRenderer.js";
|
|
32
|
+
import { DEFAULT_DATE_FORMAT_OPTIONS as To, DEFAULT_LOCALE as so } from "./components/Grid/renderers/constants.js";
|
|
33
|
+
import { DialTabs as So } from "./components/Tabs/Tabs.js";
|
|
34
|
+
import { DialBreadcrumb as Ao } from "./components/Breadcrumb/Breadcrumb.js";
|
|
35
|
+
import { DialBreadcrumbItem as Eo } from "./components/Breadcrumb/BreadcrumbItem.js";
|
|
36
|
+
import { DialButton as Lo } from "./components/Button/Button.js";
|
|
37
|
+
import { DialIconButton as go } from "./components/IconButton/IconButton.js";
|
|
38
|
+
import { DialDangerButton as Oo, DialGhostButton as Ro, DialLinkButton as Fo, DialNeutralButton as Po, DialPrimaryButton as Mo } from "./components/Button/ButtonWrappers.js";
|
|
39
|
+
import { DialDangerIconButton as Go, DialGhostIconButton as ho, DialNeutralIconButton as yo, DialPrimaryIconButton as wo, DialSecondaryIconButton as zo, DialSuccessIconButton as Uo, DialTertiaryIconButton as ko } from "./components/IconButton/IconButtonWrappers.js";
|
|
40
|
+
import { DialCloseButton as Ho } from "./components/CloseButton/CloseButton.js";
|
|
41
|
+
import { DialRemoveButton as vo } from "./components/RemoveButton/RemoveButton.js";
|
|
42
|
+
import { DialTextarea as Yo } from "./components/Textarea/Textarea.js";
|
|
43
|
+
import { DialTooltip as Jo } from "./components/Tooltip/Tooltip.js";
|
|
44
|
+
import { DialTooltipContainer as jo } from "./components/Tooltip/TooltipContainer.js";
|
|
45
|
+
import { DialTooltipContent as Qo } from "./components/Tooltip/TooltipContent.js";
|
|
46
|
+
import { DialTooltipTrigger as or } from "./components/Tooltip/TooltipTrigger.js";
|
|
47
|
+
import { DialSwitch as er } from "./components/Switch/Switch.js";
|
|
48
|
+
import { DialSegmentedControl as ar } from "./components/SegmentedControl/SegmentedControl.js";
|
|
49
|
+
import { DialPopup as pr } from "./components/Popup/Popup.js";
|
|
50
|
+
import { DialConfirmationPopup as mr } from "./components/ConfirmationPopup/ConfirmationPopup.js";
|
|
51
|
+
import { DialRadioGroupPopupField as fr } from "./components/RadioGroupPopupField/RadioGroupPopupField.js";
|
|
52
|
+
import { DialFormPopup as Dr } from "./components/FormPopup/FormPopup.js";
|
|
53
|
+
import { DialInput as Tr } from "./components/Input/Input.js";
|
|
54
|
+
import { DialNumberInput as ur } from "./components/NumberInput/NumberInput.js";
|
|
55
|
+
import { DialPasswordInput as Sr } from "./components/PasswordInput/PasswordInput.js";
|
|
56
|
+
import { DialSearch as Ar } from "./components/Search/Search.js";
|
|
57
|
+
import { DialInputPopup as Er } from "./components/InputPopup/InputPopup.js";
|
|
58
|
+
import { DialAutocompleteInputValue as Lr } from "./components/AutocompleteInput/AutocompleteInputValue.js";
|
|
59
|
+
import { DialTagInput as gr } from "./components/TagInput/TagInput.js";
|
|
60
|
+
import { DialSelect as Or } from "./components/Select/Select.js";
|
|
61
|
+
import { DialSelectField as Fr } from "./components/SelectField/SelectField.js";
|
|
62
|
+
import { DialLoadFileArea as Mr } from "./components/LoadFileArea/LoadFileArea.js";
|
|
63
|
+
import { DialLoadFileAreaField as Gr } from "./components/LoadFileArea/LoadFileAreaField.js";
|
|
64
|
+
import { DialDropdown as yr } from "./components/Dropdown/Dropdown.js";
|
|
65
|
+
import { DialButtonDropdown as zr } from "./components/ButtonDropdown/ButtonDropdown.js";
|
|
66
|
+
import { DialDropdownIcon as kr } from "./components/DropdownIcon/DropdownIcon.js";
|
|
67
|
+
import { DialFileManager as Hr } from "./components/FileManager/FileManager.js";
|
|
68
|
+
import { DialDestinationFolderPopup as vr } from "./components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js";
|
|
69
|
+
import { DialFoldersTree as Yr } from "./components/FileManager/components/FoldersTree/FoldersTree.js";
|
|
70
|
+
import { EditorThemes as Jr } from "./types/editor.js";
|
|
71
|
+
import { ButtonAppearance as jr, ButtonVariant as qr } from "./types/button.js";
|
|
72
|
+
import { RadioGroupOrientation as $r } from "./types/radio-group.js";
|
|
73
|
+
import { PopupSize as re } from "./types/popup.js";
|
|
74
|
+
import { ConfirmationPopupVariant as te } from "./types/confirmation-popup.js";
|
|
75
|
+
import { DropdownItemType as ie, DropdownTrigger as pe, DropdownType as ne } from "./types/dropdown.js";
|
|
76
|
+
import { ElementSize as le } from "./types/size.js";
|
|
77
|
+
import { ScreenResolution as xe, TabOrientation as De, TabView as ce } from "./types/tab.js";
|
|
78
|
+
import { FormItemOrientation as se } from "./types/form-item.js";
|
|
79
|
+
import { SelectSize as de, SelectVariant as Se } from "./types/select.js";
|
|
80
|
+
import { DialFileManagerActions as Ae, DialFileManagerTabs as Ce, FileManagerColumnKey as Ee } from "./types/file-manager.js";
|
|
81
|
+
import { FlexibleActionsDirection as Le } from "./types/flexible-actions.js";
|
|
82
|
+
import { DialItemType as ge } from "./types/item.js";
|
|
83
|
+
import { ResizableContainerSide as Oe } from "./types/resizable-container.js";
|
|
84
|
+
import { SkeletonAvatarShape as Fe, SkeletonAvatarSize as Pe, SkeletonVariant as Me } from "./types/skeleton.js";
|
|
85
|
+
import { useDialFileManagerTabs as Ge } from "./components/FileManager/hooks/use-file-manager-tabs.js";
|
|
86
|
+
import { EDITABLE_CONTAINER_ATTRIBUTE as ye, editableContainerProps as we, useEditableItem as ze } from "./hooks/use-editable-item.js";
|
|
87
|
+
import { FileManagerProvider as ke } from "./components/FileManager/FileManagerProvider.js";
|
|
88
|
+
import { useFileManagerContext as He } from "./components/FileManager/hooks/use-file-manager-context.js";
|
|
89
|
+
import { StepStatus as ve } from "./models/step.js";
|
|
90
|
+
import { DialFileNodeType as Ye, DialFilePermission as Ze, DialFileResourceType as Je } from "./models/file.js";
|
|
91
|
+
import { GridSelectionMode as je } from "./models/selection-mode.js";
|
|
92
|
+
import { mergeClasses as Qe } from "./utils/merge-classes.js";
|
|
93
|
+
import { wrapInRootFolder as ot } from "./utils/flat-to-hierarchy-convertor.js";
|
|
94
|
+
import { NAME_COLUMN as et, SIZE_COLUMN as tt, UPDATED_AT_COLUMN as at } from "./constants/file-grid-columns.js";
|
|
95
|
+
import { BASE_ICON_PROPS as pt, BASE_ICON_SIZE as nt, DIAL_ICON_SIZE as mt } from "./constants/icon.js";
|
|
96
|
+
import { NOT_ALLOWED_SPACES as ft, NOT_ALLOWED_SPACES_REGEXP as xt, NOT_ALLOWED_SYMBOLS as Dt, NOT_ALLOWED_SYMBOLS_REGEXP as ct } from "./constants/validation.js";
|
|
97
|
+
import { DialSchemaRenderer as st } from "./components/SchemaRenderer/SchemaRenderer.js";
|
|
98
|
+
import { JsonSchemaType as dt, SchemaDisplayMode as St, SchemaOrientation as It, SchemaRendererVariant as At } from "./components/SchemaRenderer/types.js";
|
|
99
|
+
import { NotificationType as Et, NotificationVariant as _t } from "./types/notification.js";
|
|
100
|
+
import { Notification as Bt } from "./components/New/Notification/Notification.js";
|
|
101
|
+
import { Highlight as Nt } from "./components/New/Highlight/Highlight.js";
|
|
102
|
+
import { CardShell as Rt } from "./components/New/CardShell/CardShell.js";
|
|
103
|
+
import { ErrorMessageNotification as Pt, ErrorToastNotification as Mt, GeneralMessageNotification as bt, GeneralToastNotification as Gt, InfoMessageNotification as ht, InfoToastNotification as yt, LoadingMessageNotification as wt, LoadingToastNotification as zt, SuccessMessageNotification as Ut, SuccessToastNotification as kt, WarningMessageNotification as Vt, WarningToastNotification as Ht } from "./components/New/Notification/NotificationWrapper.js";
|
|
104
|
+
import { CalendarMode as vt } from "./types/calendar.js";
|
|
105
|
+
import { Calendar as Yt } from "./components/New/Calendar/Calendar.js";
|
|
106
|
+
import { FolderPath as Jt } from "./components/New/FolderPath/FolderPath.js";
|
|
107
|
+
import { DangerButton as jt, GhostButton as qt, LinkButton as Qt, NeutralButton as $t, OutlinedButton as oa, PrimaryButton as ra } from "./components/New/Button/ButtonWrappers.js";
|
|
108
|
+
import { DangerIconButton as ta, GhostIconButton as aa, NeutralIconButton as ia, PrimaryIconButton as pa, StaticIconButton as na } from "./components/New/IconButton/IconButtonWrappers.js";
|
|
109
|
+
import { Button as la } from "./components/New/Button/Button.js";
|
|
110
|
+
import { IconButton as xa } from "./components/New/IconButton/IconButton.js";
|
|
111
|
+
import { FabButton as ca } from "./components/FabButton/FabButton.js";
|
|
112
|
+
import { ButtonDropdown as sa } from "./components/New/ButtonDropdown/ButtonDropdown.js";
|
|
113
|
+
import { InlineSelect as da, InlineSelectTrigger as Sa } from "./components/New/InlineSelect/InlineSelect.js";
|
|
114
|
+
import { Select as Aa } from "./components/New/Select/Select.js";
|
|
115
|
+
import { MultiSelectTags as Ea } from "./components/New/Select/MultiSelectTags.js";
|
|
116
|
+
import { InfoButton as La } from "./components/New/InfoButton/InfoButton.js";
|
|
117
|
+
import { Label as ga } from "./components/New/Label/Label.js";
|
|
118
|
+
import { Textarea as Oa, TextareaResize as Ra } from "./components/New/Textarea/Textarea.js";
|
|
119
|
+
import { Input as Pa } from "./components/New/Input/Input.js";
|
|
120
|
+
import { PasswordInput as ba } from "./components/New/PasswordInput/PasswordInput.js";
|
|
121
|
+
import { NumberInput as ha } from "./components/New/NumberInput/NumberInput.js";
|
|
122
|
+
import { Popup as wa } from "./components/New/Popup/Popup.js";
|
|
123
|
+
import { CloseButton as Ua } from "./components/New/CloseButton/CloseButton.js";
|
|
124
|
+
import { ConfirmationPopup as Va } from "./components/New/ConfirmationPopup/ConfirmationPopup.js";
|
|
125
|
+
import { Dropdown as Wa } from "./components/New/Dropdown/Dropdown.js";
|
|
126
|
+
import { ThemeScope as Ka, useThemeScope as Ya } from "./components/New/ThemeScope/ThemeScope.js";
|
|
127
|
+
import { CaptionText as Ja, ErrorText as Xa } from "./components/New/CaptionText/CaptionText.js";
|
|
128
|
+
import { Accordion as qa } from "./components/New/Accordion/Accordion.js";
|
|
129
|
+
import { Switch as $a } from "./components/New/Switch/Switch.js";
|
|
130
|
+
import { Radio as ri } from "./components/New/Radio/Radio.js";
|
|
131
|
+
import { RadioGroup as ti } from "./components/New/RadioGroup/RadioGroup.js";
|
|
132
|
+
import { RadioGroupPopupField as ii } from "./components/New/RadioGroupPopupField/RadioGroupPopupField.js";
|
|
133
|
+
import { Checkbox as ni } from "./components/New/Checkbox/Checkbox.js";
|
|
134
|
+
import { CheckboxBox as li } from "./components/New/Checkbox/CheckboxBox.js";
|
|
135
|
+
import { ToggleIconButton as xi } from "./components/New/ToggleIconButton/ToggleIconButton.js";
|
|
136
|
+
import { SegmentedControl as ci } from "./components/New/SegmentedControl/SegmentedControl.js";
|
|
137
|
+
import { Tabs as si } from "./components/New/Tabs/Tabs.js";
|
|
138
|
+
import { FileDropzone as di } from "./components/New/FileDropzone/FileDropzone.js";
|
|
139
|
+
import { Tag as Ii } from "./components/New/Tag/Tag.js";
|
|
140
|
+
import { TagAppearance as Ci } from "./types/tag.js";
|
|
141
|
+
import { TagInput as _i } from "./components/New/TagInput/TagInput.js";
|
|
142
|
+
import { Search as Bi } from "./components/New/Search/Search.js";
|
|
143
|
+
import { matchesAccept as Ni } from "./utils/file-accept.js";
|
|
144
|
+
import { Slider as Ri } from "./components/New/Slider/Slider.js";
|
|
145
|
+
import { Tooltip as Pi } from "./components/New/Tooltip/Tooltip.js";
|
|
146
|
+
import { TooltipContainer as bi } from "./components/New/Tooltip/TooltipContainer.js";
|
|
147
|
+
import { TooltipContent as hi } from "./components/New/Tooltip/TooltipContent.js";
|
|
148
|
+
import { TooltipTrigger as wi } from "./components/New/Tooltip/TooltipTrigger.js";
|
|
149
|
+
import { TooltipPlacement as Ui } from "./types/tooltip.js";
|
|
150
|
+
import { EllipsisTooltip as Vi } from "./components/New/EllipsisTooltip/EllipsisTooltip.js";
|
|
151
|
+
import { CollapsibleSidebar as Wi } from "./components/New/CollapsibleSidebar/CollapsibleSidebar.js";
|
|
152
|
+
import { ResizableContainer as Ki } from "./components/New/ResizableContainer/ResizableContainer.js";
|
|
153
|
+
import { ConditionalResizableContainer as Zi } from "./components/New/ResizableContainer/ConditionalResizableContainer.js";
|
|
154
|
+
import { NoDataContent as Xi } from "./components/New/NoDataContent/NoDataContent.js";
|
|
155
|
+
import { GRID_SELECTION_COLUMN_ID as qi, Grid as Qi } from "./components/New/Grid/Grid.js";
|
|
156
|
+
import { DateCellRenderer as op } from "./components/New/Grid/renderers/DateCellRenderer.js";
|
|
157
|
+
import { DEFAULT_DATE_FORMAT_OPTIONS as ep, DEFAULT_LOCALE as tp } from "./components/New/Grid/renderers/constants.js";
|
|
158
|
+
import { GRID_ALIGN_RIGHT_CLASS as ip, GRID_ROOT_CLASS as pp, ROW_HEIGHT as np, GRID_THEME_PARAMS as mp } from "./components/New/Grid/constants.js";
|
|
159
|
+
import { DIAL_KIT_ICON_STROKE as fp } from "./components/New/constants/icon.js";
|
|
160
|
+
import { convertToDate as Dp, convertToDate as cp } from "./utils/grid-date.js";
|
|
161
|
+
import { baseColumnComparator as sp, checkColDefsChanges as up } from "./utils/grid-comparators.js";
|
|
162
|
+
import { DEFAULT_ANALYTICS_BAR_COLOR_MAP as Sp } from "./components/Analytics/Bar/utils.js";
|
|
163
|
+
import { DialAnalyticsBar as Ap } from "./components/Analytics/Bar/Bar.js";
|
|
164
|
+
import { DialAnalyticsBarGroup as Ep } from "./components/Analytics/BarGroup/BarGroup.js";
|
|
165
|
+
import { DialAnalyticsCard as Lp } from "./components/Analytics/Card/Card.js";
|
|
166
|
+
import { DialAnalyticsErrorTag as gp } from "./components/Analytics/ErrorTag/ErrorTag.js";
|
|
167
|
+
import { DialAnalyticsHistogram as Op } from "./components/Analytics/Histogram/Histogram.js";
|
|
168
|
+
const o = () => import("./components/JsonEditor/JsonEditor.js"), r = () => import("./components/MarkdownEditor/MarkdownEditor.js"), e = () => import("./components/New/MarkdownEditor/MarkdownEditor.js");
|
|
169
|
+
export {
|
|
170
|
+
qa as Accordion,
|
|
171
|
+
m as AnalyticsCardVariant,
|
|
172
|
+
pt as BASE_ICON_PROPS,
|
|
173
|
+
nt as BASE_ICON_SIZE,
|
|
174
|
+
la as Button,
|
|
175
|
+
jr as ButtonAppearance,
|
|
176
|
+
sa as ButtonDropdown,
|
|
177
|
+
qr as ButtonVariant,
|
|
178
|
+
Yt as Calendar,
|
|
179
|
+
vt as CalendarMode,
|
|
180
|
+
Ja as CaptionText,
|
|
181
|
+
Rt as CardShell,
|
|
182
|
+
ni as Checkbox,
|
|
183
|
+
li as CheckboxBox,
|
|
184
|
+
Ua as CloseButton,
|
|
185
|
+
Wi as CollapsibleSidebar,
|
|
186
|
+
Zi as ConditionalResizableContainer,
|
|
187
|
+
Va as ConfirmationPopup,
|
|
188
|
+
te as ConfirmationPopupVariant,
|
|
189
|
+
Sp as DEFAULT_ANALYTICS_BAR_COLOR_MAP,
|
|
190
|
+
ep as DEFAULT_DATE_FORMAT_OPTIONS,
|
|
191
|
+
tp as DEFAULT_DATE_LOCALE,
|
|
192
|
+
To as DEFAULT_GRID_DATE_FORMAT_OPTIONS,
|
|
193
|
+
so as DEFAULT_GRID_DATE_LOCALE,
|
|
194
|
+
mt as DIAL_ICON_SIZE,
|
|
195
|
+
fp as DIAL_KIT_ICON_STROKE,
|
|
196
|
+
jt as DangerButton,
|
|
197
|
+
ta as DangerIconButton,
|
|
198
|
+
op as DateCellRenderer,
|
|
199
|
+
D as DialAccordion,
|
|
200
|
+
Ap as DialAnalyticsBar,
|
|
201
|
+
Ep as DialAnalyticsBarGroup,
|
|
202
|
+
Lp as DialAnalyticsCard,
|
|
203
|
+
gp as DialAnalyticsErrorTag,
|
|
204
|
+
Op as DialAnalyticsHistogram,
|
|
205
|
+
Lr as DialAutocompleteInputValue,
|
|
206
|
+
Ao as DialBreadcrumb,
|
|
207
|
+
Eo as DialBreadcrumbItem,
|
|
208
|
+
Lo as DialButton,
|
|
209
|
+
zr as DialButtonDropdown,
|
|
210
|
+
i as DialCaptionText,
|
|
211
|
+
g as DialCheckbox,
|
|
212
|
+
Ho as DialCloseButton,
|
|
213
|
+
z as DialCollapsibleSidebar,
|
|
214
|
+
po as DialConditionalResizableContainer,
|
|
215
|
+
mr as DialConfirmationPopup,
|
|
216
|
+
Oo as DialDangerButton,
|
|
217
|
+
Go as DialDangerIconButton,
|
|
218
|
+
Do as DialDateCellRenderer,
|
|
219
|
+
vr as DialDestinationFolderPopup,
|
|
220
|
+
Y as DialDraggableItem,
|
|
221
|
+
yr as DialDropdown,
|
|
222
|
+
kr as DialDropdownIcon,
|
|
223
|
+
v as DialEllipsisTooltip,
|
|
224
|
+
p as DialErrorText,
|
|
225
|
+
J as DialFileIcon,
|
|
226
|
+
Hr as DialFileManager,
|
|
227
|
+
Ae as DialFileManagerActions,
|
|
228
|
+
Ce as DialFileManagerTabs,
|
|
229
|
+
oo as DialFileName,
|
|
230
|
+
Ye as DialFileNodeType,
|
|
231
|
+
Ze as DialFilePermission,
|
|
232
|
+
Je as DialFileResourceType,
|
|
233
|
+
eo as DialFolderName,
|
|
234
|
+
Yr as DialFoldersTree,
|
|
235
|
+
j as DialFormItem,
|
|
236
|
+
Dr as DialFormPopup,
|
|
237
|
+
Ro as DialGhostButton,
|
|
238
|
+
ho as DialGhostIconButton,
|
|
239
|
+
fo as DialGrid,
|
|
240
|
+
T as DialIcon,
|
|
241
|
+
go as DialIconButton,
|
|
242
|
+
Tr as DialInput,
|
|
243
|
+
Er as DialInputPopup,
|
|
244
|
+
ge as DialItemType,
|
|
245
|
+
f as DialLabel,
|
|
246
|
+
k as DialLabelledText,
|
|
247
|
+
Fo as DialLinkButton,
|
|
248
|
+
Mr as DialLoadFileArea,
|
|
249
|
+
Gr as DialLoadFileAreaField,
|
|
250
|
+
S as DialLoader,
|
|
251
|
+
Po as DialNeutralButton,
|
|
252
|
+
yo as DialNeutralIconButton,
|
|
253
|
+
y as DialNoDataContent,
|
|
254
|
+
u as DialNotification,
|
|
255
|
+
ur as DialNumberInput,
|
|
256
|
+
L as DialPagination,
|
|
257
|
+
Sr as DialPasswordInput,
|
|
258
|
+
pr as DialPopup,
|
|
259
|
+
Mo as DialPrimaryButton,
|
|
260
|
+
wo as DialPrimaryIconButton,
|
|
261
|
+
F as DialRadioButton,
|
|
262
|
+
M as DialRadioGroup,
|
|
263
|
+
fr as DialRadioGroupPopupField,
|
|
264
|
+
vo as DialRemoveButton,
|
|
265
|
+
ao as DialResizableContainer,
|
|
266
|
+
st as DialSchemaRenderer,
|
|
267
|
+
Ar as DialSearch,
|
|
268
|
+
zo as DialSecondaryIconButton,
|
|
269
|
+
ar as DialSegmentedControl,
|
|
270
|
+
Or as DialSelect,
|
|
271
|
+
Fr as DialSelectField,
|
|
272
|
+
Q as DialSharedEntityIndicator,
|
|
273
|
+
G as DialSlider,
|
|
274
|
+
O as DialSteps,
|
|
275
|
+
Uo as DialSuccessIconButton,
|
|
276
|
+
er as DialSwitch,
|
|
277
|
+
So as DialTabs,
|
|
278
|
+
H as DialTag,
|
|
279
|
+
gr as DialTagInput,
|
|
280
|
+
ko as DialTertiaryIconButton,
|
|
281
|
+
Yo as DialTextarea,
|
|
282
|
+
Jo as DialTooltip,
|
|
283
|
+
jo as DialTooltipContainer,
|
|
284
|
+
Qo as DialTooltipContent,
|
|
285
|
+
or as DialTooltipTrigger,
|
|
286
|
+
Wa as Dropdown,
|
|
287
|
+
ie as DropdownItemType,
|
|
288
|
+
pe as DropdownTrigger,
|
|
289
|
+
ne as DropdownType,
|
|
290
|
+
ye as EDITABLE_CONTAINER_ATTRIBUTE,
|
|
291
|
+
Jr as EditorThemes,
|
|
292
|
+
le as ElementSize,
|
|
293
|
+
Vi as EllipsisTooltip,
|
|
294
|
+
Pt as ErrorMessageNotification,
|
|
295
|
+
Xa as ErrorText,
|
|
296
|
+
Mt as ErrorToastNotification,
|
|
297
|
+
ca as FabButton,
|
|
298
|
+
di as FileDropzone,
|
|
299
|
+
Ee as FileManagerColumnKey,
|
|
300
|
+
ke as FileManagerProvider,
|
|
301
|
+
Le as FlexibleActionsDirection,
|
|
302
|
+
Jt as FolderPath,
|
|
303
|
+
se as FormItemOrientation,
|
|
304
|
+
ip as GRID_ALIGN_RIGHT_CLASS,
|
|
305
|
+
pp as GRID_ROOT_CLASS,
|
|
306
|
+
np as GRID_ROW_HEIGHT,
|
|
307
|
+
qi as GRID_SELECTION_COLUMN_ID,
|
|
308
|
+
mp as GRID_THEME_PARAMS,
|
|
309
|
+
bt as GeneralMessageNotification,
|
|
310
|
+
Gt as GeneralToastNotification,
|
|
311
|
+
qt as GhostButton,
|
|
312
|
+
aa as GhostIconButton,
|
|
313
|
+
Qi as Grid,
|
|
314
|
+
je as GridSelectionMode,
|
|
315
|
+
Nt as Highlight,
|
|
316
|
+
xa as IconButton,
|
|
317
|
+
La as InfoButton,
|
|
318
|
+
ht as InfoMessageNotification,
|
|
319
|
+
yt as InfoToastNotification,
|
|
320
|
+
da as InlineSelect,
|
|
321
|
+
Sa as InlineSelectTrigger,
|
|
322
|
+
Pa as Input,
|
|
323
|
+
dt as JsonSchemaType,
|
|
324
|
+
ga as Label,
|
|
325
|
+
o as LazyDialJsonEditor,
|
|
326
|
+
r as LazyDialMarkdownEditor,
|
|
327
|
+
e as LazyMarkdownEditor,
|
|
328
|
+
Qt as LinkButton,
|
|
329
|
+
wt as LoadingMessageNotification,
|
|
330
|
+
zt as LoadingToastNotification,
|
|
331
|
+
Ea as MultiSelectTags,
|
|
332
|
+
et as NAME_COLUMN,
|
|
333
|
+
ft as NOT_ALLOWED_SPACES,
|
|
334
|
+
xt as NOT_ALLOWED_SPACES_REGEXP,
|
|
335
|
+
Dt as NOT_ALLOWED_SYMBOLS,
|
|
336
|
+
ct as NOT_ALLOWED_SYMBOLS_REGEXP,
|
|
337
|
+
$t as NeutralButton,
|
|
338
|
+
ia as NeutralIconButton,
|
|
339
|
+
Xi as NoDataContent,
|
|
340
|
+
Bt as Notification,
|
|
341
|
+
Et as NotificationType,
|
|
342
|
+
_t as NotificationVariant,
|
|
343
|
+
ha as NumberInput,
|
|
344
|
+
oa as OutlinedButton,
|
|
345
|
+
ba as PasswordInput,
|
|
346
|
+
wa as Popup,
|
|
347
|
+
re as PopupSize,
|
|
348
|
+
ra as PrimaryButton,
|
|
349
|
+
pa as PrimaryIconButton,
|
|
350
|
+
E as ProgressBar,
|
|
351
|
+
ri as Radio,
|
|
352
|
+
ti as RadioGroup,
|
|
353
|
+
$r as RadioGroupOrientation,
|
|
354
|
+
ii as RadioGroupPopupField,
|
|
355
|
+
Ki as ResizableContainer,
|
|
356
|
+
Oe as ResizableContainerSide,
|
|
357
|
+
tt as SIZE_COLUMN,
|
|
358
|
+
St as SchemaDisplayMode,
|
|
359
|
+
It as SchemaOrientation,
|
|
360
|
+
At as SchemaRendererVariant,
|
|
361
|
+
xe as ScreenResolution,
|
|
362
|
+
Bi as Search,
|
|
363
|
+
ci as SegmentedControl,
|
|
364
|
+
Aa as Select,
|
|
365
|
+
de as SelectSize,
|
|
366
|
+
Se as SelectVariant,
|
|
367
|
+
mo as Skeleton,
|
|
368
|
+
Fe as SkeletonAvatarShape,
|
|
369
|
+
Pe as SkeletonAvatarSize,
|
|
370
|
+
Me as SkeletonVariant,
|
|
371
|
+
Ri as Slider,
|
|
372
|
+
A as Spinner,
|
|
373
|
+
na as StaticIconButton,
|
|
374
|
+
ve as StepStatus,
|
|
375
|
+
Ut as SuccessMessageNotification,
|
|
376
|
+
kt as SuccessToastNotification,
|
|
377
|
+
$a as Switch,
|
|
378
|
+
De as TabOrientation,
|
|
379
|
+
ce as TabView,
|
|
380
|
+
si as Tabs,
|
|
381
|
+
Ii as Tag,
|
|
382
|
+
Ci as TagAppearance,
|
|
383
|
+
_i as TagInput,
|
|
384
|
+
Oa as Textarea,
|
|
385
|
+
Ra as TextareaResize,
|
|
386
|
+
Ka as ThemeScope,
|
|
387
|
+
xi as ToggleIconButton,
|
|
388
|
+
Pi as Tooltip,
|
|
389
|
+
bi as TooltipContainer,
|
|
390
|
+
hi as TooltipContent,
|
|
391
|
+
Ui as TooltipPlacement,
|
|
392
|
+
wi as TooltipTrigger,
|
|
393
|
+
at as UPDATED_AT_COLUMN,
|
|
394
|
+
Vt as WarningMessageNotification,
|
|
395
|
+
Ht as WarningToastNotification,
|
|
396
|
+
sp as baseColumnComparator,
|
|
397
|
+
up as checkColDefsChanges,
|
|
398
|
+
Dp as convertGridDateToDate,
|
|
399
|
+
cp as convertToDate,
|
|
400
|
+
we as editableContainerProps,
|
|
401
|
+
Ni as matchesAccept,
|
|
402
|
+
Qe as mergeClasses,
|
|
403
|
+
Ge as useDialFileManagerTabs,
|
|
404
|
+
ze as useEditableItem,
|
|
405
|
+
He as useFileManagerContext,
|
|
406
|
+
Ya as useThemeScope,
|
|
407
|
+
ot as wrapInRootFolder
|
|
408
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t=(r=>(r.dark="dark",r.light="light",r))(t||{});exports.EditorThemes=t;
|
package/dist/editors.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./editor-Ba3vCFHk.cjs"),e=()=>Promise.resolve().then(()=>require("./JsonEditor-pdzI3xkJ.cjs")),o=()=>Promise.resolve().then(()=>require("./MarkdownEditor-Dea4eQpw.cjs")),i=()=>Promise.resolve().then(()=>require("./MarkdownEditor-CNEY8i7O.cjs")),t=()=>Promise.resolve().then(()=>require("./MarkdownEditorContainer-BO6PafCS.cjs"));exports.EditorThemes=r.EditorThemes;exports.LazyDialJsonEditor=e;exports.LazyDialMarkdownEditor=o;exports.LazyDialMarkdownEditorContainer=t;exports.LazyMarkdownEditor=i;
|
package/dist/editors.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EditorThemes as d } from "./types/editor.js";
|
|
2
|
+
const o = () => import("./components/JsonEditor/JsonEditor.js"), r = () => import("./components/MarkdownEditor/MarkdownEditor.js"), t = () => import("./components/New/MarkdownEditor/MarkdownEditor.js"), i = () => import("./components/MarkdownEditor/MarkdownEditorContainer.js");
|
|
3
|
+
export {
|
|
4
|
+
d as EditorThemes,
|
|
5
|
+
o as LazyDialJsonEditor,
|
|
6
|
+
r as LazyDialMarkdownEditor,
|
|
7
|
+
i as LazyDialMarkdownEditorContainer,
|
|
8
|
+
t as LazyMarkdownEditor
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./use-file-manager-tabs-CkYH0CvF.cjs");exports.DialDestinationFolderPopup=e.DialDestinationFolderPopup;exports.DialFileManager=e.DialFileManager;exports.DialFileManagerActions=e.DialFileManagerActions;exports.DialFileManagerTabs=e.DialFileManagerTabs;exports.DialFoldersTree=e.DialFoldersTree;exports.FileManagerColumnKey=e.FileManagerColumnKey;exports.FileManagerProvider=e.FileManagerProvider;exports.NAME_COLUMN=e.NAME_COLUMN;exports.SIZE_COLUMN=e.SIZE_COLUMN;exports.UPDATED_AT_COLUMN=e.UPDATED_AT_COLUMN;exports.useDialFileManagerTabs=e.useDialFileManagerTabs;exports.useFileManagerContext=e.useFileManagerContext;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DialFileManager as o } from "./components/FileManager/FileManager.js";
|
|
2
|
+
import { DialDestinationFolderPopup as i } from "./components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js";
|
|
3
|
+
import { DialFoldersTree as t } from "./components/FileManager/components/FoldersTree/FoldersTree.js";
|
|
4
|
+
import { useDialFileManagerTabs as M } from "./components/FileManager/hooks/use-file-manager-tabs.js";
|
|
5
|
+
import { FileManagerProvider as m } from "./components/FileManager/FileManagerProvider.js";
|
|
6
|
+
import { useFileManagerContext as D } from "./components/FileManager/hooks/use-file-manager-context.js";
|
|
7
|
+
import { DialFileManagerActions as f, DialFileManagerTabs as g, FileManagerColumnKey as s } from "./types/file-manager.js";
|
|
8
|
+
import { NAME_COLUMN as T, SIZE_COLUMN as u, UPDATED_AT_COLUMN as A } from "./constants/file-grid-columns.js";
|
|
9
|
+
export {
|
|
10
|
+
i as DialDestinationFolderPopup,
|
|
11
|
+
o as DialFileManager,
|
|
12
|
+
f as DialFileManagerActions,
|
|
13
|
+
g as DialFileManagerTabs,
|
|
14
|
+
t as DialFoldersTree,
|
|
15
|
+
s as FileManagerColumnKey,
|
|
16
|
+
m as FileManagerProvider,
|
|
17
|
+
T as NAME_COLUMN,
|
|
18
|
+
u as SIZE_COLUMN,
|
|
19
|
+
A as UPDATED_AT_COLUMN,
|
|
20
|
+
M as useDialFileManagerTabs,
|
|
21
|
+
D as useFileManagerContext
|
|
22
|
+
};
|
package/dist/grid.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./DateCellRenderer-B0o0BqbW.cjs"),D=require("./DateCellRenderer-CKFfW-Hf.cjs");exports.DEFAULT_GRID_DATE_FORMAT_OPTIONS=e.DEFAULT_DATE_FORMAT_OPTIONS;exports.DEFAULT_GRID_DATE_LOCALE=e.DEFAULT_LOCALE;exports.DialDateCellRenderer=e.DialDateCellRenderer;exports.DialGrid=e.DialGrid;exports.GridSelectionMode=e.GridSelectionMode;exports.baseColumnComparator=e.baseColumnComparator;exports.checkColDefsChanges=e.checkColDefsChanges;exports.convertGridDateToDate=e.convertToDate;exports.convertToDate=e.convertToDate;exports.DEFAULT_DATE_FORMAT_OPTIONS=D.DEFAULT_DATE_FORMAT_OPTIONS;exports.DEFAULT_DATE_LOCALE=D.DEFAULT_LOCALE;exports.DateCellRenderer=D.DateCellRenderer;exports.GRID_ALIGN_RIGHT_CLASS=D.GRID_ALIGN_RIGHT_CLASS;exports.GRID_ROOT_CLASS=D.GRID_ROOT_CLASS;exports.GRID_ROW_HEIGHT=D.ROW_HEIGHT;exports.GRID_SELECTION_COLUMN_ID=D.GRID_SELECTION_COLUMN_ID;exports.GRID_THEME_PARAMS=D.GRID_THEME_PARAMS;exports.Grid=D.Grid;
|
package/dist/grid.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DialGrid as o } from "./components/Grid/Grid.js";
|
|
2
|
+
import { DialDateCellRenderer as D } from "./components/Grid/renderers/DateCellRenderer.js";
|
|
3
|
+
import { DEFAULT_DATE_FORMAT_OPTIONS as A, DEFAULT_LOCALE as E } from "./components/Grid/renderers/constants.js";
|
|
4
|
+
import { GRID_SELECTION_COLUMN_ID as L, Grid as O } from "./components/New/Grid/Grid.js";
|
|
5
|
+
import { DateCellRenderer as R } from "./components/New/Grid/renderers/DateCellRenderer.js";
|
|
6
|
+
import { DEFAULT_DATE_FORMAT_OPTIONS as G, DEFAULT_LOCALE as C } from "./components/New/Grid/renderers/constants.js";
|
|
7
|
+
import { GRID_ALIGN_RIGHT_CLASS as f, GRID_ROOT_CLASS as p, ROW_HEIGHT as x, GRID_THEME_PARAMS as F } from "./components/New/Grid/constants.js";
|
|
8
|
+
import { convertToDate as l, convertToDate as n } from "./utils/grid-date.js";
|
|
9
|
+
import { baseColumnComparator as U, checkColDefsChanges as d } from "./utils/grid-comparators.js";
|
|
10
|
+
import { GridSelectionMode as M } from "./models/selection-mode.js";
|
|
11
|
+
export {
|
|
12
|
+
G as DEFAULT_DATE_FORMAT_OPTIONS,
|
|
13
|
+
C as DEFAULT_DATE_LOCALE,
|
|
14
|
+
A as DEFAULT_GRID_DATE_FORMAT_OPTIONS,
|
|
15
|
+
E as DEFAULT_GRID_DATE_LOCALE,
|
|
16
|
+
R as DateCellRenderer,
|
|
17
|
+
D as DialDateCellRenderer,
|
|
18
|
+
o as DialGrid,
|
|
19
|
+
f as GRID_ALIGN_RIGHT_CLASS,
|
|
20
|
+
p as GRID_ROOT_CLASS,
|
|
21
|
+
x as GRID_ROW_HEIGHT,
|
|
22
|
+
L as GRID_SELECTION_COLUMN_ID,
|
|
23
|
+
F as GRID_THEME_PARAMS,
|
|
24
|
+
O as Grid,
|
|
25
|
+
M as GridSelectionMode,
|
|
26
|
+
U as baseColumnComparator,
|
|
27
|
+
d as checkColDefsChanges,
|
|
28
|
+
l as convertGridDateToDate,
|
|
29
|
+
n as convertToDate
|
|
30
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { NotificationVariant as x } from "../types/notification.js";
|
|
2
|
+
import { useState as k, useRef as w, useCallback as l, useEffect as y } from "react";
|
|
3
|
+
const N = "data-editable-container", U = {
|
|
4
|
+
[N]: ""
|
|
5
|
+
};
|
|
6
|
+
function j({
|
|
7
|
+
value: c,
|
|
8
|
+
isEditing: u,
|
|
9
|
+
isCreating: r,
|
|
10
|
+
isLoading: v = !1,
|
|
11
|
+
restoreOnCancel: T = !0,
|
|
12
|
+
onValidate: E,
|
|
13
|
+
onSave: A,
|
|
14
|
+
onCancel: B,
|
|
15
|
+
onCreateFolderSave: D,
|
|
16
|
+
onCreateFolderCancel: L
|
|
17
|
+
}) {
|
|
18
|
+
const [d, m] = k(c), [M, P] = k(!1), [W, $] = k(""), f = w(null), p = w(!1), I = w(!1), n = l((e = !1, t = "") => {
|
|
19
|
+
P(e), $(t);
|
|
20
|
+
}, []), a = l(
|
|
21
|
+
(e) => {
|
|
22
|
+
if (!E)
|
|
23
|
+
return n(), !0;
|
|
24
|
+
const t = E(e);
|
|
25
|
+
return t ? t.startsWith(`${x.Warning}__`) ? (n(!1, t), !0) : (n(!0, t), !1) : (n(), !0);
|
|
26
|
+
},
|
|
27
|
+
[E, n]
|
|
28
|
+
), q = l(
|
|
29
|
+
(e) => {
|
|
30
|
+
const t = e ?? "";
|
|
31
|
+
m(t), a(t);
|
|
32
|
+
},
|
|
33
|
+
[a]
|
|
34
|
+
), R = l(
|
|
35
|
+
(e) => {
|
|
36
|
+
r && !p.current && !v ? D?.(e) : !r && u && A?.(e), p.current = !1;
|
|
37
|
+
},
|
|
38
|
+
[A, D, r, u, v]
|
|
39
|
+
), b = l(() => {
|
|
40
|
+
T && m(c), r ? L?.() : B?.(), p.current = !0, n();
|
|
41
|
+
}, [
|
|
42
|
+
c,
|
|
43
|
+
B,
|
|
44
|
+
T,
|
|
45
|
+
n,
|
|
46
|
+
L,
|
|
47
|
+
r
|
|
48
|
+
]), h = l(() => {
|
|
49
|
+
if (!I.current) {
|
|
50
|
+
if (I.current = !0, a(d)) {
|
|
51
|
+
R(d);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
!r && a(c) ? (m(c), n(), R(c)) : b();
|
|
55
|
+
}
|
|
56
|
+
}, [
|
|
57
|
+
a,
|
|
58
|
+
d,
|
|
59
|
+
c,
|
|
60
|
+
R,
|
|
61
|
+
b,
|
|
62
|
+
n,
|
|
63
|
+
r
|
|
64
|
+
]);
|
|
65
|
+
return y(() => {
|
|
66
|
+
!u && !r || (p.current = !1, I.current = !1, m(c), n(), requestAnimationFrame(() => {
|
|
67
|
+
f.current?.focus(), f.current?.select();
|
|
68
|
+
}));
|
|
69
|
+
}, [u, r, c, n]), y(() => {
|
|
70
|
+
const e = f.current;
|
|
71
|
+
if (!u && !r || !e) return;
|
|
72
|
+
const t = (s) => {
|
|
73
|
+
s.key === "Enter" ? (s.preventDefault(), f.current?.blur()) : s.key === "Escape" && (s.preventDefault(), b());
|
|
74
|
+
};
|
|
75
|
+
return e.addEventListener("keydown", t), () => e.removeEventListener("keydown", t);
|
|
76
|
+
}, [u, r, b]), y(() => {
|
|
77
|
+
if (!u && !r || v) return;
|
|
78
|
+
const e = f.current;
|
|
79
|
+
if (!e) return;
|
|
80
|
+
const t = (o) => o ? (e.closest(`[${N}]`) ?? e).contains(o) : !1, s = (o) => {
|
|
81
|
+
t(o.target) || h();
|
|
82
|
+
}, _ = (o) => {
|
|
83
|
+
t(o.relatedTarget) || h();
|
|
84
|
+
};
|
|
85
|
+
return document.addEventListener("pointerdown", s, !0), e.addEventListener("blur", _), () => {
|
|
86
|
+
document.removeEventListener("pointerdown", s, !0), e.removeEventListener("blur", _);
|
|
87
|
+
};
|
|
88
|
+
}, [u, r, v, h]), { inputRef: f, value: d, onChange: q, invalid: M, invalidMessage: W };
|
|
89
|
+
}
|
|
90
|
+
export {
|
|
91
|
+
N as EDITABLE_CONTAINER_ATTRIBUTE,
|
|
92
|
+
U as editableContainerProps,
|
|
93
|
+
j as useEditableItem
|
|
94
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { BASE_ICON_SIZE as k } from "../constants/icon.js";
|
|
2
|
+
import { FlexibleActionsDirection as m } from "../types/flexible-actions.js";
|
|
3
|
+
import { useRef as l, useState as x, useCallback as I, useLayoutEffect as O, useEffect as y } from "react";
|
|
4
|
+
function _({
|
|
5
|
+
actions: t,
|
|
6
|
+
direction: s = m.Normal,
|
|
7
|
+
moreButtonWidth: g = k,
|
|
8
|
+
actionsGap: o = 8,
|
|
9
|
+
containerPadding: v = 8,
|
|
10
|
+
dependencies: A = []
|
|
11
|
+
}) {
|
|
12
|
+
const n = l(null), d = l(null), W = l(null), C = l(null), F = l([]), [u, w] = x(0), f = I(
|
|
13
|
+
(e, r) => {
|
|
14
|
+
const i = W.current?.offsetWidth ?? 0, b = C.current?.offsetWidth ?? 0, h = i + b, S = r.getBoundingClientRect().width - h - g - o * 2 - v * 2;
|
|
15
|
+
let a = 0, R = 0;
|
|
16
|
+
if (s === m.Reverse)
|
|
17
|
+
for (let c = e.length - 1; c >= 0 && (a += e[c] + o, !(a > S)); c--)
|
|
18
|
+
R++;
|
|
19
|
+
else
|
|
20
|
+
for (const c of e) {
|
|
21
|
+
if (a += c + o, a > S) break;
|
|
22
|
+
R++;
|
|
23
|
+
}
|
|
24
|
+
w(R);
|
|
25
|
+
},
|
|
26
|
+
[o, v, s, g]
|
|
27
|
+
);
|
|
28
|
+
O(
|
|
29
|
+
() => {
|
|
30
|
+
if (!d.current || !n.current) return;
|
|
31
|
+
const r = Array.from(d.current.children).map(
|
|
32
|
+
(i) => Math.ceil(i.getBoundingClientRect().width)
|
|
33
|
+
);
|
|
34
|
+
F.current = r, r.length !== 0 && f(r, n.current);
|
|
35
|
+
},
|
|
36
|
+
// Re-measure when the action list or layout-affecting deps (e.g. isMobile) change
|
|
37
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
38
|
+
[t, f, ...A]
|
|
39
|
+
), y(() => {
|
|
40
|
+
if (!n.current) return;
|
|
41
|
+
let e = null;
|
|
42
|
+
const r = () => {
|
|
43
|
+
e && cancelAnimationFrame(e), e = requestAnimationFrame(() => {
|
|
44
|
+
if (!n.current) return;
|
|
45
|
+
const b = n.current, h = F.current;
|
|
46
|
+
h.length !== 0 && f(h, b);
|
|
47
|
+
});
|
|
48
|
+
}, i = new ResizeObserver(r);
|
|
49
|
+
return i.observe(n.current), r(), () => {
|
|
50
|
+
e && cancelAnimationFrame(e), i.disconnect();
|
|
51
|
+
};
|
|
52
|
+
}, [
|
|
53
|
+
t.length,
|
|
54
|
+
f,
|
|
55
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
56
|
+
...A
|
|
57
|
+
]);
|
|
58
|
+
const E = s === m.Reverse ? t.slice(0, t.length - u) : t.slice(u);
|
|
59
|
+
return {
|
|
60
|
+
visibleActions: s === m.Reverse ? t.slice(t.length - u) : t.slice(0, u),
|
|
61
|
+
hiddenActions: E,
|
|
62
|
+
refs: {
|
|
63
|
+
containerRef: n,
|
|
64
|
+
measureRef: d,
|
|
65
|
+
leftSectionRef: W,
|
|
66
|
+
rightSectionRef: C
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export {
|
|
71
|
+
_ as useFlexibleActions
|
|
72
|
+
};
|