@flyto/farco 1.2.1 → 1.4.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 (166) 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/index.umd.js +25 -25
  84. package/dist/keys.cjs.js +1 -0
  85. package/dist/keys.es.js +9 -0
  86. package/dist/style.css +1 -1
  87. package/dist/types/components/fbutton/fbutton.d.ts +35 -35
  88. package/dist/types/components/fbutton/fbutton.vue.d.ts +35 -33
  89. package/dist/types/components/fbutton/index.d.ts +4 -4
  90. package/dist/types/components/fcheckbox/constants/index.d.ts +10 -10
  91. package/dist/types/components/fcheckbox/fcheckbox.d.ts +41 -41
  92. package/dist/types/components/fcheckbox/fcheckbox.vue.d.ts +168 -166
  93. package/dist/types/components/fcheckbox/index.d.ts +4 -4
  94. package/dist/types/components/fdate/fdate.d.ts +67 -67
  95. package/dist/types/components/fdate/fdate.vue.d.ts +47 -45
  96. package/dist/types/components/fdate/index.d.ts +4 -4
  97. package/dist/types/components/fform/fform.d.ts +83 -83
  98. package/dist/types/components/fform/fform.vue.d.ts +124 -122
  99. package/dist/types/components/fform/index.d.ts +4 -4
  100. package/dist/types/components/fform-item/fform-item.d.ts +91 -91
  101. package/dist/types/components/fform-item/fform-item.vue.d.ts +121 -117
  102. package/dist/types/components/fform-item/index.d.ts +4 -4
  103. package/dist/types/components/ficon/ficon.d.ts +44 -44
  104. package/dist/types/components/ficon/ficon.vue.d.ts +63 -59
  105. package/dist/types/components/ficon/index.d.ts +4 -4
  106. package/dist/types/components/finput/finput.d.ts +54 -54
  107. package/dist/types/components/finput/finput.vue.d.ts +87 -83
  108. package/dist/types/components/finput/index.d.ts +4 -4
  109. package/dist/types/components/flink/flink.d.ts +26 -26
  110. package/dist/types/components/flink/flink.vue.d.ts +42 -40
  111. package/dist/types/components/flink/index.d.ts +4 -4
  112. package/dist/types/components/fml-input/fml-input.d.ts +74 -74
  113. package/dist/types/components/fml-input/fml-input.vue.d.ts +601 -622
  114. package/dist/types/components/fml-input/index.d.ts +4 -4
  115. package/dist/types/components/fpop-choice/fpop-choice.d.ts +52 -52
  116. package/dist/types/components/fpop-choice/fpop-choice.vue.d.ts +884 -891
  117. package/dist/types/components/fpop-choice/index.d.ts +5 -5
  118. package/dist/types/components/fpop-choice/utils/index.d.ts +16 -16
  119. package/dist/types/components/fquery-list/fquery-list.d.ts +133 -133
  120. package/dist/types/components/fquery-list/fquery-list.vue.d.ts +467 -1352
  121. package/dist/types/components/fquery-list/index.d.ts +4 -4
  122. package/dist/types/components/fradio/constants/index.d.ts +8 -8
  123. package/dist/types/components/fradio/fradio.d.ts +48 -48
  124. package/dist/types/components/fradio/fradio.vue.d.ts +176 -174
  125. package/dist/types/components/fradio/index.d.ts +4 -4
  126. package/dist/types/components/frange/frange.d.ts +47 -47
  127. package/dist/types/components/frange/frange.vue.d.ts +92 -90
  128. package/dist/types/components/frange/index.d.ts +4 -4
  129. package/dist/types/components/fsearch/fsearch.d.ts +75 -75
  130. package/dist/types/components/fsearch/fsearch.vue.d.ts +103 -103
  131. package/dist/types/components/fsearch/index.d.ts +4 -4
  132. package/dist/types/components/fselect/constants/index.d.ts +6 -6
  133. package/dist/types/components/fselect/fselect-option.vue.d.ts +25 -25
  134. package/dist/types/components/fselect/fselect.d.ts +120 -120
  135. package/dist/types/components/fselect/fselect.vue.d.ts +184 -182
  136. package/dist/types/components/fselect/index.d.ts +4 -4
  137. package/dist/types/components/fskeleton/fskeleton.d.ts +18 -18
  138. package/dist/types/components/fskeleton/fskeleton.vue.d.ts +17 -15
  139. package/dist/types/components/fskeleton/index.d.ts +4 -4
  140. package/dist/types/components/fswitch/fswitch.d.ts +8 -8
  141. package/dist/types/components/fswitch/fswitch.vue.d.ts +365 -365
  142. package/dist/types/components/fswitch/index.d.ts +4 -4
  143. package/dist/types/components/ftable/constants/index.d.ts +14 -14
  144. package/dist/types/components/ftable/ftable-cols-set.vue.d.ts +6 -6
  145. package/dist/types/components/ftable/ftable-toolbar.vue.d.ts +57 -54
  146. package/dist/types/components/ftable/ftable.d.ts +332 -332
  147. package/dist/types/components/ftable/ftable.vue.d.ts +139 -333
  148. package/dist/types/components/ftable/index.d.ts +4 -4
  149. package/dist/types/components/ftable/utils/index.d.ts +13 -13
  150. package/dist/types/components/ftext/ftext.d.ts +97 -96
  151. package/dist/types/components/ftext/ftext.vue.d.ts +88 -86
  152. package/dist/types/components/ftext/index.d.ts +4 -4
  153. package/dist/types/components/ftextarea/ftextarea.d.ts +32 -32
  154. package/dist/types/components/ftextarea/ftextarea.vue.d.ts +569 -575
  155. package/dist/types/components/ftextarea/index.d.ts +4 -4
  156. package/dist/types/components/index.d.ts +40 -40
  157. package/dist/types/constants/fform.d.ts +8 -8
  158. package/dist/types/constants/global.d.ts +9 -24
  159. package/dist/types/constants/keys.d.ts +14 -0
  160. package/dist/types/env.d.ts +4 -0
  161. package/dist/types/index.d.ts +14 -15
  162. package/dist/types/types/global.d.ts +44 -44
  163. package/dist/types/types/index.d.ts +1 -1
  164. package/dist/types/utils/business-format.d.ts +136 -136
  165. package/dist/types/utils/index.d.ts +4 -4
  166. package/package.json +24 -4
