@jari-ace/element-plus-component 0.5.7 → 0.6.0
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/JaAutoComplete.vue.d.ts +856 -1163
- package/dist/components/autoComplete/JaAutoComplete.vue.d.ts.map +1 -1
- package/dist/components/avatar/JaAvatar.vue.d.ts +3 -4
- package/dist/components/avatar/JaAvatar.vue.d.ts.map +1 -1
- package/dist/components/avatar/JaAvatar.vue.js +2 -10
- package/dist/components/avatar/JaAvatar.vue.js.map +1 -1
- package/dist/components/button/JaButton.vue.d.ts +354 -246
- package/dist/components/button/JaButton.vue.d.ts.map +1 -1
- package/dist/components/checkbox/JaCheckbox.vue.d.ts +212 -176
- package/dist/components/checkbox/JaCheckbox.vue.d.ts.map +1 -1
- package/dist/components/checkboxGroup/JaCheckboxGroup.vue.d.ts +262 -222
- package/dist/components/checkboxGroup/JaCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/departmentPicker/src/DepartmentPicker.vue.js +2 -2
- package/dist/components/departmentPicker/src/DepartmentPicker.vue.js.map +1 -1
- package/dist/components/dropdownButton/JaDropdownButton.vue.d.ts +400 -268
- package/dist/components/dropdownButton/JaDropdownButton.vue.d.ts.map +1 -1
- package/dist/components/flowShell/FlowFormShell.vue.d.ts +339 -0
- package/dist/components/flowShell/FlowFormShell.vue.d.ts.map +1 -1
- package/dist/components/flowShell/FlowFormShell.vue.js +137 -50
- package/dist/components/flowShell/FlowFormShell.vue.js.map +1 -1
- package/dist/components/formItem/JaFormItem.vue.d.ts +228 -186
- package/dist/components/formItem/JaFormItem.vue.d.ts.map +1 -1
- package/dist/components/input/JaInput.vue.d.ts +595 -581
- package/dist/components/input/JaInput.vue.d.ts.map +1 -1
- package/dist/components/input/JaInput.vue.js +4 -2
- package/dist/components/input/JaInput.vue.js.map +1 -1
- package/dist/components/inputNumber/JaInputNumber.vue.d.ts +428 -276
- package/dist/components/inputNumber/JaInputNumber.vue.d.ts.map +1 -1
- package/dist/components/radioGroup/JaRadioGroup.vue.d.ts +246 -155
- package/dist/components/radioGroup/JaRadioGroup.vue.d.ts.map +1 -1
- package/dist/components/rolePicker/baseRolePicker.vue.d.ts +984 -12
- package/dist/components/rolePicker/baseRolePicker.vue.d.ts.map +1 -1
- package/dist/components/scrollbar/Scrollbar.vue.d.ts +332 -194
- package/dist/components/scrollbar/Scrollbar.vue.d.ts.map +1 -1
- package/dist/components/switch/JaSwitch.vue.d.ts +378 -317
- package/dist/components/switch/JaSwitch.vue.d.ts.map +1 -1
- package/dist/components/userGroupPicker/src/UserGroupPicker.vue.js +2 -2
- package/dist/components/userGroupPicker/src/UserGroupPicker.vue.js.map +1 -1
- package/dist/components/userGroupTree/src/userGroupTree.vue.d.ts +416 -324
- package/dist/components/userGroupTree/src/userGroupTree.vue.d.ts.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +8907 -8683
- package/lib/index.umd.cjs +34 -34
- package/package.json +2 -2
- package/packages/components/avatar/JaAvatar.vue +7 -16
- package/packages/components/departmentPicker/src/DepartmentPicker.vue +1 -1
- package/packages/components/flowShell/FlowFormShell.vue +97 -7
- package/packages/components/input/JaInput.vue +2 -1
- package/packages/components/userGroupPicker/src/UserGroupPicker.vue +1 -1
|
@@ -64,25 +64,24 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaFormItem
|
|
|
64
64
|
$: import("vue").ComponentInternalInstance;
|
|
65
65
|
$data: {};
|
|
66
66
|
$props: Partial<{
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
readonly showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
67
|
+
required: boolean;
|
|
68
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
69
|
+
inlineMessage: boolean;
|
|
70
|
+
showMessage: boolean;
|
|
72
71
|
}> & Omit<{
|
|
73
|
-
readonly labelPosition:
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
-
readonly required?: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
72
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
|
73
|
+
readonly showMessage: boolean;
|
|
74
|
+
readonly required?: boolean;
|
|
77
75
|
readonly error?: string;
|
|
78
|
-
readonly size?:
|
|
76
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
79
77
|
readonly label?: string;
|
|
80
78
|
readonly rules?: unknown;
|
|
81
|
-
readonly
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
79
|
+
readonly labelWidth?: string | number;
|
|
80
|
+
readonly inlineMessage?: boolean;
|
|
81
|
+
readonly prop?: import("element-plus").FormItemProp;
|
|
82
|
+
readonly validateStatus?: "" | "error" | "success" | "validating";
|
|
84
83
|
readonly for?: string;
|
|
85
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "labelPosition" | "
|
|
84
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "labelPosition" | "inlineMessage" | "showMessage">;
|
|
86
85
|
$attrs: {
|
|
87
86
|
[x: string]: unknown;
|
|
88
87
|
};
|
|
@@ -98,51 +97,61 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaFormItem
|
|
|
98
97
|
$emit: (event: string, ...args: any[]) => void;
|
|
99
98
|
$el: any;
|
|
100
99
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
readonly prop: {
|
|
105
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
106
|
-
readonly required: false;
|
|
107
|
-
readonly validator: (val: unknown) => boolean;
|
|
108
|
-
__epPropKey: true;
|
|
100
|
+
required: {
|
|
101
|
+
type: import("vue").PropType<boolean>;
|
|
102
|
+
default: undefined;
|
|
109
103
|
};
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
readonly type: import("vue").PropType<unknown>;
|
|
113
|
-
readonly required: false;
|
|
114
|
-
readonly validator: (val: unknown) => boolean;
|
|
115
|
-
__epPropKey: true;
|
|
104
|
+
error: {
|
|
105
|
+
type: import("vue").PropType<string>;
|
|
116
106
|
};
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
120
|
-
readonly required: false;
|
|
121
|
-
readonly validator: (val: unknown) => boolean;
|
|
122
|
-
__epPropKey: true;
|
|
107
|
+
size: {
|
|
108
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
123
109
|
};
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
110
|
+
label: {
|
|
111
|
+
type: import("vue").PropType<string>;
|
|
112
|
+
};
|
|
113
|
+
rules: {
|
|
114
|
+
type: import("vue").PropType<import("element-plus/es/utils/typescript.mjs").Arrayable<FormItemRule>>;
|
|
115
|
+
};
|
|
116
|
+
labelPosition: {
|
|
117
|
+
type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
labelWidth: {
|
|
121
|
+
type: import("vue").PropType<string | number>;
|
|
122
|
+
};
|
|
123
|
+
inlineMessage: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
showMessage: {
|
|
128
|
+
type: import("vue").PropType<boolean>;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
prop: {
|
|
132
|
+
type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
133
|
+
};
|
|
134
|
+
validateStatus: {
|
|
135
|
+
type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
136
|
+
};
|
|
137
|
+
for: {
|
|
138
|
+
type: import("vue").PropType<string>;
|
|
132
139
|
};
|
|
133
140
|
}>>, {
|
|
134
141
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
135
142
|
validateMessage: import("vue").Ref<string, string>;
|
|
136
143
|
validateState: import("vue").Ref<"" | "error" | "success" | "validating", "" | "error" | "success" | "validating">;
|
|
137
|
-
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
144
|
+
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult; /**
|
|
145
|
+
* 必填星号位置
|
|
146
|
+
*/
|
|
138
147
|
clearValidate: () => void;
|
|
139
148
|
resetField: () => void;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
149
|
+
setInitialValue: (value: any) => void;
|
|
150
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
151
|
+
required: boolean;
|
|
152
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
153
|
+
inlineMessage: boolean;
|
|
154
|
+
showMessage: boolean;
|
|
146
155
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
147
156
|
beforeCreate?: (() => void) | (() => void)[];
|
|
148
157
|
created?: (() => void) | (() => void)[];
|
|
@@ -164,84 +173,95 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaFormItem
|
|
|
164
173
|
$nextTick: typeof import("vue").nextTick;
|
|
165
174
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
166
175
|
} & Readonly<{
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
readonly showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
176
|
+
required: boolean;
|
|
177
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
178
|
+
inlineMessage: boolean;
|
|
179
|
+
showMessage: boolean;
|
|
172
180
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
181
|
+
required: {
|
|
182
|
+
type: import("vue").PropType<boolean>;
|
|
183
|
+
default: undefined;
|
|
184
|
+
};
|
|
185
|
+
error: {
|
|
186
|
+
type: import("vue").PropType<string>;
|
|
187
|
+
};
|
|
188
|
+
size: {
|
|
189
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
190
|
+
};
|
|
191
|
+
label: {
|
|
192
|
+
type: import("vue").PropType<string>;
|
|
193
|
+
};
|
|
194
|
+
rules: {
|
|
195
|
+
type: import("vue").PropType<import("element-plus/es/utils/typescript.mjs").Arrayable<FormItemRule>>;
|
|
196
|
+
};
|
|
197
|
+
labelPosition: {
|
|
198
|
+
type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
199
|
+
default: string;
|
|
200
|
+
};
|
|
201
|
+
labelWidth: {
|
|
202
|
+
type: import("vue").PropType<string | number>;
|
|
203
|
+
};
|
|
204
|
+
inlineMessage: {
|
|
205
|
+
type: import("vue").PropType<boolean>;
|
|
206
|
+
default: undefined;
|
|
207
|
+
};
|
|
208
|
+
showMessage: {
|
|
209
|
+
type: import("vue").PropType<boolean>;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
212
|
+
prop: {
|
|
213
|
+
type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
214
|
+
};
|
|
215
|
+
validateStatus: {
|
|
216
|
+
type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
217
|
+
};
|
|
218
|
+
for: {
|
|
219
|
+
type: import("vue").PropType<string>;
|
|
220
|
+
};
|
|
221
|
+
}>>, "required" | "size" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & import("vue").ShallowUnwrapRef<{
|
|
206
222
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
207
223
|
validateMessage: import("vue").Ref<string, string>;
|
|
208
224
|
validateState: import("vue").Ref<"" | "error" | "success" | "validating", "" | "error" | "success" | "validating">;
|
|
209
|
-
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
225
|
+
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult; /**
|
|
226
|
+
* 必填星号位置
|
|
227
|
+
*/
|
|
210
228
|
clearValidate: () => void;
|
|
211
229
|
resetField: () => void;
|
|
230
|
+
setInitialValue: (value: any) => void;
|
|
212
231
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
213
232
|
$slots: {
|
|
214
|
-
label
|
|
233
|
+
label?: (props: {
|
|
215
234
|
label: string;
|
|
216
|
-
})
|
|
217
|
-
|
|
218
|
-
|
|
235
|
+
}) => any;
|
|
236
|
+
} & {
|
|
237
|
+
default?: (props: {}) => any;
|
|
238
|
+
} & {
|
|
239
|
+
error?: (props: {
|
|
219
240
|
error: string;
|
|
220
|
-
})
|
|
241
|
+
}) => any;
|
|
221
242
|
};
|
|
222
243
|
}, {
|
|
223
244
|
$: import("vue").ComponentInternalInstance;
|
|
224
245
|
$data: {};
|
|
225
246
|
$props: Partial<{
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
readonly showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
247
|
+
required: boolean;
|
|
248
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
249
|
+
inlineMessage: boolean;
|
|
250
|
+
showMessage: boolean;
|
|
231
251
|
}> & Omit<{
|
|
232
|
-
readonly labelPosition:
|
|
233
|
-
readonly
|
|
234
|
-
readonly
|
|
235
|
-
readonly required?: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
252
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
|
253
|
+
readonly showMessage: boolean;
|
|
254
|
+
readonly required?: boolean;
|
|
236
255
|
readonly error?: string;
|
|
237
|
-
readonly size?:
|
|
256
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
238
257
|
readonly label?: string;
|
|
239
258
|
readonly rules?: unknown;
|
|
240
|
-
readonly
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
259
|
+
readonly labelWidth?: string | number;
|
|
260
|
+
readonly inlineMessage?: boolean;
|
|
261
|
+
readonly prop?: import("element-plus").FormItemProp;
|
|
262
|
+
readonly validateStatus?: "" | "error" | "success" | "validating";
|
|
243
263
|
readonly for?: string;
|
|
244
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "labelPosition" | "
|
|
264
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "labelPosition" | "inlineMessage" | "showMessage">;
|
|
245
265
|
$attrs: {
|
|
246
266
|
[x: string]: unknown;
|
|
247
267
|
};
|
|
@@ -257,51 +277,61 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaFormItem
|
|
|
257
277
|
$emit: (event: string, ...args: any[]) => void;
|
|
258
278
|
$el: any;
|
|
259
279
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
readonly prop: {
|
|
264
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
265
|
-
readonly required: false;
|
|
266
|
-
readonly validator: (val: unknown) => boolean;
|
|
267
|
-
__epPropKey: true;
|
|
280
|
+
required: {
|
|
281
|
+
type: import("vue").PropType<boolean>;
|
|
282
|
+
default: undefined;
|
|
268
283
|
};
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
readonly type: import("vue").PropType<unknown>;
|
|
272
|
-
readonly required: false;
|
|
273
|
-
readonly validator: (val: unknown) => boolean;
|
|
274
|
-
__epPropKey: true;
|
|
284
|
+
error: {
|
|
285
|
+
type: import("vue").PropType<string>;
|
|
275
286
|
};
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
279
|
-
readonly required: false;
|
|
280
|
-
readonly validator: (val: unknown) => boolean;
|
|
281
|
-
__epPropKey: true;
|
|
287
|
+
size: {
|
|
288
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
282
289
|
};
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
290
|
+
label: {
|
|
291
|
+
type: import("vue").PropType<string>;
|
|
292
|
+
};
|
|
293
|
+
rules: {
|
|
294
|
+
type: import("vue").PropType<import("element-plus/es/utils/typescript.mjs").Arrayable<FormItemRule>>;
|
|
295
|
+
};
|
|
296
|
+
labelPosition: {
|
|
297
|
+
type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
298
|
+
default: string;
|
|
299
|
+
};
|
|
300
|
+
labelWidth: {
|
|
301
|
+
type: import("vue").PropType<string | number>;
|
|
302
|
+
};
|
|
303
|
+
inlineMessage: {
|
|
304
|
+
type: import("vue").PropType<boolean>;
|
|
305
|
+
default: undefined;
|
|
306
|
+
};
|
|
307
|
+
showMessage: {
|
|
308
|
+
type: import("vue").PropType<boolean>;
|
|
309
|
+
default: boolean;
|
|
310
|
+
};
|
|
311
|
+
prop: {
|
|
312
|
+
type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
313
|
+
};
|
|
314
|
+
validateStatus: {
|
|
315
|
+
type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
316
|
+
};
|
|
317
|
+
for: {
|
|
318
|
+
type: import("vue").PropType<string>;
|
|
291
319
|
};
|
|
292
320
|
}>>, {
|
|
293
321
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
294
322
|
validateMessage: import("vue").Ref<string, string>;
|
|
295
323
|
validateState: import("vue").Ref<"" | "error" | "success" | "validating", "" | "error" | "success" | "validating">;
|
|
296
|
-
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
324
|
+
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult; /**
|
|
325
|
+
* 必填星号位置
|
|
326
|
+
*/
|
|
297
327
|
clearValidate: () => void;
|
|
298
328
|
resetField: () => void;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
329
|
+
setInitialValue: (value: any) => void;
|
|
330
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
331
|
+
required: boolean;
|
|
332
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
333
|
+
inlineMessage: boolean;
|
|
334
|
+
showMessage: boolean;
|
|
305
335
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
306
336
|
beforeCreate?: (() => void) | (() => void)[];
|
|
307
337
|
created?: (() => void) | (() => void)[];
|
|
@@ -323,60 +353,72 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<JaFormItem
|
|
|
323
353
|
$nextTick: typeof import("vue").nextTick;
|
|
324
354
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
325
355
|
} & Readonly<{
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
readonly showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
356
|
+
required: boolean;
|
|
357
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
358
|
+
inlineMessage: boolean;
|
|
359
|
+
showMessage: boolean;
|
|
331
360
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
361
|
+
required: {
|
|
362
|
+
type: import("vue").PropType<boolean>;
|
|
363
|
+
default: undefined;
|
|
364
|
+
};
|
|
365
|
+
error: {
|
|
366
|
+
type: import("vue").PropType<string>;
|
|
367
|
+
};
|
|
368
|
+
size: {
|
|
369
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
370
|
+
};
|
|
371
|
+
label: {
|
|
372
|
+
type: import("vue").PropType<string>;
|
|
373
|
+
};
|
|
374
|
+
rules: {
|
|
375
|
+
type: import("vue").PropType<import("element-plus/es/utils/typescript.mjs").Arrayable<FormItemRule>>;
|
|
376
|
+
};
|
|
377
|
+
labelPosition: {
|
|
378
|
+
type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
379
|
+
default: string;
|
|
380
|
+
};
|
|
381
|
+
labelWidth: {
|
|
382
|
+
type: import("vue").PropType<string | number>;
|
|
383
|
+
};
|
|
384
|
+
inlineMessage: {
|
|
385
|
+
type: import("vue").PropType<boolean>;
|
|
386
|
+
default: undefined;
|
|
387
|
+
};
|
|
388
|
+
showMessage: {
|
|
389
|
+
type: import("vue").PropType<boolean>;
|
|
390
|
+
default: boolean;
|
|
391
|
+
};
|
|
392
|
+
prop: {
|
|
393
|
+
type: import("vue").PropType<import("element-plus").FormItemProp>;
|
|
394
|
+
};
|
|
395
|
+
validateStatus: {
|
|
396
|
+
type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
397
|
+
};
|
|
398
|
+
for: {
|
|
399
|
+
type: import("vue").PropType<string>;
|
|
400
|
+
};
|
|
401
|
+
}>>, "required" | "size" | "labelPosition" | "inlineMessage" | "showMessage" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField" | "setInitialValue"> & import("vue").ShallowUnwrapRef<{
|
|
365
402
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
366
403
|
validateMessage: import("vue").Ref<string, string>;
|
|
367
404
|
validateState: import("vue").Ref<"" | "error" | "success" | "validating", "" | "error" | "success" | "validating">;
|
|
368
|
-
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult;
|
|
405
|
+
validate: (trigger: string, callback?: import("element-plus").FormValidateCallback) => import("element-plus").FormValidationResult; /**
|
|
406
|
+
* 必填星号位置
|
|
407
|
+
*/
|
|
369
408
|
clearValidate: () => void;
|
|
370
409
|
resetField: () => void;
|
|
410
|
+
setInitialValue: (value: any) => void;
|
|
371
411
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
372
412
|
$slots: {
|
|
373
|
-
label
|
|
413
|
+
label?: (props: {
|
|
374
414
|
label: string;
|
|
375
|
-
})
|
|
376
|
-
|
|
377
|
-
|
|
415
|
+
}) => any;
|
|
416
|
+
} & {
|
|
417
|
+
default?: (props: {}) => any;
|
|
418
|
+
} & {
|
|
419
|
+
error?: (props: {
|
|
378
420
|
error: string;
|
|
379
|
-
})
|
|
421
|
+
}) => any;
|
|
380
422
|
};
|
|
381
423
|
}>;
|
|
382
424
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<JaFormItemProps> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JaFormItem.vue.d.ts","sourceRoot":"","sources":["../../../packages/components/formItem/JaFormItem.vue"],"names":[],"mappings":"AA8HA,OAAO,EAA6B,KAAK,YAAY,EAAY,MAAM,cAAc,CAAA;AACrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAGjD,KAAK,gBAAgB,GAAG,MAAM,GAAG,OAAO,CAAA;AAIxC,MAAM,WAAW,eAAgB,SAAQ,OAAO,CAAC,aAAa,CAAC;IAC3D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAA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