@a2simcode/ui 0.0.105 → 0.0.107
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/dist/components/autocomplete/index.d.ts +12 -0
- package/dist/components/autocomplete/src/autocomplete.vue.d.ts +13 -1
- package/dist/components/count/index.d.ts +3 -3
- package/dist/components/count/src/count.vue.d.ts +1 -1
- package/dist/components/input-layer/index.d.ts +54 -0
- package/dist/components/input-layer/src/input-layer.vue.d.ts +54 -0
- package/dist/components/table-panel/index.d.ts +81 -0
- package/dist/components/table-panel/src/table-panel.vue.d.ts +48 -0
- package/dist/simcode-ui.es.js +769 -750
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/meta/autocomplete.ts +35 -2
- package/docs/examples/table/action-filter.vue +9 -3
- package/package.json +1 -1
|
@@ -15,15 +15,19 @@ declare const JAutocomplete: {
|
|
|
15
15
|
"update:modelValue": (value: string | undefined) => any;
|
|
16
16
|
change: (value: string) => any;
|
|
17
17
|
}, import('vue').PublicProps, {
|
|
18
|
+
size: "small" | "default" | "large";
|
|
18
19
|
disabled: boolean;
|
|
19
20
|
options: import('..').AutocompleteOption[];
|
|
21
|
+
dataType: string;
|
|
20
22
|
valueKey: string;
|
|
23
|
+
labelKey: string;
|
|
21
24
|
placeholder: string;
|
|
22
25
|
clearable: boolean;
|
|
23
26
|
readonly: boolean;
|
|
24
27
|
autoFocus: boolean;
|
|
25
28
|
teleported: boolean;
|
|
26
29
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
30
|
+
dataCode: string;
|
|
27
31
|
debounce: number;
|
|
28
32
|
triggerOnFocus: boolean;
|
|
29
33
|
selectWhenUnmatched: boolean;
|
|
@@ -50,15 +54,19 @@ declare const JAutocomplete: {
|
|
|
50
54
|
focus: () => void;
|
|
51
55
|
blur: () => void;
|
|
52
56
|
}, {}, {}, {}, {
|
|
57
|
+
size: "small" | "default" | "large";
|
|
53
58
|
disabled: boolean;
|
|
54
59
|
options: import('..').AutocompleteOption[];
|
|
60
|
+
dataType: string;
|
|
55
61
|
valueKey: string;
|
|
62
|
+
labelKey: string;
|
|
56
63
|
placeholder: string;
|
|
57
64
|
clearable: boolean;
|
|
58
65
|
readonly: boolean;
|
|
59
66
|
autoFocus: boolean;
|
|
60
67
|
teleported: boolean;
|
|
61
68
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
69
|
+
dataCode: string;
|
|
62
70
|
debounce: number;
|
|
63
71
|
triggerOnFocus: boolean;
|
|
64
72
|
selectWhenUnmatched: boolean;
|
|
@@ -86,15 +94,19 @@ declare const JAutocomplete: {
|
|
|
86
94
|
"update:modelValue": (value: string | undefined) => any;
|
|
87
95
|
change: (value: string) => any;
|
|
88
96
|
}, string, {
|
|
97
|
+
size: "small" | "default" | "large";
|
|
89
98
|
disabled: boolean;
|
|
90
99
|
options: import('..').AutocompleteOption[];
|
|
100
|
+
dataType: string;
|
|
91
101
|
valueKey: string;
|
|
102
|
+
labelKey: string;
|
|
92
103
|
placeholder: string;
|
|
93
104
|
clearable: boolean;
|
|
94
105
|
readonly: boolean;
|
|
95
106
|
autoFocus: boolean;
|
|
96
107
|
teleported: boolean;
|
|
97
108
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
109
|
+
dataCode: string;
|
|
98
110
|
debounce: number;
|
|
99
111
|
triggerOnFocus: boolean;
|
|
100
112
|
selectWhenUnmatched: boolean;
|
|
@@ -14,7 +14,15 @@ export interface AutocompleteProps {
|
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
/** 是否只读 */
|
|
16
16
|
readonly?: boolean;
|
|
17
|
-
/**
|
|
17
|
+
/** 尺寸 */
|
|
18
|
+
size?: 'small' | 'default' | 'large';
|
|
19
|
+
/** 数据类型,用于从全局数据加载数据 */
|
|
20
|
+
dataType?: string;
|
|
21
|
+
/** 数据编码,用于从全局数据加载数据 */
|
|
22
|
+
dataCode?: string;
|
|
23
|
+
/** 输入建议对象中用于显示标签的键名 */
|
|
24
|
+
labelKey?: string;
|
|
25
|
+
/** 输入建议对象中用于显示的键值 */
|
|
18
26
|
valueKey?: string;
|
|
19
27
|
/** 获取输入建议的防抖延时,单位为毫秒 */
|
|
20
28
|
debounce?: number;
|
|
@@ -84,15 +92,19 @@ declare const __VLS_component: import('vue').DefineComponent<AutocompleteProps,
|
|
|
84
92
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
85
93
|
onChange?: ((value: string) => any) | undefined;
|
|
86
94
|
}>, {
|
|
95
|
+
size: "small" | "default" | "large";
|
|
87
96
|
disabled: boolean;
|
|
88
97
|
options: Option[];
|
|
98
|
+
dataType: string;
|
|
89
99
|
valueKey: string;
|
|
100
|
+
labelKey: string;
|
|
90
101
|
placeholder: string;
|
|
91
102
|
clearable: boolean;
|
|
92
103
|
readonly: boolean;
|
|
93
104
|
autoFocus: boolean;
|
|
94
105
|
teleported: boolean;
|
|
95
106
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
107
|
+
dataCode: string;
|
|
96
108
|
debounce: number;
|
|
97
109
|
triggerOnFocus: boolean;
|
|
98
110
|
selectWhenUnmatched: boolean;
|
|
@@ -14,12 +14,12 @@ declare const JCount: {
|
|
|
14
14
|
}, import('vue').PublicProps, {
|
|
15
15
|
size: "large" | "default" | "small";
|
|
16
16
|
modelValue: number | string;
|
|
17
|
+
getData: () => any;
|
|
17
18
|
formatJson: string;
|
|
18
19
|
decimal: number;
|
|
19
20
|
thousandSeparator: boolean;
|
|
20
21
|
isChinese: boolean;
|
|
21
22
|
tableIndex: number;
|
|
22
|
-
getData: () => any;
|
|
23
23
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
24
|
P: {};
|
|
25
25
|
B: {};
|
|
@@ -36,12 +36,12 @@ declare const JCount: {
|
|
|
36
36
|
}>, {}, {}, {}, {}, {
|
|
37
37
|
size: "large" | "default" | "small";
|
|
38
38
|
modelValue: number | string;
|
|
39
|
+
getData: () => any;
|
|
39
40
|
formatJson: string;
|
|
40
41
|
decimal: number;
|
|
41
42
|
thousandSeparator: boolean;
|
|
42
43
|
isChinese: boolean;
|
|
43
44
|
tableIndex: number;
|
|
44
|
-
getData: () => any;
|
|
45
45
|
}>;
|
|
46
46
|
__isFragment?: never;
|
|
47
47
|
__isTeleport?: never;
|
|
@@ -61,12 +61,12 @@ declare const JCount: {
|
|
|
61
61
|
}, string, {
|
|
62
62
|
size: "large" | "default" | "small";
|
|
63
63
|
modelValue: number | string;
|
|
64
|
+
getData: () => any;
|
|
64
65
|
formatJson: string;
|
|
65
66
|
decimal: number;
|
|
66
67
|
thousandSeparator: boolean;
|
|
67
68
|
isChinese: boolean;
|
|
68
69
|
tableIndex: number;
|
|
69
|
-
getData: () => any;
|
|
70
70
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
71
71
|
install: (app: import('vue').App) => void;
|
|
72
72
|
};
|
|
@@ -31,11 +31,11 @@ declare const _default: import('vue').DefineComponent<CountProps, {}, {}, {}, {}
|
|
|
31
31
|
}>, {
|
|
32
32
|
size: "large" | "default" | "small";
|
|
33
33
|
modelValue: number | string;
|
|
34
|
+
getData: () => any;
|
|
34
35
|
formatJson: string;
|
|
35
36
|
decimal: number;
|
|
36
37
|
thousandSeparator: boolean;
|
|
37
38
|
isChinese: boolean;
|
|
38
39
|
tableIndex: number;
|
|
39
|
-
getData: () => any;
|
|
40
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
41
|
export default _default;
|
|
@@ -356,6 +356,21 @@ export declare const JInputLayer: {
|
|
|
356
356
|
type: StringConstructor;
|
|
357
357
|
default: string;
|
|
358
358
|
};
|
|
359
|
+
actionFilter: {
|
|
360
|
+
type: import('vue').PropType<(params: {
|
|
361
|
+
action: import('..').ButtonCompType;
|
|
362
|
+
record: Record<string, any>;
|
|
363
|
+
recordIndex: number;
|
|
364
|
+
col: number;
|
|
365
|
+
row: number;
|
|
366
|
+
table: any;
|
|
367
|
+
selected: boolean;
|
|
368
|
+
}) => boolean | {
|
|
369
|
+
display?: boolean;
|
|
370
|
+
disabled?: boolean;
|
|
371
|
+
} | null | undefined>;
|
|
372
|
+
default: null;
|
|
373
|
+
};
|
|
359
374
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
360
375
|
immediate: {
|
|
361
376
|
type: BooleanConstructor;
|
|
@@ -412,6 +427,18 @@ export declare const JInputLayer: {
|
|
|
412
427
|
pageSize: number;
|
|
413
428
|
rowKey: string;
|
|
414
429
|
actions: import('..').ButtonCompType[];
|
|
430
|
+
actionFilter: (params: {
|
|
431
|
+
action: import('..').ButtonCompType;
|
|
432
|
+
record: Record<string, any>;
|
|
433
|
+
recordIndex: number;
|
|
434
|
+
col: number;
|
|
435
|
+
row: number;
|
|
436
|
+
table: any;
|
|
437
|
+
selected: boolean;
|
|
438
|
+
}) => boolean | {
|
|
439
|
+
display?: boolean;
|
|
440
|
+
disabled?: boolean;
|
|
441
|
+
} | null | undefined;
|
|
415
442
|
actionsMaxCount: number;
|
|
416
443
|
actionsLabel: string;
|
|
417
444
|
highlightMode: "row" | "cross" | "column" | "cell";
|
|
@@ -697,6 +724,21 @@ export declare const JInputLayer: {
|
|
|
697
724
|
type: StringConstructor;
|
|
698
725
|
default: string;
|
|
699
726
|
};
|
|
727
|
+
actionFilter: {
|
|
728
|
+
type: import('vue').PropType<(params: {
|
|
729
|
+
action: import('..').ButtonCompType;
|
|
730
|
+
record: Record<string, any>;
|
|
731
|
+
recordIndex: number;
|
|
732
|
+
col: number;
|
|
733
|
+
row: number;
|
|
734
|
+
table: any;
|
|
735
|
+
selected: boolean;
|
|
736
|
+
}) => boolean | {
|
|
737
|
+
display?: boolean;
|
|
738
|
+
disabled?: boolean;
|
|
739
|
+
} | null | undefined>;
|
|
740
|
+
default: null;
|
|
741
|
+
};
|
|
700
742
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
701
743
|
immediate: {
|
|
702
744
|
type: BooleanConstructor;
|
|
@@ -750,6 +792,18 @@ export declare const JInputLayer: {
|
|
|
750
792
|
pageSize: number;
|
|
751
793
|
rowKey: string;
|
|
752
794
|
actions: import('..').ButtonCompType[];
|
|
795
|
+
actionFilter: (params: {
|
|
796
|
+
action: import('..').ButtonCompType;
|
|
797
|
+
record: Record<string, any>;
|
|
798
|
+
recordIndex: number;
|
|
799
|
+
col: number;
|
|
800
|
+
row: number;
|
|
801
|
+
table: any;
|
|
802
|
+
selected: boolean;
|
|
803
|
+
}) => boolean | {
|
|
804
|
+
display?: boolean;
|
|
805
|
+
disabled?: boolean;
|
|
806
|
+
} | null | undefined;
|
|
753
807
|
actionsMaxCount: number;
|
|
754
808
|
actionsLabel: string;
|
|
755
809
|
highlightMode: "row" | "cross" | "column" | "cell";
|
|
@@ -415,6 +415,21 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
415
415
|
type: StringConstructor;
|
|
416
416
|
default: string;
|
|
417
417
|
};
|
|
418
|
+
actionFilter: {
|
|
419
|
+
type: import('vue').PropType<(params: {
|
|
420
|
+
action: import('../..').ButtonCompType;
|
|
421
|
+
record: Record<string, any>;
|
|
422
|
+
recordIndex: number;
|
|
423
|
+
col: number;
|
|
424
|
+
row: number;
|
|
425
|
+
table: any;
|
|
426
|
+
selected: boolean;
|
|
427
|
+
}) => boolean | {
|
|
428
|
+
display?: boolean;
|
|
429
|
+
disabled?: boolean;
|
|
430
|
+
} | null | undefined>;
|
|
431
|
+
default: null;
|
|
432
|
+
};
|
|
418
433
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
419
434
|
immediate: {
|
|
420
435
|
type: BooleanConstructor;
|
|
@@ -471,6 +486,18 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
471
486
|
pageSize: number;
|
|
472
487
|
rowKey: string;
|
|
473
488
|
actions: import('../..').ButtonCompType[];
|
|
489
|
+
actionFilter: (params: {
|
|
490
|
+
action: import('../..').ButtonCompType;
|
|
491
|
+
record: Record<string, any>;
|
|
492
|
+
recordIndex: number;
|
|
493
|
+
col: number;
|
|
494
|
+
row: number;
|
|
495
|
+
table: any;
|
|
496
|
+
selected: boolean;
|
|
497
|
+
}) => boolean | {
|
|
498
|
+
display?: boolean;
|
|
499
|
+
disabled?: boolean;
|
|
500
|
+
} | null | undefined;
|
|
474
501
|
actionsMaxCount: number;
|
|
475
502
|
actionsLabel: string;
|
|
476
503
|
highlightMode: "row" | "cross" | "column" | "cell";
|
|
@@ -756,6 +783,21 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
756
783
|
type: StringConstructor;
|
|
757
784
|
default: string;
|
|
758
785
|
};
|
|
786
|
+
actionFilter: {
|
|
787
|
+
type: import('vue').PropType<(params: {
|
|
788
|
+
action: import('../..').ButtonCompType;
|
|
789
|
+
record: Record<string, any>;
|
|
790
|
+
recordIndex: number;
|
|
791
|
+
col: number;
|
|
792
|
+
row: number;
|
|
793
|
+
table: any;
|
|
794
|
+
selected: boolean;
|
|
795
|
+
}) => boolean | {
|
|
796
|
+
display?: boolean;
|
|
797
|
+
disabled?: boolean;
|
|
798
|
+
} | null | undefined>;
|
|
799
|
+
default: null;
|
|
800
|
+
};
|
|
759
801
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
760
802
|
immediate: {
|
|
761
803
|
type: BooleanConstructor;
|
|
@@ -809,6 +851,18 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
809
851
|
pageSize: number;
|
|
810
852
|
rowKey: string;
|
|
811
853
|
actions: import('../..').ButtonCompType[];
|
|
854
|
+
actionFilter: (params: {
|
|
855
|
+
action: import('../..').ButtonCompType;
|
|
856
|
+
record: Record<string, any>;
|
|
857
|
+
recordIndex: number;
|
|
858
|
+
col: number;
|
|
859
|
+
row: number;
|
|
860
|
+
table: any;
|
|
861
|
+
selected: boolean;
|
|
862
|
+
}) => boolean | {
|
|
863
|
+
display?: boolean;
|
|
864
|
+
disabled?: boolean;
|
|
865
|
+
} | null | undefined;
|
|
812
866
|
actionsMaxCount: number;
|
|
813
867
|
actionsLabel: string;
|
|
814
868
|
highlightMode: "row" | "cross" | "column" | "cell";
|
|
@@ -75,6 +75,21 @@ declare const JTablePanel: {
|
|
|
75
75
|
type: StringConstructor;
|
|
76
76
|
default: string;
|
|
77
77
|
};
|
|
78
|
+
actionFilter: {
|
|
79
|
+
type: import('vue').PropType<(params: {
|
|
80
|
+
action: import('..').ButtonCompType;
|
|
81
|
+
record: Record<string, any>;
|
|
82
|
+
recordIndex: number;
|
|
83
|
+
col: number;
|
|
84
|
+
row: number;
|
|
85
|
+
table: any;
|
|
86
|
+
selected: boolean;
|
|
87
|
+
}) => boolean | {
|
|
88
|
+
display?: boolean;
|
|
89
|
+
disabled?: boolean;
|
|
90
|
+
} | null | undefined>;
|
|
91
|
+
default: null;
|
|
92
|
+
};
|
|
78
93
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
79
94
|
immediate: {
|
|
80
95
|
type: BooleanConstructor;
|
|
@@ -131,6 +146,18 @@ declare const JTablePanel: {
|
|
|
131
146
|
pageSize: number;
|
|
132
147
|
rowKey: string;
|
|
133
148
|
actions: import('..').ButtonCompType[];
|
|
149
|
+
actionFilter: (params: {
|
|
150
|
+
action: import('..').ButtonCompType;
|
|
151
|
+
record: Record<string, any>;
|
|
152
|
+
recordIndex: number;
|
|
153
|
+
col: number;
|
|
154
|
+
row: number;
|
|
155
|
+
table: any;
|
|
156
|
+
selected: boolean;
|
|
157
|
+
}) => boolean | {
|
|
158
|
+
display?: boolean;
|
|
159
|
+
disabled?: boolean;
|
|
160
|
+
} | null | undefined;
|
|
134
161
|
actionsMaxCount: number;
|
|
135
162
|
actionsLabel: string;
|
|
136
163
|
highlightMode: "row" | "cross" | "column" | "cell";
|
|
@@ -416,6 +443,21 @@ declare const JTablePanel: {
|
|
|
416
443
|
type: StringConstructor;
|
|
417
444
|
default: string;
|
|
418
445
|
};
|
|
446
|
+
actionFilter: {
|
|
447
|
+
type: import('vue').PropType<(params: {
|
|
448
|
+
action: import('..').ButtonCompType;
|
|
449
|
+
record: Record<string, any>;
|
|
450
|
+
recordIndex: number;
|
|
451
|
+
col: number;
|
|
452
|
+
row: number;
|
|
453
|
+
table: any;
|
|
454
|
+
selected: boolean;
|
|
455
|
+
}) => boolean | {
|
|
456
|
+
display?: boolean;
|
|
457
|
+
disabled?: boolean;
|
|
458
|
+
} | null | undefined>;
|
|
459
|
+
default: null;
|
|
460
|
+
};
|
|
419
461
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
420
462
|
immediate: {
|
|
421
463
|
type: BooleanConstructor;
|
|
@@ -469,6 +511,18 @@ declare const JTablePanel: {
|
|
|
469
511
|
pageSize: number;
|
|
470
512
|
rowKey: string;
|
|
471
513
|
actions: import('..').ButtonCompType[];
|
|
514
|
+
actionFilter: (params: {
|
|
515
|
+
action: import('..').ButtonCompType;
|
|
516
|
+
record: Record<string, any>;
|
|
517
|
+
recordIndex: number;
|
|
518
|
+
col: number;
|
|
519
|
+
row: number;
|
|
520
|
+
table: any;
|
|
521
|
+
selected: boolean;
|
|
522
|
+
}) => boolean | {
|
|
523
|
+
display?: boolean;
|
|
524
|
+
disabled?: boolean;
|
|
525
|
+
} | null | undefined;
|
|
472
526
|
actionsMaxCount: number;
|
|
473
527
|
actionsLabel: string;
|
|
474
528
|
highlightMode: "row" | "cross" | "column" | "cell";
|
|
@@ -563,6 +617,21 @@ declare const JTablePanel: {
|
|
|
563
617
|
type: StringConstructor;
|
|
564
618
|
default: string;
|
|
565
619
|
};
|
|
620
|
+
actionFilter: {
|
|
621
|
+
type: import('vue').PropType<(params: {
|
|
622
|
+
action: import('..').ButtonCompType;
|
|
623
|
+
record: Record<string, any>;
|
|
624
|
+
recordIndex: number;
|
|
625
|
+
col: number;
|
|
626
|
+
row: number;
|
|
627
|
+
table: any;
|
|
628
|
+
selected: boolean;
|
|
629
|
+
}) => boolean | {
|
|
630
|
+
display?: boolean;
|
|
631
|
+
disabled?: boolean;
|
|
632
|
+
} | null | undefined>;
|
|
633
|
+
default: null;
|
|
634
|
+
};
|
|
566
635
|
loadData: import('vue').PropType<(params: Record<string, any>) => Promise<any>>;
|
|
567
636
|
immediate: {
|
|
568
637
|
type: BooleanConstructor;
|
|
@@ -619,6 +688,18 @@ declare const JTablePanel: {
|
|
|
619
688
|
pageSize: number;
|
|
620
689
|
rowKey: string;
|
|
621
690
|
actions: import('..').ButtonCompType[];
|
|
691
|
+
actionFilter: (params: {
|
|
692
|
+
action: import('..').ButtonCompType;
|
|
693
|
+
record: Record<string, any>;
|
|
694
|
+
recordIndex: number;
|
|
695
|
+
col: number;
|
|
696
|
+
row: number;
|
|
697
|
+
table: any;
|
|
698
|
+
selected: boolean;
|
|
699
|
+
}) => boolean | {
|
|
700
|
+
display?: boolean;
|
|
701
|
+
disabled?: boolean;
|
|
702
|
+
} | null | undefined;
|
|
622
703
|
actionsMaxCount: number;
|
|
623
704
|
actionsLabel: string;
|
|
624
705
|
highlightMode: "row" | "cross" | "column" | "cell";
|
|
@@ -138,6 +138,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
138
138
|
type: StringConstructor;
|
|
139
139
|
default: string;
|
|
140
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* @zh 行内操作按钮过滤方法
|
|
143
|
+
*/
|
|
144
|
+
actionFilter: {
|
|
145
|
+
type: PropType<(params: {
|
|
146
|
+
action: ButtonCompType;
|
|
147
|
+
record: Record<string, any>;
|
|
148
|
+
recordIndex: number;
|
|
149
|
+
col: number;
|
|
150
|
+
row: number;
|
|
151
|
+
table: any;
|
|
152
|
+
selected: boolean;
|
|
153
|
+
}) => boolean | {
|
|
154
|
+
display?: boolean;
|
|
155
|
+
disabled?: boolean;
|
|
156
|
+
} | null | undefined>;
|
|
157
|
+
default: null;
|
|
158
|
+
};
|
|
141
159
|
/**
|
|
142
160
|
* @zh 加载数据方法
|
|
143
161
|
*/
|
|
@@ -341,6 +359,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
341
359
|
type: StringConstructor;
|
|
342
360
|
default: string;
|
|
343
361
|
};
|
|
362
|
+
/**
|
|
363
|
+
* @zh 行内操作按钮过滤方法
|
|
364
|
+
*/
|
|
365
|
+
actionFilter: {
|
|
366
|
+
type: PropType<(params: {
|
|
367
|
+
action: ButtonCompType;
|
|
368
|
+
record: Record<string, any>;
|
|
369
|
+
recordIndex: number;
|
|
370
|
+
col: number;
|
|
371
|
+
row: number;
|
|
372
|
+
table: any;
|
|
373
|
+
selected: boolean;
|
|
374
|
+
}) => boolean | {
|
|
375
|
+
display?: boolean;
|
|
376
|
+
disabled?: boolean;
|
|
377
|
+
} | null | undefined>;
|
|
378
|
+
default: null;
|
|
379
|
+
};
|
|
344
380
|
/**
|
|
345
381
|
* @zh 加载数据方法
|
|
346
382
|
*/
|
|
@@ -414,6 +450,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
414
450
|
pageSize: number;
|
|
415
451
|
rowKey: string;
|
|
416
452
|
actions: ButtonCompType[];
|
|
453
|
+
actionFilter: (params: {
|
|
454
|
+
action: ButtonCompType;
|
|
455
|
+
record: Record<string, any>;
|
|
456
|
+
recordIndex: number;
|
|
457
|
+
col: number;
|
|
458
|
+
row: number;
|
|
459
|
+
table: any;
|
|
460
|
+
selected: boolean;
|
|
461
|
+
}) => boolean | {
|
|
462
|
+
display?: boolean;
|
|
463
|
+
disabled?: boolean;
|
|
464
|
+
} | null | undefined;
|
|
417
465
|
actionsMaxCount: number;
|
|
418
466
|
actionsLabel: string;
|
|
419
467
|
highlightMode: "row" | "cross" | "column" | "cell";
|