yc-pro-components 0.0.82 → 0.0.84
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 +34 -34
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +20 -20
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +19 -19
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +57 -57
- package/es/components/dialog/src/index.vue.d.ts +5 -5
- package/es/components/dialog-form/index.d.ts +14 -14
- package/es/components/dialog-form/src/index.vue.d.ts +8 -8
- package/es/components/display-item/index.d.ts +18 -18
- package/es/components/display-item/src/index.vue.d.ts +18 -18
- package/es/components/drawer-form/index.d.ts +103 -103
- package/es/components/drawer-form/src/index.vue.d.ts +27 -27
- package/es/components/form/index.d.ts +39 -39
- package/es/components/form/src/form-content.vue.d.ts +27 -27
- package/es/components/form/src/index.vue.d.ts +14 -14
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +21 -13
- package/es/components/form-item/src/index.vue2.mjs +429 -301
- package/es/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/es/components/form-item/src/overflow-tooltip.mjs +67 -0
- package/es/components/header/index.d.ts +7 -7
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +10 -10
- package/es/components/input-tag/src/index.vue.d.ts +2 -2
- 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 +283 -283
- package/es/components/page/src/index.vue.d.ts +97 -97
- package/es/components/pagination/index.d.ts +38 -38
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +31 -31
- package/es/components/radio/src/index.vue.d.ts +23 -23
- 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 +128 -128
- package/es/components/search/src/index.vue.d.ts +41 -41
- 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 +19 -19
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/src/index.vue2.mjs +11 -5
- package/es/components/table/src/table-column.vue.d.ts +18 -18
- package/es/components/table/src/use-table-density.d.ts +8 -0
- package/es/components/table/src/use-table-density.mjs +24 -0
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +5 -5
- package/es/components/yc-more-actions/index.d.ts +16 -16
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +192 -192
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +288 -288
- package/es/index.css +8 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +525 -306
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +525 -306
- package/lib/components/check-card/index.d.ts +34 -34
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +20 -20
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +19 -19
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +57 -57
- package/lib/components/dialog/src/index.vue.d.ts +5 -5
- package/lib/components/dialog-form/index.d.ts +14 -14
- package/lib/components/dialog-form/src/index.vue.d.ts +8 -8
- package/lib/components/display-item/index.d.ts +18 -18
- package/lib/components/display-item/src/index.vue.d.ts +18 -18
- package/lib/components/drawer-form/index.d.ts +103 -103
- package/lib/components/drawer-form/src/index.vue.d.ts +27 -27
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/form/src/form-content.vue.d.ts +27 -27
- package/lib/components/form/src/index.vue.d.ts +14 -14
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +21 -13
- package/lib/components/form-item/src/index.vue2.js +428 -300
- package/lib/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/lib/components/form-item/src/overflow-tooltip.js +71 -0
- package/lib/components/header/index.d.ts +7 -7
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +10 -10
- package/lib/components/input-tag/src/index.vue.d.ts +2 -2
- 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 +283 -283
- package/lib/components/page/src/index.vue.d.ts +97 -97
- package/lib/components/pagination/index.d.ts +38 -38
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +31 -31
- package/lib/components/radio/src/index.vue.d.ts +23 -23
- 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 +128 -128
- package/lib/components/search/src/index.vue.d.ts +41 -41
- 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 +19 -19
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/index.vue2.js +10 -4
- package/lib/components/table/src/table-column.vue.d.ts +18 -18
- package/lib/components/table/src/use-table-density.d.ts +8 -0
- package/lib/components/table/src/use-table-density.js +28 -0
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +5 -5
- package/lib/components/yc-more-actions/index.d.ts +16 -16
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +192 -192
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +288 -288
- package/lib/index.css +7 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +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-form-item.css +1 -1
- package/theme-chalk/src/form-item.scss +56 -0
|
@@ -89,10 +89,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
89
89
|
readonly hasErrorTip: boolean;
|
|
90
90
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
91
91
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
92
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
93
|
-
onCancel?: (() => any) | undefined;
|
|
94
92
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
95
93
|
onClose?: (() => any) | undefined;
|
|
94
|
+
onCancel?: (() => any) | undefined;
|
|
95
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
96
96
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
97
97
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
98
98
|
dialog: {
|
|
@@ -118,10 +118,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
118
118
|
}>> & {
|
|
119
119
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
120
120
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
121
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
122
|
-
onCancel?: (() => any) | undefined;
|
|
123
121
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
124
122
|
onClose?: (() => any) | undefined;
|
|
123
|
+
onCancel?: (() => any) | undefined;
|
|
124
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
125
125
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
126
126
|
}, "dialog" | "form" | "visible" | "modelValue" | "hasErrorTip">;
|
|
127
127
|
$attrs: {
|
|
@@ -135,7 +135,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
135
135
|
}>;
|
|
136
136
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
137
137
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
138
|
-
$emit: ((event: "update:
|
|
138
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
139
139
|
$el: any;
|
|
140
140
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
141
141
|
dialog: {
|
|
@@ -161,10 +161,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
161
161
|
}>> & {
|
|
162
162
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
163
163
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
164
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
165
|
-
onCancel?: (() => any) | undefined;
|
|
166
164
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
167
165
|
onClose?: (() => any) | undefined;
|
|
166
|
+
onCancel?: (() => any) | undefined;
|
|
167
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
168
168
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
169
169
|
}, {
|
|
170
170
|
handleConfirm: () => void;
|
|
@@ -228,21 +228,21 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
228
228
|
}>> & {
|
|
229
229
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
230
230
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
231
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
232
|
-
onCancel?: (() => any) | undefined;
|
|
233
231
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
234
232
|
onClose?: (() => any) | undefined;
|
|
233
|
+
onCancel?: (() => any) | undefined;
|
|
234
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
235
235
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
236
|
-
}, "
|
|
236
|
+
}, "formInstance" | "handleConfirm" | "handleCancel"> & ShallowUnwrapRef<{
|
|
237
237
|
handleConfirm: () => void;
|
|
238
238
|
handleCancel: () => void;
|
|
239
239
|
formInstance: ComputedRef<FormInstance>;
|
|
240
240
|
}> & {} & ComponentCustomProperties & {} & {
|
|
241
241
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
242
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
242
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
243
243
|
readonly label: string | ComputedRef<string>;
|
|
244
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
245
|
-
readonly hasLabel: boolean |
|
|
244
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
245
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
246
246
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
247
247
|
style?: CSSProperties | undefined;
|
|
248
248
|
class?: any;
|
|
@@ -268,7 +268,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
268
268
|
};
|
|
269
269
|
rows: number;
|
|
270
270
|
autocomplete: string;
|
|
271
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
271
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
272
272
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
273
273
|
step: string | number;
|
|
274
274
|
format: string | ProgressFn | undefined;
|
|
@@ -313,8 +313,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
313
313
|
fieldInstance?: any;
|
|
314
314
|
valueIsReady?: Ref<boolean> | undefined;
|
|
315
315
|
prop: string;
|
|
316
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
317
|
-
hasLabel: boolean |
|
|
316
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
317
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
318
318
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
319
319
|
style?: CSSProperties | undefined;
|
|
320
320
|
class?: any;
|
|
@@ -370,12 +370,12 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
370
370
|
size: string | number;
|
|
371
371
|
form: PlusFormProps;
|
|
372
372
|
visible: boolean;
|
|
373
|
-
confirmText: string;
|
|
374
|
-
cancelText: string;
|
|
375
373
|
modelValue: FieldValues;
|
|
376
374
|
hasErrorTip: boolean;
|
|
377
375
|
hasFooter: boolean;
|
|
378
376
|
confirmLoading: boolean;
|
|
377
|
+
cancelText: string;
|
|
378
|
+
confirmText: string;
|
|
379
379
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
380
380
|
style?: CSSProperties | undefined;
|
|
381
381
|
class?: any;
|
|
@@ -384,21 +384,21 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
384
384
|
readonly size: string | number;
|
|
385
385
|
readonly form: PlusFormProps;
|
|
386
386
|
readonly visible: boolean;
|
|
387
|
-
readonly confirmText: string;
|
|
388
|
-
readonly cancelText: string;
|
|
389
387
|
readonly modelValue: FieldValues;
|
|
390
388
|
readonly hasErrorTip: boolean;
|
|
391
389
|
readonly hasFooter: boolean;
|
|
392
390
|
readonly confirmLoading: boolean;
|
|
391
|
+
readonly cancelText: string;
|
|
392
|
+
readonly confirmText: string;
|
|
393
393
|
readonly drawer: Partial< Mutable<DrawerProps> & {
|
|
394
394
|
style?: CSSProperties | undefined;
|
|
395
395
|
class?: any;
|
|
396
396
|
} & RecordType>;
|
|
397
397
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
398
398
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
399
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
400
|
-
onCancel?: (() => any) | undefined;
|
|
401
399
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
400
|
+
onCancel?: (() => any) | undefined;
|
|
401
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
402
402
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
403
403
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
404
404
|
size: {
|
|
@@ -413,14 +413,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
413
413
|
type: PropType<boolean>;
|
|
414
414
|
default: boolean;
|
|
415
415
|
};
|
|
416
|
-
confirmText: {
|
|
417
|
-
type: PropType<string>;
|
|
418
|
-
default: string;
|
|
419
|
-
};
|
|
420
|
-
cancelText: {
|
|
421
|
-
type: PropType<string>;
|
|
422
|
-
default: string;
|
|
423
|
-
};
|
|
424
416
|
modelValue: {
|
|
425
417
|
type: PropType<FieldValues>;
|
|
426
418
|
default: () => {};
|
|
@@ -437,6 +429,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
437
429
|
type: PropType<boolean>;
|
|
438
430
|
default: boolean;
|
|
439
431
|
};
|
|
432
|
+
cancelText: {
|
|
433
|
+
type: PropType<string>;
|
|
434
|
+
default: string;
|
|
435
|
+
};
|
|
436
|
+
confirmText: {
|
|
437
|
+
type: PropType<string>;
|
|
438
|
+
default: string;
|
|
439
|
+
};
|
|
440
440
|
drawer: {
|
|
441
441
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
442
442
|
style?: CSSProperties | undefined;
|
|
@@ -447,11 +447,11 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
447
447
|
}>> & {
|
|
448
448
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
449
449
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
450
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
451
|
-
onCancel?: (() => any) | undefined;
|
|
452
450
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
451
|
+
onCancel?: (() => any) | undefined;
|
|
452
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
453
453
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
454
|
-
}, "size" | "form" | "visible" | "
|
|
454
|
+
}, "size" | "form" | "visible" | "modelValue" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
455
455
|
$attrs: {
|
|
456
456
|
[x: string]: unknown;
|
|
457
457
|
};
|
|
@@ -463,7 +463,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
463
463
|
}>;
|
|
464
464
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
465
465
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
466
|
-
$emit: ((event: "update:
|
|
466
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
467
467
|
$el: any;
|
|
468
468
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
469
469
|
size: {
|
|
@@ -478,14 +478,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
478
478
|
type: PropType<boolean>;
|
|
479
479
|
default: boolean;
|
|
480
480
|
};
|
|
481
|
-
confirmText: {
|
|
482
|
-
type: PropType<string>;
|
|
483
|
-
default: string;
|
|
484
|
-
};
|
|
485
|
-
cancelText: {
|
|
486
|
-
type: PropType<string>;
|
|
487
|
-
default: string;
|
|
488
|
-
};
|
|
489
481
|
modelValue: {
|
|
490
482
|
type: PropType<FieldValues>;
|
|
491
483
|
default: () => {};
|
|
@@ -502,6 +494,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
502
494
|
type: PropType<boolean>;
|
|
503
495
|
default: boolean;
|
|
504
496
|
};
|
|
497
|
+
cancelText: {
|
|
498
|
+
type: PropType<string>;
|
|
499
|
+
default: string;
|
|
500
|
+
};
|
|
501
|
+
confirmText: {
|
|
502
|
+
type: PropType<string>;
|
|
503
|
+
default: string;
|
|
504
|
+
};
|
|
505
505
|
drawer: {
|
|
506
506
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
507
507
|
style?: CSSProperties | undefined;
|
|
@@ -512,9 +512,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
512
512
|
}>> & {
|
|
513
513
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
514
514
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
515
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
516
|
-
onCancel?: (() => any) | undefined;
|
|
517
515
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
516
|
+
onCancel?: (() => any) | undefined;
|
|
517
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
518
518
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
519
519
|
}, {
|
|
520
520
|
drawerInstance: Ref<({
|
|
@@ -551,40 +551,40 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
551
551
|
}> & Omit<{
|
|
552
552
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
553
553
|
readonly title: string;
|
|
554
|
-
readonly
|
|
554
|
+
readonly resizable: boolean;
|
|
555
555
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
556
|
+
readonly center: boolean;
|
|
557
|
+
readonly modelValue: boolean;
|
|
558
|
+
readonly ariaLevel: string;
|
|
559
|
+
readonly fullscreen: boolean;
|
|
560
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
561
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
562
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
563
|
+
readonly appendToBody: boolean;
|
|
556
564
|
readonly destroyOnClose: boolean;
|
|
557
565
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
558
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
559
566
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
560
567
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
561
568
|
readonly modalPenetrable: boolean;
|
|
562
569
|
readonly openDelay: number;
|
|
563
570
|
readonly closeDelay: number;
|
|
564
|
-
readonly modelValue: boolean;
|
|
565
571
|
readonly trapFocus: boolean;
|
|
566
572
|
readonly headerAriaLevel: string;
|
|
567
|
-
readonly center: boolean;
|
|
568
|
-
readonly fullscreen: boolean;
|
|
569
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
570
|
-
readonly ariaLevel: string;
|
|
571
|
-
readonly resizable: boolean;
|
|
572
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
573
573
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
574
574
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
575
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
575
576
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
576
|
-
readonly
|
|
577
|
+
readonly zIndex?: number | undefined;
|
|
577
578
|
readonly top?: string | undefined;
|
|
578
|
-
readonly
|
|
579
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
580
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
579
581
|
readonly headerClass?: string | undefined;
|
|
580
582
|
readonly bodyClass?: string | undefined;
|
|
581
583
|
readonly footerClass?: string | undefined;
|
|
582
|
-
readonly
|
|
583
|
-
readonly
|
|
584
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
585
|
+
readonly modalClass?: string | undefined;
|
|
584
586
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
585
587
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
586
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
587
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
588
588
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
589
589
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
590
590
|
onClose?: (() => any) | undefined;
|
|
@@ -668,7 +668,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
668
668
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
669
669
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
670
670
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
671
|
-
}, "size" | "title" | "
|
|
671
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
672
672
|
$attrs: {
|
|
673
673
|
[x: string]: unknown;
|
|
674
674
|
};
|
|
@@ -680,7 +680,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
680
680
|
}>;
|
|
681
681
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
682
682
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
683
|
-
$emit: ((event: "
|
|
683
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
684
684
|
$el: any;
|
|
685
685
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
686
686
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -922,12 +922,12 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
922
922
|
size: string | number;
|
|
923
923
|
form: PlusFormProps;
|
|
924
924
|
visible: boolean;
|
|
925
|
-
confirmText: string;
|
|
926
|
-
cancelText: string;
|
|
927
925
|
modelValue: FieldValues;
|
|
928
926
|
hasErrorTip: boolean;
|
|
929
927
|
hasFooter: boolean;
|
|
930
928
|
confirmLoading: boolean;
|
|
929
|
+
cancelText: string;
|
|
930
|
+
confirmText: string;
|
|
931
931
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
932
932
|
style?: CSSProperties | undefined;
|
|
933
933
|
class?: any;
|
|
@@ -965,14 +965,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
965
965
|
type: PropType<boolean>;
|
|
966
966
|
default: boolean;
|
|
967
967
|
};
|
|
968
|
-
confirmText: {
|
|
969
|
-
type: PropType<string>;
|
|
970
|
-
default: string;
|
|
971
|
-
};
|
|
972
|
-
cancelText: {
|
|
973
|
-
type: PropType<string>;
|
|
974
|
-
default: string;
|
|
975
|
-
};
|
|
976
968
|
modelValue: {
|
|
977
969
|
type: PropType<FieldValues>;
|
|
978
970
|
default: () => {};
|
|
@@ -989,6 +981,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
989
981
|
type: PropType<boolean>;
|
|
990
982
|
default: boolean;
|
|
991
983
|
};
|
|
984
|
+
cancelText: {
|
|
985
|
+
type: PropType<string>;
|
|
986
|
+
default: string;
|
|
987
|
+
};
|
|
988
|
+
confirmText: {
|
|
989
|
+
type: PropType<string>;
|
|
990
|
+
default: string;
|
|
991
|
+
};
|
|
992
992
|
drawer: {
|
|
993
993
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
994
994
|
style?: CSSProperties | undefined;
|
|
@@ -999,9 +999,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
999
999
|
}>> & {
|
|
1000
1000
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1001
1001
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1002
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1003
|
-
onCancel?: (() => any) | undefined;
|
|
1004
1002
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1003
|
+
onCancel?: (() => any) | undefined;
|
|
1004
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1005
1005
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1006
1006
|
}, "formInstance" | "drawerInstance"> & ShallowUnwrapRef<{
|
|
1007
1007
|
drawerInstance: Ref<({
|
|
@@ -1038,40 +1038,40 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1038
1038
|
}> & Omit<{
|
|
1039
1039
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1040
1040
|
readonly title: string;
|
|
1041
|
-
readonly
|
|
1041
|
+
readonly resizable: boolean;
|
|
1042
1042
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
1043
|
+
readonly center: boolean;
|
|
1044
|
+
readonly modelValue: boolean;
|
|
1045
|
+
readonly ariaLevel: string;
|
|
1046
|
+
readonly fullscreen: boolean;
|
|
1047
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1048
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1049
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1050
|
+
readonly appendToBody: boolean;
|
|
1043
1051
|
readonly destroyOnClose: boolean;
|
|
1044
1052
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1045
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1046
1053
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1047
1054
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1048
1055
|
readonly modalPenetrable: boolean;
|
|
1049
1056
|
readonly openDelay: number;
|
|
1050
1057
|
readonly closeDelay: number;
|
|
1051
|
-
readonly modelValue: boolean;
|
|
1052
1058
|
readonly trapFocus: boolean;
|
|
1053
1059
|
readonly headerAriaLevel: string;
|
|
1054
|
-
readonly center: boolean;
|
|
1055
|
-
readonly fullscreen: boolean;
|
|
1056
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1057
|
-
readonly ariaLevel: string;
|
|
1058
|
-
readonly resizable: boolean;
|
|
1059
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1060
1060
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1061
1061
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1062
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
1062
1063
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
1063
|
-
readonly
|
|
1064
|
+
readonly zIndex?: number | undefined;
|
|
1064
1065
|
readonly top?: string | undefined;
|
|
1065
|
-
readonly
|
|
1066
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1067
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1066
1068
|
readonly headerClass?: string | undefined;
|
|
1067
1069
|
readonly bodyClass?: string | undefined;
|
|
1068
1070
|
readonly footerClass?: string | undefined;
|
|
1069
|
-
readonly
|
|
1070
|
-
readonly
|
|
1071
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
1072
|
+
readonly modalClass?: string | undefined;
|
|
1071
1073
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1072
1074
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
1073
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1074
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1075
1075
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1076
1076
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1077
1077
|
onClose?: (() => any) | undefined;
|
|
@@ -1155,7 +1155,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1155
1155
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1156
1156
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1157
1157
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1158
|
-
}, "size" | "title" | "
|
|
1158
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
1159
1159
|
$attrs: {
|
|
1160
1160
|
[x: string]: unknown;
|
|
1161
1161
|
};
|
|
@@ -1167,7 +1167,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1167
1167
|
}>;
|
|
1168
1168
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1169
1169
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1170
|
-
$emit: ((event: "
|
|
1170
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
1171
1171
|
$el: any;
|
|
1172
1172
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1173
1173
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -1400,10 +1400,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1400
1400
|
formInstance: ComputedRef<FormInstance>;
|
|
1401
1401
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1402
1402
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1403
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
1403
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1404
1404
|
readonly label: string | ComputedRef<string>;
|
|
1405
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1406
|
-
readonly hasLabel: boolean |
|
|
1405
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1406
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1407
1407
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1408
1408
|
style?: CSSProperties | undefined;
|
|
1409
1409
|
class?: any;
|
|
@@ -1429,7 +1429,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1429
1429
|
};
|
|
1430
1430
|
rows: number;
|
|
1431
1431
|
autocomplete: string;
|
|
1432
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1432
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1433
1433
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1434
1434
|
step: string | number;
|
|
1435
1435
|
format: string | ProgressFn | undefined;
|
|
@@ -1474,8 +1474,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1474
1474
|
fieldInstance?: any;
|
|
1475
1475
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1476
1476
|
prop: string;
|
|
1477
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1478
|
-
hasLabel: boolean |
|
|
1477
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1478
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1479
1479
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1480
1480
|
style?: CSSProperties | undefined;
|
|
1481
1481
|
class?: any;
|
|
@@ -1563,10 +1563,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1563
1563
|
readonly hasErrorTip: boolean;
|
|
1564
1564
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1565
1565
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1566
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1567
|
-
onCancel?: (() => any) | undefined;
|
|
1568
1566
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1569
1567
|
onClose?: (() => any) | undefined;
|
|
1568
|
+
onCancel?: (() => any) | undefined;
|
|
1569
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1570
1570
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1571
1571
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1572
1572
|
dialog: {
|
|
@@ -1592,10 +1592,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1592
1592
|
}>> & {
|
|
1593
1593
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1594
1594
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1595
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1596
|
-
onCancel?: (() => any) | undefined;
|
|
1597
1595
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1598
1596
|
onClose?: (() => any) | undefined;
|
|
1597
|
+
onCancel?: (() => any) | undefined;
|
|
1598
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1599
1599
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1600
1600
|
}, "dialog" | "form" | "visible" | "modelValue" | "hasErrorTip">;
|
|
1601
1601
|
$attrs: {
|
|
@@ -1609,7 +1609,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1609
1609
|
}>;
|
|
1610
1610
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1611
1611
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1612
|
-
$emit: ((event: "update:
|
|
1612
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
1613
1613
|
$el: any;
|
|
1614
1614
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1615
1615
|
dialog: {
|
|
@@ -1635,10 +1635,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1635
1635
|
}>> & {
|
|
1636
1636
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1637
1637
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1638
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1639
|
-
onCancel?: (() => any) | undefined;
|
|
1640
1638
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1641
1639
|
onClose?: (() => any) | undefined;
|
|
1640
|
+
onCancel?: (() => any) | undefined;
|
|
1641
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1642
1642
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1643
1643
|
}, {
|
|
1644
1644
|
handleConfirm: () => void;
|
|
@@ -1702,21 +1702,21 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1702
1702
|
}>> & {
|
|
1703
1703
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1704
1704
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1705
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1706
|
-
onCancel?: (() => any) | undefined;
|
|
1707
1705
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1708
1706
|
onClose?: (() => any) | undefined;
|
|
1707
|
+
onCancel?: (() => any) | undefined;
|
|
1708
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1709
1709
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1710
|
-
}, "
|
|
1710
|
+
}, "formInstance" | "handleConfirm" | "handleCancel"> & ShallowUnwrapRef<{
|
|
1711
1711
|
handleConfirm: () => void;
|
|
1712
1712
|
handleCancel: () => void;
|
|
1713
1713
|
formInstance: ComputedRef<FormInstance>;
|
|
1714
1714
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1715
1715
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1716
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
1716
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1717
1717
|
readonly label: string | ComputedRef<string>;
|
|
1718
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1719
|
-
readonly hasLabel: boolean |
|
|
1718
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1719
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1720
1720
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1721
1721
|
style?: CSSProperties | undefined;
|
|
1722
1722
|
class?: any;
|
|
@@ -1742,7 +1742,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1742
1742
|
};
|
|
1743
1743
|
rows: number;
|
|
1744
1744
|
autocomplete: string;
|
|
1745
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1745
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1746
1746
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1747
1747
|
step: string | number;
|
|
1748
1748
|
format: string | ProgressFn | undefined;
|
|
@@ -1787,8 +1787,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1787
1787
|
fieldInstance?: any;
|
|
1788
1788
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1789
1789
|
prop: string;
|
|
1790
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1791
|
-
hasLabel: boolean |
|
|
1790
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1791
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1792
1792
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1793
1793
|
style?: CSSProperties | undefined;
|
|
1794
1794
|
class?: any;
|
|
@@ -1844,12 +1844,12 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1844
1844
|
size: string | number;
|
|
1845
1845
|
form: PlusFormProps;
|
|
1846
1846
|
visible: boolean;
|
|
1847
|
-
confirmText: string;
|
|
1848
|
-
cancelText: string;
|
|
1849
1847
|
modelValue: FieldValues;
|
|
1850
1848
|
hasErrorTip: boolean;
|
|
1851
1849
|
hasFooter: boolean;
|
|
1852
1850
|
confirmLoading: boolean;
|
|
1851
|
+
cancelText: string;
|
|
1852
|
+
confirmText: string;
|
|
1853
1853
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
1854
1854
|
style?: CSSProperties | undefined;
|
|
1855
1855
|
class?: any;
|
|
@@ -1858,21 +1858,21 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1858
1858
|
readonly size: string | number;
|
|
1859
1859
|
readonly form: PlusFormProps;
|
|
1860
1860
|
readonly visible: boolean;
|
|
1861
|
-
readonly confirmText: string;
|
|
1862
|
-
readonly cancelText: string;
|
|
1863
1861
|
readonly modelValue: FieldValues;
|
|
1864
1862
|
readonly hasErrorTip: boolean;
|
|
1865
1863
|
readonly hasFooter: boolean;
|
|
1866
1864
|
readonly confirmLoading: boolean;
|
|
1865
|
+
readonly cancelText: string;
|
|
1866
|
+
readonly confirmText: string;
|
|
1867
1867
|
readonly drawer: Partial< Mutable<DrawerProps> & {
|
|
1868
1868
|
style?: CSSProperties | undefined;
|
|
1869
1869
|
class?: any;
|
|
1870
1870
|
} & RecordType>;
|
|
1871
1871
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1872
1872
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1873
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1874
|
-
onCancel?: (() => any) | undefined;
|
|
1875
1873
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1874
|
+
onCancel?: (() => any) | undefined;
|
|
1875
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1876
1876
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1877
1877
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1878
1878
|
size: {
|
|
@@ -1887,14 +1887,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1887
1887
|
type: PropType<boolean>;
|
|
1888
1888
|
default: boolean;
|
|
1889
1889
|
};
|
|
1890
|
-
confirmText: {
|
|
1891
|
-
type: PropType<string>;
|
|
1892
|
-
default: string;
|
|
1893
|
-
};
|
|
1894
|
-
cancelText: {
|
|
1895
|
-
type: PropType<string>;
|
|
1896
|
-
default: string;
|
|
1897
|
-
};
|
|
1898
1890
|
modelValue: {
|
|
1899
1891
|
type: PropType<FieldValues>;
|
|
1900
1892
|
default: () => {};
|
|
@@ -1911,6 +1903,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1911
1903
|
type: PropType<boolean>;
|
|
1912
1904
|
default: boolean;
|
|
1913
1905
|
};
|
|
1906
|
+
cancelText: {
|
|
1907
|
+
type: PropType<string>;
|
|
1908
|
+
default: string;
|
|
1909
|
+
};
|
|
1910
|
+
confirmText: {
|
|
1911
|
+
type: PropType<string>;
|
|
1912
|
+
default: string;
|
|
1913
|
+
};
|
|
1914
1914
|
drawer: {
|
|
1915
1915
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
1916
1916
|
style?: CSSProperties | undefined;
|
|
@@ -1921,11 +1921,11 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1921
1921
|
}>> & {
|
|
1922
1922
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1923
1923
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1924
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1925
|
-
onCancel?: (() => any) | undefined;
|
|
1926
1924
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1925
|
+
onCancel?: (() => any) | undefined;
|
|
1926
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1927
1927
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1928
|
-
}, "size" | "form" | "visible" | "
|
|
1928
|
+
}, "size" | "form" | "visible" | "modelValue" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
1929
1929
|
$attrs: {
|
|
1930
1930
|
[x: string]: unknown;
|
|
1931
1931
|
};
|
|
@@ -1937,7 +1937,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1937
1937
|
}>;
|
|
1938
1938
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1939
1939
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1940
|
-
$emit: ((event: "update:
|
|
1940
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
1941
1941
|
$el: any;
|
|
1942
1942
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1943
1943
|
size: {
|
|
@@ -1952,14 +1952,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1952
1952
|
type: PropType<boolean>;
|
|
1953
1953
|
default: boolean;
|
|
1954
1954
|
};
|
|
1955
|
-
confirmText: {
|
|
1956
|
-
type: PropType<string>;
|
|
1957
|
-
default: string;
|
|
1958
|
-
};
|
|
1959
|
-
cancelText: {
|
|
1960
|
-
type: PropType<string>;
|
|
1961
|
-
default: string;
|
|
1962
|
-
};
|
|
1963
1955
|
modelValue: {
|
|
1964
1956
|
type: PropType<FieldValues>;
|
|
1965
1957
|
default: () => {};
|
|
@@ -1976,6 +1968,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1976
1968
|
type: PropType<boolean>;
|
|
1977
1969
|
default: boolean;
|
|
1978
1970
|
};
|
|
1971
|
+
cancelText: {
|
|
1972
|
+
type: PropType<string>;
|
|
1973
|
+
default: string;
|
|
1974
|
+
};
|
|
1975
|
+
confirmText: {
|
|
1976
|
+
type: PropType<string>;
|
|
1977
|
+
default: string;
|
|
1978
|
+
};
|
|
1979
1979
|
drawer: {
|
|
1980
1980
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
1981
1981
|
style?: CSSProperties | undefined;
|
|
@@ -1986,9 +1986,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1986
1986
|
}>> & {
|
|
1987
1987
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1988
1988
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1989
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1990
|
-
onCancel?: (() => any) | undefined;
|
|
1991
1989
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1990
|
+
onCancel?: (() => any) | undefined;
|
|
1991
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1992
1992
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1993
1993
|
}, {
|
|
1994
1994
|
drawerInstance: Ref<({
|
|
@@ -2025,40 +2025,40 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2025
2025
|
}> & Omit<{
|
|
2026
2026
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2027
2027
|
readonly title: string;
|
|
2028
|
-
readonly
|
|
2028
|
+
readonly resizable: boolean;
|
|
2029
2029
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
2030
|
+
readonly center: boolean;
|
|
2031
|
+
readonly modelValue: boolean;
|
|
2032
|
+
readonly ariaLevel: string;
|
|
2033
|
+
readonly fullscreen: boolean;
|
|
2034
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2035
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2036
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2037
|
+
readonly appendToBody: boolean;
|
|
2030
2038
|
readonly destroyOnClose: boolean;
|
|
2031
2039
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2032
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2033
2040
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2034
2041
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2035
2042
|
readonly modalPenetrable: boolean;
|
|
2036
2043
|
readonly openDelay: number;
|
|
2037
2044
|
readonly closeDelay: number;
|
|
2038
|
-
readonly modelValue: boolean;
|
|
2039
2045
|
readonly trapFocus: boolean;
|
|
2040
2046
|
readonly headerAriaLevel: string;
|
|
2041
|
-
readonly center: boolean;
|
|
2042
|
-
readonly fullscreen: boolean;
|
|
2043
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2044
|
-
readonly ariaLevel: string;
|
|
2045
|
-
readonly resizable: boolean;
|
|
2046
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2047
2047
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2048
2048
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2049
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
2049
2050
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
2050
|
-
readonly
|
|
2051
|
+
readonly zIndex?: number | undefined;
|
|
2051
2052
|
readonly top?: string | undefined;
|
|
2052
|
-
readonly
|
|
2053
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2054
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2053
2055
|
readonly headerClass?: string | undefined;
|
|
2054
2056
|
readonly bodyClass?: string | undefined;
|
|
2055
2057
|
readonly footerClass?: string | undefined;
|
|
2056
|
-
readonly
|
|
2057
|
-
readonly
|
|
2058
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
2059
|
+
readonly modalClass?: string | undefined;
|
|
2058
2060
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2059
2061
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
2060
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2061
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2062
2062
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2063
2063
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2064
2064
|
onClose?: (() => any) | undefined;
|
|
@@ -2142,7 +2142,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2142
2142
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
2143
2143
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2144
2144
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2145
|
-
}, "size" | "title" | "
|
|
2145
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
2146
2146
|
$attrs: {
|
|
2147
2147
|
[x: string]: unknown;
|
|
2148
2148
|
};
|
|
@@ -2154,7 +2154,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2154
2154
|
}>;
|
|
2155
2155
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2156
2156
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2157
|
-
$emit: ((event: "
|
|
2157
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
2158
2158
|
$el: any;
|
|
2159
2159
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2160
2160
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -2396,12 +2396,12 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2396
2396
|
size: string | number;
|
|
2397
2397
|
form: PlusFormProps;
|
|
2398
2398
|
visible: boolean;
|
|
2399
|
-
confirmText: string;
|
|
2400
|
-
cancelText: string;
|
|
2401
2399
|
modelValue: FieldValues;
|
|
2402
2400
|
hasErrorTip: boolean;
|
|
2403
2401
|
hasFooter: boolean;
|
|
2404
2402
|
confirmLoading: boolean;
|
|
2403
|
+
cancelText: string;
|
|
2404
|
+
confirmText: string;
|
|
2405
2405
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
2406
2406
|
style?: CSSProperties | undefined;
|
|
2407
2407
|
class?: any;
|
|
@@ -2439,14 +2439,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2439
2439
|
type: PropType<boolean>;
|
|
2440
2440
|
default: boolean;
|
|
2441
2441
|
};
|
|
2442
|
-
confirmText: {
|
|
2443
|
-
type: PropType<string>;
|
|
2444
|
-
default: string;
|
|
2445
|
-
};
|
|
2446
|
-
cancelText: {
|
|
2447
|
-
type: PropType<string>;
|
|
2448
|
-
default: string;
|
|
2449
|
-
};
|
|
2450
2442
|
modelValue: {
|
|
2451
2443
|
type: PropType<FieldValues>;
|
|
2452
2444
|
default: () => {};
|
|
@@ -2463,6 +2455,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2463
2455
|
type: PropType<boolean>;
|
|
2464
2456
|
default: boolean;
|
|
2465
2457
|
};
|
|
2458
|
+
cancelText: {
|
|
2459
|
+
type: PropType<string>;
|
|
2460
|
+
default: string;
|
|
2461
|
+
};
|
|
2462
|
+
confirmText: {
|
|
2463
|
+
type: PropType<string>;
|
|
2464
|
+
default: string;
|
|
2465
|
+
};
|
|
2466
2466
|
drawer: {
|
|
2467
2467
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
2468
2468
|
style?: CSSProperties | undefined;
|
|
@@ -2473,9 +2473,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2473
2473
|
}>> & {
|
|
2474
2474
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2475
2475
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
2476
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
2477
|
-
onCancel?: (() => any) | undefined;
|
|
2478
2476
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2477
|
+
onCancel?: (() => any) | undefined;
|
|
2478
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
2479
2479
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
2480
2480
|
}, "formInstance" | "drawerInstance"> & ShallowUnwrapRef<{
|
|
2481
2481
|
drawerInstance: Ref<({
|
|
@@ -2512,40 +2512,40 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2512
2512
|
}> & Omit<{
|
|
2513
2513
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2514
2514
|
readonly title: string;
|
|
2515
|
-
readonly
|
|
2515
|
+
readonly resizable: boolean;
|
|
2516
2516
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
2517
|
+
readonly center: boolean;
|
|
2518
|
+
readonly modelValue: boolean;
|
|
2519
|
+
readonly ariaLevel: string;
|
|
2520
|
+
readonly fullscreen: boolean;
|
|
2521
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2522
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2523
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2524
|
+
readonly appendToBody: boolean;
|
|
2517
2525
|
readonly destroyOnClose: boolean;
|
|
2518
2526
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2519
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2520
2527
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2521
2528
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2522
2529
|
readonly modalPenetrable: boolean;
|
|
2523
2530
|
readonly openDelay: number;
|
|
2524
2531
|
readonly closeDelay: number;
|
|
2525
|
-
readonly modelValue: boolean;
|
|
2526
2532
|
readonly trapFocus: boolean;
|
|
2527
2533
|
readonly headerAriaLevel: string;
|
|
2528
|
-
readonly center: boolean;
|
|
2529
|
-
readonly fullscreen: boolean;
|
|
2530
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2531
|
-
readonly ariaLevel: string;
|
|
2532
|
-
readonly resizable: boolean;
|
|
2533
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2534
2534
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2535
2535
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2536
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
2536
2537
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
2537
|
-
readonly
|
|
2538
|
+
readonly zIndex?: number | undefined;
|
|
2538
2539
|
readonly top?: string | undefined;
|
|
2539
|
-
readonly
|
|
2540
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2541
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2540
2542
|
readonly headerClass?: string | undefined;
|
|
2541
2543
|
readonly bodyClass?: string | undefined;
|
|
2542
2544
|
readonly footerClass?: string | undefined;
|
|
2543
|
-
readonly
|
|
2544
|
-
readonly
|
|
2545
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
2546
|
+
readonly modalClass?: string | undefined;
|
|
2545
2547
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2546
2548
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
2547
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2548
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2549
2549
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2550
2550
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2551
2551
|
onClose?: (() => any) | undefined;
|
|
@@ -2629,7 +2629,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2629
2629
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
2630
2630
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2631
2631
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2632
|
-
}, "size" | "title" | "
|
|
2632
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
2633
2633
|
$attrs: {
|
|
2634
2634
|
[x: string]: unknown;
|
|
2635
2635
|
};
|
|
@@ -2641,7 +2641,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2641
2641
|
}>;
|
|
2642
2642
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2643
2643
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2644
|
-
$emit: ((event: "
|
|
2644
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
2645
2645
|
$el: any;
|
|
2646
2646
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2647
2647
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -2874,10 +2874,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2874
2874
|
formInstance: ComputedRef<FormInstance>;
|
|
2875
2875
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2876
2876
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2877
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
2877
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2878
2878
|
readonly label: string | ComputedRef<string>;
|
|
2879
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2880
|
-
readonly hasLabel: boolean |
|
|
2879
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2880
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2881
2881
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2882
2882
|
style?: CSSProperties | undefined;
|
|
2883
2883
|
class?: any;
|
|
@@ -2903,7 +2903,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2903
2903
|
};
|
|
2904
2904
|
rows: number;
|
|
2905
2905
|
autocomplete: string;
|
|
2906
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2906
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2907
2907
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2908
2908
|
step: string | number;
|
|
2909
2909
|
format: string | ProgressFn | undefined;
|
|
@@ -2948,8 +2948,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2948
2948
|
fieldInstance?: any;
|
|
2949
2949
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2950
2950
|
prop: string;
|
|
2951
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2952
|
-
hasLabel: boolean |
|
|
2951
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2952
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2953
2953
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2954
2954
|
style?: CSSProperties | undefined;
|
|
2955
2955
|
class?: any;
|
|
@@ -3039,10 +3039,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3039
3039
|
readonly hasErrorTip: boolean;
|
|
3040
3040
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3041
3041
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3042
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3043
|
-
onCancel?: (() => any) | undefined;
|
|
3044
3042
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3045
3043
|
onClose?: (() => any) | undefined;
|
|
3044
|
+
onCancel?: (() => any) | undefined;
|
|
3045
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3046
3046
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3047
3047
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3048
3048
|
dialog: {
|
|
@@ -3068,10 +3068,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3068
3068
|
}>> & {
|
|
3069
3069
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3070
3070
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3071
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3072
|
-
onCancel?: (() => any) | undefined;
|
|
3073
3071
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3074
3072
|
onClose?: (() => any) | undefined;
|
|
3073
|
+
onCancel?: (() => any) | undefined;
|
|
3074
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3075
3075
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3076
3076
|
}, "dialog" | "form" | "visible" | "modelValue" | "hasErrorTip">;
|
|
3077
3077
|
$attrs: {
|
|
@@ -3085,7 +3085,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3085
3085
|
}>;
|
|
3086
3086
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3087
3087
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3088
|
-
$emit: ((event: "update:
|
|
3088
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
3089
3089
|
$el: any;
|
|
3090
3090
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3091
3091
|
dialog: {
|
|
@@ -3111,10 +3111,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3111
3111
|
}>> & {
|
|
3112
3112
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3113
3113
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3114
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3115
|
-
onCancel?: (() => any) | undefined;
|
|
3116
3114
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3117
3115
|
onClose?: (() => any) | undefined;
|
|
3116
|
+
onCancel?: (() => any) | undefined;
|
|
3117
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3118
3118
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3119
3119
|
}, {
|
|
3120
3120
|
handleConfirm: () => void;
|
|
@@ -3178,21 +3178,21 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3178
3178
|
}>> & {
|
|
3179
3179
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3180
3180
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3181
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3182
|
-
onCancel?: (() => any) | undefined;
|
|
3183
3181
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3184
3182
|
onClose?: (() => any) | undefined;
|
|
3183
|
+
onCancel?: (() => any) | undefined;
|
|
3184
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3185
3185
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3186
|
-
}, "
|
|
3186
|
+
}, "formInstance" | "handleConfirm" | "handleCancel"> & ShallowUnwrapRef<{
|
|
3187
3187
|
handleConfirm: () => void;
|
|
3188
3188
|
handleCancel: () => void;
|
|
3189
3189
|
formInstance: ComputedRef<FormInstance>;
|
|
3190
3190
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3191
3191
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3192
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
3192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3193
3193
|
readonly label: string | ComputedRef<string>;
|
|
3194
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3195
|
-
readonly hasLabel: boolean |
|
|
3194
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3195
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3196
3196
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3197
3197
|
style?: CSSProperties | undefined;
|
|
3198
3198
|
class?: any;
|
|
@@ -3218,7 +3218,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3218
3218
|
};
|
|
3219
3219
|
rows: number;
|
|
3220
3220
|
autocomplete: string;
|
|
3221
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
3221
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
3222
3222
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3223
3223
|
step: string | number;
|
|
3224
3224
|
format: string | ProgressFn | undefined;
|
|
@@ -3263,8 +3263,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3263
3263
|
fieldInstance?: any;
|
|
3264
3264
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3265
3265
|
prop: string;
|
|
3266
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3267
|
-
hasLabel: boolean |
|
|
3266
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3267
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3268
3268
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3269
3269
|
style?: CSSProperties | undefined;
|
|
3270
3270
|
class?: any;
|
|
@@ -3320,12 +3320,12 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3320
3320
|
size: string | number;
|
|
3321
3321
|
form: PlusFormProps;
|
|
3322
3322
|
visible: boolean;
|
|
3323
|
-
confirmText: string;
|
|
3324
|
-
cancelText: string;
|
|
3325
3323
|
modelValue: FieldValues;
|
|
3326
3324
|
hasErrorTip: boolean;
|
|
3327
3325
|
hasFooter: boolean;
|
|
3328
3326
|
confirmLoading: boolean;
|
|
3327
|
+
cancelText: string;
|
|
3328
|
+
confirmText: string;
|
|
3329
3329
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
3330
3330
|
style?: CSSProperties | undefined;
|
|
3331
3331
|
class?: any;
|
|
@@ -3334,21 +3334,21 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3334
3334
|
readonly size: string | number;
|
|
3335
3335
|
readonly form: PlusFormProps;
|
|
3336
3336
|
readonly visible: boolean;
|
|
3337
|
-
readonly confirmText: string;
|
|
3338
|
-
readonly cancelText: string;
|
|
3339
3337
|
readonly modelValue: FieldValues;
|
|
3340
3338
|
readonly hasErrorTip: boolean;
|
|
3341
3339
|
readonly hasFooter: boolean;
|
|
3342
3340
|
readonly confirmLoading: boolean;
|
|
3341
|
+
readonly cancelText: string;
|
|
3342
|
+
readonly confirmText: string;
|
|
3343
3343
|
readonly drawer: Partial< Mutable<DrawerProps> & {
|
|
3344
3344
|
style?: CSSProperties | undefined;
|
|
3345
3345
|
class?: any;
|
|
3346
3346
|
} & RecordType>;
|
|
3347
3347
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3348
3348
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3349
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3350
|
-
onCancel?: (() => any) | undefined;
|
|
3351
3349
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3350
|
+
onCancel?: (() => any) | undefined;
|
|
3351
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3352
3352
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3353
3353
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3354
3354
|
size: {
|
|
@@ -3363,14 +3363,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3363
3363
|
type: PropType<boolean>;
|
|
3364
3364
|
default: boolean;
|
|
3365
3365
|
};
|
|
3366
|
-
confirmText: {
|
|
3367
|
-
type: PropType<string>;
|
|
3368
|
-
default: string;
|
|
3369
|
-
};
|
|
3370
|
-
cancelText: {
|
|
3371
|
-
type: PropType<string>;
|
|
3372
|
-
default: string;
|
|
3373
|
-
};
|
|
3374
3366
|
modelValue: {
|
|
3375
3367
|
type: PropType<FieldValues>;
|
|
3376
3368
|
default: () => {};
|
|
@@ -3387,6 +3379,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3387
3379
|
type: PropType<boolean>;
|
|
3388
3380
|
default: boolean;
|
|
3389
3381
|
};
|
|
3382
|
+
cancelText: {
|
|
3383
|
+
type: PropType<string>;
|
|
3384
|
+
default: string;
|
|
3385
|
+
};
|
|
3386
|
+
confirmText: {
|
|
3387
|
+
type: PropType<string>;
|
|
3388
|
+
default: string;
|
|
3389
|
+
};
|
|
3390
3390
|
drawer: {
|
|
3391
3391
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
3392
3392
|
style?: CSSProperties | undefined;
|
|
@@ -3397,11 +3397,11 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3397
3397
|
}>> & {
|
|
3398
3398
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3399
3399
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3400
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3401
|
-
onCancel?: (() => any) | undefined;
|
|
3402
3400
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3401
|
+
onCancel?: (() => any) | undefined;
|
|
3402
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3403
3403
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3404
|
-
}, "size" | "form" | "visible" | "
|
|
3404
|
+
}, "size" | "form" | "visible" | "modelValue" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
3405
3405
|
$attrs: {
|
|
3406
3406
|
[x: string]: unknown;
|
|
3407
3407
|
};
|
|
@@ -3413,7 +3413,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3413
3413
|
}>;
|
|
3414
3414
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3415
3415
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3416
|
-
$emit: ((event: "update:
|
|
3416
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
3417
3417
|
$el: any;
|
|
3418
3418
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3419
3419
|
size: {
|
|
@@ -3428,14 +3428,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3428
3428
|
type: PropType<boolean>;
|
|
3429
3429
|
default: boolean;
|
|
3430
3430
|
};
|
|
3431
|
-
confirmText: {
|
|
3432
|
-
type: PropType<string>;
|
|
3433
|
-
default: string;
|
|
3434
|
-
};
|
|
3435
|
-
cancelText: {
|
|
3436
|
-
type: PropType<string>;
|
|
3437
|
-
default: string;
|
|
3438
|
-
};
|
|
3439
3431
|
modelValue: {
|
|
3440
3432
|
type: PropType<FieldValues>;
|
|
3441
3433
|
default: () => {};
|
|
@@ -3452,6 +3444,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3452
3444
|
type: PropType<boolean>;
|
|
3453
3445
|
default: boolean;
|
|
3454
3446
|
};
|
|
3447
|
+
cancelText: {
|
|
3448
|
+
type: PropType<string>;
|
|
3449
|
+
default: string;
|
|
3450
|
+
};
|
|
3451
|
+
confirmText: {
|
|
3452
|
+
type: PropType<string>;
|
|
3453
|
+
default: string;
|
|
3454
|
+
};
|
|
3455
3455
|
drawer: {
|
|
3456
3456
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
3457
3457
|
style?: CSSProperties | undefined;
|
|
@@ -3462,9 +3462,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3462
3462
|
}>> & {
|
|
3463
3463
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3464
3464
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3465
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3466
|
-
onCancel?: (() => any) | undefined;
|
|
3467
3465
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3466
|
+
onCancel?: (() => any) | undefined;
|
|
3467
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3468
3468
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3469
3469
|
}, {
|
|
3470
3470
|
drawerInstance: Ref<({
|
|
@@ -3501,40 +3501,40 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3501
3501
|
}> & Omit<{
|
|
3502
3502
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3503
3503
|
readonly title: string;
|
|
3504
|
-
readonly
|
|
3504
|
+
readonly resizable: boolean;
|
|
3505
3505
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
3506
|
+
readonly center: boolean;
|
|
3507
|
+
readonly modelValue: boolean;
|
|
3508
|
+
readonly ariaLevel: string;
|
|
3509
|
+
readonly fullscreen: boolean;
|
|
3510
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3511
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3512
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3513
|
+
readonly appendToBody: boolean;
|
|
3506
3514
|
readonly destroyOnClose: boolean;
|
|
3507
3515
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3508
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3509
3516
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3510
3517
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3511
3518
|
readonly modalPenetrable: boolean;
|
|
3512
3519
|
readonly openDelay: number;
|
|
3513
3520
|
readonly closeDelay: number;
|
|
3514
|
-
readonly modelValue: boolean;
|
|
3515
3521
|
readonly trapFocus: boolean;
|
|
3516
3522
|
readonly headerAriaLevel: string;
|
|
3517
|
-
readonly center: boolean;
|
|
3518
|
-
readonly fullscreen: boolean;
|
|
3519
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3520
|
-
readonly ariaLevel: string;
|
|
3521
|
-
readonly resizable: boolean;
|
|
3522
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3523
3523
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3524
3524
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3525
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
3525
3526
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
3526
|
-
readonly
|
|
3527
|
+
readonly zIndex?: number | undefined;
|
|
3527
3528
|
readonly top?: string | undefined;
|
|
3528
|
-
readonly
|
|
3529
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3530
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3529
3531
|
readonly headerClass?: string | undefined;
|
|
3530
3532
|
readonly bodyClass?: string | undefined;
|
|
3531
3533
|
readonly footerClass?: string | undefined;
|
|
3532
|
-
readonly
|
|
3533
|
-
readonly
|
|
3534
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
3535
|
+
readonly modalClass?: string | undefined;
|
|
3534
3536
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3535
3537
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
3536
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3537
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3538
3538
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
3539
3539
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
3540
3540
|
onClose?: (() => any) | undefined;
|
|
@@ -3618,7 +3618,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3618
3618
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
3619
3619
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
3620
3620
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
3621
|
-
}, "size" | "title" | "
|
|
3621
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
3622
3622
|
$attrs: {
|
|
3623
3623
|
[x: string]: unknown;
|
|
3624
3624
|
};
|
|
@@ -3630,7 +3630,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3630
3630
|
}>;
|
|
3631
3631
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3632
3632
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3633
|
-
$emit: ((event: "
|
|
3633
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
3634
3634
|
$el: any;
|
|
3635
3635
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3636
3636
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -3872,12 +3872,12 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3872
3872
|
size: string | number;
|
|
3873
3873
|
form: PlusFormProps;
|
|
3874
3874
|
visible: boolean;
|
|
3875
|
-
confirmText: string;
|
|
3876
|
-
cancelText: string;
|
|
3877
3875
|
modelValue: FieldValues;
|
|
3878
3876
|
hasErrorTip: boolean;
|
|
3879
3877
|
hasFooter: boolean;
|
|
3880
3878
|
confirmLoading: boolean;
|
|
3879
|
+
cancelText: string;
|
|
3880
|
+
confirmText: string;
|
|
3881
3881
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
3882
3882
|
style?: CSSProperties | undefined;
|
|
3883
3883
|
class?: any;
|
|
@@ -3915,14 +3915,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3915
3915
|
type: PropType<boolean>;
|
|
3916
3916
|
default: boolean;
|
|
3917
3917
|
};
|
|
3918
|
-
confirmText: {
|
|
3919
|
-
type: PropType<string>;
|
|
3920
|
-
default: string;
|
|
3921
|
-
};
|
|
3922
|
-
cancelText: {
|
|
3923
|
-
type: PropType<string>;
|
|
3924
|
-
default: string;
|
|
3925
|
-
};
|
|
3926
3918
|
modelValue: {
|
|
3927
3919
|
type: PropType<FieldValues>;
|
|
3928
3920
|
default: () => {};
|
|
@@ -3939,6 +3931,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3939
3931
|
type: PropType<boolean>;
|
|
3940
3932
|
default: boolean;
|
|
3941
3933
|
};
|
|
3934
|
+
cancelText: {
|
|
3935
|
+
type: PropType<string>;
|
|
3936
|
+
default: string;
|
|
3937
|
+
};
|
|
3938
|
+
confirmText: {
|
|
3939
|
+
type: PropType<string>;
|
|
3940
|
+
default: string;
|
|
3941
|
+
};
|
|
3942
3942
|
drawer: {
|
|
3943
3943
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
3944
3944
|
style?: CSSProperties | undefined;
|
|
@@ -3949,9 +3949,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3949
3949
|
}>> & {
|
|
3950
3950
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3951
3951
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3952
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3953
|
-
onCancel?: (() => any) | undefined;
|
|
3954
3952
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3953
|
+
onCancel?: (() => any) | undefined;
|
|
3954
|
+
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3955
3955
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3956
3956
|
}, "formInstance" | "drawerInstance"> & ShallowUnwrapRef<{
|
|
3957
3957
|
drawerInstance: Ref<({
|
|
@@ -3988,40 +3988,40 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3988
3988
|
}> & Omit<{
|
|
3989
3989
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3990
3990
|
readonly title: string;
|
|
3991
|
-
readonly
|
|
3991
|
+
readonly resizable: boolean;
|
|
3992
3992
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
3993
|
+
readonly center: boolean;
|
|
3994
|
+
readonly modelValue: boolean;
|
|
3995
|
+
readonly ariaLevel: string;
|
|
3996
|
+
readonly fullscreen: boolean;
|
|
3997
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3998
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3999
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4000
|
+
readonly appendToBody: boolean;
|
|
3993
4001
|
readonly destroyOnClose: boolean;
|
|
3994
4002
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3995
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3996
4003
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3997
4004
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3998
4005
|
readonly modalPenetrable: boolean;
|
|
3999
4006
|
readonly openDelay: number;
|
|
4000
4007
|
readonly closeDelay: number;
|
|
4001
|
-
readonly modelValue: boolean;
|
|
4002
4008
|
readonly trapFocus: boolean;
|
|
4003
4009
|
readonly headerAriaLevel: string;
|
|
4004
|
-
readonly center: boolean;
|
|
4005
|
-
readonly fullscreen: boolean;
|
|
4006
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4007
|
-
readonly ariaLevel: string;
|
|
4008
|
-
readonly resizable: boolean;
|
|
4009
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
4010
4010
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4011
4011
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4012
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
4012
4013
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
4013
|
-
readonly
|
|
4014
|
+
readonly zIndex?: number | undefined;
|
|
4014
4015
|
readonly top?: string | undefined;
|
|
4015
|
-
readonly
|
|
4016
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4017
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4016
4018
|
readonly headerClass?: string | undefined;
|
|
4017
4019
|
readonly bodyClass?: string | undefined;
|
|
4018
4020
|
readonly footerClass?: string | undefined;
|
|
4019
|
-
readonly
|
|
4020
|
-
readonly
|
|
4021
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
4022
|
+
readonly modalClass?: string | undefined;
|
|
4021
4023
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4022
4024
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
4023
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4024
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4025
4025
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
4026
4026
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
4027
4027
|
onClose?: (() => any) | undefined;
|
|
@@ -4105,7 +4105,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4105
4105
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
4106
4106
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
4107
4107
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
4108
|
-
}, "size" | "title" | "
|
|
4108
|
+
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
4109
4109
|
$attrs: {
|
|
4110
4110
|
[x: string]: unknown;
|
|
4111
4111
|
};
|
|
@@ -4117,7 +4117,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4117
4117
|
}>;
|
|
4118
4118
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4119
4119
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4120
|
-
$emit: ((event: "
|
|
4120
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
4121
4121
|
$el: any;
|
|
4122
4122
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4123
4123
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -4350,10 +4350,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4350
4350
|
formInstance: ComputedRef<FormInstance>;
|
|
4351
4351
|
}> & {} & ComponentCustomProperties & {} & {
|
|
4352
4352
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
4353
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
4353
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4354
4354
|
readonly label: string | ComputedRef<string>;
|
|
4355
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4356
|
-
readonly hasLabel: boolean |
|
|
4355
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4356
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4357
4357
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4358
4358
|
style?: CSSProperties | undefined;
|
|
4359
4359
|
class?: any;
|
|
@@ -4379,7 +4379,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4379
4379
|
};
|
|
4380
4380
|
rows: number;
|
|
4381
4381
|
autocomplete: string;
|
|
4382
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
4382
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
4383
4383
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4384
4384
|
step: string | number;
|
|
4385
4385
|
format: string | ProgressFn | undefined;
|
|
@@ -4424,8 +4424,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4424
4424
|
fieldInstance?: any;
|
|
4425
4425
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4426
4426
|
prop: string;
|
|
4427
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4428
|
-
hasLabel: boolean |
|
|
4427
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4428
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4429
4429
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4430
4430
|
style?: CSSProperties | undefined;
|
|
4431
4431
|
class?: any;
|