yc-pro-components 0.0.11 → 0.0.13
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/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +44 -32
- package/es/components/dialog-form/src/index.vue.d.ts +22 -10
- package/es/components/display-item/index.d.ts +80 -44
- package/es/components/display-item/src/index.vue.d.ts +61 -25
- package/es/components/drawer-form/index.d.ts +63 -51
- package/es/components/drawer-form/src/index.vue.d.ts +23 -11
- package/es/components/form/index.d.ts +71 -47
- package/es/components/form/src/form-content.vue.d.ts +60 -24
- package/es/components/form/src/index.vue.d.ts +43 -19
- package/es/components/form-item/index.d.ts +129 -57
- package/es/components/form-item/src/index.vue.d.ts +46 -15
- package/es/components/form-item/src/index.vue2.mjs +1 -0
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +751 -469
- package/es/components/page/src/index.vue.d.ts +263 -161
- package/es/components/page/src/index.vue2.mjs +1 -1
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +284 -162
- package/es/components/search/src/index.vue.d.ts +95 -53
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-action-bar.vue2.mjs +1 -1
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +76 -40
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +588 -529
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/constants/dict.d.ts +78 -0
- package/es/constants/dict.mjs +3 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +1 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useDictInjection.d.ts +38 -0
- package/es/hooks/useDictInjection.mjs +18 -0
- package/es/hooks/useGetOptions.mjs +118 -30
- package/es/hooks/usePlusFormReset.d.ts +286 -214
- package/es/index.css +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +2 -0
- package/es/types/plus.d.ts +74 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +9 -5
- package/index.js +187 -65
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +187 -67
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +44 -32
- package/lib/components/dialog-form/src/index.vue.d.ts +22 -10
- package/lib/components/display-item/index.d.ts +80 -44
- package/lib/components/display-item/src/index.vue.d.ts +61 -25
- package/lib/components/drawer-form/index.d.ts +63 -51
- package/lib/components/drawer-form/src/index.vue.d.ts +23 -11
- package/lib/components/form/index.d.ts +71 -47
- package/lib/components/form/src/form-content.vue.d.ts +60 -24
- package/lib/components/form/src/index.vue.d.ts +43 -19
- package/lib/components/form-item/index.d.ts +129 -57
- package/lib/components/form-item/src/index.vue.d.ts +46 -15
- package/lib/components/form-item/src/index.vue2.js +1 -0
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +751 -469
- package/lib/components/page/src/index.vue.d.ts +263 -161
- package/lib/components/page/src/index.vue2.js +1 -1
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +284 -162
- package/lib/components/search/src/index.vue.d.ts +95 -53
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-action-bar.vue2.js +1 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +76 -40
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +588 -529
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/constants/dict.d.ts +78 -0
- package/lib/constants/dict.js +5 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +2 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/useDictInjection.d.ts +38 -0
- package/lib/hooks/useDictInjection.js +20 -0
- package/lib/hooks/useGetOptions.js +117 -29
- package/lib/hooks/usePlusFormReset.d.ts +286 -214
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +4 -0
- package/lib/types/plus.d.ts +74 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -5,10 +5,6 @@ export type PlusDialogInstance = InstanceType<typeof Dialog>;
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export declare const PlusDialog: {
|
|
7
7
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: PropType<boolean>;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
8
|
title: {
|
|
13
9
|
type: PropType<string>;
|
|
14
10
|
default: string;
|
|
@@ -21,12 +17,16 @@ export declare const PlusDialog: {
|
|
|
21
17
|
type: PropType<string>;
|
|
22
18
|
default: string;
|
|
23
19
|
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
24
|
hasFooter: {
|
|
25
25
|
type: PropType<boolean>;
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
28
|
footerAlign: {
|
|
29
|
-
type: PropType<"
|
|
29
|
+
type: PropType<"right" | "left" | "center">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
confirmLoading: {
|
|
@@ -50,10 +50,6 @@ export declare const PlusDialog: {
|
|
|
50
50
|
cancel: () => void;
|
|
51
51
|
confirm: () => void;
|
|
52
52
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
53
|
-
modelValue: {
|
|
54
|
-
type: PropType<boolean>;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
53
|
title: {
|
|
58
54
|
type: PropType<string>;
|
|
59
55
|
default: string;
|
|
@@ -66,12 +62,16 @@ export declare const PlusDialog: {
|
|
|
66
62
|
type: PropType<string>;
|
|
67
63
|
default: string;
|
|
68
64
|
};
|
|
65
|
+
modelValue: {
|
|
66
|
+
type: PropType<boolean>;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
69
|
hasFooter: {
|
|
70
70
|
type: PropType<boolean>;
|
|
71
71
|
default: boolean;
|
|
72
72
|
};
|
|
73
73
|
footerAlign: {
|
|
74
|
-
type: PropType<"
|
|
74
|
+
type: PropType<"right" | "left" | "center">;
|
|
75
75
|
default: string;
|
|
76
76
|
};
|
|
77
77
|
confirmLoading: {
|
|
@@ -91,12 +91,12 @@ export declare const PlusDialog: {
|
|
|
91
91
|
onCancel?: (() => any) | undefined;
|
|
92
92
|
onConfirm?: (() => any) | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
modelValue: boolean;
|
|
95
94
|
title: string;
|
|
96
95
|
width: string | number;
|
|
97
96
|
top: string;
|
|
97
|
+
modelValue: boolean;
|
|
98
98
|
hasFooter: boolean;
|
|
99
|
-
footerAlign: "
|
|
99
|
+
footerAlign: "right" | "left" | "center";
|
|
100
100
|
confirmLoading: boolean;
|
|
101
101
|
cancelText: string;
|
|
102
102
|
confirmText: string;
|
|
@@ -108,10 +108,6 @@ export declare const PlusDialog: {
|
|
|
108
108
|
M: {};
|
|
109
109
|
Defaults: {};
|
|
110
110
|
}, Readonly< ExtractPropTypes<{
|
|
111
|
-
modelValue: {
|
|
112
|
-
type: PropType<boolean>;
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
111
|
title: {
|
|
116
112
|
type: PropType<string>;
|
|
117
113
|
default: string;
|
|
@@ -124,12 +120,16 @@ export declare const PlusDialog: {
|
|
|
124
120
|
type: PropType<string>;
|
|
125
121
|
default: string;
|
|
126
122
|
};
|
|
123
|
+
modelValue: {
|
|
124
|
+
type: PropType<boolean>;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
127
|
hasFooter: {
|
|
128
128
|
type: PropType<boolean>;
|
|
129
129
|
default: boolean;
|
|
130
130
|
};
|
|
131
131
|
footerAlign: {
|
|
132
|
-
type: PropType<"
|
|
132
|
+
type: PropType<"right" | "left" | "center">;
|
|
133
133
|
default: string;
|
|
134
134
|
};
|
|
135
135
|
confirmLoading: {
|
|
@@ -149,12 +149,12 @@ export declare const PlusDialog: {
|
|
|
149
149
|
onCancel?: (() => any) | undefined;
|
|
150
150
|
onConfirm?: (() => any) | undefined;
|
|
151
151
|
}, {}, {}, {}, {}, {
|
|
152
|
-
modelValue: boolean;
|
|
153
152
|
title: string;
|
|
154
153
|
width: string | number;
|
|
155
154
|
top: string;
|
|
155
|
+
modelValue: boolean;
|
|
156
156
|
hasFooter: boolean;
|
|
157
|
-
footerAlign: "
|
|
157
|
+
footerAlign: "right" | "left" | "center";
|
|
158
158
|
confirmLoading: boolean;
|
|
159
159
|
cancelText: string;
|
|
160
160
|
confirmText: string;
|
|
@@ -163,10 +163,6 @@ export declare const PlusDialog: {
|
|
|
163
163
|
__isTeleport?: undefined;
|
|
164
164
|
__isSuspense?: undefined;
|
|
165
165
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
166
|
-
modelValue: {
|
|
167
|
-
type: PropType<boolean>;
|
|
168
|
-
default: boolean;
|
|
169
|
-
};
|
|
170
166
|
title: {
|
|
171
167
|
type: PropType<string>;
|
|
172
168
|
default: string;
|
|
@@ -179,12 +175,16 @@ export declare const PlusDialog: {
|
|
|
179
175
|
type: PropType<string>;
|
|
180
176
|
default: string;
|
|
181
177
|
};
|
|
178
|
+
modelValue: {
|
|
179
|
+
type: PropType<boolean>;
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
182
182
|
hasFooter: {
|
|
183
183
|
type: PropType<boolean>;
|
|
184
184
|
default: boolean;
|
|
185
185
|
};
|
|
186
186
|
footerAlign: {
|
|
187
|
-
type: PropType<"
|
|
187
|
+
type: PropType<"right" | "left" | "center">;
|
|
188
188
|
default: string;
|
|
189
189
|
};
|
|
190
190
|
confirmLoading: {
|
|
@@ -208,12 +208,12 @@ export declare const PlusDialog: {
|
|
|
208
208
|
cancel: () => void;
|
|
209
209
|
confirm: () => void;
|
|
210
210
|
}, string, {
|
|
211
|
-
modelValue: boolean;
|
|
212
211
|
title: string;
|
|
213
212
|
width: string | number;
|
|
214
213
|
top: string;
|
|
214
|
+
modelValue: boolean;
|
|
215
215
|
hasFooter: boolean;
|
|
216
|
-
footerAlign: "
|
|
216
|
+
footerAlign: "right" | "left" | "center";
|
|
217
217
|
confirmLoading: boolean;
|
|
218
218
|
cancelText: string;
|
|
219
219
|
confirmText: string;
|
|
@@ -30,12 +30,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
30
30
|
onCancel?: (() => any) | undefined;
|
|
31
31
|
onConfirm?: (() => any) | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
modelValue: boolean;
|
|
34
33
|
title: string;
|
|
35
34
|
width: string | number;
|
|
36
35
|
top: string;
|
|
36
|
+
modelValue: boolean;
|
|
37
37
|
hasFooter: boolean;
|
|
38
|
-
footerAlign: "
|
|
38
|
+
footerAlign: "right" | "left" | "center";
|
|
39
39
|
confirmLoading: boolean;
|
|
40
40
|
cancelText: string;
|
|
41
41
|
confirmText: string;
|
|
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
4
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
5
|
-
import {
|
|
5
|
+
import { PlusDialogProps, PlusFormProps, FieldValues, PlusColumn, PlusFormItemProps, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Ref, CSSProperties, Component } from 'vue';
|
|
7
7
|
import { default as DialogForm } from './src/index.vue';
|
|
8
8
|
|
|
@@ -10,10 +10,6 @@ export type { PlusDialogFormProps } from './src/index.vue';
|
|
|
10
10
|
export type PlusDialogFormInstance = InstanceType<typeof DialogForm>;
|
|
11
11
|
export declare const PlusDialogForm: {
|
|
12
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
-
modelValue: {
|
|
14
|
-
type: PropType<FieldValues>;
|
|
15
|
-
default: () => {};
|
|
16
|
-
};
|
|
17
13
|
dialog: {
|
|
18
14
|
type: PropType<PlusDialogProps>;
|
|
19
15
|
default: () => {};
|
|
@@ -26,14 +22,18 @@ export declare const PlusDialogForm: {
|
|
|
26
22
|
type: PropType<boolean>;
|
|
27
23
|
default: boolean;
|
|
28
24
|
};
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: PropType<FieldValues>;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
29
|
hasErrorTip: {
|
|
30
30
|
type: PropType<boolean>;
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
}>> & {
|
|
34
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
35
34
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
36
35
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
36
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
37
37
|
onClose?: (() => any) | undefined;
|
|
38
38
|
onCancel?: (() => any) | undefined;
|
|
39
39
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -332,10 +332,6 @@ export declare const PlusDialogForm: {
|
|
|
332
332
|
close: () => void;
|
|
333
333
|
confirmError: (errors: unknown) => void;
|
|
334
334
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
335
|
-
modelValue: {
|
|
336
|
-
type: PropType<FieldValues>;
|
|
337
|
-
default: () => {};
|
|
338
|
-
};
|
|
339
335
|
dialog: {
|
|
340
336
|
type: PropType<PlusDialogProps>;
|
|
341
337
|
default: () => {};
|
|
@@ -348,23 +344,27 @@ export declare const PlusDialogForm: {
|
|
|
348
344
|
type: PropType<boolean>;
|
|
349
345
|
default: boolean;
|
|
350
346
|
};
|
|
347
|
+
modelValue: {
|
|
348
|
+
type: PropType<FieldValues>;
|
|
349
|
+
default: () => {};
|
|
350
|
+
};
|
|
351
351
|
hasErrorTip: {
|
|
352
352
|
type: PropType<boolean>;
|
|
353
353
|
default: boolean;
|
|
354
354
|
};
|
|
355
355
|
}>> & {
|
|
356
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
357
356
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
358
357
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
358
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
359
359
|
onClose?: (() => any) | undefined;
|
|
360
360
|
onCancel?: (() => any) | undefined;
|
|
361
361
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
362
362
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
363
363
|
}, {
|
|
364
|
-
modelValue: FieldValues;
|
|
365
364
|
dialog: PlusDialogProps;
|
|
366
365
|
form: PlusFormProps;
|
|
367
366
|
visible: boolean;
|
|
367
|
+
modelValue: FieldValues;
|
|
368
368
|
hasErrorTip: boolean;
|
|
369
369
|
}, true, {}, {}, {
|
|
370
370
|
P: {};
|
|
@@ -374,10 +374,6 @@ export declare const PlusDialogForm: {
|
|
|
374
374
|
M: {};
|
|
375
375
|
Defaults: {};
|
|
376
376
|
}, Readonly< ExtractPropTypes<{
|
|
377
|
-
modelValue: {
|
|
378
|
-
type: PropType<FieldValues>;
|
|
379
|
-
default: () => {};
|
|
380
|
-
};
|
|
381
377
|
dialog: {
|
|
382
378
|
type: PropType<PlusDialogProps>;
|
|
383
379
|
default: () => {};
|
|
@@ -390,14 +386,18 @@ export declare const PlusDialogForm: {
|
|
|
390
386
|
type: PropType<boolean>;
|
|
391
387
|
default: boolean;
|
|
392
388
|
};
|
|
389
|
+
modelValue: {
|
|
390
|
+
type: PropType<FieldValues>;
|
|
391
|
+
default: () => {};
|
|
392
|
+
};
|
|
393
393
|
hasErrorTip: {
|
|
394
394
|
type: PropType<boolean>;
|
|
395
395
|
default: boolean;
|
|
396
396
|
};
|
|
397
397
|
}>> & {
|
|
398
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
399
398
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
400
399
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
400
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
401
401
|
onClose?: (() => any) | undefined;
|
|
402
402
|
onCancel?: (() => any) | undefined;
|
|
403
403
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -688,20 +688,16 @@ export declare const PlusDialogForm: {
|
|
|
688
688
|
readonly scrollToError: boolean;
|
|
689
689
|
}>>;
|
|
690
690
|
}, {}, {}, {}, {
|
|
691
|
-
modelValue: FieldValues;
|
|
692
691
|
dialog: PlusDialogProps;
|
|
693
692
|
form: PlusFormProps;
|
|
694
693
|
visible: boolean;
|
|
694
|
+
modelValue: FieldValues;
|
|
695
695
|
hasErrorTip: boolean;
|
|
696
696
|
}>;
|
|
697
697
|
__isFragment?: undefined;
|
|
698
698
|
__isTeleport?: undefined;
|
|
699
699
|
__isSuspense?: undefined;
|
|
700
700
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
701
|
-
modelValue: {
|
|
702
|
-
type: PropType<FieldValues>;
|
|
703
|
-
default: () => {};
|
|
704
|
-
};
|
|
705
701
|
dialog: {
|
|
706
702
|
type: PropType<PlusDialogProps>;
|
|
707
703
|
default: () => {};
|
|
@@ -714,14 +710,18 @@ export declare const PlusDialogForm: {
|
|
|
714
710
|
type: PropType<boolean>;
|
|
715
711
|
default: boolean;
|
|
716
712
|
};
|
|
713
|
+
modelValue: {
|
|
714
|
+
type: PropType<FieldValues>;
|
|
715
|
+
default: () => {};
|
|
716
|
+
};
|
|
717
717
|
hasErrorTip: {
|
|
718
718
|
type: PropType<boolean>;
|
|
719
719
|
default: boolean;
|
|
720
720
|
};
|
|
721
721
|
}>> & {
|
|
722
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
723
722
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
724
723
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
724
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
725
725
|
onClose?: (() => any) | undefined;
|
|
726
726
|
onCancel?: (() => any) | undefined;
|
|
727
727
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -1020,21 +1020,21 @@ export declare const PlusDialogForm: {
|
|
|
1020
1020
|
close: () => void;
|
|
1021
1021
|
confirmError: (errors: unknown) => void;
|
|
1022
1022
|
}, string, {
|
|
1023
|
-
modelValue: FieldValues;
|
|
1024
1023
|
dialog: PlusDialogProps;
|
|
1025
1024
|
form: PlusFormProps;
|
|
1026
1025
|
visible: boolean;
|
|
1026
|
+
modelValue: FieldValues;
|
|
1027
1027
|
hasErrorTip: boolean;
|
|
1028
1028
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1029
1029
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1030
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1030
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1031
1031
|
readonly label: string | ComputedRef<string>;
|
|
1032
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1032
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1033
1033
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1034
|
-
readonly tooltip: string |
|
|
1034
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1035
1035
|
style?: CSSProperties | undefined;
|
|
1036
1036
|
class?: any;
|
|
1037
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1037
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1038
1038
|
style?: CSSProperties | undefined;
|
|
1039
1039
|
class?: any;
|
|
1040
1040
|
} & RecordType>>;
|
|
@@ -1056,7 +1056,7 @@ export declare const PlusDialogForm: {
|
|
|
1056
1056
|
};
|
|
1057
1057
|
rows: number;
|
|
1058
1058
|
autocomplete: string;
|
|
1059
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1059
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1060
1060
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1061
1061
|
step: string | number;
|
|
1062
1062
|
format: string | ProgressFn | undefined;
|
|
@@ -1083,6 +1083,12 @@ export declare const PlusDialogForm: {
|
|
|
1083
1083
|
label?: string | undefined;
|
|
1084
1084
|
value?: string | undefined;
|
|
1085
1085
|
} | undefined;
|
|
1086
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1087
|
+
store?: any;
|
|
1088
|
+
method?: string | undefined;
|
|
1089
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1090
|
+
dictCode?: string | undefined;
|
|
1091
|
+
} | undefined;
|
|
1086
1092
|
readonly clearable: boolean;
|
|
1087
1093
|
readonly index: number;
|
|
1088
1094
|
} & {
|
|
@@ -1095,12 +1101,12 @@ export declare const PlusDialogForm: {
|
|
|
1095
1101
|
fieldInstance?: any;
|
|
1096
1102
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1097
1103
|
prop: string;
|
|
1098
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1104
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1099
1105
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1100
|
-
tooltip: string |
|
|
1106
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1101
1107
|
style?: CSSProperties | undefined;
|
|
1102
1108
|
class?: any;
|
|
1103
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1109
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1104
1110
|
style?: CSSProperties | undefined;
|
|
1105
1111
|
class?: any;
|
|
1106
1112
|
} & RecordType>>;
|
|
@@ -1120,6 +1126,12 @@ export declare const PlusDialogForm: {
|
|
|
1120
1126
|
label?: string | undefined;
|
|
1121
1127
|
value?: string | undefined;
|
|
1122
1128
|
} | undefined;
|
|
1129
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1130
|
+
store?: any;
|
|
1131
|
+
method?: string | undefined;
|
|
1132
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1133
|
+
dictCode?: string | undefined;
|
|
1134
|
+
} | undefined;
|
|
1123
1135
|
clearable: boolean;
|
|
1124
1136
|
index: number;
|
|
1125
1137
|
}) => any>> & {
|
|
@@ -330,28 +330,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
330
330
|
dialog: () => {};
|
|
331
331
|
form: () => {};
|
|
332
332
|
}>>> & {
|
|
333
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
334
333
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
335
334
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
335
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
336
336
|
onClose?: (() => any) | undefined;
|
|
337
337
|
onCancel?: (() => any) | undefined;
|
|
338
338
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
339
339
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
340
340
|
}, {
|
|
341
|
-
modelValue: FieldValues;
|
|
342
341
|
dialog: PlusDialogProps;
|
|
343
342
|
form: PlusFormProps;
|
|
344
343
|
visible: boolean;
|
|
344
|
+
modelValue: FieldValues;
|
|
345
345
|
hasErrorTip: boolean;
|
|
346
346
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
347
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
347
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
348
348
|
readonly label: string | ComputedRef<string>;
|
|
349
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
349
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
350
350
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
351
|
-
readonly tooltip: string |
|
|
351
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
352
352
|
style?: CSSProperties | undefined;
|
|
353
353
|
class?: any;
|
|
354
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
354
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
355
355
|
style?: CSSProperties | undefined;
|
|
356
356
|
class?: any;
|
|
357
357
|
} & RecordType>>;
|
|
@@ -373,7 +373,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
373
373
|
};
|
|
374
374
|
rows: number;
|
|
375
375
|
autocomplete: string;
|
|
376
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
376
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
377
377
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
378
378
|
step: string | number;
|
|
379
379
|
format: string | ProgressFn | undefined;
|
|
@@ -400,6 +400,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
400
400
|
label?: string | undefined;
|
|
401
401
|
value?: string | undefined;
|
|
402
402
|
} | undefined;
|
|
403
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
404
|
+
store?: any;
|
|
405
|
+
method?: string | undefined;
|
|
406
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
407
|
+
dictCode?: string | undefined;
|
|
408
|
+
} | undefined;
|
|
403
409
|
readonly clearable: boolean;
|
|
404
410
|
readonly index: number;
|
|
405
411
|
} & {
|
|
@@ -412,12 +418,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
412
418
|
fieldInstance?: any;
|
|
413
419
|
valueIsReady?: Ref<boolean> | undefined;
|
|
414
420
|
prop: string;
|
|
415
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
421
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
416
422
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
417
|
-
tooltip: string |
|
|
423
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
418
424
|
style?: CSSProperties | undefined;
|
|
419
425
|
class?: any;
|
|
420
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
426
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
421
427
|
style?: CSSProperties | undefined;
|
|
422
428
|
class?: any;
|
|
423
429
|
} & RecordType>>;
|
|
@@ -437,6 +443,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
437
443
|
label?: string | undefined;
|
|
438
444
|
value?: string | undefined;
|
|
439
445
|
} | undefined;
|
|
446
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
447
|
+
store?: any;
|
|
448
|
+
method?: string | undefined;
|
|
449
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
450
|
+
dictCode?: string | undefined;
|
|
451
|
+
} | undefined;
|
|
440
452
|
clearable: boolean;
|
|
441
453
|
index: number;
|
|
442
454
|
}) => any>> & {
|