yc-pro-components 0.0.80 → 0.0.82
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 +3 -3
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +83 -83
- package/es/components/dialog/src/index.vue.d.ts +7 -7
- package/es/components/dialog-form/index.d.ts +38 -38
- package/es/components/dialog-form/src/index.vue.d.ts +10 -10
- package/es/components/display-item/index.d.ts +18 -18
- package/es/components/display-item/src/index.vue.d.ts +18 -18
- package/es/components/drawer-form/index.d.ts +126 -126
- package/es/components/drawer-form/src/index.vue.d.ts +29 -29
- package/es/components/form/index.d.ts +49 -49
- package/es/components/form/src/form-content.vue.d.ts +28 -28
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +66 -66
- package/es/components/form-item/src/index.vue.d.ts +19 -19
- package/es/components/input-tag/index.d.ts +1 -1
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +390 -378
- package/es/components/page/src/index.vue.d.ts +134 -130
- package/es/components/pagination/index.d.ts +11 -11
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +22 -22
- package/es/components/radio/src/index.vue.d.ts +22 -22
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +171 -171
- package/es/components/search/src/index.vue.d.ts +54 -54
- 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/index.d.ts +6 -0
- package/es/components/table/src/index.vue.d.ts +2 -0
- package/es/components/table/src/index.vue2.mjs +30 -1
- package/es/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +18 -18
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +5 -5
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +16 -16
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +17 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +402 -402
- package/es/index.css +11 -11
- 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 +50 -4
- package/index.min.css +1 -1
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +50 -4
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +3 -3
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +83 -83
- package/lib/components/dialog/src/index.vue.d.ts +7 -7
- package/lib/components/dialog-form/index.d.ts +38 -38
- package/lib/components/dialog-form/src/index.vue.d.ts +10 -10
- package/lib/components/display-item/index.d.ts +18 -18
- package/lib/components/display-item/src/index.vue.d.ts +18 -18
- package/lib/components/drawer-form/index.d.ts +126 -126
- package/lib/components/drawer-form/src/index.vue.d.ts +29 -29
- package/lib/components/form/index.d.ts +49 -49
- package/lib/components/form/src/form-content.vue.d.ts +28 -28
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +66 -66
- package/lib/components/form-item/src/index.vue.d.ts +19 -19
- package/lib/components/input-tag/index.d.ts +1 -1
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +390 -378
- package/lib/components/page/src/index.vue.d.ts +134 -130
- package/lib/components/pagination/index.d.ts +11 -11
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +22 -22
- package/lib/components/radio/src/index.vue.d.ts +22 -22
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +171 -171
- package/lib/components/search/src/index.vue.d.ts +54 -54
- 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/index.d.ts +6 -0
- package/lib/components/table/src/index.vue.d.ts +2 -0
- package/lib/components/table/src/index.vue2.js +30 -1
- package/lib/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +18 -18
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +5 -5
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +16 -16
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +17 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +402 -402
- package/lib/index.css +10 -10
- 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
|
@@ -62,14 +62,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
62
62
|
collapseTransition: undefined;
|
|
63
63
|
clearable: boolean;
|
|
64
64
|
}>>> & {
|
|
65
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
66
65
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
modelValue: FieldValues;
|
|
69
69
|
collapseDuration: number;
|
|
70
70
|
collapseTransition: boolean;
|
|
71
71
|
columns: PlusColumn[];
|
|
72
|
-
layout: "
|
|
72
|
+
layout: "grid" | "flex";
|
|
73
73
|
rowProps: Partial< Mutable<RowProps> & {
|
|
74
74
|
style?: CSSProperties | undefined;
|
|
75
75
|
class?: any;
|
|
@@ -88,10 +88,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
88
88
|
minWidth?: string | number | undefined;
|
|
89
89
|
editable?: boolean | undefined;
|
|
90
90
|
valueType?: TableValueType | FormItemValueType;
|
|
91
|
-
hideInDescriptions?: boolean |
|
|
92
|
-
hideInForm?: boolean |
|
|
93
|
-
hideInTable?: boolean |
|
|
94
|
-
hideInSearch?: boolean |
|
|
91
|
+
hideInDescriptions?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
92
|
+
hideInForm?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
93
|
+
hideInTable?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
94
|
+
hideInSearch?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
95
95
|
descriptionsItemProps?: RecordType | undefined;
|
|
96
96
|
options?: OptionsType | undefined;
|
|
97
97
|
optionsMap?: {
|
|
@@ -143,7 +143,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
143
143
|
headerFilter?: boolean | Record<string, any> | undefined;
|
|
144
144
|
disabledHeaderFilter?: boolean | undefined;
|
|
145
145
|
headerIsChecked?: boolean | undefined;
|
|
146
|
-
tableColumnProps?: Partial<Omit< TableColumnCtx<any>, "
|
|
146
|
+
tableColumnProps?: Partial<Omit< TableColumnCtx<any>, "width" | "label " | "prop" | "minWidth"> & {
|
|
147
147
|
[key: string]: any;
|
|
148
148
|
}> | undefined;
|
|
149
149
|
preview?: boolean | undefined;
|
|
@@ -178,7 +178,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
178
178
|
};
|
|
179
179
|
rows: number;
|
|
180
180
|
autocomplete: string;
|
|
181
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
181
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
182
182
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
183
183
|
step: string | number;
|
|
184
184
|
format: string | ProgressFn | undefined;
|
|
@@ -196,7 +196,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
196
196
|
style?: CSSProperties | undefined;
|
|
197
197
|
class?: any;
|
|
198
198
|
} & RecordType>> | undefined;
|
|
199
|
-
hasLabel?: boolean |
|
|
199
|
+
hasLabel?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
200
200
|
renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
|
|
201
201
|
renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
202
202
|
renderPrevious?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
@@ -210,10 +210,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
210
210
|
label?: string | undefined;
|
|
211
211
|
}) => RenderTypes) | undefined;
|
|
212
212
|
}) => any>> & Partial<Record<string, (_: {
|
|
213
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
213
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
214
214
|
readonly label: string | ComputedRef<string>;
|
|
215
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
216
|
-
readonly hasLabel: boolean |
|
|
215
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
216
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
217
217
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
218
218
|
style?: CSSProperties | undefined;
|
|
219
219
|
class?: any;
|
|
@@ -239,7 +239,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
239
239
|
};
|
|
240
240
|
rows: number;
|
|
241
241
|
autocomplete: string;
|
|
242
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
242
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
243
243
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
244
244
|
step: string | number;
|
|
245
245
|
format: string | ProgressFn | undefined;
|
|
@@ -284,8 +284,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
284
284
|
fieldInstance?: any;
|
|
285
285
|
valueIsReady?: Ref<boolean> | undefined;
|
|
286
286
|
prop: string;
|
|
287
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
288
|
-
hasLabel: boolean |
|
|
287
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
288
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
289
289
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
290
290
|
style?: CSSProperties | undefined;
|
|
291
291
|
class?: any;
|
|
@@ -318,10 +318,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
318
318
|
clearable: boolean;
|
|
319
319
|
index: number;
|
|
320
320
|
}) => any>> & Partial<Record<string, (_: {
|
|
321
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
321
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
322
322
|
readonly label: string | ComputedRef<string>;
|
|
323
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
324
|
-
readonly hasLabel: boolean |
|
|
323
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
324
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
325
325
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
326
326
|
style?: CSSProperties | undefined;
|
|
327
327
|
class?: any;
|
|
@@ -347,7 +347,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
347
347
|
};
|
|
348
348
|
rows: number;
|
|
349
349
|
autocomplete: string;
|
|
350
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
350
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
351
351
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
352
352
|
step: string | number;
|
|
353
353
|
format: string | ProgressFn | undefined;
|
|
@@ -392,8 +392,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
392
392
|
fieldInstance?: any;
|
|
393
393
|
valueIsReady?: Ref<boolean> | undefined;
|
|
394
394
|
prop: string;
|
|
395
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
396
|
-
hasLabel: boolean |
|
|
395
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
396
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
397
397
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
398
398
|
style?: CSSProperties | undefined;
|
|
399
399
|
class?: any;
|
|
@@ -433,10 +433,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
433
433
|
minWidth?: string | number | undefined;
|
|
434
434
|
editable?: boolean | undefined;
|
|
435
435
|
valueType?: TableValueType | FormItemValueType;
|
|
436
|
-
hideInDescriptions?: boolean |
|
|
437
|
-
hideInForm?: boolean |
|
|
438
|
-
hideInTable?: boolean |
|
|
439
|
-
hideInSearch?: boolean |
|
|
436
|
+
hideInDescriptions?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
437
|
+
hideInForm?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
438
|
+
hideInTable?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
439
|
+
hideInSearch?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
440
440
|
descriptionsItemProps?: RecordType | undefined;
|
|
441
441
|
options?: OptionsType | undefined;
|
|
442
442
|
optionsMap?: {
|
|
@@ -488,7 +488,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
488
488
|
headerFilter?: boolean | Record<string, any> | undefined;
|
|
489
489
|
disabledHeaderFilter?: boolean | undefined;
|
|
490
490
|
headerIsChecked?: boolean | undefined;
|
|
491
|
-
tableColumnProps?: Partial<Omit< TableColumnCtx<any>, "
|
|
491
|
+
tableColumnProps?: Partial<Omit< TableColumnCtx<any>, "width" | "label " | "prop" | "minWidth"> & {
|
|
492
492
|
[key: string]: any;
|
|
493
493
|
}> | undefined;
|
|
494
494
|
preview?: boolean | undefined;
|
|
@@ -523,7 +523,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
523
523
|
};
|
|
524
524
|
rows: number;
|
|
525
525
|
autocomplete: string;
|
|
526
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
526
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
527
527
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
528
528
|
step: string | number;
|
|
529
529
|
format: string | ProgressFn | undefined;
|
|
@@ -541,7 +541,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
541
541
|
style?: CSSProperties | undefined;
|
|
542
542
|
class?: any;
|
|
543
543
|
} & RecordType>> | undefined;
|
|
544
|
-
hasLabel?: boolean |
|
|
544
|
+
hasLabel?: boolean | ComputedRef<boolean> | Ref<boolean> | undefined;
|
|
545
545
|
renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
|
|
546
546
|
renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
547
547
|
renderPrevious?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
@@ -68,21 +68,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
68
68
|
collapseTransition: undefined;
|
|
69
69
|
clearable: boolean;
|
|
70
70
|
}>>> & {
|
|
71
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
72
71
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
73
72
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
74
73
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
75
75
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
labelPosition: "left" | "right" | "top";
|
|
79
78
|
modelValue: FieldValues;
|
|
80
79
|
collapseDuration: number;
|
|
81
80
|
collapseTransition: boolean;
|
|
82
81
|
columns: PlusColumn[];
|
|
83
82
|
group: false | PlusFormGroupRow[];
|
|
84
|
-
layout: "
|
|
83
|
+
layout: "grid" | "flex";
|
|
85
84
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
85
|
+
labelPosition: "top" | "right" | "left";
|
|
86
86
|
labelWidth: string | number;
|
|
87
87
|
labelSuffix: string;
|
|
88
88
|
defaultValues: FieldValues;
|
|
@@ -101,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
101
101
|
submitText: string;
|
|
102
102
|
resetText: string;
|
|
103
103
|
submitLoading: boolean;
|
|
104
|
-
footerAlign: "
|
|
104
|
+
footerAlign: "center" | "right" | "left";
|
|
105
105
|
cardProps: Partial< Mutable<CardProps> & {
|
|
106
106
|
style?: CSSProperties | undefined;
|
|
107
107
|
class?: any;
|
|
@@ -120,10 +120,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
120
120
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
121
121
|
columns?: PlusColumn[] | undefined;
|
|
122
122
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
123
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
123
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
124
124
|
readonly label: string | ComputedRef<string>;
|
|
125
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
126
|
-
readonly hasLabel: boolean |
|
|
125
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
126
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
127
127
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
128
128
|
style?: CSSProperties | undefined;
|
|
129
129
|
class?: any;
|
|
@@ -149,7 +149,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
149
149
|
};
|
|
150
150
|
rows: number;
|
|
151
151
|
autocomplete: string;
|
|
152
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
152
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
153
153
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
154
154
|
step: string | number;
|
|
155
155
|
format: string | ProgressFn | undefined;
|
|
@@ -194,8 +194,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
194
194
|
fieldInstance?: any;
|
|
195
195
|
valueIsReady?: Ref<boolean> | undefined;
|
|
196
196
|
prop: string;
|
|
197
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
198
|
-
hasLabel: boolean |
|
|
197
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
198
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
199
199
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
200
200
|
style?: CSSProperties | undefined;
|
|
201
201
|
class?: any;
|
|
@@ -228,10 +228,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
228
228
|
clearable: boolean;
|
|
229
229
|
index: number;
|
|
230
230
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
231
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
231
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
232
232
|
readonly label: string | ComputedRef<string>;
|
|
233
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
234
|
-
readonly hasLabel: boolean |
|
|
233
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
234
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
235
235
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
236
236
|
style?: CSSProperties | undefined;
|
|
237
237
|
class?: any;
|
|
@@ -257,7 +257,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
257
257
|
};
|
|
258
258
|
rows: number;
|
|
259
259
|
autocomplete: string;
|
|
260
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
260
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
261
261
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
262
262
|
step: string | number;
|
|
263
263
|
format: string | ProgressFn | undefined;
|
|
@@ -302,8 +302,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
302
302
|
fieldInstance?: any;
|
|
303
303
|
valueIsReady?: Ref<boolean> | undefined;
|
|
304
304
|
prop: string;
|
|
305
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
306
|
-
hasLabel: boolean |
|
|
305
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
306
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
307
307
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
308
308
|
style?: CSSProperties | undefined;
|
|
309
309
|
class?: any;
|