@@ -1,99 +1,100 @@
1
1
  import { AnyObject } from '../../../../../../../../../src/types';
2
2
  import { TypographyTextInstance } from '@arco-design/web-vue';
3
3
  import { ExtractPublicPropTypes, PropType, VNodeChild } from 'vue';
4
-
5
- type FTextEllipsConfigBase = {
6
- /**
7
- * 缩略的行数
8
- */
9
- rows: number;
10
- /**
11
- * 显示省略的类型,当notEllips为true时,此设置及所有省略相关配置无效
12
- * 'normal': 默认显示三个省略号,hover时提示全部内容
13
- * 'popup': 以弹层方式显示全部内容,末尾以一个图标或文本(提供插槽)来替换省略号展示,点击图标或文本时,展示弹层
14
- * 'drawer': 以抽屉方式显示全部内容,末尾以一个图标或文本(提供插槽)来替换省略号展示,点击图标或文本时,展开或者关闭抽屉
15
- */
16
- type?: 'normal' | 'popup' | 'drawer';
17
- };
18
- type FTextEllipsConfigNormal = FTextEllipsConfigBase & {
19
- type: 'normal';
20
- };
21
- type FTextEllipsConfigDrawer = FTextEllipsConfigBase & {
22
- type: 'drawer';
23
- /**
24
- * 更多的提示文本(type为drawer时生效)
25
- */
26
- moreText?: string;
27
- /**
28
- * 收起的提示文本(type为drawer时生效)
29
- */
30
- lessText?: string;
31
- };
32
- type FTextEllipsConfigPopup = FTextEllipsConfigBase & {
33
- type: 'popup';
34
- /**
35
- * 显示全部文本的Icon(type为popup时生效)
36
- */
37
- moreIcon?: string;
38
- };
39
- export type FTextEllipsConfig = FTextEllipsConfigNormal | FTextEllipsConfigDrawer | FTextEllipsConfigPopup;
40
- export declare const fTextProps: {
41
- /**
42
- * 忽略省略模式
43
- */
44
- ignoreEllips: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- /**
49
- * 省略模式类型
50
- */
51
- ellipsType: {
52
- type: PropType<"normal" | "popup" | "drawer">;
53
- default: string;
54
- };
55
- /**
56
- * 关于ellips的配置
57
- */
58
- ellipsConfig: {
59
- type: PropType<FTextEllipsConfig>;
60
- default: () => {};
61
- };
62
- /**
63
- * 值为空时的占位符
64
- */
65
- placeholder: {
66
- type: StringConstructor;
67
- default: string;
68
- };
69
- /**
70
- * 自定义前缀图标
71
- * @value 等同于FIcon name属性
72
- */
73
- preIcon: {
74
- type: StringConstructor;
75
- default: string;
76
- };
77
- /**
78
- * 传递给FIcon组件的props
79
- * 值同FIcon Props
80
- */
81
- preIconProps: {
82
- type: PropType<any>;
83
- default: () => {};
84
- };
85
- /**
86
- * 通过函数自定义渲染文本
87
- * 在配合FFormItem组件使用时,可以免去使用插槽定义,从而快速渲染对应数据
88
- *
89
- * 注意:如果使用了default插槽,此项配置无效
90
- */
91
- render: {
92
- type: PropType<(data: {
93
- data: AnyObject;
94
- }) => VNodeChild>;
95
- default: null;
96
- };
97
- };
98
- export type FTextProps = ExtractPublicPropTypes<typeof fTextProps> & Omit<TypographyTextInstance['$props'], 'ellipsis' | 'onEllipsis' | 'onExpand'>;
99
- export {};
4
+ import { FIconProps } from '../ficon';
5
+
6
+ type FTextEllipsConfigBase = {
7
+ /**
8
+ * 缩略的行数
9
+ */
10
+ rows: number;
11
+ /**
12
+ * 显示省略的类型,当notEllips为true时,此设置及所有省略相关配置无效
13
+ * 'normal': 默认显示三个省略号,hover时提示全部内容
14
+ * 'popup': 以弹层方式显示全部内容,末尾以一个图标或文本(提供插槽)来替换省略号展示,点击图标或文本时,展示弹层
15
+ * 'drawer': 以抽屉方式显示全部内容,末尾以一个图标或文本(提供插槽)来替换省略号展示,点击图标或文本时,展开或者关闭抽屉
16
+ */
17
+ type?: 'normal' | 'popup' | 'drawer';
18
+ };
19
+ type FTextEllipsConfigNormal = FTextEllipsConfigBase & {
20
+ type: 'normal';
21
+ };
22
+ type FTextEllipsConfigDrawer = FTextEllipsConfigBase & {
23
+ type: 'drawer';
24
+ /**
25
+ * 更多的提示文本(type为drawer时生效)
26
+ */
27
+ moreText?: string;
28
+ /**
29
+ * 收起的提示文本(type为drawer时生效)
30
+ */
31
+ lessText?: string;
32
+ };
33
+ type FTextEllipsConfigPopup = FTextEllipsConfigBase & {
34
+ type: 'popup';
35
+ /**
36
+ * 显示全部文本的Icon(type为popup时生效)
37
+ */
38
+ moreIcon?: string;
39
+ };
40
+ export type FTextEllipsConfig = FTextEllipsConfigNormal | FTextEllipsConfigDrawer | FTextEllipsConfigPopup;
41
+ export declare const fTextProps: {
42
+ /**
43
+ * 忽略省略模式
44
+ */
45
+ ignoreEllips: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ /**
50
+ * 省略模式类型
51
+ */
52
+ ellipsType: {
53
+ type: PropType<"normal" | "popup" | "drawer">;
54
+ default: string;
55
+ };
56
+ /**
57
+ * 关于ellips的配置
58
+ */
59
+ ellipsConfig: {
60
+ type: PropType<FTextEllipsConfig>;
61
+ default: () => {};
62
+ };
63
+ /**
64
+ * 值为空时的占位符
65
+ */
66
+ placeholder: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ /**
71
+ * 自定义前缀图标
72
+ * @value 等同于FIcon name属性
73
+ */
74
+ preIcon: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ /**
79
+ * 传递给FIcon组件的props
80
+ * 值同FIcon Props
81
+ */
82
+ preIconProps: {
83
+ type: PropType<FIconProps>;
84
+ default: () => {};
85
+ };
86
+ /**
87
+ * 通过函数自定义渲染文本
88
+ * 在配合FFormItem组件使用时,可以免去使用插槽定义,从而快速渲染对应数据
89
+ *
90
+ * 注意:如果使用了default插槽,此项配置无效
91
+ */
92
+ render: {
93
+ type: PropType<(data: {
94
+ data: AnyObject;
95
+ }) => VNodeChild>;
96
+ default: null;
97
+ };
98
+ };
99
+ export type FTextProps = ExtractPublicPropTypes<typeof fTextProps> & Omit<TypographyTextInstance['$props'], 'ellipsis' | 'onEllipsis' | 'onExpand'>;
100
+ export {};
@@ -1,87 +1,89 @@
1
1
  import { FTextEllipsConfig } from './ftext';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- modelValue: import('vue').PropType<string | number>;
