yc-pro-components 0.0.26 → 0.0.28
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 +57 -57
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +22 -22
- package/es/components/check-card-group/src/index.vue.d.ts +19 -19
- package/es/components/date-picker/index.d.ts +1 -1
- package/es/components/date-picker/src/index.vue.d.ts +1 -1
- package/es/components/descriptions/index.d.ts +39 -39
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +19 -19
- package/es/components/dialog/src/index.vue.d.ts +1 -1
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +7 -7
- package/es/components/display-item/index.d.ts +32 -32
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +28 -28
- package/es/components/drawer-form/src/index.vue.d.ts +6 -6
- package/es/components/form/index.d.ts +111 -111
- package/es/components/form/src/form-content.vue.d.ts +25 -19
- package/es/components/form/src/form-content.vue2.mjs +1 -1
- package/es/components/form/src/index.vue.d.ts +18 -18
- package/es/components/form/src/index.vue2.mjs +1 -1
- package/es/components/form-item/index.d.ts +128 -128
- package/es/components/form-item/src/index.vue.d.ts +16 -16
- 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 +11 -11
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +928 -928
- package/es/components/page/src/index.vue.d.ts +297 -297
- package/es/components/pagination/index.d.ts +4 -4
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +26 -26
- package/es/components/radio/src/index.vue.d.ts +26 -26
- package/es/components/render/index.d.ts +17 -17
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +340 -340
- package/es/components/search/src/index.vue.d.ts +99 -99
- 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 +74 -74
- package/es/components/table/src/index.vue.d.ts +19 -19
- package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +28 -28
- package/es/components/utils/index.d.ts +15 -15
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- 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 +744 -902
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +4 -2
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +193 -193
- package/es/index.css +1 -1
- package/index.css +6 -6
- package/index.js +8 -6
- package/index.min.css +1 -1
- package/index.min.js +3 -3
- package/index.min.mjs +3 -3
- package/index.mjs +8 -6
- package/lib/components/check-card/index.d.ts +57 -57
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +22 -22
- package/lib/components/check-card-group/src/index.vue.d.ts +19 -19
- package/lib/components/date-picker/index.d.ts +1 -1
- package/lib/components/date-picker/src/index.vue.d.ts +1 -1
- package/lib/components/descriptions/index.d.ts +39 -39
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +19 -19
- package/lib/components/dialog/src/index.vue.d.ts +1 -1
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
- package/lib/components/display-item/index.d.ts +32 -32
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +28 -28
- package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
- package/lib/components/form/index.d.ts +111 -111
- package/lib/components/form/src/form-content.vue.d.ts +25 -19
- package/lib/components/form/src/form-content.vue2.js +1 -1
- package/lib/components/form/src/index.vue.d.ts +18 -18
- package/lib/components/form/src/index.vue2.js +1 -1
- package/lib/components/form-item/index.d.ts +128 -128
- package/lib/components/form-item/src/index.vue.d.ts +16 -16
- 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 +11 -11
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +928 -928
- package/lib/components/page/src/index.vue.d.ts +297 -297
- package/lib/components/pagination/index.d.ts +4 -4
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +26 -26
- package/lib/components/radio/src/index.vue.d.ts +26 -26
- package/lib/components/render/index.d.ts +17 -17
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +340 -340
- package/lib/components/search/src/index.vue.d.ts +99 -99
- 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 +74 -74
- package/lib/components/table/src/index.vue.d.ts +19 -19
- package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +28 -28
- package/lib/components/utils/index.d.ts +15 -15
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- 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 +744 -902
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +4 -2
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +193 -193
- package/lib/index.css +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-drawer-form.css +1 -1
- package/theme-chalk/plus-form.css +1 -1
- package/theme-chalk/src/drawer-form.scss +6 -0
- package/theme-chalk/src/form.scss +31 -13
- package/theme-chalk/src/index.scss +10 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
|
-
import { FormItemRule,
|
|
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
6
|
import { PlusColumn, FieldValues, Mutable, RecordType, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
|
|
@@ -11,6 +11,14 @@ 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
|
+
collapseDuration: {
|
|
15
|
+
type: PropType<number>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
collapseTransition: {
|
|
19
|
+
type: PropType<boolean>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
14
22
|
columns: {
|
|
15
23
|
type: PropType< PlusColumn[]>;
|
|
16
24
|
default: () => never[];
|
|
@@ -21,7 +29,7 @@ export declare const PlusForm: {
|
|
|
21
29
|
};
|
|
22
30
|
layout: {
|
|
23
31
|
type: PropType<"grid" | "flex">;
|
|
24
|
-
default:
|
|
32
|
+
default: undefined;
|
|
25
33
|
};
|
|
26
34
|
modelValue: {
|
|
27
35
|
type: PropType<FieldValues>;
|
|
@@ -47,25 +55,10 @@ export declare const PlusForm: {
|
|
|
47
55
|
type: PropType<boolean>;
|
|
48
56
|
default: boolean;
|
|
49
57
|
};
|
|
50
|
-
|
|
51
|
-
type: PropType<
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
colProps: {
|
|
55
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
56
|
-
style?: CSSProperties | undefined;
|
|
57
|
-
class?: any;
|
|
58
|
-
} & RecordType>>;
|
|
58
|
+
defaultValues: {
|
|
59
|
+
type: PropType<FieldValues>;
|
|
59
60
|
default: () => {};
|
|
60
61
|
};
|
|
61
|
-
collapseDuration: {
|
|
62
|
-
type: PropType<number>;
|
|
63
|
-
default: undefined;
|
|
64
|
-
};
|
|
65
|
-
collapseTransition: {
|
|
66
|
-
type: PropType<boolean>;
|
|
67
|
-
default: undefined;
|
|
68
|
-
};
|
|
69
62
|
rowProps: {
|
|
70
63
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
71
64
|
style?: CSSProperties | undefined;
|
|
@@ -73,8 +66,11 @@ export declare const PlusForm: {
|
|
|
73
66
|
} & RecordType>>;
|
|
74
67
|
default: () => {};
|
|
75
68
|
};
|
|
76
|
-
|
|
77
|
-
type: PropType<
|
|
69
|
+
colProps: {
|
|
70
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
71
|
+
style?: CSSProperties | undefined;
|
|
72
|
+
class?: any;
|
|
73
|
+
} & RecordType>>;
|
|
78
74
|
default: () => {};
|
|
79
75
|
};
|
|
80
76
|
hasErrorTip: {
|
|
@@ -116,11 +112,15 @@ export declare const PlusForm: {
|
|
|
116
112
|
type: PropType<boolean>;
|
|
117
113
|
default: boolean;
|
|
118
114
|
};
|
|
115
|
+
clearable: {
|
|
116
|
+
type: PropType<boolean>;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
119
|
}>> & {
|
|
120
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
121
120
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
122
121
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
123
122
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
123
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
124
124
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
125
125
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
126
126
|
}, {
|
|
@@ -416,6 +416,14 @@ export declare const PlusForm: {
|
|
|
416
416
|
submitError: (errors: unknown) => void;
|
|
417
417
|
validate: (...args: any[]) => void;
|
|
418
418
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
419
|
+
collapseDuration: {
|
|
420
|
+
type: PropType<number>;
|
|
421
|
+
default: undefined;
|
|
422
|
+
};
|
|
423
|
+
collapseTransition: {
|
|
424
|
+
type: PropType<boolean>;
|
|
425
|
+
default: undefined;
|
|
426
|
+
};
|
|
419
427
|
columns: {
|
|
420
428
|
type: PropType< PlusColumn[]>;
|
|
421
429
|
default: () => never[];
|
|
@@ -426,7 +434,7 @@ export declare const PlusForm: {
|
|
|
426
434
|
};
|
|
427
435
|
layout: {
|
|
428
436
|
type: PropType<"grid" | "flex">;
|
|
429
|
-
default:
|
|
437
|
+
default: undefined;
|
|
430
438
|
};
|
|
431
439
|
modelValue: {
|
|
432
440
|
type: PropType<FieldValues>;
|
|
@@ -452,25 +460,10 @@ export declare const PlusForm: {
|
|
|
452
460
|
type: PropType<boolean>;
|
|
453
461
|
default: boolean;
|
|
454
462
|
};
|
|
455
|
-
|
|
456
|
-
type: PropType<
|
|
457
|
-
default: boolean;
|
|
458
|
-
};
|
|
459
|
-
colProps: {
|
|
460
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
461
|
-
style?: CSSProperties | undefined;
|
|
462
|
-
class?: any;
|
|
463
|
-
} & RecordType>>;
|
|
463
|
+
defaultValues: {
|
|
464
|
+
type: PropType<FieldValues>;
|
|
464
465
|
default: () => {};
|
|
465
466
|
};
|
|
466
|
-
collapseDuration: {
|
|
467
|
-
type: PropType<number>;
|
|
468
|
-
default: undefined;
|
|
469
|
-
};
|
|
470
|
-
collapseTransition: {
|
|
471
|
-
type: PropType<boolean>;
|
|
472
|
-
default: undefined;
|
|
473
|
-
};
|
|
474
467
|
rowProps: {
|
|
475
468
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
476
469
|
style?: CSSProperties | undefined;
|
|
@@ -478,8 +471,11 @@ export declare const PlusForm: {
|
|
|
478
471
|
} & RecordType>>;
|
|
479
472
|
default: () => {};
|
|
480
473
|
};
|
|
481
|
-
|
|
482
|
-
type: PropType<
|
|
474
|
+
colProps: {
|
|
475
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
476
|
+
style?: CSSProperties | undefined;
|
|
477
|
+
class?: any;
|
|
478
|
+
} & RecordType>>;
|
|
483
479
|
default: () => {};
|
|
484
480
|
};
|
|
485
481
|
hasErrorTip: {
|
|
@@ -521,14 +517,20 @@ export declare const PlusForm: {
|
|
|
521
517
|
type: PropType<boolean>;
|
|
522
518
|
default: boolean;
|
|
523
519
|
};
|
|
520
|
+
clearable: {
|
|
521
|
+
type: PropType<boolean>;
|
|
522
|
+
default: boolean;
|
|
523
|
+
};
|
|
524
524
|
}>> & {
|
|
525
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
526
525
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
527
526
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
528
527
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
528
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
529
529
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
530
530
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
531
531
|
}, {
|
|
532
|
+
collapseDuration: number;
|
|
533
|
+
collapseTransition: boolean;
|
|
532
534
|
columns: PlusColumn[];
|
|
533
535
|
group: false | PlusFormGroupRow[];
|
|
534
536
|
layout: "grid" | "flex";
|
|
@@ -538,18 +540,15 @@ export declare const PlusForm: {
|
|
|
538
540
|
labelWidth: string | number;
|
|
539
541
|
labelSuffix: string;
|
|
540
542
|
hasLabel: boolean;
|
|
541
|
-
|
|
542
|
-
|
|
543
|
+
defaultValues: FieldValues;
|
|
544
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
543
545
|
style?: CSSProperties | undefined;
|
|
544
546
|
class?: any;
|
|
545
547
|
} & RecordType>;
|
|
546
|
-
|
|
547
|
-
collapseTransition: boolean;
|
|
548
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
548
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
549
549
|
style?: CSSProperties | undefined;
|
|
550
550
|
class?: any;
|
|
551
551
|
} & RecordType>;
|
|
552
|
-
defaultValues: FieldValues;
|
|
553
552
|
hasErrorTip: boolean;
|
|
554
553
|
hasFooter: boolean;
|
|
555
554
|
hasReset: boolean;
|
|
@@ -562,6 +561,7 @@ export declare const PlusForm: {
|
|
|
562
561
|
class?: any;
|
|
563
562
|
} & RecordType>;
|
|
564
563
|
prevent: boolean;
|
|
564
|
+
clearable: boolean;
|
|
565
565
|
}, true, {}, {}, {
|
|
566
566
|
P: {};
|
|
567
567
|
B: {};
|
|
@@ -570,6 +570,14 @@ export declare const PlusForm: {
|
|
|
570
570
|
M: {};
|
|
571
571
|
Defaults: {};
|
|
572
572
|
}, Readonly< ExtractPropTypes<{
|
|
573
|
+
collapseDuration: {
|
|
574
|
+
type: PropType<number>;
|
|
575
|
+
default: undefined;
|
|
576
|
+
};
|
|
577
|
+
collapseTransition: {
|
|
578
|
+
type: PropType<boolean>;
|
|
579
|
+
default: undefined;
|
|
580
|
+
};
|
|
573
581
|
columns: {
|
|
574
582
|
type: PropType< PlusColumn[]>;
|
|
575
583
|
default: () => never[];
|
|
@@ -580,7 +588,7 @@ export declare const PlusForm: {
|
|
|
580
588
|
};
|
|
581
589
|
layout: {
|
|
582
590
|
type: PropType<"grid" | "flex">;
|
|
583
|
-
default:
|
|
591
|
+
default: undefined;
|
|
584
592
|
};
|
|
585
593
|
modelValue: {
|
|
586
594
|
type: PropType<FieldValues>;
|
|
@@ -606,25 +614,10 @@ export declare const PlusForm: {
|
|
|
606
614
|
type: PropType<boolean>;
|
|
607
615
|
default: boolean;
|
|
608
616
|
};
|
|
609
|
-
|
|
610
|
-
type: PropType<
|
|
611
|
-
default: boolean;
|
|
612
|
-
};
|
|
613
|
-
colProps: {
|
|
614
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
615
|
-
style?: CSSProperties | undefined;
|
|
616
|
-
class?: any;
|
|
617
|
-
} & RecordType>>;
|
|
617
|
+
defaultValues: {
|
|
618
|
+
type: PropType<FieldValues>;
|
|
618
619
|
default: () => {};
|
|
619
620
|
};
|
|
620
|
-
collapseDuration: {
|
|
621
|
-
type: PropType<number>;
|
|
622
|
-
default: undefined;
|
|
623
|
-
};
|
|
624
|
-
collapseTransition: {
|
|
625
|
-
type: PropType<boolean>;
|
|
626
|
-
default: undefined;
|
|
627
|
-
};
|
|
628
621
|
rowProps: {
|
|
629
622
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
630
623
|
style?: CSSProperties | undefined;
|
|
@@ -632,8 +625,11 @@ export declare const PlusForm: {
|
|
|
632
625
|
} & RecordType>>;
|
|
633
626
|
default: () => {};
|
|
634
627
|
};
|
|
635
|
-
|
|
636
|
-
type: PropType<
|
|
628
|
+
colProps: {
|
|
629
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
630
|
+
style?: CSSProperties | undefined;
|
|
631
|
+
class?: any;
|
|
632
|
+
} & RecordType>>;
|
|
637
633
|
default: () => {};
|
|
638
634
|
};
|
|
639
635
|
hasErrorTip: {
|
|
@@ -675,11 +671,15 @@ export declare const PlusForm: {
|
|
|
675
671
|
type: PropType<boolean>;
|
|
676
672
|
default: boolean;
|
|
677
673
|
};
|
|
674
|
+
clearable: {
|
|
675
|
+
type: PropType<boolean>;
|
|
676
|
+
default: boolean;
|
|
677
|
+
};
|
|
678
678
|
}>> & {
|
|
679
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
680
679
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
681
680
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
682
681
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
682
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
683
683
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
684
684
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
685
685
|
}, {
|
|
@@ -968,6 +968,8 @@ export declare const PlusForm: {
|
|
|
968
968
|
handleSubmit: () => void;
|
|
969
969
|
handleReset: () => void;
|
|
970
970
|
}, {}, {}, {}, {
|
|
971
|
+
collapseDuration: number;
|
|
972
|
+
collapseTransition: boolean;
|
|
971
973
|
columns: PlusColumn[];
|
|
972
974
|
group: false | PlusFormGroupRow[];
|
|
973
975
|
layout: "grid" | "flex";
|
|
@@ -977,18 +979,15 @@ export declare const PlusForm: {
|
|
|
977
979
|
labelWidth: string | number;
|
|
978
980
|
labelSuffix: string;
|
|
979
981
|
hasLabel: boolean;
|
|
980
|
-
|
|
981
|
-
|
|
982
|
+
defaultValues: FieldValues;
|
|
983
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
982
984
|
style?: CSSProperties | undefined;
|
|
983
985
|
class?: any;
|
|
984
986
|
} & RecordType>;
|
|
985
|
-
|
|
986
|
-
collapseTransition: boolean;
|
|
987
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
987
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
988
988
|
style?: CSSProperties | undefined;
|
|
989
989
|
class?: any;
|
|
990
990
|
} & RecordType>;
|
|
991
|
-
defaultValues: FieldValues;
|
|
992
991
|
hasErrorTip: boolean;
|
|
993
992
|
hasFooter: boolean;
|
|
994
993
|
hasReset: boolean;
|
|
@@ -1001,11 +1000,20 @@ export declare const PlusForm: {
|
|
|
1001
1000
|
class?: any;
|
|
1002
1001
|
} & RecordType>;
|
|
1003
1002
|
prevent: boolean;
|
|
1003
|
+
clearable: boolean;
|
|
1004
1004
|
}>;
|
|
1005
1005
|
__isFragment?: undefined;
|
|
1006
1006
|
__isTeleport?: undefined;
|
|
1007
1007
|
__isSuspense?: undefined;
|
|
1008
1008
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1009
|
+
collapseDuration: {
|
|
1010
|
+
type: PropType<number>;
|
|
1011
|
+
default: undefined;
|
|
1012
|
+
};
|
|
1013
|
+
collapseTransition: {
|
|
1014
|
+
type: PropType<boolean>;
|
|
1015
|
+
default: undefined;
|
|
1016
|
+
};
|
|
1009
1017
|
columns: {
|
|
1010
1018
|
type: PropType< PlusColumn[]>;
|
|
1011
1019
|
default: () => never[];
|
|
@@ -1016,7 +1024,7 @@ export declare const PlusForm: {
|
|
|
1016
1024
|
};
|
|
1017
1025
|
layout: {
|
|
1018
1026
|
type: PropType<"grid" | "flex">;
|
|
1019
|
-
default:
|
|
1027
|
+
default: undefined;
|
|
1020
1028
|
};
|
|
1021
1029
|
modelValue: {
|
|
1022
1030
|
type: PropType<FieldValues>;
|
|
@@ -1042,25 +1050,10 @@ export declare const PlusForm: {
|
|
|
1042
1050
|
type: PropType<boolean>;
|
|
1043
1051
|
default: boolean;
|
|
1044
1052
|
};
|
|
1045
|
-
|
|
1046
|
-
type: PropType<
|
|
1047
|
-
default: boolean;
|
|
1048
|
-
};
|
|
1049
|
-
colProps: {
|
|
1050
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
1051
|
-
style?: CSSProperties | undefined;
|
|
1052
|
-
class?: any;
|
|
1053
|
-
} & RecordType>>;
|
|
1053
|
+
defaultValues: {
|
|
1054
|
+
type: PropType<FieldValues>;
|
|
1054
1055
|
default: () => {};
|
|
1055
1056
|
};
|
|
1056
|
-
collapseDuration: {
|
|
1057
|
-
type: PropType<number>;
|
|
1058
|
-
default: undefined;
|
|
1059
|
-
};
|
|
1060
|
-
collapseTransition: {
|
|
1061
|
-
type: PropType<boolean>;
|
|
1062
|
-
default: undefined;
|
|
1063
|
-
};
|
|
1064
1057
|
rowProps: {
|
|
1065
1058
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
1066
1059
|
style?: CSSProperties | undefined;
|
|
@@ -1068,8 +1061,11 @@ export declare const PlusForm: {
|
|
|
1068
1061
|
} & RecordType>>;
|
|
1069
1062
|
default: () => {};
|
|
1070
1063
|
};
|
|
1071
|
-
|
|
1072
|
-
type: PropType<
|
|
1064
|
+
colProps: {
|
|
1065
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1066
|
+
style?: CSSProperties | undefined;
|
|
1067
|
+
class?: any;
|
|
1068
|
+
} & RecordType>>;
|
|
1073
1069
|
default: () => {};
|
|
1074
1070
|
};
|
|
1075
1071
|
hasErrorTip: {
|
|
@@ -1111,11 +1107,15 @@ export declare const PlusForm: {
|
|
|
1111
1107
|
type: PropType<boolean>;
|
|
1112
1108
|
default: boolean;
|
|
1113
1109
|
};
|
|
1110
|
+
clearable: {
|
|
1111
|
+
type: PropType<boolean>;
|
|
1112
|
+
default: boolean;
|
|
1113
|
+
};
|
|
1114
1114
|
}>> & {
|
|
1115
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1116
1115
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1117
1116
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1118
1117
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1118
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1119
1119
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1120
1120
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1121
1121
|
}, {
|
|
@@ -1411,6 +1411,8 @@ export declare const PlusForm: {
|
|
|
1411
1411
|
submitError: (errors: unknown) => void;
|
|
1412
1412
|
validate: (...args: any[]) => void;
|
|
1413
1413
|
}, string, {
|
|
1414
|
+
collapseDuration: number;
|
|
1415
|
+
collapseTransition: boolean;
|
|
1414
1416
|
columns: PlusColumn[];
|
|
1415
1417
|
group: false | PlusFormGroupRow[];
|
|
1416
1418
|
layout: "grid" | "flex";
|
|
@@ -1420,18 +1422,15 @@ export declare const PlusForm: {
|
|
|
1420
1422
|
labelWidth: string | number;
|
|
1421
1423
|
labelSuffix: string;
|
|
1422
1424
|
hasLabel: boolean;
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
+
defaultValues: FieldValues;
|
|
1426
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1425
1427
|
style?: CSSProperties | undefined;
|
|
1426
1428
|
class?: any;
|
|
1427
1429
|
} & RecordType>;
|
|
1428
|
-
|
|
1429
|
-
collapseTransition: boolean;
|
|
1430
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1430
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1431
1431
|
style?: CSSProperties | undefined;
|
|
1432
1432
|
class?: any;
|
|
1433
1433
|
} & RecordType>;
|
|
1434
|
-
defaultValues: FieldValues;
|
|
1435
1434
|
hasErrorTip: boolean;
|
|
1436
1435
|
hasFooter: boolean;
|
|
1437
1436
|
hasReset: boolean;
|
|
@@ -1444,6 +1443,7 @@ export declare const PlusForm: {
|
|
|
1444
1443
|
class?: any;
|
|
1445
1444
|
} & RecordType>;
|
|
1446
1445
|
prevent: boolean;
|
|
1446
|
+
clearable: boolean;
|
|
1447
1447
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1448
1448
|
$slots: Partial<Record<string, (_: {
|
|
1449
1449
|
index: number;
|
|
@@ -1457,9 +1457,9 @@ export declare const PlusForm: {
|
|
|
1457
1457
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1458
1458
|
columns?: PlusColumn[] | undefined;
|
|
1459
1459
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1460
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1460
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1461
1461
|
readonly label: string | ComputedRef<string>;
|
|
1462
|
-
readonly modelValue: string | number | boolean |
|
|
1462
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1463
1463
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1464
1464
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1465
1465
|
style?: CSSProperties | undefined;
|
|
@@ -1486,7 +1486,7 @@ export declare const PlusForm: {
|
|
|
1486
1486
|
};
|
|
1487
1487
|
rows: number;
|
|
1488
1488
|
autocomplete: string;
|
|
1489
|
-
type: "" | "number" | "default" | "
|
|
1489
|
+
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";
|
|
1490
1490
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1491
1491
|
step: string | number;
|
|
1492
1492
|
format: string | ProgressFn | undefined;
|
|
@@ -1531,7 +1531,7 @@ export declare const PlusForm: {
|
|
|
1531
1531
|
fieldInstance?: any;
|
|
1532
1532
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1533
1533
|
prop: string;
|
|
1534
|
-
modelValue: string | number | boolean |
|
|
1534
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1535
1535
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1536
1536
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1537
1537
|
style?: CSSProperties | undefined;
|
|
@@ -1565,9 +1565,9 @@ export declare const PlusForm: {
|
|
|
1565
1565
|
clearable: boolean;
|
|
1566
1566
|
index: number;
|
|
1567
1567
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1568
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1568
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1569
1569
|
readonly label: string | ComputedRef<string>;
|
|
1570
|
-
readonly modelValue: string | number | boolean |
|
|
1570
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1571
1571
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1572
1572
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1573
1573
|
style?: CSSProperties | undefined;
|
|
@@ -1594,7 +1594,7 @@ export declare const PlusForm: {
|
|
|
1594
1594
|
};
|
|
1595
1595
|
rows: number;
|
|
1596
1596
|
autocomplete: string;
|
|
1597
|
-
type: "" | "number" | "default" | "
|
|
1597
|
+
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";
|
|
1598
1598
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1599
1599
|
step: string | number;
|
|
1600
1600
|
format: string | ProgressFn | undefined;
|
|
@@ -1639,7 +1639,7 @@ export declare const PlusForm: {
|
|
|
1639
1639
|
fieldInstance?: any;
|
|
1640
1640
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1641
1641
|
prop: string;
|
|
1642
|
-
modelValue: string | number | boolean |
|
|
1642
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1643
1643
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1644
1644
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1645
1645
|
style?: CSSProperties | undefined;
|