yc-pro-components 0.0.60 → 0.0.62
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 +23 -23
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +24 -24
- package/es/components/check-card-group/src/index.vue.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +28 -28
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- package/es/components/display-item/index.d.ts +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/index.d.ts +40 -40
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +39 -39
- package/es/components/form/src/form-content.vue.d.ts +12 -12
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form-item/index.d.ts +36 -36
- package/es/components/form-item/src/index.vue.d.ts +8 -8
- 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 +305 -305
- package/es/components/page/src/index.vue.d.ts +103 -103
- 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 +14 -14
- package/es/components/radio/src/index.vue.d.ts +6 -6
- 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 +137 -137
- package/es/components/search/src/index.vue.d.ts +43 -43
- package/es/components/search/src/index.vue2.mjs +1 -1
- 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 +12 -12
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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 +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +0 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +208 -208
- 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 +2 -2
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/hooks/usePlusFormReset.d.ts +169 -169
- package/es/index.css +10 -10
- package/index.css +6 -6
- package/index.js +3 -9
- package/index.min.css +1 -1
- package/index.min.js +3 -3
- package/index.min.mjs +10 -10
- package/index.mjs +3 -9
- package/lib/components/check-card/index.d.ts +23 -23
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +24 -24
- package/lib/components/check-card-group/src/index.vue.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +28 -28
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- package/lib/components/display-item/index.d.ts +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/index.d.ts +40 -40
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/form/src/form-content.vue.d.ts +12 -12
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form-item/index.d.ts +36 -36
- package/lib/components/form-item/src/index.vue.d.ts +8 -8
- 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 +305 -305
- package/lib/components/page/src/index.vue.d.ts +103 -103
- 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 +14 -14
- package/lib/components/radio/src/index.vue.d.ts +6 -6
- 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 +137 -137
- package/lib/components/search/src/index.vue.d.ts +43 -43
- package/lib/components/search/src/index.vue2.js +1 -1
- 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 +12 -12
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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 +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +0 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +208 -208
- 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 +2 -2
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/hooks/usePlusFormReset.d.ts +169 -169
- package/lib/index.css +10 -10
- 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,8 +1,8 @@
|
|
|
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 { FieldValues, Mutable, RecordType, PlusColumn, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
5
4
|
import { PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
5
|
+
import { FieldValues, Mutable, RecordType, PlusColumn, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
6
6
|
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';
|
|
7
7
|
export type { PlusDrawerFormProps } from './src/index.vue';
|
|
8
8
|
export type PlusDrawerFormInstance = InstanceType<typeof PlusDrawerForm>;
|
|
@@ -12,6 +12,10 @@ export declare const PlusDrawerForm: {
|
|
|
12
12
|
type: PropType<string | number>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: PropType<FieldValues>;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
15
19
|
form: {
|
|
16
20
|
type: PropType<PlusFormProps>;
|
|
17
21
|
default: () => {};
|
|
@@ -20,10 +24,6 @@ export declare const PlusDrawerForm: {
|
|
|
20
24
|
type: PropType<boolean>;
|
|
21
25
|
default: boolean;
|
|
22
26
|
};
|
|
23
|
-
modelValue: {
|
|
24
|
-
type: PropType<FieldValues>;
|
|
25
|
-
default: () => {};
|
|
26
|
-
};
|
|
27
27
|
hasErrorTip: {
|
|
28
28
|
type: PropType<boolean>;
|
|
29
29
|
default: boolean;
|
|
@@ -52,9 +52,9 @@ export declare const PlusDrawerForm: {
|
|
|
52
52
|
default: () => {};
|
|
53
53
|
};
|
|
54
54
|
}>> & {
|
|
55
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
55
56
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
56
57
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
57
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
58
58
|
onCancel?: (() => any) | undefined;
|
|
59
59
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
60
60
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -92,11 +92,11 @@ export declare const PlusDrawerForm: {
|
|
|
92
92
|
readonly resizable: boolean;
|
|
93
93
|
}> & Omit<{
|
|
94
94
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
95
|
+
readonly modelValue: boolean;
|
|
95
96
|
readonly title: string;
|
|
97
|
+
readonly center: boolean;
|
|
96
98
|
readonly resizable: boolean;
|
|
97
99
|
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>;
|
|
98
|
-
readonly center: boolean;
|
|
99
|
-
readonly modelValue: boolean;
|
|
100
100
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
101
101
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
102
102
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -210,7 +210,7 @@ export declare const PlusDrawerForm: {
|
|
|
210
210
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
211
211
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
212
212
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
213
|
-
}, "size" | "
|
|
213
|
+
}, "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">;
|
|
214
214
|
$attrs: {
|
|
215
215
|
[x: string]: unknown;
|
|
216
216
|
};
|
|
@@ -222,7 +222,7 @@ export declare const PlusDrawerForm: {
|
|
|
222
222
|
}>;
|
|
223
223
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
224
224
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
225
|
-
$emit: ((event: "
|
|
225
|
+
$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);
|
|
226
226
|
$el: any;
|
|
227
227
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
228
228
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -465,6 +465,10 @@ export declare const PlusDrawerForm: {
|
|
|
465
465
|
type: PropType<string | number>;
|
|
466
466
|
default: string;
|
|
467
467
|
};
|
|
468
|
+
modelValue: {
|
|
469
|
+
type: PropType<FieldValues>;
|
|
470
|
+
default: () => {};
|
|
471
|
+
};
|
|
468
472
|
form: {
|
|
469
473
|
type: PropType<PlusFormProps>;
|
|
470
474
|
default: () => {};
|
|
@@ -473,10 +477,6 @@ export declare const PlusDrawerForm: {
|
|
|
473
477
|
type: PropType<boolean>;
|
|
474
478
|
default: boolean;
|
|
475
479
|
};
|
|
476
|
-
modelValue: {
|
|
477
|
-
type: PropType<FieldValues>;
|
|
478
|
-
default: () => {};
|
|
479
|
-
};
|
|
480
480
|
hasErrorTip: {
|
|
481
481
|
type: PropType<boolean>;
|
|
482
482
|
default: boolean;
|
|
@@ -505,17 +505,17 @@ export declare const PlusDrawerForm: {
|
|
|
505
505
|
default: () => {};
|
|
506
506
|
};
|
|
507
507
|
}>> & {
|
|
508
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
508
509
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
509
510
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
510
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
511
511
|
onCancel?: (() => any) | undefined;
|
|
512
512
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
513
513
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
size: string | number;
|
|
516
|
+
modelValue: FieldValues;
|
|
516
517
|
form: PlusFormProps;
|
|
517
518
|
visible: boolean;
|
|
518
|
-
modelValue: FieldValues;
|
|
519
519
|
hasErrorTip: boolean;
|
|
520
520
|
hasFooter: boolean;
|
|
521
521
|
confirmLoading: boolean;
|
|
@@ -537,6 +537,10 @@ export declare const PlusDrawerForm: {
|
|
|
537
537
|
type: PropType<string | number>;
|
|
538
538
|
default: string;
|
|
539
539
|
};
|
|
540
|
+
modelValue: {
|
|
541
|
+
type: PropType<FieldValues>;
|
|
542
|
+
default: () => {};
|
|
543
|
+
};
|
|
540
544
|
form: {
|
|
541
545
|
type: PropType<PlusFormProps>;
|
|
542
546
|
default: () => {};
|
|
@@ -545,10 +549,6 @@ export declare const PlusDrawerForm: {
|
|
|
545
549
|
type: PropType<boolean>;
|
|
546
550
|
default: boolean;
|
|
547
551
|
};
|
|
548
|
-
modelValue: {
|
|
549
|
-
type: PropType<FieldValues>;
|
|
550
|
-
default: () => {};
|
|
551
|
-
};
|
|
552
552
|
hasErrorTip: {
|
|
553
553
|
type: PropType<boolean>;
|
|
554
554
|
default: boolean;
|
|
@@ -577,9 +577,9 @@ export declare const PlusDrawerForm: {
|
|
|
577
577
|
default: () => {};
|
|
578
578
|
};
|
|
579
579
|
}>> & {
|
|
580
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
580
581
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
581
582
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
582
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
583
583
|
onCancel?: (() => any) | undefined;
|
|
584
584
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
585
585
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -617,11 +617,11 @@ export declare const PlusDrawerForm: {
|
|
|
617
617
|
readonly resizable: boolean;
|
|
618
618
|
}> & Omit<{
|
|
619
619
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
620
|
+
readonly modelValue: boolean;
|
|
620
621
|
readonly title: string;
|
|
622
|
+
readonly center: boolean;
|
|
621
623
|
readonly resizable: boolean;
|
|
622
624
|
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>;
|
|
623
|
-
readonly center: boolean;
|
|
624
|
-
readonly modelValue: boolean;
|
|
625
625
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
626
626
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
627
627
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -735,7 +735,7 @@ export declare const PlusDrawerForm: {
|
|
|
735
735
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
736
736
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
737
737
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
738
|
-
}, "size" | "
|
|
738
|
+
}, "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">;
|
|
739
739
|
$attrs: {
|
|
740
740
|
[x: string]: unknown;
|
|
741
741
|
};
|
|
@@ -747,7 +747,7 @@ export declare const PlusDrawerForm: {
|
|
|
747
747
|
}>;
|
|
748
748
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
749
749
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
750
|
-
$emit: ((event: "
|
|
750
|
+
$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);
|
|
751
751
|
$el: any;
|
|
752
752
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
753
753
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -980,9 +980,9 @@ export declare const PlusDrawerForm: {
|
|
|
980
980
|
formInstance: ComputedRef<FormInstance>;
|
|
981
981
|
}, {}, {}, {}, {
|
|
982
982
|
size: string | number;
|
|
983
|
+
modelValue: FieldValues;
|
|
983
984
|
form: PlusFormProps;
|
|
984
985
|
visible: boolean;
|
|
985
|
-
modelValue: FieldValues;
|
|
986
986
|
hasErrorTip: boolean;
|
|
987
987
|
hasFooter: boolean;
|
|
988
988
|
confirmLoading: boolean;
|
|
@@ -1001,6 +1001,10 @@ export declare const PlusDrawerForm: {
|
|
|
1001
1001
|
type: PropType<string | number>;
|
|
1002
1002
|
default: string;
|
|
1003
1003
|
};
|
|
1004
|
+
modelValue: {
|
|
1005
|
+
type: PropType<FieldValues>;
|
|
1006
|
+
default: () => {};
|
|
1007
|
+
};
|
|
1004
1008
|
form: {
|
|
1005
1009
|
type: PropType<PlusFormProps>;
|
|
1006
1010
|
default: () => {};
|
|
@@ -1009,10 +1013,6 @@ export declare const PlusDrawerForm: {
|
|
|
1009
1013
|
type: PropType<boolean>;
|
|
1010
1014
|
default: boolean;
|
|
1011
1015
|
};
|
|
1012
|
-
modelValue: {
|
|
1013
|
-
type: PropType<FieldValues>;
|
|
1014
|
-
default: () => {};
|
|
1015
|
-
};
|
|
1016
1016
|
hasErrorTip: {
|
|
1017
1017
|
type: PropType<boolean>;
|
|
1018
1018
|
default: boolean;
|
|
@@ -1041,9 +1041,9 @@ export declare const PlusDrawerForm: {
|
|
|
1041
1041
|
default: () => {};
|
|
1042
1042
|
};
|
|
1043
1043
|
}>> & {
|
|
1044
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1044
1045
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1045
1046
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1046
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1047
1047
|
onCancel?: (() => any) | undefined;
|
|
1048
1048
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1049
1049
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -1081,11 +1081,11 @@ export declare const PlusDrawerForm: {
|
|
|
1081
1081
|
readonly resizable: boolean;
|
|
1082
1082
|
}> & Omit<{
|
|
1083
1083
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1084
|
+
readonly modelValue: boolean;
|
|
1084
1085
|
readonly title: string;
|
|
1086
|
+
readonly center: boolean;
|
|
1085
1087
|
readonly resizable: boolean;
|
|
1086
1088
|
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>;
|
|
1087
|
-
readonly center: boolean;
|
|
1088
|
-
readonly modelValue: boolean;
|
|
1089
1089
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1090
1090
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1091
1091
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1199,7 +1199,7 @@ export declare const PlusDrawerForm: {
|
|
|
1199
1199
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1200
1200
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1201
1201
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1202
|
-
}, "size" | "
|
|
1202
|
+
}, "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">;
|
|
1203
1203
|
$attrs: {
|
|
1204
1204
|
[x: string]: unknown;
|
|
1205
1205
|
};
|
|
@@ -1211,7 +1211,7 @@ export declare const PlusDrawerForm: {
|
|
|
1211
1211
|
}>;
|
|
1212
1212
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1213
1213
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1214
|
-
$emit: ((event: "
|
|
1214
|
+
$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);
|
|
1215
1215
|
$el: any;
|
|
1216
1216
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1217
1217
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -1451,9 +1451,9 @@ export declare const PlusDrawerForm: {
|
|
|
1451
1451
|
confirmError: (errors: unknown) => void;
|
|
1452
1452
|
}, string, {
|
|
1453
1453
|
size: string | number;
|
|
1454
|
+
modelValue: FieldValues;
|
|
1454
1455
|
form: PlusFormProps;
|
|
1455
1456
|
visible: boolean;
|
|
1456
|
-
modelValue: FieldValues;
|
|
1457
1457
|
hasErrorTip: boolean;
|
|
1458
1458
|
hasFooter: boolean;
|
|
1459
1459
|
confirmLoading: boolean;
|
|
@@ -1465,9 +1465,9 @@ export declare const PlusDrawerForm: {
|
|
|
1465
1465
|
} & RecordType>;
|
|
1466
1466
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1467
1467
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1468
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1468
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1469
1469
|
readonly label: string | ComputedRef<string>;
|
|
1470
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1470
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1471
1471
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1472
1472
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1473
1473
|
style?: CSSProperties | undefined;
|
|
@@ -1494,7 +1494,7 @@ export declare const PlusDrawerForm: {
|
|
|
1494
1494
|
};
|
|
1495
1495
|
rows: number;
|
|
1496
1496
|
autocomplete: string;
|
|
1497
|
-
type: "" | "number" | "default" | "
|
|
1497
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1498
1498
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1499
1499
|
step: string | number;
|
|
1500
1500
|
format: string | ProgressFn | undefined;
|
|
@@ -1539,7 +1539,7 @@ export declare const PlusDrawerForm: {
|
|
|
1539
1539
|
fieldInstance?: any;
|
|
1540
1540
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1541
1541
|
prop: string;
|
|
1542
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1542
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1543
1543
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1544
1544
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1545
1545
|
style?: CSSProperties | undefined;
|
|
@@ -77,11 +77,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
77
77
|
readonly resizable: boolean;
|
|
78
78
|
}> & Omit<{
|
|
79
79
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
80
|
+
readonly modelValue: boolean;
|
|
80
81
|
readonly title: string;
|
|
82
|
+
readonly center: boolean;
|
|
81
83
|
readonly resizable: boolean;
|
|
82
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>;
|
|
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
|
-
}, "size" | "
|
|
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
470
|
size: string | number;
|
|
471
|
+
modelValue: FieldValues;
|
|
471
472
|
form: PlusFormProps;
|
|
472
473
|
visible: boolean;
|
|
473
|
-
modelValue: FieldValues;
|
|
474
474
|
hasErrorTip: boolean;
|
|
475
475
|
hasFooter: boolean;
|
|
476
476
|
confirmLoading: boolean;
|
|
@@ -481,9 +481,9 @@ 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
488
|
readonly tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
489
489
|
style?: CSSProperties | undefined;
|
|
@@ -510,7 +510,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
510
510
|
};
|
|
511
511
|
rows: number;
|
|
512
512
|
autocomplete: string;
|
|
513
|
-
type: "" | "number" | "default" | "
|
|
513
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
514
514
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
515
515
|
step: string | number;
|
|
516
516
|
format: string | ProgressFn | undefined;
|
|
@@ -555,7 +555,7 @@ 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
560
|
tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
561
561
|
style?: CSSProperties | undefined;
|