@flyto/farco 1.2.1 → 1.3.0

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 (165) hide show
  1. package/dist/chunk-0b1102a0.js +95 -0
  2. package/dist/chunk-0d0f8483.js +6 -0
  3. package/dist/chunk-0ec0668f.js +42 -0
  4. package/dist/chunk-0f50b26a.js +153 -0
  5. package/dist/chunk-17a233d7.js +1 -0
  6. package/dist/chunk-18dd07f2.js +71 -0
  7. package/dist/chunk-28ba1e67.js +4525 -0
  8. package/dist/chunk-2d4cc9ab.js +287 -0
  9. package/dist/chunk-32aa5901.js +1 -0
  10. package/dist/chunk-3659754f.js +103 -0
  11. package/dist/chunk-3e27c862.js +38 -0
  12. package/dist/chunk-3e3782aa.js +1 -0
  13. package/dist/chunk-451afd44.js +58 -0
  14. package/dist/chunk-45dbb8f9.js +1 -0
  15. package/dist/chunk-540a3872.js +1 -0
  16. package/dist/chunk-5672685f.js +2 -0
  17. package/dist/chunk-592857c5.js +1 -0
  18. package/dist/chunk-5f89350b.js +2 -0
  19. package/dist/chunk-6c665483.js +4 -0
  20. package/dist/chunk-7779a34c.js +169 -0
  21. package/dist/chunk-7e78427e.js +1 -0
  22. package/dist/chunk-7f0e9b41.js +1 -0
  23. package/dist/chunk-82468a2e.js +1 -0
  24. package/dist/chunk-867494bd.js +99 -0
  25. package/dist/chunk-8a4bafe4.js +135 -0
  26. package/dist/chunk-912642ce.js +36 -0
  27. package/dist/chunk-995c23b4.js +85 -0
  28. package/dist/chunk-a016ffab.js +1 -0
  29. package/dist/chunk-a1e9227b.js +1 -0
  30. package/dist/chunk-a67d2308.js +1 -0
  31. package/dist/chunk-abb01801.js +955 -0
  32. package/dist/chunk-b2838051.js +42 -0
  33. package/dist/chunk-c4c93c86.js +1 -0
  34. package/dist/chunk-c9e8fc0f.js +5 -0
  35. package/dist/chunk-db179b28.js +82 -0
  36. package/dist/chunk-dc6689c4.js +34 -0
  37. package/dist/chunk-e7fc446a.js +29 -0
  38. package/dist/chunk-ed8bf4fb.js +12607 -0
  39. package/dist/chunk-f363e104.js +1 -0
  40. package/dist/chunk-fe45f9f8.js +1 -0
  41. package/dist/fbutton.cjs.js +1 -0
  42. package/dist/fbutton.es.js +9 -0
  43. package/dist/fcheckbox.cjs.js +1 -0
  44. package/dist/fcheckbox.es.js +8 -0
  45. package/dist/fdate.cjs.js +1 -0
  46. package/dist/fdate.es.js +8 -0
  47. package/dist/fform-item.cjs.js +1 -0
  48. package/dist/fform-item.es.js +26 -0
  49. package/dist/fform.cjs.js +1 -0
  50. package/dist/fform.es.js +24 -0
  51. package/dist/ficon.cjs.js +1 -0
  52. package/dist/ficon.es.js +9 -0
  53. package/dist/finput.cjs.js +1 -0
  54. package/dist/finput.es.js +9 -0
  55. package/dist/flink.cjs.js +1 -0
  56. package/dist/flink.es.js +9 -0
  57. package/dist/fml-input.cjs.js +1 -0
  58. package/dist/fml-input.es.js +11 -0
  59. package/dist/fpop-choice.cjs.js +1 -0
  60. package/dist/fpop-choice.es.js +26 -0
  61. package/dist/fquery-list.cjs.js +1 -0
  62. package/dist/fquery-list.es.js +24 -0
  63. package/dist/fradio.cjs.js +1 -0
  64. package/dist/fradio.es.js +8 -0
  65. package/dist/frange.cjs.js +1 -0
  66. package/dist/frange.es.js +10 -0
  67. package/dist/fsearch.cjs.js +1 -0
  68. package/dist/fsearch.es.js +24 -0
  69. package/dist/fselect.cjs.js +1 -0
  70. package/dist/fselect.es.js +12 -0
  71. package/dist/fskeleton.cjs.js +1 -0
  72. package/dist/fskeleton.es.js +8 -0
  73. package/dist/fswitch.cjs.js +1 -0
  74. package/dist/fswitch.es.js +8 -0
  75. package/dist/ftable.cjs.js +1 -0
  76. package/dist/ftable.es.js +13 -0
  77. package/dist/ftext.cjs.js +1 -0
  78. package/dist/ftext.es.js +12 -0
  79. package/dist/ftextarea.cjs.js +1 -0
  80. package/dist/ftextarea.es.js +9 -0
  81. package/dist/index.cjs.js +1 -0
  82. package/dist/index.es.js +175 -19505
  83. package/dist/keys.cjs.js +1 -0
  84. package/dist/keys.es.js +9 -0
  85. package/dist/types/components/fbutton/fbutton.d.ts +35 -35
  86. package/dist/types/components/fbutton/fbutton.vue.d.ts +35 -33
  87. package/dist/types/components/fbutton/index.d.ts +4 -4
  88. package/dist/types/components/fcheckbox/constants/index.d.ts +10 -10
  89. package/dist/types/components/fcheckbox/fcheckbox.d.ts +41 -41
  90. package/dist/types/components/fcheckbox/fcheckbox.vue.d.ts +168 -166
  91. package/dist/types/components/fcheckbox/index.d.ts +4 -4
  92. package/dist/types/components/fdate/fdate.d.ts +67 -67
  93. package/dist/types/components/fdate/fdate.vue.d.ts +47 -45
  94. package/dist/types/components/fdate/index.d.ts +4 -4
  95. package/dist/types/components/fform/fform.d.ts +83 -83
  96. package/dist/types/components/fform/fform.vue.d.ts +124 -122
  97. package/dist/types/components/fform/index.d.ts +4 -4
  98. package/dist/types/components/fform-item/fform-item.d.ts +91 -91
  99. package/dist/types/components/fform-item/fform-item.vue.d.ts +121 -117
  100. package/dist/types/components/fform-item/index.d.ts +4 -4
  101. package/dist/types/components/ficon/ficon.d.ts +44 -44
  102. package/dist/types/components/ficon/ficon.vue.d.ts +63 -59
  103. package/dist/types/components/ficon/index.d.ts +4 -4
  104. package/dist/types/components/finput/finput.d.ts +54 -54
  105. package/dist/types/components/finput/finput.vue.d.ts +87 -83
  106. package/dist/types/components/finput/index.d.ts +4 -4
  107. package/dist/types/components/flink/flink.d.ts +26 -26
  108. package/dist/types/components/flink/flink.vue.d.ts +42 -40
  109. package/dist/types/components/flink/index.d.ts +4 -4
  110. package/dist/types/components/fml-input/fml-input.d.ts +74 -74
  111. package/dist/types/components/fml-input/fml-input.vue.d.ts +601 -622
  112. package/dist/types/components/fml-input/index.d.ts +4 -4
  113. package/dist/types/components/fpop-choice/fpop-choice.d.ts +52 -52
  114. package/dist/types/components/fpop-choice/fpop-choice.vue.d.ts +884 -891
  115. package/dist/types/components/fpop-choice/index.d.ts +5 -5
  116. package/dist/types/components/fpop-choice/utils/index.d.ts +16 -16
  117. package/dist/types/components/fquery-list/fquery-list.d.ts +133 -133
  118. package/dist/types/components/fquery-list/fquery-list.vue.d.ts +467 -1352
  119. package/dist/types/components/fquery-list/index.d.ts +4 -4
  120. package/dist/types/components/fradio/constants/index.d.ts +8 -8
  121. package/dist/types/components/fradio/fradio.d.ts +48 -48
  122. package/dist/types/components/fradio/fradio.vue.d.ts +176 -174
  123. package/dist/types/components/fradio/index.d.ts +4 -4
  124. package/dist/types/components/frange/frange.d.ts +47 -47
  125. package/dist/types/components/frange/frange.vue.d.ts +92 -90
  126. package/dist/types/components/frange/index.d.ts +4 -4
  127. package/dist/types/components/fsearch/fsearch.d.ts +75 -75
  128. package/dist/types/components/fsearch/fsearch.vue.d.ts +103 -103
  129. package/dist/types/components/fsearch/index.d.ts +4 -4
  130. package/dist/types/components/fselect/constants/index.d.ts +6 -6
  131. package/dist/types/components/fselect/fselect-option.vue.d.ts +25 -25
  132. package/dist/types/components/fselect/fselect.d.ts +120 -120
  133. package/dist/types/components/fselect/fselect.vue.d.ts +184 -182
  134. package/dist/types/components/fselect/index.d.ts +4 -4
  135. package/dist/types/components/fskeleton/fskeleton.d.ts +18 -18
  136. package/dist/types/components/fskeleton/fskeleton.vue.d.ts +17 -15
  137. package/dist/types/components/fskeleton/index.d.ts +4 -4
  138. package/dist/types/components/fswitch/fswitch.d.ts +8 -8
  139. package/dist/types/components/fswitch/fswitch.vue.d.ts +365 -365
  140. package/dist/types/components/fswitch/index.d.ts +4 -4
  141. package/dist/types/components/ftable/constants/index.d.ts +14 -14
  142. package/dist/types/components/ftable/ftable-cols-set.vue.d.ts +6 -6
  143. package/dist/types/components/ftable/ftable-toolbar.vue.d.ts +57 -54
  144. package/dist/types/components/ftable/ftable.d.ts +332 -332
  145. package/dist/types/components/ftable/ftable.vue.d.ts +139 -333
  146. package/dist/types/components/ftable/index.d.ts +4 -4
  147. package/dist/types/components/ftable/utils/index.d.ts +13 -13
  148. package/dist/types/components/ftext/ftext.d.ts +97 -96
  149. package/dist/types/components/ftext/ftext.vue.d.ts +88 -86
  150. package/dist/types/components/ftext/index.d.ts +4 -4
  151. package/dist/types/components/ftextarea/ftextarea.d.ts +32 -32
  152. package/dist/types/components/ftextarea/ftextarea.vue.d.ts +569 -575
  153. package/dist/types/components/ftextarea/index.d.ts +4 -4
  154. package/dist/types/components/index.d.ts +40 -40
  155. package/dist/types/constants/fform.d.ts +8 -8
  156. package/dist/types/constants/global.d.ts +9 -24
  157. package/dist/types/constants/keys.d.ts +14 -0
  158. package/dist/types/env.d.ts +4 -0
  159. package/dist/types/index.d.ts +14 -15
  160. package/dist/types/types/global.d.ts +44 -44
  161. package/dist/types/types/index.d.ts +1 -1
  162. package/dist/types/utils/business-format.d.ts +136 -136
  163. package/dist/types/utils/index.d.ts +4 -4
  164. package/package.json +23 -3
  165. package/dist/index.umd.js +0 -128
