yc-pro-components 0.0.24 → 0.0.25

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.
Files changed (166) hide show
  1. package/es/components/check-card/index.d.ts +61 -61
  2. package/es/components/check-card/src/index.vue.d.ts +4 -4
  3. package/es/components/check-card-group/index.d.ts +43 -43
  4. package/es/components/check-card-group/src/index.vue.d.ts +3 -3
  5. package/es/components/date-picker/index.d.ts +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +2 -2
  7. package/es/components/dialog/index.d.ts +26 -26
  8. package/es/components/dialog/src/index.vue.d.ts +2 -2
  9. package/es/components/dialog-form/index.d.ts +31 -31
  10. package/es/components/dialog-form/src/index.vue.d.ts +9 -9
  11. package/es/components/display-item/index.d.ts +41 -41
  12. package/es/components/display-item/src/index.vue.d.ts +22 -22
  13. package/es/components/drawer-form/index.d.ts +50 -50
  14. package/es/components/drawer-form/src/index.vue.d.ts +10 -10
  15. package/es/components/form/index.d.ts +64 -45
  16. package/es/components/form/src/form-content.vue.d.ts +24 -20
  17. package/es/components/form/src/form-content.vue2.mjs +106 -96
  18. package/es/components/form/src/index.vue.d.ts +20 -17
  19. package/es/components/form/src/index.vue2.mjs +5 -2
  20. package/es/components/form/src/type.d.ts +4 -0
  21. package/es/components/form-item/index.d.ts +42 -42
  22. package/es/components/form-item/src/index.vue.d.ts +12 -12
  23. package/es/components/form-item/src/index.vue2.mjs +22 -18
  24. package/es/components/header/index.d.ts +19 -19
  25. package/es/components/header/src/index.vue.d.ts +1 -1
  26. package/es/components/input-tag/index.d.ts +20 -20
  27. package/es/components/input-tag/src/index.vue.d.ts +8 -8
  28. package/es/components/layout/index.d.ts +30 -30
  29. package/es/components/layout/src/index.vue.d.ts +10 -10
  30. package/es/components/page/index.d.ts +587 -452
  31. package/es/components/page/src/index.vue.d.ts +199 -154
  32. package/es/components/pagination/index.d.ts +42 -42
  33. package/es/components/pagination/src/index.vue.d.ts +3 -3
  34. package/es/components/radio/index.d.ts +35 -35
  35. package/es/components/radio/src/index.vue.d.ts +27 -27
  36. package/es/components/render/index.d.ts +3 -3
  37. package/es/components/render/src/index.vue.d.ts +1 -1
  38. package/es/components/search/index.d.ts +218 -154
  39. package/es/components/search/src/index.vue.d.ts +68 -50
  40. package/es/components/search/src/index.vue2.mjs +3 -1
  41. package/es/components/search/src/type.d.ts +7 -0
  42. package/es/components/sidebar/index.d.ts +15 -15
  43. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  44. package/es/components/steps-form/index.d.ts +23 -23
  45. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  46. package/es/components/table/index.d.ts +54 -54
  47. package/es/components/table/src/index.vue.d.ts +18 -18
  48. package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  49. package/es/components/table/src/table-column.vue.d.ts +37 -37
  50. package/es/components/utils/index.d.ts +2 -2
  51. package/es/components/yc-dialog/index.d.ts +24 -24
  52. package/es/components/yc-download-dialog/index.d.ts +19 -19
  53. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  54. package/es/components/yc-form-container-header/index.d.ts +12 -12
  55. package/es/components/yc-more-actions/index.d.ts +46 -46
  56. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  57. package/es/components/yc-plus-page/src/index.vue.d.ts +450 -360
  58. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  59. package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
  60. package/es/components/yc-segmented/index.d.ts +2 -2
  61. package/es/components/yc-segmented/src/index.d.ts +2 -2
  62. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  63. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  64. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  65. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  66. package/es/hooks/usePlusFormReset.d.ts +208 -208
  67. package/es/index.css +1 -1
  68. package/index.css +6 -6
  69. package/index.js +140 -134
  70. package/index.min.css +1 -1
  71. package/index.min.js +7 -7
  72. package/index.min.mjs +7 -7
  73. package/index.mjs +140 -134
  74. package/lib/components/check-card/index.d.ts +61 -61
  75. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  76. package/lib/components/check-card-group/index.d.ts +43 -43
  77. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  78. package/lib/components/date-picker/index.d.ts +10 -10
  79. package/lib/components/date-picker/src/index.vue.d.ts +2 -2
  80. package/lib/components/dialog/index.d.ts +26 -26
  81. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  82. package/lib/components/dialog-form/index.d.ts +31 -31
  83. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  84. package/lib/components/display-item/index.d.ts +41 -41
  85. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  86. package/lib/components/drawer-form/index.d.ts +50 -50
  87. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  88. package/lib/components/form/index.d.ts +64 -45
  89. package/lib/components/form/src/form-content.vue.d.ts +24 -20
  90. package/lib/components/form/src/form-content.vue2.js +105 -95
  91. package/lib/components/form/src/index.vue.d.ts +20 -17
  92. package/lib/components/form/src/index.vue2.js +5 -2
  93. package/lib/components/form/src/type.d.ts +4 -0
  94. package/lib/components/form-item/index.d.ts +42 -42
  95. package/lib/components/form-item/src/index.vue.d.ts +12 -12
  96. package/lib/components/form-item/src/index.vue2.js +21 -17
  97. package/lib/components/header/index.d.ts +19 -19
  98. package/lib/components/header/src/index.vue.d.ts +1 -1
  99. package/lib/components/input-tag/index.d.ts +20 -20
  100. package/lib/components/input-tag/src/index.vue.d.ts +8 -8
  101. package/lib/components/layout/index.d.ts +30 -30
  102. package/lib/components/layout/src/index.vue.d.ts +10 -10
  103. package/lib/components/page/index.d.ts +587 -452
  104. package/lib/components/page/src/index.vue.d.ts +199 -154
  105. package/lib/components/pagination/index.d.ts +42 -42
  106. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  107. package/lib/components/radio/index.d.ts +35 -35
  108. package/lib/components/radio/src/index.vue.d.ts +27 -27
  109. package/lib/components/render/index.d.ts +3 -3
  110. package/lib/components/render/src/index.vue.d.ts +1 -1
  111. package/lib/components/search/index.d.ts +218 -154
  112. package/lib/components/search/src/index.vue.d.ts +68 -50
  113. package/lib/components/search/src/index.vue2.js +3 -1
  114. package/lib/components/search/src/type.d.ts +7 -0
  115. package/lib/components/sidebar/index.d.ts +15 -15
  116. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  117. package/lib/components/steps-form/index.d.ts +23 -23
  118. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  119. package/lib/components/table/index.d.ts +54 -54
  120. package/lib/components/table/src/index.vue.d.ts +18 -18
  121. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  122. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  123. package/lib/components/utils/index.d.ts +2 -2
  124. package/lib/components/yc-dialog/index.d.ts +24 -24
  125. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  126. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  127. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  128. package/lib/components/yc-more-actions/index.d.ts +46 -46
  129. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  130. package/lib/components/yc-plus-page/src/index.vue.d.ts +450 -360
  131. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  132. package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
  133. package/lib/components/yc-segmented/index.d.ts +2 -2
  134. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  135. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  136. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  137. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  138. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  139. package/lib/hooks/usePlusFormReset.d.ts +208 -208
  140. package/lib/index.css +1 -1
  141. package/locale/en.js +1 -1
  142. package/locale/en.min.js +1 -1
  143. package/locale/en.min.mjs +1 -1
  144. package/locale/en.mjs +1 -1
  145. package/locale/ja.js +1 -1
  146. package/locale/ja.min.js +1 -1
  147. package/locale/ja.min.mjs +1 -1
  148. package/locale/ja.mjs +1 -1
  149. package/locale/ko.js +1 -1
  150. package/locale/ko.min.js +1 -1
  151. package/locale/ko.min.mjs +1 -1
  152. package/locale/ko.mjs +1 -1
  153. package/locale/zh-cn.js +1 -1
  154. package/locale/zh-cn.min.js +1 -1
  155. package/locale/zh-cn.min.mjs +1 -1
  156. package/locale/zh-cn.mjs +1 -1
  157. package/locale/zh-tw.js +1 -1
  158. package/locale/zh-tw.min.js +1 -1
  159. package/locale/zh-tw.min.mjs +1 -1
  160. package/locale/zh-tw.mjs +1 -1
  161. package/package.json +1 -1
  162. package/theme-chalk/index.css +1 -1
  163. package/theme-chalk/plus-form.css +1 -1
  164. package/theme-chalk/plus-search.css +1 -1
  165. package/theme-chalk/src/form.scss +20 -0
  166. package/theme-chalk/src/search.scss +125 -0
