yc-pro-components 0.0.50 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +344 -344
- package/es/components/page/src/index.vue.d.ts +118 -118
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/defaults.mjs +4 -1
- package/es/directives/dist/index.mjs +14 -0
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +8 -8
- package/es/index.d.ts +1 -0
- package/es/index.mjs +1 -0
- package/es/make-installer.d.ts +7 -2
- package/es/make-installer.mjs +7 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -0
- package/es/yc-components/make-installer.d.ts +7 -2
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +28 -9
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +25 -6
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +344 -344
- package/lib/components/page/src/index.vue.d.ts +118 -118
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/defaults.js +4 -1
- package/lib/directives/dist/index.js +16 -0
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +9 -9
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -0
- package/lib/make-installer.d.ts +7 -2
- package/lib/make-installer.js +7 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -0
- package/lib/yc-components/make-installer.d.ts +7 -2
- 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
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import { LooseRequired } from '@vue/shared';
|
|
2
2
|
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
|
|
3
3
|
import { DrawerProps, DialogTransition, DialogBeforeCloseFn, FormInstance, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
|
-
import {
|
|
4
|
+
import { FieldValues, PlusFormProps, Mutable, RecordType, PlusColumn, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
5
5
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Ref, ComponentInternalInstance, TransitionProps, Component, ComputedOptions, MethodOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ComputedRef } from 'vue';
|
|
6
6
|
export type { PlusDrawerFormProps } from './src/index.vue';
|
|
7
7
|
export type PlusDrawerFormInstance = InstanceType<typeof PlusDrawerForm>;
|
|
8
8
|
export declare const PlusDrawerForm: {
|
|
9
9
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
10
|
-
form: {
|
|
11
|
-
type: PropType<PlusFormProps>;
|
|
12
|
-
default: () => {};
|
|
13
|
-
};
|
|
14
|
-
visible: {
|
|
15
|
-
type: PropType<boolean>;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
10
|
size: {
|
|
19
11
|
type: PropType<string | number>;
|
|
20
12
|
default: string;
|
|
@@ -23,6 +15,14 @@ export declare const PlusDrawerForm: {
|
|
|
23
15
|
type: PropType<FieldValues>;
|
|
24
16
|
default: () => {};
|
|
25
17
|
};
|
|
18
|
+
form: {
|
|
19
|
+
type: PropType<PlusFormProps>;
|
|
20
|
+
default: () => {};
|
|
21
|
+
};
|
|
22
|
+
visible: {
|
|
23
|
+
type: PropType<boolean>;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
26
|
hasErrorTip: {
|
|
27
27
|
type: PropType<boolean>;
|
|
28
28
|
default: boolean;
|
|
@@ -51,9 +51,9 @@ export declare const PlusDrawerForm: {
|
|
|
51
51
|
default: () => {};
|
|
52
52
|
};
|
|
53
53
|
}>> & {
|
|
54
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
54
55
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
55
56
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
56
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
57
57
|
onCancel?: (() => any) | undefined;
|
|
58
58
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
59
59
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -90,12 +90,12 @@ export declare const PlusDrawerForm: {
|
|
|
90
90
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
91
91
|
readonly resizable: boolean;
|
|
92
92
|
}> & Omit<{
|
|
93
|
+
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
94
|
+
readonly modelValue: boolean;
|
|
93
95
|
readonly title: string;
|
|
96
|
+
readonly center: boolean;
|
|
94
97
|
readonly resizable: boolean;
|
|
95
98
|
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>;
|
|
96
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
97
|
-
readonly center: boolean;
|
|
98
|
-
readonly modelValue: boolean;
|
|
99
99
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
100
100
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
101
101
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -209,7 +209,7 @@ export declare const PlusDrawerForm: {
|
|
|
209
209
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
210
210
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
211
211
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
212
|
-
}, "
|
|
212
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
213
213
|
$attrs: {
|
|
214
214
|
[x: string]: unknown;
|
|
215
215
|
};
|
|
@@ -221,7 +221,7 @@ export declare const PlusDrawerForm: {
|
|
|
221
221
|
}>;
|
|
222
222
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
223
223
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
224
|
-
$emit: ((event: "
|
|
224
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => 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);
|
|
225
225
|
$el: any;
|
|
226
226
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
227
227
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -460,14 +460,6 @@ export declare const PlusDrawerForm: {
|
|
|
460
460
|
cancel: () => void;
|
|
461
461
|
confirmError: (errors: unknown) => void;
|
|
462
462
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
463
|
-
form: {
|
|
464
|
-
type: PropType<PlusFormProps>;
|
|
465
|
-
default: () => {};
|
|
466
|
-
};
|
|
467
|
-
visible: {
|
|
468
|
-
type: PropType<boolean>;
|
|
469
|
-
default: boolean;
|
|
470
|
-
};
|
|
471
463
|
size: {
|
|
472
464
|
type: PropType<string | number>;
|
|
473
465
|
default: string;
|
|
@@ -476,6 +468,14 @@ export declare const PlusDrawerForm: {
|
|
|
476
468
|
type: PropType<FieldValues>;
|
|
477
469
|
default: () => {};
|
|
478
470
|
};
|
|
471
|
+
form: {
|
|
472
|
+
type: PropType<PlusFormProps>;
|
|
473
|
+
default: () => {};
|
|
474
|
+
};
|
|
475
|
+
visible: {
|
|
476
|
+
type: PropType<boolean>;
|
|
477
|
+
default: boolean;
|
|
478
|
+
};
|
|
479
479
|
hasErrorTip: {
|
|
480
480
|
type: PropType<boolean>;
|
|
481
481
|
default: boolean;
|
|
@@ -504,17 +504,17 @@ export declare const PlusDrawerForm: {
|
|
|
504
504
|
default: () => {};
|
|
505
505
|
};
|
|
506
506
|
}>> & {
|
|
507
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
507
508
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
508
509
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
509
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
510
510
|
onCancel?: (() => any) | undefined;
|
|
511
511
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
512
512
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
513
513
|
}, {
|
|
514
|
-
form: PlusFormProps;
|
|
515
|
-
visible: boolean;
|
|
516
514
|
size: string | number;
|
|
517
515
|
modelValue: FieldValues;
|
|
516
|
+
form: PlusFormProps;
|
|
517
|
+
visible: boolean;
|
|
518
518
|
hasErrorTip: boolean;
|
|
519
519
|
hasFooter: boolean;
|
|
520
520
|
confirmLoading: boolean;
|
|
@@ -532,14 +532,6 @@ export declare const PlusDrawerForm: {
|
|
|
532
532
|
M: {};
|
|
533
533
|
Defaults: {};
|
|
534
534
|
}, Readonly< ExtractPropTypes<{
|
|
535
|
-
form: {
|
|
536
|
-
type: PropType<PlusFormProps>;
|
|
537
|
-
default: () => {};
|
|
538
|
-
};
|
|
539
|
-
visible: {
|
|
540
|
-
type: PropType<boolean>;
|
|
541
|
-
default: boolean;
|
|
542
|
-
};
|
|
543
535
|
size: {
|
|
544
536
|
type: PropType<string | number>;
|
|
545
537
|
default: string;
|
|
@@ -548,6 +540,14 @@ export declare const PlusDrawerForm: {
|
|
|
548
540
|
type: PropType<FieldValues>;
|
|
549
541
|
default: () => {};
|
|
550
542
|
};
|
|
543
|
+
form: {
|
|
544
|
+
type: PropType<PlusFormProps>;
|
|
545
|
+
default: () => {};
|
|
546
|
+
};
|
|
547
|
+
visible: {
|
|
548
|
+
type: PropType<boolean>;
|
|
549
|
+
default: boolean;
|
|
550
|
+
};
|
|
551
551
|
hasErrorTip: {
|
|
552
552
|
type: PropType<boolean>;
|
|
553
553
|
default: boolean;
|
|
@@ -576,9 +576,9 @@ export declare const PlusDrawerForm: {
|
|
|
576
576
|
default: () => {};
|
|
577
577
|
};
|
|
578
578
|
}>> & {
|
|
579
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
579
580
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
580
581
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
581
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
582
582
|
onCancel?: (() => any) | undefined;
|
|
583
583
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
584
584
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -615,12 +615,12 @@ export declare const PlusDrawerForm: {
|
|
|
615
615
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
616
616
|
readonly resizable: boolean;
|
|
617
617
|
}> & Omit<{
|
|
618
|
+
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
619
|
+
readonly modelValue: boolean;
|
|
618
620
|
readonly title: string;
|
|
621
|
+
readonly center: boolean;
|
|
619
622
|
readonly resizable: boolean;
|
|
620
623
|
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>;
|
|
621
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
622
|
-
readonly center: boolean;
|
|
623
|
-
readonly modelValue: boolean;
|
|
624
624
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
625
625
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
626
626
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -734,7 +734,7 @@ export declare const PlusDrawerForm: {
|
|
|
734
734
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
735
735
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
736
736
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
737
|
-
}, "
|
|
737
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
738
738
|
$attrs: {
|
|
739
739
|
[x: string]: unknown;
|
|
740
740
|
};
|
|
@@ -746,7 +746,7 @@ export declare const PlusDrawerForm: {
|
|
|
746
746
|
}>;
|
|
747
747
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
748
748
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
749
|
-
$emit: ((event: "
|
|
749
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => 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);
|
|
750
750
|
$el: any;
|
|
751
751
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
752
752
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -978,10 +978,10 @@ export declare const PlusDrawerForm: {
|
|
|
978
978
|
}) | undefined>;
|
|
979
979
|
formInstance: ComputedRef<FormInstance>;
|
|
980
980
|
}, {}, {}, {}, {
|
|
981
|
-
form: PlusFormProps;
|
|
982
|
-
visible: boolean;
|
|
983
981
|
size: string | number;
|
|
984
982
|
modelValue: FieldValues;
|
|
983
|
+
form: PlusFormProps;
|
|
984
|
+
visible: boolean;
|
|
985
985
|
hasErrorTip: boolean;
|
|
986
986
|
hasFooter: boolean;
|
|
987
987
|
confirmLoading: boolean;
|
|
@@ -996,14 +996,6 @@ export declare const PlusDrawerForm: {
|
|
|
996
996
|
__isTeleport?: undefined;
|
|
997
997
|
__isSuspense?: undefined;
|
|
998
998
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
999
|
-
form: {
|
|
1000
|
-
type: PropType<PlusFormProps>;
|
|
1001
|
-
default: () => {};
|
|
1002
|
-
};
|
|
1003
|
-
visible: {
|
|
1004
|
-
type: PropType<boolean>;
|
|
1005
|
-
default: boolean;
|
|
1006
|
-
};
|
|
1007
999
|
size: {
|
|
1008
1000
|
type: PropType<string | number>;
|
|
1009
1001
|
default: string;
|
|
@@ -1012,6 +1004,14 @@ export declare const PlusDrawerForm: {
|
|
|
1012
1004
|
type: PropType<FieldValues>;
|
|
1013
1005
|
default: () => {};
|
|
1014
1006
|
};
|
|
1007
|
+
form: {
|
|
1008
|
+
type: PropType<PlusFormProps>;
|
|
1009
|
+
default: () => {};
|
|
1010
|
+
};
|
|
1011
|
+
visible: {
|
|
1012
|
+
type: PropType<boolean>;
|
|
1013
|
+
default: boolean;
|
|
1014
|
+
};
|
|
1015
1015
|
hasErrorTip: {
|
|
1016
1016
|
type: PropType<boolean>;
|
|
1017
1017
|
default: boolean;
|
|
@@ -1040,9 +1040,9 @@ export declare const PlusDrawerForm: {
|
|
|
1040
1040
|
default: () => {};
|
|
1041
1041
|
};
|
|
1042
1042
|
}>> & {
|
|
1043
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1043
1044
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1044
1045
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1045
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1046
1046
|
onCancel?: (() => any) | undefined;
|
|
1047
1047
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1048
1048
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -1079,12 +1079,12 @@ export declare const PlusDrawerForm: {
|
|
|
1079
1079
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1080
1080
|
readonly resizable: boolean;
|
|
1081
1081
|
}> & Omit<{
|
|
1082
|
+
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1083
|
+
readonly modelValue: boolean;
|
|
1082
1084
|
readonly title: string;
|
|
1085
|
+
readonly center: boolean;
|
|
1083
1086
|
readonly resizable: boolean;
|
|
1084
1087
|
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>;
|
|
1085
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1086
|
-
readonly center: boolean;
|
|
1087
|
-
readonly modelValue: boolean;
|
|
1088
1088
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1089
1089
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1090
1090
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1198,7 +1198,7 @@ export declare const PlusDrawerForm: {
|
|
|
1198
1198
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1199
1199
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1200
1200
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1201
|
-
}, "
|
|
1201
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
1202
1202
|
$attrs: {
|
|
1203
1203
|
[x: string]: unknown;
|
|
1204
1204
|
};
|
|
@@ -1210,7 +1210,7 @@ export declare const PlusDrawerForm: {
|
|
|
1210
1210
|
}>;
|
|
1211
1211
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1212
1212
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1213
|
-
$emit: ((event: "
|
|
1213
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => 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);
|
|
1214
1214
|
$el: any;
|
|
1215
1215
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1216
1216
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -1449,10 +1449,10 @@ export declare const PlusDrawerForm: {
|
|
|
1449
1449
|
cancel: () => void;
|
|
1450
1450
|
confirmError: (errors: unknown) => void;
|
|
1451
1451
|
}, string, {
|
|
1452
|
-
form: PlusFormProps;
|
|
1453
|
-
visible: boolean;
|
|
1454
1452
|
size: string | number;
|
|
1455
1453
|
modelValue: FieldValues;
|
|
1454
|
+
form: PlusFormProps;
|
|
1455
|
+
visible: boolean;
|
|
1456
1456
|
hasErrorTip: boolean;
|
|
1457
1457
|
hasFooter: boolean;
|
|
1458
1458
|
confirmLoading: boolean;
|
|
@@ -1464,14 +1464,14 @@ export declare const PlusDrawerForm: {
|
|
|
1464
1464
|
} & RecordType>;
|
|
1465
1465
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1466
1466
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1467
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1467
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1468
1468
|
readonly label: string | ComputedRef<string>;
|
|
1469
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1469
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1470
1470
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1471
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1471
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1472
1472
|
style?: CSSProperties | undefined;
|
|
1473
1473
|
class?: any;
|
|
1474
|
-
} & RecordType> | ComputedRef<
|
|
1474
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1475
1475
|
style?: CSSProperties | undefined;
|
|
1476
1476
|
class?: any;
|
|
1477
1477
|
} & RecordType>>;
|
|
@@ -1538,12 +1538,12 @@ export declare const PlusDrawerForm: {
|
|
|
1538
1538
|
fieldInstance?: any;
|
|
1539
1539
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1540
1540
|
prop: string;
|
|
1541
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1541
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1542
1542
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1543
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1543
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1544
1544
|
style?: CSSProperties | undefined;
|
|
1545
1545
|
class?: any;
|
|
1546
|
-
} & RecordType> | ComputedRef<
|
|
1546
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1547
1547
|
style?: CSSProperties | undefined;
|
|
1548
1548
|
class?: any;
|
|
1549
1549
|
} & RecordType>>;
|
|
@@ -76,12 +76,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
76
76
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
77
77
|
readonly resizable: boolean;
|
|
78
78
|
}> & Omit<{
|
|
79
|
+
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
80
|
+
readonly modelValue: boolean;
|
|
79
81
|
readonly title: string;
|
|
82
|
+
readonly center: boolean;
|
|
80
83
|
readonly resizable: boolean;
|
|
81
84
|
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>;
|
|
82
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
83
|
-
readonly center: boolean;
|
|
84
|
-
readonly modelValue: boolean;
|
|
85
85
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
86
86
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
87
87
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -195,7 +195,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
195
195
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
196
196
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
197
197
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
198
|
-
}, "
|
|
198
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
199
199
|
$attrs: {
|
|
200
200
|
[x: string]: unknown;
|
|
201
201
|
};
|
|
@@ -207,7 +207,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
207
207
|
}>;
|
|
208
208
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
209
209
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
210
|
-
$emit: ((event: "
|
|
210
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => 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);
|
|
211
211
|
$el: any;
|
|
212
212
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
213
213
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -460,17 +460,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
460
460
|
drawer: () => {};
|
|
461
461
|
form: () => {};
|
|
462
462
|
}>>> & {
|
|
463
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
463
464
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
464
465
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
465
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
466
466
|
onCancel?: (() => any) | undefined;
|
|
467
467
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
468
468
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
469
469
|
}, {
|
|
470
|
-
form: PlusFormProps;
|
|
471
|
-
visible: boolean;
|
|
472
470
|
size: string | number;
|
|
473
471
|
modelValue: FieldValues;
|
|
472
|
+
form: PlusFormProps;
|
|
473
|
+
visible: boolean;
|
|
474
474
|
hasErrorTip: boolean;
|
|
475
475
|
hasFooter: boolean;
|
|
476
476
|
confirmLoading: boolean;
|
|
@@ -481,14 +481,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
481
481
|
class?: any;
|
|
482
482
|
} & RecordType>;
|
|
483
483
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
484
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
484
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
485
485
|
readonly label: string | ComputedRef<string>;
|
|
486
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
486
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
487
487
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
488
|
-
readonly tooltip: string | Partial<Mutable< ElTooltipProps> & {
|
|
488
|
+
readonly tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
489
489
|
style?: CSSProperties | undefined;
|
|
490
490
|
class?: any;
|
|
491
|
-
} & RecordType> | ComputedRef<
|
|
491
|
+
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
492
492
|
style?: CSSProperties | undefined;
|
|
493
493
|
class?: any;
|
|
494
494
|
} & RecordType>>;
|
|
@@ -555,12 +555,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
555
555
|
fieldInstance?: any;
|
|
556
556
|
valueIsReady?: Ref<boolean> | undefined;
|
|
557
557
|
prop: string;
|
|
558
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
558
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
559
559
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
560
|
-
tooltip: string | Partial<Mutable< ElTooltipProps> & {
|
|
560
|
+
tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
561
561
|
style?: CSSProperties | undefined;
|
|
562
562
|
class?: any;
|
|
563
|
-
} & RecordType> | ComputedRef<
|
|
563
|
+
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
564
564
|
style?: CSSProperties | undefined;
|
|
565
565
|
class?: any;
|
|
566
566
|
} & RecordType>>;
|