@wfrog/vc-ui 1.9.10 → 1.9.12
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/es/components/choice/choice.d.ts +3 -0
- package/dist/es/components/choice/choice.mjs +14 -4
- package/dist/es/components/choice/choice.vue.d.ts +5 -1
- package/dist/es/components/daterange-picker/daterange-picker.d.ts +5 -0
- package/dist/es/components/daterange-picker/daterange-picker.mjs +12 -3
- package/dist/es/components/daterange-picker/daterange-picker.vue.d.ts +2 -0
- package/dist/es/components/explorer-column-table/explorer-column-table.d.ts +2 -0
- package/dist/es/components/explorer-column-table/explorer-column-table.mjs +34 -23
- package/dist/es/components/explorer-column-table/index.css +12 -12
- package/dist/es/components/explorer-form/explorer-form.mjs +9 -4
- package/dist/es/components/explorer-form/explorer-form.vue.d.ts +16 -16
- package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +9 -4
- package/dist/es/components/explorer-modal-form/explorer-modal-form.vue.d.ts +16 -16
- package/dist/es/components/explorer-query/explorer-query.vue.d.ts +10 -10
- package/dist/es/components/explorer-table/explorer-table.mjs +1 -1
- package/dist/es/components/input/index.css +1 -1
- package/dist/es/components/input/input.d.ts +4 -0
- package/dist/es/components/input/input.mjs +19 -4
- package/dist/es/components/input/input.vue.d.ts +7 -1
- package/dist/es/components/input-number/index.css +1 -1
- package/dist/es/components/input-number/input-number.mjs +7 -2
- package/dist/es/components/pca-picker/pca-picker.mjs +16 -3
- package/dist/es/components/pca-picker/pca-picker.vue.d.ts +2 -0
- package/dist/es/components/select/index.css +2 -2
- package/dist/es/components/select/select.d.ts +4 -0
- package/dist/es/components/select/select.mjs +19 -4
- package/dist/es/components/select/select.vue.d.ts +7 -1
- package/dist/es/components/tags/tags.mjs +6 -1
- package/dist/es/components/thousand-input/thousand-input.d.ts +6 -0
- package/dist/es/components/thousand-input/thousand-input.mjs +2 -1
- package/dist/es/components/thousand-input/thousand-input.vue.d.ts +30 -8
- package/dist/es/components/tinymce/index.css +1 -1
- package/dist/es/components/tinymce/tinymce.d.ts +5 -0
- package/dist/es/components/tinymce/tinymce.mjs +16 -3
- package/dist/es/components/tinymce/tinymce.vue.d.ts +7 -3
- package/dist/es/components/tree-picker/index.css +2 -2
- package/dist/es/components/tree-picker/tree-picker.d.ts +6 -1
- package/dist/es/components/tree-picker/tree-picker.mjs +21 -7
- package/dist/es/components/tree-picker/tree-picker.vue.d.ts +2 -0
- package/dist/es/index.mjs +1 -1
- package/dist/index.css +19 -19
- package/package.json +1 -1
|
@@ -29,13 +29,13 @@ declare function __VLS_template(): {
|
|
|
29
29
|
}> & Omit<{
|
|
30
30
|
readonly disabled: boolean;
|
|
31
31
|
readonly inline: boolean;
|
|
32
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
32
33
|
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "top" | "left", unknown>;
|
|
34
|
+
readonly inlineMessage: boolean;
|
|
35
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
33
36
|
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
34
|
-
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
35
37
|
readonly labelSuffix: string;
|
|
36
|
-
readonly inlineMessage: boolean;
|
|
37
38
|
readonly statusIcon: boolean;
|
|
38
|
-
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
39
39
|
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
40
40
|
readonly hideRequiredAsterisk: boolean;
|
|
41
41
|
readonly scrollToError: boolean;
|
|
@@ -44,7 +44,7 @@ declare function __VLS_template(): {
|
|
|
44
44
|
readonly rules?: Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>> | undefined;
|
|
45
45
|
readonly model?: Record<string, any> | undefined;
|
|
46
46
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
47
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "
|
|
47
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
48
48
|
$attrs: {
|
|
49
49
|
[x: string]: unknown;
|
|
50
50
|
};
|
|
@@ -176,7 +176,7 @@ declare function __VLS_template(): {
|
|
|
176
176
|
readonly disabled: BooleanConstructor;
|
|
177
177
|
}>> & {
|
|
178
178
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
179
|
-
}, "disabled" | "inline" | "
|
|
179
|
+
}, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
180
180
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
181
181
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
182
182
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -215,13 +215,13 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerModalFormP
|
|
|
215
215
|
}> & Omit<{
|
|
216
216
|
readonly disabled: boolean;
|
|
217
217
|
readonly inline: boolean;
|
|
218
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
218
219
|
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "top" | "left", unknown>;
|
|
220
|
+
readonly inlineMessage: boolean;
|
|
221
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
219
222
|
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
220
|
-
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
221
223
|
readonly labelSuffix: string;
|
|
222
|
-
readonly inlineMessage: boolean;
|
|
223
224
|
readonly statusIcon: boolean;
|
|
224
|
-
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
225
225
|
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
226
226
|
readonly hideRequiredAsterisk: boolean;
|
|
227
227
|
readonly scrollToError: boolean;
|
|
@@ -230,7 +230,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerModalFormP
|
|
|
230
230
|
readonly rules?: Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>> | undefined;
|
|
231
231
|
readonly model?: Record<string, any> | undefined;
|
|
232
232
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
233
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "
|
|
233
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
234
234
|
$attrs: {
|
|
235
235
|
[x: string]: unknown;
|
|
236
236
|
};
|
|
@@ -362,7 +362,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerModalFormP
|
|
|
362
362
|
readonly disabled: BooleanConstructor;
|
|
363
363
|
}>> & {
|
|
364
364
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
365
|
-
}, "disabled" | "inline" | "
|
|
365
|
+
}, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
366
366
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
367
367
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
368
368
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -389,8 +389,8 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerModalFormP
|
|
|
389
389
|
}>, {
|
|
390
390
|
icon: string;
|
|
391
391
|
loading: boolean;
|
|
392
|
-
editable: boolean;
|
|
393
392
|
labelPosition: import('element-plus').FormProps["labelPosition"];
|
|
393
|
+
editable: boolean;
|
|
394
394
|
editing: boolean;
|
|
395
395
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
396
396
|
formRef: ({
|
|
@@ -413,13 +413,13 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerModalFormP
|
|
|
413
413
|
}> & Omit<{
|
|
414
414
|
readonly disabled: boolean;
|
|
415
415
|
readonly inline: boolean;
|
|
416
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
416
417
|
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "top" | "left", unknown>;
|
|
418
|
+
readonly inlineMessage: boolean;
|
|
419
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
417
420
|
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
418
|
-
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
419
421
|
readonly labelSuffix: string;
|
|
420
|
-
readonly inlineMessage: boolean;
|
|
421
422
|
readonly statusIcon: boolean;
|
|
422
|
-
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
423
423
|
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
424
424
|
readonly hideRequiredAsterisk: boolean;
|
|
425
425
|
readonly scrollToError: boolean;
|
|
@@ -428,7 +428,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerModalFormP
|
|
|
428
428
|
readonly rules?: Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>> | undefined;
|
|
429
429
|
readonly model?: Record<string, any> | undefined;
|
|
430
430
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
431
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "
|
|
431
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
432
432
|
$attrs: {
|
|
433
433
|
[x: string]: unknown;
|
|
434
434
|
};
|
|
@@ -560,7 +560,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerModalFormP
|
|
|
560
560
|
readonly disabled: BooleanConstructor;
|
|
561
561
|
}>> & {
|
|
562
562
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
563
|
-
}, "disabled" | "inline" | "
|
|
563
|
+
}, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
564
564
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
565
565
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
566
566
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -27,13 +27,13 @@ declare function __VLS_template(): {
|
|
|
27
27
|
}> & Omit<{
|
|
28
28
|
readonly disabled: boolean;
|
|
29
29
|
readonly inline: boolean;
|
|
30
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
30
31
|
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "top" | "left", unknown>;
|
|
32
|
+
readonly inlineMessage: boolean;
|
|
33
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
31
34
|
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
32
|
-
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
33
35
|
readonly labelSuffix: string;
|
|
34
|
-
readonly inlineMessage: boolean;
|
|
35
36
|
readonly statusIcon: boolean;
|
|
36
|
-
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
37
37
|
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
38
38
|
readonly hideRequiredAsterisk: boolean;
|
|
39
39
|
readonly scrollToError: boolean;
|
|
@@ -42,7 +42,7 @@ declare function __VLS_template(): {
|
|
|
42
42
|
readonly rules?: Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>> | undefined;
|
|
43
43
|
readonly model?: Record<string, any> | undefined;
|
|
44
44
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
45
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "
|
|
45
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
46
46
|
$attrs: {
|
|
47
47
|
[x: string]: unknown;
|
|
48
48
|
};
|
|
@@ -174,7 +174,7 @@ declare function __VLS_template(): {
|
|
|
174
174
|
readonly disabled: BooleanConstructor;
|
|
175
175
|
}>> & {
|
|
176
176
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
177
|
-
}, "disabled" | "inline" | "
|
|
177
|
+
}, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
178
178
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
179
179
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
180
180
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -224,13 +224,13 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerQueryProps
|
|
|
224
224
|
}> & Omit<{
|
|
225
225
|
readonly disabled: boolean;
|
|
226
226
|
readonly inline: boolean;
|
|
227
|
+
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
227
228
|
readonly labelPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "top" | "left", unknown>;
|
|
229
|
+
readonly inlineMessage: boolean;
|
|
230
|
+
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
228
231
|
readonly requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
229
|
-
readonly labelWidth: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
230
232
|
readonly labelSuffix: string;
|
|
231
|
-
readonly inlineMessage: boolean;
|
|
232
233
|
readonly statusIcon: boolean;
|
|
233
|
-
readonly showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
234
234
|
readonly validateOnRuleChange: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
235
235
|
readonly hideRequiredAsterisk: boolean;
|
|
236
236
|
readonly scrollToError: boolean;
|
|
@@ -239,7 +239,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerQueryProps
|
|
|
239
239
|
readonly rules?: Partial<Record<string, import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>> | undefined;
|
|
240
240
|
readonly model?: Record<string, any> | undefined;
|
|
241
241
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
242
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "
|
|
242
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
243
243
|
$attrs: {
|
|
244
244
|
[x: string]: unknown;
|
|
245
245
|
};
|
|
@@ -371,7 +371,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerQueryProps
|
|
|
371
371
|
readonly disabled: BooleanConstructor;
|
|
372
372
|
}>> & {
|
|
373
373
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
374
|
-
}, "disabled" | "inline" | "
|
|
374
|
+
}, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
|
|
375
375
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
376
376
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
377
377
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
}, { deep: true, immediate: true });
|
|
50
50
|
function onHeaderDragend(newWidth, _oldWidth, column) {
|
|
51
51
|
const item = state.columnConfig.value.find((item2) => item2.prop === column.property);
|
|
52
|
-
if (item) {
|
|
52
|
+
if (item && !item.disabled) {
|
|
53
53
|
item.width = newWidth;
|
|
54
54
|
item.widthType = "width";
|
|
55
55
|
delete item.minWidth;
|
|
@@ -2,7 +2,7 @@ import './index.css'
|
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
3
|
import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
|
|
4
4
|
import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, createBlock, openBlock, normalizeClass, createSlots, withCtx, renderSlot } from 'vue';
|
|
5
|
-
import { useFormDisabled } from 'element-plus';
|
|
5
|
+
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
6
6
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
7
7
|
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -13,14 +13,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
disabled: { type: Boolean, default: void 0 },
|
|
14
14
|
clearable: { type: Boolean, default: true }
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
emits: ["blur", "change"],
|
|
17
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
17
18
|
useCssVars((_ctx) => ({
|
|
18
|
-
"
|
|
19
|
+
"v7a89bfe6": unref(myWidth)
|
|
19
20
|
}));
|
|
20
21
|
const props = __props;
|
|
22
|
+
const emits = __emit;
|
|
21
23
|
const $style = useCssModule();
|
|
22
24
|
const inputRef = useTemplateRef("inputRef");
|
|
23
25
|
const formDisabled = useFormDisabled();
|
|
26
|
+
const { formItem } = useFormItem();
|
|
24
27
|
const className = computed(() => ({
|
|
25
28
|
[$style.input]: true,
|
|
26
29
|
[$style.block]: props.block
|
|
@@ -28,6 +31,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
31
|
const myWidth = computed(() => {
|
|
29
32
|
return props.width || (props.block ? "100%" : "240px");
|
|
30
33
|
});
|
|
34
|
+
function handleBlur(evt) {
|
|
35
|
+
formItem?.validate?.("blur").catch(() => {
|
|
36
|
+
});
|
|
37
|
+
emits("blur", evt);
|
|
38
|
+
}
|
|
39
|
+
function handleChange(value, evt) {
|
|
40
|
+
formItem?.validate?.("change").catch(() => {
|
|
41
|
+
});
|
|
42
|
+
emits("change", value, evt);
|
|
43
|
+
}
|
|
31
44
|
__expose({ inputRef });
|
|
32
45
|
return (_ctx, _cache) => {
|
|
33
46
|
const _component_ElInput = ElInput;
|
|
@@ -36,7 +49,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
49
|
ref: inputRef,
|
|
37
50
|
class: normalizeClass(unref(className)),
|
|
38
51
|
disabled: unref(formDisabled),
|
|
39
|
-
clearable: __props.clearable
|
|
52
|
+
clearable: __props.clearable,
|
|
53
|
+
onBlur: handleBlur,
|
|
54
|
+
onChange: handleChange
|
|
40
55
|
}, createSlots({ _: 2 }, [
|
|
41
56
|
_ctx.$slots.prefix ? {
|
|
42
57
|
name: "prefix",
|
|
@@ -823,7 +823,13 @@ declare const __VLS_component: import('vue').DefineComponent<IInputProps, {
|
|
|
823
823
|
append?: (props: {}) => any;
|
|
824
824
|
};
|
|
825
825
|
}) | null>>;
|
|
826
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}
|
|
826
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
827
|
+
blur: (evnet: FocusEvent) => any;
|
|
828
|
+
change: (value: string, evnet?: Event | undefined) => any;
|
|
829
|
+
}, string, import('vue').PublicProps, Readonly<IInputProps> & Readonly<{
|
|
830
|
+
onBlur?: ((evnet: FocusEvent) => any) | undefined;
|
|
831
|
+
onChange?: ((value: string, evnet?: Event | undefined) => any) | undefined;
|
|
832
|
+
}>, {
|
|
827
833
|
disabled: boolean;
|
|
828
834
|
clearable: boolean;
|
|
829
835
|
block: boolean;
|
|
@@ -3,7 +3,7 @@ import '../../chunk/Gk1J52Yw.mjs';
|
|
|
3
3
|
import '../../chunk/DFOYvCRL.mjs';
|
|
4
4
|
import { E as ElInputNumber } from '../../chunk/C-7W07Z_.mjs';
|
|
5
5
|
import { defineComponent, useCssVars, useSlots, useCssModule, ref, useTemplateRef, computed, watch, onUnmounted, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createBlock, renderSlot, mergeProps, isRef, createSlots, withCtx, nextTick } from 'vue';
|
|
6
|
-
import { useFormDisabled } from 'element-plus';
|
|
6
|
+
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
7
7
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
8
8
|
|
|
9
9
|
const _hoisted_1 = {
|
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
emits: ["update:modelValue", "change", "blur"],
|
|
25
25
|
setup(__props, { emit: __emit }) {
|
|
26
26
|
useCssVars((_ctx) => ({
|
|
27
|
-
"
|
|
27
|
+
"e4533d92": _ctx.inputWidth
|
|
28
28
|
}));
|
|
29
29
|
const props = __props;
|
|
30
30
|
const emits = __emit;
|
|
@@ -33,6 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
const visible = ref(true);
|
|
34
34
|
const inputNumberRef = useTemplateRef("inputNumberRef");
|
|
35
35
|
const formDisabled = useFormDisabled();
|
|
36
|
+
const { formItem } = useFormItem();
|
|
36
37
|
const mainClass = computed(() => {
|
|
37
38
|
const className = {
|
|
38
39
|
[$style["input-number"]]: true,
|
|
@@ -63,6 +64,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
64
|
}
|
|
64
65
|
function handleChange(currentValue, oldValue) {
|
|
65
66
|
myValue.value = currentValue === 0 ? currentValue : currentValue || oldValue || 0;
|
|
67
|
+
formItem?.validate?.("change").catch(() => {
|
|
68
|
+
});
|
|
66
69
|
emits("change", myValue.value, oldValue || 0);
|
|
67
70
|
}
|
|
68
71
|
function rerender() {
|
|
@@ -74,6 +77,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74
77
|
if (eleInput.value === "") {
|
|
75
78
|
rerender();
|
|
76
79
|
}
|
|
80
|
+
formItem?.validate?.("blur").catch(() => {
|
|
81
|
+
});
|
|
77
82
|
emits("blur", e);
|
|
78
83
|
}
|
|
79
84
|
const watchHandler = watch(() => props.precision, (val) => val === 0 && rerender());
|
|
@@ -9,7 +9,7 @@ import '../../chunk/DBf73TLo.mjs';
|
|
|
9
9
|
import '../../chunk/Do7HIVy5.mjs';
|
|
10
10
|
import '../../chunk/CqhShW5K.mjs';
|
|
11
11
|
import { defineComponent, inject, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, withCtx, renderSlot, provide, useSlots, ref, watch, onMounted, createElementBlock, createCommentVNode, createElementVNode, unref, nextTick, onBeforeUnmount, createTextVNode, toDisplayString, shallowRef, toRefs, Fragment, createVNode, renderList, useTemplateRef, mergeProps, isRef, useCssModule } from 'vue';
|
|
12
|
-
import { useFormDisabled } from 'element-plus';
|
|
12
|
+
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
13
13
|
import { useInject, useProvide } from '../../use/useStore/index.mjs';
|
|
14
14
|
import { i as injectConfig } from '../config-provider/config-provider2.mjs';
|
|
15
15
|
import { isClient, useEventListener, useStorage, useVModel, useToggle, onClickOutside, useThrottleFn } from '@vueuse/core';
|
|
@@ -1272,12 +1272,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1272
1272
|
limit: {},
|
|
1273
1273
|
props: {}
|
|
1274
1274
|
},
|
|
1275
|
-
emits: ["update:modelValue", "change", "limit"],
|
|
1275
|
+
emits: ["update:modelValue", "change", "blur", "limit"],
|
|
1276
1276
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
1277
1277
|
const props = __props;
|
|
1278
1278
|
const emits = __emit;
|
|
1279
1279
|
const myValue = useVModel(props, "modelValue", emits);
|
|
1280
1280
|
const formDisabled = useFormDisabled();
|
|
1281
|
+
const { formItem } = useFormItem();
|
|
1281
1282
|
const { pcaBaseUrl, crosProxy } = injectConfig();
|
|
1282
1283
|
const [popoverVisible, togglePopoverVisible] = useToggle();
|
|
1283
1284
|
const $style = useCssModule();
|
|
@@ -1326,6 +1327,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1326
1327
|
}
|
|
1327
1328
|
function handleChange(item) {
|
|
1328
1329
|
const changeData = Array.isArray(item) ? item : item[0];
|
|
1330
|
+
formItem?.validate?.("change").catch(() => {
|
|
1331
|
+
});
|
|
1329
1332
|
emits("change", changeData);
|
|
1330
1333
|
if (!props.multiple) {
|
|
1331
1334
|
togglePopoverVisible(false);
|
|
@@ -1334,8 +1337,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1334
1337
|
}
|
|
1335
1338
|
function clear() {
|
|
1336
1339
|
togglePopoverVisible(false);
|
|
1340
|
+
formItem?.validate?.("change").catch(() => {
|
|
1341
|
+
});
|
|
1337
1342
|
emits("change", void 0);
|
|
1338
1343
|
}
|
|
1344
|
+
function handleBlur(evt) {
|
|
1345
|
+
formItem?.validate?.("blur").catch(() => {
|
|
1346
|
+
});
|
|
1347
|
+
emits("blur", evt);
|
|
1348
|
+
}
|
|
1339
1349
|
useProvide(KEY_NAME, {
|
|
1340
1350
|
props,
|
|
1341
1351
|
...pcaFetchData,
|
|
@@ -1423,7 +1433,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1423
1433
|
class: [unref(selectClassName), unref($style).cascader],
|
|
1424
1434
|
"popper-class": unref($style)["popover-select"],
|
|
1425
1435
|
"before-filter": () => false
|
|
1426
|
-
}, _ctx.$attrs, {
|
|
1436
|
+
}, _ctx.$attrs, {
|
|
1437
|
+
onBlur: handleBlur,
|
|
1438
|
+
onClear: clear
|
|
1439
|
+
}), null, 16, ["modelValue", "placeholder", "disabled", "loading", "options", "props", "class", "popper-class"])
|
|
1427
1440
|
], 34)
|
|
1428
1441
|
]),
|
|
1429
1442
|
default: withCtx(() => [
|
|
@@ -2,10 +2,12 @@ import { IPCAData, IPCAPickerProps } from './pca-picker';
|
|
|
2
2
|
declare const _default: import('vue').DefineComponent<IPCAPickerProps, {
|
|
3
3
|
getValueData: (values: number | number[] | undefined) => IPCAData[];
|
|
4
4
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
|
+
blur: (event: FocusEvent) => any;
|
|
5
6
|
change: (data?: IPCAData | IPCAData[] | undefined) => any;
|
|
6
7
|
"update:modelValue": (value: number | number[]) => any;
|
|
7
8
|
limit: (number: number, value: IPCAData) => any;
|
|
8
9
|
}, string, import('vue').PublicProps, Readonly<IPCAPickerProps> & Readonly<{
|
|
10
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
9
11
|
onChange?: ((data?: IPCAData | IPCAData[] | undefined) => any) | undefined;
|
|
10
12
|
"onUpdate:modelValue"?: ((value: number | number[]) => any) | undefined;
|
|
11
13
|
onLimit?: ((number: number, value: IPCAData) => any) | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* source: src/components/select/select.vue */
|
|
2
2
|
div._select_1fcv5_1 {
|
|
3
3
|
width: unset;
|
|
4
|
-
min-width: var(--
|
|
4
|
+
min-width: var(--v393aeef3);
|
|
5
5
|
}
|
|
6
6
|
div._select_1fcv5_1._block_1fcv5_5 {
|
|
7
7
|
display: block;
|
|
8
|
-
width: var(--
|
|
8
|
+
width: var(--v393aeef3);
|
|
9
9
|
}
|
|
@@ -5,7 +5,7 @@ import { E as ElSelect } from '../../chunk/BPQ3KP1S.mjs';
|
|
|
5
5
|
import '../../chunk/CqhShW5K.mjs';
|
|
6
6
|
import '../../chunk/BH1e_-Fa.mjs';
|
|
7
7
|
import { defineComponent, useCssVars, unref, computed, useCssModule, createBlock, openBlock, mergeProps } from 'vue';
|
|
8
|
-
import { useFormDisabled } from 'element-plus';
|
|
8
|
+
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
9
9
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
10
10
|
|
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -16,12 +16,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
options: {},
|
|
17
17
|
disabled: { type: Boolean, default: void 0 }
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
emits: ["change", "blur"],
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
20
21
|
useCssVars((_ctx) => ({
|
|
21
|
-
"
|
|
22
|
+
"v393aeef3": unref(myWidth)
|
|
22
23
|
}));
|
|
23
24
|
const props = __props;
|
|
25
|
+
const emits = __emit;
|
|
24
26
|
const formDisabled = useFormDisabled();
|
|
27
|
+
const { formItem } = useFormItem();
|
|
28
|
+
function handleChange(value) {
|
|
29
|
+
formItem?.validate?.("change").catch(() => {
|
|
30
|
+
});
|
|
31
|
+
emits("change", value);
|
|
32
|
+
}
|
|
33
|
+
function handleBlur(evt) {
|
|
34
|
+
formItem?.validate?.("blur").catch(() => {
|
|
35
|
+
});
|
|
36
|
+
emits("blur", evt);
|
|
37
|
+
}
|
|
25
38
|
const myOptions = computed(() => {
|
|
26
39
|
if (Array.isArray(props.options) && typeof props.options[0] === "string") {
|
|
27
40
|
return props.options.map((item) => ({ label: item, value: item }));
|
|
@@ -41,7 +54,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
54
|
return openBlock(), createBlock(_component_ElSelect, mergeProps({ "collapse-tags": "" }, _ctx.$attrs, {
|
|
42
55
|
class: unref(className),
|
|
43
56
|
options: unref(myOptions),
|
|
44
|
-
disabled: unref(formDisabled)
|
|
57
|
+
disabled: unref(formDisabled),
|
|
58
|
+
onChange: handleChange,
|
|
59
|
+
onBlur: handleBlur
|
|
45
60
|
}), null, 16, ["class", "options", "disabled"]);
|
|
46
61
|
};
|
|
47
62
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { ISelectProps } from './select';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<ISelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ISelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
blur: (event: FocusEvent) => any;
|
|
4
|
+
change: (value: any) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<ISelectProps> & Readonly<{
|
|
6
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
7
|
+
onChange?: ((value: any) => any) | undefined;
|
|
8
|
+
}>, {
|
|
3
9
|
disabled: boolean;
|
|
4
10
|
width: string;
|
|
5
11
|
block: boolean;
|
|
@@ -7,7 +7,7 @@ import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
|
|
|
7
7
|
import { E as ElSpace } from '../../chunk/Dgu95mOy.mjs';
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { defineComponent, ref, computed, watch, createBlock, unref, openBlock, withCtx, createElementBlock, Fragment, renderList, mergeProps, createTextVNode, toDisplayString, createVNode, createCommentVNode, normalizeClass, isRef, withDirectives, withKeys } from 'vue';
|
|
10
|
-
import { useFormDisabled } from 'element-plus';
|
|
10
|
+
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
11
11
|
import Draggable from 'vuedraggable-es-fix';
|
|
12
12
|
import { v as vFocus } from '../../chunk/CL65DvCP.mjs';
|
|
13
13
|
import { C as Component$1 } from '../button/button.mjs';
|
|
@@ -31,6 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
const props = __props;
|
|
32
32
|
const emits = __emit;
|
|
33
33
|
const formDisabled = useFormDisabled();
|
|
34
|
+
const { formItem } = useFormItem();
|
|
34
35
|
const errorVisible = ref(false);
|
|
35
36
|
const createVisible = ref(false);
|
|
36
37
|
const currentTag = ref("");
|
|
@@ -57,6 +58,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
58
|
const data = [...props.modelValue];
|
|
58
59
|
data.splice(data.indexOf(name), 1);
|
|
59
60
|
tags.value = data;
|
|
61
|
+
formItem?.validate?.("change").catch(() => {
|
|
62
|
+
});
|
|
60
63
|
emits("change", data);
|
|
61
64
|
}
|
|
62
65
|
const isSameContent = (name) => props.modelValue.includes(name) && bakTag.value !== name;
|
|
@@ -117,6 +120,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
117
120
|
const data = [...props.modelValue, currentTag.value];
|
|
118
121
|
createVisible.value = false;
|
|
119
122
|
tags.value = data;
|
|
123
|
+
formItem?.validate?.("change").catch(() => {
|
|
124
|
+
});
|
|
120
125
|
emits("change", data);
|
|
121
126
|
setTimeout(() => showCreate(), 0);
|
|
122
127
|
}
|
|
@@ -8,4 +8,10 @@ export interface IThousandInputProps {
|
|
|
8
8
|
formatValue?: string;
|
|
9
9
|
options?: IOptionType;
|
|
10
10
|
padDecimal?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface IThousandInputEmits {
|
|
14
|
+
(e: 'update:modelValue', value: string): void;
|
|
15
|
+
(e: 'update:formatValue', value: string): void;
|
|
16
|
+
(e: 'change', value: [string, string]): void;
|
|
11
17
|
}
|
|
@@ -11,7 +11,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
modelValue: { default: "" },
|
|
12
12
|
formatValue: { default: "" },
|
|
13
13
|
options: { default: () => ({ decimalScale: 2, integerScale: 12 }) },
|
|
14
|
-
padDecimal: { type: Boolean, default: true }
|
|
14
|
+
padDecimal: { type: Boolean, default: true },
|
|
15
|
+
disabled: { type: Boolean }
|
|
15
16
|
},
|
|
16
17
|
emits: ["update:modelValue", "update:formatValue", "change"],
|
|
17
18
|
setup(__props, { emit: __emit }) {
|