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
|
@@ -51,6 +51,10 @@ export declare const PlusForm: {
|
|
|
51
51
|
type: PropType<string>;
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
|
+
ellipsis: {
|
|
55
|
+
type: PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
54
58
|
defaultValues: {
|
|
55
59
|
type: PropType<FieldValues>;
|
|
56
60
|
default: () => {};
|
|
@@ -175,6 +179,10 @@ export declare const PlusForm: {
|
|
|
175
179
|
type: PropType<string>;
|
|
176
180
|
default: string;
|
|
177
181
|
};
|
|
182
|
+
ellipsis: {
|
|
183
|
+
type: PropType<boolean>;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
178
186
|
defaultValues: {
|
|
179
187
|
type: PropType<FieldValues>;
|
|
180
188
|
default: () => {};
|
|
@@ -258,6 +266,7 @@ export declare const PlusForm: {
|
|
|
258
266
|
labelPosition: "top" | "right" | "left";
|
|
259
267
|
labelWidth: string | number;
|
|
260
268
|
labelSuffix: string;
|
|
269
|
+
ellipsis: boolean;
|
|
261
270
|
defaultValues: FieldValues;
|
|
262
271
|
rowProps: Partial< Mutable<RowProps> & {
|
|
263
272
|
style?: CSSProperties | undefined;
|
|
@@ -329,6 +338,10 @@ export declare const PlusForm: {
|
|
|
329
338
|
type: PropType<string>;
|
|
330
339
|
default: string;
|
|
331
340
|
};
|
|
341
|
+
ellipsis: {
|
|
342
|
+
type: PropType<boolean>;
|
|
343
|
+
default: boolean;
|
|
344
|
+
};
|
|
332
345
|
defaultValues: {
|
|
333
346
|
type: PropType<FieldValues>;
|
|
334
347
|
default: () => {};
|
|
@@ -416,6 +429,7 @@ export declare const PlusForm: {
|
|
|
416
429
|
labelPosition: "top" | "right" | "left";
|
|
417
430
|
labelWidth: string | number;
|
|
418
431
|
labelSuffix: string;
|
|
432
|
+
ellipsis: boolean;
|
|
419
433
|
defaultValues: FieldValues;
|
|
420
434
|
rowProps: Partial< Mutable<RowProps> & {
|
|
421
435
|
style?: CSSProperties | undefined;
|
|
@@ -484,6 +498,10 @@ export declare const PlusForm: {
|
|
|
484
498
|
type: PropType<string>;
|
|
485
499
|
default: string;
|
|
486
500
|
};
|
|
501
|
+
ellipsis: {
|
|
502
|
+
type: PropType<boolean>;
|
|
503
|
+
default: boolean;
|
|
504
|
+
};
|
|
487
505
|
defaultValues: {
|
|
488
506
|
type: PropType<FieldValues>;
|
|
489
507
|
default: () => {};
|
|
@@ -578,6 +596,7 @@ export declare const PlusForm: {
|
|
|
578
596
|
labelPosition: "top" | "right" | "left";
|
|
579
597
|
labelWidth: string | number;
|
|
580
598
|
labelSuffix: string;
|
|
599
|
+
ellipsis: boolean;
|
|
581
600
|
defaultValues: FieldValues;
|
|
582
601
|
rowProps: Partial< Mutable<RowProps> & {
|
|
583
602
|
style?: CSSProperties | undefined;
|
|
@@ -614,14 +633,14 @@ export declare const PlusForm: {
|
|
|
614
633
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
615
634
|
columns?: PlusColumn[] | undefined;
|
|
616
635
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
617
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
636
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
618
637
|
readonly label: string | ComputedRef<string>;
|
|
619
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
638
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
620
639
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
621
|
-
readonly tooltip: string |
|
|
640
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
622
641
|
style?: CSSProperties | undefined;
|
|
623
642
|
class?: any;
|
|
624
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
643
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
625
644
|
style?: CSSProperties | undefined;
|
|
626
645
|
class?: any;
|
|
627
646
|
} & RecordType>>;
|
|
@@ -643,7 +662,7 @@ export declare const PlusForm: {
|
|
|
643
662
|
};
|
|
644
663
|
rows: number;
|
|
645
664
|
autocomplete: string;
|
|
646
|
-
type: "" | "number" | "default" | "
|
|
665
|
+
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;
|
|
647
666
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
648
667
|
step: string | number;
|
|
649
668
|
format: string | ProgressFn | undefined;
|
|
@@ -677,8 +696,10 @@ export declare const PlusForm: {
|
|
|
677
696
|
dictCode?: string | undefined;
|
|
678
697
|
} | undefined;
|
|
679
698
|
readonly clearable: boolean;
|
|
699
|
+
readonly ellipsis: boolean;
|
|
680
700
|
readonly index: number;
|
|
681
701
|
} & {
|
|
702
|
+
readonly ellipsis: boolean;
|
|
682
703
|
readonly clearable: boolean;
|
|
683
704
|
};
|
|
684
705
|
label: string;
|
|
@@ -688,12 +709,12 @@ export declare const PlusForm: {
|
|
|
688
709
|
fieldInstance?: any;
|
|
689
710
|
valueIsReady?: Ref<boolean> | undefined;
|
|
690
711
|
prop: string;
|
|
691
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
712
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
692
713
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
693
|
-
tooltip: string |
|
|
714
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
694
715
|
style?: CSSProperties | undefined;
|
|
695
716
|
class?: any;
|
|
696
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
717
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
697
718
|
style?: CSSProperties | undefined;
|
|
698
719
|
class?: any;
|
|
699
720
|
} & RecordType>>;
|
|
@@ -720,16 +741,17 @@ export declare const PlusForm: {
|
|
|
720
741
|
dictCode?: string | undefined;
|
|
721
742
|
} | undefined;
|
|
722
743
|
clearable: boolean;
|
|
744
|
+
ellipsis: boolean;
|
|
723
745
|
index: number;
|
|
724
746
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
725
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
747
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
726
748
|
readonly label: string | ComputedRef<string>;
|
|
727
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
749
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
728
750
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
729
|
-
readonly tooltip: string |
|
|
751
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
730
752
|
style?: CSSProperties | undefined;
|
|
731
753
|
class?: any;
|
|
732
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
754
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
733
755
|
style?: CSSProperties | undefined;
|
|
734
756
|
class?: any;
|
|
735
757
|
} & RecordType>>;
|
|
@@ -751,7 +773,7 @@ export declare const PlusForm: {
|
|
|
751
773
|
};
|
|
752
774
|
rows: number;
|
|
753
775
|
autocomplete: string;
|
|
754
|
-
type: "" | "number" | "default" | "
|
|
776
|
+
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;
|
|
755
777
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
756
778
|
step: string | number;
|
|
757
779
|
format: string | ProgressFn | undefined;
|
|
@@ -785,8 +807,10 @@ export declare const PlusForm: {
|
|
|
785
807
|
dictCode?: string | undefined;
|
|
786
808
|
} | undefined;
|
|
787
809
|
readonly clearable: boolean;
|
|
810
|
+
readonly ellipsis: boolean;
|
|
788
811
|
readonly index: number;
|
|
789
812
|
} & {
|
|
813
|
+
readonly ellipsis: boolean;
|
|
790
814
|
readonly clearable: boolean;
|
|
791
815
|
};
|
|
792
816
|
label: string;
|
|
@@ -796,12 +820,12 @@ export declare const PlusForm: {
|
|
|
796
820
|
fieldInstance?: any;
|
|
797
821
|
valueIsReady?: Ref<boolean> | undefined;
|
|
798
822
|
prop: string;
|
|
799
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
823
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
800
824
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
801
|
-
tooltip: string |
|
|
825
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
802
826
|
style?: CSSProperties | undefined;
|
|
803
827
|
class?: any;
|
|
804
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
828
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
805
829
|
style?: CSSProperties | undefined;
|
|
806
830
|
class?: any;
|
|
807
831
|
} & RecordType>>;
|
|
@@ -828,6 +852,7 @@ export declare const PlusForm: {
|
|
|
828
852
|
dictCode?: string | undefined;
|
|
829
853
|
} | undefined;
|
|
830
854
|
clearable: boolean;
|
|
855
|
+
ellipsis: boolean;
|
|
831
856
|
index: number;
|
|
832
857
|
}) => any>> & {
|
|
833
858
|
default?(_: {}): any;
|
|
@@ -33,6 +33,10 @@ export interface PlusFormContentProps {
|
|
|
33
33
|
* @version v0.1.18
|
|
34
34
|
*/
|
|
35
35
|
clearable?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* 标签和占位符超出时省略。字段 ellipsis 优先。
|
|
38
|
+
*/
|
|
39
|
+
ellipsis?: boolean;
|
|
36
40
|
}
|
|
37
41
|
export interface PlusFormContentEmits {
|
|
38
42
|
(e: 'update:modelValue', values: FieldValues): void;
|
|
@@ -48,6 +52,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
48
52
|
collapseDuration: undefined;
|
|
49
53
|
collapseTransition: undefined;
|
|
50
54
|
clearable: boolean;
|
|
55
|
+
ellipsis: boolean;
|
|
51
56
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
52
57
|
"update:modelValue": (values: FieldValues) => void;
|
|
53
58
|
change: (values: FieldValues, column: PlusColumn) => void;
|
|
@@ -61,6 +66,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
61
66
|
collapseDuration: undefined;
|
|
62
67
|
collapseTransition: undefined;
|
|
63
68
|
clearable: boolean;
|
|
69
|
+
ellipsis: boolean;
|
|
64
70
|
}>>> & {
|
|
65
71
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
66
72
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -70,6 +76,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
70
76
|
columns: PlusColumn[];
|
|
71
77
|
layout: "grid" | "flex";
|
|
72
78
|
modelValue: FieldValues;
|
|
79
|
+
ellipsis: boolean;
|
|
73
80
|
rowProps: Partial< Mutable<RowProps> & {
|
|
74
81
|
style?: CSSProperties | undefined;
|
|
75
82
|
class?: any;
|
|
@@ -103,10 +110,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
103
110
|
value: string | number;
|
|
104
111
|
row: RecordType;
|
|
105
112
|
}) => OptionsRow<undefined>) | undefined;
|
|
106
|
-
tooltip?: string |
|
|
113
|
+
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
107
114
|
style?: CSSProperties | undefined;
|
|
108
115
|
class?: any;
|
|
109
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
116
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
110
117
|
style?: CSSProperties | undefined;
|
|
111
118
|
class?: any;
|
|
112
119
|
} & RecordType>> | undefined;
|
|
@@ -178,7 +185,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
178
185
|
};
|
|
179
186
|
rows: number;
|
|
180
187
|
autocomplete: string;
|
|
181
|
-
type: "" | "number" | "default" | "
|
|
188
|
+
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;
|
|
182
189
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
183
190
|
step: string | number;
|
|
184
191
|
format: string | ProgressFn | undefined;
|
|
@@ -197,6 +204,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
197
204
|
class?: any;
|
|
198
205
|
} & RecordType>> | undefined;
|
|
199
206
|
hasLabel?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
|
|
207
|
+
ellipsis?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
|
|
200
208
|
renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
|
|
201
209
|
renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
202
210
|
renderPrevious?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
@@ -210,14 +218,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
210
218
|
label?: string | undefined;
|
|
211
219
|
}) => RenderTypes) | undefined;
|
|
212
220
|
}) => any>> & Partial<Record<string, (_: {
|
|
213
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
221
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
214
222
|
readonly label: string | ComputedRef<string>;
|
|
215
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
223
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
216
224
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
217
|
-
readonly tooltip: string |
|
|
225
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
218
226
|
style?: CSSProperties | undefined;
|
|
219
227
|
class?: any;
|
|
220
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
228
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
221
229
|
style?: CSSProperties | undefined;
|
|
222
230
|
class?: any;
|
|
223
231
|
} & RecordType>>;
|
|
@@ -239,7 +247,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
239
247
|
};
|
|
240
248
|
rows: number;
|
|
241
249
|
autocomplete: string;
|
|
242
|
-
type: "" | "number" | "default" | "
|
|
250
|
+
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;
|
|
243
251
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
244
252
|
step: string | number;
|
|
245
253
|
format: string | ProgressFn | undefined;
|
|
@@ -273,8 +281,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
273
281
|
dictCode?: string | undefined;
|
|
274
282
|
} | undefined;
|
|
275
283
|
readonly clearable: boolean;
|
|
284
|
+
readonly ellipsis: boolean;
|
|
276
285
|
readonly index: number;
|
|
277
286
|
} & {
|
|
287
|
+
readonly ellipsis: boolean;
|
|
278
288
|
readonly clearable: boolean;
|
|
279
289
|
};
|
|
280
290
|
label: string;
|
|
@@ -284,12 +294,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
284
294
|
fieldInstance?: any;
|
|
285
295
|
valueIsReady?: Ref<boolean> | undefined;
|
|
286
296
|
prop: string;
|
|
287
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
297
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
288
298
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
289
|
-
tooltip: string |
|
|
299
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
290
300
|
style?: CSSProperties | undefined;
|
|
291
301
|
class?: any;
|
|
292
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
302
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
293
303
|
style?: CSSProperties | undefined;
|
|
294
304
|
class?: any;
|
|
295
305
|
} & RecordType>>;
|
|
@@ -316,16 +326,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
316
326
|
dictCode?: string | undefined;
|
|
317
327
|
} | undefined;
|
|
318
328
|
clearable: boolean;
|
|
329
|
+
ellipsis: boolean;
|
|
319
330
|
index: number;
|
|
320
331
|
}) => any>> & Partial<Record<string, (_: {
|
|
321
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
332
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
322
333
|
readonly label: string | ComputedRef<string>;
|
|
323
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
334
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
324
335
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
325
|
-
readonly tooltip: string |
|
|
336
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
326
337
|
style?: CSSProperties | undefined;
|
|
327
338
|
class?: any;
|
|
328
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
339
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
329
340
|
style?: CSSProperties | undefined;
|
|
330
341
|
class?: any;
|
|
331
342
|
} & RecordType>>;
|
|
@@ -347,7 +358,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
347
358
|
};
|
|
348
359
|
rows: number;
|
|
349
360
|
autocomplete: string;
|
|
350
|
-
type: "" | "number" | "default" | "
|
|
361
|
+
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;
|
|
351
362
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
352
363
|
step: string | number;
|
|
353
364
|
format: string | ProgressFn | undefined;
|
|
@@ -381,8 +392,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
381
392
|
dictCode?: string | undefined;
|
|
382
393
|
} | undefined;
|
|
383
394
|
readonly clearable: boolean;
|
|
395
|
+
readonly ellipsis: boolean;
|
|
384
396
|
readonly index: number;
|
|
385
397
|
} & {
|
|
398
|
+
readonly ellipsis: boolean;
|
|
386
399
|
readonly clearable: boolean;
|
|
387
400
|
};
|
|
388
401
|
label: string;
|
|
@@ -392,12 +405,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
392
405
|
fieldInstance?: any;
|
|
393
406
|
valueIsReady?: Ref<boolean> | undefined;
|
|
394
407
|
prop: string;
|
|
395
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
408
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
396
409
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
397
|
-
tooltip: string |
|
|
410
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
398
411
|
style?: CSSProperties | undefined;
|
|
399
412
|
class?: any;
|
|
400
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
413
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
401
414
|
style?: CSSProperties | undefined;
|
|
402
415
|
class?: any;
|
|
403
416
|
} & RecordType>>;
|
|
@@ -424,6 +437,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
424
437
|
dictCode?: string | undefined;
|
|
425
438
|
} | undefined;
|
|
426
439
|
clearable: boolean;
|
|
440
|
+
ellipsis: boolean;
|
|
427
441
|
index: number;
|
|
428
442
|
}) => any>> & Partial<Record<string, (_: {
|
|
429
443
|
[x: string]: any;
|
|
@@ -448,10 +462,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
448
462
|
value: string | number;
|
|
449
463
|
row: RecordType;
|
|
450
464
|
}) => OptionsRow<undefined>) | undefined;
|
|
451
|
-
tooltip?: string |
|
|
465
|
+
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
452
466
|
style?: CSSProperties | undefined;
|
|
453
467
|
class?: any;
|
|
454
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
468
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
455
469
|
style?: CSSProperties | undefined;
|
|
456
470
|
class?: any;
|
|
457
471
|
} & RecordType>> | undefined;
|
|
@@ -523,7 +537,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
523
537
|
};
|
|
524
538
|
rows: number;
|
|
525
539
|
autocomplete: string;
|
|
526
|
-
type: "" | "number" | "default" | "
|
|
540
|
+
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;
|
|
527
541
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
528
542
|
step: string | number;
|
|
529
543
|
format: string | ProgressFn | undefined;
|
|
@@ -542,6 +556,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
542
556
|
class?: any;
|
|
543
557
|
} & RecordType>> | undefined;
|
|
544
558
|
hasLabel?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
|
|
559
|
+
ellipsis?: boolean | Ref<boolean> | ComputedRef<boolean> | undefined;
|
|
545
560
|
renderLabel?: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
|
|
546
561
|
renderExtra?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
547
562
|
renderPrevious?: ((column: PlusColumn) => RenderTypes) | undefined;
|
|
@@ -31,7 +31,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
31
31
|
colProps: { default: () => ({}) },
|
|
32
32
|
collapseDuration: { default: void 0 },
|
|
33
33
|
collapseTransition: { type: Boolean, default: void 0 },
|
|
34
|
-
clearable: { type: Boolean, default: true }
|
|
34
|
+
clearable: { type: Boolean, default: true },
|
|
35
|
+
ellipsis: { type: Boolean, default: false }
|
|
35
36
|
},
|
|
36
37
|
emits: ["update:modelValue", "change"],
|
|
37
38
|
setup(__props, { emit: __emit }) {
|
|
@@ -58,6 +59,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
58
59
|
}
|
|
59
60
|
return props.hasLabel;
|
|
60
61
|
};
|
|
62
|
+
const getEllipsis = (ellipsis) => {
|
|
63
|
+
const value = vue.unref(ellipsis);
|
|
64
|
+
if (is.isBoolean(value)) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return props.ellipsis;
|
|
68
|
+
};
|
|
61
69
|
vue.watch(
|
|
62
70
|
() => props.modelValue,
|
|
63
71
|
(val) => {
|
|
@@ -112,6 +120,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
112
120
|
}, item, {
|
|
113
121
|
clearable: _ctx.clearable,
|
|
114
122
|
"has-label": getHasLabel(item.hasLabel),
|
|
123
|
+
ellipsis: getEllipsis(item.ellipsis),
|
|
115
124
|
onChange: (value) => handleChange(value, item)
|
|
116
125
|
}), vue.createSlots({
|
|
117
126
|
_: 2
|
|
@@ -138,7 +147,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
138
147
|
]),
|
|
139
148
|
key: "2"
|
|
140
149
|
} : void 0
|
|
141
|
-
]), 1040, ["model-value", "clearable", "has-label", "onChange"]),
|
|
150
|
+
]), 1040, ["model-value", "clearable", "has-label", "ellipsis", "onChange"]),
|
|
142
151
|
vue.createCommentVNode(" el-form-item \u4E0B\u4E00\u884C\u989D\u5916\u7684\u5185\u5BB9 "),
|
|
143
152
|
item.renderExtra || _ctx.$slots[vue.unref(index.getExtraSlotName)(item.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
144
153
|
item.renderExtra && vue.unref(is.isFunction)(item.renderExtra) ? (vue.openBlock(), vue.createBlock(
|
|
@@ -19,6 +19,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
19
19
|
hasFooter: boolean;
|
|
20
20
|
hasReset: boolean;
|
|
21
21
|
hasLabel: boolean;
|
|
22
|
+
ellipsis: boolean;
|
|
22
23
|
submitLoading: boolean;
|
|
23
24
|
submitText: string;
|
|
24
25
|
resetText: string;
|
|
@@ -55,6 +56,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
55
56
|
hasFooter: boolean;
|
|
56
57
|
hasReset: boolean;
|
|
57
58
|
hasLabel: boolean;
|
|
59
|
+
ellipsis: boolean;
|
|
58
60
|
submitLoading: boolean;
|
|
59
61
|
submitText: string;
|
|
60
62
|
resetText: string;
|
|
@@ -85,6 +87,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
85
87
|
labelPosition: "top" | "right" | "left";
|
|
86
88
|
labelWidth: string | number;
|
|
87
89
|
labelSuffix: string;
|
|
90
|
+
ellipsis: boolean;
|
|
88
91
|
defaultValues: FieldValues;
|
|
89
92
|
rowProps: Partial< Mutable<RowProps> & {
|
|
90
93
|
style?: CSSProperties | undefined;
|
|
@@ -120,14 +123,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
120
123
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
121
124
|
columns?: PlusColumn[] | undefined;
|
|
122
125
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
123
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
126
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
124
127
|
readonly label: string | ComputedRef<string>;
|
|
125
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
128
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
126
129
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
127
|
-
readonly tooltip: string |
|
|
130
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
128
131
|
style?: CSSProperties | undefined;
|
|
129
132
|
class?: any;
|
|
130
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
133
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
131
134
|
style?: CSSProperties | undefined;
|
|
132
135
|
class?: any;
|
|
133
136
|
} & RecordType>>;
|
|
@@ -149,7 +152,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
149
152
|
};
|
|
150
153
|
rows: number;
|
|
151
154
|
autocomplete: string;
|
|
152
|
-
type: "" | "number" | "default" | "
|
|
155
|
+
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;
|
|
153
156
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
154
157
|
step: string | number;
|
|
155
158
|
format: string | ProgressFn | undefined;
|
|
@@ -183,8 +186,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
183
186
|
dictCode?: string | undefined;
|
|
184
187
|
} | undefined;
|
|
185
188
|
readonly clearable: boolean;
|
|
189
|
+
readonly ellipsis: boolean;
|
|
186
190
|
readonly index: number;
|
|
187
191
|
} & {
|
|
192
|
+
readonly ellipsis: boolean;
|
|
188
193
|
readonly clearable: boolean;
|
|
189
194
|
};
|
|
190
195
|
label: string;
|
|
@@ -194,12 +199,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
194
199
|
fieldInstance?: any;
|
|
195
200
|
valueIsReady?: Ref<boolean> | undefined;
|
|
196
201
|
prop: string;
|
|
197
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
202
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
198
203
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
199
|
-
tooltip: string |
|
|
204
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
200
205
|
style?: CSSProperties | undefined;
|
|
201
206
|
class?: any;
|
|
202
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
207
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
203
208
|
style?: CSSProperties | undefined;
|
|
204
209
|
class?: any;
|
|
205
210
|
} & RecordType>>;
|
|
@@ -226,16 +231,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
226
231
|
dictCode?: string | undefined;
|
|
227
232
|
} | undefined;
|
|
228
233
|
clearable: boolean;
|
|
234
|
+
ellipsis: boolean;
|
|
229
235
|
index: number;
|
|
230
236
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
231
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
237
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
232
238
|
readonly label: string | ComputedRef<string>;
|
|
233
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
239
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
234
240
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
235
|
-
readonly tooltip: string |
|
|
241
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
236
242
|
style?: CSSProperties | undefined;
|
|
237
243
|
class?: any;
|
|
238
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
244
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
239
245
|
style?: CSSProperties | undefined;
|
|
240
246
|
class?: any;
|
|
241
247
|
} & RecordType>>;
|
|
@@ -257,7 +263,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
257
263
|
};
|
|
258
264
|
rows: number;
|
|
259
265
|
autocomplete: string;
|
|
260
|
-
type: "" | "number" | "default" | "
|
|
266
|
+
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;
|
|
261
267
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
262
268
|
step: string | number;
|
|
263
269
|
format: string | ProgressFn | undefined;
|
|
@@ -291,8 +297,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
291
297
|
dictCode?: string | undefined;
|
|
292
298
|
} | undefined;
|
|
293
299
|
readonly clearable: boolean;
|
|
300
|
+
readonly ellipsis: boolean;
|
|
294
301
|
readonly index: number;
|
|
295
302
|
} & {
|
|
303
|
+
readonly ellipsis: boolean;
|
|
296
304
|
readonly clearable: boolean;
|
|
297
305
|
};
|
|
298
306
|
label: string;
|
|
@@ -302,12 +310,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
302
310
|
fieldInstance?: any;
|
|
303
311
|
valueIsReady?: Ref<boolean> | undefined;
|
|
304
312
|
prop: string;
|
|
305
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
313
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
306
314
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
307
|
-
tooltip: string |
|
|
315
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
308
316
|
style?: CSSProperties | undefined;
|
|
309
317
|
class?: any;
|
|
310
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
318
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
311
319
|
style?: CSSProperties | undefined;
|
|
312
320
|
class?: any;
|
|
313
321
|
} & RecordType>>;
|
|
@@ -334,6 +342,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
334
342
|
dictCode?: string | undefined;
|
|
335
343
|
} | undefined;
|
|
336
344
|
clearable: boolean;
|
|
345
|
+
ellipsis: boolean;
|
|
337
346
|
index: number;
|
|
338
347
|
}) => any>> & {
|
|
339
348
|
default?(_: {}): any;
|