yc-pro-components 0.0.84 → 1.0.0
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 +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +19 -19
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +10 -10
- package/es/components/form/src/form-content.vue2.mjs +11 -2
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +5 -0
- package/es/components/form-item/src/index.vue2.mjs +9 -3
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +1 -0
- package/es/components/input-tag/index.d.ts +9 -9
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/src/index.vue2.mjs +31 -13
- package/es/components/radio/index.d.ts +23 -23
- package/es/components/radio/src/index.vue.d.ts +23 -23
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/src/index.vue2.mjs +4 -1
- package/es/components/search/src/type.d.ts +5 -0
- 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-dialog/index.d.ts +24 -24
- 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.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +24 -13
- package/es/components/yc-plus-page/src/type.d.ts +5 -0
- package/es/components/yc-query-filter/index.d.ts +7 -0
- package/es/components/yc-query-filter/index.mjs +6 -0
- package/es/components/yc-query-filter/src/index.vue.d.ts +32 -0
- package/es/components/yc-query-filter/src/index.vue.mjs +6 -0
- package/es/components/yc-query-filter/src/index.vue2.mjs +662 -0
- package/es/components/yc-query-filter/src/serialize.d.ts +4 -0
- package/es/components/yc-query-filter/src/serialize.mjs +17 -0
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +1 -0
- package/es/constants/query-filter.d.ts +69 -0
- package/es/constants/query-filter.mjs +3 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useQueryFilterConfig.d.ts +11 -0
- package/es/hooks/useQueryFilterConfig.mjs +38 -0
- package/es/index.css +10 -10
- package/es/index.d.ts +1 -1
- package/es/index.mjs +3 -0
- package/es/locale/lang/en.d.ts +33 -0
- package/es/locale/lang/en.mjs +33 -0
- package/es/locale/lang/ja.d.ts +33 -0
- package/es/locale/lang/ja.mjs +33 -0
- package/es/locale/lang/ko.d.ts +33 -0
- package/es/locale/lang/ko.mjs +33 -0
- package/es/locale/lang/zh-cn.d.ts +33 -0
- package/es/locale/lang/zh-cn.mjs +33 -0
- package/es/locale/lang/zh-tw.d.ts +33 -0
- package/es/locale/lang/zh-tw.mjs +33 -0
- package/es/types/form.d.ts +5 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +1097 -221
- package/index.min.css +1 -1
- package/index.min.js +16 -12
- package/index.min.mjs +16 -12
- package/index.mjs +1093 -223
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +19 -19
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +10 -10
- package/lib/components/form/src/form-content.vue2.js +11 -2
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +5 -0
- package/lib/components/form-item/src/index.vue2.js +9 -3
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +3 -0
- package/lib/components/input-tag/index.d.ts +9 -9
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/src/index.vue2.js +31 -13
- package/lib/components/radio/index.d.ts +23 -23
- package/lib/components/radio/src/index.vue.d.ts +23 -23
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/src/index.vue2.js +4 -1
- package/lib/components/search/src/type.d.ts +5 -0
- 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-dialog/index.d.ts +24 -24
- 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.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +26 -15
- package/lib/components/yc-plus-page/src/type.d.ts +5 -0
- package/lib/components/yc-query-filter/index.d.ts +7 -0
- package/lib/components/yc-query-filter/index.js +9 -0
- package/lib/components/yc-query-filter/src/index.vue.d.ts +32 -0
- package/lib/components/yc-query-filter/src/index.vue.js +10 -0
- package/lib/components/yc-query-filter/src/index.vue2.js +666 -0
- package/lib/components/yc-query-filter/src/serialize.d.ts +4 -0
- package/lib/components/yc-query-filter/src/serialize.js +20 -0
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +2 -0
- package/lib/constants/query-filter.d.ts +69 -0
- package/lib/constants/query-filter.js +5 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +4 -0
- package/lib/hooks/useQueryFilterConfig.d.ts +11 -0
- package/lib/hooks/useQueryFilterConfig.js +42 -0
- package/lib/index.css +9 -9
- package/lib/index.d.ts +1 -1
- package/lib/index.js +9 -0
- package/lib/locale/lang/en.d.ts +33 -0
- package/lib/locale/lang/en.js +33 -0
- package/lib/locale/lang/ja.d.ts +33 -0
- package/lib/locale/lang/ja.js +33 -0
- package/lib/locale/lang/ko.d.ts +33 -0
- package/lib/locale/lang/ko.js +33 -0
- package/lib/locale/lang/zh-cn.d.ts +33 -0
- package/lib/locale/lang/zh-cn.js +33 -0
- package/lib/locale/lang/zh-tw.d.ts +33 -0
- package/lib/locale/lang/zh-tw.js +33 -0
- package/lib/types/form.d.ts +5 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.d.ts +33 -0
- package/locale/en.js +34 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +34 -1
- package/locale/ja.d.ts +33 -0
- package/locale/ja.js +34 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +34 -1
- package/locale/ko.d.ts +33 -0
- package/locale/ko.js +34 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +34 -1
- package/locale/zh-cn.d.ts +33 -0
- package/locale/zh-cn.js +34 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +34 -1
- package/locale/zh-tw.d.ts +33 -0
- package/locale/zh-tw.js +34 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +34 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-form-item.css +1 -1
- package/theme-chalk/plus-yc-query-filter.css +1 -0
- package/theme-chalk/src/form-item.scss +60 -39
- package/theme-chalk/src/index.scss +1 -0
- package/theme-chalk/src/yc-query-filter.scss +163 -0
- package/es/components/breadcrumb/index.d.ts +0 -6985
- package/es/components/breadcrumb/src/index.vue.d.ts +0 -6947
- package/es/components/dialog-form/index.d.ts +0 -311
- package/es/components/dialog-form/src/index.vue.d.ts +0 -211
- package/es/components/display-item/index.d.ts +0 -571
- package/es/components/display-item/src/index.vue.d.ts +0 -437
- package/es/components/drawer-form/index.d.ts +0 -1589
- package/es/components/drawer-form/src/index.vue.d.ts +0 -627
- package/es/components/form/index.d.ts +0 -845
- package/es/components/form/src/form-content.vue.d.ts +0 -583
- package/es/components/form/src/index.vue.d.ts +0 -373
- package/es/components/form-item/index.d.ts +0 -1469
- package/es/components/form-item/src/index.vue.d.ts +0 -535
- package/es/components/page/index.d.ts +0 -10563
- package/es/components/page/src/index.vue.d.ts +0 -3712
- package/es/components/search/index.d.ts +0 -2892
- package/es/components/search/src/index.vue.d.ts +0 -994
- package/es/components/table/src/table-column.vue.d.ts +0 -615
- package/es/components/yc-drawer/store.d.ts +0 -2359
- package/es/components/yc-plus-page/src/index.vue.d.ts +0 -8127
- package/es/hooks/usePlusFormReset.d.ts +0 -4483
- package/lib/components/breadcrumb/index.d.ts +0 -6985
- package/lib/components/breadcrumb/src/index.vue.d.ts +0 -6947
- package/lib/components/dialog-form/index.d.ts +0 -311
- package/lib/components/dialog-form/src/index.vue.d.ts +0 -211
- package/lib/components/display-item/index.d.ts +0 -571
- package/lib/components/display-item/src/index.vue.d.ts +0 -437
- package/lib/components/drawer-form/index.d.ts +0 -1589
- package/lib/components/drawer-form/src/index.vue.d.ts +0 -627
- package/lib/components/form/index.d.ts +0 -845
- package/lib/components/form/src/form-content.vue.d.ts +0 -583
- package/lib/components/form/src/index.vue.d.ts +0 -373
- package/lib/components/form-item/index.d.ts +0 -1469
- package/lib/components/form-item/src/index.vue.d.ts +0 -535
- package/lib/components/page/index.d.ts +0 -10563
- package/lib/components/page/src/index.vue.d.ts +0 -3712
- package/lib/components/search/index.d.ts +0 -2892
- package/lib/components/search/src/index.vue.d.ts +0 -994
- package/lib/components/table/src/table-column.vue.d.ts +0 -615
- package/lib/components/yc-drawer/store.d.ts +0 -2359
- package/lib/components/yc-plus-page/src/index.vue.d.ts +0 -8127
- package/lib/hooks/usePlusFormReset.d.ts +0 -4483
|
@@ -1,627 +0,0 @@
|
|
|
1
|
-
import { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
2
|
-
import { LooseRequired } from '@vue/shared';
|
|
3
|
-
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
|
|
4
|
-
import { DefineComponent, Ref, ComponentInternalInstance, TransitionProps, Component, ComputedOptions, MethodOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ComputedRef, PublicProps, CSSProperties } from 'vue';
|
|
5
|
-
import { FormInstance, DrawerProps, DialogTransition, DialogBeforeCloseFn, 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';
|
|
6
|
-
import { FieldValues, Mutable, PlusColumn, RecordType, IntrinsicAttributes, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components/es/types';
|
|
7
|
-
import { PlusFormProps } from 'yc-pro-components/es/components/form';
|
|
8
|
-
|
|
9
|
-
export interface PlusDrawerFormProps {
|
|
10
|
-
modelValue?: FieldValues;
|
|
11
|
-
visible?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated v0.1.5
|
|
14
|
-
*/
|
|
15
|
-
drawer?: Partial<Mutable<DrawerProps> & IntrinsicAttributes>;
|
|
16
|
-
size?: string | number;
|
|
17
|
-
form?: PlusFormProps;
|
|
18
|
-
hasFooter?: boolean;
|
|
19
|
-
cancelText?: string;
|
|
20
|
-
confirmText?: string;
|
|
21
|
-
confirmLoading?: boolean;
|
|
22
|
-
hasErrorTip?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface PlusDrawerFormEmits {
|
|
25
|
-
(e: 'update:modelValue', values: FieldValues): void;
|
|
26
|
-
(e: 'update:visible', visible: boolean): void;
|
|
27
|
-
(e: 'confirm', values: FieldValues): void;
|
|
28
|
-
(e: 'change', values: FieldValues, column: PlusColumn): void;
|
|
29
|
-
(e: 'cancel'): void;
|
|
30
|
-
(e: 'confirmError', errors: unknown): void;
|
|
31
|
-
}
|
|
32
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusDrawerFormProps>, {
|
|
33
|
-
modelValue: () => {};
|
|
34
|
-
visible: boolean;
|
|
35
|
-
hasFooter: boolean;
|
|
36
|
-
cancelText: string;
|
|
37
|
-
confirmText: string;
|
|
38
|
-
confirmLoading: boolean;
|
|
39
|
-
hasErrorTip: boolean;
|
|
40
|
-
size: string;
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated v0.1.5
|
|
43
|
-
*/
|
|
44
|
-
drawer: () => {};
|
|
45
|
-
form: () => {};
|
|
46
|
-
}>, {
|
|
47
|
-
drawerInstance: Ref<({
|
|
48
|
-
$: ComponentInternalInstance;
|
|
49
|
-
$data: {};
|
|
50
|
-
$props: Partial<{
|
|
51
|
-
readonly title: string;
|
|
52
|
-
readonly center: boolean;
|
|
53
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
54
|
-
readonly overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
55
|
-
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
56
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
57
|
-
readonly modelValue: boolean;
|
|
58
|
-
readonly ariaLevel: string;
|
|
59
|
-
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>;
|
|
60
|
-
readonly alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
61
|
-
readonly draggable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
62
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
63
|
-
readonly fullscreen: boolean;
|
|
64
|
-
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
65
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
66
|
-
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
67
|
-
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
68
|
-
readonly openDelay: number;
|
|
69
|
-
readonly closeDelay: number;
|
|
70
|
-
readonly headerAriaLevel: string;
|
|
71
|
-
readonly appendToBody: boolean;
|
|
72
|
-
readonly destroyOnClose: boolean;
|
|
73
|
-
readonly modalPenetrable: boolean;
|
|
74
|
-
readonly trapFocus: boolean;
|
|
75
|
-
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
76
|
-
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
77
|
-
readonly resizable: boolean;
|
|
78
|
-
}> & Omit<{
|
|
79
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
80
|
-
readonly title: string;
|
|
81
|
-
readonly resizable: boolean;
|
|
82
|
-
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
|
-
readonly ariaLevel: string;
|
|
86
|
-
readonly fullscreen: boolean;
|
|
87
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
88
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
89
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
90
|
-
readonly appendToBody: boolean;
|
|
91
|
-
readonly destroyOnClose: boolean;
|
|
92
|
-
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
93
|
-
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
94
|
-
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
95
|
-
readonly modalPenetrable: boolean;
|
|
96
|
-
readonly openDelay: number;
|
|
97
|
-
readonly closeDelay: number;
|
|
98
|
-
readonly trapFocus: boolean;
|
|
99
|
-
readonly headerAriaLevel: string;
|
|
100
|
-
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
101
|
-
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
102
|
-
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
103
|
-
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
104
|
-
readonly zIndex?: number | undefined;
|
|
105
|
-
readonly top?: string | undefined;
|
|
106
|
-
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
107
|
-
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
108
|
-
readonly headerClass?: string | undefined;
|
|
109
|
-
readonly bodyClass?: string | undefined;
|
|
110
|
-
readonly footerClass?: string | undefined;
|
|
111
|
-
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
112
|
-
readonly modalClass?: string | undefined;
|
|
113
|
-
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
114
|
-
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
115
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
116
|
-
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
117
|
-
onClose?: (() => any) | undefined;
|
|
118
|
-
onOpen?: (() => any) | undefined;
|
|
119
|
-
onOpened?: (() => any) | undefined;
|
|
120
|
-
onClosed?: (() => any) | undefined;
|
|
121
|
-
onOpenAutoFocus?: (() => any) | undefined;
|
|
122
|
-
onCloseAutoFocus?: (() => any) | undefined;
|
|
123
|
-
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
124
|
-
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
125
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
126
|
-
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
127
|
-
readonly resizable: BooleanConstructor;
|
|
128
|
-
readonly size: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
129
|
-
readonly withHeader: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
130
|
-
readonly modalFade: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
131
|
-
readonly headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
132
|
-
readonly appendToBody: BooleanConstructor;
|
|
133
|
-
readonly appendTo: EpPropFinalized<(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, "body", boolean>;
|
|
134
|
-
readonly beforeClose: {
|
|
135
|
-
readonly type: PropType<DialogBeforeCloseFn>;
|
|
136
|
-
readonly required: false;
|
|
137
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
138
|
-
__epPropKey: true;
|
|
139
|
-
};
|
|
140
|
-
readonly destroyOnClose: BooleanConstructor;
|
|
141
|
-
readonly closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
142
|
-
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
143
|
-
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
144
|
-
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
145
|
-
readonly modalPenetrable: BooleanConstructor;
|
|
146
|
-
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
147
|
-
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
148
|
-
readonly top: {
|
|
149
|
-
readonly type: PropType<string>;
|
|
150
|
-
readonly required: false;
|
|
151
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
152
|
-
__epPropKey: true;
|
|
153
|
-
};
|
|
154
|
-
readonly modelValue: BooleanConstructor;
|
|
155
|
-
readonly modalClass: StringConstructor;
|
|
156
|
-
readonly headerClass: StringConstructor;
|
|
157
|
-
readonly bodyClass: StringConstructor;
|
|
158
|
-
readonly footerClass: StringConstructor;
|
|
159
|
-
readonly width: {
|
|
160
|
-
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
161
|
-
readonly required: false;
|
|
162
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
163
|
-
__epPropKey: true;
|
|
164
|
-
};
|
|
165
|
-
readonly zIndex: {
|
|
166
|
-
readonly type: PropType<number>;
|
|
167
|
-
readonly required: false;
|
|
168
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
-
__epPropKey: true;
|
|
170
|
-
};
|
|
171
|
-
readonly trapFocus: BooleanConstructor;
|
|
172
|
-
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, undefined, boolean>;
|
|
173
|
-
readonly center: BooleanConstructor;
|
|
174
|
-
readonly alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
175
|
-
readonly closeIcon: {
|
|
176
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
177
|
-
readonly required: false;
|
|
178
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
|
-
__epPropKey: true;
|
|
180
|
-
};
|
|
181
|
-
readonly draggable: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
182
|
-
readonly overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
183
|
-
readonly fullscreen: BooleanConstructor;
|
|
184
|
-
readonly showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
185
|
-
readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
186
|
-
readonly ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
187
|
-
}>> & {
|
|
188
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
189
|
-
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
190
|
-
onClose?: (() => any) | undefined;
|
|
191
|
-
onOpen?: (() => any) | undefined;
|
|
192
|
-
onOpened?: (() => any) | undefined;
|
|
193
|
-
onClosed?: (() => any) | undefined;
|
|
194
|
-
onOpenAutoFocus?: (() => any) | undefined;
|
|
195
|
-
onCloseAutoFocus?: (() => any) | undefined;
|
|
196
|
-
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
197
|
-
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
198
|
-
}, "size" | "title" | "transition" | "resizable" | "appendTo" | "center" | "modelValue" | "draggable" | "ariaLevel" | "fullscreen" | "direction" | "overflow" | "closeOnPressEscape" | "showClose" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
199
|
-
$attrs: {
|
|
200
|
-
[x: string]: unknown;
|
|
201
|
-
};
|
|
202
|
-
$refs: {
|
|
203
|
-
[x: string]: unknown;
|
|
204
|
-
};
|
|
205
|
-
$slots: Readonly<{
|
|
206
|
-
[name: string]: Slot<any> | undefined;
|
|
207
|
-
}>;
|
|
208
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
209
|
-
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
210
|
-
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "close") => void) & ((event: "closed") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
211
|
-
$el: any;
|
|
212
|
-
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
213
|
-
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
214
|
-
readonly resizable: BooleanConstructor;
|
|
215
|
-
readonly size: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
216
|
-
readonly withHeader: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
217
|
-
readonly modalFade: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
218
|
-
readonly headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
219
|
-
readonly appendToBody: BooleanConstructor;
|
|
220
|
-
readonly appendTo: EpPropFinalized<(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, "body", boolean>;
|
|
221
|
-
readonly beforeClose: {
|
|
222
|
-
readonly type: PropType<DialogBeforeCloseFn>;
|
|
223
|
-
readonly required: false;
|
|
224
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
225
|
-
__epPropKey: true;
|
|
226
|
-
};
|
|
227
|
-
readonly destroyOnClose: BooleanConstructor;
|
|
228
|
-
readonly closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
229
|
-
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
230
|
-
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
231
|
-
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
232
|
-
readonly modalPenetrable: BooleanConstructor;
|
|
233
|
-
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
234
|
-
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
235
|
-
readonly top: {
|
|
236
|
-
readonly type: PropType<string>;
|
|
237
|
-
readonly required: false;
|
|
238
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
239
|
-
__epPropKey: true;
|
|
240
|
-
};
|
|
241
|
-
readonly modelValue: BooleanConstructor;
|
|
242
|
-
readonly modalClass: StringConstructor;
|
|
243
|
-
readonly headerClass: StringConstructor;
|
|
244
|
-
readonly bodyClass: StringConstructor;
|
|
245
|
-
readonly footerClass: StringConstructor;
|
|
246
|
-
readonly width: {
|
|
247
|
-
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
248
|
-
readonly required: false;
|
|
249
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
250
|
-
__epPropKey: true;
|
|
251
|
-
};
|
|
252
|
-
readonly zIndex: {
|
|
253
|
-
readonly type: PropType<number>;
|
|
254
|
-
readonly required: false;
|
|
255
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
|
-
__epPropKey: true;
|
|
257
|
-
};
|
|
258
|
-
readonly trapFocus: BooleanConstructor;
|
|
259
|
-
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, undefined, boolean>;
|
|
260
|
-
readonly center: BooleanConstructor;
|
|
261
|
-
readonly alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
262
|
-
readonly closeIcon: {
|
|
263
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
264
|
-
readonly required: false;
|
|
265
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
266
|
-
__epPropKey: true;
|
|
267
|
-
};
|
|
268
|
-
readonly draggable: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
269
|
-
readonly overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
270
|
-
readonly fullscreen: BooleanConstructor;
|
|
271
|
-
readonly showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
272
|
-
readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
273
|
-
readonly ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
274
|
-
}>> & {
|
|
275
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
276
|
-
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
277
|
-
onClose?: (() => any) | undefined;
|
|
278
|
-
onOpen?: (() => any) | undefined;
|
|
279
|
-
onOpened?: (() => any) | undefined;
|
|
280
|
-
onClosed?: (() => any) | undefined;
|
|
281
|
-
onOpenAutoFocus?: (() => any) | undefined;
|
|
282
|
-
onCloseAutoFocus?: (() => any) | undefined;
|
|
283
|
-
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
284
|
-
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
285
|
-
}, {
|
|
286
|
-
handleClose: () => void;
|
|
287
|
-
afterEnter: () => void;
|
|
288
|
-
afterLeave: () => void;
|
|
289
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
290
|
-
"update:modelValue": (value: boolean) => void;
|
|
291
|
-
resize: (evt: MouseEvent, size: number) => void;
|
|
292
|
-
open: () => void;
|
|
293
|
-
close: () => void;
|
|
294
|
-
opened: () => void;
|
|
295
|
-
closed: () => void;
|
|
296
|
-
openAutoFocus: () => void;
|
|
297
|
-
closeAutoFocus: () => void;
|
|
298
|
-
"resize-start": (evt: MouseEvent, size: number) => void;
|
|
299
|
-
"resize-end": (evt: MouseEvent, size: number) => void;
|
|
300
|
-
}, string, {
|
|
301
|
-
readonly title: string;
|
|
302
|
-
readonly center: boolean;
|
|
303
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
304
|
-
readonly overflow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
305
|
-
readonly transition: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown>;
|
|
306
|
-
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
307
|
-
readonly modelValue: boolean;
|
|
308
|
-
readonly ariaLevel: string;
|
|
309
|
-
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>;
|
|
310
|
-
readonly alignCenter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
311
|
-
readonly draggable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
312
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
313
|
-
readonly fullscreen: boolean;
|
|
314
|
-
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
315
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
316
|
-
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
317
|
-
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
318
|
-
readonly openDelay: number;
|
|
319
|
-
readonly closeDelay: number;
|
|
320
|
-
readonly headerAriaLevel: string;
|
|
321
|
-
readonly appendToBody: boolean;
|
|
322
|
-
readonly destroyOnClose: boolean;
|
|
323
|
-
readonly modalPenetrable: boolean;
|
|
324
|
-
readonly trapFocus: boolean;
|
|
325
|
-
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
326
|
-
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
327
|
-
readonly resizable: boolean;
|
|
328
|
-
}, {}, string, {}> & {
|
|
329
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
330
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
331
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
332
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
333
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
334
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
335
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
336
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
337
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
338
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
339
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
340
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
341
|
-
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
342
|
-
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
343
|
-
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
344
|
-
};
|
|
345
|
-
$forceUpdate: () => void;
|
|
346
|
-
$nextTick: nextTick;
|
|
347
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
348
|
-
} & Omit<Readonly< ExtractPropTypes<{
|
|
349
|
-
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
350
|
-
readonly resizable: BooleanConstructor;
|
|
351
|
-
readonly size: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
352
|
-
readonly withHeader: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
353
|
-
readonly modalFade: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
354
|
-
readonly headerAriaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
355
|
-
readonly appendToBody: BooleanConstructor;
|
|
356
|
-
readonly appendTo: EpPropFinalized<(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, "body", boolean>;
|
|
357
|
-
readonly beforeClose: {
|
|
358
|
-
readonly type: PropType<DialogBeforeCloseFn>;
|
|
359
|
-
readonly required: false;
|
|
360
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
361
|
-
__epPropKey: true;
|
|
362
|
-
};
|
|
363
|
-
readonly destroyOnClose: BooleanConstructor;
|
|
364
|
-
readonly closeOnClickModal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
365
|
-
readonly closeOnPressEscape: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
366
|
-
readonly lockScroll: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
367
|
-
readonly modal: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
368
|
-
readonly modalPenetrable: BooleanConstructor;
|
|
369
|
-
readonly openDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
370
|
-
readonly closeDelay: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
371
|
-
readonly top: {
|
|
372
|
-
readonly type: PropType<string>;
|
|
373
|
-
readonly required: false;
|
|
374
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
375
|
-
__epPropKey: true;
|
|
376
|
-
};
|
|
377
|
-
readonly modelValue: BooleanConstructor;
|
|
378
|
-
readonly modalClass: StringConstructor;
|
|
379
|
-
readonly headerClass: StringConstructor;
|
|
380
|
-
readonly bodyClass: StringConstructor;
|
|
381
|
-
readonly footerClass: StringConstructor;
|
|
382
|
-
readonly width: {
|
|
383
|
-
readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
384
|
-
readonly required: false;
|
|
385
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
386
|
-
__epPropKey: true;
|
|
387
|
-
};
|
|
388
|
-
readonly zIndex: {
|
|
389
|
-
readonly type: PropType<number>;
|
|
390
|
-
readonly required: false;
|
|
391
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
392
|
-
__epPropKey: true;
|
|
393
|
-
};
|
|
394
|
-
readonly trapFocus: BooleanConstructor;
|
|
395
|
-
readonly transition: EpPropFinalized<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown, undefined, boolean>;
|
|
396
|
-
readonly center: BooleanConstructor;
|
|
397
|
-
readonly alignCenter: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
398
|
-
readonly closeIcon: {
|
|
399
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
400
|
-
readonly required: false;
|
|
401
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
402
|
-
__epPropKey: true;
|
|
403
|
-
};
|
|
404
|
-
readonly draggable: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
405
|
-
readonly overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
406
|
-
readonly fullscreen: BooleanConstructor;
|
|
407
|
-
readonly showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
408
|
-
readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
409
|
-
readonly ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
410
|
-
}>> & {
|
|
411
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
412
|
-
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
413
|
-
onClose?: (() => any) | undefined;
|
|
414
|
-
onOpen?: (() => any) | undefined;
|
|
415
|
-
onOpened?: (() => any) | undefined;
|
|
416
|
-
onClosed?: (() => any) | undefined;
|
|
417
|
-
onOpenAutoFocus?: (() => any) | undefined;
|
|
418
|
-
onCloseAutoFocus?: (() => any) | undefined;
|
|
419
|
-
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
420
|
-
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
421
|
-
}, "handleClose" | "afterEnter" | "afterLeave"> & ShallowUnwrapRef<{
|
|
422
|
-
handleClose: () => void;
|
|
423
|
-
afterEnter: () => void;
|
|
424
|
-
afterLeave: () => void;
|
|
425
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
426
|
-
$slots: {
|
|
427
|
-
header?: ((props: {
|
|
428
|
-
close: () => void;
|
|
429
|
-
titleId: string;
|
|
430
|
-
titleClass: string;
|
|
431
|
-
}) => any) | undefined;
|
|
432
|
-
} & {
|
|
433
|
-
title?: ((props: {}) => any) | undefined;
|
|
434
|
-
} & {
|
|
435
|
-
default?: ((props: {}) => any) | undefined;
|
|
436
|
-
} & {
|
|
437
|
-
footer?: ((props: {}) => any) | undefined;
|
|
438
|
-
};
|
|
439
|
-
}) | undefined>;
|
|
440
|
-
formInstance: ComputedRef<FormInstance>;
|
|
441
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
442
|
-
"update:modelValue": (values: FieldValues) => void;
|
|
443
|
-
"update:visible": (visible: boolean) => void;
|
|
444
|
-
confirm: (values: FieldValues) => void;
|
|
445
|
-
change: (values: FieldValues, column: PlusColumn) => void;
|
|
446
|
-
cancel: () => void;
|
|
447
|
-
confirmError: (errors: unknown) => void;
|
|
448
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusDrawerFormProps>, {
|
|
449
|
-
modelValue: () => {};
|
|
450
|
-
visible: boolean;
|
|
451
|
-
hasFooter: boolean;
|
|
452
|
-
cancelText: string;
|
|
453
|
-
confirmText: string;
|
|
454
|
-
confirmLoading: boolean;
|
|
455
|
-
hasErrorTip: boolean;
|
|
456
|
-
size: string;
|
|
457
|
-
/**
|
|
458
|
-
* @deprecated v0.1.5
|
|
459
|
-
*/
|
|
460
|
-
drawer: () => {};
|
|
461
|
-
form: () => {};
|
|
462
|
-
}>>> & {
|
|
463
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
464
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
465
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
466
|
-
onCancel?: (() => any) | undefined;
|
|
467
|
-
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
468
|
-
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
469
|
-
}, {
|
|
470
|
-
size: string | number;
|
|
471
|
-
form: PlusFormProps;
|
|
472
|
-
visible: boolean;
|
|
473
|
-
modelValue: FieldValues;
|
|
474
|
-
hasErrorTip: boolean;
|
|
475
|
-
hasFooter: boolean;
|
|
476
|
-
confirmLoading: boolean;
|
|
477
|
-
cancelText: string;
|
|
478
|
-
confirmText: string;
|
|
479
|
-
drawer: Partial<Mutable<DrawerProps> & {
|
|
480
|
-
style?: CSSProperties | undefined;
|
|
481
|
-
class?: any;
|
|
482
|
-
} & RecordType>;
|
|
483
|
-
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
484
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
485
|
-
readonly label: string | ComputedRef<string>;
|
|
486
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
487
|
-
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
488
|
-
readonly tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
489
|
-
style?: CSSProperties | undefined;
|
|
490
|
-
class?: any;
|
|
491
|
-
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
492
|
-
style?: CSSProperties | undefined;
|
|
493
|
-
class?: any;
|
|
494
|
-
} & RecordType>>;
|
|
495
|
-
readonly formItemProps: PropsItemType<Mutable< FormItemProps> & {
|
|
496
|
-
[key: string]: any;
|
|
497
|
-
style?: CSSProperties | undefined;
|
|
498
|
-
}>;
|
|
499
|
-
readonly fieldProps: PropsItemType<Partial<{
|
|
500
|
-
[index: string]: any;
|
|
501
|
-
[index: number]: any;
|
|
502
|
-
[index: symbol]: any;
|
|
503
|
-
class: any;
|
|
504
|
-
style: CSSProperties;
|
|
505
|
-
modelModifiers: {
|
|
506
|
-
[index: string]: any;
|
|
507
|
-
lazy?: boolean | undefined;
|
|
508
|
-
trim?: boolean | undefined;
|
|
509
|
-
number?: boolean | undefined;
|
|
510
|
-
};
|
|
511
|
-
rows: number;
|
|
512
|
-
autocomplete: string;
|
|
513
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
514
|
-
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
515
|
-
step: string | number;
|
|
516
|
-
format: string | ProgressFn | undefined;
|
|
517
|
-
filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
|
|
518
|
-
id: string | [string, string];
|
|
519
|
-
effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
|
|
520
|
-
height: string | number;
|
|
521
|
-
autosize: InputAutoSize;
|
|
522
|
-
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
523
|
-
readonly options: OptionsType;
|
|
524
|
-
readonly fieldSlots: {
|
|
525
|
-
[slotName: string]: (data?: any) => RenderTypes;
|
|
526
|
-
};
|
|
527
|
-
readonly valueType: TableValueType | FormItemValueType;
|
|
528
|
-
readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
|
|
529
|
-
readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
|
|
530
|
-
readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
|
|
531
|
-
readonly renderErrorMessage: ((props: PlusColumn & {
|
|
532
|
-
value?: FieldValueType;
|
|
533
|
-
error?: string | undefined;
|
|
534
|
-
label?: string | undefined;
|
|
535
|
-
}) => RenderTypes) | undefined;
|
|
536
|
-
readonly optionsMap: {
|
|
537
|
-
label?: string | undefined;
|
|
538
|
-
value?: string | undefined;
|
|
539
|
-
} | undefined;
|
|
540
|
-
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
541
|
-
store?: any;
|
|
542
|
-
method?: string | undefined;
|
|
543
|
-
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
544
|
-
dictCode?: string | undefined;
|
|
545
|
-
} | undefined;
|
|
546
|
-
readonly clearable: boolean;
|
|
547
|
-
readonly index: number;
|
|
548
|
-
} & {
|
|
549
|
-
readonly clearable: boolean;
|
|
550
|
-
};
|
|
551
|
-
label: string;
|
|
552
|
-
fieldProps: RecordType;
|
|
553
|
-
formItemProps: RecordType;
|
|
554
|
-
options: OptionsRow<undefined>[];
|
|
555
|
-
fieldInstance?: any;
|
|
556
|
-
valueIsReady?: Ref<boolean> | undefined;
|
|
557
|
-
prop: string;
|
|
558
|
-
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
559
|
-
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
560
|
-
tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
|
|
561
|
-
style?: CSSProperties | undefined;
|
|
562
|
-
class?: any;
|
|
563
|
-
} & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
|
|
564
|
-
style?: CSSProperties | undefined;
|
|
565
|
-
class?: any;
|
|
566
|
-
} & RecordType>>;
|
|
567
|
-
fieldSlots: {
|
|
568
|
-
[slotName: string]: (data?: any) => RenderTypes;
|
|
569
|
-
};
|
|
570
|
-
valueType: TableValueType | FormItemValueType;
|
|
571
|
-
renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
|
|
572
|
-
renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
|
|
573
|
-
fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
|
|
574
|
-
renderErrorMessage: ((props: PlusColumn & {
|
|
575
|
-
value?: FieldValueType;
|
|
576
|
-
error?: string | undefined;
|
|
577
|
-
label?: string | undefined;
|
|
578
|
-
}) => RenderTypes) | undefined;
|
|
579
|
-
optionsMap: {
|
|
580
|
-
label?: string | undefined;
|
|
581
|
-
value?: string | undefined;
|
|
582
|
-
} | undefined;
|
|
583
|
-
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
584
|
-
store?: any;
|
|
585
|
-
method?: string | undefined;
|
|
586
|
-
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
587
|
-
dictCode?: string | undefined;
|
|
588
|
-
} | undefined;
|
|
589
|
-
clearable: boolean;
|
|
590
|
-
index: number;
|
|
591
|
-
}) => any>> & {
|
|
592
|
-
"drawer-header"?(_: {}): any;
|
|
593
|
-
"form-footer"?(_: {}): any;
|
|
594
|
-
"form-group-header"?(_: {
|
|
595
|
-
title: string;
|
|
596
|
-
columns: PlusColumn[] | undefined;
|
|
597
|
-
icon: Component | undefined;
|
|
598
|
-
index: number;
|
|
599
|
-
}): any;
|
|
600
|
-
"drawer-footer"?(_: {
|
|
601
|
-
handleConfirm: () => void;
|
|
602
|
-
handleCancel: () => void;
|
|
603
|
-
}): any;
|
|
604
|
-
}>;
|
|
605
|
-
export default _default;
|
|
606
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
607
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
608
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
609
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
610
|
-
} : {
|
|
611
|
-
type: PropType<T[K]>;
|
|
612
|
-
required: true;
|
|
613
|
-
};
|
|
614
|
-
};
|
|
615
|
-
type __VLS_WithDefaults<P, D> = {
|
|
616
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
617
|
-
default: D[K];
|
|
618
|
-
}> : P[K];
|
|
619
|
-
};
|
|
620
|
-
type __VLS_Prettify<T> = {
|
|
621
|
-
[K in keyof T]: T[K];
|
|
622
|
-
} & {};
|
|
623
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
624
|
-
new (): {
|
|
625
|
-
$slots: S;
|
|
626
|
-
};
|
|
627
|
-
};
|