@@ -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 { FieldValues, PlusColumn, Mutable, RecordType, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
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,14 @@ export declare const PlusForm: {
31
27
  type: PropType<false | PlusFormGroupRow[]>;
32
28
  default: boolean;
33
29
  };
30
+ layout: {
31
+ type: PropType<"grid" | "flex">;
32
+ default: string;
33
+ };
34
+ modelValue: {
35
+ type: PropType<FieldValues>;
36
+ default: () => {};
37
+ };
34
38
  rules: {
35
39
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
36
40
  default: () => {};
@@ -94,7 +98,7 @@ export declare const PlusForm: {
94
98
  default: boolean;
95
99
  };
96
100
  footerAlign: {
97
- type: PropType<"center" | "right" | "left">;
101
+ type: PropType<"right" | "left" | "center">;
98
102
  default: string;
99
103
  };
100
104
  cardProps: {
@@ -113,10 +117,10 @@ export declare const PlusForm: {
113
117
  default: boolean;
114
118
  };
115
119
  }>> & {
116
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
117
120
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
118
121
  onReset?: ((values: FieldValues) => any) | undefined;
119
122
  onSubmit?: ((values: FieldValues) => any) | undefined;
123
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
120
124
  onValidate?: ((...args: any[]) => any) | undefined;
121
125
  onSubmitError?: ((errors: unknown) => any) | undefined;
122
126
  }, {
@@ -412,10 +416,6 @@ export declare const PlusForm: {
412
416
  submitError: (errors: unknown) => void;
413
417
  validate: (...args: any[]) => void;
414
418
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
415
- modelValue: {
416
- type: PropType<FieldValues>;
417
- default: () => {};
418
- };
419
419
  collapseDuration: {
420
420
  type: PropType<number>;
421
421
  default: undefined;
@@ -432,6 +432,14 @@ export declare const PlusForm: {
432
432
  type: PropType<false | PlusFormGroupRow[]>;
433
433
  default: boolean;
434
434
  };
435
+ layout: {
436
+ type: PropType<"grid" | "flex">;
437
+ default: string;
438
+ };
439
+ modelValue: {
440
+ type: PropType<FieldValues>;
441
+ default: () => {};
442
+ };
435
443
  rules: {
436
444
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
437
445
  default: () => {};
@@ -495,7 +503,7 @@ export declare const PlusForm: {
495
503
  default: boolean;
496
504
  };
497
505
  footerAlign: {
498
- type: PropType<"center" | "right" | "left">;
506
+ type: PropType<"right" | "left" | "center">;
499
507
  default: string;
500
508
  };
501
509
  cardProps: {
@@ -514,18 +522,19 @@ export declare const PlusForm: {
514
522
  default: boolean;
515
523
  };
516
524
  }>> & {
517
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
518
525
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
519
526
  onReset?: ((values: FieldValues) => any) | undefined;
520
527
  onSubmit?: ((values: FieldValues) => any) | undefined;
528
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
521
529
  onValidate?: ((...args: any[]) => any) | undefined;
522
530
  onSubmitError?: ((errors: unknown) => any) | undefined;
523
531
  }, {
524
- modelValue: FieldValues;
525
532
  collapseDuration: number;
526
533
  collapseTransition: boolean;
527
534
  columns: PlusColumn[];
528
535
  group: false | PlusFormGroupRow[];
536
+ layout: "grid" | "flex";
537
+ modelValue: FieldValues;
529
538
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
530
539
  labelPosition: "top" | "right" | "left";
531
540
  labelWidth: string | number;
@@ -546,7 +555,7 @@ export declare const PlusForm: {
546
555
  submitText: string;
547
556
  resetText: string;
548
557
  submitLoading: boolean;
549
- footerAlign: "center" | "right" | "left";
558
+ footerAlign: "right" | "left" | "center";
550
559
  cardProps: Partial< Mutable<CardProps> & {
551
560
  style?: CSSProperties | undefined;
552
561
  class?: any;
@@ -561,10 +570,6 @@ export declare const PlusForm: {
561
570
  M: {};
562
571
  Defaults: {};
563
572
  }, Readonly< ExtractPropTypes<{
564
- modelValue: {
565
- type: PropType<FieldValues>;
566
- default: () => {};
567
- };
568
573
  collapseDuration: {
569
574
  type: PropType<number>;
570
575
  default: undefined;
@@ -581,6 +586,14 @@ export declare const PlusForm: {
581
586
  type: PropType<false | PlusFormGroupRow[]>;
582
587
  default: boolean;
583
588
  };
589
+ layout: {
590
+ type: PropType<"grid" | "flex">;
591
+ default: string;
592
+ };
593
+ modelValue: {
594
+ type: PropType<FieldValues>;
595
+ default: () => {};
596
+ };
584
597
  rules: {
585
598
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
586
599
  default: () => {};
@@ -644,7 +657,7 @@ export declare const PlusForm: {
644
657
  default: boolean;
645
658
  };
646
659
  footerAlign: {
647
- type: PropType<"center" | "right" | "left">;
660
+ type: PropType<"right" | "left" | "center">;
648
661
  default: string;
649
662
  };
650
663
  cardProps: {
@@ -663,10 +676,10 @@ export declare const PlusForm: {
663
676
  default: boolean;
664
677
  };
665
678
  }>> & {
666
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
667
679
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
668
680
  onReset?: ((values: FieldValues) => any) | undefined;
669
681
  onSubmit?: ((values: FieldValues) => any) | undefined;
682
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
670
683
  onValidate?: ((...args: any[]) => any) | undefined;
671
684
  onSubmitError?: ((errors: unknown) => any) | undefined;
672
685
  }, {
@@ -955,11 +968,12 @@ export declare const PlusForm: {
955
968
  handleSubmit: () => void;
956
969
  handleReset: () => void;
957
970
  }, {}, {}, {}, {
958
- modelValue: FieldValues;
959
971
  collapseDuration: number;
960
972
  collapseTransition: boolean;
961
973
  columns: PlusColumn[];
962
974
  group: false | PlusFormGroupRow[];
975
+ layout: "grid" | "flex";
976
+ modelValue: FieldValues;
963
977
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
964
978
  labelPosition: "top" | "right" | "left";
965
979
  labelWidth: string | number;
@@ -980,7 +994,7 @@ export declare const PlusForm: {
980
994
  submitText: string;
981
995
  resetText: string;
982
996
  submitLoading: boolean;
983
- footerAlign: "center" | "right" | "left";
997
+ footerAlign: "right" | "left" | "center";
984
998
  cardProps: Partial< Mutable<CardProps> & {
985
999
  style?: CSSProperties | undefined;
986
1000
  class?: any;
@@ -992,10 +1006,6 @@ export declare const PlusForm: {
992
1006
  __isTeleport?: undefined;
993
1007
  __isSuspense?: undefined;
994
1008
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
995
- modelValue: {
996
- type: PropType<FieldValues>;
997
- default: () => {};
998
- };
999
1009
  collapseDuration: {
1000
1010
  type: PropType<number>;
1001
1011
  default: undefined;
@@ -1012,6 +1022,14 @@ export declare const PlusForm: {
1012
1022
  type: PropType<false | PlusFormGroupRow[]>;
1013
1023
  default: boolean;
1014
1024
  };
1025
+ layout: {
1026
+ type: PropType<"grid" | "flex">;
1027
+ default: string;
1028
+ };
1029
+ modelValue: {
1030
+ type: PropType<FieldValues>;
1031
+ default: () => {};
1032
+ };
1015
1033
  rules: {
1016
1034
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1017
1035
  default: () => {};
@@ -1075,7 +1093,7 @@ export declare const PlusForm: {
1075
1093
  default: boolean;
1076
1094
  };
1077
1095
  footerAlign: {
1078
- type: PropType<"center" | "right" | "left">;
1096
+ type: PropType<"right" | "left" | "center">;
1079
1097
  default: string;
1080
1098
  };
1081
1099
  cardProps: {
@@ -1094,10 +1112,10 @@ export declare const PlusForm: {
1094
1112
  default: boolean;
1095
1113
  };
1096
1114
  }>> & {
1097
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1098
1115
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1099
1116
  onReset?: ((values: FieldValues) => any) | undefined;
1100
1117
  onSubmit?: ((values: FieldValues) => any) | undefined;
1118
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1101
1119
  onValidate?: ((...args: any[]) => any) | undefined;
1102
1120
  onSubmitError?: ((errors: unknown) => any) | undefined;
1103
1121
  }, {
@@ -1393,11 +1411,12 @@ export declare const PlusForm: {
1393
1411
  submitError: (errors: unknown) => void;
1394
1412
  validate: (...args: any[]) => void;
1395
1413
  }, string, {
1396
- modelValue: FieldValues;
1397
1414
  collapseDuration: number;
1398
1415
  collapseTransition: boolean;
1399
1416
  columns: PlusColumn[];
1400
1417
  group: false | PlusFormGroupRow[];
1418
+ layout: "grid" | "flex";
1419
+ modelValue: FieldValues;
1401
1420
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
1402
1421
  labelPosition: "top" | "right" | "left";
1403
1422
  labelWidth: string | number;
@@ -1418,7 +1437,7 @@ export declare const PlusForm: {
1418
1437
  submitText: string;
1419
1438
  resetText: string;
1420
1439
  submitLoading: boolean;
1421
- footerAlign: "center" | "right" | "left";
1440
+ footerAlign: "right" | "left" | "center";
1422
1441
  cardProps: Partial< Mutable<CardProps> & {
1423
1442
  style?: CSSProperties | undefined;
1424
1443
  class?: any;
@@ -1438,14 +1457,14 @@ export declare const PlusForm: {
1438
1457
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
1439
1458
  columns?: PlusColumn[] | undefined;
1440
1459
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1441
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1460
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1442
1461
  readonly label: string | ComputedRef<string>;
1443
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1462
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1444
1463
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1445
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1464
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1446
1465
  style?: CSSProperties | undefined;
1447
1466
  class?: any;
1448
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1467
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1449
1468
  style?: CSSProperties | undefined;
1450
1469
  class?: any;
1451
1470
  } & RecordType>>;
@@ -1512,12 +1531,12 @@ export declare const PlusForm: {
1512
1531
  fieldInstance?: any;
1513
1532
  valueIsReady?: Ref<boolean> | undefined;
1514
1533
  prop: string;
1515
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1534
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1516
1535
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1517
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1536
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1518
1537
  style?: CSSProperties | undefined;
1519
1538
  class?: any;
1520
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1539
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1521
1540
  style?: CSSProperties | undefined;
1522
1541
  class?: any;
1523
1542
  } & RecordType>>;
@@ -1546,14 +1565,14 @@ export declare const PlusForm: {
1546
1565
  clearable: boolean;
1547
1566
  index: number;
1548
1567
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1549
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1568
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1550
1569
  readonly label: string | ComputedRef<string>;
1551
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1570
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1552
1571
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1553
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1572
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1554
1573
  style?: CSSProperties | undefined;
1555
1574
  class?: any;
1556
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1575
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1557
1576
  style?: CSSProperties | undefined;
1558
1577
  class?: any;
1559
1578
  } & RecordType>>;
@@ -1620,12 +1639,12 @@ export declare const PlusForm: {
1620
1639
  fieldInstance?: any;
1621
1640
  valueIsReady?: Ref<boolean> | undefined;
1622
1641
  prop: string;
1623
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1642
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1624
1643
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1625
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1644
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1626
1645
  style?: CSSProperties | undefined;
1627
1646
  class?: any;
1628
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1647
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1629
1648
  style?: CSSProperties | undefined;
1630
1649
  class?: any;
1631
1650
  } & RecordType>>;
@@ -10,6 +10,7 @@ import { Ref, ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps,
10
10
  export interface PlusFormContentProps {
11
11
  modelValue?: FieldValues;
12
12
  hasLabel?: boolean;
13
+ layout?: 'grid' | 'flex';
13
14
  columns?: PlusColumn[];
14
15
  rowProps?: PlusRowProps;
15
16
  colProps?: PlusColProps;
@@ -35,6 +36,7 @@ export interface PlusFormContentEmits {
35
36
  declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusFormContentProps>, {
36
37
  modelValue: () => {};
37
38
  hasLabel: boolean;
39
+ layout: string;
38
40
  rowProps: () => {};
39
41
  colProps: () => {};
40
42
  columns: () => never[];
@@ -47,6 +49,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
47
49
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusFormContentProps>, {
48
50
  modelValue: () => {};
49
51
  hasLabel: boolean;
52
+ layout: string;
50
53
  rowProps: () => {};
51
54
  colProps: () => {};
52
55
  columns: () => never[];
@@ -54,13 +57,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
54
57
  collapseTransition: undefined;
55
58
  clearable: boolean;
56
59
  }>>> & {
57
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
58
60
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
61
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
59
62
  }, {
60
- modelValue: FieldValues;
61
63
  collapseDuration: number;
62
64
  collapseTransition: boolean;
63
65
  columns: PlusColumn[];
66
+ layout: "grid" | "flex";
67
+ modelValue: FieldValues;
64
68
  hasLabel: boolean;
65
69
  rowProps: Partial< Mutable<RowProps> & {
66
70
  style?: CSSProperties | undefined;
@@ -94,10 +98,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
94
98
  value: string | number;
95
99
  row: RecordType;
96
100
  }) => OptionsRow<undefined>) | undefined;
97
- tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
101
+ tooltip?: string | Partial< Mutable<ElTooltipProps> & {
98
102
  style?: CSSProperties | undefined;
99
103
  class?: any;
100
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
104
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
101
105
  style?: CSSProperties | undefined;
102
106
  class?: any;
103
107
  } & RecordType>> | undefined;
@@ -198,14 +202,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
198
202
  label?: string | undefined;
199
203
  }) => RenderTypes) | undefined;
200
204
  }) => any>> & Partial<Record<string, (_: {
201
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
205
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
202
206
  readonly label: string | ComputedRef<string>;
203
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
207
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
204
208
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
205
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
209
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
206
210
  style?: CSSProperties | undefined;
207
211
  class?: any;
208
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
212
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
209
213
  style?: CSSProperties | undefined;
210
214
  class?: any;
211
215
  } & RecordType>>;
@@ -272,12 +276,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
272
276
  fieldInstance?: any;
273
277
  valueIsReady?: Ref<boolean> | undefined;
274
278
  prop: string;
275
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
279
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
276
280
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
277
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
281
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
278
282
  style?: CSSProperties | undefined;
279
283
  class?: any;
280
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
284
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
281
285
  style?: CSSProperties | undefined;
282
286
  class?: any;
283
287
  } & RecordType>>;
@@ -306,14 +310,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
306
310
  clearable: boolean;
307
311
  index: number;
308
312
  }) => any>> & Partial<Record<string, (_: {
309
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
313
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
310
314
  readonly label: string | ComputedRef<string>;
311
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
315
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
312
316
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
313
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
317
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
314
318
  style?: CSSProperties | undefined;
315
319
  class?: any;
316
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
320
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
317
321
  style?: CSSProperties | undefined;
318
322
  class?: any;
319
323
  } & RecordType>>;
@@ -380,12 +384,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
380
384
  fieldInstance?: any;
381
385
  valueIsReady?: Ref<boolean> | undefined;
382
386
  prop: string;
383
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
387
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
384
388
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
385
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
389
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
386
390
  style?: CSSProperties | undefined;
387
391
  class?: any;
388
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
392
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
389
393
  style?: CSSProperties | undefined;
390
394
  class?: any;
391
395
  } & RecordType>>;
@@ -436,10 +440,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
436
440
  value: string | number;
437
441
  row: RecordType;
438
442
  }) => OptionsRow<undefined>) | undefined;
439
- tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
443
+ tooltip?: string | Partial< Mutable<ElTooltipProps> & {
440
444
  style?: CSSProperties | undefined;
441
445
  class?: any;
442
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
446
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
443
447
  style?: CSSProperties | undefined;
444
448
  class?: any;
445
449
  } & RecordType>> | undefined;