@wx-design/components 2.0.0-alpha.10 → 2.0.0-alpha.11
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 +109 -3
- package/es/core/Input/index.vue.d.ts +1114 -0
- package/es/core/Modal/index.vue.d.ts +14 -14
- package/es/core/Select/index.vue.d.ts +4 -4
- package/es/core/Table/components/CellEditors/Boolean.d.ts +6 -8
- package/es/core/Table/components/CellEditors/Select.d.ts +2 -2
- package/es/core/Table/components/FilterTagsDisplay/index.vue.d.ts +1 -1
- package/es/core/Table/components/TableSet/ColumnSet.vue.d.ts +2 -499
- package/es/core/Table/components/TableSet/ColumnSetBody.vue.d.ts +524 -0
- package/es/core/Table/components/TableSet/index.vue.d.ts +1 -6
- package/es/core/Table/components/TableSet/store.d.ts +11 -0
- package/es/core/Table/components/TableSet/utils.d.ts +9 -9
- package/es/core/Table/hooks/useTableCore.d.ts +1 -1
- package/es/core/Table/hooks/useTableFilters.d.ts +4 -3
- package/es/core/Table/index.vue.d.ts +12 -5
- package/es/core/Table/store.d.ts +4 -0
- package/es/index.d.ts +1 -0
- package/es/index.mjs +38798 -29763
- package/es/locales/lang/bn.d.ts +39 -1
- package/es/locales/lang/en.d.ts +39 -1
- package/es/locales/lang/vi.d.ts +39 -1
- package/es/locales/lang/zh-cn.d.ts +39 -1
- package/es/locales/useLocale.d.ts +39 -1
- package/es/style.css +1 -1
- package/lib/core/ConfigProvider/index.d.ts +109 -3
- package/lib/core/Input/index.vue.d.ts +1114 -0
- package/lib/core/Modal/index.vue.d.ts +14 -14
- package/lib/core/Select/index.vue.d.ts +4 -4
- package/lib/core/Table/components/CellEditors/Boolean.d.ts +6 -8
- package/lib/core/Table/components/CellEditors/Select.d.ts +2 -2
- package/lib/core/Table/components/FilterTagsDisplay/index.vue.d.ts +1 -1
- package/lib/core/Table/components/TableSet/ColumnSet.vue.d.ts +2 -499
- package/lib/core/Table/components/TableSet/ColumnSetBody.vue.d.ts +524 -0
- package/lib/core/Table/components/TableSet/index.vue.d.ts +1 -6
- package/lib/core/Table/components/TableSet/store.d.ts +11 -0
- package/lib/core/Table/components/TableSet/utils.d.ts +9 -9
- package/lib/core/Table/hooks/useTableCore.d.ts +1 -1
- package/lib/core/Table/hooks/useTableFilters.d.ts +4 -3
- package/lib/core/Table/index.vue.d.ts +12 -5
- package/lib/core/Table/store.d.ts +4 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +6 -5
- package/lib/locales/lang/bn.d.ts +39 -1
- package/lib/locales/lang/en.d.ts +39 -1
- package/lib/locales/lang/vi.d.ts +39 -1
- package/lib/locales/lang/zh-cn.d.ts +39 -1
- package/lib/locales/useLocale.d.ts +39 -1
- package/lib/style.css +1 -1
- package/package.json +4 -4
- package/types/index.d.ts +27 -15
- package/types/input/index.d.ts +83 -0
- package/types/select/index.d.ts +2 -0
- package/types/table/column.d.ts +2 -2
- package/types/table/table-set.d.ts +4 -18
- package/types/table/table.d.ts +4 -0
|
@@ -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
|
-
zoom: (...args: any[]) => void;
|
|
46
|
-
"update:modelValue": (...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
|
-
onZoom?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
"onUpdate:modelValue"?: ((...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;
|
|
@@ -28,21 +28,21 @@ declare const __VLS_component: import('vue').DefineComponent<SabSelectProps, {
|
|
|
28
28
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
29
29
|
focus: (value: any) => any;
|
|
30
30
|
blur: (value: any) => any;
|
|
31
|
-
change: (value: any) => any;
|
|
32
31
|
"update:modelValue": (value: any) => any;
|
|
32
|
+
change: (value: any) => any;
|
|
33
33
|
loadmore: (value: any, pagination: Pagination) => any;
|
|
34
34
|
}, string, import('vue').PublicProps, Readonly<SabSelectProps> & Readonly<{
|
|
35
35
|
onFocus?: ((value: any) => any) | undefined;
|
|
36
36
|
onBlur?: ((value: any) => any) | undefined;
|
|
37
|
-
onChange?: ((value: any) => any) | undefined;
|
|
38
37
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
38
|
+
onChange?: ((value: any) => any) | undefined;
|
|
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;
|
|
@@ -56,7 +56,6 @@ declare const SabCellBoolean: import('vue').DefineComponent<{
|
|
|
56
56
|
headerFilterConfig?: import('../../../../types/table').SabColumnFilterParams;
|
|
57
57
|
xTable?: import('vxe-table').VxeTableInstance;
|
|
58
58
|
enableAutoWidth?: boolean;
|
|
59
|
-
enableBatchAction?: boolean;
|
|
60
59
|
noHeaderSet?: boolean;
|
|
61
60
|
withSummary?: boolean;
|
|
62
61
|
footerMethod?(column: SabColumnProps<import("vxe-table").VxeTablePropTypes.Row>, data: import("vxe-table").VxeTablePropTypes.Row[], $table: import('vxe-table').VxeTableConstructor<any> & import('vxe-table').VxeTablePrivateMethods<any>): any;
|
|
@@ -65,20 +64,20 @@ declare const SabCellBoolean: import('vue').DefineComponent<{
|
|
|
65
64
|
alwaysShowEdit?: boolean;
|
|
66
65
|
};
|
|
67
66
|
}, () => JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<{
|
|
67
|
+
readonly width?: (string | number) | undefined;
|
|
68
68
|
name?: string | undefined;
|
|
69
69
|
disabled?: boolean | undefined;
|
|
70
70
|
modelValue?: string | number | boolean | undefined;
|
|
71
71
|
validateEvent?: boolean | undefined;
|
|
72
72
|
readonly loading?: boolean | undefined;
|
|
73
|
-
readonly width?: (string | number) | undefined;
|
|
74
73
|
readonly inlinePrompt?: boolean | undefined;
|
|
75
74
|
readonly activeText?: string | undefined;
|
|
76
75
|
readonly inactiveText?: string | undefined;
|
|
77
76
|
readonly activeValue?: (string | number | boolean) | undefined;
|
|
78
77
|
readonly inactiveValue?: (string | number | boolean) | undefined;
|
|
78
|
+
size?: "" | "small" | "default" | "large" | undefined;
|
|
79
79
|
readonly ariaLabel?: string | undefined;
|
|
80
80
|
id?: string | undefined;
|
|
81
|
-
size?: "" | "small" | "default" | "large" | undefined;
|
|
82
81
|
tabindex?: string | number | undefined;
|
|
83
82
|
readonly inactiveActionIcon?: (string | import('vue').Component) | undefined;
|
|
84
83
|
readonly activeActionIcon?: (string | import('vue').Component) | undefined;
|
|
@@ -88,8 +87,8 @@ declare const SabCellBoolean: import('vue').DefineComponent<{
|
|
|
88
87
|
indeterminate?: boolean | undefined;
|
|
89
88
|
checked?: boolean | undefined;
|
|
90
89
|
border?: boolean | undefined;
|
|
91
|
-
value?: string | number | boolean | Record<string, any> | undefined;
|
|
92
90
|
label?: string | number | boolean | Record<string, any> | undefined;
|
|
91
|
+
value?: string | number | boolean | Record<string, any> | undefined;
|
|
93
92
|
ariaControls?: string | undefined;
|
|
94
93
|
trueValue?: string | number | undefined;
|
|
95
94
|
falseValue?: string | number | undefined;
|
|
@@ -121,7 +120,6 @@ declare const SabCellBoolean: import('vue').DefineComponent<{
|
|
|
121
120
|
headerFilterConfig?: import('../../../../types/table').SabColumnFilterParams;
|
|
122
121
|
xTable?: import('vxe-table').VxeTableInstance;
|
|
123
122
|
enableAutoWidth?: boolean;
|
|
124
|
-
enableBatchAction?: boolean;
|
|
125
123
|
noHeaderSet?: boolean;
|
|
126
124
|
withSummary?: boolean;
|
|
127
125
|
footerMethod?(column: SabColumnProps<import("vxe-table").VxeTablePropTypes.Row>, data: import("vxe-table").VxeTablePropTypes.Row[], $table: import('vxe-table').VxeTableConstructor<any> & import('vxe-table').VxeTablePrivateMethods<any>): any;
|
|
@@ -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;
|
|
@@ -30,8 +30,8 @@ declare const _default: import('vue').DefineComponent<FilterTagsDisplayProps, {}
|
|
|
30
30
|
"onClear-all-filters"?: (() => any) | undefined;
|
|
31
31
|
"onClear-column-filter"?: ((field: string) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
|
-
showFilterTags: boolean;
|
|
34
33
|
tagType: "success" | "info" | "warning" | "danger";
|
|
35
34
|
tagEffect: "light" | "dark" | "plain";
|
|
35
|
+
showFilterTags: boolean;
|
|
36
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
export default _default;
|