@uzum-tech/ui 2.3.7 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +63601 -32546
- package/dist/index.mjs +64856 -33810
- package/dist/index.prod.js +3 -3
- package/dist/index.prod.mjs +3 -3
- package/es/_internal/icons/Bold.d.ts +2 -0
- package/es/_internal/icons/Bold.mjs +29 -0
- package/es/_internal/icons/BulletList.d.ts +2 -0
- package/es/_internal/icons/BulletList.mjs +23 -0
- package/es/_internal/icons/HorizontalRule.d.ts +2 -0
- package/es/_internal/icons/HorizontalRule.mjs +14 -0
- package/es/_internal/icons/Italic.d.ts +2 -0
- package/es/_internal/icons/Italic.mjs +19 -0
- package/es/_internal/icons/NumberedList.d.ts +2 -0
- package/es/_internal/icons/NumberedList.mjs +23 -0
- package/es/_internal/icons/Quote.d.ts +2 -0
- package/es/_internal/icons/Quote.mjs +23 -0
- package/es/_internal/icons/SettingsLine.d.ts +2 -0
- package/es/_internal/icons/SettingsLine.mjs +19 -0
- package/es/_internal/icons/Strikethrough.d.ts +2 -0
- package/es/_internal/icons/Strikethrough.mjs +14 -0
- package/es/_internal/icons/index.d.ts +8 -0
- package/es/_internal/icons/index.mjs +8 -0
- package/es/_styles/markdown/markdown-content.cssr.d.ts +6 -0
- package/es/_styles/markdown/markdown-content.cssr.mjs +22 -0
- package/es/_utils/markdown/index.d.ts +3 -2
- package/es/_utils/markdown/index.mjs +2 -1
- package/es/_utils/markdown/render-markdown.d.ts +2 -1
- package/es/_utils/markdown/render-markdown.mjs +1 -1
- package/es/chat/src/Chat.d.ts +261 -24
- package/es/chat/src/Chat.mjs +2 -0
- package/es/chat/src/ChatMainArea.d.ts +81 -8
- package/es/chat/src/ChatMainArea.mjs +111 -355
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.mjs +71 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/interface.mjs +19 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.mjs +78 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/interface.mjs +15 -0
- package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
- package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.mjs +63 -0
- package/es/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
- package/es/chat/src/ChatParts/ChatEditorInput/interface.mjs +34 -0
- package/es/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
- package/es/chat/src/ChatParts/ChatFooter/ChatFooter.mjs +99 -0
- package/es/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
- package/es/chat/src/ChatParts/ChatFooter/interface.mjs +46 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.mjs +219 -0
- package/es/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
- package/es/chat/src/ChatParts/ChatHeader/interface.mjs +67 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.mjs +129 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/interface.mjs +27 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.mjs +92 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/interface.mjs +58 -0
- package/es/chat/src/interface.d.ts +7 -0
- package/es/chat/src/interface.mjs +4 -0
- package/es/chat/styles/light.d.ts +4 -0
- package/es/chat/styles/light.mjs +18 -0
- package/es/components.d.ts +12933 -32
- package/es/components.mjs +186 -180
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
- package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.mjs +220 -0
- package/es/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
- package/es/data-table/src/ColumnSettings/styles.cssr.mjs +25 -0
- package/es/data-table/src/DataTable.d.ts +60 -2
- package/es/data-table/src/DataTable.mjs +99 -23
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
- package/es/data-table/src/interface.d.ts +53 -1
- package/es/data-table/src/interface.mjs +18 -1
- package/es/data-table/src/styles/index.cssr.mjs +17 -1
- package/es/data-table/src/use-column-settings.d.ts +2 -0
- package/es/data-table/src/use-column-settings.mjs +124 -0
- package/es/data-table/src/utils/column-utils.d.ts +2 -1
- package/es/data-table/src/utils/column-utils.mjs +6 -0
- package/es/editor/index.d.ts +10 -0
- package/es/editor/index.mjs +5 -0
- package/es/editor/src/Editor.d.ts +3896 -0
- package/es/editor/src/Editor.mjs +220 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.mjs +63 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/interface.mjs +14 -0
- package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4078 -0
- package/es/editor/src/EditorParts/EditorContent/EditorContent.mjs +154 -0
- package/es/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
- package/es/editor/src/EditorParts/EditorContent/index.mjs +2 -0
- package/es/editor/src/EditorParts/EditorContent/interface.d.ts +1906 -0
- package/es/editor/src/EditorParts/EditorContent/interface.mjs +17 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4582 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.mjs +170 -0
- package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
- package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.mjs +54 -0
- package/es/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
- package/es/editor/src/EditorParts/EditorToolbar/index.mjs +2 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +1912 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.mjs +18 -0
- package/es/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
- package/es/editor/src/EditorParts/SendButton/SendButton.mjs +42 -0
- package/es/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
- package/es/editor/src/EditorParts/SendButton/interface.mjs +8 -0
- package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
- package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.mjs +44 -0
- package/es/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
- package/es/editor/src/EditorParts/ToolbarButton/interface.mjs +13 -0
- package/es/editor/src/composables/use-editor-commands.d.ts +8 -0
- package/es/editor/src/composables/use-editor-commands.mjs +69 -0
- package/es/editor/src/composables/use-editor-css-vars.d.ts +4 -0
- package/es/editor/src/composables/use-editor-css-vars.mjs +81 -0
- package/es/editor/src/constants.d.ts +12 -0
- package/es/editor/src/constants.mjs +25 -0
- package/es/editor/src/extensions.d.ts +7 -0
- package/es/editor/src/extensions.mjs +129 -0
- package/es/editor/src/interface.d.ts +2019 -0
- package/es/editor/src/interface.mjs +52 -0
- package/es/editor/src/markdown/constants.d.ts +8 -0
- package/es/editor/src/markdown/constants.mjs +206 -0
- package/es/editor/src/markdown/editor-serializer.d.ts +9 -0
- package/es/editor/src/markdown/editor-serializer.mjs +18 -0
- package/es/editor/src/markdown/escape.d.ts +2 -0
- package/es/editor/src/markdown/escape.mjs +24 -0
- package/es/editor/src/markdown/html.d.ts +1 -0
- package/es/editor/src/markdown/html.mjs +4 -0
- package/es/editor/src/markdown/parser.d.ts +4 -0
- package/es/editor/src/markdown/parser.mjs +36 -0
- package/es/editor/src/markdown/serializer-state.d.ts +10 -0
- package/es/editor/src/markdown/serializer-state.mjs +12 -0
- package/es/editor/src/markdown/serializer.d.ts +3 -0
- package/es/editor/src/markdown/serializer.mjs +8 -0
- package/es/editor/src/styles/index.cssr.d.ts +2 -0
- package/es/editor/src/styles/index.cssr.mjs +119 -0
- package/es/editor/styles/dark.d.ts +630 -0
- package/es/editor/styles/dark.mjs +21 -0
- package/es/editor/styles/index.d.ts +3 -0
- package/es/editor/styles/index.mjs +2 -0
- package/es/editor/styles/light.d.ts +677 -0
- package/es/editor/styles/light.mjs +87 -0
- package/es/editor/tests/fixtures/round-trip.d.ts +12 -0
- package/es/editor/tests/fixtures/round-trip.mjs +98 -0
- package/es/editor/tests/utils.d.ts +7 -0
- package/es/editor/tests/utils.mjs +27 -0
- package/es/locales/common/enUS.d.ts +21 -0
- package/es/locales/common/enUS.mjs +22 -1
- package/es/locales/common/ruRU.mjs +22 -1
- package/es/locales/common/uzUZ.mjs +22 -1
- package/es/locales/common/zhCN.mjs +22 -1
- package/es/message-bubble/src/styles/index.cssr.mjs +4 -17
- package/es/styles.d.ts +1 -0
- package/es/styles.mjs +1 -0
- package/es/themes/dark.mjs +2 -0
- package/es/themes/light.mjs +2 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_internal/icons/Bold.d.ts +2 -0
- package/lib/_internal/icons/Bold.js +13 -0
- package/lib/_internal/icons/BulletList.d.ts +2 -0
- package/lib/_internal/icons/BulletList.js +13 -0
- package/lib/_internal/icons/HorizontalRule.d.ts +2 -0
- package/lib/_internal/icons/HorizontalRule.js +10 -0
- package/lib/_internal/icons/Italic.d.ts +2 -0
- package/lib/_internal/icons/Italic.js +11 -0
- package/lib/_internal/icons/NumberedList.d.ts +2 -0
- package/lib/_internal/icons/NumberedList.js +13 -0
- package/lib/_internal/icons/Quote.d.ts +2 -0
- package/lib/_internal/icons/Quote.js +13 -0
- package/lib/_internal/icons/SettingsLine.d.ts +2 -0
- package/lib/_internal/icons/SettingsLine.js +11 -0
- package/lib/_internal/icons/Strikethrough.d.ts +2 -0
- package/lib/_internal/icons/Strikethrough.js +10 -0
- package/lib/_internal/icons/index.d.ts +8 -0
- package/lib/_internal/icons/index.js +18 -2
- package/lib/_styles/markdown/markdown-content.cssr.d.ts +6 -0
- package/lib/_styles/markdown/markdown-content.cssr.js +28 -0
- package/lib/_utils/markdown/index.d.ts +3 -2
- package/lib/_utils/markdown/index.js +4 -1
- package/lib/_utils/markdown/render-markdown.d.ts +2 -1
- package/lib/_utils/markdown/render-markdown.js +1 -0
- package/lib/chat/src/Chat.d.ts +261 -24
- package/lib/chat/src/Chat.js +2 -0
- package/lib/chat/src/ChatMainArea.d.ts +81 -8
- package/lib/chat/src/ChatMainArea.js +93 -223
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.js +52 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.js +17 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.js +55 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/interface.js +14 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.js +45 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/interface.js +37 -0
- package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
- package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.js +66 -0
- package/lib/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
- package/lib/chat/src/ChatParts/ChatFooter/interface.js +49 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.js +164 -0
- package/lib/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
- package/lib/chat/src/ChatParts/ChatHeader/interface.js +53 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.js +98 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/interface.js +23 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.js +49 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/interface.js +61 -0
- package/lib/chat/src/interface.d.ts +7 -0
- package/lib/chat/src/interface.js +3 -0
- package/lib/chat/styles/light.d.ts +4 -0
- package/lib/chat/styles/light.js +19 -0
- package/lib/components.d.ts +12933 -32
- package/lib/components.js +18 -7
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
- package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.js +181 -0
- package/lib/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
- package/lib/data-table/src/ColumnSettings/styles.cssr.js +30 -0
- package/lib/data-table/src/DataTable.d.ts +60 -2
- package/lib/data-table/src/DataTable.js +65 -23
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
- package/lib/data-table/src/interface.d.ts +53 -1
- package/lib/data-table/src/interface.js +17 -2
- package/lib/data-table/src/styles/index.cssr.js +17 -1
- package/lib/data-table/src/use-column-settings.d.ts +2 -0
- package/lib/data-table/src/use-column-settings.js +144 -0
- package/lib/data-table/src/utils/column-utils.d.ts +2 -1
- package/lib/data-table/src/utils/column-utils.js +5 -0
- package/lib/editor/index.d.ts +10 -0
- package/lib/editor/index.js +19 -0
- package/lib/editor/src/Editor.d.ts +3896 -0
- package/lib/editor/src/Editor.js +216 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.js +47 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/interface.js +17 -0
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4078 -0
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.js +121 -0
- package/lib/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
- package/lib/editor/src/EditorParts/EditorContent/index.js +10 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +1906 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.js +8 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4582 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.js +126 -0
- package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
- package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.js +52 -0
- package/lib/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
- package/lib/editor/src/EditorParts/EditorToolbar/index.js +10 -0
- package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +1912 -0
- package/lib/editor/src/EditorParts/EditorToolbar/interface.js +11 -0
- package/lib/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
- package/lib/editor/src/EditorParts/SendButton/SendButton.js +31 -0
- package/lib/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
- package/lib/editor/src/EditorParts/SendButton/interface.js +11 -0
- package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
- package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.js +34 -0
- package/lib/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
- package/lib/editor/src/EditorParts/ToolbarButton/interface.js +16 -0
- package/lib/editor/src/composables/use-editor-commands.d.ts +8 -0
- package/lib/editor/src/composables/use-editor-commands.js +70 -0
- package/lib/editor/src/composables/use-editor-css-vars.d.ts +4 -0
- package/lib/editor/src/composables/use-editor-css-vars.js +46 -0
- package/lib/editor/src/constants.d.ts +12 -0
- package/lib/editor/src/constants.js +56 -0
- package/lib/editor/src/extensions.d.ts +7 -0
- package/lib/editor/src/extensions.js +136 -0
- package/lib/editor/src/interface.d.ts +2019 -0
- package/lib/editor/src/interface.js +22 -0
- package/lib/editor/src/markdown/constants.d.ts +8 -0
- package/lib/editor/src/markdown/constants.js +201 -0
- package/lib/editor/src/markdown/editor-serializer.d.ts +9 -0
- package/lib/editor/src/markdown/editor-serializer.js +20 -0
- package/lib/editor/src/markdown/escape.d.ts +2 -0
- package/lib/editor/src/markdown/escape.js +31 -0
- package/lib/editor/src/markdown/html.d.ts +1 -0
- package/lib/editor/src/markdown/html.js +9 -0
- package/lib/editor/src/markdown/parser.d.ts +4 -0
- package/lib/editor/src/markdown/parser.js +42 -0
- package/lib/editor/src/markdown/serializer-state.d.ts +10 -0
- package/lib/editor/src/markdown/serializer-state.js +16 -0
- package/lib/editor/src/markdown/serializer.d.ts +3 -0
- package/lib/editor/src/markdown/serializer.js +9 -0
- package/lib/editor/src/styles/index.cssr.d.ts +2 -0
- package/lib/editor/src/styles/index.cssr.js +124 -0
- package/lib/editor/styles/dark.d.ts +630 -0
- package/lib/editor/styles/dark.js +23 -0
- package/lib/editor/styles/index.d.ts +3 -0
- package/lib/editor/styles/index.js +10 -0
- package/lib/editor/styles/light.d.ts +677 -0
- package/lib/editor/styles/light.js +71 -0
- package/lib/editor/tests/fixtures/round-trip.d.ts +12 -0
- package/lib/editor/tests/fixtures/round-trip.js +125 -0
- package/lib/editor/tests/utils.d.ts +7 -0
- package/lib/editor/tests/utils.js +26 -0
- package/lib/locales/common/enUS.d.ts +21 -0
- package/lib/locales/common/enUS.js +22 -1
- package/lib/locales/common/ruRU.js +22 -1
- package/lib/locales/common/uzUZ.js +22 -1
- package/lib/locales/common/zhCN.js +22 -1
- package/lib/message-bubble/src/styles/index.cssr.js +4 -17
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +127 -125
- package/lib/themes/dark.js +136 -134
- package/lib/themes/light.js +136 -134
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +8 -1
- package/volar.d.ts +3 -0
- package/web-types.json +437 -2
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../../_utils';
|
|
3
|
+
import type { DataTableColumnSettingsItem, TableColumns } from '../interface';
|
|
4
|
+
export declare const columnSettingsDrawerProps: {
|
|
5
|
+
readonly show: {
|
|
6
|
+
readonly type: BooleanConstructor;
|
|
7
|
+
readonly default: false;
|
|
8
|
+
};
|
|
9
|
+
readonly items: {
|
|
10
|
+
readonly type: PropType<DataTableColumnSettingsItem[]>;
|
|
11
|
+
readonly default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
readonly defaultItems: {
|
|
14
|
+
readonly type: PropType<DataTableColumnSettingsItem[]>;
|
|
15
|
+
readonly default: () => never[];
|
|
16
|
+
};
|
|
17
|
+
readonly title: {
|
|
18
|
+
readonly type: StringConstructor;
|
|
19
|
+
readonly default: "Table settings";
|
|
20
|
+
};
|
|
21
|
+
readonly subtitle: {
|
|
22
|
+
readonly type: StringConstructor;
|
|
23
|
+
readonly default: "Select columns and change their order";
|
|
24
|
+
};
|
|
25
|
+
readonly selectAllText: {
|
|
26
|
+
readonly type: StringConstructor;
|
|
27
|
+
readonly default: "Select all";
|
|
28
|
+
};
|
|
29
|
+
readonly resetText: {
|
|
30
|
+
readonly type: StringConstructor;
|
|
31
|
+
readonly default: "Reset";
|
|
32
|
+
};
|
|
33
|
+
readonly cancelText: {
|
|
34
|
+
readonly type: StringConstructor;
|
|
35
|
+
readonly default: "Cancel";
|
|
36
|
+
};
|
|
37
|
+
readonly applyText: {
|
|
38
|
+
readonly type: StringConstructor;
|
|
39
|
+
readonly default: "Apply";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export type ColumnSettingsDrawerProps = ExtractPublicPropTypes<typeof columnSettingsDrawerProps>;
|
|
43
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
44
|
+
readonly show: {
|
|
45
|
+
readonly type: BooleanConstructor;
|
|
46
|
+
readonly default: false;
|
|
47
|
+
};
|
|
48
|
+
readonly items: {
|
|
49
|
+
readonly type: PropType<DataTableColumnSettingsItem[]>;
|
|
50
|
+
readonly default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
readonly defaultItems: {
|
|
53
|
+
readonly type: PropType<DataTableColumnSettingsItem[]>;
|
|
54
|
+
readonly default: () => never[];
|
|
55
|
+
};
|
|
56
|
+
readonly title: {
|
|
57
|
+
readonly type: StringConstructor;
|
|
58
|
+
readonly default: "Table settings";
|
|
59
|
+
};
|
|
60
|
+
readonly subtitle: {
|
|
61
|
+
readonly type: StringConstructor;
|
|
62
|
+
readonly default: "Select columns and change their order";
|
|
63
|
+
};
|
|
64
|
+
readonly selectAllText: {
|
|
65
|
+
readonly type: StringConstructor;
|
|
66
|
+
readonly default: "Select all";
|
|
67
|
+
};
|
|
68
|
+
readonly resetText: {
|
|
69
|
+
readonly type: StringConstructor;
|
|
70
|
+
readonly default: "Reset";
|
|
71
|
+
};
|
|
72
|
+
readonly cancelText: {
|
|
73
|
+
readonly type: StringConstructor;
|
|
74
|
+
readonly default: "Cancel";
|
|
75
|
+
};
|
|
76
|
+
readonly applyText: {
|
|
77
|
+
readonly type: StringConstructor;
|
|
78
|
+
readonly default: "Apply";
|
|
79
|
+
};
|
|
80
|
+
}>, {
|
|
81
|
+
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
82
|
+
localItems: import("vue").Ref<{
|
|
83
|
+
key: string;
|
|
84
|
+
title: string;
|
|
85
|
+
visible: boolean;
|
|
86
|
+
required: boolean;
|
|
87
|
+
sortOrder: number;
|
|
88
|
+
}[], DataTableColumnSettingsItem[] | {
|
|
89
|
+
key: string;
|
|
90
|
+
title: string;
|
|
91
|
+
visible: boolean;
|
|
92
|
+
required: boolean;
|
|
93
|
+
sortOrder: number;
|
|
94
|
+
}[]>;
|
|
95
|
+
columns: import("vue").ComputedRef<TableColumns<DataTableColumnSettingsItem>>;
|
|
96
|
+
allChecked: import("vue").ComputedRef<boolean>;
|
|
97
|
+
indeterminate: import("vue").ComputedRef<boolean>;
|
|
98
|
+
canApply: import("vue").ComputedRef<boolean>;
|
|
99
|
+
handleSelectAll: (value: boolean) => void;
|
|
100
|
+
handleDragStart: (event: DragEvent) => void;
|
|
101
|
+
handleApply: () => void;
|
|
102
|
+
handleReset: () => void;
|
|
103
|
+
handleCancel: () => void;
|
|
104
|
+
handleUpdateShow: (value: boolean) => void;
|
|
105
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "apply")[], "update:show" | "apply", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
106
|
+
readonly show: {
|
|
107
|
+
readonly type: BooleanConstructor;
|
|
108
|
+
readonly default: false;
|
|
109
|
+
};
|
|
110
|
+
readonly items: {
|
|
111
|
+
readonly type: PropType<DataTableColumnSettingsItem[]>;
|
|
112
|
+
readonly default: () => never[];
|
|
113
|
+
};
|
|
114
|
+
readonly defaultItems: {
|
|
115
|
+
readonly type: PropType<DataTableColumnSettingsItem[]>;
|
|
116
|
+
readonly default: () => never[];
|
|
117
|
+
};
|
|
118
|
+
readonly title: {
|
|
119
|
+
readonly type: StringConstructor;
|
|
120
|
+
readonly default: "Table settings";
|
|
121
|
+
};
|
|
122
|
+
readonly subtitle: {
|
|
123
|
+
readonly type: StringConstructor;
|
|
124
|
+
readonly default: "Select columns and change their order";
|
|
125
|
+
};
|
|
126
|
+
readonly selectAllText: {
|
|
127
|
+
readonly type: StringConstructor;
|
|
128
|
+
readonly default: "Select all";
|
|
129
|
+
};
|
|
130
|
+
readonly resetText: {
|
|
131
|
+
readonly type: StringConstructor;
|
|
132
|
+
readonly default: "Reset";
|
|
133
|
+
};
|
|
134
|
+
readonly cancelText: {
|
|
135
|
+
readonly type: StringConstructor;
|
|
136
|
+
readonly default: "Cancel";
|
|
137
|
+
};
|
|
138
|
+
readonly applyText: {
|
|
139
|
+
readonly type: StringConstructor;
|
|
140
|
+
readonly default: "Apply";
|
|
141
|
+
};
|
|
142
|
+
}>> & Readonly<{
|
|
143
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
onApply?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
}>, {
|
|
146
|
+
readonly title: string;
|
|
147
|
+
readonly subtitle: string;
|
|
148
|
+
readonly show: boolean;
|
|
149
|
+
readonly items: DataTableColumnSettingsItem[];
|
|
150
|
+
readonly selectAllText: string;
|
|
151
|
+
readonly cancelText: string;
|
|
152
|
+
readonly defaultItems: DataTableColumnSettingsItem[];
|
|
153
|
+
readonly resetText: string;
|
|
154
|
+
readonly applyText: string;
|
|
155
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
156
|
+
export default _default;
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { computed, defineComponent, Fragment, h, ref, watch } from 'vue';
|
|
2
|
+
import { UIcon } from "../../../_internal/icon/index.mjs";
|
|
3
|
+
import { Refresh } from "../../../_internal/icons/index.mjs";
|
|
4
|
+
import { useConfig, useStyle } from "../../../_mixins/index.mjs";
|
|
5
|
+
import { UButton } from "../../../button/index.mjs";
|
|
6
|
+
import { UCheckbox } from "../../../checkbox/index.mjs";
|
|
7
|
+
import { UDrawer, UDrawerContent } from "../../../drawer/index.mjs";
|
|
8
|
+
import { UFlex } from "../../../flex/index.mjs";
|
|
9
|
+
import { UText } from "../../../typography/index.mjs";
|
|
10
|
+
import DataTable from "../DataTable.mjs";
|
|
11
|
+
import { withSortSteps } from "../utils/index.mjs";
|
|
12
|
+
import style from "./styles.cssr.mjs";
|
|
13
|
+
export const columnSettingsDrawerProps = {
|
|
14
|
+
show: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: false
|
|
17
|
+
},
|
|
18
|
+
items: {
|
|
19
|
+
type: Array,
|
|
20
|
+
default: () => []
|
|
21
|
+
},
|
|
22
|
+
defaultItems: {
|
|
23
|
+
type: Array,
|
|
24
|
+
default: () => []
|
|
25
|
+
},
|
|
26
|
+
title: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: 'Table settings'
|
|
29
|
+
},
|
|
30
|
+
subtitle: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: 'Select columns and change their order'
|
|
33
|
+
},
|
|
34
|
+
selectAllText: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: 'Select all'
|
|
37
|
+
},
|
|
38
|
+
resetText: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: 'Reset'
|
|
41
|
+
},
|
|
42
|
+
cancelText: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: 'Cancel'
|
|
45
|
+
},
|
|
46
|
+
applyText: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: 'Apply'
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
export default defineComponent({
|
|
52
|
+
name: 'DataTableColumnSettingsDrawer',
|
|
53
|
+
props: columnSettingsDrawerProps,
|
|
54
|
+
emits: ['update:show', 'apply'],
|
|
55
|
+
setup(props, {
|
|
56
|
+
emit
|
|
57
|
+
}) {
|
|
58
|
+
const {
|
|
59
|
+
mergedClsPrefixRef
|
|
60
|
+
} = useConfig(props);
|
|
61
|
+
useStyle('-data-table-column-settings', style, mergedClsPrefixRef);
|
|
62
|
+
const localItems = ref([]);
|
|
63
|
+
const toggleableItems = computed(() => localItems.value.filter(item => !item.required));
|
|
64
|
+
const allChecked = computed(() => !!toggleableItems.value.length && toggleableItems.value.every(item => item.visible));
|
|
65
|
+
const indeterminate = computed(() => {
|
|
66
|
+
const visibleCount = toggleableItems.value.filter(item => item.visible).length;
|
|
67
|
+
return !!visibleCount && visibleCount < toggleableItems.value.length;
|
|
68
|
+
});
|
|
69
|
+
const canApply = computed(() => localItems.value.some(item => item.visible));
|
|
70
|
+
const columns = computed(() => [{
|
|
71
|
+
key: 'column',
|
|
72
|
+
render: row => {
|
|
73
|
+
return h(UFlex, {
|
|
74
|
+
align: 'center',
|
|
75
|
+
size: 8,
|
|
76
|
+
class: `${mergedClsPrefixRef.value}-data-table-column-settings__row-content`
|
|
77
|
+
}, () => [h(UCheckbox, {
|
|
78
|
+
checked: row.visible,
|
|
79
|
+
disabled: row.required,
|
|
80
|
+
'onUpdate:checked': value => {
|
|
81
|
+
if (row.required) return;
|
|
82
|
+
row.visible = value;
|
|
83
|
+
}
|
|
84
|
+
}), h(UText, {
|
|
85
|
+
class: `${mergedClsPrefixRef.value}-data-table-column-settings__item-title`
|
|
86
|
+
}, () => row.title)]);
|
|
87
|
+
}
|
|
88
|
+
}, {
|
|
89
|
+
type: 'draggable',
|
|
90
|
+
key: 'sortOrder',
|
|
91
|
+
width: 48,
|
|
92
|
+
onDragEnd: (row, options) => {
|
|
93
|
+
row.sortOrder = options.newOrder;
|
|
94
|
+
}
|
|
95
|
+
}]);
|
|
96
|
+
function initLocalItems() {
|
|
97
|
+
localItems.value = withSortSteps(props.items);
|
|
98
|
+
}
|
|
99
|
+
function handleSelectAll(value) {
|
|
100
|
+
localItems.value.forEach(item => {
|
|
101
|
+
if (value || !item.required) item.visible = value;
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function handleApply() {
|
|
105
|
+
const sorted = [...localItems.value].sort((left, right) => left.sortOrder - right.sortOrder);
|
|
106
|
+
const order = sorted.map(item => item.key);
|
|
107
|
+
const hidden = sorted.filter(item => !item.visible).map(item => item.key);
|
|
108
|
+
emit('apply', order, hidden);
|
|
109
|
+
emit('update:show', false);
|
|
110
|
+
}
|
|
111
|
+
function handleReset() {
|
|
112
|
+
localItems.value = withSortSteps(props.defaultItems);
|
|
113
|
+
}
|
|
114
|
+
function handleCancel() {
|
|
115
|
+
emit('update:show', false);
|
|
116
|
+
}
|
|
117
|
+
function handleUpdateShow(value) {
|
|
118
|
+
emit('update:show', value);
|
|
119
|
+
}
|
|
120
|
+
function handleDragStart(event) {
|
|
121
|
+
if (!(event.target instanceof Element) || !event.dataTransfer) return;
|
|
122
|
+
const row = event.target.closest('tr');
|
|
123
|
+
if (!row) return;
|
|
124
|
+
const rect = row.getBoundingClientRect();
|
|
125
|
+
event.dataTransfer.setDragImage(row, event.clientX - rect.left, event.clientY - rect.top);
|
|
126
|
+
}
|
|
127
|
+
watch(() => props.show, show => {
|
|
128
|
+
if (show) initLocalItems();
|
|
129
|
+
});
|
|
130
|
+
return {
|
|
131
|
+
mergedClsPrefix: mergedClsPrefixRef,
|
|
132
|
+
localItems,
|
|
133
|
+
columns,
|
|
134
|
+
allChecked,
|
|
135
|
+
indeterminate,
|
|
136
|
+
canApply,
|
|
137
|
+
handleSelectAll,
|
|
138
|
+
handleDragStart,
|
|
139
|
+
handleApply,
|
|
140
|
+
handleReset,
|
|
141
|
+
handleCancel,
|
|
142
|
+
handleUpdateShow
|
|
143
|
+
};
|
|
144
|
+
},
|
|
145
|
+
render() {
|
|
146
|
+
const {
|
|
147
|
+
mergedClsPrefix
|
|
148
|
+
} = this;
|
|
149
|
+
return h(UDrawer, {
|
|
150
|
+
show: this.show,
|
|
151
|
+
size: "small",
|
|
152
|
+
class: `${mergedClsPrefix}-data-table-column-settings`,
|
|
153
|
+
onUpdateShow: this.handleUpdateShow
|
|
154
|
+
}, {
|
|
155
|
+
default: () => h(UDrawerContent, {
|
|
156
|
+
closable: true,
|
|
157
|
+
title: this.title,
|
|
158
|
+
subtitle: this.subtitle,
|
|
159
|
+
bodyContentClass: `${mergedClsPrefix}-data-table-column-settings__body`
|
|
160
|
+
}, {
|
|
161
|
+
default: () => h(Fragment, null, h(UFlex, {
|
|
162
|
+
align: "center",
|
|
163
|
+
justify: "space-between",
|
|
164
|
+
class: `${mergedClsPrefix}-data-table-column-settings__row`
|
|
165
|
+
}, h(UFlex, {
|
|
166
|
+
align: "center",
|
|
167
|
+
size: 8,
|
|
168
|
+
class: `${mergedClsPrefix}-data-table-column-settings__row-content`
|
|
169
|
+
}, h(UCheckbox, {
|
|
170
|
+
checked: this.allChecked,
|
|
171
|
+
indeterminate: !this.allChecked && this.indeterminate,
|
|
172
|
+
onUpdateChecked: this.handleSelectAll
|
|
173
|
+
}), h(UText, {
|
|
174
|
+
class: `${mergedClsPrefix}-data-table-column-settings__item-title`
|
|
175
|
+
}, this.selectAllText)), h("div", {
|
|
176
|
+
class: `${mergedClsPrefix}-data-table-column-settings__drag-spacer`
|
|
177
|
+
})), h("div", {
|
|
178
|
+
onDragstart: this.handleDragStart
|
|
179
|
+
}, h(DataTable, {
|
|
180
|
+
class: `${mergedClsPrefix}-data-table-column-settings__table`,
|
|
181
|
+
size: "small",
|
|
182
|
+
columns: this.columns,
|
|
183
|
+
data: this.localItems,
|
|
184
|
+
rowKey: row => row.key,
|
|
185
|
+
singleLine: false,
|
|
186
|
+
bordered: false,
|
|
187
|
+
pagination: false
|
|
188
|
+
}))),
|
|
189
|
+
footer: () => h(UFlex, {
|
|
190
|
+
justify: "space-between",
|
|
191
|
+
align: "center",
|
|
192
|
+
style: {
|
|
193
|
+
width: '100%'
|
|
194
|
+
}
|
|
195
|
+
}, h(UButton, {
|
|
196
|
+
size: "large",
|
|
197
|
+
text: true,
|
|
198
|
+
onClick: this.handleReset,
|
|
199
|
+
renderIcon: () => h(UIcon, {
|
|
200
|
+
size: 16
|
|
201
|
+
}, {
|
|
202
|
+
default: () => h(Refresh)
|
|
203
|
+
})
|
|
204
|
+
}, this.resetText), h(UFlex, {
|
|
205
|
+
align: "center",
|
|
206
|
+
size: 8
|
|
207
|
+
}, h(UButton, {
|
|
208
|
+
size: "large",
|
|
209
|
+
secondary: true,
|
|
210
|
+
onClick: this.handleCancel
|
|
211
|
+
}, this.cancelText), h(UButton, {
|
|
212
|
+
type: "primary",
|
|
213
|
+
size: "large",
|
|
214
|
+
disabled: !this.canApply,
|
|
215
|
+
onClick: this.handleApply
|
|
216
|
+
}, this.applyText)))
|
|
217
|
+
})
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { c, cB, cE } from "../../../_utils/cssr/index.mjs";
|
|
2
|
+
export default c([cB('data-table-column-settings', [cE('row', `
|
|
3
|
+
border-bottom: 1px solid var(--u-border-color);
|
|
4
|
+
padding: 20px 12px;
|
|
5
|
+
`), cE('row-content', `
|
|
6
|
+
align-items: center !important;
|
|
7
|
+
flex-flow: nowrap !important;
|
|
8
|
+
height: 100%;
|
|
9
|
+
`), cE('item-title', `
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
font-weight: 500;
|
|
12
|
+
letter-spacing: 0.004em;
|
|
13
|
+
line-height: 24px;
|
|
14
|
+
`), cE('drag-spacer', `
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
width: 48px;
|
|
17
|
+
`), cE('table', [c('.u-data-table-thead', `
|
|
18
|
+
display: none;
|
|
19
|
+
`), c('.u-data-table-th, .u-data-table-td', `
|
|
20
|
+
border: none !important;
|
|
21
|
+
border-bottom: 1px solid var(--u-border-color) !important;
|
|
22
|
+
padding: 20px 12px !important;
|
|
23
|
+
`), c('.u-data-table-tr', `
|
|
24
|
+
border: none !important;
|
|
25
|
+
`)])])]);
|
|
@@ -94,7 +94,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
94
94
|
readonly default: "current";
|
|
95
95
|
};
|
|
96
96
|
readonly scrollbarProps: import("vue").PropType<import("../..").ScrollbarProps>;
|
|
97
|
-
readonly localStorageKey:
|
|
97
|
+
readonly localStorageKey: {
|
|
98
|
+
readonly type: StringConstructor;
|
|
99
|
+
readonly default: undefined;
|
|
100
|
+
};
|
|
101
|
+
readonly columnSettings: {
|
|
102
|
+
readonly type: BooleanConstructor;
|
|
103
|
+
readonly default: false;
|
|
104
|
+
};
|
|
105
|
+
readonly columnSettingsTriggerProps: {
|
|
106
|
+
readonly type: import("vue").PropType<Partial<import("../..").ButtonProps>>;
|
|
107
|
+
readonly default: undefined;
|
|
108
|
+
};
|
|
98
109
|
readonly renderCell: import("vue").PropType<(value: any, rowData: object, column: TableBaseColumn) => import("vue").VNodeChild>;
|
|
99
110
|
readonly defaultEmptyValue: import("vue").PropType<string | (() => import("vue").VNodeChild) | undefined>;
|
|
100
111
|
readonly renderExpandIcon: import("vue").PropType<import("./interface").RenderExpandIcon>;
|
|
@@ -3750,6 +3761,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3750
3761
|
totalRows: import("./interface").InternalRowData | null;
|
|
3751
3762
|
};
|
|
3752
3763
|
getTotalRowData: () => import("./interface").InternalRowData | null;
|
|
3764
|
+
openColumnSettings: () => void;
|
|
3765
|
+
resetColumnSettings: () => void;
|
|
3766
|
+
applyColumnSettings: (config: import("./interface").DataTableColumnConfigState[]) => void;
|
|
3753
3767
|
clearFilter: () => void;
|
|
3754
3768
|
mainTableInstRef: import("vue").Ref<{
|
|
3755
3769
|
getHeaderElement: () => HTMLElement | null;
|
|
@@ -5709,6 +5723,36 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5709
5723
|
}> | undefined;
|
|
5710
5724
|
themeClass: import("vue").Ref<string, string> | undefined;
|
|
5711
5725
|
onRender: (() => void) | undefined;
|
|
5726
|
+
columnSettingsEnabled: import("vue").ComputedRef<boolean>;
|
|
5727
|
+
drawerOpen: import("vue").Ref<boolean, boolean>;
|
|
5728
|
+
drawerItems: import("vue").ComputedRef<import("./interface").DataTableColumnSettingsItem[]>;
|
|
5729
|
+
defaultDrawerItems: import("vue").ComputedRef<import("./interface").DataTableColumnSettingsItem[]>;
|
|
5730
|
+
applyColumnSettingsFromKeys: (orderedKeys: string[], hiddenKeys: string[]) => void;
|
|
5731
|
+
locale: import("vue").Ref<{
|
|
5732
|
+
checkTableAll: string;
|
|
5733
|
+
uncheckTableAll: string;
|
|
5734
|
+
confirm: string;
|
|
5735
|
+
clear: string;
|
|
5736
|
+
columnSettingsTitle: string;
|
|
5737
|
+
columnSettingsButton: string;
|
|
5738
|
+
columnSettingsSubtitle: string;
|
|
5739
|
+
columnSettingsSelectAll: string;
|
|
5740
|
+
columnSettingsReset: string;
|
|
5741
|
+
columnSettingsCancel: string;
|
|
5742
|
+
columnSettingsApply: string;
|
|
5743
|
+
}, {
|
|
5744
|
+
checkTableAll: string;
|
|
5745
|
+
uncheckTableAll: string;
|
|
5746
|
+
confirm: string;
|
|
5747
|
+
clear: string;
|
|
5748
|
+
columnSettingsTitle: string;
|
|
5749
|
+
columnSettingsButton: string;
|
|
5750
|
+
columnSettingsSubtitle: string;
|
|
5751
|
+
columnSettingsSelectAll: string;
|
|
5752
|
+
columnSettingsReset: string;
|
|
5753
|
+
columnSettingsCancel: string;
|
|
5754
|
+
columnSettingsApply: string;
|
|
5755
|
+
}>;
|
|
5712
5756
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "edit"[], "edit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5713
5757
|
readonly onUnstableColumnResize: import("vue").PropType<(resizedWidth: number, limitedWidth: number, column: TableBaseColumn, getColumnWidth: (key: ColumnKey) => number | undefined) => void>;
|
|
5714
5758
|
readonly pagination: {
|
|
@@ -5804,7 +5848,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5804
5848
|
readonly default: "current";
|
|
5805
5849
|
};
|
|
5806
5850
|
readonly scrollbarProps: import("vue").PropType<import("../..").ScrollbarProps>;
|
|
5807
|
-
readonly localStorageKey:
|
|
5851
|
+
readonly localStorageKey: {
|
|
5852
|
+
readonly type: StringConstructor;
|
|
5853
|
+
readonly default: undefined;
|
|
5854
|
+
};
|
|
5855
|
+
readonly columnSettings: {
|
|
5856
|
+
readonly type: BooleanConstructor;
|
|
5857
|
+
readonly default: false;
|
|
5858
|
+
};
|
|
5859
|
+
readonly columnSettingsTriggerProps: {
|
|
5860
|
+
readonly type: import("vue").PropType<Partial<import("../..").ButtonProps>>;
|
|
5861
|
+
readonly default: undefined;
|
|
5862
|
+
};
|
|
5808
5863
|
readonly renderCell: import("vue").PropType<(value: any, rowData: object, column: TableBaseColumn) => import("vue").VNodeChild>;
|
|
5809
5864
|
readonly defaultEmptyValue: import("vue").PropType<string | (() => import("vue").VNodeChild) | undefined>;
|
|
5810
5865
|
readonly renderExpandIcon: import("vue").PropType<import("./interface").RenderExpandIcon>;
|
|
@@ -9478,5 +9533,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9478
9533
|
readonly flexHeight: boolean;
|
|
9479
9534
|
readonly summaryPlacement: "top" | "bottom";
|
|
9480
9535
|
readonly paginationBehaviorOnFilter: "first" | "current";
|
|
9536
|
+
readonly localStorageKey: string;
|
|
9537
|
+
readonly columnSettings: boolean;
|
|
9538
|
+
readonly columnSettingsTriggerProps: Partial<import("../..").ButtonProps>;
|
|
9481
9539
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9482
9540
|
export default _default;
|