@wx-design/components 1.5.4 → 1.5.5
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/core/ConfigProvider/index.d.ts +95 -2
- package/es/core/Input/index.vue.d.ts +6 -6
- package/es/core/Modal/index.vue.d.ts +14 -14
- package/es/core/Select/index.vue.d.ts +2 -2
- package/es/core/Table/components/CellEditors/Boolean.d.ts +6 -6
- package/es/core/Table/components/CellEditors/Select.d.ts +2 -2
- package/es/core/Table/components/TableSet/ColumnSetBody.vue.d.ts +5 -5
- package/es/core/Table/hooks/useTableFilters.d.ts +1 -0
- package/es/core/Table/index.vue.d.ts +2 -2
- package/es/index.mjs +17335 -16910
- package/es/locales/lang/bn.d.ts +25 -0
- package/es/locales/lang/en.d.ts +25 -0
- package/es/locales/lang/vi.d.ts +25 -0
- package/es/locales/lang/zh-cn.d.ts +25 -0
- package/es/locales/useLocale.d.ts +25 -0
- package/es/style.css +1 -1
- package/lib/core/ConfigProvider/index.d.ts +95 -2
- package/lib/core/Input/index.vue.d.ts +6 -6
- package/lib/core/Modal/index.vue.d.ts +14 -14
- package/lib/core/Select/index.vue.d.ts +2 -2
- package/lib/core/Table/components/CellEditors/Boolean.d.ts +6 -6
- package/lib/core/Table/components/CellEditors/Select.d.ts +2 -2
- package/lib/core/Table/components/TableSet/ColumnSetBody.vue.d.ts +5 -5
- package/lib/core/Table/hooks/useTableFilters.d.ts +1 -0
- package/lib/core/Table/index.vue.d.ts +2 -2
- package/lib/index.js +7 -7
- package/lib/locales/lang/bn.d.ts +25 -0
- package/lib/locales/lang/en.d.ts +25 -0
- package/lib/locales/lang/vi.d.ts +25 -0
- package/lib/locales/lang/zh-cn.d.ts +25 -0
- package/lib/locales/useLocale.d.ts +25 -0
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { App, Ref, InjectionKey } from 'vue';
|
|
|
2
2
|
import { default as zhCn } from '../../locales/lang/zh-cn';
|
|
3
3
|
export declare const injectSabDesignLocaleKey: InjectionKey<Ref<typeof zhCn>>;
|
|
4
4
|
export declare const useConfigProvide: () => {
|
|
5
|
-
locale: {
|
|
5
|
+
locale: Ref<{
|
|
6
6
|
sabDesign: {
|
|
7
7
|
table: {
|
|
8
8
|
set: {
|
|
@@ -22,6 +22,99 @@ export declare const useConfigProvide: () => {
|
|
|
22
22
|
selectAll: string;
|
|
23
23
|
filter: string;
|
|
24
24
|
reset: string;
|
|
25
|
+
custom: string;
|
|
26
|
+
customFilter: {
|
|
27
|
+
title: string;
|
|
28
|
+
condition1: string;
|
|
29
|
+
condition2: string;
|
|
30
|
+
confirm: string;
|
|
31
|
+
cancel: string;
|
|
32
|
+
required: string;
|
|
33
|
+
operators: {
|
|
34
|
+
eq: string;
|
|
35
|
+
gt: string;
|
|
36
|
+
gte: string;
|
|
37
|
+
lt: string;
|
|
38
|
+
lte: string;
|
|
39
|
+
null: string;
|
|
40
|
+
notNull: string;
|
|
41
|
+
like: string;
|
|
42
|
+
startsWith: string;
|
|
43
|
+
endsWith: string;
|
|
44
|
+
};
|
|
45
|
+
connectors: {
|
|
46
|
+
and: string;
|
|
47
|
+
or: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
filterTags: {
|
|
52
|
+
label: string;
|
|
53
|
+
clearAll: string;
|
|
54
|
+
booleanTrue: string;
|
|
55
|
+
booleanFalse: string;
|
|
56
|
+
};
|
|
57
|
+
loadingText: string;
|
|
58
|
+
emptyText: string;
|
|
59
|
+
total: string;
|
|
60
|
+
close: string;
|
|
61
|
+
confirm: string;
|
|
62
|
+
custom: {
|
|
63
|
+
confirmButtonText: string;
|
|
64
|
+
resetButtonText: string;
|
|
65
|
+
cancelButtonText: string;
|
|
66
|
+
closeButtonText: string;
|
|
67
|
+
modal: {
|
|
68
|
+
title: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}, {
|
|
74
|
+
sabDesign: {
|
|
75
|
+
table: {
|
|
76
|
+
set: {
|
|
77
|
+
selectAll: string;
|
|
78
|
+
tableConfig: string;
|
|
79
|
+
seq: string;
|
|
80
|
+
fieldName: string;
|
|
81
|
+
show: string;
|
|
82
|
+
field: string;
|
|
83
|
+
renderFixed: string;
|
|
84
|
+
width: string;
|
|
85
|
+
fixedLeft: string;
|
|
86
|
+
fixedRight: string;
|
|
87
|
+
fixedNone: string;
|
|
88
|
+
};
|
|
89
|
+
filter: {
|
|
90
|
+
selectAll: string;
|
|
91
|
+
filter: string;
|
|
92
|
+
reset: string;
|
|
93
|
+
custom: string;
|
|
94
|
+
customFilter: {
|
|
95
|
+
title: string;
|
|
96
|
+
condition1: string;
|
|
97
|
+
condition2: string;
|
|
98
|
+
confirm: string;
|
|
99
|
+
cancel: string;
|
|
100
|
+
required: string;
|
|
101
|
+
operators: {
|
|
102
|
+
eq: string;
|
|
103
|
+
gt: string;
|
|
104
|
+
gte: string;
|
|
105
|
+
lt: string;
|
|
106
|
+
lte: string;
|
|
107
|
+
null: string;
|
|
108
|
+
notNull: string;
|
|
109
|
+
like: string;
|
|
110
|
+
startsWith: string;
|
|
111
|
+
endsWith: string;
|
|
112
|
+
};
|
|
113
|
+
connectors: {
|
|
114
|
+
and: string;
|
|
115
|
+
or: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
25
118
|
};
|
|
26
119
|
filterTags: {
|
|
27
120
|
label: string;
|
|
@@ -45,7 +138,7 @@ export declare const useConfigProvide: () => {
|
|
|
45
138
|
};
|
|
46
139
|
};
|
|
47
140
|
};
|
|
48
|
-
}
|
|
141
|
+
}>;
|
|
49
142
|
};
|
|
50
143
|
export declare const ConfigProvider: {
|
|
51
144
|
install(app: App): any;
|
|
@@ -44,11 +44,11 @@ declare function __VLS_template(): {
|
|
|
44
44
|
readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
45
45
|
readonly autofocus: boolean;
|
|
46
46
|
readonly rows: number;
|
|
47
|
+
readonly size?: ("" | "small" | "default" | "large") | undefined;
|
|
47
48
|
readonly inputmode?: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
48
49
|
readonly name?: string | undefined;
|
|
49
50
|
readonly ariaLabel?: string | undefined;
|
|
50
51
|
readonly id?: string | undefined;
|
|
51
|
-
readonly size?: ("" | "small" | "default" | "large") | undefined;
|
|
52
52
|
readonly maxlength?: (string | number) | undefined;
|
|
53
53
|
readonly minlength?: (string | number) | undefined;
|
|
54
54
|
readonly resize?: ("none" | "both" | "horizontal" | "vertical") | undefined;
|
|
@@ -85,7 +85,7 @@ declare function __VLS_template(): {
|
|
|
85
85
|
$root: import('vue').ComponentPublicInstance | null;
|
|
86
86
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
87
87
|
$host: Element | null;
|
|
88
|
-
$emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "
|
|
88
|
+
$emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
89
89
|
$el: any;
|
|
90
90
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
91
91
|
readonly inputmode: {
|
|
@@ -520,7 +520,7 @@ declare function __VLS_template(): {
|
|
|
520
520
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
521
521
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
522
522
|
onClear?: (() => any) | undefined;
|
|
523
|
-
}, "inputmode" | "id" | "disabled" | "modelValue" | "type" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus" | "rows" | "
|
|
523
|
+
}, "clear" | "inputmode" | "id" | "disabled" | "modelValue" | "type" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus" | "rows" | "input" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
524
524
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
525
525
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
526
526
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
@@ -608,11 +608,11 @@ declare const __VLS_component: import('vue').DefineComponent<SabInputProps, {
|
|
|
608
608
|
readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
609
609
|
readonly autofocus: boolean;
|
|
610
610
|
readonly rows: number;
|
|
611
|
+
readonly size?: ("" | "small" | "default" | "large") | undefined;
|
|
611
612
|
readonly inputmode?: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
612
613
|
readonly name?: string | undefined;
|
|
613
614
|
readonly ariaLabel?: string | undefined;
|
|
614
615
|
readonly id?: string | undefined;
|
|
615
|
-
readonly size?: ("" | "small" | "default" | "large") | undefined;
|
|
616
616
|
readonly maxlength?: (string | number) | undefined;
|
|
617
617
|
readonly minlength?: (string | number) | undefined;
|
|
618
618
|
readonly resize?: ("none" | "both" | "horizontal" | "vertical") | undefined;
|
|
@@ -649,7 +649,7 @@ declare const __VLS_component: import('vue').DefineComponent<SabInputProps, {
|
|
|
649
649
|
$root: import('vue').ComponentPublicInstance | null;
|
|
650
650
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
651
651
|
$host: Element | null;
|
|
652
|
-
$emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "
|
|
652
|
+
$emit: ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
653
653
|
$el: any;
|
|
654
654
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
655
655
|
readonly inputmode: {
|
|
@@ -1084,7 +1084,7 @@ declare const __VLS_component: import('vue').DefineComponent<SabInputProps, {
|
|
|
1084
1084
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
1085
1085
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
1086
1086
|
onClear?: (() => any) | undefined;
|
|
1087
|
-
}, "inputmode" | "id" | "disabled" | "modelValue" | "type" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus" | "rows" | "
|
|
1087
|
+
}, "clear" | "inputmode" | "id" | "disabled" | "modelValue" | "type" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus" | "rows" | "input" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
1088
1088
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
1089
1089
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
1090
1090
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
@@ -40,38 +40,38 @@ declare function __VLS_template(): {
|
|
|
40
40
|
};
|
|
41
41
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
42
42
|
declare const __VLS_component: import('vue').DefineComponent<VxeModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
-
resize: (...args: any[]) => void;
|
|
44
|
-
hide: (...args: any[]) => void;
|
|
45
|
-
"update:modelValue": (...args: any[]) => void;
|
|
46
|
-
zoom: (...args: any[]) => void;
|
|
47
43
|
close: (...args: any[]) => void;
|
|
48
44
|
confirm: (...args: any[]) => void;
|
|
49
45
|
show: (...args: any[]) => void;
|
|
50
|
-
"before-hide": (...args: any[]) => void;
|
|
51
46
|
cancel: (...args: any[]) => void;
|
|
47
|
+
resize: (...args: any[]) => void;
|
|
48
|
+
"update:modelValue": (...args: any[]) => void;
|
|
49
|
+
hide: (...args: any[]) => void;
|
|
50
|
+
zoom: (...args: any[]) => void;
|
|
51
|
+
"before-hide": (...args: any[]) => void;
|
|
52
52
|
move: (...args: any[]) => void;
|
|
53
53
|
}, string, import('vue').PublicProps, Readonly<VxeModalProps> & Readonly<{
|
|
54
|
-
onResize?: ((...args: any[]) => any) | undefined;
|
|
55
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
onZoom?: ((...args: any[]) => any) | undefined;
|
|
58
54
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
59
55
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
60
56
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
61
|
-
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
62
57
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onZoom?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
onMove?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
}>, {
|
|
65
|
+
width: import("vxe-pc-ui").VxeModalPropTypes.Width;
|
|
65
66
|
type: import("vxe-pc-ui").VxeModalPropTypes.Type;
|
|
66
67
|
resize: import("vxe-pc-ui").VxeModalPropTypes.Resize;
|
|
68
|
+
lockScroll: import("vxe-pc-ui").VxeModalPropTypes.LockScroll;
|
|
69
|
+
draggable: import("vxe-pc-ui").VxeModalPropTypes.Draggable;
|
|
70
|
+
showClose: import("vxe-pc-ui").VxeModalPropTypes.ShowClose;
|
|
67
71
|
mask: import("vxe-pc-ui").VxeModalPropTypes.Mask;
|
|
68
72
|
height: import("vxe-pc-ui").VxeModalPropTypes.Height;
|
|
69
|
-
width: import("vxe-pc-ui").VxeModalPropTypes.Width;
|
|
70
73
|
showHeader: import("vxe-pc-ui").VxeModalPropTypes.ShowHeader;
|
|
71
74
|
showFooter: import("vxe-pc-ui").VxeModalPropTypes.ShowFooter;
|
|
72
|
-
lockScroll: import("vxe-pc-ui").VxeModalPropTypes.LockScroll;
|
|
73
|
-
draggable: import("vxe-pc-ui").VxeModalPropTypes.Draggable;
|
|
74
|
-
showClose: import("vxe-pc-ui").VxeModalPropTypes.ShowClose;
|
|
75
75
|
lockView: import("vxe-pc-ui").VxeModalPropTypes.LockView;
|
|
76
76
|
cancelClosable: import("vxe-pc-ui").VxeModalPropTypes.CancelClosable;
|
|
77
77
|
confirmClosable: import("vxe-pc-ui").VxeModalPropTypes.ConfirmClosable;
|
|
@@ -39,10 +39,10 @@ declare const __VLS_component: import('vue').DefineComponent<SabSelectProps, {
|
|
|
39
39
|
onLoadmore?: ((value: any, pagination: Pagination) => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
41
|
clearable: boolean;
|
|
42
|
-
|
|
42
|
+
filterable: boolean;
|
|
43
43
|
valueKey: string;
|
|
44
|
+
labelKey: string;
|
|
44
45
|
disabledKey: string;
|
|
45
|
-
filterable: boolean;
|
|
46
46
|
disabledInnerState: boolean;
|
|
47
47
|
selectType: "v1" | "v2";
|
|
48
48
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { SabColumnProps } from '../../../../types/table';
|
|
2
2
|
declare const SabCellBoolean: import('vue').DefineComponent<{
|
|
3
|
+
readonly width?: (string | number) | undefined;
|
|
3
4
|
name?: string | undefined;
|
|
4
5
|
disabled?: boolean | undefined;
|
|
5
6
|
modelValue?: string | number | boolean | undefined;
|
|
6
7
|
validateEvent?: boolean | undefined;
|
|
7
8
|
readonly loading?: boolean | undefined;
|
|
8
|
-
readonly width?: (string | number) | undefined;
|
|
9
9
|
readonly inlinePrompt?: boolean | undefined;
|
|
10
10
|
readonly activeText?: string | undefined;
|
|
11
11
|
readonly inactiveText?: string | undefined;
|
|
12
12
|
readonly activeValue?: (string | number | boolean) | undefined;
|
|
13
13
|
readonly inactiveValue?: (string | number | boolean) | undefined;
|
|
14
|
+
size?: "" | "small" | "default" | "large" | undefined;
|
|
14
15
|
readonly ariaLabel?: string | undefined;
|
|
15
16
|
id?: string | undefined;
|
|
16
|
-
size?: "" | "small" | "default" | "large" | undefined;
|
|
17
17
|
tabindex?: string | number | undefined;
|
|
18
18
|
readonly inactiveActionIcon?: (string | import('vue').Component) | undefined;
|
|
19
19
|
readonly activeActionIcon?: (string | import('vue').Component) | undefined;
|
|
@@ -23,8 +23,8 @@ declare const SabCellBoolean: import('vue').DefineComponent<{
|
|
|
23
23
|
indeterminate?: boolean | undefined;
|
|
24
24
|
checked?: boolean | undefined;
|
|
25
25
|
border?: boolean | undefined;
|
|
26
|
-
value?: string | number | boolean | Record<string, any> | undefined;
|
|
27
26
|
label?: string | number | boolean | Record<string, any> | undefined;
|
|
27
|
+
value?: string | number | boolean | Record<string, any> | undefined;
|
|
28
28
|
ariaControls?: string | undefined;
|
|
29
29
|
trueValue?: string | number | undefined;
|
|
30
30
|
falseValue?: string | number | undefined;
|
|
@@ -64,20 +64,20 @@ declare const SabCellBoolean: import('vue').DefineComponent<{
|
|
|
64
64
|
alwaysShowEdit?: boolean;
|
|
65
65
|
};
|
|
66
66
|
}, () => JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<{
|
|
67
|
+
readonly width?: (string | number) | undefined;
|
|
67
68
|
name?: string | undefined;
|
|
68
69
|
disabled?: boolean | undefined;
|
|
69
70
|
modelValue?: string | number | boolean | undefined;
|
|
70
71
|
validateEvent?: boolean | undefined;
|
|
71
72
|
readonly loading?: boolean | undefined;
|
|
72
|
-
readonly width?: (string | number) | undefined;
|
|
73
73
|
readonly inlinePrompt?: boolean | undefined;
|
|
74
74
|
readonly activeText?: string | undefined;
|
|
75
75
|
readonly inactiveText?: string | undefined;
|
|
76
76
|
readonly activeValue?: (string | number | boolean) | undefined;
|
|
77
77
|
readonly inactiveValue?: (string | number | boolean) | undefined;
|
|
78
|
+
size?: "" | "small" | "default" | "large" | undefined;
|
|
78
79
|
readonly ariaLabel?: string | undefined;
|
|
79
80
|
id?: string | undefined;
|
|
80
|
-
size?: "" | "small" | "default" | "large" | undefined;
|
|
81
81
|
tabindex?: string | number | undefined;
|
|
82
82
|
readonly inactiveActionIcon?: (string | import('vue').Component) | undefined;
|
|
83
83
|
readonly activeActionIcon?: (string | import('vue').Component) | undefined;
|
|
@@ -87,8 +87,8 @@ declare const SabCellBoolean: import('vue').DefineComponent<{
|
|
|
87
87
|
indeterminate?: boolean | undefined;
|
|
88
88
|
checked?: boolean | undefined;
|
|
89
89
|
border?: boolean | undefined;
|
|
90
|
-
value?: string | number | boolean | Record<string, any> | undefined;
|
|
91
90
|
label?: string | number | boolean | Record<string, any> | undefined;
|
|
91
|
+
value?: string | number | boolean | Record<string, any> | undefined;
|
|
92
92
|
ariaControls?: string | undefined;
|
|
93
93
|
trueValue?: string | number | undefined;
|
|
94
94
|
falseValue?: string | number | undefined;
|
|
@@ -51,10 +51,10 @@ declare const SabCellEditSelect: import('vue').DefineComponent<import('vue').Ext
|
|
|
51
51
|
"onUpdate:label"?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
53
|
modelValue: string | number | unknown[];
|
|
54
|
-
|
|
54
|
+
remote: boolean;
|
|
55
55
|
valueKey: string;
|
|
56
|
+
labelKey: string;
|
|
56
57
|
disabledKey: string;
|
|
57
|
-
remote: boolean;
|
|
58
58
|
revalidateOnFocus: boolean;
|
|
59
59
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
60
60
|
export default SabCellEditSelect;
|
|
@@ -189,10 +189,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
189
189
|
refreshData: () => void;
|
|
190
190
|
sortCustomColumns(fields: string | string[], index: number): Promise<void>;
|
|
191
191
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
192
|
+
size: VxeTablePropTypes.Size;
|
|
193
|
+
emptyText: VxeTablePropTypes.EmptyText;
|
|
192
194
|
params: VxeTablePropTypes.Params;
|
|
193
195
|
name: string;
|
|
194
196
|
id: VxeTablePropTypes.ID<VxeTablePropTypes.Row>;
|
|
195
|
-
size: VxeTablePropTypes.Size;
|
|
196
197
|
border: VxeTablePropTypes.Border;
|
|
197
198
|
loading: VxeTablePropTypes.Loading;
|
|
198
199
|
round: VxeTablePropTypes.Round;
|
|
@@ -280,7 +281,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
280
281
|
editConfig: VxeTablePropTypes.EditConfig<VxeTablePropTypes.Row>;
|
|
281
282
|
validConfig: VxeTablePropTypes.ValidConfig<VxeTablePropTypes.Row>;
|
|
282
283
|
editRules: VxeTablePropTypes.EditRules<VxeTablePropTypes.Row>;
|
|
283
|
-
emptyText: VxeTablePropTypes.EmptyText;
|
|
284
284
|
emptyRender: VxeTablePropTypes.EmptyRender;
|
|
285
285
|
loadingConfig: VxeTablePropTypes.LoadingConfig;
|
|
286
286
|
scrollX: VxeTablePropTypes.ScrollX;
|
|
@@ -333,10 +333,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
333
333
|
$nextTick: typeof import('vue').nextTick;
|
|
334
334
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
335
335
|
} & Readonly<{
|
|
336
|
+
size: VxeTablePropTypes.Size;
|
|
337
|
+
emptyText: VxeTablePropTypes.EmptyText;
|
|
336
338
|
params: VxeTablePropTypes.Params;
|
|
337
339
|
name: string;
|
|
338
340
|
id: VxeTablePropTypes.ID<VxeTablePropTypes.Row>;
|
|
339
|
-
size: VxeTablePropTypes.Size;
|
|
340
341
|
border: VxeTablePropTypes.Border;
|
|
341
342
|
loading: VxeTablePropTypes.Loading;
|
|
342
343
|
round: VxeTablePropTypes.Round;
|
|
@@ -424,7 +425,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
424
425
|
editConfig: VxeTablePropTypes.EditConfig<VxeTablePropTypes.Row>;
|
|
425
426
|
validConfig: VxeTablePropTypes.ValidConfig<VxeTablePropTypes.Row>;
|
|
426
427
|
editRules: VxeTablePropTypes.EditRules<VxeTablePropTypes.Row>;
|
|
427
|
-
emptyText: VxeTablePropTypes.EmptyText;
|
|
428
428
|
emptyRender: VxeTablePropTypes.EmptyRender;
|
|
429
429
|
loadingConfig: VxeTablePropTypes.LoadingConfig;
|
|
430
430
|
scrollX: VxeTablePropTypes.ScrollX;
|
|
@@ -485,7 +485,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
485
485
|
customConfig?: (VxeTablePropTypes.CustomConfig<VxeTablePropTypes.Row> & {
|
|
486
486
|
useSabModal?: boolean;
|
|
487
487
|
}) | undefined;
|
|
488
|
-
}> & Readonly<{}>, "reloadRow" | "clearFilter" | "getCheckedFilters" | ("
|
|
488
|
+
}> & Readonly<{}>, "reloadRow" | "clearFilter" | "getCheckedFilters" | ("size" | "emptyText" | "params" | "name" | "id" | "border" | "loading" | "round" | "align" | "maxHeight" | "data" | "class" | "height" | "headerFilterConfig" | "minHeight" | "stripe" | "padding" | "headerAlign" | "footerAlign" | "showHeader" | "showFooter" | "footerData" | "footerMethod" | "rowClassName" | "cellClassName" | "headerRowClassName" | "headerCellClassName" | "footerRowClassName" | "footerCellClassName" | "cellStyle" | "rowStyle" | "headerCellStyle" | "headerRowStyle" | "footerRowStyle" | "footerCellStyle" | "showCustomHeader" | "mergeHeaderCells" | "mergeCells" | "mergeFooterCells" | "mergeFooterItems" | "spanMethod" | "footerSpanMethod" | "showOverflow" | "showHeaderOverflow" | "showFooterOverflow" | "keepSource" | "autoResize" | "syncResize" | "columnConfig" | "rowConfig" | "cellConfig" | "headerCellConfig" | "footerCellConfig" | "aggregateConfig" | "rowGroupConfig" | "currentRowConfig" | "currentColumnConfig" | "dragConfig" | "rowDragConfig" | "columnDragConfig" | "customConfig" | "resizeConfig" | "resizableConfig" | "seqConfig" | "sortConfig" | "filterConfig" | "radioConfig" | "checkboxConfig" | "tooltipConfig" | "exportConfig" | "importConfig" | "printConfig" | "expandConfig" | "treeConfig" | "menuConfig" | "mouseConfig" | "areaConfig" | "fnrConfig" | "keyboardConfig" | "clipConfig" | "editConfig" | "validConfig" | "editRules" | "emptyRender" | "loadingConfig" | "scrollX" | "scrollY" | "virtualXConfig" | "virtualYConfig" | "scrollbarConfig" | "resizable" | "highlightCurrentRow" | "highlightHoverRow" | "highlightCurrentColumn" | "highlightHoverColumn" | "highlightCell" | "columnKey" | "rowKey" | "rowId" | "fit" | "animat" | "delayHover" | "columns" | "tableSetConfig" | "editable" | "wrapClassName" | "checkboxRecords" | "withSeq" | "withCheckbox" | "headerFilterModel" | "showToolbar" | "autoColumnWidth" | "rowBackgroundHighlight" | "reloadWithDestroy") | "getInstance" | "refreshData" | "sortCustomColumns"> & import('vue').ShallowUnwrapRef<{
|
|
489
489
|
getInstance: () => import('vxe-table').VxeTableInstance | undefined;
|
|
490
490
|
reloadRow: (rows: any | any[]) => void;
|
|
491
491
|
getCheckedFilters(): VxeTableDefines.FilterCheckedParams<any>[] | undefined;
|
|
@@ -13,6 +13,7 @@ export interface UseTableFiltersOptions {
|
|
|
13
13
|
emit: (event: string, ...args: any[]) => void;
|
|
14
14
|
}
|
|
15
15
|
export declare function useTableFilters(options: UseTableFiltersOptions): {
|
|
16
|
+
clearColumnFilterData: (field?: string) => void;
|
|
16
17
|
handleClearColumnFilter: (field: string) => void;
|
|
17
18
|
handleClearAllFilters: () => void;
|
|
18
19
|
reRenderTable: (forceDestroy?: boolean) => void;
|
|
@@ -25,10 +25,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
25
25
|
refreshData: () => void;
|
|
26
26
|
sortCustomColumns(fields: string | string[], index: number): Promise<void>;
|
|
27
27
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
28
|
+
size: import("vxe-table").VxeTablePropTypes.Size;
|
|
29
|
+
emptyText: import("vxe-table").VxeTablePropTypes.EmptyText;
|
|
28
30
|
params: import("vxe-table").VxeTablePropTypes.Params;
|
|
29
31
|
name: string;
|
|
30
32
|
id: import("vxe-table").VxeTablePropTypes.ID<import("vxe-table").VxeTablePropTypes.Row>;
|
|
31
|
-
size: import("vxe-table").VxeTablePropTypes.Size;
|
|
32
33
|
border: import("vxe-table").VxeTablePropTypes.Border;
|
|
33
34
|
loading: import("vxe-table").VxeTablePropTypes.Loading;
|
|
34
35
|
round: import("vxe-table").VxeTablePropTypes.Round;
|
|
@@ -116,7 +117,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
116
117
|
editConfig: import("vxe-table").VxeTablePropTypes.EditConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
117
118
|
validConfig: import("vxe-table").VxeTablePropTypes.ValidConfig<import("vxe-table").VxeTablePropTypes.Row>;
|
|
118
119
|
editRules: import("vxe-table").VxeTablePropTypes.EditRules<import("vxe-table").VxeTablePropTypes.Row>;
|
|
119
|
-
emptyText: import("vxe-table").VxeTablePropTypes.EmptyText;
|
|
120
120
|
emptyRender: import("vxe-table").VxeTablePropTypes.EmptyRender;
|
|
121
121
|
loadingConfig: import("vxe-table").VxeTablePropTypes.LoadingConfig;
|
|
122
122
|
scrollX: import("vxe-table").VxeTablePropTypes.ScrollX;
|