ll-plus 2.0.6 → 2.0.7
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/components/index.mjs +4 -1
- package/es/components/index.mjs.map +1 -1
- 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 +4 -3
- 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 +4 -2
- package/es/components/table/src/table.vue2.mjs.map +1 -1
- package/es/index.mjs +4 -1
- package/es/index.mjs.map +1 -1
- package/index.full.js +16 -12
- package/index.full.min.js +4 -4
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +11 -11
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +16 -12
- package/lib/components/index.js +14 -11
- package/lib/components/index.js.map +1 -1
- 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 +6 -5
- 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 +7 -5
- package/lib/components/table/src/table.vue2.js.map +1 -1
- package/lib/index.js +14 -11
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- 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/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
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ImenuSwitchType } from './
|
|
1
|
+
import { ImenuSwitchType } from './config';
|
|
2
2
|
declare const _default: 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("./
|
|
6
|
-
} & {}) | (() => import("./
|
|
7
|
-
readonly menuSwitchOptions: import("./
|
|
8
|
-
} & {}) | (() => import("./
|
|
5
|
+
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
6
|
+
} & {}) | (() => import("./config").TableHeaderSearchProps) | ((new (...args: any[]) => {
|
|
7
|
+
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
8
|
+
} & {}) | (() => import("./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("./table").ITableScroll | undefined;
|
|
19
|
+
readonly scroll?: import("./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 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
readonly expandedRowsChange?: Function | undefined;
|
|
25
25
|
readonly resizeColumn?: Function | undefined;
|
|
26
26
|
readonly dragChange?: Function | undefined;
|
|
27
|
-
}) | (() => import("./
|
|
27
|
+
}) | (() => import("./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("./table").ITableScroll | undefined;
|
|
37
|
+
readonly scroll?: import("./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 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
readonly expandedRowsChange?: Function | undefined;
|
|
43
43
|
readonly resizeColumn?: Function | undefined;
|
|
44
44
|
readonly dragChange?: Function | undefined;
|
|
45
|
-
}) | (() => import("./
|
|
45
|
+
}) | (() => import("./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("./
|
|
51
|
+
}) | (() => import("./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("./
|
|
56
|
+
}) | (() => import("./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("./
|
|
61
|
+
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
62
62
|
};
|
|
63
|
-
readonly tableProps: import("./
|
|
63
|
+
readonly tableProps: import("./config").MainTableProps;
|
|
64
64
|
readonly paginationProps: {
|
|
65
65
|
readonly onChange?: Function | undefined;
|
|
66
66
|
readonly current?: number | undefined;
|
|
@@ -84,13 +84,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
handleChangeDataSource: (dataSource: any[]) => void;
|
|
85
85
|
handleSwitchMenuChange: (v: ImenuSwitchType) => void;
|
|
86
86
|
HeaderSearch: import("vue").DefineComponent<{
|
|
87
|
-
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./
|
|
87
|
+
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./config").IMenuSwitchOptions) | (() => import("./config").IMenuSwitchOptions) | ((new (...args: any[]) => import("./config").IMenuSwitchOptions) | (() => import("./config").IMenuSwitchOptions))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
88
88
|
}, {
|
|
89
89
|
props: import("@vue/shared").LooseRequired<{
|
|
90
|
-
readonly menuSwitchOptions: import("./
|
|
91
|
-
readonly
|
|
90
|
+
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
91
|
+
readonly onChange?: ((v: ImenuSwitchType) => any) | undefined;
|
|
92
92
|
} & {}>;
|
|
93
|
-
emits: (event: "
|
|
93
|
+
emits: (event: "change", v: ImenuSwitchType) => void;
|
|
94
94
|
bem: {
|
|
95
95
|
b: (blockSuffix?: string) => string;
|
|
96
96
|
e: (element?: string) => string;
|
|
@@ -168,13 +168,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
168
168
|
};
|
|
169
169
|
}>>, {}, {}>>;
|
|
170
170
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
171
|
-
|
|
171
|
+
change: (v: 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("./
|
|
173
|
+
readonly menuSwitchOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./config").IMenuSwitchOptions) | (() => import("./config").IMenuSwitchOptions) | ((new (...args: any[]) => import("./config").IMenuSwitchOptions) | (() => import("./config").IMenuSwitchOptions))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
174
174
|
}>> & {
|
|
175
|
-
|
|
175
|
+
onChange?: ((v: ImenuSwitchType) => any) | undefined;
|
|
176
176
|
}, {
|
|
177
|
-
readonly menuSwitchOptions: import("./
|
|
177
|
+
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
178
178
|
}, {}>;
|
|
179
179
|
MainTable: import("vue").DefineComponent<{
|
|
180
180
|
readonly settingKey: {
|
|
@@ -193,14 +193,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
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("./
|
|
198
|
+
readonly type: import("vue").PropType<import("./config").ITableScroll>;
|
|
204
199
|
readonly required: false;
|
|
205
200
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
206
201
|
__epPropKey: true;
|
|
@@ -259,11 +254,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
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("./table").ITableScroll | undefined;
|
|
261
|
+
readonly scroll?: import("./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 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
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("./
|
|
399
|
+
readonly type: import("vue").PropType<import("./config").ITableScroll>;
|
|
410
400
|
readonly required: false;
|
|
411
401
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
412
402
|
__epPropKey: true;
|
|
@@ -466,6 +456,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
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 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
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("./
|
|
546
|
-
} & {}) | (() => import("./
|
|
547
|
-
readonly menuSwitchOptions: import("./
|
|
548
|
-
} & {}) | (() => import("./
|
|
536
|
+
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
537
|
+
} & {}) | (() => import("./config").TableHeaderSearchProps) | ((new (...args: any[]) => {
|
|
538
|
+
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
539
|
+
} & {}) | (() => import("./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("./table").ITableScroll | undefined;
|
|
550
|
+
readonly scroll?: import("./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 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
564
555
|
readonly expandedRowsChange?: Function | undefined;
|
|
565
556
|
readonly resizeColumn?: Function | undefined;
|
|
566
557
|
readonly dragChange?: Function | undefined;
|
|
567
|
-
}) | (() => import("./
|
|
558
|
+
}) | (() => import("./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("./table").ITableScroll | undefined;
|
|
568
|
+
readonly scroll?: import("./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 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
582
573
|
readonly expandedRowsChange?: Function | undefined;
|
|
583
574
|
readonly resizeColumn?: Function | undefined;
|
|
584
575
|
readonly dragChange?: Function | undefined;
|
|
585
|
-
}) | (() => import("./
|
|
576
|
+
}) | (() => import("./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("./
|
|
582
|
+
}) | (() => import("./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("./
|
|
587
|
+
}) | (() => import("./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("./
|
|
591
|
+
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
601
592
|
};
|
|
602
|
-
readonly tableProps: import("./
|
|
593
|
+
readonly tableProps: import("./config").MainTableProps;
|
|
603
594
|
readonly paginationProps: {
|
|
604
595
|
readonly onChange?: Function | undefined;
|
|
605
596
|
readonly current?: number | undefined;
|
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { TableColumnProps } from 'ant-design-vue';
|
|
3
|
-
import type HeaderSearch from './components/header-search.vue';
|
|
4
|
-
import type MainTable from './components/main-table.vue';
|
|
5
|
-
import type Pagination from './components/pagination.vue';
|
|
6
|
-
import type Table from './table.vue';
|
|
7
|
-
export declare const enum ImenuSwitchType {
|
|
8
|
-
TABLE = "table",
|
|
9
|
-
CARD = "card"
|
|
10
|
-
}
|
|
11
|
-
export declare const menuSwitchRadioList: readonly [{
|
|
12
|
-
readonly value: ImenuSwitchType.TABLE;
|
|
13
|
-
readonly icon: "icon-list";
|
|
14
|
-
}, {
|
|
15
|
-
readonly value: ImenuSwitchType.CARD;
|
|
16
|
-
readonly icon: "icon-card";
|
|
17
|
-
}];
|
|
18
|
-
export interface IMenuSwitchOptions {
|
|
19
|
-
show?: boolean;
|
|
20
|
-
onChange?: (value: ImenuSwitchType) => void;
|
|
21
|
-
}
|
|
22
|
-
export interface ITableScroll {
|
|
23
|
-
x: number | string | boolean;
|
|
24
|
-
y: number | string;
|
|
25
|
-
}
|
|
26
|
-
export declare const tableHeaderSearchProps: {
|
|
27
|
-
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>;
|
|
28
|
-
};
|
|
29
|
-
export declare const mainTableProps: {
|
|
30
|
-
readonly settingKey: {
|
|
31
|
-
readonly type: import("vue").PropType<string>;
|
|
32
|
-
/**
|
|
33
|
-
* @description table的loading
|
|
34
|
-
*/
|
|
35
|
-
readonly required: false;
|
|
36
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
|
-
__epPropKey: true;
|
|
38
|
-
};
|
|
39
|
-
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]) | ((new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
40
|
-
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
41
|
-
readonly showDrag: {
|
|
42
|
-
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
43
|
-
/**
|
|
44
|
-
* @description table的loading
|
|
45
|
-
*/
|
|
46
|
-
readonly required: false;
|
|
47
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
|
-
__epPropKey: true;
|
|
49
|
-
};
|
|
50
|
-
readonly showIndexColumn: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
51
|
-
readonly showOperate: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
52
|
-
readonly showSetting: {
|
|
53
|
-
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
54
|
-
/**
|
|
55
|
-
* @description table的loading
|
|
56
|
-
*/
|
|
57
|
-
readonly required: false;
|
|
58
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
|
-
__epPropKey: true;
|
|
60
|
-
};
|
|
61
|
-
readonly scroll: {
|
|
62
|
-
readonly type: import("vue").PropType<ITableScroll>;
|
|
63
|
-
/**
|
|
64
|
-
* @description table的loading
|
|
65
|
-
*/
|
|
66
|
-
readonly required: false;
|
|
67
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
68
|
-
__epPropKey: true;
|
|
69
|
-
};
|
|
70
|
-
readonly expandedRowKeys: {
|
|
71
|
-
readonly type: import("vue").PropType<string[]>;
|
|
72
|
-
/**
|
|
73
|
-
* @description table的loading
|
|
74
|
-
*/
|
|
75
|
-
readonly required: false;
|
|
76
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
|
-
__epPropKey: true;
|
|
78
|
-
};
|
|
79
|
-
readonly hiddenPagination: {
|
|
80
|
-
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
81
|
-
/**
|
|
82
|
-
* @description table的loading
|
|
83
|
-
*/
|
|
84
|
-
readonly required: false;
|
|
85
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
-
__epPropKey: true;
|
|
87
|
-
};
|
|
88
|
-
readonly customRowProps: {
|
|
89
|
-
readonly type: import("vue").PropType<Function>;
|
|
90
|
-
/**
|
|
91
|
-
* @description table的loading
|
|
92
|
-
*/
|
|
93
|
-
readonly required: false;
|
|
94
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
95
|
-
__epPropKey: true;
|
|
96
|
-
};
|
|
97
|
-
readonly expand: {
|
|
98
|
-
readonly type: import("vue").PropType<Function>;
|
|
99
|
-
/**
|
|
100
|
-
* @description table的loading
|
|
101
|
-
*/
|
|
102
|
-
readonly required: false;
|
|
103
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
-
__epPropKey: true;
|
|
105
|
-
};
|
|
106
|
-
readonly change: {
|
|
107
|
-
readonly type: import("vue").PropType<Function>;
|
|
108
|
-
/**
|
|
109
|
-
* @description table的loading
|
|
110
|
-
*/
|
|
111
|
-
readonly required: false;
|
|
112
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
113
|
-
__epPropKey: true;
|
|
114
|
-
};
|
|
115
|
-
readonly expandedRowsChange: {
|
|
116
|
-
readonly type: import("vue").PropType<Function>;
|
|
117
|
-
/**
|
|
118
|
-
* @description table的loading
|
|
119
|
-
*/
|
|
120
|
-
readonly required: false;
|
|
121
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
122
|
-
__epPropKey: true;
|
|
123
|
-
};
|
|
124
|
-
readonly resizeColumn: {
|
|
125
|
-
readonly type: import("vue").PropType<Function>;
|
|
126
|
-
/**
|
|
127
|
-
* @description table的loading
|
|
128
|
-
*/
|
|
129
|
-
readonly required: false;
|
|
130
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
131
|
-
__epPropKey: true;
|
|
132
|
-
};
|
|
133
|
-
readonly dragChange: {
|
|
134
|
-
readonly type: import("vue").PropType<Function>;
|
|
135
|
-
/**
|
|
136
|
-
* @description table的loading
|
|
137
|
-
*/
|
|
138
|
-
readonly required: false;
|
|
139
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
|
-
__epPropKey: true;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
export declare const tablePaginationProps: {
|
|
144
|
-
readonly current: {
|
|
145
|
-
readonly type: import("vue").PropType<number>;
|
|
146
|
-
/**
|
|
147
|
-
* @description table的loading
|
|
148
|
-
*/
|
|
149
|
-
readonly required: false;
|
|
150
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
151
|
-
__epPropKey: true;
|
|
152
|
-
};
|
|
153
|
-
readonly pageSize: {
|
|
154
|
-
readonly type: import("vue").PropType<number>;
|
|
155
|
-
/**
|
|
156
|
-
* @description table的loading
|
|
157
|
-
*/
|
|
158
|
-
readonly required: false;
|
|
159
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
|
-
__epPropKey: true;
|
|
161
|
-
};
|
|
162
|
-
readonly total: {
|
|
163
|
-
readonly type: import("vue").PropType<number>;
|
|
164
|
-
/**
|
|
165
|
-
* @description table的loading
|
|
166
|
-
*/
|
|
167
|
-
readonly required: false;
|
|
168
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
-
__epPropKey: true;
|
|
170
|
-
};
|
|
171
|
-
readonly onChange: {
|
|
172
|
-
readonly type: import("vue").PropType<Function>;
|
|
173
|
-
/**
|
|
174
|
-
* @description table的loading
|
|
175
|
-
*/
|
|
176
|
-
readonly required: false;
|
|
177
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
|
-
__epPropKey: true;
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
export declare const tableProps: {
|
|
182
|
-
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
183
|
-
readonly headerSearchProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
184
|
-
readonly menuSwitchOptions: IMenuSwitchOptions;
|
|
185
|
-
} & {}) | (() => TableHeaderSearchProps) | ((new (...args: any[]) => {
|
|
186
|
-
readonly menuSwitchOptions: IMenuSwitchOptions;
|
|
187
|
-
} & {}) | (() => TableHeaderSearchProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
188
|
-
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
189
|
-
readonly columns: TableColumnProps[];
|
|
190
|
-
readonly dataSource: any[];
|
|
191
|
-
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
192
|
-
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
193
|
-
} & {
|
|
194
|
-
readonly change?: Function | undefined;
|
|
195
|
-
readonly settingKey?: string | undefined;
|
|
196
|
-
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
197
|
-
readonly showSetting?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
198
|
-
readonly scroll?: ITableScroll | undefined;
|
|
199
|
-
readonly expandedRowKeys?: string[] | undefined;
|
|
200
|
-
readonly hiddenPagination?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
201
|
-
readonly customRowProps?: Function | undefined;
|
|
202
|
-
readonly expand?: Function | undefined;
|
|
203
|
-
readonly expandedRowsChange?: Function | undefined;
|
|
204
|
-
readonly resizeColumn?: Function | undefined;
|
|
205
|
-
readonly dragChange?: Function | undefined;
|
|
206
|
-
}) | (() => MainTableProps) | ((new (...args: any[]) => {
|
|
207
|
-
readonly columns: TableColumnProps[];
|
|
208
|
-
readonly dataSource: any[];
|
|
209
|
-
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
210
|
-
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
211
|
-
} & {
|
|
212
|
-
readonly change?: Function | undefined;
|
|
213
|
-
readonly settingKey?: string | undefined;
|
|
214
|
-
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
215
|
-
readonly showSetting?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
216
|
-
readonly scroll?: ITableScroll | undefined;
|
|
217
|
-
readonly expandedRowKeys?: string[] | undefined;
|
|
218
|
-
readonly hiddenPagination?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
219
|
-
readonly customRowProps?: Function | undefined;
|
|
220
|
-
readonly expand?: Function | undefined;
|
|
221
|
-
readonly expandedRowsChange?: Function | undefined;
|
|
222
|
-
readonly resizeColumn?: Function | undefined;
|
|
223
|
-
readonly dragChange?: Function | undefined;
|
|
224
|
-
}) | (() => MainTableProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
225
|
-
readonly paginationProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {} & {
|
|
226
|
-
readonly onChange?: Function | undefined;
|
|
227
|
-
readonly current?: number | undefined;
|
|
228
|
-
readonly pageSize?: number | undefined;
|
|
229
|
-
readonly total?: number | undefined;
|
|
230
|
-
}) | (() => TablePaginationProps) | ((new (...args: any[]) => {} & {
|
|
231
|
-
readonly onChange?: Function | undefined;
|
|
232
|
-
readonly current?: number | undefined;
|
|
233
|
-
readonly pageSize?: number | undefined;
|
|
234
|
-
readonly total?: number | undefined;
|
|
235
|
-
}) | (() => TablePaginationProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
236
|
-
};
|
|
237
|
-
export declare const headerSearchEmits: {
|
|
238
|
-
handleSwitchMenuChange: (v: ImenuSwitchType) => boolean;
|
|
239
|
-
};
|
|
240
|
-
export declare const mainTableEmits: {
|
|
241
|
-
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
242
|
-
};
|
|
243
|
-
export type TableHeaderSearchProps = ExtractPropTypes<typeof tableHeaderSearchProps>;
|
|
244
|
-
export type MainTableProps = ExtractPropTypes<typeof mainTableProps>;
|
|
245
|
-
export type TablePaginationProps = ExtractPropTypes<typeof tablePaginationProps>;
|
|
246
|
-
export type TableProps = ExtractPropTypes<typeof tableProps>;
|
|
247
|
-
export type HeaderSearchEmits = typeof headerSearchEmits;
|
|
248
|
-
export type MainTableEmits = typeof mainTableEmits;
|
|
249
|
-
export type TableHeaderSearchInstance = InstanceType<typeof HeaderSearch>;
|
|
250
|
-
export type MainTableInstance = InstanceType<typeof MainTable>;
|
|
251
|
-
export type TablePaginationInstance = InstanceType<typeof Pagination>;
|
|
252
|
-
export type TableInstance = InstanceType<typeof Table>;
|