yuang-framework-ui-pc 1.1.32 → 1.1.34
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/core-components.d.ts +4 -2
- package/es/core-components.js +59 -56
- package/es/ele-app/plus.d.ts +4 -6
- package/es/ele-cropper-modal/index.d.ts +2 -2
- package/es/ele-cropper-modal/index.js +4 -4
- package/es/ele-cropper-modal/props.d.ts +2 -2
- package/es/ele-data-table/index.d.ts +4 -4
- package/es/ele-map-picker/index.d.ts +2 -2
- package/es/ele-map-picker/index.js +4 -4
- package/es/ele-map-picker/props.d.ts +2 -2
- package/es/ele-pro-layout/index.d.ts +1 -1
- package/es/ele-pro-table/components/tool-export.d.ts +3 -3
- package/es/ele-pro-table/components/tool-export.js +4 -4
- package/es/ele-pro-table/components/tool-print.d.ts +3 -3
- package/es/ele-pro-table/components/tool-print.js +4 -4
- package/es/ele-pro-table/types.d.ts +3 -3
- package/es/ele-test/index.d.ts +2 -0
- package/es/ele-test/index.js +18 -0
- package/es/ele-test/style/css-var.scss +8 -0
- package/es/ele-test/style/index.d.ts +1 -0
- package/es/ele-test/style/index.js +2 -0
- package/es/ele-test/style/index.scss +100 -0
- package/es/style/plus.scss +0 -2
- package/es/yu-test/index.d.ts +2 -0
- package/es/yu-test/index.js +18 -0
- package/es/yu-test/style/css-var.scss +8 -0
- package/es/yu-test/style/index.d.ts +1 -0
- package/es/yu-test/style/index.js +2 -0
- package/es/yu-test/style/index.scss +100 -0
- package/lib/core-components.cjs +110 -107
- package/lib/core-components.d.ts +4 -2
- package/lib/ele-app/plus.d.ts +4 -6
- package/lib/ele-cropper-modal/index.cjs +4 -4
- package/lib/ele-cropper-modal/index.d.ts +2 -2
- package/lib/ele-cropper-modal/props.d.ts +2 -2
- package/lib/ele-data-table/index.d.ts +4 -4
- package/lib/ele-map-picker/index.cjs +4 -4
- package/lib/ele-map-picker/index.d.ts +2 -2
- package/lib/ele-map-picker/props.d.ts +2 -2
- package/lib/ele-pro-layout/index.d.ts +1 -1
- package/lib/ele-pro-table/components/tool-export.cjs +4 -4
- package/lib/ele-pro-table/components/tool-export.d.ts +3 -3
- package/lib/ele-pro-table/components/tool-print.cjs +4 -4
- package/lib/ele-pro-table/components/tool-print.d.ts +3 -3
- package/lib/ele-pro-table/types.d.ts +3 -3
- package/lib/ele-test/index.cjs +17 -0
- package/lib/ele-test/index.d.ts +2 -0
- package/lib/ele-test/style/css-var.scss +8 -0
- package/lib/ele-test/style/index.cjs +3 -0
- package/lib/ele-test/style/index.d.ts +1 -0
- package/lib/ele-test/style/index.scss +100 -0
- package/lib/style/plus.scss +0 -2
- package/lib/yu-test/index.cjs +17 -0
- package/lib/yu-test/index.d.ts +2 -0
- package/lib/yu-test/style/css-var.scss +8 -0
- package/lib/yu-test/style/index.cjs +3 -0
- package/lib/yu-test/style/index.d.ts +1 -0
- package/lib/yu-test/style/index.scss +100 -0
- package/package.json +1 -1
- package/typings/global.d.ts +1 -2
package/es/core-components.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as YuSliderCaptchaDialog } from './yu-slider-captcha-dialog/index';
|
|
1
2
|
export { default as EleAdminLayout } from './ele-admin-layout/index';
|
|
2
3
|
export { default as EleAlert } from './ele-alert/index';
|
|
3
4
|
export { default as EleApp } from './ele-app/index';
|
|
@@ -23,7 +24,6 @@ export { default as EleIconSelect } from './ele-icon-select/index';
|
|
|
23
24
|
export { default as EleImageViewer } from './ele-image-viewer/index';
|
|
24
25
|
export { default as EleLoading } from './ele-loading/index';
|
|
25
26
|
export { default as EleMenus } from './ele-menus/index';
|
|
26
|
-
export { default as EleModal } from './ele-dialog/index';
|
|
27
27
|
export { default as EleDialog } from './ele-dialog/index';
|
|
28
28
|
export { default as ElePage } from './ele-page/index';
|
|
29
29
|
export { default as ElePagination } from './ele-pagination/index';
|
|
@@ -51,4 +51,6 @@ export { default as EleTreeSelect } from './ele-tree-select/index';
|
|
|
51
51
|
export { default as EleUploadList } from './ele-upload-list/index';
|
|
52
52
|
export { default as EleVirtualTable } from './ele-virtual-table/index';
|
|
53
53
|
export { default as EleWatermark } from './ele-watermark/index';
|
|
54
|
-
export { default as
|
|
54
|
+
export { default as ELeTest } from './ele-test/index';
|
|
55
|
+
export { default as YuTest } from './yu-test/index';
|
|
56
|
+
export { YuSliderCaptchaDialog };
|
package/es/core-components.js
CHANGED
|
@@ -23,35 +23,38 @@ import { default as default23 } from "./ele-icon-select/index";
|
|
|
23
23
|
import { default as default24 } from "./ele-image-viewer/index";
|
|
24
24
|
import { default as default25 } from "./ele-loading/index";
|
|
25
25
|
import { default as default26 } from "./ele-menus/index";
|
|
26
|
-
import { default as default27
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
26
|
+
import { default as default27 } from "./ele-dialog/index";
|
|
27
|
+
import { default as default28 } from "./ele-page/index";
|
|
28
|
+
import { default as default29 } from "./ele-pagination/index";
|
|
29
|
+
import { default as default30 } from "./ele-popconfirm/index";
|
|
30
|
+
import { default as default31 } from "./ele-popover/index";
|
|
31
|
+
import { default as default32 } from "./ele-printer/index";
|
|
32
|
+
import { default as default33 } from "./ele-pro-layout/index";
|
|
33
|
+
import { default as default34 } from "./ele-pro-table/index";
|
|
34
|
+
import { default as default35 } from "./ele-qr-code/index";
|
|
35
|
+
import { default as default36 } from "./ele-qr-code-svg/index";
|
|
36
|
+
import { default as default37 } from "./ele-segmented/index";
|
|
37
|
+
import { default as default38 } from "./ele-split-panel/index";
|
|
38
|
+
import { default as default39 } from "./ele-steps/index";
|
|
39
|
+
import { default as default40 } from "./ele-tabs/index";
|
|
40
|
+
import { default as default41 } from "./ele-tab-tool/index";
|
|
41
|
+
import { default as default42 } from "./ele-tab-wrap/index";
|
|
42
|
+
import { default as default43 } from "./ele-table/index";
|
|
43
|
+
import { default as default44 } from "./ele-table-select/index";
|
|
44
|
+
import { default as default45 } from "./ele-text/index";
|
|
45
|
+
import { default as default46 } from "./ele-tool/index";
|
|
46
|
+
import { default as default47 } from "./ele-toolbar/index";
|
|
47
|
+
import { default as default48 } from "./ele-tooltip/index";
|
|
48
|
+
import { default as default49 } from "./ele-tour/index";
|
|
49
|
+
import { default as default50 } from "./ele-tree-select/index";
|
|
50
|
+
import { default as default51 } from "./ele-upload-list/index";
|
|
51
|
+
import { default as default52 } from "./ele-virtual-table/index";
|
|
52
|
+
import { default as default53 } from "./ele-watermark/index";
|
|
53
|
+
import { default as default54 } from "./ele-test/index";
|
|
54
|
+
import { default as default55 } from "./yu-test/index";
|
|
55
|
+
import { default as default56 } from "./yu-slider-captcha-dialog/index";
|
|
54
56
|
export {
|
|
57
|
+
default54 as ELeTest,
|
|
55
58
|
default2 as EleAdminLayout,
|
|
56
59
|
default3 as EleAlert,
|
|
57
60
|
default4 as EleApp,
|
|
@@ -78,32 +81,32 @@ export {
|
|
|
78
81
|
default24 as EleImageViewer,
|
|
79
82
|
default25 as EleLoading,
|
|
80
83
|
default26 as EleMenus,
|
|
81
|
-
default28 as
|
|
82
|
-
default29 as
|
|
83
|
-
default30 as
|
|
84
|
-
default31 as
|
|
85
|
-
default32 as
|
|
86
|
-
default33 as
|
|
87
|
-
default34 as
|
|
88
|
-
default35 as
|
|
89
|
-
default36 as
|
|
90
|
-
default37 as
|
|
91
|
-
default38 as
|
|
92
|
-
default39 as
|
|
93
|
-
|
|
94
|
-
default42 as
|
|
95
|
-
default43 as
|
|
96
|
-
default44 as
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
default46 as
|
|
100
|
-
default47 as
|
|
101
|
-
default48 as
|
|
102
|
-
default49 as
|
|
103
|
-
default50 as
|
|
104
|
-
default51 as
|
|
105
|
-
default52 as
|
|
106
|
-
default53 as
|
|
107
|
-
|
|
108
|
-
default55 as
|
|
84
|
+
default28 as ElePage,
|
|
85
|
+
default29 as ElePagination,
|
|
86
|
+
default30 as ElePopconfirm,
|
|
87
|
+
default31 as ElePopover,
|
|
88
|
+
default32 as ElePrinter,
|
|
89
|
+
default33 as EleProLayout,
|
|
90
|
+
default34 as EleProTable,
|
|
91
|
+
default35 as EleQrCode,
|
|
92
|
+
default36 as EleQrCodeSvg,
|
|
93
|
+
default37 as EleSegmented,
|
|
94
|
+
default38 as EleSplitPanel,
|
|
95
|
+
default39 as EleSteps,
|
|
96
|
+
default41 as EleTabTool,
|
|
97
|
+
default42 as EleTabWrap,
|
|
98
|
+
default43 as EleTable,
|
|
99
|
+
default44 as EleTableSelect,
|
|
100
|
+
default40 as EleTabs,
|
|
101
|
+
default45 as EleText,
|
|
102
|
+
default46 as EleTool,
|
|
103
|
+
default47 as EleToolbar,
|
|
104
|
+
default48 as EleTooltip,
|
|
105
|
+
default49 as EleTour,
|
|
106
|
+
default50 as EleTreeSelect,
|
|
107
|
+
default51 as EleUploadList,
|
|
108
|
+
default52 as EleVirtualTable,
|
|
109
|
+
default53 as EleWatermark,
|
|
110
|
+
default56 as YuSliderCaptchaDialog,
|
|
111
|
+
default55 as YuTest
|
|
109
112
|
};
|
package/es/ele-app/plus.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import type { LoadingProps } from '../ele-loading/props';
|
|
|
14
14
|
import type EleMenus from '../ele-menus/index';
|
|
15
15
|
import type { MenusProps } from '../ele-menus/props';
|
|
16
16
|
import type { MenuItem } from '../ele-menus/types';
|
|
17
|
-
import type {
|
|
17
|
+
import type { EleDialogProps as EleDialogProps2 } from '../ele-dialog/props';
|
|
18
18
|
import type { PaginationProps } from '../ele-pagination/props';
|
|
19
19
|
import type ElePopover from '../ele-popover/index';
|
|
20
20
|
import type { PopoverProps } from '../ele-popover/props';
|
|
@@ -104,9 +104,9 @@ export type EleMenusProps = ComponentProps<MenusProps>;
|
|
|
104
104
|
export type EleMenuItemProps = Partial<MenuItem>;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* EleDialog
|
|
108
108
|
*/
|
|
109
|
-
export type
|
|
109
|
+
export type EleDialogProps = ComponentProps<EleDialogProps2>;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
112
|
* ElePagination
|
|
@@ -178,6 +178,4 @@ export type EleUploadListProps = Partial<UploadListProps>;
|
|
|
178
178
|
/**
|
|
179
179
|
* EleVirtualTable
|
|
180
180
|
*/
|
|
181
|
-
export type EleVirtualTableInstance = InstanceType<
|
|
182
|
-
typeof EleVirtualTable
|
|
183
|
-
> | null;
|
|
181
|
+
export type EleVirtualTableInstance = InstanceType<typeof EleVirtualTable> | null;
|
|
@@ -2,7 +2,7 @@ import { CropperLocale } from '../ele-cropper/types';
|
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
modelValue: BooleanConstructor;
|
|
5
|
-
modalProps: import('vue').PropType<Partial<Omit<import('../ele-app/plus').
|
|
5
|
+
modalProps: import('vue').PropType<Partial<Omit<import('../ele-app/plus').EleDialogProps, "modelValue">>>;
|
|
6
6
|
height: StringConstructor;
|
|
7
7
|
src: StringConstructor;
|
|
8
8
|
imageType: {
|
|
@@ -48,7 +48,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
48
48
|
'update:modelValue': (_value: boolean) => boolean;
|
|
49
49
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
50
|
modelValue: BooleanConstructor;
|
|
51
|
-
modalProps: import('vue').PropType<Partial<Omit<import('../ele-app/plus').
|
|
51
|
+
modalProps: import('vue').PropType<Partial<Omit<import('../ele-app/plus').EleDialogProps, "modelValue">>>;
|
|
52
52
|
height: StringConstructor;
|
|
53
53
|
src: StringConstructor;
|
|
54
54
|
imageType: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createBlock, mergeProps, createSlots, withCtx, createVNode, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { useLocale } from "../ele-config-provider/receiver";
|
|
3
|
-
import
|
|
3
|
+
import EleDialog from "../ele-dialog/index";
|
|
4
4
|
import EleCropper from "../ele-cropper/index";
|
|
5
5
|
import { cropperModalProps, cropperModalEmits } from "./props";
|
|
6
6
|
const _sfc_main = defineComponent({
|
|
7
7
|
name: "EleCropperModal",
|
|
8
|
-
components: {
|
|
8
|
+
components: { EleDialog, EleCropper },
|
|
9
9
|
props: cropperModalProps,
|
|
10
10
|
emits: cropperModalEmits,
|
|
11
11
|
setup(props, { emit }) {
|
|
@@ -28,8 +28,8 @@ const _export_sfc = (sfc, props) => {
|
|
|
28
28
|
};
|
|
29
29
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30
30
|
const _component_EleCropper = resolveComponent("EleCropper");
|
|
31
|
-
const
|
|
32
|
-
return openBlock(), createBlock(
|
|
31
|
+
const _component_EleDialog = resolveComponent("EleDialog");
|
|
32
|
+
return openBlock(), createBlock(_component_EleDialog, mergeProps({
|
|
33
33
|
width: "620px",
|
|
34
34
|
title: _ctx.lang.title
|
|
35
35
|
}, _ctx.modalProps || {}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { EleDialogProps } from '../ele-app/plus';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 属性
|
|
@@ -8,7 +8,7 @@ export declare const cropperModalProps: {
|
|
|
8
8
|
/** 弹窗是否显示 */
|
|
9
9
|
modelValue: BooleanConstructor;
|
|
10
10
|
/** 弹窗参数 */
|
|
11
|
-
modalProps: PropType<Partial<Omit<
|
|
11
|
+
modalProps: PropType<Partial<Omit<EleDialogProps, "modelValue">>>;
|
|
12
12
|
height: StringConstructor;
|
|
13
13
|
src: StringConstructor;
|
|
14
14
|
imageType: {
|
|
@@ -52,18 +52,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
52
52
|
type: import('vue').PropType<any[]>;
|
|
53
53
|
default: () => never[];
|
|
54
54
|
};
|
|
55
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
56
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
55
57
|
fit: {
|
|
56
58
|
type: BooleanConstructor;
|
|
57
59
|
default: boolean;
|
|
58
60
|
};
|
|
59
|
-
width: (NumberConstructor | StringConstructor)[];
|
|
60
61
|
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
61
62
|
lazy: BooleanConstructor;
|
|
62
63
|
className: {
|
|
63
64
|
type: StringConstructor;
|
|
64
65
|
default: string;
|
|
65
66
|
};
|
|
66
|
-
height: (NumberConstructor | StringConstructor)[];
|
|
67
67
|
showHeader: {
|
|
68
68
|
type: BooleanConstructor;
|
|
69
69
|
default: boolean;
|
|
@@ -218,18 +218,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
218
218
|
type: import('vue').PropType<any[]>;
|
|
219
219
|
default: () => never[];
|
|
220
220
|
};
|
|
221
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
222
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
221
223
|
fit: {
|
|
222
224
|
type: BooleanConstructor;
|
|
223
225
|
default: boolean;
|
|
224
226
|
};
|
|
225
|
-
width: (NumberConstructor | StringConstructor)[];
|
|
226
227
|
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
227
228
|
lazy: BooleanConstructor;
|
|
228
229
|
className: {
|
|
229
230
|
type: StringConstructor;
|
|
230
231
|
default: string;
|
|
231
232
|
};
|
|
232
|
-
height: (NumberConstructor | StringConstructor)[];
|
|
233
233
|
showHeader: {
|
|
234
234
|
type: BooleanConstructor;
|
|
235
235
|
default: boolean;
|
|
@@ -6,7 +6,7 @@ import { default as MapViewType } from './components/map-view';
|
|
|
6
6
|
export type MapViewInstance = InstanceType<typeof MapViewType> | null;
|
|
7
7
|
declare const _default: import('vue').DefineComponent<{
|
|
8
8
|
modelValue: BooleanConstructor;
|
|
9
|
-
modalProps: import('vue').PropType<Omit<import('../ele-app/plus').
|
|
9
|
+
modalProps: import('vue').PropType<Omit<import('../ele-app/plus').EleDialogProps, "modelValue">>;
|
|
10
10
|
responsive: {
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: null;
|
|
@@ -96,7 +96,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
96
96
|
'update:modelValue': (_value: boolean) => boolean;
|
|
97
97
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
98
98
|
modelValue: BooleanConstructor;
|
|
99
|
-
modalProps: import('vue').PropType<Omit<import('../ele-app/plus').
|
|
99
|
+
modalProps: import('vue').PropType<Omit<import('../ele-app/plus').EleDialogProps, "modelValue">>;
|
|
100
100
|
responsive: {
|
|
101
101
|
type: BooleanConstructor;
|
|
102
102
|
default: null;
|
|
@@ -2,12 +2,12 @@ import { defineComponent, ref, computed, watch, resolveComponent, openBlock, cre
|
|
|
2
2
|
import { pick } from "../utils/core";
|
|
3
3
|
import { useLocale } from "../ele-config-provider/receiver";
|
|
4
4
|
import { useResponsive } from "../ele-pro-layout/util";
|
|
5
|
-
import
|
|
5
|
+
import EleDialog from "../ele-dialog/index";
|
|
6
6
|
import MapView from "./components/map-view";
|
|
7
7
|
import { mapPickerProps, mapPickerEmits, mapPropKeys } from "./props";
|
|
8
8
|
const _sfc_main = defineComponent({
|
|
9
9
|
name: "EleMapPicker",
|
|
10
|
-
components: {
|
|
10
|
+
components: { EleDialog, MapView },
|
|
11
11
|
props: mapPickerProps,
|
|
12
12
|
emits: mapPickerEmits,
|
|
13
13
|
setup(props, { emit }) {
|
|
@@ -56,8 +56,8 @@ const _export_sfc = (sfc, props) => {
|
|
|
56
56
|
};
|
|
57
57
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
58
58
|
const _component_MapView = resolveComponent("MapView");
|
|
59
|
-
const
|
|
60
|
-
return openBlock(), createBlock(
|
|
59
|
+
const _component_EleDialog = resolveComponent("EleDialog");
|
|
60
|
+
return openBlock(), createBlock(_component_EleDialog, mergeProps({
|
|
61
61
|
width: "740px",
|
|
62
62
|
title: _ctx.lang.title
|
|
63
63
|
}, _ctx.modalProps || {}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { StyleValue } from '../ele-app/types';
|
|
3
3
|
import { ElEmptyProps } from '../ele-app/el';
|
|
4
|
-
import {
|
|
4
|
+
import { EleDialogProps } from '../ele-app/plus';
|
|
5
5
|
import { SelectMode, PoiItem, MapLocale } from './types';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -104,7 +104,7 @@ export declare const mapPickerProps: {
|
|
|
104
104
|
/** 弹窗是否显示 */
|
|
105
105
|
modelValue: BooleanConstructor;
|
|
106
106
|
/** 弹窗参数 */
|
|
107
|
-
modalProps: PropType<Omit<
|
|
107
|
+
modalProps: PropType<Omit<EleDialogProps, "modelValue">>;
|
|
108
108
|
/** 是否开启响应式 */
|
|
109
109
|
responsive: {
|
|
110
110
|
type: BooleanConstructor;
|
|
@@ -371,10 +371,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
371
371
|
"onUpdate:maximized"?: ((_maximized: boolean) => any) | undefined;
|
|
372
372
|
onBodySizeChange?: ((_option: import('./types').BodySizeChangeOption) => any) | undefined;
|
|
373
373
|
}, {
|
|
374
|
+
height: string | number;
|
|
374
375
|
uniqueOpened: boolean;
|
|
375
376
|
collapse: boolean;
|
|
376
377
|
ellipsis: boolean;
|
|
377
|
-
height: string | number;
|
|
378
378
|
compact: boolean;
|
|
379
379
|
transitionDelay: number;
|
|
380
380
|
expanded: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ElFormInstance } from '../../ele-app/el';
|
|
3
|
-
import {
|
|
3
|
+
import { EleDialogProps } from '../../ele-app/plus';
|
|
4
4
|
import { Columns, DataItem, SpanMethod, SummaryMethod, TreeProps } from '../../ele-data-table/types';
|
|
5
5
|
import { TableLocale, ExportDataType, BeforeExport, Datasource, FetchFunction, ColItem, TableExportParams } from '../types';
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
13
13
|
/** 缓存本地的名称 */
|
|
14
14
|
cacheKey: StringConstructor;
|
|
15
15
|
/** 弹窗参数 */
|
|
16
|
-
modalProps: PropType<
|
|
16
|
+
modalProps: PropType<EleDialogProps>;
|
|
17
17
|
/** 列数据 */
|
|
18
18
|
columns: PropType<Columns>;
|
|
19
19
|
/** 表格选中数据 */
|
|
@@ -100,7 +100,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
100
100
|
/** 缓存本地的名称 */
|
|
101
101
|
cacheKey: StringConstructor;
|
|
102
102
|
/** 弹窗参数 */
|
|
103
|
-
modalProps: PropType<
|
|
103
|
+
modalProps: PropType<EleDialogProps>;
|
|
104
104
|
/** 列数据 */
|
|
105
105
|
columns: PropType<Columns>;
|
|
106
106
|
/** 表格选中数据 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, watch, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createVNode, createTextVNode, toDisplayString, withModifiers, createCommentVNode, createElementVNode } from "vue";
|
|
2
2
|
import { ElForm, ElFormItem, ElInput, ElSelect, ElOption, ElCheckbox, ElButton } from "element-plus";
|
|
3
3
|
import { findTree, eachTree } from "../../utils/core";
|
|
4
|
-
import
|
|
4
|
+
import EleDialog from "../../ele-dialog/index";
|
|
5
5
|
import { getCheckedColumns, columnsExportFilter, getExportData, exportCSV, getCacheColsWidth, getColItems } from "../util";
|
|
6
6
|
import ToolColumnList from "./tool-column-list";
|
|
7
7
|
const _sfc_main = defineComponent({
|
|
@@ -14,7 +14,7 @@ const _sfc_main = defineComponent({
|
|
|
14
14
|
ElOption,
|
|
15
15
|
ElCheckbox,
|
|
16
16
|
ElButton,
|
|
17
|
-
|
|
17
|
+
EleDialog,
|
|
18
18
|
ToolColumnList
|
|
19
19
|
},
|
|
20
20
|
props: {
|
|
@@ -349,8 +349,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
349
349
|
const _component_ToolColumnList = resolveComponent("ToolColumnList");
|
|
350
350
|
const _component_ElForm = resolveComponent("ElForm");
|
|
351
351
|
const _component_ElButton = resolveComponent("ElButton");
|
|
352
|
-
const
|
|
353
|
-
return openBlock(), createBlock(
|
|
352
|
+
const _component_EleDialog = resolveComponent("EleDialog");
|
|
353
|
+
return openBlock(), createBlock(_component_EleDialog, mergeProps({
|
|
354
354
|
form: true,
|
|
355
355
|
width: "460px",
|
|
356
356
|
title: _ctx.locale.export,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { EleDialogProps, ElePrinterProps, EleTableProps } from '../../ele-app/plus';
|
|
3
3
|
import { Columns, DataItem, SpanMethod, SummaryMethod, CellStyle, CellClass, HeaderCellStyle, HeaderCellClass, TreeProps } from '../../ele-data-table/types';
|
|
4
4
|
import { TableLocale, ExportDataType, BeforeExport, Datasource, FetchFunction, ColItem, TablePrintOptions, TableExportParams } from '../types';
|
|
5
5
|
|
|
@@ -12,7 +12,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
12
12
|
/** 缓存本地的名称 */
|
|
13
13
|
cacheKey: StringConstructor;
|
|
14
14
|
/** 弹窗参数 */
|
|
15
|
-
modalProps: PropType<
|
|
15
|
+
modalProps: PropType<EleDialogProps>;
|
|
16
16
|
/** 打印组件参数 */
|
|
17
17
|
printerProps: PropType<ElePrinterProps>;
|
|
18
18
|
/** 打印表格参数 */
|
|
@@ -104,7 +104,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
104
104
|
/** 缓存本地的名称 */
|
|
105
105
|
cacheKey: StringConstructor;
|
|
106
106
|
/** 弹窗参数 */
|
|
107
|
-
modalProps: PropType<
|
|
107
|
+
modalProps: PropType<EleDialogProps>;
|
|
108
108
|
/** 打印组件参数 */
|
|
109
109
|
printerProps: PropType<ElePrinterProps>;
|
|
110
110
|
/** 打印表格参数 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, watch, nextTick, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, mergeProps, withCtx, createTextVNode, toDisplayString, withModifiers, createBlock, createCommentVNode, createElementVNode, renderSlot, renderList, createSlots, normalizeStyle, normalizeClass } from "vue";
|
|
2
2
|
import { ElForm, ElFormItem, ElSelect, ElOption, ElCheckbox, ElButton } from "element-plus";
|
|
3
3
|
import { findTree, eachTree } from "../../utils/core";
|
|
4
|
-
import
|
|
4
|
+
import EleDialog from "../../ele-dialog/index";
|
|
5
5
|
import ElePrinter from "../../ele-printer/index";
|
|
6
6
|
import EleTable from "../../ele-table/index";
|
|
7
7
|
import { CellRender } from "../../ele-virtual-table/util";
|
|
@@ -19,7 +19,7 @@ const _sfc_main = defineComponent({
|
|
|
19
19
|
ElOption,
|
|
20
20
|
ElCheckbox,
|
|
21
21
|
ElButton,
|
|
22
|
-
|
|
22
|
+
EleDialog,
|
|
23
23
|
ElePrinter,
|
|
24
24
|
EleTable,
|
|
25
25
|
CellRender,
|
|
@@ -372,14 +372,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
372
372
|
const _component_ToolColumnList = resolveComponent("ToolColumnList");
|
|
373
373
|
const _component_ElForm = resolveComponent("ElForm");
|
|
374
374
|
const _component_ElButton = resolveComponent("ElButton");
|
|
375
|
-
const
|
|
375
|
+
const _component_EleDialog = resolveComponent("EleDialog");
|
|
376
376
|
const _component_ToolPrintHeaderCell = resolveComponent("ToolPrintHeaderCell");
|
|
377
377
|
const _component_ToolPrintBodyCell = resolveComponent("ToolPrintBodyCell");
|
|
378
378
|
const _component_CellRender = resolveComponent("CellRender");
|
|
379
379
|
const _component_EleTable = resolveComponent("EleTable");
|
|
380
380
|
const _component_ElePrinter = resolveComponent("ElePrinter");
|
|
381
381
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
382
|
-
createVNode(
|
|
382
|
+
createVNode(_component_EleDialog, mergeProps({
|
|
383
383
|
form: true,
|
|
384
384
|
width: "460px",
|
|
385
385
|
title: _ctx.locale.print,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EleDataTableInstance, EleVirtualTableInstance, ElePaginationProps,
|
|
1
|
+
import type { EleDataTableInstance, EleVirtualTableInstance, ElePaginationProps, EleDialogProps, ElePrinterProps, EleTableProps } from '../ele-app/plus';
|
|
2
2
|
import type { PaginationTotal } from '../ele-pagination/types';
|
|
3
3
|
import type { DataItem, Column, Columns, Sorter, Filter, TableColumn, TableSize, ResolveFunction } from '../ele-data-table/types';
|
|
4
4
|
import type { BodyColumns } from '../ele-virtual-table/types';
|
|
@@ -368,7 +368,7 @@ export type BeforeExport = (params: BeforeExportParams) => boolean | void;
|
|
|
368
368
|
*/
|
|
369
369
|
export interface ExportConfig {
|
|
370
370
|
/** 弹窗参数 */
|
|
371
|
-
modalProps?:
|
|
371
|
+
modalProps?: EleDialogProps;
|
|
372
372
|
/** 表格全部数据 */
|
|
373
373
|
datasource?: Datasource;
|
|
374
374
|
/** 导出前的钩子函数 */
|
|
@@ -392,7 +392,7 @@ export interface ExportConfig {
|
|
|
392
392
|
*/
|
|
393
393
|
export interface PrintConfig {
|
|
394
394
|
/** 弹窗参数 */
|
|
395
|
-
modalProps?:
|
|
395
|
+
modalProps?: EleDialogProps;
|
|
396
396
|
/** 打印组件参数 */
|
|
397
397
|
printerProps?: ElePrinterProps;
|
|
398
398
|
/** 打印表格参数 */
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock } from "vue";
|
|
2
|
+
const _sfc_main = defineComponent({
|
|
3
|
+
name: "EleTest"
|
|
4
|
+
});
|
|
5
|
+
const _export_sfc = (sfc, props) => {
|
|
6
|
+
const target = sfc.__vccOpts || sfc;
|
|
7
|
+
for (const [key, val] of props) {
|
|
8
|
+
target[key] = val;
|
|
9
|
+
}
|
|
10
|
+
return target;
|
|
11
|
+
};
|
|
12
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13
|
+
return openBlock(), createElementBlock("div", null, "测试");
|
|
14
|
+
}
|
|
15
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
16
|
+
export {
|
|
17
|
+
index as default
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@use '../../style/themes/default.scss' as *;
|
|
2
|
+
@use '../../style/util.scss' as *;
|
|
3
|
+
@use './css-var.scss' as *;
|
|
4
|
+
|
|
5
|
+
@include set-text-var($ele);
|
|
6
|
+
|
|
7
|
+
.yu-test {
|
|
8
|
+
color: elVar('text-color', 'regular');
|
|
9
|
+
font-size: elVar('font-size', 'base');
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
|
|
12
|
+
/* 类型 */
|
|
13
|
+
&.is-heading {
|
|
14
|
+
color: elVar('text-color', 'primary');
|
|
15
|
+
font-weight: eleVar('text', 'heading-weight');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.is-secondary {
|
|
19
|
+
color: elVar('text-color', 'secondary');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.is-placeholder {
|
|
23
|
+
color: elVar('text-color', 'placeholder');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.is-primary {
|
|
27
|
+
color: elVar('color-primary');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.is-success {
|
|
31
|
+
color: elVar('color-success');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.is-warning {
|
|
35
|
+
color: elVar('color-warning');
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.is-danger {
|
|
39
|
+
color: elVar('color-danger');
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.is-info {
|
|
43
|
+
color: elVar('color-info');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* 尺寸 */
|
|
47
|
+
&.is-xs {
|
|
48
|
+
font-size: elVar('font-size', 'extra-small');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.is-sm {
|
|
52
|
+
font-size: elVar('font-size', 'small');
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.is-md {
|
|
56
|
+
font-size: elVar('font-size', 'medium');
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.is-lg {
|
|
60
|
+
font-size: elVar('font-size', 'large');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.is-xl {
|
|
64
|
+
font-size: elVar('font-size', 'extra-large');
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.is-xxl {
|
|
68
|
+
font-size: eleVar('text', 'xxl');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.is-xxxl {
|
|
72
|
+
font-size: eleVar('text', 'xxxl');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* 其它 */
|
|
76
|
+
&.is-delete {
|
|
77
|
+
text-decoration: line-through;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.is-underline {
|
|
81
|
+
text-decoration: underline;
|
|
82
|
+
|
|
83
|
+
&.is-delete {
|
|
84
|
+
text-decoration: line-through underline;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.is-strong {
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.is-italic {
|
|
93
|
+
font-style: italic;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* 图标 */
|
|
97
|
+
&.is-icon > .el-icon {
|
|
98
|
+
vertical-align: -2px;
|
|
99
|
+
}
|
|
100
|
+
}
|