@epam/ai-dial-ui-kit 0.14.0-dev.9 → 0.14.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 +32 -3
- package/dist/CHANGELOG.md +17 -2
- package/dist/DateCellRenderer-BVM-Q8yx.cjs +63 -0
- package/dist/DateCellRenderer-ssp7eaZY.cjs +1 -0
- package/dist/IconButton-DWqoaBWf.cjs +1 -0
- package/dist/JsonEditor-qv1Z0dLX.cjs +1 -0
- package/dist/MarkdownEditor-DHn2pYOJ.cjs +1 -0
- package/dist/MarkdownEditor-jQ8nDJfx.cjs +1 -0
- package/dist/MarkdownEditorContainer-Bzcnoemw.cjs +1 -0
- package/dist/Switch-CUKClcEz.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/no-data.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 +142 -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 +201 -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 +129 -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 +65 -0
- package/dist/components/JsonEditor/lazy.js +4 -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/MarkdownEditor/lazy.js +4 -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 +316 -0
- package/dist/components/New/Dropdown/DropdownSubMenuItem.js +105 -0
- package/dist/components/New/Dropdown/constants.js +28 -0
- package/dist/components/New/Dropdown/item-mark.js +6 -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/InteractiveTooltip/InteractiveTooltip.js +104 -0
- package/dist/components/New/InteractiveTooltip/constants.js +6 -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 +64 -0
- package/dist/components/New/MarkdownEditor/lazy.js +4 -0
- package/dist/components/New/MenuItem/MenuItem.js +108 -0
- package/dist/components/New/MenuItem/constants.js +16 -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 +103 -0
- package/dist/components/New/Select/constants.js +50 -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 +27 -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 +1009 -161
- package/dist/{JsonEditor-CwnP07GH.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 +416 -0
- package/dist/editors.cjs +1 -0
- package/dist/editors.js +12 -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-has-hover.js +17 -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/lazy-tfN4sKhq.cjs +1 -0
- package/dist/merge-classes-Dipy1Ih1.cjs +1 -0
- package/dist/migration-guides/0.14.0/button-tooltip-2-0.md +1 -1
- package/dist/migration-guides/0.14.0/shadow-token-per-step-rename.md +64 -29
- package/dist/migration-guides/README.md +1 -1
- 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/Analytics/BarGroup/BarGroup.d.ts +9 -2
- package/dist/src/components/FileManager/FileManager.d.ts +2 -1
- package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +2 -0
- package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +4 -2
- package/dist/src/components/FileManager/utils.d.ts +11 -0
- 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/JsonEditor/lazy.d.ts +14 -0
- package/dist/src/components/MarkdownEditor/lazy.d.ts +7 -0
- package/dist/src/components/New/CollapsibleSidebar/CollapsibleSidebar.d.ts +82 -0
- package/dist/src/components/New/Dropdown/Dropdown.d.ts +20 -0
- package/dist/src/components/New/Dropdown/constants.d.ts +5 -4
- package/dist/src/components/New/Dropdown/item-mark.d.ts +15 -0
- package/dist/src/components/New/EllipsisTooltip/EllipsisTooltip.d.ts +1 -1
- 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/InteractiveTooltip/InteractiveTooltip.d.ts +74 -0
- package/dist/src/components/New/InteractiveTooltip/constants.d.ts +26 -0
- package/dist/src/components/New/MarkdownEditor/MarkdownEditor.d.ts +6 -0
- package/dist/src/components/New/MarkdownEditor/lazy.d.ts +7 -0
- package/dist/src/components/New/MenuItem/MenuItem.d.ts +68 -0
- package/dist/src/components/New/MenuItem/constants.d.ts +5 -0
- package/dist/src/components/New/NoDataContent/NoDataContent.d.ts +48 -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 +2 -2
- package/dist/src/components/New/Select/Select.d.ts +14 -2
- package/dist/src/components/New/Select/SelectSubMenuItem.d.ts +3 -0
- package/dist/src/components/New/Select/constants.d.ts +12 -5
- 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/Tooltip.d.ts +1 -1
- package/dist/src/components/New/Tooltip/TooltipContent.d.ts +4 -3
- package/dist/src/components/New/Tooltip/constants.d.ts +10 -1
- package/dist/src/components/New/constants/icon.d.ts +22 -0
- package/dist/src/components/New/constants/overlay.d.ts +7 -0
- package/dist/src/components/Tooltip/TooltipContent.d.ts +4 -0
- package/dist/src/hooks/use-has-hover.d.ts +20 -0
- package/dist/src/index.d.ts +28 -4
- package/dist/src/models/dropdown.d.ts +40 -1
- package/dist/src/models/select.d.ts +30 -0
- package/dist/src/subpaths/editors.d.ts +22 -0
- package/dist/src/subpaths/file-manager.d.ts +21 -0
- package/dist/src/subpaths/grid.d.ts +25 -0
- package/dist/src/types/menu-item.d.ts +21 -0
- package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +1 -0
- package/dist/src/utils/__tests__/pointer.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/src/utils/grid-registration.d.ts +16 -0
- package/dist/src/utils/grid-registration.spec.d.ts +1 -0
- package/dist/src/utils/pointer.d.ts +29 -0
- package/dist/src/utils/sub-menu-floating.d.ts +1 -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/menu-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-DjdR_mYM.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/grid-registration.js +8 -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/pointer.js +5 -0
- package/dist/utils/sub-menu-floating.js +85 -0
- package/package.json +37 -12
- package/dist/JsonEditor-D3v6vYDX.cjs +0 -1
- package/dist/MarkdownEditor-CfaHfp2e.js +0 -75
- package/dist/MarkdownEditor-D9M8LvKZ.cjs +0 -1
- package/dist/MarkdownEditor-HO5rwRn7.cjs +0 -1
- package/dist/MarkdownEditor-K1ldlz5M.js +0 -35
- package/dist/dial-ui-kit.cjs.js +0 -1
- package/dist/dial-ui-kit.es.js +0 -221
- package/dist/index-DD0A-MXM.cjs +0 -71
- package/dist/index-Dg0iEirR.js +0 -66908
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import { DialCaptionText as e, DialErrorText as t } from "./components/CaptionText/CaptionText.js";
|
|
2
|
+
import { AnalyticsCardVariant as i } from "./types/analytics.js";
|
|
3
|
+
import { DialLabel as n } from "./components/Label/Label.js";
|
|
4
|
+
import { DialAccordion as l } from "./components/Accordion/Accordion.js";
|
|
5
|
+
import { DialIcon as x } from "./components/Icon/Icon.js";
|
|
6
|
+
import { DialNotification as T } from "./components/Notification/Notification.js";
|
|
7
|
+
import { DialLoader as s } from "./components/Loader/Loader.js";
|
|
8
|
+
import { Spinner as d } from "./components/Spinner/Spinner.js";
|
|
9
|
+
import { ProgressBar as S } from "./components/ProgressBar/ProgressBar.js";
|
|
10
|
+
import { DialPagination as C } from "./components/Pagination/Pagination.js";
|
|
11
|
+
import { DialCheckbox as _ } from "./components/Checkbox/Checkbox.js";
|
|
12
|
+
import { DialSteps as B } from "./components/Steps/Steps.js";
|
|
13
|
+
import { DialRadioButton as N } from "./components/RadioButton/RadioButton.js";
|
|
14
|
+
import { DialRadioGroup as R } from "./components/RadioGroup/RadioGroup.js";
|
|
15
|
+
import { DialSlider as P } from "./components/Slider/Slider.js";
|
|
16
|
+
import { DialNoDataContent as b } from "./components/NoDataContent/NoDataContent.js";
|
|
17
|
+
import { DialCollapsibleSidebar as h } from "./components/CollapsibleSidebar/CollapsibleSidebar.js";
|
|
18
|
+
import { DialLabelledText as w } from "./components/LabelledText/LabelledText.js";
|
|
19
|
+
import { DialTag as U } from "./components/Tag/Tag.js";
|
|
20
|
+
import { DialEllipsisTooltip as V } from "./components/EllipsisTooltip/EllipsisTooltip.js";
|
|
21
|
+
import { DialDraggableItem as H } from "./components/DraggableItem/DraggableItem.js";
|
|
22
|
+
import { DialFileIcon as K } from "./components/FileIcon/FileIcon.js";
|
|
23
|
+
import { DialFormItem as Z } from "./components/FormItem/FormItem.js";
|
|
24
|
+
import { DialSharedEntityIndicator as X } from "./components/SharedEntityIndicator/SharedEntityIndicator.js";
|
|
25
|
+
import { DialFileName as q } from "./components/FileName/FileName.js";
|
|
26
|
+
import { DialFolderName as $ } from "./components/FolderName/FolderName.js";
|
|
27
|
+
import { DialResizableContainer as ro } from "./components/ResizableContainer/ResizableContainer.js";
|
|
28
|
+
import { DialConditionalResizableContainer as to } from "./components/ResizableContainer/ConditionalResizableContainer.js";
|
|
29
|
+
import { Skeleton as io } from "./components/Skeleton/Skeleton.js";
|
|
30
|
+
import { DialGrid as no } from "./components/Grid/Grid.js";
|
|
31
|
+
import { DialDateCellRenderer as lo } from "./components/Grid/renderers/DateCellRenderer.js";
|
|
32
|
+
import { DEFAULT_DATE_FORMAT_OPTIONS as xo, DEFAULT_LOCALE as Do } from "./components/Grid/renderers/constants.js";
|
|
33
|
+
import { DialTabs as co } from "./components/Tabs/Tabs.js";
|
|
34
|
+
import { DialBreadcrumb as uo } from "./components/Breadcrumb/Breadcrumb.js";
|
|
35
|
+
import { DialBreadcrumbItem as So } from "./components/Breadcrumb/BreadcrumbItem.js";
|
|
36
|
+
import { DialButton as Co } from "./components/Button/Button.js";
|
|
37
|
+
import { DialIconButton as _o } from "./components/IconButton/IconButton.js";
|
|
38
|
+
import { DialDangerButton as Bo, DialGhostButton as go, DialLinkButton as No, DialNeutralButton as Oo, DialPrimaryButton as Ro } from "./components/Button/ButtonWrappers.js";
|
|
39
|
+
import { DialDangerIconButton as Po, DialGhostIconButton as Mo, DialNeutralIconButton as bo, DialPrimaryIconButton as Go, DialSecondaryIconButton as ho, DialSuccessIconButton as yo, DialTertiaryIconButton as wo } from "./components/IconButton/IconButtonWrappers.js";
|
|
40
|
+
import { DialCloseButton as Uo } from "./components/CloseButton/CloseButton.js";
|
|
41
|
+
import { DialRemoveButton as Vo } from "./components/RemoveButton/RemoveButton.js";
|
|
42
|
+
import { DialTextarea as Ho } from "./components/Textarea/Textarea.js";
|
|
43
|
+
import { DialTooltip as Ko } from "./components/Tooltip/Tooltip.js";
|
|
44
|
+
import { DialTooltipContainer as Zo } from "./components/Tooltip/TooltipContainer.js";
|
|
45
|
+
import { DialTooltipContent as Xo } from "./components/Tooltip/TooltipContent.js";
|
|
46
|
+
import { DialTooltipTrigger as qo } from "./components/Tooltip/TooltipTrigger.js";
|
|
47
|
+
import { DialSwitch as $o } from "./components/Switch/Switch.js";
|
|
48
|
+
import { DialSegmentedControl as rr } from "./components/SegmentedControl/SegmentedControl.js";
|
|
49
|
+
import { DialPopup as tr } from "./components/Popup/Popup.js";
|
|
50
|
+
import { DialConfirmationPopup as ir } from "./components/ConfirmationPopup/ConfirmationPopup.js";
|
|
51
|
+
import { DialRadioGroupPopupField as nr } from "./components/RadioGroupPopupField/RadioGroupPopupField.js";
|
|
52
|
+
import { DialFormPopup as lr } from "./components/FormPopup/FormPopup.js";
|
|
53
|
+
import { DialInput as xr } from "./components/Input/Input.js";
|
|
54
|
+
import { DialNumberInput as Tr } from "./components/NumberInput/NumberInput.js";
|
|
55
|
+
import { DialPasswordInput as sr } from "./components/PasswordInput/PasswordInput.js";
|
|
56
|
+
import { DialSearch as dr } from "./components/Search/Search.js";
|
|
57
|
+
import { DialInputPopup as Sr } from "./components/InputPopup/InputPopup.js";
|
|
58
|
+
import { DialAutocompleteInputValue as Cr } from "./components/AutocompleteInput/AutocompleteInputValue.js";
|
|
59
|
+
import { DialTagInput as _r } from "./components/TagInput/TagInput.js";
|
|
60
|
+
import { DialSelect as Br } from "./components/Select/Select.js";
|
|
61
|
+
import { DialSelectField as Nr } from "./components/SelectField/SelectField.js";
|
|
62
|
+
import { DialLoadFileArea as Rr } from "./components/LoadFileArea/LoadFileArea.js";
|
|
63
|
+
import { DialLoadFileAreaField as Pr } from "./components/LoadFileArea/LoadFileAreaField.js";
|
|
64
|
+
import { DialDropdown as br } from "./components/Dropdown/Dropdown.js";
|
|
65
|
+
import { DialButtonDropdown as hr } from "./components/ButtonDropdown/ButtonDropdown.js";
|
|
66
|
+
import { DialDropdownIcon as wr } from "./components/DropdownIcon/DropdownIcon.js";
|
|
67
|
+
import { DialFileManager as Ur } from "./components/FileManager/FileManager.js";
|
|
68
|
+
import { DialDestinationFolderPopup as Vr } from "./components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js";
|
|
69
|
+
import { DialFoldersTree as Hr } from "./components/FileManager/components/FoldersTree/FoldersTree.js";
|
|
70
|
+
import { EditorThemes as Kr } from "./types/editor.js";
|
|
71
|
+
import { ButtonAppearance as Zr, ButtonVariant as Jr } from "./types/button.js";
|
|
72
|
+
import { RadioGroupOrientation as jr } from "./types/radio-group.js";
|
|
73
|
+
import { PopupSize as Qr } from "./types/popup.js";
|
|
74
|
+
import { ConfirmationPopupVariant as oe } from "./types/confirmation-popup.js";
|
|
75
|
+
import { DropdownItemType as ee, DropdownTrigger as te, DropdownType as ae } from "./types/dropdown.js";
|
|
76
|
+
import { MenuItemMark as pe } from "./types/menu-item.js";
|
|
77
|
+
import { ElementSize as me } from "./types/size.js";
|
|
78
|
+
import { ScreenResolution as fe, TabOrientation as xe, TabView as De } from "./types/tab.js";
|
|
79
|
+
import { FormItemOrientation as ce } from "./types/form-item.js";
|
|
80
|
+
import { SelectSize as ue, SelectVariant as de } from "./types/select.js";
|
|
81
|
+
import { DialFileManagerActions as Se, DialFileManagerTabs as Ae, FileManagerColumnKey as Ce } from "./types/file-manager.js";
|
|
82
|
+
import { FlexibleActionsDirection as _e } from "./types/flexible-actions.js";
|
|
83
|
+
import { DialItemType as Be } from "./types/item.js";
|
|
84
|
+
import { ResizableContainerSide as Ne } from "./types/resizable-container.js";
|
|
85
|
+
import { SkeletonAvatarShape as Re, SkeletonAvatarSize as Fe, SkeletonVariant as Pe } from "./types/skeleton.js";
|
|
86
|
+
import { useDialFileManagerTabs as be } from "./components/FileManager/hooks/use-file-manager-tabs.js";
|
|
87
|
+
import { EDITABLE_CONTAINER_ATTRIBUTE as he, editableContainerProps as ye, useEditableItem as we } from "./hooks/use-editable-item.js";
|
|
88
|
+
import { FileManagerProvider as Ue } from "./components/FileManager/FileManagerProvider.js";
|
|
89
|
+
import { useFileManagerContext as Ve } from "./components/FileManager/hooks/use-file-manager-context.js";
|
|
90
|
+
import { StepStatus as He } from "./models/step.js";
|
|
91
|
+
import { DialFileNodeType as Ke, DialFilePermission as Ye, DialFileResourceType as Ze } from "./models/file.js";
|
|
92
|
+
import { GridSelectionMode as Xe } from "./models/selection-mode.js";
|
|
93
|
+
import { mergeClasses as qe } from "./utils/merge-classes.js";
|
|
94
|
+
import { wrapInRootFolder as $e } from "./utils/flat-to-hierarchy-convertor.js";
|
|
95
|
+
import { NAME_COLUMN as rt, SIZE_COLUMN as et, UPDATED_AT_COLUMN as tt } from "./constants/file-grid-columns.js";
|
|
96
|
+
import { BASE_ICON_PROPS as it, BASE_ICON_SIZE as pt, DIAL_ICON_SIZE as nt } from "./constants/icon.js";
|
|
97
|
+
import { NOT_ALLOWED_SPACES as lt, NOT_ALLOWED_SPACES_REGEXP as ft, NOT_ALLOWED_SYMBOLS as xt, NOT_ALLOWED_SYMBOLS_REGEXP as Dt } from "./constants/validation.js";
|
|
98
|
+
import { DialSchemaRenderer as ct } from "./components/SchemaRenderer/SchemaRenderer.js";
|
|
99
|
+
import { JsonSchemaType as ut, SchemaDisplayMode as dt, SchemaOrientation as It, SchemaRendererVariant as St } from "./components/SchemaRenderer/types.js";
|
|
100
|
+
import { LazyDialJsonEditor as Ct } from "./components/JsonEditor/lazy.js";
|
|
101
|
+
import { LazyDialMarkdownEditor as _t } from "./components/MarkdownEditor/lazy.js";
|
|
102
|
+
import { NotificationType as Bt, NotificationVariant as gt } from "./types/notification.js";
|
|
103
|
+
import { Notification as Ot } from "./components/New/Notification/Notification.js";
|
|
104
|
+
import { Highlight as Ft } from "./components/New/Highlight/Highlight.js";
|
|
105
|
+
import { CardShell as Mt } from "./components/New/CardShell/CardShell.js";
|
|
106
|
+
import { ErrorMessageNotification as Gt, ErrorToastNotification as ht, GeneralMessageNotification as yt, GeneralToastNotification as wt, InfoMessageNotification as zt, InfoToastNotification as Ut, LoadingMessageNotification as kt, LoadingToastNotification as Vt, SuccessMessageNotification as vt, SuccessToastNotification as Ht, WarningMessageNotification as Wt, WarningToastNotification as Kt } from "./components/New/Notification/NotificationWrapper.js";
|
|
107
|
+
import { CalendarMode as Zt } from "./types/calendar.js";
|
|
108
|
+
import { Calendar as Xt } from "./components/New/Calendar/Calendar.js";
|
|
109
|
+
import { FolderPath as qt } from "./components/New/FolderPath/FolderPath.js";
|
|
110
|
+
import { DangerButton as $t, GhostButton as oa, LinkButton as ra, NeutralButton as ea, OutlinedButton as ta, PrimaryButton as aa } from "./components/New/Button/ButtonWrappers.js";
|
|
111
|
+
import { DangerIconButton as pa, GhostIconButton as na, NeutralIconButton as ma, PrimaryIconButton as la, StaticIconButton as fa } from "./components/New/IconButton/IconButtonWrappers.js";
|
|
112
|
+
import { Button as Da } from "./components/New/Button/Button.js";
|
|
113
|
+
import { IconButton as ca } from "./components/New/IconButton/IconButton.js";
|
|
114
|
+
import { FabButton as ua } from "./components/FabButton/FabButton.js";
|
|
115
|
+
import { ButtonDropdown as Ia } from "./components/New/ButtonDropdown/ButtonDropdown.js";
|
|
116
|
+
import { LazyMarkdownEditor as Aa } from "./components/New/MarkdownEditor/lazy.js";
|
|
117
|
+
import { InlineSelect as Ea, InlineSelectTrigger as _a } from "./components/New/InlineSelect/InlineSelect.js";
|
|
118
|
+
import { Select as Ba } from "./components/New/Select/Select.js";
|
|
119
|
+
import { MultiSelectTags as Na } from "./components/New/Select/MultiSelectTags.js";
|
|
120
|
+
import { InfoButton as Ra } from "./components/New/InfoButton/InfoButton.js";
|
|
121
|
+
import { Label as Pa } from "./components/New/Label/Label.js";
|
|
122
|
+
import { Textarea as ba, TextareaResize as Ga } from "./components/New/Textarea/Textarea.js";
|
|
123
|
+
import { Input as ya } from "./components/New/Input/Input.js";
|
|
124
|
+
import { PasswordInput as za } from "./components/New/PasswordInput/PasswordInput.js";
|
|
125
|
+
import { NumberInput as ka } from "./components/New/NumberInput/NumberInput.js";
|
|
126
|
+
import { Popup as va } from "./components/New/Popup/Popup.js";
|
|
127
|
+
import { CloseButton as Wa } from "./components/New/CloseButton/CloseButton.js";
|
|
128
|
+
import { ConfirmationPopup as Ya } from "./components/New/ConfirmationPopup/ConfirmationPopup.js";
|
|
129
|
+
import { Dropdown as Ja } from "./components/New/Dropdown/Dropdown.js";
|
|
130
|
+
import { ThemeScope as ja, useThemeScope as qa } from "./components/New/ThemeScope/ThemeScope.js";
|
|
131
|
+
import { MenuItem as $a } from "./components/New/MenuItem/MenuItem.js";
|
|
132
|
+
import { CaptionText as ri, ErrorText as ei } from "./components/New/CaptionText/CaptionText.js";
|
|
133
|
+
import { Accordion as ai } from "./components/New/Accordion/Accordion.js";
|
|
134
|
+
import { Switch as pi } from "./components/New/Switch/Switch.js";
|
|
135
|
+
import { Radio as mi } from "./components/New/Radio/Radio.js";
|
|
136
|
+
import { RadioGroup as fi } from "./components/New/RadioGroup/RadioGroup.js";
|
|
137
|
+
import { RadioGroupPopupField as Di } from "./components/New/RadioGroupPopupField/RadioGroupPopupField.js";
|
|
138
|
+
import { Checkbox as ci } from "./components/New/Checkbox/Checkbox.js";
|
|
139
|
+
import { CheckboxBox as ui } from "./components/New/Checkbox/CheckboxBox.js";
|
|
140
|
+
import { ToggleIconButton as Ii } from "./components/New/ToggleIconButton/ToggleIconButton.js";
|
|
141
|
+
import { SegmentedControl as Ai } from "./components/New/SegmentedControl/SegmentedControl.js";
|
|
142
|
+
import { Tabs as Ei } from "./components/New/Tabs/Tabs.js";
|
|
143
|
+
import { FileDropzone as Li } from "./components/New/FileDropzone/FileDropzone.js";
|
|
144
|
+
import { Tag as gi } from "./components/New/Tag/Tag.js";
|
|
145
|
+
import { TagAppearance as Oi } from "./types/tag.js";
|
|
146
|
+
import { TagInput as Fi } from "./components/New/TagInput/TagInput.js";
|
|
147
|
+
import { Search as Mi } from "./components/New/Search/Search.js";
|
|
148
|
+
import { matchesAccept as Gi } from "./utils/file-accept.js";
|
|
149
|
+
import { Slider as yi } from "./components/New/Slider/Slider.js";
|
|
150
|
+
import { Tooltip as zi } from "./components/New/Tooltip/Tooltip.js";
|
|
151
|
+
import { TooltipContainer as ki } from "./components/New/Tooltip/TooltipContainer.js";
|
|
152
|
+
import { TooltipContent as vi } from "./components/New/Tooltip/TooltipContent.js";
|
|
153
|
+
import { TooltipTrigger as Wi } from "./components/New/Tooltip/TooltipTrigger.js";
|
|
154
|
+
import { TooltipPlacement as Yi } from "./types/tooltip.js";
|
|
155
|
+
import { InteractiveTooltip as Ji } from "./components/New/InteractiveTooltip/InteractiveTooltip.js";
|
|
156
|
+
import { EllipsisTooltip as ji } from "./components/New/EllipsisTooltip/EllipsisTooltip.js";
|
|
157
|
+
import { CollapsibleSidebar as Qi } from "./components/New/CollapsibleSidebar/CollapsibleSidebar.js";
|
|
158
|
+
import { ResizableContainer as op } from "./components/New/ResizableContainer/ResizableContainer.js";
|
|
159
|
+
import { ConditionalResizableContainer as ep } from "./components/New/ResizableContainer/ConditionalResizableContainer.js";
|
|
160
|
+
import { NoDataContent as ap } from "./components/New/NoDataContent/NoDataContent.js";
|
|
161
|
+
import { GRID_SELECTION_COLUMN_ID as pp, Grid as np } from "./components/New/Grid/Grid.js";
|
|
162
|
+
import { DateCellRenderer as lp } from "./components/New/Grid/renderers/DateCellRenderer.js";
|
|
163
|
+
import { DEFAULT_DATE_FORMAT_OPTIONS as xp, DEFAULT_LOCALE as Dp } from "./components/New/Grid/renderers/constants.js";
|
|
164
|
+
import { GRID_ALIGN_RIGHT_CLASS as cp, GRID_ROOT_CLASS as sp, ROW_HEIGHT as up, GRID_THEME_PARAMS as dp } from "./components/New/Grid/constants.js";
|
|
165
|
+
import { DIAL_KIT_ICON_STROKE as Sp } from "./components/New/constants/icon.js";
|
|
166
|
+
import { convertToDate as Cp, convertToDate as Ep } from "./utils/grid-date.js";
|
|
167
|
+
import { baseColumnComparator as Lp, checkColDefsChanges as Bp } from "./utils/grid-comparators.js";
|
|
168
|
+
import { DEFAULT_ANALYTICS_BAR_COLOR_MAP as Np } from "./components/Analytics/Bar/utils.js";
|
|
169
|
+
import { DialAnalyticsBar as Rp } from "./components/Analytics/Bar/Bar.js";
|
|
170
|
+
import { DialAnalyticsBarGroup as Pp } from "./components/Analytics/BarGroup/BarGroup.js";
|
|
171
|
+
import { DialAnalyticsCard as bp } from "./components/Analytics/Card/Card.js";
|
|
172
|
+
import { DialAnalyticsErrorTag as hp } from "./components/Analytics/ErrorTag/ErrorTag.js";
|
|
173
|
+
import { DialAnalyticsHistogram as wp } from "./components/Analytics/Histogram/Histogram.js";
|
|
174
|
+
export {
|
|
175
|
+
ai as Accordion,
|
|
176
|
+
i as AnalyticsCardVariant,
|
|
177
|
+
it as BASE_ICON_PROPS,
|
|
178
|
+
pt as BASE_ICON_SIZE,
|
|
179
|
+
Da as Button,
|
|
180
|
+
Zr as ButtonAppearance,
|
|
181
|
+
Ia as ButtonDropdown,
|
|
182
|
+
Jr as ButtonVariant,
|
|
183
|
+
Xt as Calendar,
|
|
184
|
+
Zt as CalendarMode,
|
|
185
|
+
ri as CaptionText,
|
|
186
|
+
Mt as CardShell,
|
|
187
|
+
ci as Checkbox,
|
|
188
|
+
ui as CheckboxBox,
|
|
189
|
+
Wa as CloseButton,
|
|
190
|
+
Qi as CollapsibleSidebar,
|
|
191
|
+
ep as ConditionalResizableContainer,
|
|
192
|
+
Ya as ConfirmationPopup,
|
|
193
|
+
oe as ConfirmationPopupVariant,
|
|
194
|
+
Np as DEFAULT_ANALYTICS_BAR_COLOR_MAP,
|
|
195
|
+
xp as DEFAULT_DATE_FORMAT_OPTIONS,
|
|
196
|
+
Dp as DEFAULT_DATE_LOCALE,
|
|
197
|
+
xo as DEFAULT_GRID_DATE_FORMAT_OPTIONS,
|
|
198
|
+
Do as DEFAULT_GRID_DATE_LOCALE,
|
|
199
|
+
nt as DIAL_ICON_SIZE,
|
|
200
|
+
Sp as DIAL_KIT_ICON_STROKE,
|
|
201
|
+
$t as DangerButton,
|
|
202
|
+
pa as DangerIconButton,
|
|
203
|
+
lp as DateCellRenderer,
|
|
204
|
+
l as DialAccordion,
|
|
205
|
+
Rp as DialAnalyticsBar,
|
|
206
|
+
Pp as DialAnalyticsBarGroup,
|
|
207
|
+
bp as DialAnalyticsCard,
|
|
208
|
+
hp as DialAnalyticsErrorTag,
|
|
209
|
+
wp as DialAnalyticsHistogram,
|
|
210
|
+
Cr as DialAutocompleteInputValue,
|
|
211
|
+
uo as DialBreadcrumb,
|
|
212
|
+
So as DialBreadcrumbItem,
|
|
213
|
+
Co as DialButton,
|
|
214
|
+
hr as DialButtonDropdown,
|
|
215
|
+
e as DialCaptionText,
|
|
216
|
+
_ as DialCheckbox,
|
|
217
|
+
Uo as DialCloseButton,
|
|
218
|
+
h as DialCollapsibleSidebar,
|
|
219
|
+
to as DialConditionalResizableContainer,
|
|
220
|
+
ir as DialConfirmationPopup,
|
|
221
|
+
Bo as DialDangerButton,
|
|
222
|
+
Po as DialDangerIconButton,
|
|
223
|
+
lo as DialDateCellRenderer,
|
|
224
|
+
Vr as DialDestinationFolderPopup,
|
|
225
|
+
H as DialDraggableItem,
|
|
226
|
+
br as DialDropdown,
|
|
227
|
+
wr as DialDropdownIcon,
|
|
228
|
+
V as DialEllipsisTooltip,
|
|
229
|
+
t as DialErrorText,
|
|
230
|
+
K as DialFileIcon,
|
|
231
|
+
Ur as DialFileManager,
|
|
232
|
+
Se as DialFileManagerActions,
|
|
233
|
+
Ae as DialFileManagerTabs,
|
|
234
|
+
q as DialFileName,
|
|
235
|
+
Ke as DialFileNodeType,
|
|
236
|
+
Ye as DialFilePermission,
|
|
237
|
+
Ze as DialFileResourceType,
|
|
238
|
+
$ as DialFolderName,
|
|
239
|
+
Hr as DialFoldersTree,
|
|
240
|
+
Z as DialFormItem,
|
|
241
|
+
lr as DialFormPopup,
|
|
242
|
+
go as DialGhostButton,
|
|
243
|
+
Mo as DialGhostIconButton,
|
|
244
|
+
no as DialGrid,
|
|
245
|
+
x as DialIcon,
|
|
246
|
+
_o as DialIconButton,
|
|
247
|
+
xr as DialInput,
|
|
248
|
+
Sr as DialInputPopup,
|
|
249
|
+
Be as DialItemType,
|
|
250
|
+
n as DialLabel,
|
|
251
|
+
w as DialLabelledText,
|
|
252
|
+
No as DialLinkButton,
|
|
253
|
+
Rr as DialLoadFileArea,
|
|
254
|
+
Pr as DialLoadFileAreaField,
|
|
255
|
+
s as DialLoader,
|
|
256
|
+
Oo as DialNeutralButton,
|
|
257
|
+
bo as DialNeutralIconButton,
|
|
258
|
+
b as DialNoDataContent,
|
|
259
|
+
T as DialNotification,
|
|
260
|
+
Tr as DialNumberInput,
|
|
261
|
+
C as DialPagination,
|
|
262
|
+
sr as DialPasswordInput,
|
|
263
|
+
tr as DialPopup,
|
|
264
|
+
Ro as DialPrimaryButton,
|
|
265
|
+
Go as DialPrimaryIconButton,
|
|
266
|
+
N as DialRadioButton,
|
|
267
|
+
R as DialRadioGroup,
|
|
268
|
+
nr as DialRadioGroupPopupField,
|
|
269
|
+
Vo as DialRemoveButton,
|
|
270
|
+
ro as DialResizableContainer,
|
|
271
|
+
ct as DialSchemaRenderer,
|
|
272
|
+
dr as DialSearch,
|
|
273
|
+
ho as DialSecondaryIconButton,
|
|
274
|
+
rr as DialSegmentedControl,
|
|
275
|
+
Br as DialSelect,
|
|
276
|
+
Nr as DialSelectField,
|
|
277
|
+
X as DialSharedEntityIndicator,
|
|
278
|
+
P as DialSlider,
|
|
279
|
+
B as DialSteps,
|
|
280
|
+
yo as DialSuccessIconButton,
|
|
281
|
+
$o as DialSwitch,
|
|
282
|
+
co as DialTabs,
|
|
283
|
+
U as DialTag,
|
|
284
|
+
_r as DialTagInput,
|
|
285
|
+
wo as DialTertiaryIconButton,
|
|
286
|
+
Ho as DialTextarea,
|
|
287
|
+
Ko as DialTooltip,
|
|
288
|
+
Zo as DialTooltipContainer,
|
|
289
|
+
Xo as DialTooltipContent,
|
|
290
|
+
qo as DialTooltipTrigger,
|
|
291
|
+
Ja as Dropdown,
|
|
292
|
+
ee as DropdownItemType,
|
|
293
|
+
te as DropdownTrigger,
|
|
294
|
+
ae as DropdownType,
|
|
295
|
+
he as EDITABLE_CONTAINER_ATTRIBUTE,
|
|
296
|
+
Kr as EditorThemes,
|
|
297
|
+
me as ElementSize,
|
|
298
|
+
ji as EllipsisTooltip,
|
|
299
|
+
Gt as ErrorMessageNotification,
|
|
300
|
+
ei as ErrorText,
|
|
301
|
+
ht as ErrorToastNotification,
|
|
302
|
+
ua as FabButton,
|
|
303
|
+
Li as FileDropzone,
|
|
304
|
+
Ce as FileManagerColumnKey,
|
|
305
|
+
Ue as FileManagerProvider,
|
|
306
|
+
_e as FlexibleActionsDirection,
|
|
307
|
+
qt as FolderPath,
|
|
308
|
+
ce as FormItemOrientation,
|
|
309
|
+
cp as GRID_ALIGN_RIGHT_CLASS,
|
|
310
|
+
sp as GRID_ROOT_CLASS,
|
|
311
|
+
up as GRID_ROW_HEIGHT,
|
|
312
|
+
pp as GRID_SELECTION_COLUMN_ID,
|
|
313
|
+
dp as GRID_THEME_PARAMS,
|
|
314
|
+
yt as GeneralMessageNotification,
|
|
315
|
+
wt as GeneralToastNotification,
|
|
316
|
+
oa as GhostButton,
|
|
317
|
+
na as GhostIconButton,
|
|
318
|
+
np as Grid,
|
|
319
|
+
Xe as GridSelectionMode,
|
|
320
|
+
Ft as Highlight,
|
|
321
|
+
ca as IconButton,
|
|
322
|
+
Ra as InfoButton,
|
|
323
|
+
zt as InfoMessageNotification,
|
|
324
|
+
Ut as InfoToastNotification,
|
|
325
|
+
Ea as InlineSelect,
|
|
326
|
+
_a as InlineSelectTrigger,
|
|
327
|
+
ya as Input,
|
|
328
|
+
Ji as InteractiveTooltip,
|
|
329
|
+
ut as JsonSchemaType,
|
|
330
|
+
Pa as Label,
|
|
331
|
+
Ct as LazyDialJsonEditor,
|
|
332
|
+
_t as LazyDialMarkdownEditor,
|
|
333
|
+
Aa as LazyMarkdownEditor,
|
|
334
|
+
ra as LinkButton,
|
|
335
|
+
kt as LoadingMessageNotification,
|
|
336
|
+
Vt as LoadingToastNotification,
|
|
337
|
+
$a as MenuItem,
|
|
338
|
+
pe as MenuItemMark,
|
|
339
|
+
Na as MultiSelectTags,
|
|
340
|
+
rt as NAME_COLUMN,
|
|
341
|
+
lt as NOT_ALLOWED_SPACES,
|
|
342
|
+
ft as NOT_ALLOWED_SPACES_REGEXP,
|
|
343
|
+
xt as NOT_ALLOWED_SYMBOLS,
|
|
344
|
+
Dt as NOT_ALLOWED_SYMBOLS_REGEXP,
|
|
345
|
+
ea as NeutralButton,
|
|
346
|
+
ma as NeutralIconButton,
|
|
347
|
+
ap as NoDataContent,
|
|
348
|
+
Ot as Notification,
|
|
349
|
+
Bt as NotificationType,
|
|
350
|
+
gt as NotificationVariant,
|
|
351
|
+
ka as NumberInput,
|
|
352
|
+
ta as OutlinedButton,
|
|
353
|
+
za as PasswordInput,
|
|
354
|
+
va as Popup,
|
|
355
|
+
Qr as PopupSize,
|
|
356
|
+
aa as PrimaryButton,
|
|
357
|
+
la as PrimaryIconButton,
|
|
358
|
+
S as ProgressBar,
|
|
359
|
+
mi as Radio,
|
|
360
|
+
fi as RadioGroup,
|
|
361
|
+
jr as RadioGroupOrientation,
|
|
362
|
+
Di as RadioGroupPopupField,
|
|
363
|
+
op as ResizableContainer,
|
|
364
|
+
Ne as ResizableContainerSide,
|
|
365
|
+
et as SIZE_COLUMN,
|
|
366
|
+
dt as SchemaDisplayMode,
|
|
367
|
+
It as SchemaOrientation,
|
|
368
|
+
St as SchemaRendererVariant,
|
|
369
|
+
fe as ScreenResolution,
|
|
370
|
+
Mi as Search,
|
|
371
|
+
Ai as SegmentedControl,
|
|
372
|
+
Ba as Select,
|
|
373
|
+
ue as SelectSize,
|
|
374
|
+
de as SelectVariant,
|
|
375
|
+
io as Skeleton,
|
|
376
|
+
Re as SkeletonAvatarShape,
|
|
377
|
+
Fe as SkeletonAvatarSize,
|
|
378
|
+
Pe as SkeletonVariant,
|
|
379
|
+
yi as Slider,
|
|
380
|
+
d as Spinner,
|
|
381
|
+
fa as StaticIconButton,
|
|
382
|
+
He as StepStatus,
|
|
383
|
+
vt as SuccessMessageNotification,
|
|
384
|
+
Ht as SuccessToastNotification,
|
|
385
|
+
pi as Switch,
|
|
386
|
+
xe as TabOrientation,
|
|
387
|
+
De as TabView,
|
|
388
|
+
Ei as Tabs,
|
|
389
|
+
gi as Tag,
|
|
390
|
+
Oi as TagAppearance,
|
|
391
|
+
Fi as TagInput,
|
|
392
|
+
ba as Textarea,
|
|
393
|
+
Ga as TextareaResize,
|
|
394
|
+
ja as ThemeScope,
|
|
395
|
+
Ii as ToggleIconButton,
|
|
396
|
+
zi as Tooltip,
|
|
397
|
+
ki as TooltipContainer,
|
|
398
|
+
vi as TooltipContent,
|
|
399
|
+
Yi as TooltipPlacement,
|
|
400
|
+
Wi as TooltipTrigger,
|
|
401
|
+
tt as UPDATED_AT_COLUMN,
|
|
402
|
+
Wt as WarningMessageNotification,
|
|
403
|
+
Kt as WarningToastNotification,
|
|
404
|
+
Lp as baseColumnComparator,
|
|
405
|
+
Bp as checkColDefsChanges,
|
|
406
|
+
Cp as convertGridDateToDate,
|
|
407
|
+
Ep as convertToDate,
|
|
408
|
+
ye as editableContainerProps,
|
|
409
|
+
Gi as matchesAccept,
|
|
410
|
+
qe as mergeClasses,
|
|
411
|
+
be as useDialFileManagerTabs,
|
|
412
|
+
we as useEditableItem,
|
|
413
|
+
Ve as useFileManagerContext,
|
|
414
|
+
qa as useThemeScope,
|
|
415
|
+
$e as wrapInRootFolder
|
|
416
|
+
};
|
package/dist/editors.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./lazy-tfN4sKhq.cjs"),r=()=>Promise.resolve().then(()=>require("./MarkdownEditorContainer-Bzcnoemw.cjs"));exports.EditorThemes=o.EditorThemes;exports.LazyDialJsonEditor=o.LazyDialJsonEditor;exports.LazyDialMarkdownEditor=o.LazyDialMarkdownEditor;exports.LazyMarkdownEditor=o.LazyMarkdownEditor;exports.LazyDialMarkdownEditorContainer=r;
|
package/dist/editors.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LazyDialJsonEditor as a } from "./components/JsonEditor/lazy.js";
|
|
2
|
+
import { LazyDialMarkdownEditor as d } from "./components/MarkdownEditor/lazy.js";
|
|
3
|
+
import { LazyMarkdownEditor as n } from "./components/New/MarkdownEditor/lazy.js";
|
|
4
|
+
import { EditorThemes as p } from "./types/editor.js";
|
|
5
|
+
const o = () => import("./components/MarkdownEditor/MarkdownEditorContainer.js");
|
|
6
|
+
export {
|
|
7
|
+
p as EditorThemes,
|
|
8
|
+
a as LazyDialJsonEditor,
|
|
9
|
+
d as LazyDialMarkdownEditor,
|
|
10
|
+
o as LazyDialMarkdownEditorContainer,
|
|
11
|
+
n as LazyMarkdownEditor
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./use-file-manager-tabs-DjdR_mYM.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-BVM-Q8yx.cjs"),D=require("./DateCellRenderer-ssp7eaZY.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
|
+
};
|