yc-pro-components 0.0.8 → 0.0.9
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 +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +21 -21
- package/es/components/display-item/src/index.vue.d.ts +21 -21
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- 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 +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- 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 +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +452 -452
- package/es/components/page/src/index.vue.d.ts +154 -154
- 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/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +21 -21
- 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 +360 -360
- 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 +208 -208
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/index.min.mjs +1 -1
- package/index.mjs +1 -1
- 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 +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +21 -21
- package/lib/components/display-item/src/index.vue.d.ts +21 -21
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- 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 +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- 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 +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +452 -452
- package/lib/components/page/src/index.vue.d.ts +154 -154
- 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/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +21 -21
- 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 +360 -360
- 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 +208 -208
- 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-yc-status-dialog.css +1 -1
- package/theme-chalk/src/yc-status-dialog.scss +1 -0
|
@@ -54,13 +54,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
54
54
|
collapseTransition: undefined;
|
|
55
55
|
clearable: boolean;
|
|
56
56
|
}>>> & {
|
|
57
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
58
57
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
58
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
59
59
|
}, {
|
|
60
|
+
modelValue: FieldValues;
|
|
60
61
|
collapseDuration: number;
|
|
61
62
|
collapseTransition: boolean;
|
|
62
63
|
columns: PlusColumn[];
|
|
63
|
-
modelValue: FieldValues;
|
|
64
64
|
hasLabel: boolean;
|
|
65
65
|
rowProps: Partial< Mutable<RowProps> & {
|
|
66
66
|
style?: CSSProperties | undefined;
|
|
@@ -94,10 +94,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
94
94
|
value: string | number;
|
|
95
95
|
row: RecordType;
|
|
96
96
|
}) => OptionsRow<undefined>) | undefined;
|
|
97
|
-
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
97
|
+
tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
98
98
|
style?: CSSProperties | undefined;
|
|
99
99
|
class?: any;
|
|
100
|
-
} & RecordType> | ComputedRef<
|
|
100
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
101
101
|
style?: CSSProperties | undefined;
|
|
102
102
|
class?: any;
|
|
103
103
|
} & RecordType>> | undefined;
|
|
@@ -191,14 +191,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
191
191
|
label?: string | undefined;
|
|
192
192
|
}) => RenderTypes) | undefined;
|
|
193
193
|
}) => any>> & Partial<Record<string, (_: {
|
|
194
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
194
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
195
195
|
readonly label: string | ComputedRef<string>;
|
|
196
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
196
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
197
197
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
198
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
198
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
199
199
|
style?: CSSProperties | undefined;
|
|
200
200
|
class?: any;
|
|
201
|
-
} & RecordType> | ComputedRef<
|
|
201
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
202
202
|
style?: CSSProperties | undefined;
|
|
203
203
|
class?: any;
|
|
204
204
|
} & RecordType>>;
|
|
@@ -259,12 +259,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
259
259
|
fieldInstance?: any;
|
|
260
260
|
valueIsReady?: Ref<boolean> | undefined;
|
|
261
261
|
prop: string;
|
|
262
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
262
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
263
263
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
264
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
264
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
265
265
|
style?: CSSProperties | undefined;
|
|
266
266
|
class?: any;
|
|
267
|
-
} & RecordType> | ComputedRef<
|
|
267
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
268
268
|
style?: CSSProperties | undefined;
|
|
269
269
|
class?: any;
|
|
270
270
|
} & RecordType>>;
|
|
@@ -287,14 +287,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
287
287
|
clearable: boolean;
|
|
288
288
|
index: number;
|
|
289
289
|
}) => any>> & Partial<Record<string, (_: {
|
|
290
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
290
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
291
291
|
readonly label: string | ComputedRef<string>;
|
|
292
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
292
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
293
293
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
294
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
294
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
295
295
|
style?: CSSProperties | undefined;
|
|
296
296
|
class?: any;
|
|
297
|
-
} & RecordType> | ComputedRef<
|
|
297
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
298
298
|
style?: CSSProperties | undefined;
|
|
299
299
|
class?: any;
|
|
300
300
|
} & RecordType>>;
|
|
@@ -355,12 +355,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
355
355
|
fieldInstance?: any;
|
|
356
356
|
valueIsReady?: Ref<boolean> | undefined;
|
|
357
357
|
prop: string;
|
|
358
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
358
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
359
359
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
360
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
360
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
361
361
|
style?: CSSProperties | undefined;
|
|
362
362
|
class?: any;
|
|
363
|
-
} & RecordType> | ComputedRef<
|
|
363
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
364
364
|
style?: CSSProperties | undefined;
|
|
365
365
|
class?: any;
|
|
366
366
|
} & RecordType>>;
|
|
@@ -405,10 +405,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
405
405
|
value: string | number;
|
|
406
406
|
row: RecordType;
|
|
407
407
|
}) => OptionsRow<undefined>) | undefined;
|
|
408
|
-
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
408
|
+
tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
409
409
|
style?: CSSProperties | undefined;
|
|
410
410
|
class?: any;
|
|
411
|
-
} & RecordType> | ComputedRef<
|
|
411
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
412
412
|
style?: CSSProperties | undefined;
|
|
413
413
|
class?: any;
|
|
414
414
|
} & RecordType>> | undefined;
|
|
@@ -348,18 +348,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
348
348
|
collapseTransition: undefined;
|
|
349
349
|
clearable: boolean;
|
|
350
350
|
}>>> & {
|
|
351
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
351
352
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
352
353
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
353
354
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
354
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
355
355
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
356
356
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
357
357
|
}, {
|
|
358
|
+
modelValue: FieldValues;
|
|
358
359
|
collapseDuration: number;
|
|
359
360
|
collapseTransition: boolean;
|
|
360
361
|
columns: PlusColumn[];
|
|
361
362
|
group: false | PlusFormGroupRow[];
|
|
362
|
-
modelValue: FieldValues;
|
|
363
363
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
364
364
|
labelPosition: "top" | "right" | "left";
|
|
365
365
|
labelWidth: string | number;
|
|
@@ -380,7 +380,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
380
380
|
submitText: string;
|
|
381
381
|
resetText: string;
|
|
382
382
|
submitLoading: boolean;
|
|
383
|
-
footerAlign: "
|
|
383
|
+
footerAlign: "center" | "right" | "left";
|
|
384
384
|
cardProps: Partial< Mutable<CardProps> & {
|
|
385
385
|
style?: CSSProperties | undefined;
|
|
386
386
|
class?: any;
|
|
@@ -399,14 +399,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
399
399
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
400
400
|
columns?: PlusColumn[] | undefined;
|
|
401
401
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
402
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
402
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
403
403
|
readonly label: string | ComputedRef<string>;
|
|
404
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
404
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
405
405
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
406
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
406
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
407
407
|
style?: CSSProperties | undefined;
|
|
408
408
|
class?: any;
|
|
409
|
-
} & RecordType> | ComputedRef<
|
|
409
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
410
410
|
style?: CSSProperties | undefined;
|
|
411
411
|
class?: any;
|
|
412
412
|
} & RecordType>>;
|
|
@@ -467,12 +467,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
467
467
|
fieldInstance?: any;
|
|
468
468
|
valueIsReady?: Ref<boolean> | undefined;
|
|
469
469
|
prop: string;
|
|
470
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
470
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
471
471
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
472
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
472
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
473
473
|
style?: CSSProperties | undefined;
|
|
474
474
|
class?: any;
|
|
475
|
-
} & RecordType> | ComputedRef<
|
|
475
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
476
476
|
style?: CSSProperties | undefined;
|
|
477
477
|
class?: any;
|
|
478
478
|
} & RecordType>>;
|
|
@@ -495,14 +495,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
495
495
|
clearable: boolean;
|
|
496
496
|
index: number;
|
|
497
497
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
498
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
498
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
499
499
|
readonly label: string | ComputedRef<string>;
|
|
500
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
500
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
501
501
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
502
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
502
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
503
503
|
style?: CSSProperties | undefined;
|
|
504
504
|
class?: any;
|
|
505
|
-
} & RecordType> | ComputedRef<
|
|
505
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
506
506
|
style?: CSSProperties | undefined;
|
|
507
507
|
class?: any;
|
|
508
508
|
} & RecordType>>;
|
|
@@ -563,12 +563,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
563
563
|
fieldInstance?: any;
|
|
564
564
|
valueIsReady?: Ref<boolean> | undefined;
|
|
565
565
|
prop: string;
|
|
566
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
566
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
567
567
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
568
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
568
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
569
569
|
style?: CSSProperties | undefined;
|
|
570
570
|
class?: any;
|
|
571
|
-
} & RecordType> | ComputedRef<
|
|
571
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
572
572
|
style?: CSSProperties | undefined;
|
|
573
573
|
class?: any;
|
|
574
574
|
} & RecordType>>;
|
|
@@ -4,7 +4,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
4
4
|
import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
5
5
|
import { EpPropMergeType, EpPropFinalized, Arrayable } from 'element-plus/es/utils';
|
|
6
6
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, FormItemProp, FormItemRule, FormContext, FormItemContext, FormValidateFailure, FormValidateCallback, FormValidationResult } from 'element-plus';
|
|
7
|
-
import {
|
|
7
|
+
import { RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'packages/yc-components';
|
|
8
8
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, Slot, DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
9
9
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
10
10
|
export declare const PlusFormItem: {
|
|
@@ -13,6 +13,10 @@ export declare const PlusFormItem: {
|
|
|
13
13
|
type: PropType<number>;
|
|
14
14
|
default: number;
|
|
15
15
|
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
16
20
|
label: {
|
|
17
21
|
type: PropType<string | ComputedRef<string>>;
|
|
18
22
|
default: string;
|
|
@@ -22,10 +26,10 @@ export declare const PlusFormItem: {
|
|
|
22
26
|
required: true;
|
|
23
27
|
};
|
|
24
28
|
tooltip: {
|
|
25
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
29
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
26
30
|
style?: CSSProperties | undefined;
|
|
27
31
|
class?: any;
|
|
28
|
-
} & RecordType> | ComputedRef<
|
|
32
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
29
33
|
style?: CSSProperties | undefined;
|
|
30
34
|
class?: any;
|
|
31
35
|
} & RecordType>>>;
|
|
@@ -69,10 +73,6 @@ export declare const PlusFormItem: {
|
|
|
69
73
|
type: PropType<OptionsType>;
|
|
70
74
|
default: () => never[];
|
|
71
75
|
};
|
|
72
|
-
modelValue: {
|
|
73
|
-
type: PropType<string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
76
|
fieldSlots: {
|
|
77
77
|
type: PropType<{
|
|
78
78
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -119,8 +119,8 @@ export declare const PlusFormItem: {
|
|
|
119
119
|
default: undefined;
|
|
120
120
|
};
|
|
121
121
|
}>> & {
|
|
122
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
123
122
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
123
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
126
126
|
readonly label: StringConstructor;
|
|
@@ -463,6 +463,10 @@ export declare const PlusFormItem: {
|
|
|
463
463
|
type: PropType<number>;
|
|
464
464
|
default: number;
|
|
465
465
|
};
|
|
466
|
+
modelValue: {
|
|
467
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
468
|
+
default: string;
|
|
469
|
+
};
|
|
466
470
|
label: {
|
|
467
471
|
type: PropType<string | ComputedRef<string>>;
|
|
468
472
|
default: string;
|
|
@@ -472,10 +476,10 @@ export declare const PlusFormItem: {
|
|
|
472
476
|
required: true;
|
|
473
477
|
};
|
|
474
478
|
tooltip: {
|
|
475
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
479
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
476
480
|
style?: CSSProperties | undefined;
|
|
477
481
|
class?: any;
|
|
478
|
-
} & RecordType> | ComputedRef<
|
|
482
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
479
483
|
style?: CSSProperties | undefined;
|
|
480
484
|
class?: any;
|
|
481
485
|
} & RecordType>>>;
|
|
@@ -519,10 +523,6 @@ export declare const PlusFormItem: {
|
|
|
519
523
|
type: PropType<OptionsType>;
|
|
520
524
|
default: () => never[];
|
|
521
525
|
};
|
|
522
|
-
modelValue: {
|
|
523
|
-
type: PropType<string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
524
|
-
default: string;
|
|
525
|
-
};
|
|
526
526
|
fieldSlots: {
|
|
527
527
|
type: PropType<{
|
|
528
528
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -569,10 +569,11 @@ export declare const PlusFormItem: {
|
|
|
569
569
|
default: undefined;
|
|
570
570
|
};
|
|
571
571
|
}>> & {
|
|
572
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
573
572
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
573
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
574
574
|
}, {
|
|
575
575
|
index: number;
|
|
576
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
576
577
|
label: string | ComputedRef<string>;
|
|
577
578
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
578
579
|
style?: CSSProperties | undefined;
|
|
@@ -610,7 +611,6 @@ export declare const PlusFormItem: {
|
|
|
610
611
|
autosize: InputAutoSize;
|
|
611
612
|
} & 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< ISelectProps, 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>>>>;
|
|
612
613
|
options: OptionsType;
|
|
613
|
-
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
614
614
|
fieldSlots: {
|
|
615
615
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
616
616
|
};
|
|
@@ -641,6 +641,10 @@ export declare const PlusFormItem: {
|
|
|
641
641
|
type: PropType<number>;
|
|
642
642
|
default: number;
|
|
643
643
|
};
|
|
644
|
+
modelValue: {
|
|
645
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
646
|
+
default: string;
|
|
647
|
+
};
|
|
644
648
|
label: {
|
|
645
649
|
type: PropType<string | ComputedRef<string>>;
|
|
646
650
|
default: string;
|
|
@@ -650,10 +654,10 @@ export declare const PlusFormItem: {
|
|
|
650
654
|
required: true;
|
|
651
655
|
};
|
|
652
656
|
tooltip: {
|
|
653
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
657
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
654
658
|
style?: CSSProperties | undefined;
|
|
655
659
|
class?: any;
|
|
656
|
-
} & RecordType> | ComputedRef<
|
|
660
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
657
661
|
style?: CSSProperties | undefined;
|
|
658
662
|
class?: any;
|
|
659
663
|
} & RecordType>>>;
|
|
@@ -697,10 +701,6 @@ export declare const PlusFormItem: {
|
|
|
697
701
|
type: PropType<OptionsType>;
|
|
698
702
|
default: () => never[];
|
|
699
703
|
};
|
|
700
|
-
modelValue: {
|
|
701
|
-
type: PropType<string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
702
|
-
default: string;
|
|
703
|
-
};
|
|
704
704
|
fieldSlots: {
|
|
705
705
|
type: PropType<{
|
|
706
706
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -747,8 +747,8 @@ export declare const PlusFormItem: {
|
|
|
747
747
|
default: undefined;
|
|
748
748
|
};
|
|
749
749
|
}>> & {
|
|
750
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
751
750
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
751
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
752
752
|
}, {
|
|
753
753
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
754
754
|
readonly label: StringConstructor;
|
|
@@ -1085,6 +1085,7 @@ export declare const PlusFormItem: {
|
|
|
1085
1085
|
fieldInstance: Ref<any>;
|
|
1086
1086
|
}, {}, {}, {}, {
|
|
1087
1087
|
index: number;
|
|
1088
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1088
1089
|
label: string | ComputedRef<string>;
|
|
1089
1090
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1090
1091
|
style?: CSSProperties | undefined;
|
|
@@ -1122,7 +1123,6 @@ export declare const PlusFormItem: {
|
|
|
1122
1123
|
autosize: InputAutoSize;
|
|
1123
1124
|
} & 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< ISelectProps, 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>>>>;
|
|
1124
1125
|
options: OptionsType;
|
|
1125
|
-
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1126
1126
|
fieldSlots: {
|
|
1127
1127
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1128
1128
|
};
|
|
@@ -1150,6 +1150,10 @@ export declare const PlusFormItem: {
|
|
|
1150
1150
|
type: PropType<number>;
|
|
1151
1151
|
default: number;
|
|
1152
1152
|
};
|
|
1153
|
+
modelValue: {
|
|
1154
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1155
|
+
default: string;
|
|
1156
|
+
};
|
|
1153
1157
|
label: {
|
|
1154
1158
|
type: PropType<string | ComputedRef<string>>;
|
|
1155
1159
|
default: string;
|
|
@@ -1159,10 +1163,10 @@ export declare const PlusFormItem: {
|
|
|
1159
1163
|
required: true;
|
|
1160
1164
|
};
|
|
1161
1165
|
tooltip: {
|
|
1162
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
1166
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1163
1167
|
style?: CSSProperties | undefined;
|
|
1164
1168
|
class?: any;
|
|
1165
|
-
} & RecordType> | ComputedRef<
|
|
1169
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1166
1170
|
style?: CSSProperties | undefined;
|
|
1167
1171
|
class?: any;
|
|
1168
1172
|
} & RecordType>>>;
|
|
@@ -1206,10 +1210,6 @@ export declare const PlusFormItem: {
|
|
|
1206
1210
|
type: PropType<OptionsType>;
|
|
1207
1211
|
default: () => never[];
|
|
1208
1212
|
};
|
|
1209
|
-
modelValue: {
|
|
1210
|
-
type: PropType<string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1211
|
-
default: string;
|
|
1212
|
-
};
|
|
1213
1213
|
fieldSlots: {
|
|
1214
1214
|
type: PropType<{
|
|
1215
1215
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1256,8 +1256,8 @@ export declare const PlusFormItem: {
|
|
|
1256
1256
|
default: undefined;
|
|
1257
1257
|
};
|
|
1258
1258
|
}>> & {
|
|
1259
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1260
1259
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1260
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1261
1261
|
}, {
|
|
1262
1262
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
1263
1263
|
readonly label: StringConstructor;
|
|
@@ -1597,6 +1597,7 @@ export declare const PlusFormItem: {
|
|
|
1597
1597
|
change: (value: FieldValueType) => void;
|
|
1598
1598
|
}, string, {
|
|
1599
1599
|
index: number;
|
|
1600
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1600
1601
|
label: string | ComputedRef<string>;
|
|
1601
1602
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1602
1603
|
style?: CSSProperties | undefined;
|
|
@@ -1634,7 +1635,6 @@ export declare const PlusFormItem: {
|
|
|
1634
1635
|
autosize: InputAutoSize;
|
|
1635
1636
|
} & 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< ISelectProps, 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>>>>;
|
|
1636
1637
|
options: OptionsType;
|
|
1637
|
-
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1638
1638
|
fieldSlots: {
|
|
1639
1639
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1640
1640
|
};
|
|
@@ -1662,12 +1662,12 @@ export declare const PlusFormItem: {
|
|
|
1662
1662
|
fieldInstance?: any;
|
|
1663
1663
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1664
1664
|
prop: string;
|
|
1665
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1665
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1666
1666
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1667
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1667
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1668
1668
|
style?: CSSProperties | undefined;
|
|
1669
1669
|
class?: any;
|
|
1670
|
-
} & RecordType> | ComputedRef<
|
|
1670
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1671
1671
|
style?: CSSProperties | undefined;
|
|
1672
1672
|
class?: any;
|
|
1673
1673
|
} & RecordType>>;
|
|
@@ -1690,14 +1690,14 @@ export declare const PlusFormItem: {
|
|
|
1690
1690
|
clearable: boolean;
|
|
1691
1691
|
index: number;
|
|
1692
1692
|
}) => any>> & Partial<Record<string, (_: {
|
|
1693
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1693
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1694
1694
|
readonly label: string | ComputedRef<string>;
|
|
1695
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1695
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1696
1696
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1697
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1697
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1698
1698
|
style?: CSSProperties | undefined;
|
|
1699
1699
|
class?: any;
|
|
1700
|
-
} & RecordType> | ComputedRef<
|
|
1700
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1701
1701
|
style?: CSSProperties | undefined;
|
|
1702
1702
|
class?: any;
|
|
1703
1703
|
} & RecordType>>;
|
|
@@ -1758,12 +1758,12 @@ export declare const PlusFormItem: {
|
|
|
1758
1758
|
fieldInstance?: any;
|
|
1759
1759
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1760
1760
|
prop: string;
|
|
1761
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1761
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1762
1762
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1763
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1763
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1764
1764
|
style?: CSSProperties | undefined;
|
|
1765
1765
|
class?: any;
|
|
1766
|
-
} & RecordType> | ComputedRef<
|
|
1766
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1767
1767
|
style?: CSSProperties | undefined;
|
|
1768
1768
|
class?: any;
|
|
1769
1769
|
} & RecordType>>;
|
|
@@ -410,10 +410,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
410
410
|
clearable: boolean;
|
|
411
411
|
index: number;
|
|
412
412
|
}>>> & {
|
|
413
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
414
413
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
414
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
415
415
|
}, {
|
|
416
416
|
index: number;
|
|
417
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
417
418
|
label: string | ComputedRef<string>;
|
|
418
419
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
419
420
|
style?: CSSProperties | undefined;
|
|
@@ -451,7 +452,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
451
452
|
autosize: InputAutoSize;
|
|
452
453
|
} & 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< ISelectProps, 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>>>>;
|
|
453
454
|
options: OptionsType;
|
|
454
|
-
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
455
455
|
fieldSlots: {
|
|
456
456
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
457
457
|
};
|
|
@@ -478,12 +478,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
478
478
|
fieldInstance?: any;
|
|
479
479
|
valueIsReady?: Ref<boolean> | undefined;
|
|
480
480
|
prop: string;
|
|
481
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
481
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
482
482
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
483
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
483
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
484
484
|
style?: CSSProperties | undefined;
|
|
485
485
|
class?: any;
|
|
486
|
-
} & RecordType> | ComputedRef<
|
|
486
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
487
487
|
style?: CSSProperties | undefined;
|
|
488
488
|
class?: any;
|
|
489
489
|
} & RecordType>>;
|
|
@@ -506,14 +506,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
506
506
|
clearable: boolean;
|
|
507
507
|
index: number;
|
|
508
508
|
}) => any>> & Partial<Record<string, (_: {
|
|
509
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
509
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
510
510
|
readonly label: string | ComputedRef<string>;
|
|
511
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
511
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
512
512
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
513
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
513
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
514
514
|
style?: CSSProperties | undefined;
|
|
515
515
|
class?: any;
|
|
516
|
-
} & RecordType> | ComputedRef<
|
|
516
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
517
517
|
style?: CSSProperties | undefined;
|
|
518
518
|
class?: any;
|
|
519
519
|
} & RecordType>>;
|
|
@@ -574,12 +574,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
574
574
|
fieldInstance?: any;
|
|
575
575
|
valueIsReady?: Ref<boolean> | undefined;
|
|
576
576
|
prop: string;
|
|
577
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
577
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
578
578
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
579
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
579
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
580
580
|
style?: CSSProperties | undefined;
|
|
581
581
|
class?: any;
|
|
582
|
-
} & RecordType> | ComputedRef<
|
|
582
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
583
583
|
style?: CSSProperties | undefined;
|
|
584
584
|
class?: any;
|
|
585
585
|
} & RecordType>>;
|