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,8 @@
|
|
|
1
|
+
import _sfc_main from './header-search.vue2.mjs';
|
|
2
|
+
import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
3
|
+
|
|
4
|
+
"use strict";
|
|
5
|
+
var HeaderSearch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "header-search.vue"]]);
|
|
6
|
+
|
|
7
|
+
export { HeaderSearch as default };
|
|
8
|
+
//# sourceMappingURL=header-search.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-search.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { defineComponent, inject, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createCommentVNode, renderSlot, createBlock, isRef, withCtx, Fragment, renderList, createVNode } from 'vue';
|
|
2
|
+
import { tableHeaderSearchProps, menuSwitchRadioList } from '../table.mjs';
|
|
3
|
+
import '../../../../utils/index.mjs';
|
|
4
|
+
import '../../../index.mjs';
|
|
5
|
+
import { createNamespace } from '../../../../utils/create-namespace.mjs';
|
|
6
|
+
import { LlIcon } from '../../../icon/index.mjs';
|
|
7
|
+
|
|
8
|
+
"use strict";
|
|
9
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
...{
|
|
11
|
+
name: "TableHeaderSearch"
|
|
12
|
+
},
|
|
13
|
+
__name: "header-search",
|
|
14
|
+
props: tableHeaderSearchProps,
|
|
15
|
+
emits: ["handleSwitchMenuChange"],
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const emits = __emit;
|
|
19
|
+
const bem = createNamespace("table");
|
|
20
|
+
const handleMenuSwitchChange = (event) => {
|
|
21
|
+
const target = event.target;
|
|
22
|
+
const value = target.value;
|
|
23
|
+
props.menuSwitchOptions.onChange && props.menuSwitchOptions.onChange(value);
|
|
24
|
+
emits("handleSwitchMenuChange", value);
|
|
25
|
+
};
|
|
26
|
+
const contentType = inject("contentType");
|
|
27
|
+
return (_ctx, _cache) => {
|
|
28
|
+
const _component_a_radio_button = resolveComponent("a-radio-button");
|
|
29
|
+
const _component_a_radio_group = resolveComponent("a-radio-group");
|
|
30
|
+
return openBlock(), createElementBlock(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
class: normalizeClass(`${unref(bem).e("header-wrapper")}`)
|
|
34
|
+
},
|
|
35
|
+
[
|
|
36
|
+
createElementVNode(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
class: normalizeClass(unref(bem).e("header"))
|
|
40
|
+
},
|
|
41
|
+
[
|
|
42
|
+
createCommentVNode(" \u5DE6\u8FB9\u7684\u63D2\u69FD "),
|
|
43
|
+
createElementVNode(
|
|
44
|
+
"div",
|
|
45
|
+
{
|
|
46
|
+
class: normalizeClass(unref(bem).e("header-left"))
|
|
47
|
+
},
|
|
48
|
+
[
|
|
49
|
+
renderSlot(_ctx.$slots, "searchLeft")
|
|
50
|
+
],
|
|
51
|
+
2
|
|
52
|
+
/* CLASS */
|
|
53
|
+
),
|
|
54
|
+
createCommentVNode(" \u5185\u5BB9\u4E2D\u95F4\u63D2\u69FD "),
|
|
55
|
+
createElementVNode(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
class: normalizeClass(unref(bem).e("header-middle"))
|
|
59
|
+
},
|
|
60
|
+
[
|
|
61
|
+
renderSlot(_ctx.$slots, "searchMiddle")
|
|
62
|
+
],
|
|
63
|
+
2
|
|
64
|
+
/* CLASS */
|
|
65
|
+
),
|
|
66
|
+
createElementVNode(
|
|
67
|
+
"div",
|
|
68
|
+
{
|
|
69
|
+
class: normalizeClass(unref(bem).e("header-right"))
|
|
70
|
+
},
|
|
71
|
+
[
|
|
72
|
+
renderSlot(_ctx.$slots, "searchRight"),
|
|
73
|
+
createCommentVNode(" \u5207\u6362table\u548Clist\u83DC\u5355 "),
|
|
74
|
+
props.menuSwitchOptions.show ? (openBlock(), createBlock(_component_a_radio_group, {
|
|
75
|
+
key: 0,
|
|
76
|
+
value: unref(contentType),
|
|
77
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => isRef(contentType) ? contentType.value = $event : null),
|
|
78
|
+
class: normalizeClass(`m-l20 ${unref(bem).e("header-menu-radio-group")}`),
|
|
79
|
+
onChange: handleMenuSwitchChange
|
|
80
|
+
}, {
|
|
81
|
+
default: withCtx(() => [
|
|
82
|
+
(openBlock(true), createElementBlock(
|
|
83
|
+
Fragment,
|
|
84
|
+
null,
|
|
85
|
+
renderList(unref(menuSwitchRadioList), (menuItem) => {
|
|
86
|
+
return openBlock(), createBlock(_component_a_radio_button, {
|
|
87
|
+
key: menuItem.value,
|
|
88
|
+
class: normalizeClass(`${unref(bem).e("header-menu-icon")}`),
|
|
89
|
+
value: menuItem.value
|
|
90
|
+
}, {
|
|
91
|
+
default: withCtx(() => [
|
|
92
|
+
createVNode(unref(LlIcon), {
|
|
93
|
+
"icon-name": menuItem.icon,
|
|
94
|
+
size: 18
|
|
95
|
+
}, null, 8, ["icon-name"])
|
|
96
|
+
]),
|
|
97
|
+
_: 2
|
|
98
|
+
/* DYNAMIC */
|
|
99
|
+
}, 1032, ["class", "value"]);
|
|
100
|
+
}),
|
|
101
|
+
128
|
|
102
|
+
/* KEYED_FRAGMENT */
|
|
103
|
+
))
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
/* STABLE */
|
|
107
|
+
}, 8, ["value", "class"])) : createCommentVNode("v-if", true)
|
|
108
|
+
],
|
|
109
|
+
2
|
|
110
|
+
/* CLASS */
|
|
111
|
+
)
|
|
112
|
+
],
|
|
113
|
+
2
|
|
114
|
+
/* CLASS */
|
|
115
|
+
)
|
|
116
|
+
],
|
|
117
|
+
2
|
|
118
|
+
/* CLASS */
|
|
119
|
+
);
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
export { _sfc_main as default };
|
|
125
|
+
//# sourceMappingURL=header-search.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-search.vue2.mjs","sources":["../../../../../../packages/components/table/src/components/header-search.vue"],"sourcesContent":["<template>\n <div :class=\"`${bem.e('header-wrapper')}`\">\n <div :class=\"bem.e('header')\">\n <!-- 左边的插槽 -->\n <div :class=\"bem.e('header-left')\">\n <slot name=\"searchLeft\"> </slot>\n </div>\n <!-- 内容中间插槽 -->\n <div :class=\"bem.e('header-middle')\">\n <slot name=\"searchMiddle\"></slot>\n </div>\n <div :class=\"bem.e('header-right')\">\n <slot name=\"searchRight\"></slot>\n <!-- 切换table和list菜单 -->\n <a-radio-group\n v-if=\"props.menuSwitchOptions.show\"\n v-model:value=\"contentType\"\n :class=\"`m-l20 ${bem.e('header-menu-radio-group')}`\"\n @change=\"handleMenuSwitchChange\"\n >\n <a-radio-button\n v-for=\"menuItem in menuSwitchRadioList\"\n :key=\"menuItem.value\"\n :class=\"`${bem.e('header-menu-icon')}`\"\n :value=\"menuItem.value\"\n >\n <ll-icon :icon-name=\"menuItem.icon\" :size=\"18\" />\n </a-radio-button>\n </a-radio-group>\n </div>\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { inject } from 'vue'\n\nimport { menuSwitchRadioList } from '../table'\nimport { createNamespace } from '@ll-plus/utils'\nimport { tableHeaderSearchProps } from '../table'\n\nimport { LlIcon } from '@ll-plus/components'\n\nimport type { RadioChangeEvent } from 'ant-design-vue'\n\n// 1.defineOptions\ndefineOptions({\n name: 'TableHeaderSearch'\n})\n\n// 2.props\nconst props = defineProps(tableHeaderSearchProps)\n\n// 3.emits\nconst emits = defineEmits([\"handleSwitchMenuChange\"])\n\n// 4.const\nconst bem = createNamespace('table')\n\n// 5.methods\n// 切换菜单table\nconst handleMenuSwitchChange = (event: RadioChangeEvent) => {\n const target = event.target\n const value = target.value\n props.menuSwitchOptions.onChange && props.menuSwitchOptions.onChange(value)\n emits('handleSwitchMenuChange', value)\n}\n// 5.其他\n// 获取menuswitch\nconst contentType = inject('contentType')\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAkDA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAGd,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAGd,IAAM,MAAA,GAAA,GAAM,gBAAgB,OAAO,CAAA,CAAA;AAInC,IAAM,MAAA,sBAAA,GAAyB,CAAC,KAA4B,KAAA;AAC1D,MAAA,MAAM,SAAS,KAAM,CAAA,MAAA,CAAA;AACrB,MAAA,MAAM,QAAQ,MAAO,CAAA,KAAA,CAAA;AACrB,MAAA,KAAA,CAAM,iBAAkB,CAAA,QAAA,IAAY,KAAM,CAAA,iBAAA,CAAkB,SAAS,KAAK,CAAA,CAAA;AAC1E,MAAA,KAAA,CAAM,0BAA0B,KAAK,CAAA,CAAA;AAAA,KACvC,CAAA;AAGA,IAAM,MAAA,WAAA,GAAc,OAAO,aAAa,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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,8 @@
|
|
|
1
|
+
import _sfc_main from './main-table.vue2.mjs';
|
|
2
|
+
import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
3
|
+
|
|
4
|
+
"use strict";
|
|
5
|
+
var MainTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "main-table.vue"]]);
|
|
6
|
+
|
|
7
|
+
export { MainTable as default };
|
|
8
|
+
//# sourceMappingURL=main-table.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main-table.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|