naive-ui 2.30.3 → 2.30.4
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 +1385 -901
- package/dist/index.prod.js +2 -2
- package/es/_internal/scrollbar/src/Scrollbar.js +5 -17
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -0
- package/es/_internal/select-menu/src/SelectGroupHeader.js +5 -3
- package/es/_internal/select-menu/src/SelectMenu.d.ts +3 -3
- package/es/_internal/select-menu/src/SelectMenu.js +6 -8
- package/es/_internal/select-menu/src/SelectOption.d.ts +1 -0
- package/es/_internal/select-menu/src/SelectOption.js +11 -5
- package/es/_internal/select-menu/src/interface.d.ts +3 -1
- package/es/_internal/selection/src/Selection.d.ts +0 -2
- package/es/_internal/selection/src/Selection.js +2 -2
- package/es/_mixins/use-theme.js +1 -1
- package/es/_utils/composable/index.d.ts +3 -5
- package/es/_utils/composable/index.js +3 -111
- package/es/_utils/composable/use-collection.d.ts +4 -0
- package/es/_utils/composable/use-collection.js +87 -0
- package/es/_utils/composable/use-deferred-true.d.ts +2 -0
- package/es/_utils/composable/use-deferred-true.js +25 -0
- package/es/_utils/composable/use-reactivated.d.ts +3 -0
- package/es/_utils/composable/use-reactivated.js +20 -0
- package/es/_utils/event/index.d.ts +2 -0
- package/es/_utils/event/index.js +7 -0
- package/es/_utils/index.d.ts +2 -1
- package/es/_utils/index.js +2 -1
- package/es/_utils/vue/index.d.ts +1 -0
- package/es/_utils/vue/index.js +1 -0
- package/es/_utils/vue/merge-handlers.d.ts +1 -0
- package/es/_utils/vue/merge-handlers.js +15 -0
- package/es/button/src/Button.js +7 -2
- package/es/cascader/src/Cascader.d.ts +2 -3
- package/es/cascader/src/Cascader.js +26 -22
- package/es/cascader/src/CascaderMenu.d.ts +2 -2
- package/es/cascader/src/CascaderMenu.js +2 -4
- package/es/data-table/src/DataTable.d.ts +787 -0
- package/es/data-table/src/DataTable.js +7 -3
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +142 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +142 -0
- package/es/data-table/src/MainTable.d.ts +2 -0
- package/es/data-table/src/MainTable.js +5 -1
- package/es/data-table/src/TableParts/Body.d.ts +143 -0
- package/es/data-table/src/TableParts/Body.js +11 -2
- package/es/data-table/src/TableParts/Cell.d.ts +284 -0
- package/es/data-table/src/TableParts/Header.d.ts +143 -0
- package/es/data-table/src/TableParts/Header.js +6 -2
- package/es/data-table/src/interface.d.ts +9 -5
- package/es/data-table/src/use-expand.d.ts +5 -3
- package/es/data-table/src/use-expand.js +22 -2
- package/es/data-table/src/utils.d.ts +2 -2
- package/es/data-table/src/utils.js +10 -8
- package/es/data-table/styles/light.d.ts +71 -0
- package/es/date-picker/src/DatePicker.d.ts +2 -1
- package/es/date-picker/src/DatePicker.js +20 -9
- package/es/date-picker/src/panel/month.js +3 -2
- package/es/drawer/src/Drawer.d.ts +1 -1
- package/es/drawer/src/Drawer.js +3 -3
- package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/es/dropdown/src/Dropdown.d.ts +4 -0
- package/es/dynamic-tags/src/DynamicTags.js +1 -1
- package/es/input/src/Input.d.ts +6 -3
- package/es/input/src/Input.js +56 -31
- package/es/input/src/utils.d.ts +7 -1
- package/es/input/src/utils.js +57 -2
- package/es/layout/src/Layout.d.ts +3 -1
- package/es/layout/src/Layout.js +22 -4
- package/es/layout/src/LayoutContent.d.ts +1 -0
- package/es/layout/src/LayoutSider.d.ts +1 -0
- package/es/layout/src/LayoutSider.js +22 -3
- package/es/menu/src/Menu.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +2 -2
- package/es/modal/src/Modal.js +2 -2
- package/es/pagination/src/Pagination.d.ts +806 -20
- package/es/pagination/src/Pagination.js +115 -52
- package/es/pagination/src/interface.d.ts +2 -2
- package/es/pagination/src/styles/index.cssr.js +12 -10
- package/es/pagination/src/utils.d.ts +15 -5
- package/es/pagination/src/utils.js +117 -50
- package/es/pagination/styles/dark.js +3 -1
- package/es/pagination/styles/light.d.ts +71 -0
- package/es/pagination/styles/light.js +3 -1
- package/es/popconfirm/src/Popconfirm.d.ts +4 -0
- package/es/popover/src/Popover.d.ts +5 -0
- package/es/popover/src/Popover.js +1 -0
- package/es/popover/src/PopoverBody.d.ts +4 -0
- package/es/popover/src/PopoverBody.js +18 -10
- package/es/popselect/src/Popselect.d.ts +24 -0
- package/es/popselect/src/Popselect.js +12 -7
- package/es/popselect/src/PopselectPanel.d.ts +22 -2
- package/es/popselect/src/PopselectPanel.js +12 -1
- package/es/select/src/Select.d.ts +1 -1
- package/es/select/src/Select.js +5 -2
- package/es/slider/src/Slider.d.ts +1 -1
- package/es/slider/src/Slider.js +13 -5
- package/es/slider/src/styles/index.cssr.js +26 -31
- package/es/time-picker/src/TimePicker.d.ts +2 -1
- package/es/time-picker/src/TimePicker.js +18 -8
- package/es/tooltip/src/Tooltip.d.ts +4 -0
- package/es/tree/src/Tree.d.ts +2 -3
- package/es/tree/src/Tree.js +6 -8
- package/es/tree/src/TreeNode.js +4 -1
- package/es/tree/src/interface.d.ts +0 -1
- package/es/tree/src/keyboard.d.ts +0 -1
- package/es/tree/src/keyboard.js +6 -9
- package/es/tree-select/src/TreeSelect.d.ts +1 -3
- package/es/tree-select/src/TreeSelect.js +14 -16
- package/es/upload/src/UploadDragger.js +2 -2
- package/es/upload/src/UploadFile.d.ts +2 -2
- package/es/upload/src/UploadFile.js +9 -4
- package/es/upload/src/UploadTrigger.js +4 -3
- package/es/upload/src/styles/index.cssr.js +2 -2
- package/es/upload/src/utils.js +1 -15
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.js +4 -16
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -0
- package/lib/_internal/select-menu/src/SelectGroupHeader.js +5 -3
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -3
- package/lib/_internal/select-menu/src/SelectMenu.js +5 -7
- package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -0
- package/lib/_internal/select-menu/src/SelectOption.js +10 -4
- package/lib/_internal/select-menu/src/interface.d.ts +3 -1
- package/lib/_internal/selection/src/Selection.d.ts +0 -2
- package/lib/_internal/selection/src/Selection.js +2 -2
- package/lib/_mixins/use-theme.js +1 -1
- package/lib/_utils/composable/index.d.ts +3 -5
- package/lib/_utils/composable/index.js +9 -116
- package/lib/_utils/composable/use-collection.d.ts +4 -0
- package/lib/_utils/composable/use-collection.js +93 -0
- package/lib/_utils/composable/use-deferred-true.d.ts +2 -0
- package/lib/_utils/composable/use-deferred-true.js +29 -0
- package/lib/_utils/composable/use-reactivated.d.ts +3 -0
- package/lib/_utils/composable/use-reactivated.js +24 -0
- package/lib/_utils/event/index.d.ts +2 -0
- package/lib/_utils/event/index.js +12 -0
- package/lib/_utils/index.d.ts +2 -1
- package/lib/_utils/index.js +5 -1
- package/lib/_utils/vue/index.d.ts +1 -0
- package/lib/_utils/vue/index.js +3 -1
- package/lib/_utils/vue/merge-handlers.d.ts +1 -0
- package/lib/_utils/vue/merge-handlers.js +19 -0
- package/lib/button/src/Button.js +7 -2
- package/lib/cascader/src/Cascader.d.ts +2 -3
- package/lib/cascader/src/Cascader.js +25 -21
- package/lib/cascader/src/CascaderMenu.d.ts +2 -2
- package/lib/cascader/src/CascaderMenu.js +2 -4
- package/lib/data-table/src/DataTable.d.ts +787 -0
- package/lib/data-table/src/DataTable.js +7 -3
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +142 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +142 -0
- package/lib/data-table/src/MainTable.d.ts +2 -0
- package/lib/data-table/src/MainTable.js +5 -1
- package/lib/data-table/src/TableParts/Body.d.ts +143 -0
- package/lib/data-table/src/TableParts/Body.js +11 -2
- package/lib/data-table/src/TableParts/Cell.d.ts +284 -0
- package/lib/data-table/src/TableParts/Header.d.ts +143 -0
- package/lib/data-table/src/TableParts/Header.js +6 -2
- package/lib/data-table/src/interface.d.ts +9 -5
- package/lib/data-table/src/use-expand.d.ts +5 -3
- package/lib/data-table/src/use-expand.js +22 -2
- package/lib/data-table/src/utils.d.ts +2 -2
- package/lib/data-table/src/utils.js +11 -9
- package/lib/data-table/styles/light.d.ts +71 -0
- package/lib/date-picker/src/DatePicker.d.ts +2 -1
- package/lib/date-picker/src/DatePicker.js +19 -8
- package/lib/date-picker/src/panel/month.js +3 -2
- package/lib/drawer/src/Drawer.d.ts +1 -1
- package/lib/drawer/src/Drawer.js +2 -2
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/lib/dropdown/src/Dropdown.d.ts +4 -0
- package/lib/dynamic-tags/src/DynamicTags.js +1 -1
- package/lib/input/src/Input.d.ts +6 -3
- package/lib/input/src/Input.js +55 -30
- package/lib/input/src/utils.d.ts +7 -1
- package/lib/input/src/utils.js +60 -4
- package/lib/layout/src/Layout.d.ts +3 -1
- package/lib/layout/src/Layout.js +22 -4
- package/lib/layout/src/LayoutContent.d.ts +1 -0
- package/lib/layout/src/LayoutSider.d.ts +1 -0
- package/lib/layout/src/LayoutSider.js +21 -2
- package/lib/menu/src/Menu.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +2 -2
- package/lib/modal/src/Modal.js +1 -1
- package/lib/pagination/src/Pagination.d.ts +806 -20
- package/lib/pagination/src/Pagination.js +114 -51
- package/lib/pagination/src/interface.d.ts +2 -2
- package/lib/pagination/src/styles/index.cssr.js +13 -11
- package/lib/pagination/src/utils.d.ts +15 -5
- package/lib/pagination/src/utils.js +118 -53
- package/lib/pagination/styles/dark.js +6 -4
- package/lib/pagination/styles/light.d.ts +71 -0
- package/lib/pagination/styles/light.js +6 -4
- package/lib/popconfirm/src/Popconfirm.d.ts +4 -0
- package/lib/popover/src/Popover.d.ts +5 -0
- package/lib/popover/src/Popover.js +1 -0
- package/lib/popover/src/PopoverBody.d.ts +4 -0
- package/lib/popover/src/PopoverBody.js +18 -10
- package/lib/popselect/src/Popselect.d.ts +24 -0
- package/lib/popselect/src/Popselect.js +10 -5
- package/lib/popselect/src/PopselectPanel.d.ts +22 -2
- package/lib/popselect/src/PopselectPanel.js +12 -1
- package/lib/select/src/Select.d.ts +1 -1
- package/lib/select/src/Select.js +4 -1
- package/lib/slider/src/Slider.d.ts +1 -1
- package/lib/slider/src/Slider.js +12 -4
- package/lib/slider/src/styles/index.cssr.js +26 -31
- package/lib/time-picker/src/TimePicker.d.ts +2 -1
- package/lib/time-picker/src/TimePicker.js +17 -7
- package/lib/tooltip/src/Tooltip.d.ts +4 -0
- package/lib/tree/src/Tree.d.ts +2 -3
- package/lib/tree/src/Tree.js +6 -8
- package/lib/tree/src/TreeNode.js +4 -1
- package/lib/tree/src/interface.d.ts +0 -1
- package/lib/tree/src/keyboard.d.ts +0 -1
- package/lib/tree/src/keyboard.js +6 -9
- package/lib/tree-select/src/TreeSelect.d.ts +1 -3
- package/lib/tree-select/src/TreeSelect.js +13 -15
- package/lib/upload/src/UploadDragger.js +2 -2
- package/lib/upload/src/UploadFile.d.ts +2 -2
- package/lib/upload/src/UploadFile.js +9 -4
- package/lib/upload/src/UploadTrigger.js +3 -2
- package/lib/upload/src/styles/index.cssr.js +2 -2
- package/lib/upload/src/utils.js +1 -15
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/web-types.json +37 -1
|
@@ -51,7 +51,7 @@ exports.dataTableProps = Object.assign(Object.assign({}, _mixins_1.useTheme.prop
|
|
|
51
51
|
}, remote: Boolean, defaultExpandedRowKeys: {
|
|
52
52
|
type: Array,
|
|
53
53
|
default: []
|
|
54
|
-
}, expandedRowKeys: Array, virtualScroll: Boolean, tableLayout: {
|
|
54
|
+
}, defaultExpandAll: Boolean, expandedRowKeys: Array, virtualScroll: Boolean, tableLayout: {
|
|
55
55
|
type: String,
|
|
56
56
|
default: 'auto'
|
|
57
57
|
}, allowCheckingNotLoaded: Boolean, cascade: {
|
|
@@ -118,7 +118,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
118
118
|
treeMateRef,
|
|
119
119
|
paginatedDataRef
|
|
120
120
|
});
|
|
121
|
-
const { mergedExpandedRowKeysRef, renderExpandRef, doUpdateExpandedRowKeys } = (0, use_expand_1.useExpand)(props);
|
|
121
|
+
const { mergedExpandedRowKeysRef, renderExpandRef, doUpdateExpandedRowKeys } = (0, use_expand_1.useExpand)(props, treeMateRef);
|
|
122
122
|
const { handleTableBodyScroll, handleTableHeaderScroll, syncScrollState, setHeaderScrollLeft, leftActiveFixedColKeyRef, leftActiveFixedChildrenColKeysRef, rightActiveFixedColKeyRef, rightActiveFixedChildrenColKeysRef, leftFixedColumnsRef, rightFixedColumnsRef, fixedColumnLeftMapRef, fixedColumnRightMapRef } = (0, use_scroll_1.useScroll)(props, {
|
|
123
123
|
scrollPartRef,
|
|
124
124
|
bodyWidthRef,
|
|
@@ -219,7 +219,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
219
219
|
clearSorter,
|
|
220
220
|
page,
|
|
221
221
|
sort,
|
|
222
|
-
clearFilter
|
|
222
|
+
clearFilter,
|
|
223
|
+
scrollTo: (arg0, arg1) => {
|
|
224
|
+
var _a;
|
|
225
|
+
(_a = mainTableInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(arg0, arg1);
|
|
226
|
+
}
|
|
223
227
|
};
|
|
224
228
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
225
229
|
const { size } = props;
|
|
@@ -694,6 +694,77 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
694
694
|
paddingLarge: string;
|
|
695
695
|
clearSize: string;
|
|
696
696
|
}, any>;
|
|
697
|
+
Popselect: import("../../../_mixins").Theme<"Popselect", {
|
|
698
|
+
menuBoxShadow: string;
|
|
699
|
+
}, {
|
|
700
|
+
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
701
|
+
fontSize: string;
|
|
702
|
+
borderRadius: string;
|
|
703
|
+
color: string;
|
|
704
|
+
dividerColor: string;
|
|
705
|
+
textColor: string;
|
|
706
|
+
boxShadow: string;
|
|
707
|
+
space: string;
|
|
708
|
+
spaceArrow: string;
|
|
709
|
+
arrowOffset: string;
|
|
710
|
+
arrowOffsetVertical: string;
|
|
711
|
+
arrowHeight: string;
|
|
712
|
+
padding: string;
|
|
713
|
+
}, any>;
|
|
714
|
+
InternalSelectMenu: import("../../../_mixins").Theme<"InternalSelectMenu", {
|
|
715
|
+
optionFontSizeSmall: string;
|
|
716
|
+
optionFontSizeMedium: string;
|
|
717
|
+
optionFontSizeLarge: string;
|
|
718
|
+
optionFontSizeHuge: string;
|
|
719
|
+
optionHeightSmall: string;
|
|
720
|
+
optionHeightMedium: string;
|
|
721
|
+
optionHeightLarge: string;
|
|
722
|
+
optionHeightHuge: string;
|
|
723
|
+
borderRadius: string;
|
|
724
|
+
color: string;
|
|
725
|
+
groupHeaderTextColor: string;
|
|
726
|
+
actionDividerColor: string;
|
|
727
|
+
optionTextColor: string;
|
|
728
|
+
optionTextColorPressed: string;
|
|
729
|
+
optionTextColorDisabled: string;
|
|
730
|
+
optionTextColorActive: string;
|
|
731
|
+
optionOpacityDisabled: string;
|
|
732
|
+
optionCheckColor: string;
|
|
733
|
+
optionColorPending: string;
|
|
734
|
+
optionColorActive: string;
|
|
735
|
+
optionColorActivePending: string;
|
|
736
|
+
actionTextColor: string;
|
|
737
|
+
loadingColor: string;
|
|
738
|
+
height: string;
|
|
739
|
+
paddingSmall: string;
|
|
740
|
+
paddingMedium: string;
|
|
741
|
+
paddingLarge: string;
|
|
742
|
+
paddingHuge: string;
|
|
743
|
+
optionPaddingSmall: string;
|
|
744
|
+
optionPaddingMedium: string;
|
|
745
|
+
optionPaddingLarge: string;
|
|
746
|
+
optionPaddingHuge: string;
|
|
747
|
+
loadingSize: string;
|
|
748
|
+
}, {
|
|
749
|
+
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
750
|
+
color: string;
|
|
751
|
+
colorHover: string;
|
|
752
|
+
}, any>;
|
|
753
|
+
Empty: import("../../../_mixins").Theme<"Empty", {
|
|
754
|
+
fontSizeSmall: string;
|
|
755
|
+
fontSizeMedium: string;
|
|
756
|
+
fontSizeLarge: string;
|
|
757
|
+
fontSizeHuge: string;
|
|
758
|
+
textColor: string;
|
|
759
|
+
iconColor: string;
|
|
760
|
+
extraTextColor: string;
|
|
761
|
+
iconSizeSmall: string;
|
|
762
|
+
iconSizeMedium: string;
|
|
763
|
+
iconSizeLarge: string;
|
|
764
|
+
iconSizeHuge: string;
|
|
765
|
+
}, any>;
|
|
766
|
+
}>;
|
|
767
|
+
}>;
|
|
697
768
|
}>;
|
|
698
769
|
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
699
770
|
color: string;
|
|
@@ -955,6 +1026,77 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
955
1026
|
paddingLarge: string;
|
|
956
1027
|
clearSize: string;
|
|
957
1028
|
}, any>> | undefined;
|
|
1029
|
+
Popselect?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Popselect", {
|
|
1030
|
+
menuBoxShadow: string;
|
|
1031
|
+
}, {
|
|
1032
|
+
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
1033
|
+
fontSize: string;
|
|
1034
|
+
borderRadius: string;
|
|
1035
|
+
color: string;
|
|
1036
|
+
dividerColor: string;
|
|
1037
|
+
textColor: string;
|
|
1038
|
+
boxShadow: string;
|
|
1039
|
+
space: string;
|
|
1040
|
+
spaceArrow: string;
|
|
1041
|
+
arrowOffset: string;
|
|
1042
|
+
arrowOffsetVertical: string;
|
|
1043
|
+
arrowHeight: string;
|
|
1044
|
+
padding: string;
|
|
1045
|
+
}, any>;
|
|
1046
|
+
InternalSelectMenu: import("../../../_mixins").Theme<"InternalSelectMenu", {
|
|
1047
|
+
optionFontSizeSmall: string;
|
|
1048
|
+
optionFontSizeMedium: string;
|
|
1049
|
+
optionFontSizeLarge: string;
|
|
1050
|
+
optionFontSizeHuge: string;
|
|
1051
|
+
optionHeightSmall: string;
|
|
1052
|
+
optionHeightMedium: string;
|
|
1053
|
+
optionHeightLarge: string;
|
|
1054
|
+
optionHeightHuge: string;
|
|
1055
|
+
borderRadius: string;
|
|
1056
|
+
color: string;
|
|
1057
|
+
groupHeaderTextColor: string;
|
|
1058
|
+
actionDividerColor: string;
|
|
1059
|
+
optionTextColor: string;
|
|
1060
|
+
optionTextColorPressed: string;
|
|
1061
|
+
optionTextColorDisabled: string;
|
|
1062
|
+
optionTextColorActive: string;
|
|
1063
|
+
optionOpacityDisabled: string;
|
|
1064
|
+
optionCheckColor: string;
|
|
1065
|
+
optionColorPending: string;
|
|
1066
|
+
optionColorActive: string;
|
|
1067
|
+
optionColorActivePending: string;
|
|
1068
|
+
actionTextColor: string;
|
|
1069
|
+
loadingColor: string;
|
|
1070
|
+
height: string;
|
|
1071
|
+
paddingSmall: string;
|
|
1072
|
+
paddingMedium: string;
|
|
1073
|
+
paddingLarge: string;
|
|
1074
|
+
paddingHuge: string;
|
|
1075
|
+
optionPaddingSmall: string;
|
|
1076
|
+
optionPaddingMedium: string;
|
|
1077
|
+
optionPaddingLarge: string;
|
|
1078
|
+
optionPaddingHuge: string;
|
|
1079
|
+
loadingSize: string;
|
|
1080
|
+
}, {
|
|
1081
|
+
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
1082
|
+
color: string;
|
|
1083
|
+
colorHover: string;
|
|
1084
|
+
}, any>;
|
|
1085
|
+
Empty: import("../../../_mixins").Theme<"Empty", {
|
|
1086
|
+
fontSizeSmall: string;
|
|
1087
|
+
fontSizeMedium: string;
|
|
1088
|
+
fontSizeLarge: string;
|
|
1089
|
+
fontSizeHuge: string;
|
|
1090
|
+
textColor: string;
|
|
1091
|
+
iconColor: string;
|
|
1092
|
+
extraTextColor: string;
|
|
1093
|
+
iconSizeSmall: string;
|
|
1094
|
+
iconSizeMedium: string;
|
|
1095
|
+
iconSizeLarge: string;
|
|
1096
|
+
iconSizeHuge: string;
|
|
1097
|
+
}, any>;
|
|
1098
|
+
}>;
|
|
1099
|
+
}>> | undefined;
|
|
958
1100
|
} | undefined;
|
|
959
1101
|
} | undefined;
|
|
960
1102
|
Scrollbar?: {
|
|
@@ -719,6 +719,77 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
719
719
|
paddingLarge: string;
|
|
720
720
|
clearSize: string;
|
|
721
721
|
}, any>;
|
|
722
|
+
Popselect: import("../../../_mixins").Theme<"Popselect", {
|
|
723
|
+
menuBoxShadow: string;
|
|
724
|
+
}, {
|
|
725
|
+
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
726
|
+
fontSize: string;
|
|
727
|
+
borderRadius: string;
|
|
728
|
+
color: string;
|
|
729
|
+
dividerColor: string;
|
|
730
|
+
textColor: string;
|
|
731
|
+
boxShadow: string;
|
|
732
|
+
space: string;
|
|
733
|
+
spaceArrow: string;
|
|
734
|
+
arrowOffset: string;
|
|
735
|
+
arrowOffsetVertical: string;
|
|
736
|
+
arrowHeight: string;
|
|
737
|
+
padding: string;
|
|
738
|
+
}, any>;
|
|
739
|
+
InternalSelectMenu: import("../../../_mixins").Theme<"InternalSelectMenu", {
|
|
740
|
+
optionFontSizeSmall: string;
|
|
741
|
+
optionFontSizeMedium: string;
|
|
742
|
+
optionFontSizeLarge: string;
|
|
743
|
+
optionFontSizeHuge: string;
|
|
744
|
+
optionHeightSmall: string;
|
|
745
|
+
optionHeightMedium: string;
|
|
746
|
+
optionHeightLarge: string;
|
|
747
|
+
optionHeightHuge: string;
|
|
748
|
+
borderRadius: string;
|
|
749
|
+
color: string;
|
|
750
|
+
groupHeaderTextColor: string;
|
|
751
|
+
actionDividerColor: string;
|
|
752
|
+
optionTextColor: string;
|
|
753
|
+
optionTextColorPressed: string;
|
|
754
|
+
optionTextColorDisabled: string;
|
|
755
|
+
optionTextColorActive: string;
|
|
756
|
+
optionOpacityDisabled: string;
|
|
757
|
+
optionCheckColor: string;
|
|
758
|
+
optionColorPending: string;
|
|
759
|
+
optionColorActive: string;
|
|
760
|
+
optionColorActivePending: string;
|
|
761
|
+
actionTextColor: string;
|
|
762
|
+
loadingColor: string;
|
|
763
|
+
height: string;
|
|
764
|
+
paddingSmall: string;
|
|
765
|
+
paddingMedium: string;
|
|
766
|
+
paddingLarge: string;
|
|
767
|
+
paddingHuge: string;
|
|
768
|
+
optionPaddingSmall: string;
|
|
769
|
+
optionPaddingMedium: string;
|
|
770
|
+
optionPaddingLarge: string;
|
|
771
|
+
optionPaddingHuge: string;
|
|
772
|
+
loadingSize: string;
|
|
773
|
+
}, {
|
|
774
|
+
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
775
|
+
color: string;
|
|
776
|
+
colorHover: string;
|
|
777
|
+
}, any>;
|
|
778
|
+
Empty: import("../../../_mixins").Theme<"Empty", {
|
|
779
|
+
fontSizeSmall: string;
|
|
780
|
+
fontSizeMedium: string;
|
|
781
|
+
fontSizeLarge: string;
|
|
782
|
+
fontSizeHuge: string;
|
|
783
|
+
textColor: string;
|
|
784
|
+
iconColor: string;
|
|
785
|
+
extraTextColor: string;
|
|
786
|
+
iconSizeSmall: string;
|
|
787
|
+
iconSizeMedium: string;
|
|
788
|
+
iconSizeLarge: string;
|
|
789
|
+
iconSizeHuge: string;
|
|
790
|
+
}, any>;
|
|
791
|
+
}>;
|
|
792
|
+
}>;
|
|
722
793
|
}>;
|
|
723
794
|
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
724
795
|
color: string;
|
|
@@ -980,6 +1051,77 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
980
1051
|
paddingLarge: string;
|
|
981
1052
|
clearSize: string;
|
|
982
1053
|
}, any>> | undefined;
|
|
1054
|
+
Popselect?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Popselect", {
|
|
1055
|
+
menuBoxShadow: string;
|
|
1056
|
+
}, {
|
|
1057
|
+
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
1058
|
+
fontSize: string;
|
|
1059
|
+
borderRadius: string;
|
|
1060
|
+
color: string;
|
|
1061
|
+
dividerColor: string;
|
|
1062
|
+
textColor: string;
|
|
1063
|
+
boxShadow: string;
|
|
1064
|
+
space: string;
|
|
1065
|
+
spaceArrow: string;
|
|
1066
|
+
arrowOffset: string;
|
|
1067
|
+
arrowOffsetVertical: string;
|
|
1068
|
+
arrowHeight: string;
|
|
1069
|
+
padding: string;
|
|
1070
|
+
}, any>;
|
|
1071
|
+
InternalSelectMenu: import("../../../_mixins").Theme<"InternalSelectMenu", {
|
|
1072
|
+
optionFontSizeSmall: string;
|
|
1073
|
+
optionFontSizeMedium: string;
|
|
1074
|
+
optionFontSizeLarge: string;
|
|
1075
|
+
optionFontSizeHuge: string;
|
|
1076
|
+
optionHeightSmall: string;
|
|
1077
|
+
optionHeightMedium: string;
|
|
1078
|
+
optionHeightLarge: string;
|
|
1079
|
+
optionHeightHuge: string;
|
|
1080
|
+
borderRadius: string;
|
|
1081
|
+
color: string;
|
|
1082
|
+
groupHeaderTextColor: string;
|
|
1083
|
+
actionDividerColor: string;
|
|
1084
|
+
optionTextColor: string;
|
|
1085
|
+
optionTextColorPressed: string;
|
|
1086
|
+
optionTextColorDisabled: string;
|
|
1087
|
+
optionTextColorActive: string;
|
|
1088
|
+
optionOpacityDisabled: string;
|
|
1089
|
+
optionCheckColor: string;
|
|
1090
|
+
optionColorPending: string;
|
|
1091
|
+
optionColorActive: string;
|
|
1092
|
+
optionColorActivePending: string;
|
|
1093
|
+
actionTextColor: string;
|
|
1094
|
+
loadingColor: string;
|
|
1095
|
+
height: string;
|
|
1096
|
+
paddingSmall: string;
|
|
1097
|
+
paddingMedium: string;
|
|
1098
|
+
paddingLarge: string;
|
|
1099
|
+
paddingHuge: string;
|
|
1100
|
+
optionPaddingSmall: string;
|
|
1101
|
+
optionPaddingMedium: string;
|
|
1102
|
+
optionPaddingLarge: string;
|
|
1103
|
+
optionPaddingHuge: string;
|
|
1104
|
+
loadingSize: string;
|
|
1105
|
+
}, {
|
|
1106
|
+
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
1107
|
+
color: string;
|
|
1108
|
+
colorHover: string;
|
|
1109
|
+
}, any>;
|
|
1110
|
+
Empty: import("../../../_mixins").Theme<"Empty", {
|
|
1111
|
+
fontSizeSmall: string;
|
|
1112
|
+
fontSizeMedium: string;
|
|
1113
|
+
fontSizeLarge: string;
|
|
1114
|
+
fontSizeHuge: string;
|
|
1115
|
+
textColor: string;
|
|
1116
|
+
iconColor: string;
|
|
1117
|
+
extraTextColor: string;
|
|
1118
|
+
iconSizeSmall: string;
|
|
1119
|
+
iconSizeMedium: string;
|
|
1120
|
+
iconSizeLarge: string;
|
|
1121
|
+
iconSizeHuge: string;
|
|
1122
|
+
}, any>;
|
|
1123
|
+
}>;
|
|
1124
|
+
}>> | undefined;
|
|
983
1125
|
} | undefined;
|
|
984
1126
|
} | undefined;
|
|
985
1127
|
Scrollbar?: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
getHeaderElement: () => HTMLElement | null;
|
|
3
3
|
getBodyElement: () => HTMLElement | null;
|
|
4
|
+
scrollTo: import("../../scrollbar/src/Scrollbar").ScrollTo;
|
|
4
5
|
maxHeight: import("vue").Ref<string | number | undefined>;
|
|
5
6
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
6
7
|
selfElRef: import("vue").Ref<HTMLElement | null>;
|
|
@@ -9,6 +10,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
9
10
|
} | null>;
|
|
10
11
|
bodyInstRef: import("vue").Ref<{
|
|
11
12
|
getScrollContainer: () => HTMLElement | null;
|
|
13
|
+
scrollTo: import("../../scrollbar/src/Scrollbar").ScrollTo;
|
|
12
14
|
} | null>;
|
|
13
15
|
bodyStyle: import("vue").ComputedRef<{
|
|
14
16
|
maxHeight: string | undefined;
|
|
@@ -47,7 +47,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
47
47
|
}
|
|
48
48
|
const exposedMethods = {
|
|
49
49
|
getBodyElement,
|
|
50
|
-
getHeaderElement
|
|
50
|
+
getHeaderElement,
|
|
51
|
+
scrollTo(arg0, arg1) {
|
|
52
|
+
var _a;
|
|
53
|
+
(_a = bodyInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(arg0, arg1);
|
|
54
|
+
}
|
|
51
55
|
};
|
|
52
56
|
(0, vue_1.watchEffect)(() => {
|
|
53
57
|
const { value: selfEl } = selfElRef;
|
|
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
bodyStyle: PropType<CSSProperties>;
|
|
9
9
|
}, {
|
|
10
10
|
getScrollContainer: () => HTMLElement | null;
|
|
11
|
+
scrollTo: import("../../../scrollbar/src/Scrollbar").ScrollTo;
|
|
11
12
|
dataTableSlots: Readonly<{
|
|
12
13
|
[name: string]: import("vue").Slot | undefined;
|
|
13
14
|
}>;
|
|
@@ -716,6 +717,77 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
716
717
|
paddingLarge: string;
|
|
717
718
|
clearSize: string;
|
|
718
719
|
}, any>;
|
|
720
|
+
Popselect: import("../../../_mixins").Theme<"Popselect", {
|
|
721
|
+
menuBoxShadow: string;
|
|
722
|
+
}, {
|
|
723
|
+
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
724
|
+
fontSize: string;
|
|
725
|
+
borderRadius: string;
|
|
726
|
+
color: string;
|
|
727
|
+
dividerColor: string;
|
|
728
|
+
textColor: string;
|
|
729
|
+
boxShadow: string;
|
|
730
|
+
space: string;
|
|
731
|
+
spaceArrow: string;
|
|
732
|
+
arrowOffset: string;
|
|
733
|
+
arrowOffsetVertical: string;
|
|
734
|
+
arrowHeight: string;
|
|
735
|
+
padding: string;
|
|
736
|
+
}, any>;
|
|
737
|
+
InternalSelectMenu: import("../../../_mixins").Theme<"InternalSelectMenu", {
|
|
738
|
+
optionFontSizeSmall: string;
|
|
739
|
+
optionFontSizeMedium: string;
|
|
740
|
+
optionFontSizeLarge: string;
|
|
741
|
+
optionFontSizeHuge: string;
|
|
742
|
+
optionHeightSmall: string;
|
|
743
|
+
optionHeightMedium: string;
|
|
744
|
+
optionHeightLarge: string;
|
|
745
|
+
optionHeightHuge: string;
|
|
746
|
+
borderRadius: string;
|
|
747
|
+
color: string;
|
|
748
|
+
groupHeaderTextColor: string;
|
|
749
|
+
actionDividerColor: string;
|
|
750
|
+
optionTextColor: string;
|
|
751
|
+
optionTextColorPressed: string;
|
|
752
|
+
optionTextColorDisabled: string;
|
|
753
|
+
optionTextColorActive: string;
|
|
754
|
+
optionOpacityDisabled: string;
|
|
755
|
+
optionCheckColor: string;
|
|
756
|
+
optionColorPending: string;
|
|
757
|
+
optionColorActive: string;
|
|
758
|
+
optionColorActivePending: string;
|
|
759
|
+
actionTextColor: string;
|
|
760
|
+
loadingColor: string;
|
|
761
|
+
height: string;
|
|
762
|
+
paddingSmall: string;
|
|
763
|
+
paddingMedium: string;
|
|
764
|
+
paddingLarge: string;
|
|
765
|
+
paddingHuge: string;
|
|
766
|
+
optionPaddingSmall: string;
|
|
767
|
+
optionPaddingMedium: string;
|
|
768
|
+
optionPaddingLarge: string;
|
|
769
|
+
optionPaddingHuge: string;
|
|
770
|
+
loadingSize: string;
|
|
771
|
+
}, {
|
|
772
|
+
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
773
|
+
color: string;
|
|
774
|
+
colorHover: string;
|
|
775
|
+
}, any>;
|
|
776
|
+
Empty: import("../../../_mixins").Theme<"Empty", {
|
|
777
|
+
fontSizeSmall: string;
|
|
778
|
+
fontSizeMedium: string;
|
|
779
|
+
fontSizeLarge: string;
|
|
780
|
+
fontSizeHuge: string;
|
|
781
|
+
textColor: string;
|
|
782
|
+
iconColor: string;
|
|
783
|
+
extraTextColor: string;
|
|
784
|
+
iconSizeSmall: string;
|
|
785
|
+
iconSizeMedium: string;
|
|
786
|
+
iconSizeLarge: string;
|
|
787
|
+
iconSizeHuge: string;
|
|
788
|
+
}, any>;
|
|
789
|
+
}>;
|
|
790
|
+
}>;
|
|
719
791
|
}>;
|
|
720
792
|
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
721
793
|
color: string;
|
|
@@ -977,6 +1049,77 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
977
1049
|
paddingLarge: string;
|
|
978
1050
|
clearSize: string;
|
|
979
1051
|
}, any>> | undefined;
|
|
1052
|
+
Popselect?: import("../../../_mixins/use-theme").ExtractThemeOverrides<import("../../../_mixins").Theme<"Popselect", {
|
|
1053
|
+
menuBoxShadow: string;
|
|
1054
|
+
}, {
|
|
1055
|
+
Popover: import("../../../_mixins").Theme<"Popover", {
|
|
1056
|
+
fontSize: string;
|
|
1057
|
+
borderRadius: string;
|
|
1058
|
+
color: string;
|
|
1059
|
+
dividerColor: string;
|
|
1060
|
+
textColor: string;
|
|
1061
|
+
boxShadow: string;
|
|
1062
|
+
space: string;
|
|
1063
|
+
spaceArrow: string;
|
|
1064
|
+
arrowOffset: string;
|
|
1065
|
+
arrowOffsetVertical: string;
|
|
1066
|
+
arrowHeight: string;
|
|
1067
|
+
padding: string;
|
|
1068
|
+
}, any>;
|
|
1069
|
+
InternalSelectMenu: import("../../../_mixins").Theme<"InternalSelectMenu", {
|
|
1070
|
+
optionFontSizeSmall: string;
|
|
1071
|
+
optionFontSizeMedium: string;
|
|
1072
|
+
optionFontSizeLarge: string;
|
|
1073
|
+
optionFontSizeHuge: string;
|
|
1074
|
+
optionHeightSmall: string;
|
|
1075
|
+
optionHeightMedium: string;
|
|
1076
|
+
optionHeightLarge: string;
|
|
1077
|
+
optionHeightHuge: string;
|
|
1078
|
+
borderRadius: string;
|
|
1079
|
+
color: string;
|
|
1080
|
+
groupHeaderTextColor: string;
|
|
1081
|
+
actionDividerColor: string;
|
|
1082
|
+
optionTextColor: string;
|
|
1083
|
+
optionTextColorPressed: string;
|
|
1084
|
+
optionTextColorDisabled: string;
|
|
1085
|
+
optionTextColorActive: string;
|
|
1086
|
+
optionOpacityDisabled: string;
|
|
1087
|
+
optionCheckColor: string;
|
|
1088
|
+
optionColorPending: string;
|
|
1089
|
+
optionColorActive: string;
|
|
1090
|
+
optionColorActivePending: string;
|
|
1091
|
+
actionTextColor: string;
|
|
1092
|
+
loadingColor: string;
|
|
1093
|
+
height: string;
|
|
1094
|
+
paddingSmall: string;
|
|
1095
|
+
paddingMedium: string;
|
|
1096
|
+
paddingLarge: string;
|
|
1097
|
+
paddingHuge: string;
|
|
1098
|
+
optionPaddingSmall: string;
|
|
1099
|
+
optionPaddingMedium: string;
|
|
1100
|
+
optionPaddingLarge: string;
|
|
1101
|
+
optionPaddingHuge: string;
|
|
1102
|
+
loadingSize: string;
|
|
1103
|
+
}, {
|
|
1104
|
+
Scrollbar: import("../../../_mixins").Theme<"Scrollbar", {
|
|
1105
|
+
color: string;
|
|
1106
|
+
colorHover: string;
|
|
1107
|
+
}, any>;
|
|
1108
|
+
Empty: import("../../../_mixins").Theme<"Empty", {
|
|
1109
|
+
fontSizeSmall: string;
|
|
1110
|
+
fontSizeMedium: string;
|
|
1111
|
+
fontSizeLarge: string;
|
|
1112
|
+
fontSizeHuge: string;
|
|
1113
|
+
textColor: string;
|
|
1114
|
+
iconColor: string;
|
|
1115
|
+
extraTextColor: string;
|
|
1116
|
+
iconSizeSmall: string;
|
|
1117
|
+
iconSizeMedium: string;
|
|
1118
|
+
iconSizeLarge: string;
|
|
1119
|
+
iconSizeHuge: string;
|
|
1120
|
+
}, any>;
|
|
1121
|
+
}>;
|
|
1122
|
+
}>> | undefined;
|
|
980
1123
|
} | undefined;
|
|
981
1124
|
} | undefined;
|
|
982
1125
|
Scrollbar?: {
|
|
@@ -211,7 +211,16 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
211
211
|
(_a = scrollbarInstRef.value) === null || _a === void 0 ? void 0 : _a.sync();
|
|
212
212
|
}
|
|
213
213
|
const exposedMethods = {
|
|
214
|
-
getScrollContainer
|
|
214
|
+
getScrollContainer,
|
|
215
|
+
scrollTo(arg0, arg1) {
|
|
216
|
+
var _a, _b;
|
|
217
|
+
if (virtualScrollRef.value) {
|
|
218
|
+
(_a = virtualListRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(arg0, arg1);
|
|
219
|
+
}
|
|
220
|
+
else {
|
|
221
|
+
(_b = scrollbarInstRef.value) === null || _b === void 0 ? void 0 : _b.scrollTo(arg0, arg1);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
215
224
|
};
|
|
216
225
|
// manually control shadow style to avoid rerender
|
|
217
226
|
const style = (0, cssr_1.c)([
|
|
@@ -507,7 +516,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
507
516
|
]
|
|
508
517
|
: null,
|
|
509
518
|
column.type === 'selection' ? (!isSummary ? ((0, vue_1.h)(BodyCheckbox_1.default, { key: currentPage, rowKey: rowKey, disabled: rowInfo.tmNode.disabled, onUpdateChecked: (checked, e) => handleCheckboxUpdateChecked(rowInfo.tmNode, checked, e.shiftKey) })) : null) : column.type === 'expand' ? (!isSummary ? (!column.expandable ||
|
|
510
|
-
((_e = column.expandable) === null || _e === void 0 ? void 0 : _e.call(column, rowData
|
|
519
|
+
((_e = column.expandable) === null || _e === void 0 ? void 0 : _e.call(column, rowData)) ? ((0, vue_1.h)(ExpandTrigger_1.default, { clsPrefix: mergedClsPrefix, expanded: expanded, onClick: () => handleUpdateExpanded(rowKey, null) })) : null) : null) : ((0, vue_1.h)(Cell_1.default, { index: rowIndex, row: rowData, column: column, isSummary: isSummary, mergedTheme: mergedTheme }))));
|
|
511
520
|
})));
|
|
512
521
|
return row;
|
|
513
522
|
};
|