ll-plus 2.0.6 → 2.0.8
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/component.mjs +10 -0
- package/es/component.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +23 -0
- package/es/components/cascader/index.mjs +10 -0
- package/es/components/cascader/index.mjs.map +1 -0
- package/es/components/cascader/src/cascader.d.ts +4 -0
- package/es/components/cascader/src/cascader.mjs +2 -0
- package/es/components/cascader/src/cascader.mjs.map +1 -0
- package/es/components/cascader/src/cascader.vue.d.ts +16 -0
- package/es/components/cascader/src/cascader.vue.mjs +8 -0
- package/es/components/cascader/src/cascader.vue.mjs.map +1 -0
- package/es/components/cascader/src/cascader.vue2.mjs +35 -0
- package/es/components/cascader/src/cascader.vue2.mjs.map +1 -0
- package/es/components/date-picker/index.d.ts +62 -0
- package/es/components/date-picker/index.mjs +10 -0
- package/es/components/date-picker/index.mjs.map +1 -0
- package/es/components/date-picker/src/date-picker.d.ts +10 -0
- package/es/components/date-picker/src/date-picker.mjs +25 -0
- package/es/components/date-picker/src/date-picker.mjs.map +1 -0
- package/es/components/date-picker/src/date-picker.vue.d.ts +56 -0
- package/es/components/date-picker/src/date-picker.vue.mjs +8 -0
- package/es/components/date-picker/src/date-picker.vue.mjs.map +1 -0
- package/es/components/date-picker/src/date-picker.vue2.mjs +92 -0
- package/es/components/date-picker/src/date-picker.vue2.mjs.map +1 -0
- package/es/components/date-range/index.d.ts +68 -0
- package/es/components/date-range/index.mjs +10 -0
- package/es/components/date-range/index.mjs.map +1 -0
- package/es/components/date-range/src/date-range.d.ts +11 -0
- package/es/components/date-range/src/date-range.mjs +31 -0
- package/es/components/date-range/src/date-range.mjs.map +1 -0
- package/es/components/date-range/src/date-range.vue.d.ts +62 -0
- package/es/components/date-range/src/date-range.vue.mjs +8 -0
- package/es/components/date-range/src/date-range.vue.mjs.map +1 -0
- package/es/components/date-range/src/date-range.vue2.mjs +97 -0
- package/es/components/date-range/src/date-range.vue2.mjs.map +1 -0
- package/es/components/dropdown/index.d.ts +99 -4
- package/es/components/dropdown/index.mjs +4 -2
- package/es/components/dropdown/index.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-button.vue.d.ts +59 -0
- package/es/components/dropdown/src/dropdown-button.vue.mjs +8 -0
- package/es/components/dropdown/src/dropdown-button.vue.mjs.map +1 -0
- package/es/components/dropdown/src/dropdown-button.vue2.mjs +85 -0
- package/es/components/dropdown/src/dropdown-button.vue2.mjs.map +1 -0
- package/es/components/dropdown/src/dropdown.d.ts +33 -1
- package/es/components/dropdown/src/dropdown.mjs +25 -7
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +41 -4
- package/es/components/dropdown/src/dropdown.vue2.mjs +50 -5
- package/es/components/dropdown/src/dropdown.vue2.mjs.map +1 -1
- package/es/components/index.d.ts +5 -0
- package/es/components/index.mjs +15 -3
- package/es/components/index.mjs.map +1 -1
- package/es/components/input/index.d.ts +35 -35
- package/es/components/input/src/input.vue.d.ts +35 -35
- package/es/components/input/src/input.vue2.mjs.map +1 -1
- package/es/components/modal/index.d.ts +2 -2
- package/es/components/modal/src/modal.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +48 -57
- package/es/components/table/index.mjs +5 -1
- package/es/components/table/index.mjs.map +1 -1
- package/es/components/table/src/components/header-search.vue.d.ts +5 -5
- package/es/components/table/src/components/header-search.vue2.mjs +77 -74
- package/es/components/table/src/components/header-search.vue2.mjs.map +1 -1
- package/es/components/table/src/components/main-table.vue.d.ts +7 -16
- package/es/components/table/src/components/main-table.vue2.mjs +2 -1
- package/es/components/table/src/components/main-table.vue2.mjs.map +1 -1
- package/es/components/table/src/components/pagination.vue2.mjs +2 -1
- package/es/components/table/src/components/pagination.vue2.mjs.map +1 -1
- package/es/components/table/src/config/header-search.d.ts +26 -0
- package/es/components/table/src/config/header-search.mjs +33 -0
- package/es/components/table/src/config/header-search.mjs.map +1 -0
- package/es/components/table/src/config/index.d.ts +4 -0
- package/es/components/table/src/config/index.mjs +7 -0
- package/es/components/table/src/config/index.mjs.map +1 -0
- package/es/components/table/src/config/main-table.d.ts +86 -0
- package/es/components/table/src/config/main-table.mjs +113 -0
- package/es/components/table/src/config/main-table.mjs.map +1 -0
- package/es/components/table/src/config/pagination.d.ts +30 -0
- package/es/components/table/src/config/pagination.mjs +34 -0
- package/es/components/table/src/config/pagination.mjs.map +1 -0
- package/es/components/table/src/config/table.d.ts +61 -0
- package/es/components/table/src/config/table.mjs +38 -0
- package/es/components/table/src/config/table.mjs.map +1 -0
- package/es/components/table/src/table.vue.d.ts +44 -53
- package/es/components/table/src/table.vue2.mjs +29 -23
- package/es/components/table/src/table.vue2.mjs.map +1 -1
- package/es/components/time-picker/index.d.ts +62 -0
- package/es/components/time-picker/index.mjs +10 -0
- package/es/components/time-picker/index.mjs.map +1 -0
- package/es/components/time-picker/src/time-picker.d.ts +10 -0
- package/es/components/time-picker/src/time-picker.mjs +25 -0
- package/es/components/time-picker/src/time-picker.mjs.map +1 -0
- package/es/components/time-picker/src/time-picker.vue.d.ts +55 -0
- package/es/components/time-picker/src/time-picker.vue.mjs +8 -0
- package/es/components/time-picker/src/time-picker.vue.mjs.map +1 -0
- package/es/components/time-picker/src/time-picker.vue2.mjs +177 -0
- package/es/components/time-picker/src/time-picker.vue2.mjs.map +1 -0
- package/es/components/time-range/index.d.ts +67 -0
- package/es/components/time-range/index.mjs +10 -0
- package/es/components/time-range/index.mjs.map +1 -0
- package/es/components/time-range/src/time-range.d.ts +11 -0
- package/es/components/time-range/src/time-range.mjs +31 -0
- package/es/components/time-range/src/time-range.mjs.map +1 -0
- package/es/components/time-range/src/time-range.vue.d.ts +60 -0
- package/es/components/time-range/src/time-range.vue.mjs +8 -0
- package/es/components/time-range/src/time-range.vue.mjs.map +1 -0
- package/es/components/time-range/src/time-range.vue2.mjs +166 -0
- package/es/components/time-range/src/time-range.vue2.mjs.map +1 -0
- package/es/components/tree-search/index.d.ts +2 -2
- package/es/components/tree-search/src/tree-search.vue.d.ts +2 -2
- package/es/index.mjs +15 -3
- package/es/index.mjs.map +1 -1
- package/index.full.js +1051 -250
- package/index.full.min.js +22 -22
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +21 -21
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +1041 -251
- package/lib/component.js +57 -47
- package/lib/component.js.map +1 -1
- package/lib/components/cascader/index.d.ts +23 -0
- package/lib/components/cascader/index.js +15 -0
- package/lib/components/cascader/index.js.map +1 -0
- package/lib/components/cascader/src/cascader.d.ts +4 -0
- package/lib/components/cascader/src/cascader.js +4 -0
- package/lib/components/cascader/src/cascader.js.map +1 -0
- package/lib/components/cascader/src/cascader.vue.d.ts +16 -0
- package/lib/components/cascader/src/cascader.vue.js +12 -0
- package/lib/components/cascader/src/cascader.vue.js.map +1 -0
- package/lib/components/cascader/src/cascader.vue2.js +39 -0
- package/lib/components/cascader/src/cascader.vue2.js.map +1 -0
- package/lib/components/date-picker/index.d.ts +62 -0
- package/lib/components/date-picker/index.js +16 -0
- package/lib/components/date-picker/index.js.map +1 -0
- package/lib/components/date-picker/src/date-picker.d.ts +10 -0
- package/lib/components/date-picker/src/date-picker.js +27 -0
- package/lib/components/date-picker/src/date-picker.js.map +1 -0
- package/lib/components/date-picker/src/date-picker.vue.d.ts +56 -0
- package/lib/components/date-picker/src/date-picker.vue.js +12 -0
- package/lib/components/date-picker/src/date-picker.vue.js.map +1 -0
- package/lib/components/date-picker/src/date-picker.vue2.js +96 -0
- package/lib/components/date-picker/src/date-picker.vue2.js.map +1 -0
- package/lib/components/date-range/index.d.ts +68 -0
- package/lib/components/date-range/index.js +16 -0
- package/lib/components/date-range/index.js.map +1 -0
- package/lib/components/date-range/src/date-range.d.ts +11 -0
- package/lib/components/date-range/src/date-range.js +33 -0
- package/lib/components/date-range/src/date-range.js.map +1 -0
- package/lib/components/date-range/src/date-range.vue.d.ts +62 -0
- package/lib/components/date-range/src/date-range.vue.js +12 -0
- package/lib/components/date-range/src/date-range.vue.js.map +1 -0
- package/lib/components/date-range/src/date-range.vue2.js +101 -0
- package/lib/components/date-range/src/date-range.vue2.js.map +1 -0
- package/lib/components/dropdown/index.d.ts +99 -4
- package/lib/components/dropdown/index.js +4 -0
- package/lib/components/dropdown/index.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-button.vue.d.ts +59 -0
- package/lib/components/dropdown/src/dropdown-button.vue.js +12 -0
- package/lib/components/dropdown/src/dropdown-button.vue.js.map +1 -0
- package/lib/components/dropdown/src/dropdown-button.vue2.js +89 -0
- package/lib/components/dropdown/src/dropdown-button.vue2.js.map +1 -0
- package/lib/components/dropdown/src/dropdown.d.ts +33 -1
- package/lib/components/dropdown/src/dropdown.js +24 -5
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +41 -4
- package/lib/components/dropdown/src/dropdown.vue2.js +49 -4
- package/lib/components/dropdown/src/dropdown.vue2.js.map +1 -1
- package/lib/components/index.d.ts +5 -0
- package/lib/components/index.js +81 -58
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/index.d.ts +35 -35
- package/lib/components/input/src/input.vue.d.ts +35 -35
- package/lib/components/input/src/input.vue2.js.map +1 -1
- package/lib/components/modal/index.d.ts +2 -2
- package/lib/components/modal/src/modal.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +48 -57
- package/lib/components/table/index.js +12 -8
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/src/components/header-search.vue.d.ts +5 -5
- package/lib/components/table/src/components/header-search.vue2.js +77 -74
- package/lib/components/table/src/components/header-search.vue2.js.map +1 -1
- package/lib/components/table/src/components/main-table.vue.d.ts +7 -16
- package/lib/components/table/src/components/main-table.vue2.js +4 -3
- package/lib/components/table/src/components/main-table.vue2.js.map +1 -1
- package/lib/components/table/src/components/pagination.vue2.js +3 -2
- package/lib/components/table/src/components/pagination.vue2.js.map +1 -1
- package/lib/components/table/src/config/header-search.d.ts +26 -0
- package/lib/components/table/src/config/header-search.js +38 -0
- package/lib/components/table/src/config/header-search.js.map +1 -0
- package/lib/components/table/src/config/index.d.ts +4 -0
- package/lib/components/table/src/config/index.js +18 -0
- package/lib/components/table/src/config/index.js.map +1 -0
- package/lib/components/table/src/config/main-table.d.ts +86 -0
- package/lib/components/table/src/config/main-table.js +116 -0
- package/lib/components/table/src/config/main-table.js.map +1 -0
- package/lib/components/table/src/config/pagination.d.ts +30 -0
- package/lib/components/table/src/config/pagination.js +36 -0
- package/lib/components/table/src/config/pagination.js.map +1 -0
- package/lib/components/table/src/config/table.d.ts +61 -0
- package/lib/components/table/src/config/table.js +40 -0
- package/lib/components/table/src/config/table.js.map +1 -0
- package/lib/components/table/src/table.vue.d.ts +44 -53
- package/lib/components/table/src/table.vue2.js +30 -24
- package/lib/components/table/src/table.vue2.js.map +1 -1
- package/lib/components/time-picker/index.d.ts +62 -0
- package/lib/components/time-picker/index.js +16 -0
- package/lib/components/time-picker/index.js.map +1 -0
- package/lib/components/time-picker/src/time-picker.d.ts +10 -0
- package/lib/components/time-picker/src/time-picker.js +27 -0
- package/lib/components/time-picker/src/time-picker.js.map +1 -0
- package/lib/components/time-picker/src/time-picker.vue.d.ts +55 -0
- package/lib/components/time-picker/src/time-picker.vue.js +12 -0
- package/lib/components/time-picker/src/time-picker.vue.js.map +1 -0
- package/lib/components/time-picker/src/time-picker.vue2.js +181 -0
- package/lib/components/time-picker/src/time-picker.vue2.js.map +1 -0
- package/lib/components/time-range/index.d.ts +67 -0
- package/lib/components/time-range/index.js +16 -0
- package/lib/components/time-range/index.js.map +1 -0
- package/lib/components/time-range/src/time-range.d.ts +11 -0
- package/lib/components/time-range/src/time-range.js +33 -0
- package/lib/components/time-range/src/time-range.js.map +1 -0
- package/lib/components/time-range/src/time-range.vue.d.ts +60 -0
- package/lib/components/time-range/src/time-range.vue.js +12 -0
- package/lib/components/time-range/src/time-range.vue.js.map +1 -0
- package/lib/components/time-range/src/time-range.vue2.js +170 -0
- package/lib/components/time-range/src/time-range.vue2.js.map +1 -0
- package/lib/components/tree-search/index.d.ts +2 -2
- package/lib/components/tree-search/src/tree-search.vue.d.ts +2 -2
- package/lib/index.js +81 -58
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/css/advanced-filtering.css +5 -1
- package/theme-chalk/css/cascader.css +5 -0
- package/theme-chalk/css/checkbox.css +5 -1
- package/theme-chalk/css/date-picker.css +1 -0
- package/theme-chalk/css/date-range.css +1 -0
- package/theme-chalk/css/descriptions.css +5 -1
- package/theme-chalk/css/drawer.css +5 -1
- package/theme-chalk/css/dropdown.css +5 -0
- package/theme-chalk/css/form.css +5 -1
- package/theme-chalk/css/index.css +5 -1
- package/theme-chalk/css/input-number.css +5 -1
- package/theme-chalk/css/input.css +5 -1
- package/theme-chalk/css/modal.css +5 -1
- package/theme-chalk/css/switch.css +5 -1
- package/theme-chalk/css/table.css +5 -1
- package/theme-chalk/css/tabs-simple.css +5 -1
- package/theme-chalk/css/time-picker.css +1 -0
- package/theme-chalk/css/time-range.css +1 -0
- package/types/packages/components/cascader/index.d.ts +23 -0
- package/types/packages/components/cascader/src/cascader.d.ts +4 -0
- package/types/packages/components/cascader/src/cascader.vue.d.ts +16 -0
- package/types/packages/components/date-picker/index.d.ts +62 -0
- package/types/packages/components/date-picker/src/date-picker.d.ts +10 -0
- package/types/packages/components/date-picker/src/date-picker.vue.d.ts +56 -0
- package/types/packages/components/date-range/index.d.ts +68 -0
- package/types/packages/components/date-range/src/date-range.d.ts +11 -0
- package/types/packages/components/date-range/src/date-range.vue.d.ts +62 -0
- package/types/packages/components/dropdown/index.d.ts +99 -4
- package/types/packages/components/dropdown/src/dropdown-button.vue.d.ts +59 -0
- package/types/packages/components/dropdown/src/dropdown.d.ts +33 -1
- package/types/packages/components/dropdown/src/dropdown.vue.d.ts +41 -4
- package/types/packages/components/index.d.ts +5 -0
- package/types/packages/components/input/index.d.ts +35 -35
- package/types/packages/components/input/src/input.vue.d.ts +35 -35
- package/types/packages/components/modal/index.d.ts +2 -2
- package/types/packages/components/modal/src/modal.vue.d.ts +2 -2
- package/types/packages/components/table/index.d.ts +48 -57
- package/types/packages/components/table/src/components/header-search.vue.d.ts +5 -5
- package/types/packages/components/table/src/components/main-table.vue.d.ts +7 -16
- package/types/packages/components/table/src/config/header-search.d.ts +26 -0
- package/types/packages/components/table/src/config/index.d.ts +4 -0
- package/types/packages/components/table/src/config/main-table.d.ts +86 -0
- package/types/packages/components/table/src/config/pagination.d.ts +30 -0
- package/types/packages/components/table/src/config/table.d.ts +61 -0
- package/types/packages/components/table/src/table.vue.d.ts +44 -53
- package/types/packages/components/time-picker/index.d.ts +62 -0
- package/types/packages/components/time-picker/src/time-picker.d.ts +10 -0
- package/types/packages/components/time-picker/src/time-picker.vue.d.ts +55 -0
- package/types/packages/components/time-range/index.d.ts +67 -0
- package/types/packages/components/time-range/src/time-range.d.ts +11 -0
- package/types/packages/components/time-range/src/time-range.vue.d.ts +60 -0
- package/types/packages/components/tree-search/index.d.ts +2 -2
- package/types/packages/components/tree-search/src/tree-search.vue.d.ts +2 -2
- package/es/components/table/src/table.d.ts +0 -252
- package/es/components/table/src/table.mjs +0 -195
- package/es/components/table/src/table.mjs.map +0 -1
- package/lib/components/table/src/table.d.ts +0 -252
- package/lib/components/table/src/table.js +0 -204
- package/lib/components/table/src/table.js.map +0 -1
- package/types/packages/components/table/src/table.d.ts +0 -252
|
@@ -21,8 +21,8 @@ export declare const LlModal: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
21
21
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
22
22
|
readonly class: string;
|
|
23
23
|
readonly "onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
readonly onCancel?: ((...args: any[]) => any) | undefined;
|
|
25
24
|
readonly onOk?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
readonly onCancel?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
} & {}>;
|
|
27
27
|
emits: (event: "cancel" | "update:open" | "ok", ...args: any[]) => void;
|
|
28
28
|
attrs: {
|
|
@@ -59,8 +59,8 @@ export declare const LlModal: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
59
59
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
60
60
|
}>> & {
|
|
61
61
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
63
62
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
66
66
|
readonly title: string;
|
|
@@ -20,8 +20,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
21
21
|
readonly class: string;
|
|
22
22
|
readonly "onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
readonly onCancel?: ((...args: any[]) => any) | undefined;
|
|
24
23
|
readonly onOk?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
readonly onCancel?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
} & {}>;
|
|
26
26
|
emits: (event: "cancel" | "update:open" | "ok", ...args: any[]) => void;
|
|
27
27
|
attrs: {
|
|
@@ -58,8 +58,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
59
59
|
}>> & {
|
|
60
60
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
61
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
62
61
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
65
65
|
readonly title: string;
|
|
@@ -2,21 +2,21 @@ import Table from './src/table.vue';
|
|
|
2
2
|
export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4
4
|
readonly headerSearchProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
5
|
-
readonly menuSwitchOptions: import("./src/
|
|
6
|
-
} & {}) | (() => import("./src/
|
|
7
|
-
readonly menuSwitchOptions: import("./src/
|
|
8
|
-
} & {}) | (() => import("./src/
|
|
5
|
+
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
6
|
+
} & {}) | (() => import("./src/config").TableHeaderSearchProps) | ((new (...args: any[]) => {
|
|
7
|
+
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
8
|
+
} & {}) | (() => import("./src/config").TableHeaderSearchProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
9
9
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
10
10
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
11
11
|
readonly dataSource: any[];
|
|
12
12
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13
13
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
14
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
14
15
|
} & {
|
|
15
16
|
readonly change?: Function | undefined;
|
|
16
17
|
readonly settingKey?: string | undefined;
|
|
17
18
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
18
|
-
readonly
|
|
19
|
-
readonly scroll?: import("./src/table").ITableScroll | undefined;
|
|
19
|
+
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
20
20
|
readonly expandedRowKeys?: string[] | undefined;
|
|
21
21
|
readonly hiddenPagination?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
22
22
|
readonly customRowProps?: Function | undefined;
|
|
@@ -24,17 +24,17 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
24
24
|
readonly expandedRowsChange?: Function | undefined;
|
|
25
25
|
readonly resizeColumn?: Function | undefined;
|
|
26
26
|
readonly dragChange?: Function | undefined;
|
|
27
|
-
}) | (() => import("./src/
|
|
27
|
+
}) | (() => import("./src/config").MainTableProps) | ((new (...args: any[]) => {
|
|
28
28
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
29
29
|
readonly dataSource: any[];
|
|
30
30
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
31
31
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
33
|
} & {
|
|
33
34
|
readonly change?: Function | undefined;
|
|
34
35
|
readonly settingKey?: string | undefined;
|
|
35
36
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
36
|
-
readonly
|
|
37
|
-
readonly scroll?: import("./src/table").ITableScroll | undefined;
|
|
37
|
+
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
38
38
|
readonly expandedRowKeys?: string[] | undefined;
|
|
39
39
|
readonly hiddenPagination?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
40
40
|
readonly customRowProps?: Function | undefined;
|
|
@@ -42,25 +42,25 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
42
42
|
readonly expandedRowsChange?: Function | undefined;
|
|
43
43
|
readonly resizeColumn?: Function | undefined;
|
|
44
44
|
readonly dragChange?: Function | undefined;
|
|
45
|
-
}) | (() => import("./src/
|
|
45
|
+
}) | (() => import("./src/config").MainTableProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
46
46
|
readonly paginationProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {} & {
|
|
47
47
|
readonly onChange?: Function | undefined;
|
|
48
48
|
readonly current?: number | undefined;
|
|
49
49
|
readonly pageSize?: number | undefined;
|
|
50
50
|
readonly total?: number | undefined;
|
|
51
|
-
}) | (() => import("./src/
|
|
51
|
+
}) | (() => import("./src/config").TablePaginationProps) | ((new (...args: any[]) => {} & {
|
|
52
52
|
readonly onChange?: Function | undefined;
|
|
53
53
|
readonly current?: number | undefined;
|
|
54
54
|
readonly pageSize?: number | undefined;
|
|
55
55
|
readonly total?: number | undefined;
|
|
56
|
-
}) | (() => import("./src/
|
|
56
|
+
}) | (() => import("./src/config").TablePaginationProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
57
57
|
}, {
|
|
58
58
|
props: import("@vue/shared").LooseRequired<{
|
|
59
59
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
60
60
|
readonly headerSearchProps: {
|
|
61
|
-
readonly menuSwitchOptions: import("./src/
|
|
61
|
+
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
62
62
|
};
|
|
63
|
-
readonly tableProps: import("./src/
|
|
63
|
+
readonly tableProps: import("./src/config").MainTableProps;
|
|
64
64
|
readonly paginationProps: {
|
|
65
65
|
readonly onChange?: Function | undefined;
|
|
66
66
|
readonly current?: number | undefined;
|
|
@@ -70,7 +70,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
70
70
|
} & {}>;
|
|
71
71
|
originDataSource: import("vue").Ref<any>;
|
|
72
72
|
newNaTableptions: import("vue").Ref<any>;
|
|
73
|
-
contentType: import("vue").Ref<import("./src/
|
|
73
|
+
contentType: import("vue").Ref<import("./src/config").ImenuSwitchType>;
|
|
74
74
|
bem: {
|
|
75
75
|
b: (blockSuffix?: string) => string;
|
|
76
76
|
e: (element?: string) => string;
|
|
@@ -82,15 +82,15 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
82
82
|
is: (name?: string) => string;
|
|
83
83
|
};
|
|
84
84
|
handleChangeDataSource: (dataSource: any[]) => void;
|
|
85
|
-
handleSwitchMenuChange: (v: import("./src/
|
|
85
|
+
handleSwitchMenuChange: (v: import("./src/config").ImenuSwitchType) => void;
|
|
86
86
|
HeaderSearch: import("vue").DefineComponent<{
|
|
87
|
-
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/
|
|
87
|
+
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/config").IMenuSwitchOptions) | (() => import("./src/config").IMenuSwitchOptions) | ((new (...args: any[]) => import("./src/config").IMenuSwitchOptions) | (() => import("./src/config").IMenuSwitchOptions))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
88
88
|
}, {
|
|
89
89
|
props: import("@vue/shared").LooseRequired<{
|
|
90
|
-
readonly menuSwitchOptions: import("./src/
|
|
91
|
-
readonly
|
|
90
|
+
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
91
|
+
readonly onChange?: ((v: import("./src/config").ImenuSwitchType) => any) | undefined;
|
|
92
92
|
} & {}>;
|
|
93
|
-
emits: (event: "
|
|
93
|
+
emits: (event: "change", v: import("./src/config").ImenuSwitchType) => void;
|
|
94
94
|
bem: {
|
|
95
95
|
b: (blockSuffix?: string) => string;
|
|
96
96
|
e: (element?: string) => string;
|
|
@@ -104,10 +104,10 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
104
104
|
handleMenuSwitchChange: (event: import("ant-design-vue").RadioChangeEvent) => void;
|
|
105
105
|
contentType: unknown;
|
|
106
106
|
readonly menuSwitchRadioList: readonly [{
|
|
107
|
-
readonly value: import("./src/
|
|
107
|
+
readonly value: import("./src/config").ImenuSwitchType.TABLE;
|
|
108
108
|
readonly icon: "icon-list";
|
|
109
109
|
}, {
|
|
110
|
-
readonly value: import("./src/
|
|
110
|
+
readonly value: import("./src/config").ImenuSwitchType.CARD;
|
|
111
111
|
readonly icon: "icon-card";
|
|
112
112
|
}];
|
|
113
113
|
readonly LlIcon: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
@@ -168,13 +168,13 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
168
168
|
};
|
|
169
169
|
}>>, {}, {}>>;
|
|
170
170
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
171
|
-
|
|
171
|
+
change: (v: import("./src/config").ImenuSwitchType) => boolean;
|
|
172
172
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
173
|
-
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/
|
|
173
|
+
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/config").IMenuSwitchOptions) | (() => import("./src/config").IMenuSwitchOptions) | ((new (...args: any[]) => import("./src/config").IMenuSwitchOptions) | (() => import("./src/config").IMenuSwitchOptions))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
174
174
|
}>> & {
|
|
175
|
-
|
|
175
|
+
onChange?: ((v: import("./src/config").ImenuSwitchType) => any) | undefined;
|
|
176
176
|
}, {
|
|
177
|
-
readonly menuSwitchOptions: import("./src/
|
|
177
|
+
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
178
178
|
}, {}>;
|
|
179
179
|
MainTable: import("vue").DefineComponent<{
|
|
180
180
|
readonly settingKey: {
|
|
@@ -193,14 +193,9 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
193
193
|
};
|
|
194
194
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
195
195
|
readonly showOperate: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
196
|
-
readonly showSetting:
|
|
197
|
-
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
198
|
-
readonly required: false;
|
|
199
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
200
|
-
__epPropKey: true;
|
|
201
|
-
};
|
|
196
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
202
197
|
readonly scroll: {
|
|
203
|
-
readonly type: import("vue").PropType<import("./src/
|
|
198
|
+
readonly type: import("vue").PropType<import("./src/config").ITableScroll>;
|
|
204
199
|
readonly required: false;
|
|
205
200
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
206
201
|
__epPropKey: true;
|
|
@@ -259,11 +254,11 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
259
254
|
readonly dataSource: any[];
|
|
260
255
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
261
256
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
257
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
262
258
|
readonly change?: Function | undefined;
|
|
263
259
|
readonly settingKey?: string | undefined;
|
|
264
260
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
265
|
-
readonly
|
|
266
|
-
readonly scroll?: import("./src/table").ITableScroll | undefined;
|
|
261
|
+
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
267
262
|
readonly expandedRowKeys?: string[] | undefined;
|
|
268
263
|
readonly hiddenPagination?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
269
264
|
readonly customRowProps?: Function | undefined;
|
|
@@ -399,14 +394,9 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
399
394
|
};
|
|
400
395
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
401
396
|
readonly showOperate: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
402
|
-
readonly showSetting:
|
|
403
|
-
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
404
|
-
readonly required: false;
|
|
405
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
406
|
-
__epPropKey: true;
|
|
407
|
-
};
|
|
397
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
408
398
|
readonly scroll: {
|
|
409
|
-
readonly type: import("vue").PropType<import("./src/
|
|
399
|
+
readonly type: import("vue").PropType<import("./src/config").ITableScroll>;
|
|
410
400
|
readonly required: false;
|
|
411
401
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
412
402
|
__epPropKey: true;
|
|
@@ -466,6 +456,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
466
456
|
readonly dataSource: any[];
|
|
467
457
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
468
458
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
459
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
469
460
|
}, {}>;
|
|
470
461
|
Pagination: import("vue").DefineComponent<{
|
|
471
462
|
readonly current: {
|
|
@@ -542,21 +533,21 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
542
533
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
543
534
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
544
535
|
readonly headerSearchProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
545
|
-
readonly menuSwitchOptions: import("./src/
|
|
546
|
-
} & {}) | (() => import("./src/
|
|
547
|
-
readonly menuSwitchOptions: import("./src/
|
|
548
|
-
} & {}) | (() => import("./src/
|
|
536
|
+
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
537
|
+
} & {}) | (() => import("./src/config").TableHeaderSearchProps) | ((new (...args: any[]) => {
|
|
538
|
+
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
539
|
+
} & {}) | (() => import("./src/config").TableHeaderSearchProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
549
540
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
550
541
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
551
542
|
readonly dataSource: any[];
|
|
552
543
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
553
544
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
545
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
554
546
|
} & {
|
|
555
547
|
readonly change?: Function | undefined;
|
|
556
548
|
readonly settingKey?: string | undefined;
|
|
557
549
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
558
|
-
readonly
|
|
559
|
-
readonly scroll?: import("./src/table").ITableScroll | undefined;
|
|
550
|
+
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
560
551
|
readonly expandedRowKeys?: string[] | undefined;
|
|
561
552
|
readonly hiddenPagination?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
562
553
|
readonly customRowProps?: Function | undefined;
|
|
@@ -564,17 +555,17 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
564
555
|
readonly expandedRowsChange?: Function | undefined;
|
|
565
556
|
readonly resizeColumn?: Function | undefined;
|
|
566
557
|
readonly dragChange?: Function | undefined;
|
|
567
|
-
}) | (() => import("./src/
|
|
558
|
+
}) | (() => import("./src/config").MainTableProps) | ((new (...args: any[]) => {
|
|
568
559
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
569
560
|
readonly dataSource: any[];
|
|
570
561
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
571
562
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
563
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
572
564
|
} & {
|
|
573
565
|
readonly change?: Function | undefined;
|
|
574
566
|
readonly settingKey?: string | undefined;
|
|
575
567
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
576
|
-
readonly
|
|
577
|
-
readonly scroll?: import("./src/table").ITableScroll | undefined;
|
|
568
|
+
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
578
569
|
readonly expandedRowKeys?: string[] | undefined;
|
|
579
570
|
readonly hiddenPagination?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
580
571
|
readonly customRowProps?: Function | undefined;
|
|
@@ -582,24 +573,24 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
582
573
|
readonly expandedRowsChange?: Function | undefined;
|
|
583
574
|
readonly resizeColumn?: Function | undefined;
|
|
584
575
|
readonly dragChange?: Function | undefined;
|
|
585
|
-
}) | (() => import("./src/
|
|
576
|
+
}) | (() => import("./src/config").MainTableProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
586
577
|
readonly paginationProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {} & {
|
|
587
578
|
readonly onChange?: Function | undefined;
|
|
588
579
|
readonly current?: number | undefined;
|
|
589
580
|
readonly pageSize?: number | undefined;
|
|
590
581
|
readonly total?: number | undefined;
|
|
591
|
-
}) | (() => import("./src/
|
|
582
|
+
}) | (() => import("./src/config").TablePaginationProps) | ((new (...args: any[]) => {} & {
|
|
592
583
|
readonly onChange?: Function | undefined;
|
|
593
584
|
readonly current?: number | undefined;
|
|
594
585
|
readonly pageSize?: number | undefined;
|
|
595
586
|
readonly total?: number | undefined;
|
|
596
|
-
}) | (() => import("./src/
|
|
587
|
+
}) | (() => import("./src/config").TablePaginationProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
597
588
|
}>>, {
|
|
598
589
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
599
590
|
readonly headerSearchProps: {
|
|
600
|
-
readonly menuSwitchOptions: import("./src/
|
|
591
|
+
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
601
592
|
};
|
|
602
|
-
readonly tableProps: import("./src/
|
|
593
|
+
readonly tableProps: import("./src/config").MainTableProps;
|
|
603
594
|
readonly paginationProps: {
|
|
604
595
|
readonly onChange?: Function | undefined;
|
|
605
596
|
readonly current?: number | undefined;
|
|
@@ -608,7 +599,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
608
599
|
};
|
|
609
600
|
}, {}>>;
|
|
610
601
|
export default LlTable;
|
|
611
|
-
export * from './src/
|
|
602
|
+
export * from './src/config';
|
|
612
603
|
declare module 'vue' {
|
|
613
604
|
interface GlobalComponents {
|
|
614
605
|
LlTable: typeof Table;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ImenuSwitchType } from '../
|
|
1
|
+
import { ImenuSwitchType } from '../config';
|
|
2
2
|
import type { RadioChangeEvent } from 'ant-design-vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
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, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
5
5
|
}, {
|
|
6
6
|
props: import("@vue/shared").LooseRequired<{
|
|
7
7
|
readonly menuSwitchOptions: import("ll-plus/es/components").IMenuSwitchOptions;
|
|
8
|
-
readonly
|
|
8
|
+
readonly onChange?: ((v: ImenuSwitchType) => any) | undefined;
|
|
9
9
|
} & {}>;
|
|
10
|
-
emits: (event: "
|
|
10
|
+
emits: (event: "change", v: ImenuSwitchType) => void;
|
|
11
11
|
bem: {
|
|
12
12
|
b: (blockSuffix?: string) => string;
|
|
13
13
|
e: (element?: string) => string;
|
|
@@ -85,11 +85,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
};
|
|
86
86
|
}>>, {}, {}>>;
|
|
87
87
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
88
|
-
|
|
88
|
+
change: (v: ImenuSwitchType) => boolean;
|
|
89
89
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
90
90
|
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, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
91
91
|
}>> & {
|
|
92
|
-
|
|
92
|
+
onChange?: ((v: ImenuSwitchType) => any) | undefined;
|
|
93
93
|
}, {
|
|
94
94
|
readonly menuSwitchOptions: import("ll-plus/es/components").IMenuSwitchOptions;
|
|
95
95
|
}, {}>;
|
|
@@ -15,14 +15,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
17
17
|
readonly showOperate: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
18
|
-
readonly showSetting:
|
|
19
|
-
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
20
|
-
readonly required: false;
|
|
21
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
-
__epPropKey: true;
|
|
23
|
-
};
|
|
18
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
24
19
|
readonly scroll: {
|
|
25
|
-
readonly type: import("vue").PropType<import("../
|
|
20
|
+
readonly type: import("vue").PropType<import("../config").ITableScroll>;
|
|
26
21
|
readonly required: false;
|
|
27
22
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
28
23
|
__epPropKey: true;
|
|
@@ -81,11 +76,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
76
|
readonly dataSource: any[];
|
|
82
77
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
83
78
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
79
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
84
80
|
readonly change?: Function | undefined;
|
|
85
81
|
readonly settingKey?: string | undefined;
|
|
86
82
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
87
|
-
readonly
|
|
88
|
-
readonly scroll?: import("../table").ITableScroll | undefined;
|
|
83
|
+
readonly scroll?: import("../config").ITableScroll | undefined;
|
|
89
84
|
readonly expandedRowKeys?: string[] | undefined;
|
|
90
85
|
readonly hiddenPagination?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
91
86
|
readonly customRowProps?: Function | undefined;
|
|
@@ -221,14 +216,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
216
|
};
|
|
222
217
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
223
218
|
readonly showOperate: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
224
|
-
readonly showSetting:
|
|
225
|
-
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
226
|
-
readonly required: false;
|
|
227
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
228
|
-
__epPropKey: true;
|
|
229
|
-
};
|
|
219
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
230
220
|
readonly scroll: {
|
|
231
|
-
readonly type: import("vue").PropType<import("../
|
|
221
|
+
readonly type: import("vue").PropType<import("../config").ITableScroll>;
|
|
232
222
|
readonly required: false;
|
|
233
223
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
234
224
|
__epPropKey: true;
|
|
@@ -288,5 +278,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
288
278
|
readonly dataSource: any[];
|
|
289
279
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
290
280
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
281
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
291
282
|
}, {}>;
|
|
292
283
|
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import HeaderSearch from '../components/header-search.vue';
|
|
2
|
+
import type { ExtractPropTypes } from 'vue';
|
|
3
|
+
export declare const enum ImenuSwitchType {
|
|
4
|
+
TABLE = "table",
|
|
5
|
+
CARD = "card"
|
|
6
|
+
}
|
|
7
|
+
export declare const menuSwitchRadioList: readonly [{
|
|
8
|
+
readonly value: ImenuSwitchType.TABLE;
|
|
9
|
+
readonly icon: "icon-list";
|
|
10
|
+
}, {
|
|
11
|
+
readonly value: ImenuSwitchType.CARD;
|
|
12
|
+
readonly icon: "icon-card";
|
|
13
|
+
}];
|
|
14
|
+
export interface IMenuSwitchOptions {
|
|
15
|
+
show?: boolean;
|
|
16
|
+
onChange?: (value: ImenuSwitchType) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const tableHeaderSearchProps: {
|
|
19
|
+
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => IMenuSwitchOptions) | (() => IMenuSwitchOptions) | ((new (...args: any[]) => IMenuSwitchOptions) | (() => IMenuSwitchOptions))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
20
|
+
};
|
|
21
|
+
export declare const tableHeaderSearchEmits: {
|
|
22
|
+
change: (v: ImenuSwitchType) => boolean;
|
|
23
|
+
};
|
|
24
|
+
export type TableHeaderSearchProps = ExtractPropTypes<typeof tableHeaderSearchProps>;
|
|
25
|
+
export type TableHeaderSearchEmits = typeof tableHeaderSearchEmits;
|
|
26
|
+
export type TableHeaderSearchInstance = InstanceType<typeof HeaderSearch>;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import MainTable from '../components/main-table.vue';
|
|
2
|
+
import type { ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { TableColumnProps } from 'ant-design-vue';
|
|
4
|
+
export interface ITableScroll {
|
|
5
|
+
x: number | string | boolean;
|
|
6
|
+
y: number | string;
|
|
7
|
+
}
|
|
8
|
+
export declare const mainTableProps: {
|
|
9
|
+
readonly settingKey: {
|
|
10
|
+
readonly type: import("vue").PropType<string>;
|
|
11
|
+
readonly required: false;
|
|
12
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13
|
+
__epPropKey: true;
|
|
14
|
+
};
|
|
15
|
+
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]) | ((new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
16
|
+
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
17
|
+
readonly showDrag: {
|
|
18
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
+
__epPropKey: true;
|
|
22
|
+
};
|
|
23
|
+
readonly showIndexColumn: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
24
|
+
readonly showOperate: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
25
|
+
readonly showSetting: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
26
|
+
readonly scroll: {
|
|
27
|
+
readonly type: import("vue").PropType<ITableScroll>;
|
|
28
|
+
readonly required: false;
|
|
29
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
|
+
__epPropKey: true;
|
|
31
|
+
};
|
|
32
|
+
readonly expandedRowKeys: {
|
|
33
|
+
readonly type: import("vue").PropType<string[]>;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
};
|
|
38
|
+
readonly hiddenPagination: {
|
|
39
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
};
|
|
44
|
+
readonly customRowProps: {
|
|
45
|
+
readonly type: import("vue").PropType<Function>;
|
|
46
|
+
readonly required: false;
|
|
47
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
|
+
__epPropKey: true;
|
|
49
|
+
};
|
|
50
|
+
readonly expand: {
|
|
51
|
+
readonly type: import("vue").PropType<Function>;
|
|
52
|
+
readonly required: false;
|
|
53
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
54
|
+
__epPropKey: true;
|
|
55
|
+
};
|
|
56
|
+
readonly change: {
|
|
57
|
+
readonly type: import("vue").PropType<Function>;
|
|
58
|
+
readonly required: false;
|
|
59
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
|
+
__epPropKey: true;
|
|
61
|
+
};
|
|
62
|
+
readonly expandedRowsChange: {
|
|
63
|
+
readonly type: import("vue").PropType<Function>;
|
|
64
|
+
readonly required: false;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
|
+
__epPropKey: true;
|
|
67
|
+
};
|
|
68
|
+
readonly resizeColumn: {
|
|
69
|
+
readonly type: import("vue").PropType<Function>;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
};
|
|
74
|
+
readonly dragChange: {
|
|
75
|
+
readonly type: import("vue").PropType<Function>;
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
+
__epPropKey: true;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export declare const mainTableEmits: {
|
|
82
|
+
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
83
|
+
};
|
|
84
|
+
export type MainTableProps = ExtractPropTypes<typeof mainTableProps>;
|
|
85
|
+
export type MainTableEmits = typeof mainTableEmits;
|
|
86
|
+
export type MainTableInstance = InstanceType<typeof MainTable>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import Pagination from '../components/pagination.vue';
|
|
2
|
+
import type { ExtractPropTypes } from 'vue';
|
|
3
|
+
export declare const tablePaginationProps: {
|
|
4
|
+
readonly current: {
|
|
5
|
+
readonly type: import("vue").PropType<number>;
|
|
6
|
+
readonly required: false;
|
|
7
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8
|
+
__epPropKey: true;
|
|
9
|
+
};
|
|
10
|
+
readonly pageSize: {
|
|
11
|
+
readonly type: import("vue").PropType<number>;
|
|
12
|
+
readonly required: false;
|
|
13
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
+
__epPropKey: true;
|
|
15
|
+
};
|
|
16
|
+
readonly total: {
|
|
17
|
+
readonly type: import("vue").PropType<number>;
|
|
18
|
+
readonly required: false;
|
|
19
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
|
+
__epPropKey: true;
|
|
21
|
+
};
|
|
22
|
+
readonly onChange: {
|
|
23
|
+
readonly type: import("vue").PropType<Function>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
+
__epPropKey: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export type TablePaginationProps = ExtractPropTypes<typeof tablePaginationProps>;
|
|
30
|
+
export type TablePaginationInstance = InstanceType<typeof Pagination>;
|