@@ -1,69 +1,69 @@
1
1
  import { DatePickerProps, MonthPickerProps, QuarterPickerProps, RangePickerProps, WeekPickerProps, YearPickerProps } from '@arco-design/web-vue/es/date-picker/interface';
2
2
  import { PropType } from 'vue';
3
-
4
- export type FDateType = 'time' | 'date' | 'month' | 'quarter' | 'week' | 'year';
5
- export declare const fDateProps: {
6
- /**
7
- * 默认值(非受控模式)
8
- */
9
- defaultValue: {
10
- type: PropType<string | number | Date | (string | number | Date)[]>;
11
- };
12
- /**
13
- * 选择类型
14
- * 此组件将date、year、month、quarter、week整合到了一起
15
- */
16
- type: {
17
- type: PropType<FDateType>;
18
- default: string;
19
- };
20
- /**
21
- * 是否为范围选择
22
- */
23
- range: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- };
28
- type FDateBase = {
29
- /**
30
- * 默认值(非受控模式)
31
- */
32
- defaultValue?: {
33
- type: Date | string | number | (Date | string | number)[];
34
- };
35
- /**
36
- * 选择类型
37
- * 此组件将date、year、month、quarter、week整合到了一起
38
- */
39
- type?: FDateType;
40
- /**
41
- * 是否为范围选择
42
- */
43
- range?: boolean;
44
- };
45
- type FDateNormalProps = Partial<DatePickerProps> & FDateBase & {
46
- defaultValue?: Date | string | number;
47
- type: 'time' | 'date';
48
- };
49
- type FDateWeekProps = Partial<WeekPickerProps> & FDateBase & {
50
- defaultValue?: Date | string | number;
51
- type: 'week';
52
- };
53
- type FDateMonthProps = Partial<MonthPickerProps> & FDateBase & {
54
- defaultValue?: Date | string | number;
55
- type: 'month';
56
- };
57
- type FDateQuarterProps = Partial<QuarterPickerProps> & FDateBase & {
58
- type: 'quarter';
59
- };
60
- type FDateYearProps = Partial<YearPickerProps> & FDateBase & {
61
- defaultValue?: Date | string | number;
62
- type: 'year';
63
- };
64
- type FDateRangeProps = Partial<RangePickerProps> & FDateBase & {
65
- defaultValue?: (Date | string | number)[];
66
- range: true;
67
- };
68
- export type FDateProps = FDateNormalProps | FDateWeekProps | FDateMonthProps | FDateQuarterProps | FDateQuarterProps | FDateYearProps | FDateRangeProps;
69
- export {};
3
+
4
+ export type FDateType = 'time' | 'date' | 'month' | 'quarter' | 'week' | 'year';
5
+ export declare const fDateProps: {
6
+ /**
7
+ * 默认值(非受控模式)
8
+ */
9
+ defaultValue: {
10
+ type: PropType<Date | string | number | (Date | string | number)[]>;
11
+ };
12
+ /**
13
+ * 选择类型
14
+ * 此组件将date、year、month、quarter、week整合到了一起
15
+ */
16
+ type: {
17
+ type: PropType<FDateType>;
18
+ default: string;
19
+ };
20
+ /**
21
+ * 是否为范围选择
22
+ */
23
+ range: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ };
28
+ type FDateBase = {
29
+ /**
30
+ * 默认值(非受控模式)
31
+ */
32
+ defaultValue?: {
33
+ type: Date | string | number | (Date | string | number)[];
34
+ };
35
+ /**
36
+ * 选择类型
37
+ * 此组件将date、year、month、quarter、week整合到了一起
38
+ */
39
+ type?: FDateType;
40
+ /**
41
+ * 是否为范围选择
42
+ */
43
+ range?: boolean;
44
+ };
45
+ type FDateNormalProps = Partial<DatePickerProps> & FDateBase & {
46
+ defaultValue?: Date | string | number;
47
+ type: 'time' | 'date';
48
+ };
49
+ type FDateWeekProps = Partial<WeekPickerProps> & FDateBase & {
50
+ defaultValue?: Date | string | number;
51
+ type: 'week';
52
+ };
53
+ type FDateMonthProps = Partial<MonthPickerProps> & FDateBase & {
54
+ defaultValue?: Date | string | number;
55
+ type: 'month';
56
+ };
57
+ type FDateQuarterProps = Partial<QuarterPickerProps> & FDateBase & {
58
+ type: 'quarter';
59
+ };
60
+ type FDateYearProps = Partial<YearPickerProps> & FDateBase & {
61
+ defaultValue?: Date | string | number;
62
+ type: 'year';
63
+ };
64
+ type FDateRangeProps = Partial<RangePickerProps> & FDateBase & {
65
+ defaultValue?: (Date | string | number)[];
66
+ range: true;
67
+ };
68
+ export type FDateProps = FDateNormalProps | FDateWeekProps | FDateMonthProps | FDateQuarterProps | FDateQuarterProps | FDateYearProps | FDateRangeProps;
69
+ export {};
@@ -1,45 +1,47 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- modelValue: import('vue').PropType<string | number | Date | (string | number | Date)[]>;
3
- defaultValue: {
4
- type: import('vue').PropType<string | number | Date | (string | number | Date)[]>;
5
- };
6
- type: {
7
- type: import('vue').PropType<import('./fdate').FDateType>;
8
- default: string;
9
- };
10
- range: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- }>, {
15
- /**
16
- * 值,在非受控模式下,读取组件的值
17
- */
18
- value: import('vue').ModelRef<string | number | Date | (string | number | Date)[] | undefined, string, string | number | Date | (string | number | Date)[] | undefined, string | number | Date | (string | number | Date)[] | undefined>;
19
- /**
20
- * 实际渲染的 Arco 组件实例(可调用组件内部方法)
21
- * */
22
- ins: import('vue').Ref<any, any>;
23
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
- modelValue: import('vue').PropType<string | number | Date | (string | number | Date)[]>;
25
- defaultValue: {
26
- type: import('vue').PropType<string | number | Date | (string | number | Date)[]>;
27
- };
28
- type: {
29
- type: import('vue').PropType<import('./fdate').FDateType>;
30
- default: string;
31
- };
32
- range: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- }>> & Readonly<{}>, {
37
- type: import('./fdate').FDateType;
38
- range: boolean;
39
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<NonNullable<string | number>, (_: any) => any>>>;
40
- export default _default;
41
- type __VLS_WithTemplateSlots<T, S> = T & {
42
- new (): {
43
- $slots: S;
44
- };
45
- };
1
+ declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: any) => any>>;
2
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ modelValue: import('vue').PropType<Date | string | number | (Date | string | number)[]>;
4
+ defaultValue: {
5
+ type: import('vue').PropType<Date | string | number | (Date | string | number)[]>;
6
+ };
7
+ type: {
8
+ type: import('vue').PropType<import('./fdate').FDateType>;
9
+ default: string;
10
+ };
11
+ range: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }>, {
16
+ /**
17
+ * 值,在非受控模式下,读取组件的值
18
+ */
19
+ value: import('vue').ModelRef<string | number | Date | (string | number | Date)[] | undefined, string, string | number | Date | (string | number | Date)[] | undefined, string | number | Date | (string | number | Date)[] | undefined>;
20
+ /**
21
+ * 实际渲染的 Arco 组件实例(可调用组件内部方法)
22
+ * */
23
+ ins: import('vue').Ref<any, any>;
24
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
+ modelValue: import('vue').PropType<Date | string | number | (Date | string | number)[]>;
26
+ defaultValue: {
27
+ type: import('vue').PropType<Date | string | number | (Date | string | number)[]>;
28
+ };
29
+ type: {
30
+ type: import('vue').PropType<import('./fdate').FDateType>;
31
+ default: string;
32
+ };
33
+ range: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ }>> & Readonly<{}>, {
38
+ type: import('./fdate').FDateType;
39
+ range: boolean;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
42
+ export default _default;
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { default as FDate } from './fdate.vue';
3
-
4
- export default FDate;
5
- export type FDateInstance = InstanceType<typeof FDate>;
6
- export * from './fdate';
3
+
4
+ export default FDate;
5
+ export type FDateInstance = InstanceType<typeof FDate>;
6
+ export * from './fdate';
@@ -2,86 +2,86 @@ import { CSSProperties, ExtractPublicPropTypes, PropType } from 'vue';
2
2
  import { AnyObject } from '../../../../../../../../../src/types';
3
3
  import { GridItemProps, Form, GridProps } from '@arco-design/web-vue';
4
4
  import { FFormItemProps } from '../fform-item';
5
-
6
- export type FFormItemType<T = AnyObject> = FFormItemProps & {
7
- /**
8
- * 搭配 FForm 组件一起使用时,prop为必填项
9
- */
10
- prop: keyof T;
11
- /**
12
- * 扩展 slotName 字段,用于提供组件插槽
13
- */
14
- slotName?: string;
15
- /**
16
- * 行占比配置
17
- */
18
- gridItemProps?: GridItemProps;
19
- };
20
- export declare const fFormProps: {
21
- /**
22
- * 内容区域的class
23
- */
24
- contentClass: {
25
- type: PropType<string | unknown[] | CSSProperties>;
26
- };
27
- /**
28
- * 表单数据,传入此参数时,为受控模式
29
- */
30
- data: {
31
- type: ObjectConstructor;
32
- default: null;
33
- };
34
- /**
35
- * 表单默认数据(非受控模式)
36
- */
37
- defaultData: {
38
- type: ObjectConstructor;
39
- default: null;
40
- };
41
- /**
42
- * Arco Row组件属性
43
- */
44
- gridProps: {
45
- type: PropType<GridProps & {
46
- style?: CSSProperties | undefined;
47
- class?: string | object | string[] | undefined;
48
- }>;
49
- default: () => {};
50
- };
51
- /**
52
- * 统一设置每个FFormItem组件的GridItem属性,如果FFormItem有单独设置,则采用独立设置的值
53
- * @value
54
- * number: 为Arco GridItem组件props中span值
55
- * Object: Arco GridItem组件的props
56
- */
57
- itemSpan: {
58
- type: PropType<number | GridItemProps>;
59
- default: () => {
60
- span: {
61
- xxl: number;
62
- xl: number;
63
- lg: number;
64
- md: number;
65
- sm: number;
66
- xs: number;
67
- };
68
- };
69
- };
70
- /**
71
- * 统一设置每个FFormItem组件标签的宽度
72
- */
73
- labelWidth: {
74
- type: PropType<string | number>;
75
- default: string;
76
- };
77
- /**
78
- * formItem的渲染列表
79
- * @value FFormItem 组件配置项列表
80
- */
81
- items: {
82
- type: PropType<FFormItemType<AnyObject<any>>[]>;
83
- default: () => never[];
84
- required: boolean;
85
- };
86
- };
87
- export type FFormProps = ExtractPublicPropTypes<typeof fFormProps> & Omit<InstanceType<typeof Form>['$props'], 'model'>;
5
+
6
+ export type FFormItemType<T = AnyObject> = FFormItemProps & {
7
+ /**
8
+ * 搭配 FForm 组件一起使用时,prop为必填项
9
+ */
10
+ prop: keyof T;
11
+ /**
12
+ * 扩展 slotName 字段,用于提供组件插槽
13
+ */
14
+ slotName?: string;
15
+ /**
16
+ * 行占比配置
17
+ */
18
+ gridItemProps?: GridItemProps;
19
+ };
20
+ export declare const fFormProps: {
21
+ /**
22
+ * 内容区域的class
23
+ */
24
+ contentClass: {
25
+ type: PropType<string | unknown[] | CSSProperties>;
26
+ };
27
+ /**
28
+ * 表单数据,传入此参数时,为受控模式
29
+ */
30
+ data: {
31
+ type: ObjectConstructor;
32
+ default: null;
33
+ };
34
+ /**
35
+ * 表单默认数据(非受控模式)
36
+ */
37
+ defaultData: {
38
+ type: ObjectConstructor;
39
+ default: null;
40
+ };
41
+ /**
42
+ * Arco Row组件属性
43
+ */
44
+ gridProps: {
45
+ type: PropType<GridProps & {
46
+ style?: CSSProperties;
47
+ class?: string | string[] | object;
48
+ }>;
49
+ default: () => {};
50
+ };
51
+ /**
52
+ * 统一设置每个FFormItem组件的GridItem属性,如果FFormItem有单独设置,则采用独立设置的值
53
+ * @value
54
+ * number: 为Arco GridItem组件props中span值
55
+ * Object: Arco GridItem组件的props
56
+ */
57
+ itemSpan: {
58
+ type: PropType<GridItemProps | number>;
59
+ default: () => {
60
+ span: {
61
+ xxl: number;
62
+ xl: number;
63
+ lg: number;
64
+ md: number;
65
+ sm: number;
66
+ xs: number;
67
+ };
68
+ };
69
+ };
70
+ /**
71
+ * 统一设置每个FFormItem组件标签的宽度
72
+ */
73
+ labelWidth: {
74
+ type: PropType<number | string>;
75
+ default: string;
76
+ };
77
+ /**
78
+ * formItem的渲染列表
79
+ * @value FFormItem 组件配置项列表
80
+ */
81
+ items: {
82
+ type: PropType<FFormItemType[]>;
83
+ default: () => never[];
84
+ required: boolean;
85
+ };
86
+ };
87
+ export type FFormProps = ExtractPublicPropTypes<typeof fFormProps> & Omit<InstanceType<typeof Form>['$props'], 'model'>;