ele-admin-plus 1.1.9-beta.7 → 1.1.9-beta.9
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/es/ele-alert/index.js +2 -4
- package/es/ele-app/el.d.ts +6 -1
- package/es/ele-app/plus.d.ts +12 -0
- package/es/ele-avatar-group/index.d.ts +1 -1
- package/es/ele-avatar-group/index.js +1 -3
- package/es/ele-basic-select/index.d.ts +8 -8
- package/es/ele-basic-select/index.js +17 -13
- package/es/ele-check-card/index.d.ts +2 -2
- package/es/ele-check-card/index.js +0 -5
- package/es/ele-config-provider/components/receiver-view.d.ts +17 -0
- package/es/ele-config-provider/components/receiver-view.js +45 -0
- package/es/ele-config-provider/index.d.ts +2 -2
- package/es/ele-config-provider/props.d.ts +3 -3
- package/es/ele-config-provider/props.js +2 -2
- package/es/ele-config-provider/types.d.ts +2 -0
- package/es/ele-copyable/index.d.ts +4 -6
- package/es/ele-copyable/index.js +1 -5
- package/es/ele-cropper/index.d.ts +6 -6
- package/es/ele-cropper/index.js +1 -5
- package/es/ele-dashboard/index.d.ts +0 -1
- package/es/ele-dashboard/index.js +8 -17
- package/es/ele-data-table/index.d.ts +2 -2
- package/es/ele-data-table/index.js +8 -0
- package/es/ele-data-table/style/index.scss +4 -0
- package/es/ele-data-table/types.d.ts +10 -0
- package/es/ele-data-table/util.d.ts +5 -0
- package/es/ele-data-table/util.js +14 -0
- package/es/ele-dot/index.d.ts +2 -4
- package/es/ele-dot/index.js +4 -10
- package/es/ele-drawer/index.d.ts +6 -6
- package/es/ele-drawer/index.js +14 -11
- package/es/ele-dropdown/index.js +6 -10
- package/es/ele-dropdown/style/index.scss +2 -2
- package/es/ele-edit-tag/index.d.ts +6 -0
- package/es/ele-edit-tag/index.js +17 -15
- package/es/ele-edit-tag/props.d.ts +4 -0
- package/es/ele-edit-tag/props.js +5 -1
- package/es/ele-edit-tag/style/index.scss +13 -0
- package/es/ele-ellipsis/index.d.ts +3 -3
- package/es/ele-ellipsis/index.js +2 -4
- package/es/ele-file-list/components/file-grid-item.js +16 -9
- package/es/ele-file-list/components/file-grid.js +54 -50
- package/es/ele-file-list/components/file-table-item.js +20 -15
- package/es/ele-file-list/components/file-table.js +92 -86
- package/es/ele-file-list/index.d.ts +4 -4
- package/es/ele-file-list/index.js +1 -11
- package/es/ele-file-list-tool/index.d.ts +3 -3
- package/es/ele-file-list-tool/index.js +2 -2
- package/es/ele-icon-select/index.d.ts +22 -10
- package/es/ele-icon-select/index.js +33 -10
- package/es/ele-icon-select/props.d.ts +6 -1
- package/es/ele-icon-select/props.js +6 -1
- package/es/ele-icon-select/style/index.js +1 -0
- package/es/ele-icon-select/style/index.scss +16 -2
- package/es/ele-loading/index.d.ts +0 -2
- package/es/ele-loading/index.js +32 -30
- package/es/ele-map-picker/components/map-view.d.ts +2 -2
- package/es/ele-menus/index.d.ts +3 -3
- package/es/ele-menus/index.js +6 -7
- package/es/ele-menus/style/index.js +2 -0
- package/es/ele-menus/style/index.scss +2 -1
- package/es/ele-modal/index.d.ts +2 -2
- package/es/ele-modal/index.js +14 -8
- package/es/ele-modal/style/index.scss +18 -29
- package/es/ele-pagination/index.d.ts +10 -8
- package/es/ele-pagination/index.js +19 -13
- package/es/ele-pagination/props.d.ts +3 -2
- package/es/ele-pagination/props.js +2 -0
- package/es/ele-pagination/style/index.scss +9 -0
- package/es/ele-pagination/types.d.ts +6 -1
- package/es/ele-popconfirm/style/index.js +1 -1
- package/es/ele-popover/style/index.js +0 -1
- package/es/ele-printer/index.d.ts +6 -6
- package/es/ele-printer/index.js +11 -11
- package/es/ele-printer/util.js +1 -1
- package/es/ele-pro-layout/components/pro-sidebox.js +3 -1
- package/es/ele-pro-layout/index.d.ts +26 -26
- package/es/ele-pro-layout/index.js +7 -14
- package/es/ele-pro-table/components/table-tools.d.ts +99 -8
- package/es/ele-pro-table/components/table-tools.js +125 -8
- package/es/ele-pro-table/components/tool-column-list.js +1 -0
- package/es/ele-pro-table/components/tool-column.js +6 -2
- package/es/ele-pro-table/components/tool-export.d.ts +457 -0
- package/es/ele-pro-table/components/tool-export.js +451 -0
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +34 -0
- package/es/ele-pro-table/components/tool-print-body-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +34 -0
- package/es/ele-pro-table/components/tool-print-header-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print.d.ts +899 -0
- package/es/ele-pro-table/components/tool-print.js +547 -0
- package/es/ele-pro-table/index.d.ts +31 -12
- package/es/ele-pro-table/index.js +57 -14
- package/es/ele-pro-table/props.d.ts +14 -8
- package/es/ele-pro-table/props.js +6 -2
- package/es/ele-pro-table/style/index.js +9 -0
- package/es/ele-pro-table/style/index.scss +33 -5
- package/es/ele-pro-table/types.d.ts +147 -5
- package/es/ele-pro-table/util.d.ts +47 -3
- package/es/ele-pro-table/util.js +119 -13
- package/es/ele-segmented/index.js +1 -3
- package/es/ele-split-panel/index.d.ts +9 -8
- package/es/ele-split-panel/index.js +63 -59
- package/es/ele-steps/index.d.ts +0 -1
- package/es/ele-steps/index.js +2 -4
- package/es/ele-table/index.d.ts +3 -0
- package/es/ele-table/index.js +2 -1
- package/es/ele-table/props.d.ts +2 -0
- package/es/ele-table/props.js +3 -1
- package/es/ele-table/style/index.scss +35 -0
- package/es/ele-table-select/index.d.ts +1 -1
- package/es/ele-tabs/index.d.ts +7 -5
- package/es/ele-tabs/index.js +1 -6
- package/es/ele-tabs/props.d.ts +1 -1
- package/es/ele-tool/index.d.ts +1 -1
- package/es/ele-tool/index.js +2 -4
- package/es/ele-tool/props.d.ts +7 -0
- package/es/ele-tool/props.js +5 -0
- package/es/ele-tooltip/index.js +9 -13
- package/es/ele-tooltip/style/css-var.scss +4 -0
- package/es/ele-tooltip/style/index.scss +23 -0
- package/es/ele-tour/index.js +80 -77
- package/es/ele-upload-list/components/list-item.d.ts +1 -1
- package/es/ele-upload-list/index.d.ts +6 -4
- package/es/ele-upload-list/index.js +2 -3
- package/es/ele-virtual-table/components/body-cell.d.ts +0 -1
- package/es/ele-virtual-table/components/body-cell.js +32 -47
- package/es/ele-virtual-table/components/footer-row.d.ts +2 -2
- package/es/ele-virtual-table/components/footer-row.js +15 -10
- package/es/ele-virtual-table/index.d.ts +1 -1
- package/es/ele-virtual-table/types.d.ts +15 -1
- package/es/ele-virtual-table/util.d.ts +26 -3
- package/es/ele-virtual-table/util.js +44 -0
- package/es/ele-watermark/index.d.ts +9 -0
- package/es/ele-watermark/index.js +1 -1
- package/es/ele-watermark/props.d.ts +5 -0
- package/es/ele-watermark/props.js +5 -0
- package/es/icons/PrinterOutlined.d.ts +2 -0
- package/es/icons/PrinterOutlined.js +29 -0
- package/es/icons/VerticalLeftOutlined.js +2 -2
- package/es/icons/VerticalRightOutlined.js +2 -2
- package/es/icons/index.d.ts +1 -0
- package/es/icons/index.js +58 -56
- package/es/lang/en_US.js +13 -2
- package/es/lang/zh_CN.js +13 -2
- package/es/lang/zh_TW.js +12 -1
- package/es/style/index.scss +1 -43
- package/es/style/plus.scss +43 -0
- package/es/style/themes/default.scss +5 -2
- package/es/style/themes/theme-util.scss +0 -2
- package/es/utils/resolvers.d.ts +2 -2
- package/es/utils/resolvers.js +33 -20
- package/lib/ele-alert/index.cjs +2 -4
- package/lib/ele-app/el.d.ts +6 -1
- package/lib/ele-app/plus.d.ts +12 -0
- package/lib/ele-avatar-group/index.cjs +1 -3
- package/lib/ele-avatar-group/index.d.ts +1 -1
- package/lib/ele-basic-select/index.cjs +16 -12
- package/lib/ele-basic-select/index.d.ts +8 -8
- package/lib/ele-check-card/index.cjs +0 -5
- package/lib/ele-check-card/index.d.ts +2 -2
- package/lib/ele-config-provider/components/receiver-view.cjs +44 -0
- package/lib/ele-config-provider/components/receiver-view.d.ts +17 -0
- package/lib/ele-config-provider/index.d.ts +2 -2
- package/lib/ele-config-provider/props.cjs +2 -2
- package/lib/ele-config-provider/props.d.ts +3 -3
- package/lib/ele-config-provider/types.d.ts +2 -0
- package/lib/ele-copyable/index.cjs +0 -4
- package/lib/ele-copyable/index.d.ts +4 -6
- package/lib/ele-cropper/index.cjs +0 -4
- package/lib/ele-cropper/index.d.ts +6 -6
- package/lib/ele-dashboard/index.cjs +7 -16
- package/lib/ele-dashboard/index.d.ts +0 -1
- package/lib/ele-data-table/index.cjs +8 -0
- package/lib/ele-data-table/index.d.ts +2 -2
- package/lib/ele-data-table/style/index.scss +4 -0
- package/lib/ele-data-table/types.d.ts +10 -0
- package/lib/ele-data-table/util.cjs +14 -0
- package/lib/ele-data-table/util.d.ts +5 -0
- package/lib/ele-dot/index.cjs +3 -9
- package/lib/ele-dot/index.d.ts +2 -4
- package/lib/ele-drawer/index.cjs +13 -10
- package/lib/ele-drawer/index.d.ts +6 -6
- package/lib/ele-dropdown/index.cjs +6 -10
- package/lib/ele-dropdown/style/index.scss +2 -2
- package/lib/ele-edit-tag/index.cjs +16 -14
- package/lib/ele-edit-tag/index.d.ts +6 -0
- package/lib/ele-edit-tag/props.cjs +5 -1
- package/lib/ele-edit-tag/props.d.ts +4 -0
- package/lib/ele-edit-tag/style/index.scss +13 -0
- package/lib/ele-ellipsis/index.cjs +2 -4
- package/lib/ele-ellipsis/index.d.ts +3 -3
- package/lib/ele-file-list/components/file-grid-item.cjs +15 -8
- package/lib/ele-file-list/components/file-grid.cjs +53 -49
- package/lib/ele-file-list/components/file-table-item.cjs +19 -14
- package/lib/ele-file-list/components/file-table.cjs +91 -85
- package/lib/ele-file-list/index.cjs +0 -10
- package/lib/ele-file-list/index.d.ts +4 -4
- package/lib/ele-file-list-tool/index.cjs +2 -2
- package/lib/ele-file-list-tool/index.d.ts +3 -3
- package/lib/ele-icon-select/index.cjs +39 -16
- package/lib/ele-icon-select/index.d.ts +22 -10
- package/lib/ele-icon-select/props.cjs +6 -1
- package/lib/ele-icon-select/props.d.ts +6 -1
- package/lib/ele-icon-select/style/index.cjs +1 -0
- package/lib/ele-icon-select/style/index.scss +16 -2
- package/lib/ele-loading/index.cjs +31 -29
- package/lib/ele-loading/index.d.ts +0 -2
- package/lib/ele-map-picker/components/map-view.d.ts +2 -2
- package/lib/ele-menus/index.cjs +6 -7
- package/lib/ele-menus/index.d.ts +3 -3
- package/lib/ele-menus/style/index.cjs +2 -0
- package/lib/ele-menus/style/index.scss +2 -1
- package/lib/ele-modal/index.cjs +13 -7
- package/lib/ele-modal/index.d.ts +2 -2
- package/lib/ele-modal/style/index.scss +18 -29
- package/lib/ele-pagination/index.cjs +18 -12
- package/lib/ele-pagination/index.d.ts +10 -8
- package/lib/ele-pagination/props.cjs +2 -0
- package/lib/ele-pagination/props.d.ts +3 -2
- package/lib/ele-pagination/style/index.scss +9 -0
- package/lib/ele-pagination/types.d.ts +6 -1
- package/lib/ele-popconfirm/style/index.cjs +1 -1
- package/lib/ele-popover/style/index.cjs +0 -1
- package/lib/ele-printer/index.cjs +10 -10
- package/lib/ele-printer/index.d.ts +6 -6
- package/lib/ele-printer/util.cjs +1 -1
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +3 -1
- package/lib/ele-pro-layout/index.cjs +6 -13
- package/lib/ele-pro-layout/index.d.ts +26 -26
- package/lib/ele-pro-table/components/table-tools.cjs +124 -7
- package/lib/ele-pro-table/components/table-tools.d.ts +99 -8
- package/lib/ele-pro-table/components/tool-column-list.cjs +1 -0
- package/lib/ele-pro-table/components/tool-column.cjs +6 -2
- package/lib/ele-pro-table/components/tool-export.cjs +450 -0
- package/lib/ele-pro-table/components/tool-export.d.ts +457 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +34 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +34 -0
- package/lib/ele-pro-table/components/tool-print.cjs +546 -0
- package/lib/ele-pro-table/components/tool-print.d.ts +899 -0
- package/lib/ele-pro-table/index.cjs +56 -13
- package/lib/ele-pro-table/index.d.ts +31 -12
- package/lib/ele-pro-table/props.cjs +6 -2
- package/lib/ele-pro-table/props.d.ts +14 -8
- package/lib/ele-pro-table/style/index.cjs +9 -0
- package/lib/ele-pro-table/style/index.scss +33 -5
- package/lib/ele-pro-table/types.d.ts +147 -5
- package/lib/ele-pro-table/util.cjs +119 -13
- package/lib/ele-pro-table/util.d.ts +47 -3
- package/lib/ele-segmented/index.cjs +1 -3
- package/lib/ele-split-panel/index.cjs +62 -58
- package/lib/ele-split-panel/index.d.ts +9 -8
- package/lib/ele-steps/index.cjs +2 -4
- package/lib/ele-steps/index.d.ts +0 -1
- package/lib/ele-table/index.cjs +2 -1
- package/lib/ele-table/index.d.ts +3 -0
- package/lib/ele-table/props.cjs +3 -1
- package/lib/ele-table/props.d.ts +2 -0
- package/lib/ele-table/style/index.scss +35 -0
- package/lib/ele-table-select/index.d.ts +1 -1
- package/lib/ele-tabs/index.cjs +1 -6
- package/lib/ele-tabs/index.d.ts +7 -5
- package/lib/ele-tabs/props.d.ts +1 -1
- package/lib/ele-tool/index.cjs +1 -3
- package/lib/ele-tool/index.d.ts +1 -1
- package/lib/ele-tool/props.cjs +5 -0
- package/lib/ele-tool/props.d.ts +7 -0
- package/lib/ele-tooltip/index.cjs +9 -13
- package/lib/ele-tooltip/style/css-var.scss +4 -0
- package/lib/ele-tooltip/style/index.scss +23 -0
- package/lib/ele-tour/index.cjs +79 -76
- package/lib/ele-upload-list/components/list-item.d.ts +1 -1
- package/lib/ele-upload-list/index.cjs +1 -2
- package/lib/ele-upload-list/index.d.ts +6 -4
- package/lib/ele-virtual-table/components/body-cell.cjs +31 -46
- package/lib/ele-virtual-table/components/body-cell.d.ts +0 -1
- package/lib/ele-virtual-table/components/footer-row.cjs +13 -8
- package/lib/ele-virtual-table/components/footer-row.d.ts +2 -2
- package/lib/ele-virtual-table/index.d.ts +1 -1
- package/lib/ele-virtual-table/types.d.ts +15 -1
- package/lib/ele-virtual-table/util.cjs +44 -0
- package/lib/ele-virtual-table/util.d.ts +26 -3
- package/lib/ele-watermark/index.cjs +1 -1
- package/lib/ele-watermark/index.d.ts +9 -0
- package/lib/ele-watermark/props.cjs +5 -0
- package/lib/ele-watermark/props.d.ts +5 -0
- package/lib/icons/PrinterOutlined.cjs +28 -0
- package/lib/icons/PrinterOutlined.d.ts +2 -0
- package/lib/icons/VerticalLeftOutlined.cjs +2 -2
- package/lib/icons/VerticalRightOutlined.cjs +2 -2
- package/lib/icons/index.cjs +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/lang/en_US.cjs +13 -2
- package/lib/lang/zh_CN.cjs +13 -2
- package/lib/lang/zh_TW.cjs +12 -1
- package/lib/style/index.scss +1 -43
- package/lib/style/plus.scss +43 -0
- package/lib/style/themes/default.scss +5 -2
- package/lib/style/themes/theme-util.scss +0 -2
- package/lib/utils/resolvers.cjs +33 -20
- package/lib/utils/resolvers.d.ts +2 -2
- package/package.json +1 -1
- package/es/ele-popover/style/css-var.scss +0 -8
- package/es/ele-popover/style/index.scss +0 -27
- package/lib/ele-popover/style/css-var.scss +0 -8
- package/lib/ele-popover/style/index.scss +0 -27
|
@@ -22,12 +22,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
23
23
|
sortable: {
|
|
24
24
|
type: import("vue").PropType<boolean | Record<string | number | symbol, any>>;
|
|
25
|
-
default: boolean;
|
|
25
|
+
default: boolean;
|
|
26
26
|
};
|
|
27
27
|
imageProps: import("vue").PropType<import("../ele-app/el").ElImageProps>;
|
|
28
28
|
progressProps: import("vue").PropType<import("../ele-app/el").ElProgressProps>;
|
|
29
29
|
previewProps: import("vue").PropType<import("../ele-app/el").ElImageProps>;
|
|
30
|
-
|
|
30
|
+
/** 当前图片地址 */
|
|
31
|
+
locale: import("vue").PropType<Partial<UploadLocale>>;
|
|
31
32
|
}, {
|
|
32
33
|
lang: import("vue").ComputedRef<UploadLocale>;
|
|
33
34
|
previewRef: import("vue").Ref<ElImageInstance>;
|
|
@@ -72,12 +73,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
73
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
73
74
|
sortable: {
|
|
74
75
|
type: import("vue").PropType<boolean | Record<string | number | symbol, any>>;
|
|
75
|
-
default: boolean;
|
|
76
|
+
default: boolean;
|
|
76
77
|
};
|
|
77
78
|
imageProps: import("vue").PropType<import("../ele-app/el").ElImageProps>;
|
|
78
79
|
progressProps: import("vue").PropType<import("../ele-app/el").ElProgressProps>;
|
|
79
80
|
previewProps: import("vue").PropType<import("../ele-app/el").ElImageProps>;
|
|
80
|
-
|
|
81
|
+
/** 当前图片地址 */
|
|
82
|
+
locale: import("vue").PropType<Partial<UploadLocale>>;
|
|
81
83
|
}>> & {
|
|
82
84
|
"onUpdate:modelValue"?: ((_value: UploadItem[]) => any) | undefined;
|
|
83
85
|
onItemClick?: ((_item: UploadItem) => any) | undefined;
|
|
@@ -88,28 +88,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
88
88
|
};
|
|
89
89
|
});
|
|
90
90
|
const cellSpan = vue.computed(() => {
|
|
91
|
-
const span =
|
|
92
|
-
if (typeof props.spanMethod === "function") {
|
|
93
|
-
const result = props.spanMethod(cellParam.value);
|
|
94
|
-
if (result != null) {
|
|
95
|
-
if (Array.isArray(result)) {
|
|
96
|
-
const [rowspan, colspan] = result;
|
|
97
|
-
if (rowspan != null) {
|
|
98
|
-
span.rowspan = rowspan;
|
|
99
|
-
}
|
|
100
|
-
if (colspan != null) {
|
|
101
|
-
span.colspan = colspan;
|
|
102
|
-
}
|
|
103
|
-
} else {
|
|
104
|
-
if (result.rowspan != null) {
|
|
105
|
-
span.rowspan = result.rowspan;
|
|
106
|
-
}
|
|
107
|
-
if (result.colspan != null) {
|
|
108
|
-
span.colspan = result.colspan;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
91
|
+
const span = util.getCellSpan(cellParam.value, props.spanMethod);
|
|
113
92
|
if (colType.value && ["indedx", "selection", "expand"].includes(colType.value)) {
|
|
114
93
|
span.rowspan = 1;
|
|
115
94
|
}
|
|
@@ -237,6 +216,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
237
216
|
];
|
|
238
217
|
});
|
|
239
218
|
const cellText = vue.computed(() => {
|
|
219
|
+
const col = originalCol.value;
|
|
220
|
+
if (col && col.type === "index") {
|
|
221
|
+
if (typeof col.index === "function") {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
return util.getIndexValue(props.rowIndex, col.index, props.pageIndex);
|
|
225
|
+
}
|
|
240
226
|
const prop = props.column ? props.column.dataKey : void 0;
|
|
241
227
|
const { rowspan, colspan } = cellSpan.value;
|
|
242
228
|
if (rowspan === 0 || colspan === 0 || prop == null || !props.rowData) {
|
|
@@ -244,12 +230,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
244
230
|
}
|
|
245
231
|
return util$1.getValue(props.rowData, prop);
|
|
246
232
|
});
|
|
247
|
-
const indexText = vue.computed(() => {
|
|
248
|
-
const rowIndex = props.rowIndex || 0;
|
|
249
|
-
const index = originalCol.value ? originalCol.value.index : void 0;
|
|
250
|
-
const start = typeof index === "function" ? index(rowIndex) : index;
|
|
251
|
-
return String((props.pageIndex || start || 0) + rowIndex);
|
|
252
|
-
});
|
|
253
233
|
const isExpandCol = vue.computed(() => {
|
|
254
234
|
return props.column != null && props.expandColumnKey != null && props.expandColumnKey === props.column.key;
|
|
255
235
|
});
|
|
@@ -257,18 +237,26 @@ const _sfc_main = vue.defineComponent({
|
|
|
257
237
|
const col = originalCol.value;
|
|
258
238
|
const { rowspan, colspan } = cellSpan.value;
|
|
259
239
|
if (col && rowspan !== 0 && colspan !== 0) {
|
|
240
|
+
const { rowIndex, rowData } = props;
|
|
241
|
+
if (col.type === "index") {
|
|
242
|
+
if (typeof col.index === "function") {
|
|
243
|
+
return {
|
|
244
|
+
render: col.index,
|
|
245
|
+
params: [rowIndex]
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
return {};
|
|
249
|
+
}
|
|
260
250
|
if (col.slot && typeof slots[col.slot] === "function") {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
column: col,
|
|
264
|
-
$index: props.rowIndex
|
|
251
|
+
return {
|
|
252
|
+
render: slots[col.slot],
|
|
253
|
+
params: [{ row: rowData, column: col, $index: rowIndex }]
|
|
265
254
|
};
|
|
266
|
-
return { render: slots[col.slot], params: [param] };
|
|
267
255
|
}
|
|
268
256
|
if (typeof col.formatter === "function") {
|
|
269
257
|
return {
|
|
270
258
|
render: col.formatter,
|
|
271
|
-
params: [
|
|
259
|
+
params: [rowData, col, cellText.value, rowIndex]
|
|
272
260
|
};
|
|
273
261
|
}
|
|
274
262
|
}
|
|
@@ -331,7 +319,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
331
319
|
colType,
|
|
332
320
|
cellClass,
|
|
333
321
|
cellStyle,
|
|
334
|
-
indexText,
|
|
335
322
|
cellText,
|
|
336
323
|
isExpandCol,
|
|
337
324
|
renderOpt,
|
|
@@ -361,8 +348,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
361
348
|
const _component_LoadingDotOutlined = vue.resolveComponent("LoadingDotOutlined");
|
|
362
349
|
const _component_ArrowDown = vue.resolveComponent("ArrowDown");
|
|
363
350
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
364
|
-
const _component_CellRender = vue.resolveComponent("CellRender");
|
|
365
351
|
const _component_CellCheckbox = vue.resolveComponent("CellCheckbox");
|
|
352
|
+
const _component_CellRender = vue.resolveComponent("CellRender");
|
|
366
353
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
367
354
|
class: vue.normalizeClass(_ctx.cellClass),
|
|
368
355
|
style: vue.normalizeStyle(_ctx.cellStyle),
|
|
@@ -397,20 +384,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
397
384
|
}, 8, ["class"])
|
|
398
385
|
], 2)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1))
|
|
399
386
|
], 64)) : vue.createCommentVNode("", true),
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.cellText), 1)
|
|
403
|
-
]),
|
|
404
|
-
_: 1
|
|
405
|
-
}, 16)) : _ctx.colType === "index" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
406
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.indexText), 1)
|
|
407
|
-
], 64)) : _ctx.colType === "selection" ? (vue.openBlock(), vue.createBlock(_component_CellCheckbox, {
|
|
408
|
-
key: 3,
|
|
387
|
+
_ctx.colType === "selection" ? (vue.openBlock(), vue.createBlock(_component_CellCheckbox, {
|
|
388
|
+
key: 1,
|
|
409
389
|
checked: _ctx.isChecked,
|
|
410
390
|
disabled: _ctx.rowData ? _ctx.rowData._rowDisabled : false,
|
|
411
391
|
size: _ctx.tableSize,
|
|
412
392
|
onChange: _ctx.onCheckedChange
|
|
413
|
-
}, null, 8, ["checked", "disabled", "size", "onChange"])) : vue.
|
|
393
|
+
}, null, 8, ["checked", "disabled", "size", "onChange"])) : _ctx.colType !== "expand" ? (vue.openBlock(), vue.createBlock(_component_CellRender, vue.normalizeProps(vue.mergeProps({ key: 2 }, _ctx.renderOpt)), {
|
|
394
|
+
default: vue.withCtx(() => [
|
|
395
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.cellText), 1)
|
|
396
|
+
]),
|
|
397
|
+
_: 1
|
|
398
|
+
}, 16)) : vue.createCommentVNode("", true)
|
|
414
399
|
])
|
|
415
400
|
], 38);
|
|
416
401
|
}
|
|
@@ -55,7 +55,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
55
|
colType: import("vue").ComputedRef<string | undefined>;
|
|
56
56
|
cellClass: import("vue").ComputedRef<string>;
|
|
57
57
|
cellStyle: import("vue").ComputedRef<StyleValues | undefined>;
|
|
58
|
-
indexText: import("vue").ComputedRef<string>;
|
|
59
58
|
cellText: import("vue").ComputedRef<string | undefined>;
|
|
60
59
|
isExpandCol: import("vue").ComputedRef<boolean>;
|
|
61
60
|
renderOpt: import("vue").ComputedRef<CustomRenderProps>;
|
|
@@ -3,6 +3,7 @@ const vue = require("vue");
|
|
|
3
3
|
const util = require("../util");
|
|
4
4
|
const _sfc_main = vue.defineComponent({
|
|
5
5
|
name: "FooterRow",
|
|
6
|
+
components: { CellRender: util.CellRender },
|
|
6
7
|
props: {
|
|
7
8
|
/** 表格主体列配置 */
|
|
8
9
|
bodyCols: Array,
|
|
@@ -25,13 +26,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
25
26
|
},
|
|
26
27
|
setup(props, { emit }) {
|
|
27
28
|
const userSums = vue.computed(() => {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
});
|
|
34
|
-
return props.summaryMethod({ columns, data: props.tableData });
|
|
29
|
+
return util.getUserSums(
|
|
30
|
+
props.summaryMethod,
|
|
31
|
+
props.bodyCols,
|
|
32
|
+
props.tableData
|
|
33
|
+
);
|
|
35
34
|
});
|
|
36
35
|
const sumCols = vue.computed(() => {
|
|
37
36
|
if (!props.bodyCols) {
|
|
@@ -70,6 +69,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
70
69
|
};
|
|
71
70
|
const _hoisted_1 = { class: "ele-table-cell" };
|
|
72
71
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
72
|
+
const _component_CellRender = vue.resolveComponent("CellRender");
|
|
73
73
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
74
74
|
class: "ele-table-foot-tr",
|
|
75
75
|
style: vue.normalizeStyle({ width: (_ctx.sumWidth || 0) + "px", height: (_ctx.rowHeight || 0) + "px" })
|
|
@@ -95,7 +95,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
95
95
|
}),
|
|
96
96
|
onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.onMouseenter && _ctx.onMouseenter(...args))
|
|
97
97
|
}, [
|
|
98
|
-
vue.createElementVNode("div", _hoisted_1,
|
|
98
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
99
|
+
vue.createVNode(_component_CellRender, {
|
|
100
|
+
render: () => col.text,
|
|
101
|
+
params: []
|
|
102
|
+
}, null, 8, ["render"])
|
|
103
|
+
])
|
|
99
104
|
], 38);
|
|
100
105
|
}), 128))
|
|
101
106
|
], 4);
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
/** 合计行文本 */
|
|
16
16
|
sumText: StringConstructor;
|
|
17
17
|
/** 合计行自定义方法 */
|
|
18
|
-
summaryMethod:
|
|
18
|
+
summaryMethod: PropType<import("element-plus/es/components/table/src/table/defaults").SummaryMethod<DataItem> | undefined>;
|
|
19
19
|
}, {
|
|
20
20
|
sumCols: import("vue").ComputedRef<SumCol[]>;
|
|
21
21
|
onMouseenter: (e: MouseEvent) => void;
|
|
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
/** 合计行文本 */
|
|
37
37
|
sumText: StringConstructor;
|
|
38
38
|
/** 合计行自定义方法 */
|
|
39
|
-
summaryMethod:
|
|
39
|
+
summaryMethod: PropType<import("element-plus/es/components/table/src/table/defaults").SummaryMethod<DataItem> | undefined>;
|
|
40
40
|
}>> & {
|
|
41
41
|
onMouseenter?: ((_e: MouseEvent) => any) | undefined;
|
|
42
42
|
}, {}, {}>;
|
|
@@ -385,9 +385,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
385
385
|
} | undefined;
|
|
386
386
|
tableLayout: "auto" | "fixed";
|
|
387
387
|
flexible: boolean;
|
|
388
|
+
sticky: boolean;
|
|
388
389
|
headerEllipsis: boolean;
|
|
389
390
|
slotNormalize: boolean;
|
|
390
|
-
sticky: boolean;
|
|
391
391
|
bottomLine: boolean;
|
|
392
392
|
emptyProps: import("../ele-data-table/types").TableEmptyProps;
|
|
393
393
|
reserveCurrent: boolean;
|
|
@@ -149,7 +149,7 @@ export interface CellSpan {
|
|
|
149
149
|
*/
|
|
150
150
|
export interface CustomRenderProps {
|
|
151
151
|
/** 自定义渲染方法 */
|
|
152
|
-
render?: (...params: any) => string | VNode | VNode[] | undefined;
|
|
152
|
+
render?: (...params: any) => string | VNode | VNode[] | number | undefined;
|
|
153
153
|
/** 自定义渲染参数 */
|
|
154
154
|
params?: Array<any>;
|
|
155
155
|
}
|
|
@@ -193,3 +193,17 @@ export interface SumCol extends ColSize {
|
|
|
193
193
|
/** 是否是第一个右侧固定列 */
|
|
194
194
|
isFixedRightFirst?: boolean;
|
|
195
195
|
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* 单元格获取自定义配置的参数
|
|
199
|
+
*/
|
|
200
|
+
export interface CellParams {
|
|
201
|
+
/** 列配置 */
|
|
202
|
+
column?: Column;
|
|
203
|
+
/** 列索引 */
|
|
204
|
+
columnIndex: number;
|
|
205
|
+
/** 行数据 */
|
|
206
|
+
row: DataItem;
|
|
207
|
+
/** 行索引 */
|
|
208
|
+
rowIndex: number;
|
|
209
|
+
}
|
|
@@ -414,6 +414,47 @@ function getTreeProps(treeProps) {
|
|
|
414
414
|
hasChildrenName: hasChildren || "hasChildren"
|
|
415
415
|
};
|
|
416
416
|
}
|
|
417
|
+
function getIndexValue(rowIndex, index, pageIndex) {
|
|
418
|
+
if (index == null) {
|
|
419
|
+
return String((pageIndex || 0) + (rowIndex || 0));
|
|
420
|
+
}
|
|
421
|
+
const start = typeof index === "function" ? index(rowIndex || 0) : index;
|
|
422
|
+
return String((start || 0) + (rowIndex || 0));
|
|
423
|
+
}
|
|
424
|
+
function getCellSpan(params, spanMethod) {
|
|
425
|
+
const span = { rowspan: 1, colspan: 1 };
|
|
426
|
+
if (typeof spanMethod === "function") {
|
|
427
|
+
const result = spanMethod(params);
|
|
428
|
+
if (result != null) {
|
|
429
|
+
if (Array.isArray(result)) {
|
|
430
|
+
const [rowspan, colspan] = result;
|
|
431
|
+
if (rowspan != null) {
|
|
432
|
+
span.rowspan = rowspan;
|
|
433
|
+
}
|
|
434
|
+
if (colspan != null) {
|
|
435
|
+
span.colspan = colspan;
|
|
436
|
+
}
|
|
437
|
+
} else {
|
|
438
|
+
if (result.rowspan != null) {
|
|
439
|
+
span.rowspan = result.rowspan;
|
|
440
|
+
}
|
|
441
|
+
if (result.colspan != null) {
|
|
442
|
+
span.colspan = result.colspan;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
return span;
|
|
448
|
+
}
|
|
449
|
+
function getUserSums(summaryMethod, bodyCols, data) {
|
|
450
|
+
if (typeof summaryMethod !== "function" || bodyCols == null) {
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
const columns = bodyCols.map((col) => {
|
|
454
|
+
return { ...col.originalCol || {}, property: col.dataKey };
|
|
455
|
+
});
|
|
456
|
+
return summaryMethod({ columns, data: data ?? [] });
|
|
457
|
+
}
|
|
417
458
|
function getSumValue(data, prop) {
|
|
418
459
|
if (!data || !prop) {
|
|
419
460
|
return "";
|
|
@@ -515,12 +556,14 @@ exports.computeFixedCols = computeFixedCols;
|
|
|
515
556
|
exports.computeFixedPositions = computeFixedPositions;
|
|
516
557
|
exports.floorSize = floorSize;
|
|
517
558
|
exports.generateRowCols = generateRowCols;
|
|
559
|
+
exports.getCellSpan = getCellSpan;
|
|
518
560
|
exports.getColFiltered = getColFiltered;
|
|
519
561
|
exports.getColKey = getColKey;
|
|
520
562
|
exports.getColWidth = getColWidth;
|
|
521
563
|
exports.getColumnByKey = getColumnByKey;
|
|
522
564
|
exports.getDefaultFiltered = getDefaultFiltered;
|
|
523
565
|
exports.getDefaultSort = getDefaultSort;
|
|
566
|
+
exports.getIndexValue = getIndexValue;
|
|
524
567
|
exports.getKeysAndList = getKeysAndList;
|
|
525
568
|
exports.getNumberSize = getNumberSize;
|
|
526
569
|
exports.getOrderValue = getOrderValue;
|
|
@@ -533,6 +576,7 @@ exports.getSumValue = getSumValue;
|
|
|
533
576
|
exports.getTableColumns = getTableColumns;
|
|
534
577
|
exports.getTableHeight = getTableHeight;
|
|
535
578
|
exports.getTreeProps = getTreeProps;
|
|
579
|
+
exports.getUserSums = getUserSums;
|
|
536
580
|
exports.isAutoRowHeight = isAutoRowHeight;
|
|
537
581
|
exports.transformTableData = transformTableData;
|
|
538
582
|
exports.useAutoResize = useAutoResize;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SetupContext } from 'vue';
|
|
2
2
|
import { TableV2SortOrder } from 'element-plus';
|
|
3
|
-
import type { DataKey, DataItem, Column, Columns, Sorter, Filter, FilterValue, OrderValue, TableSize, RowKey, RowSelectable, TreeProps, ShowOverflowTooltip } from '../ele-data-table/types';
|
|
4
|
-
import type { VirtualColumn, VirtualColumns, BodyColumns, HeaderColumn, HeaderRows, ColSize, CustomRenderProps, SortBy, TreeTableProps } from './types';
|
|
3
|
+
import type { DataKey, DataItem, Column, Columns, Sorter, Filter, FilterValue, OrderValue, TableSize, RowKey, RowSelectable, TreeProps, ShowOverflowTooltip, SpanMethod, ColumnIndex, SummaryMethod } from '../ele-data-table/types';
|
|
4
|
+
import type { VirtualColumn, VirtualColumns, BodyColumns, HeaderColumn, HeaderRows, ColSize, CustomRenderProps, SortBy, TreeTableProps, CellSpan, CellParams } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* 获取行高
|
|
7
7
|
* @param size 表格尺寸
|
|
@@ -123,7 +123,7 @@ export declare function isAutoRowHeight(hasExpandCol: boolean, bodyCols: BodyCol
|
|
|
123
123
|
* @param props 属性
|
|
124
124
|
* @param ctx SetupContext
|
|
125
125
|
*/
|
|
126
|
-
export declare function CellRender(props: CustomRenderProps, ctx: SetupContext): (string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
126
|
+
export declare function CellRender(props: CustomRenderProps, ctx: SetupContext): (string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
127
127
|
[key: string]: any;
|
|
128
128
|
}>)[] | undefined;
|
|
129
129
|
/**
|
|
@@ -168,6 +168,29 @@ export declare function getSelectableFunction(cols: BodyColumns): ((row: any, in
|
|
|
168
168
|
* @param treeProps 嵌套数据配置项
|
|
169
169
|
*/
|
|
170
170
|
export declare function getTreeProps(treeProps?: TreeProps): TreeTableProps;
|
|
171
|
+
/**
|
|
172
|
+
* 获取序号列值
|
|
173
|
+
* @param rowIndex 行索引
|
|
174
|
+
* @param index 自定义起始索引
|
|
175
|
+
* @param pageIndex 表格分页起始索引
|
|
176
|
+
*/
|
|
177
|
+
export declare function getIndexValue(rowIndex?: number, index?: ColumnIndex, pageIndex?: number): string;
|
|
178
|
+
/**
|
|
179
|
+
* 获取单元格的跨行和跨列
|
|
180
|
+
* @param column 列配置
|
|
181
|
+
* @param columnIndex 列索引
|
|
182
|
+
* @param row 行数据
|
|
183
|
+
* @param rowIndex 行索引
|
|
184
|
+
* @param spanMethod 跨行跨列方法
|
|
185
|
+
*/
|
|
186
|
+
export declare function getCellSpan(params: CellParams, spanMethod?: SpanMethod): CellSpan;
|
|
187
|
+
/**
|
|
188
|
+
* 获取自定义的合计列
|
|
189
|
+
* @param summaryMethod 自定义方法
|
|
190
|
+
* @param bodyCols 表格主体列配置
|
|
191
|
+
* @param data 表格数据
|
|
192
|
+
*/
|
|
193
|
+
export declare function getUserSums(summaryMethod?: SummaryMethod, bodyCols?: BodyColumns, data?: DataItem[]): string[] | undefined;
|
|
171
194
|
/**
|
|
172
195
|
* 计算列合计值
|
|
173
196
|
* @param data 表格数据
|
|
@@ -198,7 +198,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
198
198
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
199
199
|
ref: "rootRef",
|
|
200
200
|
key: _ctx.rootKey,
|
|
201
|
-
style: vue.normalizeStyle(_ctx.fixed ? void 0 : { position: "relative" })
|
|
201
|
+
style: vue.normalizeStyle(!_ctx.wrapPosition || _ctx.fixed ? void 0 : { position: "relative" })
|
|
202
202
|
}, [
|
|
203
203
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
204
204
|
!_ctx.disabled ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -15,6 +15,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
customStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
17
17
|
fixed: BooleanConstructor;
|
|
18
|
+
wrapPosition: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
}; /** 根节点 */
|
|
18
22
|
disabled: BooleanConstructor;
|
|
19
23
|
}, {
|
|
20
24
|
rootKey: Ref<number>;
|
|
@@ -37,10 +41,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
41
|
};
|
|
38
42
|
customStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
39
43
|
fixed: BooleanConstructor;
|
|
44
|
+
wrapPosition: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
}; /** 根节点 */
|
|
40
48
|
disabled: BooleanConstructor;
|
|
41
49
|
}>>, {
|
|
42
50
|
lineGap: number;
|
|
43
51
|
fixed: boolean;
|
|
52
|
+
wrapPosition: boolean;
|
|
44
53
|
disabled: boolean;
|
|
45
54
|
}, {}>;
|
|
46
55
|
export default _default;
|
|
@@ -28,6 +28,11 @@ export declare const watermarkProps: {
|
|
|
28
28
|
customStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
29
29
|
/** 是否使用固定定位 */
|
|
30
30
|
fixed: BooleanConstructor;
|
|
31
|
+
/** 是否为外层添加定位样式 */
|
|
32
|
+
wrapPosition: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
31
36
|
/** 是否禁用 */
|
|
32
37
|
disabled: BooleanConstructor;
|
|
33
38
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _sfc_main = vue.defineComponent({
|
|
4
|
+
name: "PrinterOutlined"
|
|
5
|
+
});
|
|
6
|
+
const _export_sfc = (sfc, props) => {
|
|
7
|
+
const target = sfc.__vccOpts || sfc;
|
|
8
|
+
for (const [key, val] of props) {
|
|
9
|
+
target[key] = val;
|
|
10
|
+
}
|
|
11
|
+
return target;
|
|
12
|
+
};
|
|
13
|
+
const _hoisted_1 = {
|
|
14
|
+
viewBox: "0 0 48 48",
|
|
15
|
+
fill: "none",
|
|
16
|
+
stroke: "currentColor",
|
|
17
|
+
"stroke-width": "4",
|
|
18
|
+
"stroke-linejoin": "round"
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", { d: "M13 36H3V15H45V36H35M12 15V4H36V15M13 44V26H35V44Z" }, null, -1);
|
|
21
|
+
const _hoisted_3 = [
|
|
22
|
+
_hoisted_2
|
|
23
|
+
];
|
|
24
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _hoisted_3);
|
|
26
|
+
}
|
|
27
|
+
const PrinterOutlined = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
28
|
+
module.exports = PrinterOutlined;
|
|
@@ -14,9 +14,9 @@ const _hoisted_1 = {
|
|
|
14
14
|
viewBox: "0 0 48 48",
|
|
15
15
|
fill: "none",
|
|
16
16
|
stroke: "currentColor",
|
|
17
|
-
"stroke-width": "
|
|
17
|
+
"stroke-width": "4"
|
|
18
18
|
};
|
|
19
|
-
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", { d: "
|
|
19
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", { d: "M34 6 34 42M11 41 30 24 11 7" }, null, -1);
|
|
20
20
|
const _hoisted_3 = [
|
|
21
21
|
_hoisted_2
|
|
22
22
|
];
|
|
@@ -14,9 +14,9 @@ const _hoisted_1 = {
|
|
|
14
14
|
viewBox: "0 0 48 48",
|
|
15
15
|
fill: "none",
|
|
16
16
|
stroke: "currentColor",
|
|
17
|
-
"stroke-width": "
|
|
17
|
+
"stroke-width": "4"
|
|
18
18
|
};
|
|
19
|
-
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", { d: "
|
|
19
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", { d: "M14 6 14 42M37 41 18 24 37 7" }, null, -1);
|
|
20
20
|
const _hoisted_3 = [
|
|
21
21
|
_hoisted_2
|
|
22
22
|
];
|
package/lib/icons/index.cjs
CHANGED
|
@@ -78,6 +78,7 @@ const PieChartOutlined = require("./PieChartOutlined");
|
|
|
78
78
|
const PlayFilled = require("./PlayFilled");
|
|
79
79
|
const PlusCircleOutlined = require("./PlusCircleOutlined");
|
|
80
80
|
const PlusOutlined = require("./PlusOutlined");
|
|
81
|
+
const PrinterOutlined = require("./PrinterOutlined");
|
|
81
82
|
const ProtectOutlined = require("./ProtectOutlined");
|
|
82
83
|
const QuestionCircleFilled = require("./QuestionCircleFilled");
|
|
83
84
|
const QuestionCircleOutlined = require("./QuestionCircleOutlined");
|
|
@@ -184,6 +185,7 @@ exports.PieChartOutlined = PieChartOutlined;
|
|
|
184
185
|
exports.PlayFilled = PlayFilled;
|
|
185
186
|
exports.PlusCircleOutlined = PlusCircleOutlined;
|
|
186
187
|
exports.PlusOutlined = PlusOutlined;
|
|
188
|
+
exports.PrinterOutlined = PrinterOutlined;
|
|
187
189
|
exports.ProtectOutlined = ProtectOutlined;
|
|
188
190
|
exports.QuestionCircleFilled = QuestionCircleFilled;
|
|
189
191
|
exports.QuestionCircleOutlined = QuestionCircleOutlined;
|
package/lib/icons/index.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ export { default as PieChartOutlined } from "./PieChartOutlined";
|
|
|
76
76
|
export { default as PlayFilled } from "./PlayFilled";
|
|
77
77
|
export { default as PlusCircleOutlined } from "./PlusCircleOutlined";
|
|
78
78
|
export { default as PlusOutlined } from "./PlusOutlined";
|
|
79
|
+
export { default as PrinterOutlined } from "./PrinterOutlined";
|
|
79
80
|
export { default as ProtectOutlined } from "./ProtectOutlined";
|
|
80
81
|
export { default as QuestionCircleFilled } from "./QuestionCircleFilled";
|
|
81
82
|
export { default as QuestionCircleOutlined } from "./QuestionCircleOutlined";
|
package/lib/lang/en_US.cjs
CHANGED
|
@@ -35,14 +35,25 @@ const localeValues = {
|
|
|
35
35
|
sizes: "Density",
|
|
36
36
|
columns: "Columns",
|
|
37
37
|
maximized: "Fullscreen",
|
|
38
|
+
export: "Export",
|
|
39
|
+
print: "Print",
|
|
38
40
|
sizeLarge: "Large",
|
|
39
41
|
sizeDefault: "Default",
|
|
40
42
|
sizeSmall: "Compact",
|
|
41
|
-
columnTitle: "
|
|
43
|
+
columnTitle: "Check all",
|
|
42
44
|
columnReset: "Reset",
|
|
43
45
|
columnUntitled: "Untitled",
|
|
44
46
|
columnFixedLeft: "Pin to left",
|
|
45
|
-
columnFixedRight: "Pin to right"
|
|
47
|
+
columnFixedRight: "Pin to right",
|
|
48
|
+
exportOk: "Ok",
|
|
49
|
+
exportCancel: "Cancel",
|
|
50
|
+
exportFileName: "Filename",
|
|
51
|
+
exportFileNamePlaceholder: "Please input filename",
|
|
52
|
+
exportSelectData: "Data",
|
|
53
|
+
exportSelectColumn: "Columns",
|
|
54
|
+
exportDataTypePage: "Current",
|
|
55
|
+
exportDataTypeSelected: "Selected",
|
|
56
|
+
exportDataTypeAll: "All"
|
|
46
57
|
},
|
|
47
58
|
copyable: {
|
|
48
59
|
copy: "Copy",
|
package/lib/lang/zh_CN.cjs
CHANGED
|
@@ -35,14 +35,25 @@ const localeValues = {
|
|
|
35
35
|
sizes: "密度",
|
|
36
36
|
columns: "列设置",
|
|
37
37
|
maximized: "全屏",
|
|
38
|
+
export: "导出",
|
|
39
|
+
print: "打印",
|
|
38
40
|
sizeLarge: "宽松",
|
|
39
41
|
sizeDefault: "中等",
|
|
40
42
|
sizeSmall: "紧凑",
|
|
41
|
-
columnTitle: "
|
|
43
|
+
columnTitle: "全选",
|
|
42
44
|
columnReset: "重置",
|
|
43
45
|
columnUntitled: "无标题",
|
|
44
46
|
columnFixedLeft: "固定在左侧",
|
|
45
|
-
columnFixedRight: "固定在右侧"
|
|
47
|
+
columnFixedRight: "固定在右侧",
|
|
48
|
+
exportOk: "确定",
|
|
49
|
+
exportCancel: "取消",
|
|
50
|
+
exportFileName: "文件名",
|
|
51
|
+
exportFileNamePlaceholder: "请输入文件名",
|
|
52
|
+
exportSelectData: "选择数据",
|
|
53
|
+
exportSelectColumn: "选择字段",
|
|
54
|
+
exportDataTypePage: "当前页数据",
|
|
55
|
+
exportDataTypeSelected: "选中数据",
|
|
56
|
+
exportDataTypeAll: "全部数据"
|
|
46
57
|
},
|
|
47
58
|
copyable: {
|
|
48
59
|
copy: "复制",
|
package/lib/lang/zh_TW.cjs
CHANGED
|
@@ -35,6 +35,8 @@ const localeValues = {
|
|
|
35
35
|
sizes: "密度",
|
|
36
36
|
columns: "列設定",
|
|
37
37
|
maximized: "全屏",
|
|
38
|
+
export: "匯出",
|
|
39
|
+
print: "打印",
|
|
38
40
|
sizeLarge: "寬鬆",
|
|
39
41
|
sizeDefault: "中等",
|
|
40
42
|
sizeSmall: "緊湊",
|
|
@@ -42,7 +44,16 @@ const localeValues = {
|
|
|
42
44
|
columnReset: "重置",
|
|
43
45
|
columnUntitled: "無標題",
|
|
44
46
|
columnFixedLeft: "固定在左側",
|
|
45
|
-
columnFixedRight: "固定在右側"
|
|
47
|
+
columnFixedRight: "固定在右側",
|
|
48
|
+
exportOk: "確認",
|
|
49
|
+
exportCancel: "取消",
|
|
50
|
+
exportFileName: "檔名",
|
|
51
|
+
exportFileNamePlaceholder: "請輸入檔名",
|
|
52
|
+
exportSelectData: "選擇數據",
|
|
53
|
+
exportSelectColumn: "選擇字段",
|
|
54
|
+
exportDataTypePage: "當前頁數據",
|
|
55
|
+
exportDataTypeSelected: "選中數據",
|
|
56
|
+
exportDataTypeAll: "全部數據"
|
|
46
57
|
},
|
|
47
58
|
copyable: {
|
|
48
59
|
copy: "複製",
|