yc-pro-components 0.0.84 → 0.0.85
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/dialog-form/index.d.ts +11 -8
- package/es/components/dialog-form/src/index.vue.d.ts +11 -8
- package/es/components/display-item/index.d.ts +53 -44
- package/es/components/display-item/src/index.vue.d.ts +34 -25
- package/es/components/drawer-form/index.d.ts +36 -33
- package/es/components/drawer-form/src/index.vue.d.ts +14 -11
- package/es/components/form/index.d.ts +41 -16
- package/es/components/form/src/form-content.vue.d.ts +37 -22
- package/es/components/form/src/form-content.vue2.mjs +11 -2
- package/es/components/form/src/index.vue.d.ts +25 -16
- 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/index.d.ts +62 -39
- package/es/components/form-item/src/index.vue.d.ts +32 -17
- 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/input-tag/index.d.ts +9 -9
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +320 -137
- package/es/components/page/src/index.vue.d.ts +114 -51
- 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/index.d.ts +144 -59
- package/es/components/search/src/index.vue.d.ts +52 -25
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +5 -0
- package/es/components/table/src/table-column.vue.d.ts +49 -40
- 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.d.ts +217 -94
- 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/hooks/usePlusFormReset.d.ts +126 -108
- package/es/index.css +7 -7
- 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/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +30 -10
- package/index.min.js +11 -11
- package/index.min.mjs +12 -12
- package/index.mjs +30 -10
- 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/dialog-form/index.d.ts +11 -8
- package/lib/components/dialog-form/src/index.vue.d.ts +11 -8
- package/lib/components/display-item/index.d.ts +53 -44
- package/lib/components/display-item/src/index.vue.d.ts +34 -25
- package/lib/components/drawer-form/index.d.ts +36 -33
- package/lib/components/drawer-form/src/index.vue.d.ts +14 -11
- package/lib/components/form/index.d.ts +41 -16
- package/lib/components/form/src/form-content.vue.d.ts +37 -22
- package/lib/components/form/src/form-content.vue2.js +11 -2
- package/lib/components/form/src/index.vue.d.ts +25 -16
- 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/index.d.ts +62 -39
- package/lib/components/form-item/src/index.vue.d.ts +32 -17
- 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/input-tag/index.d.ts +9 -9
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +320 -137
- package/lib/components/page/src/index.vue.d.ts +114 -51
- 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/index.d.ts +144 -59
- package/lib/components/search/src/index.vue.d.ts +52 -25
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +5 -0
- package/lib/components/table/src/table-column.vue.d.ts +49 -40
- 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.d.ts +217 -94
- 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/hooks/usePlusFormReset.d.ts +126 -108
- package/lib/index.css +10 -10
- 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/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-form-item.css +1 -1
- package/theme-chalk/src/form-item.scss +60 -39
|
@@ -21,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
21
21
|
retractText: string;
|
|
22
22
|
expandText: string;
|
|
23
23
|
inline: boolean;
|
|
24
|
+
ellipsis: boolean;
|
|
24
25
|
showNumber: number;
|
|
25
26
|
labelPosition: undefined;
|
|
26
27
|
columns: () => never[];
|
|
@@ -52,6 +53,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
52
53
|
labelPosition: "top" | "right" | "left";
|
|
53
54
|
labelWidth: string | number;
|
|
54
55
|
labelSuffix: string;
|
|
56
|
+
ellipsis: boolean;
|
|
55
57
|
defaultValues: FieldValues;
|
|
56
58
|
rowProps: Partial< Mutable<RowProps> & {
|
|
57
59
|
style?: CSSProperties | undefined;
|
|
@@ -83,6 +85,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
83
85
|
readonly labelPosition: "top" | "right" | "left";
|
|
84
86
|
readonly labelWidth: string | number;
|
|
85
87
|
readonly labelSuffix: string;
|
|
88
|
+
readonly ellipsis: boolean;
|
|
86
89
|
readonly defaultValues: FieldValues;
|
|
87
90
|
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
88
91
|
style?: CSSProperties | undefined;
|
|
@@ -156,6 +159,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
156
159
|
type: PropType<string>;
|
|
157
160
|
default: string;
|
|
158
161
|
};
|
|
162
|
+
ellipsis: {
|
|
163
|
+
type: PropType<boolean>;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
159
166
|
defaultValues: {
|
|
160
167
|
type: PropType<FieldValues>;
|
|
161
168
|
default: () => {};
|
|
@@ -228,7 +235,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
228
235
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
229
236
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
230
237
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
231
|
-
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
238
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "ellipsis" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
232
239
|
$attrs: {
|
|
233
240
|
[x: string]: unknown;
|
|
234
241
|
};
|
|
@@ -283,6 +290,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
283
290
|
type: PropType<string>;
|
|
284
291
|
default: string;
|
|
285
292
|
};
|
|
293
|
+
ellipsis: {
|
|
294
|
+
type: PropType<boolean>;
|
|
295
|
+
default: boolean;
|
|
296
|
+
};
|
|
286
297
|
defaultValues: {
|
|
287
298
|
type: PropType<FieldValues>;
|
|
288
299
|
default: () => {};
|
|
@@ -377,6 +388,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
377
388
|
labelPosition: "top" | "right" | "left";
|
|
378
389
|
labelWidth: string | number;
|
|
379
390
|
labelSuffix: string;
|
|
391
|
+
ellipsis: boolean;
|
|
380
392
|
defaultValues: FieldValues;
|
|
381
393
|
rowProps: Partial< Mutable<RowProps> & {
|
|
382
394
|
style?: CSSProperties | undefined;
|
|
@@ -461,6 +473,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
461
473
|
type: PropType<string>;
|
|
462
474
|
default: string;
|
|
463
475
|
};
|
|
476
|
+
ellipsis: {
|
|
477
|
+
type: PropType<boolean>;
|
|
478
|
+
default: boolean;
|
|
479
|
+
};
|
|
464
480
|
defaultValues: {
|
|
465
481
|
type: PropType<FieldValues>;
|
|
466
482
|
default: () => {};
|
|
@@ -550,14 +566,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
550
566
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
551
567
|
columns?: PlusColumn[] | undefined;
|
|
552
568
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
553
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
569
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
554
570
|
readonly label: string | ComputedRef<string>;
|
|
555
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
571
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
556
572
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
557
|
-
readonly tooltip: string |
|
|
573
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
558
574
|
style?: CSSProperties | undefined;
|
|
559
575
|
class?: any;
|
|
560
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
576
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
561
577
|
style?: CSSProperties | undefined;
|
|
562
578
|
class?: any;
|
|
563
579
|
} & RecordType>>;
|
|
@@ -579,7 +595,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
579
595
|
};
|
|
580
596
|
rows: number;
|
|
581
597
|
autocomplete: string;
|
|
582
|
-
type: "" | "number" | "default" | "
|
|
598
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
583
599
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
584
600
|
step: string | number;
|
|
585
601
|
format: string | ProgressFn | undefined;
|
|
@@ -613,8 +629,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
613
629
|
dictCode?: string | undefined;
|
|
614
630
|
} | undefined;
|
|
615
631
|
readonly clearable: boolean;
|
|
632
|
+
readonly ellipsis: boolean;
|
|
616
633
|
readonly index: number;
|
|
617
634
|
} & {
|
|
635
|
+
readonly ellipsis: boolean;
|
|
618
636
|
readonly clearable: boolean;
|
|
619
637
|
};
|
|
620
638
|
label: string;
|
|
@@ -624,12 +642,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
624
642
|
fieldInstance?: any;
|
|
625
643
|
valueIsReady?: Ref<boolean> | undefined;
|
|
626
644
|
prop: string;
|
|
627
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
645
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
628
646
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
629
|
-
tooltip: string |
|
|
647
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
630
648
|
style?: CSSProperties | undefined;
|
|
631
649
|
class?: any;
|
|
632
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
650
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
633
651
|
style?: CSSProperties | undefined;
|
|
634
652
|
class?: any;
|
|
635
653
|
} & RecordType>>;
|
|
@@ -656,16 +674,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
656
674
|
dictCode?: string | undefined;
|
|
657
675
|
} | undefined;
|
|
658
676
|
clearable: boolean;
|
|
677
|
+
ellipsis: boolean;
|
|
659
678
|
index: number;
|
|
660
679
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
661
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
680
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
662
681
|
readonly label: string | ComputedRef<string>;
|
|
663
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
682
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
664
683
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
665
|
-
readonly tooltip: string |
|
|
684
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
666
685
|
style?: CSSProperties | undefined;
|
|
667
686
|
class?: any;
|
|
668
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
687
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
669
688
|
style?: CSSProperties | undefined;
|
|
670
689
|
class?: any;
|
|
671
690
|
} & RecordType>>;
|
|
@@ -687,7 +706,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
687
706
|
};
|
|
688
707
|
rows: number;
|
|
689
708
|
autocomplete: string;
|
|
690
|
-
type: "" | "number" | "default" | "
|
|
709
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
691
710
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
692
711
|
step: string | number;
|
|
693
712
|
format: string | ProgressFn | undefined;
|
|
@@ -721,8 +740,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
721
740
|
dictCode?: string | undefined;
|
|
722
741
|
} | undefined;
|
|
723
742
|
readonly clearable: boolean;
|
|
743
|
+
readonly ellipsis: boolean;
|
|
724
744
|
readonly index: number;
|
|
725
745
|
} & {
|
|
746
|
+
readonly ellipsis: boolean;
|
|
726
747
|
readonly clearable: boolean;
|
|
727
748
|
};
|
|
728
749
|
label: string;
|
|
@@ -732,12 +753,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
732
753
|
fieldInstance?: any;
|
|
733
754
|
valueIsReady?: Ref<boolean> | undefined;
|
|
734
755
|
prop: string;
|
|
735
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
756
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
736
757
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
737
|
-
tooltip: string |
|
|
758
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
738
759
|
style?: CSSProperties | undefined;
|
|
739
760
|
class?: any;
|
|
740
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
761
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
741
762
|
style?: CSSProperties | undefined;
|
|
742
763
|
class?: any;
|
|
743
764
|
} & RecordType>>;
|
|
@@ -764,6 +785,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
764
785
|
dictCode?: string | undefined;
|
|
765
786
|
} | undefined;
|
|
766
787
|
clearable: boolean;
|
|
788
|
+
ellipsis: boolean;
|
|
767
789
|
index: number;
|
|
768
790
|
}) => any>> & {
|
|
769
791
|
default?(_: {}): any;
|
|
@@ -802,6 +824,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
802
824
|
retractText: string;
|
|
803
825
|
expandText: string;
|
|
804
826
|
inline: boolean;
|
|
827
|
+
ellipsis: boolean;
|
|
805
828
|
showNumber: number;
|
|
806
829
|
labelPosition: undefined;
|
|
807
830
|
columns: () => never[];
|
|
@@ -831,6 +854,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
831
854
|
labelPosition: "top" | "right" | "left";
|
|
832
855
|
inline: boolean;
|
|
833
856
|
showNumber: number;
|
|
857
|
+
ellipsis: boolean;
|
|
834
858
|
defaultValues: FieldValues;
|
|
835
859
|
rowProps: Partial< Mutable<RowProps> & {
|
|
836
860
|
style?: CSSProperties | undefined;
|
|
@@ -853,14 +877,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
853
877
|
searchIcon: Component | null;
|
|
854
878
|
resetIcon: Component | null;
|
|
855
879
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
856
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
880
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
857
881
|
readonly label: string | ComputedRef<string>;
|
|
858
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
882
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
859
883
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
860
|
-
readonly tooltip: string |
|
|
884
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
861
885
|
style?: CSSProperties | undefined;
|
|
862
886
|
class?: any;
|
|
863
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
887
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
864
888
|
style?: CSSProperties | undefined;
|
|
865
889
|
class?: any;
|
|
866
890
|
} & RecordType>>;
|
|
@@ -882,7 +906,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
882
906
|
};
|
|
883
907
|
rows: number;
|
|
884
908
|
autocomplete: string;
|
|
885
|
-
type: "" | "number" | "default" | "
|
|
909
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
886
910
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
887
911
|
step: string | number;
|
|
888
912
|
format: string | ProgressFn | undefined;
|
|
@@ -916,8 +940,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
916
940
|
dictCode?: string | undefined;
|
|
917
941
|
} | undefined;
|
|
918
942
|
readonly clearable: boolean;
|
|
943
|
+
readonly ellipsis: boolean;
|
|
919
944
|
readonly index: number;
|
|
920
945
|
} & {
|
|
946
|
+
readonly ellipsis: boolean;
|
|
921
947
|
readonly clearable: boolean;
|
|
922
948
|
};
|
|
923
949
|
label: string;
|
|
@@ -927,12 +953,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
927
953
|
fieldInstance?: any;
|
|
928
954
|
valueIsReady?: Ref<boolean> | undefined;
|
|
929
955
|
prop: string;
|
|
930
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
956
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
931
957
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
932
|
-
tooltip: string |
|
|
958
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
933
959
|
style?: CSSProperties | undefined;
|
|
934
960
|
class?: any;
|
|
935
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
961
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
936
962
|
style?: CSSProperties | undefined;
|
|
937
963
|
class?: any;
|
|
938
964
|
} & RecordType>>;
|
|
@@ -959,6 +985,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
959
985
|
dictCode?: string | undefined;
|
|
960
986
|
} | undefined;
|
|
961
987
|
clearable: boolean;
|
|
988
|
+
ellipsis: boolean;
|
|
962
989
|
index: number;
|
|
963
990
|
}) => any>> & {
|
|
964
991
|
footer?(_: {
|
|
@@ -30,6 +30,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
inline: { type: Boolean, default: true },
|
|
31
31
|
showNumber: { default: 2 },
|
|
32
32
|
labelPosition: { default: void 0 },
|
|
33
|
+
ellipsis: { type: Boolean, default: false },
|
|
33
34
|
rowProps: { default: () => ({
|
|
34
35
|
gutter: 20
|
|
35
36
|
}) },
|
|
@@ -134,6 +135,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
135
|
"col-props": _ctx.colProps,
|
|
135
136
|
columns: subColumns.value,
|
|
136
137
|
layout: _ctx.layout,
|
|
138
|
+
ellipsis: _ctx.ellipsis,
|
|
137
139
|
class: "plus-search",
|
|
138
140
|
"has-footer": false,
|
|
139
141
|
onChange: handleChange
|
|
@@ -225,7 +227,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
225
227
|
])
|
|
226
228
|
};
|
|
227
229
|
})
|
|
228
|
-
]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns", "layout"]);
|
|
230
|
+
]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns", "layout", "ellipsis"]);
|
|
229
231
|
};
|
|
230
232
|
}
|
|
231
233
|
});
|
|
@@ -30,6 +30,11 @@ export type PlusSearchSelfProps = {
|
|
|
30
30
|
inline?: boolean;
|
|
31
31
|
showNumber?: number;
|
|
32
32
|
labelPosition?: 'left' | 'right' | 'top';
|
|
33
|
+
/**
|
|
34
|
+
* 标签和占位符超出宽度时省略,悬停显示全文。默认关闭,标签换行显示。
|
|
35
|
+
* 单个字段的 ellipsis 优先级更高。
|
|
36
|
+
*/
|
|
37
|
+
ellipsis?: boolean;
|
|
33
38
|
rowProps?: PlusRowProps;
|
|
34
39
|
colProps?: PlusColProps;
|
|
35
40
|
/**
|
|
@@ -26,15 +26,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
26
26
|
$data: {};
|
|
27
27
|
$props: Partial<{
|
|
28
28
|
index: number;
|
|
29
|
-
formProps: PlusFormProps;
|
|
30
29
|
rest: RecordType;
|
|
30
|
+
formProps: PlusFormProps;
|
|
31
31
|
column: PlusColumn;
|
|
32
32
|
row: RecordType;
|
|
33
33
|
editable: boolean | "click" | "dblclick";
|
|
34
34
|
}> & Omit<{
|
|
35
35
|
readonly index: number;
|
|
36
|
-
readonly formProps: PlusFormProps;
|
|
37
36
|
readonly rest: RecordType;
|
|
37
|
+
readonly formProps: PlusFormProps;
|
|
38
38
|
readonly column: PlusColumn;
|
|
39
39
|
readonly row: RecordType;
|
|
40
40
|
readonly editable: boolean | "click" | "dblclick";
|
|
@@ -48,14 +48,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
48
48
|
type: PropType<number>;
|
|
49
49
|
default: number;
|
|
50
50
|
};
|
|
51
|
-
formProps: {
|
|
52
|
-
type: PropType<PlusFormProps>;
|
|
53
|
-
default: () => {};
|
|
54
|
-
};
|
|
55
51
|
rest: {
|
|
56
52
|
type: PropType<RecordType>;
|
|
57
53
|
default: () => {};
|
|
58
54
|
};
|
|
55
|
+
formProps: {
|
|
56
|
+
type: PropType<PlusFormProps>;
|
|
57
|
+
default: () => {};
|
|
58
|
+
};
|
|
59
59
|
column: {
|
|
60
60
|
type: PropType<PlusColumn>;
|
|
61
61
|
required: true;
|
|
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
79
79
|
prop: string;
|
|
80
80
|
row: RecordType;
|
|
81
81
|
}) => any) | undefined;
|
|
82
|
-
}, "index" | "
|
|
82
|
+
}, "index" | "rest" | "formProps" | "column" | "row" | "editable">;
|
|
83
83
|
$attrs: {
|
|
84
84
|
[x: string]: unknown;
|
|
85
85
|
};
|
|
@@ -102,14 +102,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
102
102
|
type: PropType<number>;
|
|
103
103
|
default: number;
|
|
104
104
|
};
|
|
105
|
-
formProps: {
|
|
106
|
-
type: PropType<PlusFormProps>;
|
|
107
|
-
default: () => {};
|
|
108
|
-
};
|
|
109
105
|
rest: {
|
|
110
106
|
type: PropType<RecordType>;
|
|
111
107
|
default: () => {};
|
|
112
108
|
};
|
|
109
|
+
formProps: {
|
|
110
|
+
type: PropType<PlusFormProps>;
|
|
111
|
+
default: () => {};
|
|
112
|
+
};
|
|
113
113
|
column: {
|
|
114
114
|
type: PropType<PlusColumn>;
|
|
115
115
|
required: true;
|
|
@@ -152,8 +152,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
152
152
|
}) => void;
|
|
153
153
|
}, string, {
|
|
154
154
|
index: number;
|
|
155
|
-
formProps: PlusFormProps;
|
|
156
155
|
rest: RecordType;
|
|
156
|
+
formProps: PlusFormProps;
|
|
157
157
|
column: PlusColumn;
|
|
158
158
|
row: RecordType;
|
|
159
159
|
editable: boolean | "click" | "dblclick";
|
|
@@ -182,14 +182,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
182
182
|
type: PropType<number>;
|
|
183
183
|
default: number;
|
|
184
184
|
};
|
|
185
|
-
formProps: {
|
|
186
|
-
type: PropType<PlusFormProps>;
|
|
187
|
-
default: () => {};
|
|
188
|
-
};
|
|
189
185
|
rest: {
|
|
190
186
|
type: PropType<RecordType>;
|
|
191
187
|
default: () => {};
|
|
192
188
|
};
|
|
189
|
+
formProps: {
|
|
190
|
+
type: PropType<PlusFormProps>;
|
|
191
|
+
default: () => {};
|
|
192
|
+
};
|
|
193
193
|
column: {
|
|
194
194
|
type: PropType<PlusColumn>;
|
|
195
195
|
required: true;
|
|
@@ -226,14 +226,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
226
226
|
};
|
|
227
227
|
}> & {} & ComponentCustomProperties & {} & {
|
|
228
228
|
$slots: Partial<Record<string, (_: {
|
|
229
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
229
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
230
230
|
readonly label: string | ComputedRef<string>;
|
|
231
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
231
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
232
232
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
233
|
-
readonly tooltip: string |
|
|
233
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
234
234
|
style?: CSSProperties | undefined;
|
|
235
235
|
class?: any;
|
|
236
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
236
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
237
237
|
style?: CSSProperties | undefined;
|
|
238
238
|
class?: any;
|
|
239
239
|
} & RecordType>>;
|
|
@@ -255,7 +255,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
255
255
|
};
|
|
256
256
|
rows: number;
|
|
257
257
|
autocomplete: string;
|
|
258
|
-
type: "" | "number" | "default" | "
|
|
258
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
259
259
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
260
260
|
step: string | number;
|
|
261
261
|
format: string | ProgressFn | undefined;
|
|
@@ -289,8 +289,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
289
289
|
dictCode?: string | undefined;
|
|
290
290
|
} | undefined;
|
|
291
291
|
readonly clearable: boolean;
|
|
292
|
+
readonly ellipsis: boolean;
|
|
292
293
|
readonly index: number;
|
|
293
294
|
} & {
|
|
295
|
+
readonly ellipsis: boolean;
|
|
294
296
|
readonly clearable: boolean;
|
|
295
297
|
};
|
|
296
298
|
label: string;
|
|
@@ -300,12 +302,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
300
302
|
fieldInstance?: any;
|
|
301
303
|
valueIsReady?: Ref<boolean> | undefined;
|
|
302
304
|
prop: string;
|
|
303
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
305
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
304
306
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
305
|
-
tooltip: string |
|
|
307
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
306
308
|
style?: CSSProperties | undefined;
|
|
307
309
|
class?: any;
|
|
308
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
310
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
309
311
|
style?: CSSProperties | undefined;
|
|
310
312
|
class?: any;
|
|
311
313
|
} & RecordType>>;
|
|
@@ -332,16 +334,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
332
334
|
dictCode?: string | undefined;
|
|
333
335
|
} | undefined;
|
|
334
336
|
clearable: boolean;
|
|
337
|
+
ellipsis: boolean;
|
|
335
338
|
index: number;
|
|
336
339
|
}) => any>> & Partial<Record<string, (_: {
|
|
337
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
340
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
338
341
|
readonly label: string | ComputedRef<string>;
|
|
339
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
342
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
340
343
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
341
|
-
readonly tooltip: string |
|
|
344
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
342
345
|
style?: CSSProperties | undefined;
|
|
343
346
|
class?: any;
|
|
344
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
347
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
345
348
|
style?: CSSProperties | undefined;
|
|
346
349
|
class?: any;
|
|
347
350
|
} & RecordType>>;
|
|
@@ -363,7 +366,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
363
366
|
};
|
|
364
367
|
rows: number;
|
|
365
368
|
autocomplete: string;
|
|
366
|
-
type: "" | "number" | "default" | "
|
|
369
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
367
370
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
368
371
|
step: string | number;
|
|
369
372
|
format: string | ProgressFn | undefined;
|
|
@@ -397,8 +400,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
397
400
|
dictCode?: string | undefined;
|
|
398
401
|
} | undefined;
|
|
399
402
|
readonly clearable: boolean;
|
|
403
|
+
readonly ellipsis: boolean;
|
|
400
404
|
readonly index: number;
|
|
401
405
|
} & {
|
|
406
|
+
readonly ellipsis: boolean;
|
|
402
407
|
readonly clearable: boolean;
|
|
403
408
|
};
|
|
404
409
|
label: string;
|
|
@@ -408,12 +413,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
408
413
|
fieldInstance?: any;
|
|
409
414
|
valueIsReady?: Ref<boolean> | undefined;
|
|
410
415
|
prop: string;
|
|
411
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
416
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
412
417
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
413
|
-
tooltip: string |
|
|
418
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
414
419
|
style?: CSSProperties | undefined;
|
|
415
420
|
class?: any;
|
|
416
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
421
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
417
422
|
style?: CSSProperties | undefined;
|
|
418
423
|
class?: any;
|
|
419
424
|
} & RecordType>>;
|
|
@@ -440,16 +445,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
440
445
|
dictCode?: string | undefined;
|
|
441
446
|
} | undefined;
|
|
442
447
|
clearable: boolean;
|
|
448
|
+
ellipsis: boolean;
|
|
443
449
|
index: number;
|
|
444
450
|
}) => any>> & Partial<Record<string, (_: {
|
|
445
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
451
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
446
452
|
readonly label: string | ComputedRef<string>;
|
|
447
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
453
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
448
454
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
449
|
-
readonly tooltip: string |
|
|
455
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
450
456
|
style?: CSSProperties | undefined;
|
|
451
457
|
class?: any;
|
|
452
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
458
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
453
459
|
style?: CSSProperties | undefined;
|
|
454
460
|
class?: any;
|
|
455
461
|
} & RecordType>>;
|
|
@@ -471,7 +477,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
471
477
|
};
|
|
472
478
|
rows: number;
|
|
473
479
|
autocomplete: string;
|
|
474
|
-
type: "" | "number" | "default" | "
|
|
480
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
475
481
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
476
482
|
step: string | number;
|
|
477
483
|
format: string | ProgressFn | undefined;
|
|
@@ -505,8 +511,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
505
511
|
dictCode?: string | undefined;
|
|
506
512
|
} | undefined;
|
|
507
513
|
readonly clearable: boolean;
|
|
514
|
+
readonly ellipsis: boolean;
|
|
508
515
|
readonly index: number;
|
|
509
516
|
} & {
|
|
517
|
+
readonly ellipsis: boolean;
|
|
510
518
|
readonly clearable: boolean;
|
|
511
519
|
};
|
|
512
520
|
label: string;
|
|
@@ -516,12 +524,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
516
524
|
fieldInstance?: any;
|
|
517
525
|
valueIsReady?: Ref<boolean> | undefined;
|
|
518
526
|
prop: string;
|
|
519
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
527
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
520
528
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
521
|
-
tooltip: string |
|
|
529
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
522
530
|
style?: CSSProperties | undefined;
|
|
523
531
|
class?: any;
|
|
524
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
532
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
525
533
|
style?: CSSProperties | undefined;
|
|
526
534
|
class?: any;
|
|
527
535
|
} & RecordType>>;
|
|
@@ -548,6 +556,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
548
556
|
dictCode?: string | undefined;
|
|
549
557
|
} | undefined;
|
|
550
558
|
clearable: boolean;
|
|
559
|
+
ellipsis: boolean;
|
|
551
560
|
index: number;
|
|
552
561
|
}) => any>> & Partial<Record<string, (_: {
|
|
553
562
|
column: any;
|
|
@@ -126,8 +126,8 @@ declare const YcCountTo: SFCWithInstall<DefineComponent<{
|
|
|
126
126
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
127
127
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
}, {
|
|
129
|
-
color: string;
|
|
130
129
|
duration: number;
|
|
130
|
+
color: string;
|
|
131
131
|
prefix: string;
|
|
132
132
|
fontSize: string;
|
|
133
133
|
separator: string;
|
|
@@ -119,8 +119,8 @@ declare const _default: DefineComponent<{
|
|
|
119
119
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
120
120
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
color: string;
|
|
123
122
|
duration: number;
|
|
123
|
+
color: string;
|
|
124
124
|
prefix: string;
|
|
125
125
|
fontSize: string;
|
|
126
126
|
separator: string;
|