yc-pro-components 0.0.70 → 0.0.71
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/hooks/usePlusFormReset.d.ts +238 -238
- 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.js +2 -2
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +2 -2
- 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/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +11 -11
- 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-table.css +1 -1
- package/theme-chalk/src/table.scss +19 -15
|
@@ -1,21 +1,13 @@
|
|
|
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 { PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
5
4
|
import { FieldValues, Mutable, RecordType, PlusColumn, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
5
|
+
import { PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-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>;
|
|
9
9
|
export declare const PlusDrawerForm: {
|
|
10
10
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
11
|
-
size: {
|
|
12
|
-
type: PropType<string | number>;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
modelValue: {
|
|
16
|
-
type: PropType<FieldValues>;
|
|
17
|
-
default: () => {};
|
|
18
|
-
};
|
|
19
11
|
form: {
|
|
20
12
|
type: PropType<PlusFormProps>;
|
|
21
13
|
default: () => {};
|
|
@@ -24,6 +16,14 @@ export declare const PlusDrawerForm: {
|
|
|
24
16
|
type: PropType<boolean>;
|
|
25
17
|
default: boolean;
|
|
26
18
|
};
|
|
19
|
+
size: {
|
|
20
|
+
type: PropType<string | number>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
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;
|
|
56
55
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
57
56
|
"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;
|
|
@@ -91,12 +91,12 @@ export declare const PlusDrawerForm: {
|
|
|
91
91
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
92
92
|
readonly resizable: boolean;
|
|
93
93
|
}> & Omit<{
|
|
94
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
95
|
-
readonly modelValue: boolean;
|
|
96
94
|
readonly title: string;
|
|
97
|
-
readonly center: boolean;
|
|
98
95
|
readonly resizable: boolean;
|
|
99
96
|
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>;
|
|
97
|
+
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], 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
|
-
}, "
|
|
213
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "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: "open") => void) & ((event: "update:modelValue", value: boolean) => 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>;
|
|
@@ -461,14 +461,6 @@ export declare const PlusDrawerForm: {
|
|
|
461
461
|
cancel: () => void;
|
|
462
462
|
confirmError: (errors: unknown) => void;
|
|
463
463
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
464
|
-
size: {
|
|
465
|
-
type: PropType<string | number>;
|
|
466
|
-
default: string;
|
|
467
|
-
};
|
|
468
|
-
modelValue: {
|
|
469
|
-
type: PropType<FieldValues>;
|
|
470
|
-
default: () => {};
|
|
471
|
-
};
|
|
472
464
|
form: {
|
|
473
465
|
type: PropType<PlusFormProps>;
|
|
474
466
|
default: () => {};
|
|
@@ -477,6 +469,14 @@ export declare const PlusDrawerForm: {
|
|
|
477
469
|
type: PropType<boolean>;
|
|
478
470
|
default: boolean;
|
|
479
471
|
};
|
|
472
|
+
size: {
|
|
473
|
+
type: PropType<string | number>;
|
|
474
|
+
default: string;
|
|
475
|
+
};
|
|
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;
|
|
509
508
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
510
509
|
"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
|
-
size: string | number;
|
|
516
|
-
modelValue: FieldValues;
|
|
517
515
|
form: PlusFormProps;
|
|
518
516
|
visible: boolean;
|
|
517
|
+
size: string | number;
|
|
518
|
+
modelValue: FieldValues;
|
|
519
519
|
hasErrorTip: boolean;
|
|
520
520
|
hasFooter: boolean;
|
|
521
521
|
confirmLoading: boolean;
|
|
@@ -533,14 +533,6 @@ export declare const PlusDrawerForm: {
|
|
|
533
533
|
M: {};
|
|
534
534
|
Defaults: {};
|
|
535
535
|
}, Readonly< ExtractPropTypes<{
|
|
536
|
-
size: {
|
|
537
|
-
type: PropType<string | number>;
|
|
538
|
-
default: string;
|
|
539
|
-
};
|
|
540
|
-
modelValue: {
|
|
541
|
-
type: PropType<FieldValues>;
|
|
542
|
-
default: () => {};
|
|
543
|
-
};
|
|
544
536
|
form: {
|
|
545
537
|
type: PropType<PlusFormProps>;
|
|
546
538
|
default: () => {};
|
|
@@ -549,6 +541,14 @@ export declare const PlusDrawerForm: {
|
|
|
549
541
|
type: PropType<boolean>;
|
|
550
542
|
default: boolean;
|
|
551
543
|
};
|
|
544
|
+
size: {
|
|
545
|
+
type: PropType<string | number>;
|
|
546
|
+
default: string;
|
|
547
|
+
};
|
|
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;
|
|
581
580
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
582
581
|
"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;
|
|
@@ -616,12 +616,12 @@ export declare const PlusDrawerForm: {
|
|
|
616
616
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
617
617
|
readonly resizable: boolean;
|
|
618
618
|
}> & Omit<{
|
|
619
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
620
|
-
readonly modelValue: boolean;
|
|
621
619
|
readonly title: string;
|
|
622
|
-
readonly center: boolean;
|
|
623
620
|
readonly resizable: boolean;
|
|
624
621
|
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>;
|
|
622
|
+
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], 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
|
-
}, "
|
|
738
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "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: "open") => void) & ((event: "update:modelValue", value: boolean) => 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>;
|
|
@@ -979,10 +979,10 @@ export declare const PlusDrawerForm: {
|
|
|
979
979
|
}) | undefined>;
|
|
980
980
|
formInstance: ComputedRef<FormInstance>;
|
|
981
981
|
}, {}, {}, {}, {
|
|
982
|
-
size: string | number;
|
|
983
|
-
modelValue: FieldValues;
|
|
984
982
|
form: PlusFormProps;
|
|
985
983
|
visible: boolean;
|
|
984
|
+
size: string | number;
|
|
985
|
+
modelValue: FieldValues;
|
|
986
986
|
hasErrorTip: boolean;
|
|
987
987
|
hasFooter: boolean;
|
|
988
988
|
confirmLoading: boolean;
|
|
@@ -997,14 +997,6 @@ export declare const PlusDrawerForm: {
|
|
|
997
997
|
__isTeleport?: undefined;
|
|
998
998
|
__isSuspense?: undefined;
|
|
999
999
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1000
|
-
size: {
|
|
1001
|
-
type: PropType<string | number>;
|
|
1002
|
-
default: string;
|
|
1003
|
-
};
|
|
1004
|
-
modelValue: {
|
|
1005
|
-
type: PropType<FieldValues>;
|
|
1006
|
-
default: () => {};
|
|
1007
|
-
};
|
|
1008
1000
|
form: {
|
|
1009
1001
|
type: PropType<PlusFormProps>;
|
|
1010
1002
|
default: () => {};
|
|
@@ -1013,6 +1005,14 @@ export declare const PlusDrawerForm: {
|
|
|
1013
1005
|
type: PropType<boolean>;
|
|
1014
1006
|
default: boolean;
|
|
1015
1007
|
};
|
|
1008
|
+
size: {
|
|
1009
|
+
type: PropType<string | number>;
|
|
1010
|
+
default: string;
|
|
1011
|
+
};
|
|
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;
|
|
1045
1044
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1046
1045
|
"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;
|
|
@@ -1080,12 +1080,12 @@ export declare const PlusDrawerForm: {
|
|
|
1080
1080
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1081
1081
|
readonly resizable: boolean;
|
|
1082
1082
|
}> & Omit<{
|
|
1083
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1084
|
-
readonly modelValue: boolean;
|
|
1085
1083
|
readonly title: string;
|
|
1086
|
-
readonly center: boolean;
|
|
1087
1084
|
readonly resizable: boolean;
|
|
1088
1085
|
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>;
|
|
1086
|
+
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], 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
|
-
}, "
|
|
1202
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "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: "open") => void) & ((event: "update:modelValue", value: boolean) => 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>;
|
|
@@ -1450,10 +1450,10 @@ export declare const PlusDrawerForm: {
|
|
|
1450
1450
|
cancel: () => void;
|
|
1451
1451
|
confirmError: (errors: unknown) => void;
|
|
1452
1452
|
}, string, {
|
|
1453
|
-
size: string | number;
|
|
1454
|
-
modelValue: FieldValues;
|
|
1455
1453
|
form: PlusFormProps;
|
|
1456
1454
|
visible: boolean;
|
|
1455
|
+
size: string | number;
|
|
1456
|
+
modelValue: FieldValues;
|
|
1457
1457
|
hasErrorTip: boolean;
|
|
1458
1458
|
hasFooter: boolean;
|
|
1459
1459
|
confirmLoading: boolean;
|
|
@@ -1465,14 +1465,14 @@ 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" | "
|
|
1468
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1471
1471
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1472
|
-
readonly tooltip: string |
|
|
1472
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1473
1473
|
style?: CSSProperties | undefined;
|
|
1474
1474
|
class?: any;
|
|
1475
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1475
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1476
1476
|
style?: CSSProperties | undefined;
|
|
1477
1477
|
class?: any;
|
|
1478
1478
|
} & RecordType>>;
|
|
@@ -1539,12 +1539,12 @@ 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1543
1543
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1544
|
-
tooltip: string |
|
|
1544
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1545
1545
|
style?: CSSProperties | undefined;
|
|
1546
1546
|
class?: any;
|
|
1547
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1547
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1548
1548
|
style?: CSSProperties | undefined;
|
|
1549
1549
|
class?: any;
|
|
1550
1550
|
} & 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;
|
|
81
79
|
readonly title: string;
|
|
82
|
-
readonly center: boolean;
|
|
83
80
|
readonly resizable: boolean;
|
|
84
81
|
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
|
+
}, "title" | "transition" | "resizable" | "appendTo" | "size" | "center" | "modelValue" | "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: "open") => void) & ((event: "update:modelValue", value: boolean) => 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;
|
|
464
463
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
465
464
|
"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
|
-
size: string | number;
|
|
471
|
-
modelValue: FieldValues;
|
|
472
470
|
form: PlusFormProps;
|
|
473
471
|
visible: boolean;
|
|
472
|
+
size: string | number;
|
|
473
|
+
modelValue: FieldValues;
|
|
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" | "
|
|
484
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
487
487
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
488
|
-
readonly tooltip: string |
|
|
488
|
+
readonly tooltip: string | Partial<Mutable< ElTooltipProps> & {
|
|
489
489
|
style?: CSSProperties | undefined;
|
|
490
490
|
class?: any;
|
|
491
|
-
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
491
|
+
} & RecordType> | ComputedRef<string> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
559
559
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
560
|
-
tooltip: string |
|
|
560
|
+
tooltip: string | Partial<Mutable< ElTooltipProps> & {
|
|
561
561
|
style?: CSSProperties | undefined;
|
|
562
562
|
class?: any;
|
|
563
|
-
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
563
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
564
564
|
style?: CSSProperties | undefined;
|
|
565
565
|
class?: any;
|
|
566
566
|
} & RecordType>>;
|