yc-pro-components 0.0.11 → 0.0.13
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 +44 -32
- package/es/components/dialog-form/src/index.vue.d.ts +22 -10
- package/es/components/display-item/index.d.ts +80 -44
- package/es/components/display-item/src/index.vue.d.ts +61 -25
- package/es/components/drawer-form/index.d.ts +63 -51
- package/es/components/drawer-form/src/index.vue.d.ts +23 -11
- package/es/components/form/index.d.ts +71 -47
- package/es/components/form/src/form-content.vue.d.ts +60 -24
- package/es/components/form/src/index.vue.d.ts +43 -19
- package/es/components/form-item/index.d.ts +129 -57
- package/es/components/form-item/src/index.vue.d.ts +46 -15
- package/es/components/form-item/src/index.vue2.mjs +1 -0
- 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 +751 -469
- package/es/components/page/src/index.vue.d.ts +263 -161
- package/es/components/page/src/index.vue2.mjs +1 -1
- 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 +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +284 -162
- package/es/components/search/src/index.vue.d.ts +95 -53
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- 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-action-bar.vue2.mjs +1 -1
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +76 -40
- 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 +588 -529
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- 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/constants/dict.d.ts +78 -0
- package/es/constants/dict.mjs +3 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +1 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useDictInjection.d.ts +38 -0
- package/es/hooks/useDictInjection.mjs +18 -0
- package/es/hooks/useGetOptions.mjs +118 -30
- package/es/hooks/usePlusFormReset.d.ts +286 -214
- package/es/index.css +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +2 -0
- package/es/types/plus.d.ts +74 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +9 -5
- package/index.js +187 -65
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +187 -67
- 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 +44 -32
- package/lib/components/dialog-form/src/index.vue.d.ts +22 -10
- package/lib/components/display-item/index.d.ts +80 -44
- package/lib/components/display-item/src/index.vue.d.ts +61 -25
- package/lib/components/drawer-form/index.d.ts +63 -51
- package/lib/components/drawer-form/src/index.vue.d.ts +23 -11
- package/lib/components/form/index.d.ts +71 -47
- package/lib/components/form/src/form-content.vue.d.ts +60 -24
- package/lib/components/form/src/index.vue.d.ts +43 -19
- package/lib/components/form-item/index.d.ts +129 -57
- package/lib/components/form-item/src/index.vue.d.ts +46 -15
- package/lib/components/form-item/src/index.vue2.js +1 -0
- 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 +751 -469
- package/lib/components/page/src/index.vue.d.ts +263 -161
- package/lib/components/page/src/index.vue2.js +1 -1
- 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 +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +284 -162
- package/lib/components/search/src/index.vue.d.ts +95 -53
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- 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-action-bar.vue2.js +1 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +76 -40
- 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 +588 -529
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- 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/constants/dict.d.ts +78 -0
- package/lib/constants/dict.js +5 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +2 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/useDictInjection.d.ts +38 -0
- package/lib/hooks/useDictInjection.js +20 -0
- package/lib/hooks/useGetOptions.js +117 -29
- package/lib/hooks/usePlusFormReset.d.ts +286 -214
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +4 -0
- package/lib/types/plus.d.ts +74 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.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-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -3,7 +3,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
3
3
|
import { FormItemRule, RowProps, ColProps, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
4
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
5
5
|
import { PlusFormGroupRow } from './src/type';
|
|
6
|
-
import {
|
|
6
|
+
import { PlusColumn, FieldValues, Mutable, RecordType, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
7
7
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Component } from 'vue';
|
|
8
8
|
import { default as Form } from './src/index.vue';
|
|
9
9
|
|
|
@@ -11,10 +11,6 @@ export type PlusFormInstance = InstanceType<typeof Form>;
|
|
|
11
11
|
export * from './src/type';
|
|
12
12
|
export declare const PlusForm: {
|
|
13
13
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
14
|
-
modelValue: {
|
|
15
|
-
type: PropType<FieldValues>;
|
|
16
|
-
default: () => {};
|
|
17
|
-
};
|
|
18
14
|
collapseDuration: {
|
|
19
15
|
type: PropType<number>;
|
|
20
16
|
default: undefined;
|
|
@@ -31,6 +27,10 @@ export declare const PlusForm: {
|
|
|
31
27
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
32
28
|
default: boolean;
|
|
33
29
|
};
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: PropType<FieldValues>;
|
|
32
|
+
default: () => {};
|
|
33
|
+
};
|
|
34
34
|
rules: {
|
|
35
35
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
36
36
|
default: () => {};
|
|
@@ -94,7 +94,7 @@ export declare const PlusForm: {
|
|
|
94
94
|
default: boolean;
|
|
95
95
|
};
|
|
96
96
|
footerAlign: {
|
|
97
|
-
type: PropType<"
|
|
97
|
+
type: PropType<"right" | "left" | "center">;
|
|
98
98
|
default: string;
|
|
99
99
|
};
|
|
100
100
|
cardProps: {
|
|
@@ -113,10 +113,10 @@ export declare const PlusForm: {
|
|
|
113
113
|
default: boolean;
|
|
114
114
|
};
|
|
115
115
|
}>> & {
|
|
116
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
117
116
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
118
117
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
119
118
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
119
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
120
120
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
122
122
|
}, {
|
|
@@ -412,10 +412,6 @@ export declare const PlusForm: {
|
|
|
412
412
|
submitError: (errors: unknown) => void;
|
|
413
413
|
validate: (...args: any[]) => void;
|
|
414
414
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
415
|
-
modelValue: {
|
|
416
|
-
type: PropType<FieldValues>;
|
|
417
|
-
default: () => {};
|
|
418
|
-
};
|
|
419
415
|
collapseDuration: {
|
|
420
416
|
type: PropType<number>;
|
|
421
417
|
default: undefined;
|
|
@@ -432,6 +428,10 @@ export declare const PlusForm: {
|
|
|
432
428
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
433
429
|
default: boolean;
|
|
434
430
|
};
|
|
431
|
+
modelValue: {
|
|
432
|
+
type: PropType<FieldValues>;
|
|
433
|
+
default: () => {};
|
|
434
|
+
};
|
|
435
435
|
rules: {
|
|
436
436
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
437
437
|
default: () => {};
|
|
@@ -495,7 +495,7 @@ export declare const PlusForm: {
|
|
|
495
495
|
default: boolean;
|
|
496
496
|
};
|
|
497
497
|
footerAlign: {
|
|
498
|
-
type: PropType<"
|
|
498
|
+
type: PropType<"right" | "left" | "center">;
|
|
499
499
|
default: string;
|
|
500
500
|
};
|
|
501
501
|
cardProps: {
|
|
@@ -514,18 +514,18 @@ export declare const PlusForm: {
|
|
|
514
514
|
default: boolean;
|
|
515
515
|
};
|
|
516
516
|
}>> & {
|
|
517
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
518
517
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
519
518
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
520
519
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
520
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
521
521
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
522
522
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
523
523
|
}, {
|
|
524
|
-
modelValue: FieldValues;
|
|
525
524
|
collapseDuration: number;
|
|
526
525
|
collapseTransition: boolean;
|
|
527
526
|
columns: PlusColumn[];
|
|
528
527
|
group: false | PlusFormGroupRow[];
|
|
528
|
+
modelValue: FieldValues;
|
|
529
529
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
530
530
|
labelPosition: "top" | "right" | "left";
|
|
531
531
|
labelWidth: string | number;
|
|
@@ -546,7 +546,7 @@ export declare const PlusForm: {
|
|
|
546
546
|
submitText: string;
|
|
547
547
|
resetText: string;
|
|
548
548
|
submitLoading: boolean;
|
|
549
|
-
footerAlign: "
|
|
549
|
+
footerAlign: "right" | "left" | "center";
|
|
550
550
|
cardProps: Partial< Mutable<CardProps> & {
|
|
551
551
|
style?: CSSProperties | undefined;
|
|
552
552
|
class?: any;
|
|
@@ -561,10 +561,6 @@ export declare const PlusForm: {
|
|
|
561
561
|
M: {};
|
|
562
562
|
Defaults: {};
|
|
563
563
|
}, Readonly< ExtractPropTypes<{
|
|
564
|
-
modelValue: {
|
|
565
|
-
type: PropType<FieldValues>;
|
|
566
|
-
default: () => {};
|
|
567
|
-
};
|
|
568
564
|
collapseDuration: {
|
|
569
565
|
type: PropType<number>;
|
|
570
566
|
default: undefined;
|
|
@@ -581,6 +577,10 @@ export declare const PlusForm: {
|
|
|
581
577
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
582
578
|
default: boolean;
|
|
583
579
|
};
|
|
580
|
+
modelValue: {
|
|
581
|
+
type: PropType<FieldValues>;
|
|
582
|
+
default: () => {};
|
|
583
|
+
};
|
|
584
584
|
rules: {
|
|
585
585
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
586
586
|
default: () => {};
|
|
@@ -644,7 +644,7 @@ export declare const PlusForm: {
|
|
|
644
644
|
default: boolean;
|
|
645
645
|
};
|
|
646
646
|
footerAlign: {
|
|
647
|
-
type: PropType<"
|
|
647
|
+
type: PropType<"right" | "left" | "center">;
|
|
648
648
|
default: string;
|
|
649
649
|
};
|
|
650
650
|
cardProps: {
|
|
@@ -663,10 +663,10 @@ export declare const PlusForm: {
|
|
|
663
663
|
default: boolean;
|
|
664
664
|
};
|
|
665
665
|
}>> & {
|
|
666
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
667
666
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
668
667
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
669
668
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
669
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
670
670
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
671
671
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
672
672
|
}, {
|
|
@@ -955,11 +955,11 @@ export declare const PlusForm: {
|
|
|
955
955
|
handleSubmit: () => Promise<boolean>;
|
|
956
956
|
handleReset: () => void;
|
|
957
957
|
}, {}, {}, {}, {
|
|
958
|
-
modelValue: FieldValues;
|
|
959
958
|
collapseDuration: number;
|
|
960
959
|
collapseTransition: boolean;
|
|
961
960
|
columns: PlusColumn[];
|
|
962
961
|
group: false | PlusFormGroupRow[];
|
|
962
|
+
modelValue: FieldValues;
|
|
963
963
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
964
964
|
labelPosition: "top" | "right" | "left";
|
|
965
965
|
labelWidth: string | number;
|
|
@@ -980,7 +980,7 @@ export declare const PlusForm: {
|
|
|
980
980
|
submitText: string;
|
|
981
981
|
resetText: string;
|
|
982
982
|
submitLoading: boolean;
|
|
983
|
-
footerAlign: "
|
|
983
|
+
footerAlign: "right" | "left" | "center";
|
|
984
984
|
cardProps: Partial< Mutable<CardProps> & {
|
|
985
985
|
style?: CSSProperties | undefined;
|
|
986
986
|
class?: any;
|
|
@@ -992,10 +992,6 @@ export declare const PlusForm: {
|
|
|
992
992
|
__isTeleport?: undefined;
|
|
993
993
|
__isSuspense?: undefined;
|
|
994
994
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
995
|
-
modelValue: {
|
|
996
|
-
type: PropType<FieldValues>;
|
|
997
|
-
default: () => {};
|
|
998
|
-
};
|
|
999
995
|
collapseDuration: {
|
|
1000
996
|
type: PropType<number>;
|
|
1001
997
|
default: undefined;
|
|
@@ -1012,6 +1008,10 @@ export declare const PlusForm: {
|
|
|
1012
1008
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1013
1009
|
default: boolean;
|
|
1014
1010
|
};
|
|
1011
|
+
modelValue: {
|
|
1012
|
+
type: PropType<FieldValues>;
|
|
1013
|
+
default: () => {};
|
|
1014
|
+
};
|
|
1015
1015
|
rules: {
|
|
1016
1016
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1017
1017
|
default: () => {};
|
|
@@ -1075,7 +1075,7 @@ export declare const PlusForm: {
|
|
|
1075
1075
|
default: boolean;
|
|
1076
1076
|
};
|
|
1077
1077
|
footerAlign: {
|
|
1078
|
-
type: PropType<"
|
|
1078
|
+
type: PropType<"right" | "left" | "center">;
|
|
1079
1079
|
default: string;
|
|
1080
1080
|
};
|
|
1081
1081
|
cardProps: {
|
|
@@ -1094,10 +1094,10 @@ export declare const PlusForm: {
|
|
|
1094
1094
|
default: boolean;
|
|
1095
1095
|
};
|
|
1096
1096
|
}>> & {
|
|
1097
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1098
1097
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1099
1098
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1100
1099
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1100
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1101
1101
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1102
1102
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1103
1103
|
}, {
|
|
@@ -1393,11 +1393,11 @@ export declare const PlusForm: {
|
|
|
1393
1393
|
submitError: (errors: unknown) => void;
|
|
1394
1394
|
validate: (...args: any[]) => void;
|
|
1395
1395
|
}, string, {
|
|
1396
|
-
modelValue: FieldValues;
|
|
1397
1396
|
collapseDuration: number;
|
|
1398
1397
|
collapseTransition: boolean;
|
|
1399
1398
|
columns: PlusColumn[];
|
|
1400
1399
|
group: false | PlusFormGroupRow[];
|
|
1400
|
+
modelValue: FieldValues;
|
|
1401
1401
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1402
1402
|
labelPosition: "top" | "right" | "left";
|
|
1403
1403
|
labelWidth: string | number;
|
|
@@ -1418,7 +1418,7 @@ export declare const PlusForm: {
|
|
|
1418
1418
|
submitText: string;
|
|
1419
1419
|
resetText: string;
|
|
1420
1420
|
submitLoading: boolean;
|
|
1421
|
-
footerAlign: "
|
|
1421
|
+
footerAlign: "right" | "left" | "center";
|
|
1422
1422
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1423
1423
|
style?: CSSProperties | undefined;
|
|
1424
1424
|
class?: any;
|
|
@@ -1438,14 +1438,14 @@ export declare const PlusForm: {
|
|
|
1438
1438
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1439
1439
|
columns?: PlusColumn[] | undefined;
|
|
1440
1440
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1441
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1441
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1442
1442
|
readonly label: string | ComputedRef<string>;
|
|
1443
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1443
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1444
1444
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1445
|
-
readonly tooltip: string |
|
|
1445
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1446
1446
|
style?: CSSProperties | undefined;
|
|
1447
1447
|
class?: any;
|
|
1448
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1448
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1449
1449
|
style?: CSSProperties | undefined;
|
|
1450
1450
|
class?: any;
|
|
1451
1451
|
} & RecordType>>;
|
|
@@ -1467,7 +1467,7 @@ export declare const PlusForm: {
|
|
|
1467
1467
|
};
|
|
1468
1468
|
rows: number;
|
|
1469
1469
|
autocomplete: string;
|
|
1470
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1470
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1471
1471
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1472
1472
|
step: string | number;
|
|
1473
1473
|
format: string | ProgressFn | undefined;
|
|
@@ -1494,6 +1494,12 @@ export declare const PlusForm: {
|
|
|
1494
1494
|
label?: string | undefined;
|
|
1495
1495
|
value?: string | undefined;
|
|
1496
1496
|
} | undefined;
|
|
1497
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1498
|
+
store?: any;
|
|
1499
|
+
method?: string | undefined;
|
|
1500
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1501
|
+
dictCode?: string | undefined;
|
|
1502
|
+
} | undefined;
|
|
1497
1503
|
readonly clearable: boolean;
|
|
1498
1504
|
readonly index: number;
|
|
1499
1505
|
} & {
|
|
@@ -1506,12 +1512,12 @@ export declare const PlusForm: {
|
|
|
1506
1512
|
fieldInstance?: any;
|
|
1507
1513
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1508
1514
|
prop: string;
|
|
1509
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1515
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1510
1516
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1511
|
-
tooltip: string |
|
|
1517
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1512
1518
|
style?: CSSProperties | undefined;
|
|
1513
1519
|
class?: any;
|
|
1514
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1520
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1515
1521
|
style?: CSSProperties | undefined;
|
|
1516
1522
|
class?: any;
|
|
1517
1523
|
} & RecordType>>;
|
|
@@ -1531,17 +1537,23 @@ export declare const PlusForm: {
|
|
|
1531
1537
|
label?: string | undefined;
|
|
1532
1538
|
value?: string | undefined;
|
|
1533
1539
|
} | undefined;
|
|
1540
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1541
|
+
store?: any;
|
|
1542
|
+
method?: string | undefined;
|
|
1543
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1544
|
+
dictCode?: string | undefined;
|
|
1545
|
+
} | undefined;
|
|
1534
1546
|
clearable: boolean;
|
|
1535
1547
|
index: number;
|
|
1536
1548
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1537
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1549
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1538
1550
|
readonly label: string | ComputedRef<string>;
|
|
1539
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1551
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1540
1552
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1541
|
-
readonly tooltip: string |
|
|
1553
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1542
1554
|
style?: CSSProperties | undefined;
|
|
1543
1555
|
class?: any;
|
|
1544
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1556
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1545
1557
|
style?: CSSProperties | undefined;
|
|
1546
1558
|
class?: any;
|
|
1547
1559
|
} & RecordType>>;
|
|
@@ -1563,7 +1575,7 @@ export declare const PlusForm: {
|
|
|
1563
1575
|
};
|
|
1564
1576
|
rows: number;
|
|
1565
1577
|
autocomplete: string;
|
|
1566
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1578
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1567
1579
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1568
1580
|
step: string | number;
|
|
1569
1581
|
format: string | ProgressFn | undefined;
|
|
@@ -1590,6 +1602,12 @@ export declare const PlusForm: {
|
|
|
1590
1602
|
label?: string | undefined;
|
|
1591
1603
|
value?: string | undefined;
|
|
1592
1604
|
} | undefined;
|
|
1605
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1606
|
+
store?: any;
|
|
1607
|
+
method?: string | undefined;
|
|
1608
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1609
|
+
dictCode?: string | undefined;
|
|
1610
|
+
} | undefined;
|
|
1593
1611
|
readonly clearable: boolean;
|
|
1594
1612
|
readonly index: number;
|
|
1595
1613
|
} & {
|
|
@@ -1602,12 +1620,12 @@ export declare const PlusForm: {
|
|
|
1602
1620
|
fieldInstance?: any;
|
|
1603
1621
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1604
1622
|
prop: string;
|
|
1605
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1623
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1606
1624
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1607
|
-
tooltip: string |
|
|
1625
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1608
1626
|
style?: CSSProperties | undefined;
|
|
1609
1627
|
class?: any;
|
|
1610
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1628
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1611
1629
|
style?: CSSProperties | undefined;
|
|
1612
1630
|
class?: any;
|
|
1613
1631
|
} & RecordType>>;
|
|
@@ -1627,6 +1645,12 @@ export declare const PlusForm: {
|
|
|
1627
1645
|
label?: string | undefined;
|
|
1628
1646
|
value?: string | undefined;
|
|
1629
1647
|
} | undefined;
|
|
1648
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1649
|
+
store?: any;
|
|
1650
|
+
method?: string | undefined;
|
|
1651
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1652
|
+
dictCode?: string | undefined;
|
|
1653
|
+
} | undefined;
|
|
1630
1654
|
clearable: boolean;
|
|
1631
1655
|
index: number;
|
|
1632
1656
|
}) => any>> & {
|
|
@@ -54,13 +54,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
54
54
|
collapseTransition: undefined;
|
|
55
55
|
clearable: boolean;
|
|
56
56
|
}>>> & {
|
|
57
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
58
57
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
58
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
59
59
|
}, {
|
|
60
|
-
modelValue: FieldValues;
|
|
61
60
|
collapseDuration: number;
|
|
62
61
|
collapseTransition: boolean;
|
|
63
62
|
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 |
|
|
97
|
+
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
98
98
|
style?: CSSProperties | undefined;
|
|
99
99
|
class?: any;
|
|
100
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
100
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
101
101
|
style?: CSSProperties | undefined;
|
|
102
102
|
class?: any;
|
|
103
103
|
} & RecordType>> | undefined;
|
|
@@ -124,6 +124,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
124
124
|
}) => RenderTypes) | undefined;
|
|
125
125
|
order?: number | ComputedRef<number> | undefined;
|
|
126
126
|
children?: PlusColumn[] | undefined;
|
|
127
|
+
autoDict?: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
128
|
+
store?: any;
|
|
129
|
+
method?: string | undefined;
|
|
130
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
131
|
+
dictCode?: string | undefined;
|
|
132
|
+
} | undefined;
|
|
127
133
|
headerFilter?: boolean | undefined;
|
|
128
134
|
disabledHeaderFilter?: boolean | undefined;
|
|
129
135
|
headerIsChecked?: boolean | undefined;
|
|
@@ -159,7 +165,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
159
165
|
};
|
|
160
166
|
rows: number;
|
|
161
167
|
autocomplete: string;
|
|
162
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
168
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
163
169
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
164
170
|
step: string | number;
|
|
165
171
|
format: string | ProgressFn | undefined;
|
|
@@ -191,14 +197,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
191
197
|
label?: string | undefined;
|
|
192
198
|
}) => RenderTypes) | undefined;
|
|
193
199
|
}) => any>> & Partial<Record<string, (_: {
|
|
194
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
200
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
195
201
|
readonly label: string | ComputedRef<string>;
|
|
196
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
202
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
197
203
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
198
|
-
readonly tooltip: string |
|
|
204
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
199
205
|
style?: CSSProperties | undefined;
|
|
200
206
|
class?: any;
|
|
201
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
207
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
202
208
|
style?: CSSProperties | undefined;
|
|
203
209
|
class?: any;
|
|
204
210
|
} & RecordType>>;
|
|
@@ -220,7 +226,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
220
226
|
};
|
|
221
227
|
rows: number;
|
|
222
228
|
autocomplete: string;
|
|
223
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
229
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
224
230
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
225
231
|
step: string | number;
|
|
226
232
|
format: string | ProgressFn | undefined;
|
|
@@ -247,6 +253,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
247
253
|
label?: string | undefined;
|
|
248
254
|
value?: string | undefined;
|
|
249
255
|
} | undefined;
|
|
256
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
257
|
+
store?: any;
|
|
258
|
+
method?: string | undefined;
|
|
259
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
260
|
+
dictCode?: string | undefined;
|
|
261
|
+
} | undefined;
|
|
250
262
|
readonly clearable: boolean;
|
|
251
263
|
readonly index: number;
|
|
252
264
|
} & {
|
|
@@ -259,12 +271,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
259
271
|
fieldInstance?: any;
|
|
260
272
|
valueIsReady?: Ref<boolean> | undefined;
|
|
261
273
|
prop: string;
|
|
262
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
274
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
263
275
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
264
|
-
tooltip: string |
|
|
276
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
265
277
|
style?: CSSProperties | undefined;
|
|
266
278
|
class?: any;
|
|
267
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
279
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
268
280
|
style?: CSSProperties | undefined;
|
|
269
281
|
class?: any;
|
|
270
282
|
} & RecordType>>;
|
|
@@ -284,17 +296,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
284
296
|
label?: string | undefined;
|
|
285
297
|
value?: string | undefined;
|
|
286
298
|
} | undefined;
|
|
299
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
300
|
+
store?: any;
|
|
301
|
+
method?: string | undefined;
|
|
302
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
303
|
+
dictCode?: string | undefined;
|
|
304
|
+
} | undefined;
|
|
287
305
|
clearable: boolean;
|
|
288
306
|
index: number;
|
|
289
307
|
}) => any>> & Partial<Record<string, (_: {
|
|
290
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
308
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
291
309
|
readonly label: string | ComputedRef<string>;
|
|
292
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
310
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
293
311
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
294
|
-
readonly tooltip: string |
|
|
312
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
295
313
|
style?: CSSProperties | undefined;
|
|
296
314
|
class?: any;
|
|
297
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
315
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
298
316
|
style?: CSSProperties | undefined;
|
|
299
317
|
class?: any;
|
|
300
318
|
} & RecordType>>;
|
|
@@ -316,7 +334,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
316
334
|
};
|
|
317
335
|
rows: number;
|
|
318
336
|
autocomplete: string;
|
|
319
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
337
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
320
338
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
321
339
|
step: string | number;
|
|
322
340
|
format: string | ProgressFn | undefined;
|
|
@@ -343,6 +361,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
343
361
|
label?: string | undefined;
|
|
344
362
|
value?: string | undefined;
|
|
345
363
|
} | undefined;
|
|
364
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
365
|
+
store?: any;
|
|
366
|
+
method?: string | undefined;
|
|
367
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
368
|
+
dictCode?: string | undefined;
|
|
369
|
+
} | undefined;
|
|
346
370
|
readonly clearable: boolean;
|
|
347
371
|
readonly index: number;
|
|
348
372
|
} & {
|
|
@@ -355,12 +379,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
355
379
|
fieldInstance?: any;
|
|
356
380
|
valueIsReady?: Ref<boolean> | undefined;
|
|
357
381
|
prop: string;
|
|
358
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
382
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
359
383
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
360
|
-
tooltip: string |
|
|
384
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
361
385
|
style?: CSSProperties | undefined;
|
|
362
386
|
class?: any;
|
|
363
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
387
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
364
388
|
style?: CSSProperties | undefined;
|
|
365
389
|
class?: any;
|
|
366
390
|
} & RecordType>>;
|
|
@@ -380,6 +404,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
380
404
|
label?: string | undefined;
|
|
381
405
|
value?: string | undefined;
|
|
382
406
|
} | undefined;
|
|
407
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
408
|
+
store?: any;
|
|
409
|
+
method?: string | undefined;
|
|
410
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
411
|
+
dictCode?: string | undefined;
|
|
412
|
+
} | undefined;
|
|
383
413
|
clearable: boolean;
|
|
384
414
|
index: number;
|
|
385
415
|
}) => any>> & Partial<Record<string, (_: {
|
|
@@ -405,10 +435,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
405
435
|
value: string | number;
|
|
406
436
|
row: RecordType;
|
|
407
437
|
}) => OptionsRow<undefined>) | undefined;
|
|
408
|
-
tooltip?: string |
|
|
438
|
+
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
409
439
|
style?: CSSProperties | undefined;
|
|
410
440
|
class?: any;
|
|
411
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
441
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
412
442
|
style?: CSSProperties | undefined;
|
|
413
443
|
class?: any;
|
|
414
444
|
} & RecordType>> | undefined;
|
|
@@ -435,6 +465,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
435
465
|
}) => RenderTypes) | undefined;
|
|
436
466
|
order?: number | ComputedRef<number> | undefined;
|
|
437
467
|
children?: PlusColumn[] | undefined;
|
|
468
|
+
autoDict?: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
469
|
+
store?: any;
|
|
470
|
+
method?: string | undefined;
|
|
471
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
472
|
+
dictCode?: string | undefined;
|
|
473
|
+
} | undefined;
|
|
438
474
|
headerFilter?: boolean | undefined;
|
|
439
475
|
disabledHeaderFilter?: boolean | undefined;
|
|
440
476
|
headerIsChecked?: boolean | undefined;
|
|
@@ -470,7 +506,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
470
506
|
};
|
|
471
507
|
rows: number;
|
|
472
508
|
autocomplete: string;
|
|
473
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
509
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
474
510
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
475
511
|
step: string | number;
|
|
476
512
|
format: string | ProgressFn | undefined;
|