5
- ignoreEllips: {
6
- type: BooleanConstructor;
7
- default: boolean;
8
- };
9
- ellipsType: {
10
- type: import('vue').PropType<"normal" | "popup" | "drawer">;
11
- default: string;
12
- };
13
- ellipsConfig: {
14
- type: import('vue').PropType<FTextEllipsConfig>;
15
- default: () => {};
16
- };
17
- placeholder: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
- preIcon: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- preIconProps: {
26
- type: import('vue').PropType<any>;
27
- default: () => {};
28
- };
29
- render: {
30
- type: import('vue').PropType<(data: {
31
- data: import('../../types').AnyObject<any>;
32
- }) => import('vue').VNodeChild>;
33
- default: null;
34
- };
35
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
36
- modelValue: import('vue').PropType<string | number>;
37
- ignoreEllips: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- ellipsType: {
42
- type: import('vue').PropType<"normal" | "popup" | "drawer">;
43
- default: string;
44
- };
45
- ellipsConfig: {
46
- type: import('vue').PropType<FTextEllipsConfig>;
47
- default: () => {};
48
- };
49
- placeholder: {
50
- type: StringConstructor;
51
- default: string;
52
- };
53
- preIcon: {
54
- type: StringConstructor;
55
- default: string;
56
- };
57
- preIconProps: {
58
- type: import('vue').PropType<any>;
59
- default: () => {};
60
- };
61
- render: {
62
- type: import('vue').PropType<(data: {
63
- data: import('../../types').AnyObject<any>;
64
- }) => import('vue').VNodeChild>;
65
- default: null;
66
- };
67
- }>> & Readonly<{}>, {
68
- placeholder: string;
69
- render: (data: {
70
- data: import('../../types').AnyObject<any>;
71
- }) => import('vue').VNodeChild;
72
- ignoreEllips: boolean;
73
- ellipsType: "normal" | "popup" | "drawer";
74
- ellipsConfig: FTextEllipsConfig;
75
- preIcon: string;
76
- preIconProps: any;
77
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
78
- default?(_: {
79
- data: Record<string, any> | undefined;
80
- }): any;
81
- }>;
82
- export default _default;
83
- type __VLS_WithTemplateSlots<T, S> = T & {
84
- new (): {
85
- $slots: S;
86
- };
87
- };
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {
5
+ data: Record<string, any> | undefined;
6
+ }): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
+ modelValue: import('vue').PropType<string | number>;
10
+ ignoreEllips: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ ellipsType: {
15
+ type: import('vue').PropType<"normal" | "popup" | "drawer">;
16
+ default: string;
17
+ };
18
+ ellipsConfig: {
19
+ type: import('vue').PropType<FTextEllipsConfig>;
20
+ default: () => {};
21
+ };
22
+ placeholder: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ preIcon: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ preIconProps: {
31
+ type: import('vue').PropType<import('..').FIconProps>;
32
+ default: () => {};
33
+ };
34
+ render: {
35
+ type: import('vue').PropType<(data: {
36
+ data: import('../../types').AnyObject;
37
+ }) => import('vue').VNodeChild>;
38
+ default: null;
39
+ };
40
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
41
+ modelValue: import('vue').PropType<string | number>;
42
+ ignoreEllips: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ ellipsType: {
47
+ type: import('vue').PropType<"normal" | "popup" | "drawer">;
48
+ default: string;
49
+ };
50
+ ellipsConfig: {
51
+ type: import('vue').PropType<FTextEllipsConfig>;
52
+ default: () => {};
53
+ };
54
+ placeholder: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ preIcon: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ preIconProps: {
63
+ type: import('vue').PropType<import('..').FIconProps>;
64
+ default: () => {};
65
+ };
66
+ render: {
67
+ type: import('vue').PropType<(data: {
68
+ data: import('../../types').AnyObject;
69
+ }) => import('vue').VNodeChild>;
70
+ default: null;
71
+ };
72
+ }>> & Readonly<{}>, {
73
+ placeholder: string;
74
+ render: (data: {
75
+ data: import('../../types').AnyObject;
76
+ }) => import('vue').VNodeChild;
77
+ ignoreEllips: boolean;
78
+ ellipsType: "normal" | "popup" | "drawer";
79
+ ellipsConfig: FTextEllipsConfig;
80
+ preIcon: string;
81
+ preIconProps: any;
82
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
83
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
84
+ export default _default;
85
+ type __VLS_WithTemplateSlots<T, S> = T & {
86
+ new (): {
87
+ $slots: S;
88
+ };
89
+ };
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { default as FText } from './ftext.vue';
3
-
4
- export default FText;
5
- export type FTextInstance = InstanceType<typeof FText>;
6
- export * from './ftext';
3
+
4
+ export default FText;
5
+ export type FTextInstance = InstanceType<typeof FText>;
6
+ export * from './ftext';
@@ -1,34 +1,34 @@
1
1
  import { TextareaInstance } from '@arco-design/web-vue';
2
2
  import { ExtractPropTypes } from 'vue';
3
-
4
- export declare const fTextareaProps: {
5
- /**
6
- * 默认值(非受控模式)
7
- */
8
- defaultValue: {
9
- type: StringConstructor;
10
- default: null;
11
- };
12
- /**
13
- * 占位符
14
- */
15
- placeholder: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- /**
20
- * 允许清空
21
- */
22
- allowClear: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- /**
27
- * textarea的原生rows配置
28
- */
29
- rows: {
30
- type: NumberConstructor;
31
- default: number;
32
- };
33
- };
34
- export type FTextareaProps = TextareaInstance['$props'] & ExtractPropTypes<typeof fTextareaProps>;
3
+
4
+ export declare const fTextareaProps: {
5
+ /**
6
+ * 默认值(非受控模式)
7
+ */
8
+ defaultValue: {
9
+ type: StringConstructor;
10
+ default: null;
11
+ };
12
+ /**
13
+ * 占位符
14
+ */
15
+ placeholder: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ /**
20
+ * 允许清空
21
+ */
22
+ allowClear: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ /**
27
+ * textarea的原生rows配置
28
+ */
29
+ rows: {
30
+ type: NumberConstructor;
31
+ default: number;
32
+ };
33
+ };
34
+ export type FTextareaProps = TextareaInstance['$props'] & ExtractPropTypes<typeof fTextareaProps>;