ll-plus 1.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
- package/es/component.mjs +8 -0
- package/es/component.mjs.map +1 -0
- package/es/components/icon/index.d.ts +55 -10
- package/es/components/icon/index.mjs +10 -0
- package/es/components/icon/index.mjs.map +1 -0
- package/es/components/icon/src/icon.d.ts +27 -3
- package/es/components/icon/src/icon.mjs +34 -0
- package/es/components/icon/src/icon.mjs.map +1 -0
- package/es/components/icon/src/icon.vue.d.ts +56 -10
- package/es/components/icon/src/icon.vue.mjs +8 -0
- package/es/components/icon/src/icon.vue.mjs.map +1 -0
- package/es/components/icon/src/icon.vue2.mjs +59 -0
- package/es/components/icon/src/icon.vue2.mjs.map +1 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +7 -0
- package/es/components/index.mjs.map +1 -0
- package/es/components/table/index.d.ts +592 -0
- package/es/components/table/index.mjs +10 -0
- package/es/components/table/index.mjs.map +1 -0
- package/es/components/table/src/components/header-search.vue.d.ts +110 -0
- package/es/components/table/src/components/header-search.vue.mjs +8 -0
- package/es/components/table/src/components/header-search.vue.mjs.map +1 -0
- package/es/components/table/src/components/header-search.vue2.mjs +125 -0
- package/es/components/table/src/components/header-search.vue2.mjs.map +1 -0
- package/es/components/table/src/components/main-table.vue.d.ts +254 -0
- package/es/components/table/src/components/main-table.vue.mjs +8 -0
- package/es/components/table/src/components/main-table.vue.mjs.map +1 -0
- package/es/components/table/src/components/main-table.vue2.mjs +549 -0
- package/es/components/table/src/components/main-table.vue2.mjs.map +1 -0
- package/es/components/table/src/components/pagination.vue.d.ts +65 -0
- package/es/components/table/src/components/pagination.vue.mjs +8 -0
- package/es/components/table/src/components/pagination.vue.mjs.map +1 -0
- package/es/components/table/src/components/pagination.vue2.mjs +37 -0
- package/es/components/table/src/components/pagination.vue2.mjs.map +1 -0
- package/es/components/table/src/table.d.ts +148 -0
- package/es/components/table/src/table.mjs +196 -0
- package/es/components/table/src/table.mjs.map +1 -0
- package/es/components/table/src/table.vue.d.ts +586 -0
- package/es/components/table/src/table.vue.mjs +8 -0
- package/es/components/table/src/table.vue.mjs.map +1 -0
- package/es/components/table/src/table.vue2.mjs +134 -0
- package/es/components/table/src/table.vue2.mjs.map +1 -0
- package/es/defaults.d.ts +4 -0
- package/es/defaults.mjs +8 -0
- package/es/defaults.mjs.map +1 -0
- package/es/index.d.ts +4 -6
- package/es/index.mjs +12 -0
- package/es/index.mjs.map +1 -0
- package/es/ll-plus/defaults.d.ts +4 -0
- package/es/ll-plus/index.d.ts +4 -0
- package/es/ll-plus/make-installer.d.ts +4 -0
- package/es/locale/index.d.ts +10 -0
- package/es/locale/index.mjs +6 -0
- package/es/locale/index.mjs.map +1 -0
- package/es/locale/lang/en_US.d.ts +144 -0
- package/es/locale/lang/en_US.mjs +147 -0
- package/es/locale/lang/en_US.mjs.map +1 -0
- package/es/locale/lang/zh_CN.d.ts +169 -0
- package/es/locale/lang/zh_CN.mjs +172 -0
- package/es/locale/lang/zh_CN.mjs.map +1 -0
- package/es/locale/lang/zh_TW.d.ts +125 -0
- package/es/locale/lang/zh_TW.mjs +128 -0
- package/es/locale/lang/zh_TW.mjs.map +1 -0
- package/es/make-installer.d.ts +4 -0
- package/es/make-installer.mjs +12 -0
- package/es/make-installer.mjs.map +1 -0
- package/es/utils/add-unit.mjs +7 -0
- package/es/utils/add-unit.mjs.map +1 -0
- package/es/utils/create-namespace.mjs +40 -0
- package/es/utils/create-namespace.mjs.map +1 -0
- package/es/utils/index.d.ts +2 -1
- package/es/utils/index.mjs +8 -0
- package/es/utils/index.mjs.map +1 -0
- package/es/utils/props/index.d.ts +3 -0
- package/es/utils/props/index.mjs +6 -0
- package/es/utils/props/index.mjs.map +1 -0
- package/es/utils/props/runtime.d.ts +29 -0
- package/es/utils/props/runtime.mjs +53 -0
- package/es/utils/props/runtime.mjs.map +1 -0
- package/es/utils/props/types.d.ts +120 -0
- package/es/utils/props/types.mjs +2 -0
- package/es/utils/props/types.mjs.map +1 -0
- package/es/utils/props/util.d.ts +8 -0
- package/es/utils/props/util.mjs +2 -0
- package/es/utils/props/util.mjs.map +1 -0
- package/es/utils/types.d.ts +10 -0
- package/es/utils/types.mjs +30 -0
- package/es/utils/types.mjs.map +1 -0
- package/es/utils/with-install.mjs +10 -0
- package/es/utils/with-install.mjs.map +1 -0
- package/global.d.ts +11 -0
- package/index.full.js +8305 -0
- package/index.full.min.js +25 -0
- package/index.full.min.js.map +1 -0
- package/index.full.min.mjs +25 -0
- package/index.full.min.mjs.map +1 -0
- package/index.full.mjs +8288 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +14 -0
- package/lib/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/lib/component.js +12 -0
- package/lib/component.js.map +1 -0
- package/lib/components/icon/index.d.ts +55 -10
- package/lib/components/icon/index.js +8 -31
- package/lib/components/icon/index.js.map +1 -0
- package/lib/components/icon/src/icon.d.ts +27 -3
- package/lib/components/icon/src/icon.js +36 -0
- package/lib/components/icon/src/icon.js.map +1 -0
- package/lib/components/icon/src/icon.vue.d.ts +56 -10
- package/lib/components/icon/src/icon.vue.js +12 -0
- package/lib/components/icon/src/icon.vue.js.map +1 -0
- package/lib/components/icon/src/icon.vue2.js +63 -0
- package/lib/components/icon/src/icon.vue2.js.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +15 -8
- package/lib/components/index.js.map +1 -0
- package/lib/components/table/index.d.ts +592 -0
- package/lib/components/table/index.js +21 -0
- package/lib/components/table/index.js.map +1 -0
- package/lib/components/table/src/components/header-search.vue.d.ts +110 -0
- package/lib/components/table/src/components/header-search.vue.js +12 -0
- package/lib/components/table/src/components/header-search.vue.js.map +1 -0
- package/lib/components/table/src/components/header-search.vue2.js +129 -0
- package/lib/components/table/src/components/header-search.vue2.js.map +1 -0
- package/lib/components/table/src/components/main-table.vue.d.ts +254 -0
- package/lib/components/table/src/components/main-table.vue.js +12 -0
- package/lib/components/table/src/components/main-table.vue.js.map +1 -0
- package/lib/components/table/src/components/main-table.vue2.js +553 -0
- package/lib/components/table/src/components/main-table.vue2.js.map +1 -0
- package/lib/components/table/src/components/pagination.vue.d.ts +65 -0
- package/lib/components/table/src/components/pagination.vue.js +12 -0
- package/lib/components/table/src/components/pagination.vue.js.map +1 -0
- package/lib/components/table/src/components/pagination.vue2.js +41 -0
- package/lib/components/table/src/components/pagination.vue2.js.map +1 -0
- package/lib/components/table/src/table.d.ts +148 -0
- package/lib/components/table/src/table.js +203 -0
- package/lib/components/table/src/table.js.map +1 -0
- package/lib/components/table/src/table.vue.d.ts +586 -0
- package/lib/components/table/src/table.vue.js +12 -0
- package/lib/components/table/src/table.vue.js.map +1 -0
- package/lib/components/table/src/table.vue2.js +138 -0
- package/lib/components/table/src/table.vue2.js.map +1 -0
- package/lib/defaults.d.ts +4 -0
- package/lib/defaults.js +12 -0
- package/lib/defaults.js.map +1 -0
- package/lib/index.d.ts +4 -6
- package/lib/index.js +20 -15
- package/lib/index.js.map +1 -0
- package/lib/ll-plus/component.d.ts +3 -0
- package/lib/ll-plus/defaults.d.ts +4 -0
- package/lib/ll-plus/index.d.ts +4 -0
- package/lib/ll-plus/make-installer.d.ts +4 -0
- package/lib/locale/index.d.ts +10 -0
- package/lib/locale/index.js +12 -0
- package/lib/locale/index.js.map +1 -0
- package/lib/locale/lang/en_US.d.ts +144 -0
- package/lib/locale/lang/en_US.js +151 -0
- package/lib/locale/lang/en_US.js.map +1 -0
- package/lib/locale/lang/zh_CN.d.ts +169 -0
- package/lib/locale/lang/zh_CN.js +176 -0
- package/lib/locale/lang/zh_CN.js.map +1 -0
- package/lib/locale/lang/zh_TW.d.ts +125 -0
- package/lib/locale/lang/zh_TW.js +132 -0
- package/lib/locale/lang/zh_TW.js.map +1 -0
- package/lib/make-installer.d.ts +4 -0
- package/lib/make-installer.js +14 -0
- package/lib/make-installer.js.map +1 -0
- package/lib/utils/add-unit.js +9 -0
- package/lib/utils/add-unit.js.map +1 -0
- package/lib/utils/create-namespace.js +34 -34
- package/lib/utils/create-namespace.js.map +1 -0
- package/lib/utils/index.d.ts +2 -1
- package/lib/utils/index.js +18 -18
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/props/index.d.ts +3 -0
- package/lib/utils/props/index.js +14 -0
- package/lib/utils/props/index.js.map +1 -0
- package/lib/utils/props/runtime.d.ts +29 -0
- package/lib/utils/props/runtime.js +59 -0
- package/lib/utils/props/runtime.js.map +1 -0
- package/lib/utils/props/types.d.ts +120 -0
- package/lib/utils/props/types.js +4 -0
- package/lib/utils/props/types.js.map +1 -0
- package/lib/utils/props/util.d.ts +8 -0
- package/lib/utils/props/util.js +4 -0
- package/lib/utils/props/util.js.map +1 -0
- package/lib/utils/types.d.ts +10 -0
- package/lib/utils/types.js +70 -0
- package/lib/utils/types.js.map +1 -0
- package/lib/utils/with-install.js +8 -6
- package/lib/utils/with-install.js.map +1 -0
- package/package.json +39 -3
- package/theme-chalk/css/icon.css +1 -1
- package/theme-chalk/css/index.css +5 -1
- package/theme-chalk/css/table.css +5 -0
- package/theme-chalk/fonts/iconfont.js +1 -0
- package/theme-chalk/fonts/iconfont.json +1262 -0
- package/types/packages/component.d.ts +3 -0
- package/types/packages/components/icon/index.d.ts +79 -0
- package/types/packages/components/icon/src/icon.d.ts +30 -0
- package/types/packages/components/icon/src/icon.vue.d.ts +73 -0
- package/types/packages/components/index.d.ts +2 -0
- package/types/packages/components/table/index.d.ts +592 -0
- package/types/packages/components/table/src/components/header-search.vue.d.ts +110 -0
- package/types/packages/components/table/src/components/main-table.vue.d.ts +254 -0
- package/types/packages/components/table/src/components/pagination.vue.d.ts +65 -0
- package/types/packages/components/table/src/table.d.ts +148 -0
- package/types/packages/components/table/src/table.vue.d.ts +586 -0
- package/types/packages/defaults.d.ts +4 -0
- package/types/packages/index.d.ts +4 -0
- package/types/packages/ll-plus/component.d.ts +3 -0
- package/types/packages/ll-plus/defaults.d.ts +4 -0
- package/types/packages/ll-plus/index.d.ts +4 -0
- package/types/packages/ll-plus/make-installer.d.ts +4 -0
- package/types/packages/locale/index.d.ts +10 -0
- package/types/packages/locale/lang/en_US.d.ts +144 -0
- package/types/packages/locale/lang/zh_CN.d.ts +169 -0
- package/types/packages/locale/lang/zh_TW.d.ts +125 -0
- package/types/packages/make-installer.d.ts +4 -0
- package/types/{utils → packages/utils}/index.d.ts +2 -1
- package/types/packages/utils/props/index.d.ts +3 -0
- package/types/packages/utils/props/runtime.d.ts +29 -0
- package/types/packages/utils/props/types.d.ts +120 -0
- package/types/packages/utils/props/util.d.ts +8 -0
- package/types/packages/utils/types.d.ts +10 -0
- package/types/tsconfig.web.tsbuildinfo +1 -0
- package/entry/types/index.d.ts +0 -6
- package/es/components/icon/index.js +0 -33
- package/es/components/index.js +0 -1
- package/es/components.js +0 -5
- package/es/index.js +0 -11
- package/es/utils/add-util.js +0 -3
- package/es/utils/create-namespace.js +0 -38
- package/es/utils/index.js +0 -3
- package/es/utils/with-install.js +0 -6
- package/index.esm.js +0 -91
- package/index.js +0 -101
- package/lib/components.js +0 -9
- package/lib/utils/add-util.js +0 -7
- package/theme-chalk/fonts/iconfont.ttf +0 -0
- package/theme-chalk/fonts/iconfont.woff +0 -0
- package/theme-chalk/fonts/iconfont.woff2 +0 -0
- package/types/components/icon/index.d.ts +0 -34
- package/types/components/icon/src/icon.d.ts +0 -6
- package/types/components/icon/src/icon.vue.d.ts +0 -27
- package/types/components/index.d.ts +0 -1
- /package/{entry/types/components.d.ts → es/component.d.ts} +0 -0
- /package/es/{components.d.ts → ll-plus/component.d.ts} +0 -0
- /package/es/utils/{add-util.d.ts → add-unit.d.ts} +0 -0
- /package/lib/{components.d.ts → component.d.ts} +0 -0
- /package/lib/utils/{add-util.d.ts → add-unit.d.ts} +0 -0
- /package/types/{utils/add-util.d.ts → packages/utils/add-unit.d.ts} +0 -0
- /package/types/{utils → packages/utils}/create-namespace.d.ts +0 -0
- /package/types/{utils → packages/utils}/with-install.d.ts +0 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { RadioChangeEvent } from 'ant-design-vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ll-plus/es/components").IMenuSwitchOptions) | (() => import("ll-plus/es/components").IMenuSwitchOptions) | ((new (...args: any[]) => import("ll-plus/es/components").IMenuSwitchOptions) | (() => import("ll-plus/es/components").IMenuSwitchOptions))[], unknown, unknown, () => {
|
|
4
|
+
show: boolean;
|
|
5
|
+
onChange: () => void;
|
|
6
|
+
}, boolean>;
|
|
7
|
+
}, {
|
|
8
|
+
props: import("@vue/shared").LooseRequired<{
|
|
9
|
+
readonly menuSwitchOptions: import("ll-plus/es/components").IMenuSwitchOptions;
|
|
10
|
+
readonly onHandleSwitchMenuChange?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
} & {}>;
|
|
12
|
+
emits: (event: "handleSwitchMenuChange", ...args: any[]) => void;
|
|
13
|
+
bem: {
|
|
14
|
+
b: (blockSuffix?: string) => string;
|
|
15
|
+
e: (element?: string) => string;
|
|
16
|
+
m: (modifier?: string) => string;
|
|
17
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
18
|
+
em: (element: string, modifier: string) => string;
|
|
19
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
20
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
21
|
+
is: (name?: string) => string;
|
|
22
|
+
};
|
|
23
|
+
handleMenuSwitchChange: (event: RadioChangeEvent) => void;
|
|
24
|
+
contentType: unknown;
|
|
25
|
+
readonly menuSwitchRadioList: {
|
|
26
|
+
value: import("ll-plus/es/components").ImenuSwitchType;
|
|
27
|
+
icon: string;
|
|
28
|
+
}[];
|
|
29
|
+
readonly LlIcon: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
30
|
+
readonly iconName: {
|
|
31
|
+
readonly type: import("vue").PropType<string>;
|
|
32
|
+
readonly required: false;
|
|
33
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
|
+
__epPropKey: true;
|
|
35
|
+
};
|
|
36
|
+
readonly className: {
|
|
37
|
+
readonly type: import("vue").PropType<string>;
|
|
38
|
+
readonly required: false;
|
|
39
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
40
|
+
__epPropKey: true;
|
|
41
|
+
};
|
|
42
|
+
readonly color: {
|
|
43
|
+
readonly type: import("vue").PropType<string>;
|
|
44
|
+
readonly required: false;
|
|
45
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
+
__epPropKey: true;
|
|
47
|
+
};
|
|
48
|
+
readonly size: {
|
|
49
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
50
|
+
readonly required: false;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
+
__epPropKey: true;
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
props: import("@vue/shared").LooseRequired<{
|
|
56
|
+
readonly iconName?: string | undefined;
|
|
57
|
+
readonly className?: string | undefined;
|
|
58
|
+
readonly color?: string | undefined;
|
|
59
|
+
readonly size?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
60
|
+
} & {}>;
|
|
61
|
+
iconName: import("vue").ComputedRef<string>;
|
|
62
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
63
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
64
|
+
bem: {
|
|
65
|
+
b: (blockSuffix?: string) => string;
|
|
66
|
+
e: (element?: string) => string;
|
|
67
|
+
m: (modifier?: string) => string;
|
|
68
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
69
|
+
em: (element: string, modifier: string) => string;
|
|
70
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
71
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
72
|
+
is: (name?: string) => string;
|
|
73
|
+
};
|
|
74
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
+
readonly iconName: {
|
|
76
|
+
readonly type: import("vue").PropType<string>;
|
|
77
|
+
readonly required: false;
|
|
78
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
|
+
__epPropKey: true;
|
|
80
|
+
};
|
|
81
|
+
readonly className: {
|
|
82
|
+
readonly type: import("vue").PropType<string>;
|
|
83
|
+
readonly required: false;
|
|
84
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
|
+
__epPropKey: true;
|
|
86
|
+
};
|
|
87
|
+
readonly color: {
|
|
88
|
+
readonly type: import("vue").PropType<string>;
|
|
89
|
+
readonly required: false;
|
|
90
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
|
+
__epPropKey: true;
|
|
92
|
+
};
|
|
93
|
+
readonly size: {
|
|
94
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
95
|
+
readonly required: false;
|
|
96
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
|
+
__epPropKey: true;
|
|
98
|
+
};
|
|
99
|
+
}>>, {}, {}>>;
|
|
100
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handleSwitchMenuChange"[], "handleSwitchMenuChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
101
|
+
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ll-plus/es/components").IMenuSwitchOptions) | (() => import("ll-plus/es/components").IMenuSwitchOptions) | ((new (...args: any[]) => import("ll-plus/es/components").IMenuSwitchOptions) | (() => import("ll-plus/es/components").IMenuSwitchOptions))[], unknown, unknown, () => {
|
|
102
|
+
show: boolean;
|
|
103
|
+
onChange: () => void;
|
|
104
|
+
}, boolean>;
|
|
105
|
+
}>> & {
|
|
106
|
+
onHandleSwitchMenuChange?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
readonly menuSwitchOptions: import("ll-plus/es/components").IMenuSwitchOptions;
|
|
109
|
+
}, {}>;
|
|
110
|
+
export default _default;
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
readonly settingKey: {
|
|
3
|
+
readonly type: import("vue").PropType<string>;
|
|
4
|
+
readonly required: false;
|
|
5
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6
|
+
__epPropKey: true;
|
|
7
|
+
};
|
|
8
|
+
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
9
|
+
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
10
|
+
readonly showDrag: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
11
|
+
readonly showIndexColumn: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
12
|
+
readonly showOperate: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14
|
+
readonly scroll: {
|
|
15
|
+
readonly type: import("vue").PropType<import("../table").ITableScroll>;
|
|
16
|
+
readonly required: false;
|
|
17
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
18
|
+
__epPropKey: true;
|
|
19
|
+
};
|
|
20
|
+
readonly expandedRowKeys: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => never[], boolean>;
|
|
21
|
+
readonly hiddenPagination: {
|
|
22
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
23
|
+
readonly required: false;
|
|
24
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
25
|
+
__epPropKey: true;
|
|
26
|
+
};
|
|
27
|
+
readonly customRowProps: import("ll-plus/es/utils").EpPropFinalized<FunctionConstructor, unknown, unknown, () => void, boolean>;
|
|
28
|
+
readonly expand: {
|
|
29
|
+
readonly type: import("vue").PropType<Function>;
|
|
30
|
+
readonly required: false;
|
|
31
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
32
|
+
__epPropKey: true;
|
|
33
|
+
};
|
|
34
|
+
readonly change: {
|
|
35
|
+
readonly type: import("vue").PropType<Function>;
|
|
36
|
+
readonly required: false;
|
|
37
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
|
+
__epPropKey: true;
|
|
39
|
+
};
|
|
40
|
+
readonly expandedRowsChange: {
|
|
41
|
+
readonly type: import("vue").PropType<Function>;
|
|
42
|
+
readonly required: false;
|
|
43
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
+
__epPropKey: true;
|
|
45
|
+
};
|
|
46
|
+
readonly resizeColumn: {
|
|
47
|
+
readonly type: import("vue").PropType<Function>;
|
|
48
|
+
readonly required: false;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
+
__epPropKey: true;
|
|
51
|
+
};
|
|
52
|
+
readonly dragChange: {
|
|
53
|
+
readonly type: import("vue").PropType<Function>;
|
|
54
|
+
readonly required: false;
|
|
55
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
56
|
+
__epPropKey: true;
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
props: import("@vue/shared").LooseRequired<{
|
|
60
|
+
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
61
|
+
readonly dataSource: any[];
|
|
62
|
+
readonly showDrag: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
63
|
+
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
64
|
+
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
65
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
66
|
+
readonly expandedRowKeys: string[];
|
|
67
|
+
readonly customRowProps: Function;
|
|
68
|
+
readonly settingKey?: string | undefined;
|
|
69
|
+
readonly scroll?: import("../table").ITableScroll | undefined;
|
|
70
|
+
readonly hiddenPagination?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
71
|
+
readonly expand?: Function | undefined;
|
|
72
|
+
readonly change?: Function | undefined;
|
|
73
|
+
readonly expandedRowsChange?: Function | undefined;
|
|
74
|
+
readonly resizeColumn?: Function | undefined;
|
|
75
|
+
readonly dragChange?: Function | undefined;
|
|
76
|
+
readonly onHandleChangeDataSource?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
} & {}>;
|
|
78
|
+
emits: (event: "handleChangeDataSource", ...args: any[]) => void;
|
|
79
|
+
attrs: {
|
|
80
|
+
[x: string]: unknown;
|
|
81
|
+
};
|
|
82
|
+
newColumns: any;
|
|
83
|
+
settingColumns: any;
|
|
84
|
+
newDataSource: any;
|
|
85
|
+
newExpandedRowKeys: any;
|
|
86
|
+
preIndex: number;
|
|
87
|
+
nextIndex: number;
|
|
88
|
+
bem: {
|
|
89
|
+
b: (blockSuffix?: string) => string;
|
|
90
|
+
e: (element?: string) => string;
|
|
91
|
+
m: (modifier?: string) => string;
|
|
92
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
93
|
+
em: (element: string, modifier: string) => string;
|
|
94
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
95
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
96
|
+
is: (name?: string) => string;
|
|
97
|
+
};
|
|
98
|
+
handleAddSerialNumberAndOperateToColumns: () => void;
|
|
99
|
+
handleColumnsSortByFixed: (list: any, isDrag?: boolean) => void;
|
|
100
|
+
handleExpand: (expanded: boolean, record: any) => void;
|
|
101
|
+
handleResizeColumn: (w: any, col: any) => void;
|
|
102
|
+
dragCustomRow: (_: any, index: number) => any;
|
|
103
|
+
isAllCheck: import("vue").ComputedRef<any>;
|
|
104
|
+
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
105
|
+
handleChangeColumns: () => void;
|
|
106
|
+
handleColumnItemChange: (value: boolean, item: any) => void;
|
|
107
|
+
handleAllColumnChange: (e: any) => void;
|
|
108
|
+
dragChange: () => void;
|
|
109
|
+
handleClickResetBtn: () => void;
|
|
110
|
+
handleClickSubmitBtn: () => void;
|
|
111
|
+
handleColumnMove: (element: any, way: string) => void;
|
|
112
|
+
readonly draggable: import("vue").DefineComponent<{
|
|
113
|
+
list: {
|
|
114
|
+
type: ArrayConstructor;
|
|
115
|
+
required: boolean;
|
|
116
|
+
default: any;
|
|
117
|
+
};
|
|
118
|
+
modelValue: {
|
|
119
|
+
type: ArrayConstructor;
|
|
120
|
+
required: boolean;
|
|
121
|
+
default: any;
|
|
122
|
+
};
|
|
123
|
+
itemKey: {
|
|
124
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
125
|
+
required: boolean;
|
|
126
|
+
};
|
|
127
|
+
clone: {
|
|
128
|
+
type: FunctionConstructor;
|
|
129
|
+
default: (original: any) => any;
|
|
130
|
+
};
|
|
131
|
+
tag: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
move: {
|
|
136
|
+
type: FunctionConstructor;
|
|
137
|
+
default: any;
|
|
138
|
+
};
|
|
139
|
+
componentData: {
|
|
140
|
+
type: ObjectConstructor;
|
|
141
|
+
required: boolean;
|
|
142
|
+
default: any;
|
|
143
|
+
};
|
|
144
|
+
}, unknown, {
|
|
145
|
+
error: boolean;
|
|
146
|
+
}, {
|
|
147
|
+
realList(): any;
|
|
148
|
+
getKey(): any;
|
|
149
|
+
}, {
|
|
150
|
+
getUnderlyingVm(domElement: any): any;
|
|
151
|
+
getUnderlyingPotencialDraggableComponent(htmElement: any): any;
|
|
152
|
+
emitChanges(evt: any): void;
|
|
153
|
+
alterList(onList: any): void;
|
|
154
|
+
spliceList(): void;
|
|
155
|
+
updatePosition(oldIndex: any, newIndex: any): void;
|
|
156
|
+
getRelatedContextFromMoveEvent({ to, related }: {
|
|
157
|
+
to: any;
|
|
158
|
+
related: any;
|
|
159
|
+
}): any;
|
|
160
|
+
getVmIndexFromDomIndex(domIndex: any): any;
|
|
161
|
+
onDragStart(evt: any): void;
|
|
162
|
+
onDragAdd(evt: any): void;
|
|
163
|
+
onDragRemove(evt: any): void;
|
|
164
|
+
onDragUpdate(evt: any): void;
|
|
165
|
+
computeFutureIndex(relatedContext: any, evt: any): any;
|
|
166
|
+
onDragMove(evt: any, originalEvent: any): any;
|
|
167
|
+
onDragEnd(): void;
|
|
168
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
169
|
+
move: Function;
|
|
170
|
+
tag: string;
|
|
171
|
+
clone: Function;
|
|
172
|
+
list: unknown[];
|
|
173
|
+
modelValue: unknown[];
|
|
174
|
+
componentData: Record<string, any>;
|
|
175
|
+
} & {
|
|
176
|
+
itemKey?: string | Function | undefined;
|
|
177
|
+
}>, {
|
|
178
|
+
move: Function;
|
|
179
|
+
tag: string;
|
|
180
|
+
clone: Function;
|
|
181
|
+
list: unknown[];
|
|
182
|
+
modelValue: unknown[];
|
|
183
|
+
componentData: Record<string, any>;
|
|
184
|
+
}, {}>;
|
|
185
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handleChangeDataSource"[], "handleChangeDataSource", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
186
|
+
readonly settingKey: {
|
|
187
|
+
readonly type: import("vue").PropType<string>;
|
|
188
|
+
readonly required: false;
|
|
189
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
190
|
+
__epPropKey: true;
|
|
191
|
+
};
|
|
192
|
+
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
193
|
+
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
194
|
+
readonly showDrag: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
195
|
+
readonly showIndexColumn: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
196
|
+
readonly showOperate: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
197
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
198
|
+
readonly scroll: {
|
|
199
|
+
readonly type: import("vue").PropType<import("../table").ITableScroll>;
|
|
200
|
+
readonly required: false;
|
|
201
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
202
|
+
__epPropKey: true;
|
|
203
|
+
};
|
|
204
|
+
readonly expandedRowKeys: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => never[], boolean>;
|
|
205
|
+
readonly hiddenPagination: {
|
|
206
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
207
|
+
readonly required: false;
|
|
208
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
209
|
+
__epPropKey: true;
|
|
210
|
+
};
|
|
211
|
+
readonly customRowProps: import("ll-plus/es/utils").EpPropFinalized<FunctionConstructor, unknown, unknown, () => void, boolean>;
|
|
212
|
+
readonly expand: {
|
|
213
|
+
readonly type: import("vue").PropType<Function>;
|
|
214
|
+
readonly required: false;
|
|
215
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
216
|
+
__epPropKey: true;
|
|
217
|
+
};
|
|
218
|
+
readonly change: {
|
|
219
|
+
readonly type: import("vue").PropType<Function>;
|
|
220
|
+
readonly required: false;
|
|
221
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
222
|
+
__epPropKey: true;
|
|
223
|
+
};
|
|
224
|
+
readonly expandedRowsChange: {
|
|
225
|
+
readonly type: import("vue").PropType<Function>;
|
|
226
|
+
readonly required: false;
|
|
227
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
228
|
+
__epPropKey: true;
|
|
229
|
+
};
|
|
230
|
+
readonly resizeColumn: {
|
|
231
|
+
readonly type: import("vue").PropType<Function>;
|
|
232
|
+
readonly required: false;
|
|
233
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
234
|
+
__epPropKey: true;
|
|
235
|
+
};
|
|
236
|
+
readonly dragChange: {
|
|
237
|
+
readonly type: import("vue").PropType<Function>;
|
|
238
|
+
readonly required: false;
|
|
239
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
240
|
+
__epPropKey: true;
|
|
241
|
+
};
|
|
242
|
+
}>> & {
|
|
243
|
+
onHandleChangeDataSource?: ((...args: any[]) => any) | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
246
|
+
readonly dataSource: any[];
|
|
247
|
+
readonly showDrag: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
248
|
+
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
249
|
+
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
250
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
251
|
+
readonly expandedRowKeys: string[];
|
|
252
|
+
readonly customRowProps: Function;
|
|
253
|
+
}, {}>;
|
|
254
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
readonly current: {
|
|
3
|
+
readonly type: import("vue").PropType<number>;
|
|
4
|
+
readonly required: true;
|
|
5
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6
|
+
__epPropKey: true;
|
|
7
|
+
};
|
|
8
|
+
readonly pageSize: {
|
|
9
|
+
readonly type: import("vue").PropType<number>;
|
|
10
|
+
readonly required: true;
|
|
11
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12
|
+
__epPropKey: true;
|
|
13
|
+
};
|
|
14
|
+
readonly total: {
|
|
15
|
+
readonly type: import("vue").PropType<number>;
|
|
16
|
+
readonly required: true;
|
|
17
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
18
|
+
__epPropKey: true;
|
|
19
|
+
};
|
|
20
|
+
readonly onChange: import("ll-plus/es/utils").EpPropFinalized<FunctionConstructor, unknown, unknown, () => void, boolean>;
|
|
21
|
+
}, {
|
|
22
|
+
props: import("@vue/shared").LooseRequired<{
|
|
23
|
+
readonly onChange: Function;
|
|
24
|
+
readonly total: number;
|
|
25
|
+
readonly current: number;
|
|
26
|
+
readonly pageSize: number;
|
|
27
|
+
} & {}>;
|
|
28
|
+
attrs: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
bem: {
|
|
32
|
+
b: (blockSuffix?: string) => string;
|
|
33
|
+
e: (element?: string) => string;
|
|
34
|
+
m: (modifier?: string) => string;
|
|
35
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
36
|
+
em: (element: string, modifier: string) => string;
|
|
37
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
38
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
39
|
+
is: (name?: string) => string;
|
|
40
|
+
};
|
|
41
|
+
handlePageChange: (page: number, pageSize: number) => any;
|
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
readonly current: {
|
|
44
|
+
readonly type: import("vue").PropType<number>;
|
|
45
|
+
readonly required: true;
|
|
46
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
|
+
__epPropKey: true;
|
|
48
|
+
};
|
|
49
|
+
readonly pageSize: {
|
|
50
|
+
readonly type: import("vue").PropType<number>;
|
|
51
|
+
readonly required: true;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
};
|
|
55
|
+
readonly total: {
|
|
56
|
+
readonly type: import("vue").PropType<number>;
|
|
57
|
+
readonly required: true;
|
|
58
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
|
+
__epPropKey: true;
|
|
60
|
+
};
|
|
61
|
+
readonly onChange: import("ll-plus/es/utils").EpPropFinalized<FunctionConstructor, unknown, unknown, () => void, boolean>;
|
|
62
|
+
}>>, {
|
|
63
|
+
readonly onChange: Function;
|
|
64
|
+
}, {}>;
|
|
65
|
+
export default _default;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { TableColumnProps } from 'ant-design-vue';
|
|
3
|
+
import type HeaderSearch from './components/header-search.vue';
|
|
4
|
+
import type MainTable from './components/main-table.vue';
|
|
5
|
+
import type Pagination from './components/pagination.vue';
|
|
6
|
+
import type Table from './table.vue';
|
|
7
|
+
export declare const enum ImenuSwitchType {
|
|
8
|
+
TABLE = "table",
|
|
9
|
+
CARD = "card"
|
|
10
|
+
}
|
|
11
|
+
export declare const menuSwitchRadioList: {
|
|
12
|
+
value: ImenuSwitchType;
|
|
13
|
+
icon: string;
|
|
14
|
+
}[];
|
|
15
|
+
export interface IMenuSwitchOptions {
|
|
16
|
+
show?: boolean;
|
|
17
|
+
onChange?: (value: ImenuSwitchType) => void;
|
|
18
|
+
}
|
|
19
|
+
export interface ITableScroll {
|
|
20
|
+
x: number | string | boolean;
|
|
21
|
+
y: number | string;
|
|
22
|
+
}
|
|
23
|
+
export declare const tableHeaderSearchProps: {
|
|
24
|
+
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => IMenuSwitchOptions) | (() => IMenuSwitchOptions) | ((new (...args: any[]) => IMenuSwitchOptions) | (() => IMenuSwitchOptions))[], unknown, unknown, () => {
|
|
25
|
+
show: boolean;
|
|
26
|
+
onChange: () => void;
|
|
27
|
+
}, boolean>;
|
|
28
|
+
};
|
|
29
|
+
export declare const mainTableProps: {
|
|
30
|
+
readonly settingKey: {
|
|
31
|
+
readonly type: import("vue").PropType<string>;
|
|
32
|
+
readonly required: false;
|
|
33
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
|
+
__epPropKey: true;
|
|
35
|
+
};
|
|
36
|
+
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]) | ((new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
37
|
+
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
38
|
+
readonly showDrag: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
39
|
+
readonly showIndexColumn: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
40
|
+
readonly showOperate: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
41
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
42
|
+
readonly scroll: {
|
|
43
|
+
readonly type: import("vue").PropType<ITableScroll>;
|
|
44
|
+
readonly required: false;
|
|
45
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
+
__epPropKey: true;
|
|
47
|
+
};
|
|
48
|
+
readonly expandedRowKeys: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => never[], boolean>;
|
|
49
|
+
readonly hiddenPagination: {
|
|
50
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
51
|
+
readonly required: false;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
};
|
|
55
|
+
readonly customRowProps: import("ll-plus/es/utils").EpPropFinalized<FunctionConstructor, unknown, unknown, () => void, boolean>;
|
|
56
|
+
readonly expand: {
|
|
57
|
+
readonly type: import("vue").PropType<Function>;
|
|
58
|
+
readonly required: false;
|
|
59
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
|
+
__epPropKey: true;
|
|
61
|
+
};
|
|
62
|
+
readonly change: {
|
|
63
|
+
readonly type: import("vue").PropType<Function>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
};
|
|
68
|
+
readonly expandedRowsChange: {
|
|
69
|
+
readonly type: import("vue").PropType<Function>;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
};
|
|
74
|
+
readonly resizeColumn: {
|
|
75
|
+
readonly type: import("vue").PropType<Function>;
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
+
__epPropKey: true;
|
|
79
|
+
};
|
|
80
|
+
readonly dragChange: {
|
|
81
|
+
readonly type: import("vue").PropType<Function>;
|
|
82
|
+
readonly required: false;
|
|
83
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
|
+
__epPropKey: true;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export declare const tablePaginationProps: {
|
|
88
|
+
readonly current: {
|
|
89
|
+
readonly type: import("vue").PropType<number>;
|
|
90
|
+
readonly required: true;
|
|
91
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
|
+
__epPropKey: true;
|
|
93
|
+
};
|
|
94
|
+
readonly pageSize: {
|
|
95
|
+
readonly type: import("vue").PropType<number>;
|
|
96
|
+
readonly required: true;
|
|
97
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
|
+
__epPropKey: true;
|
|
99
|
+
};
|
|
100
|
+
readonly total: {
|
|
101
|
+
readonly type: import("vue").PropType<number>;
|
|
102
|
+
readonly required: true;
|
|
103
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
+
__epPropKey: true;
|
|
105
|
+
};
|
|
106
|
+
readonly onChange: import("ll-plus/es/utils").EpPropFinalized<FunctionConstructor, unknown, unknown, () => void, boolean>;
|
|
107
|
+
};
|
|
108
|
+
export declare const tableProps: {
|
|
109
|
+
readonly loading: {
|
|
110
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
111
|
+
readonly required: false;
|
|
112
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
113
|
+
__epPropKey: true;
|
|
114
|
+
};
|
|
115
|
+
readonly headerSearchProps: {
|
|
116
|
+
readonly type: import("vue").PropType<{
|
|
117
|
+
readonly menuSwitchOptions: IMenuSwitchOptions;
|
|
118
|
+
}>;
|
|
119
|
+
readonly required: true;
|
|
120
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
121
|
+
__epPropKey: true;
|
|
122
|
+
};
|
|
123
|
+
readonly tableProps: {
|
|
124
|
+
readonly type: import("vue").PropType<MainTable>;
|
|
125
|
+
readonly required: true;
|
|
126
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
127
|
+
__epPropKey: true;
|
|
128
|
+
};
|
|
129
|
+
readonly paginationProps: {
|
|
130
|
+
readonly type: import("vue").PropType<{
|
|
131
|
+
readonly onChange: Function;
|
|
132
|
+
readonly total: number;
|
|
133
|
+
readonly current: number;
|
|
134
|
+
readonly pageSize: number;
|
|
135
|
+
}>;
|
|
136
|
+
readonly required: true;
|
|
137
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
138
|
+
__epPropKey: true;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
export type TableHeaderSearchProps = ExtractPropTypes<typeof tableHeaderSearchProps>;
|
|
142
|
+
export type MainTable = ExtractPropTypes<typeof mainTableProps>;
|
|
143
|
+
export type TablePaginationProps = ExtractPropTypes<typeof tablePaginationProps>;
|
|
144
|
+
export type TableProps = ExtractPropTypes<typeof tableProps>;
|
|
145
|
+
export type TableHeaderSearchInstance = InstanceType<typeof HeaderSearch>;
|
|
146
|
+
export type MainTableInstance = InstanceType<typeof MainTable>;
|
|
147
|
+
export type TablePaginationInstance = InstanceType<typeof Pagination>;
|
|
148
|
+
export type TableInstance = InstanceType<typeof Table>;
|