@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,83 +1,87 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- modelValue: import('vue').PropType<string | number>;
3
- defaultValue: {
4
- type: StringConstructor;
5
- default: null;
6
- };
7
- placeholder: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- allowClear: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- type: {
16
- type: import('vue').PropType<import('./finput').FInputType>;
17
- default: string;
18
- };
19
- autocomplete: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- includeMimus: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- }>, {
28
- /**
29
- * 值,在非受控模式下,读取组件的值
30
- */
31
- value: import('vue').ModelRef<string | number | undefined, string, string | number | undefined, string | number | undefined>;
32
- /**
33
- * 获取输入框的焦点
34
- */
35
- focus(...args: unknown[]): void;
36
- /**
37
- * 失去输入框的焦点
38
- */
39
- blur(...args: unknown[]): void;
40
- /**
41
- * Arco Input 组件实例(可调用组件内部方法)
42
- * */
43
- ins: import('vue').Ref<any, any>;
44
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
45
- modelValue: import('vue').PropType<string | number>;
46
- defaultValue: {
47
- type: StringConstructor;
48
- default: null;
49
- };
50
- placeholder: {
51
- type: StringConstructor;
52
- default: string;
53
- };
54
- allowClear: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- };
58
- type: {
59
- type: import('vue').PropType<import('./finput').FInputType>;
60
- default: string;
61
- };
62
- autocomplete: {
63
- type: BooleanConstructor;
64
- default: boolean;
65
- };
66
- includeMimus: {
67
- type: BooleanConstructor;
68
- default: boolean;
69
- };
70
- }>> & Readonly<{}>, {
71
- type: import('./finput').FInputType;
72
- placeholder: string;
73
- defaultValue: string;
74
- allowClear: boolean;
75
- autocomplete: boolean;
76
- includeMimus: boolean;
77
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<string, (_: any) => any>>>;
78
- export default _default;
79
- type __VLS_WithTemplateSlots<T, S> = T & {
80
- new (): {
81
- $slots: S;
82
- };
83
- };
1
+ import { InputInstance } from '@arco-design/web-vue';
2
+
3
+ declare function __VLS_template(): Partial<Record<string, (_: any) => any>>;
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ modelValue: import('vue').PropType<string | number>;
6
+ defaultValue: {
7
+ type: StringConstructor;
8
+ default: null;
9
+ };
10
+ placeholder: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ allowClear: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ type: {
19
+ type: import('vue').PropType<import('./finput').FInputType>;
20
+ default: string;
21
+ };
22
+ autocomplete: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ includeMimus: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>, {
31
+ /**
32
+ * 值,在非受控模式下,读取组件的值
33
+ */
34
+ value: import('vue').ModelRef<string | number | undefined, string, string | number | undefined, string | number | undefined>;
35
+ /**
36
+ * 获取输入框的焦点
37
+ */
38
+ focus(...args: Parameters<InputInstance["focus"]>): void;
39
+ /**
40
+ * 失去输入框的焦点
41
+ */
42
+ blur(...args: Parameters<InputInstance["blur"]>): void;
43
+ /**
44
+ * Arco Input 组件实例(可调用组件内部方法)
45
+ * */
46
+ ins: import('vue').Ref<any, any>;
47
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
48
+ modelValue: import('vue').PropType<string | number>;
49
+ defaultValue: {
50
+ type: StringConstructor;
51
+ default: null;
52
+ };
53
+ placeholder: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ allowClear: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ type: {
62
+ type: import('vue').PropType<import('./finput').FInputType>;
63
+ default: string;
64
+ };
65
+ autocomplete: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ includeMimus: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ }>> & Readonly<{}>, {
74
+ type: import('./finput').FInputType;
75
+ placeholder: string;
76
+ defaultValue: string;
77
+ allowClear: boolean;
78
+ autocomplete: boolean;
79
+ includeMimus: boolean;
80
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
81
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
82
+ export default _default;
83
+ type __VLS_WithTemplateSlots<T, S> = T & {
84
+ new (): {
85
+ $slots: S;
86
+ };
87
+ };
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { default as FInput } from './finput.vue';
3
-
4
- export default FInput;
5
- export type FInputInstance = InstanceType<typeof FInput>;
6
- export * from './finput';
3
+
4
+ export default FInput;
5
+ export type FInputInstance = InstanceType<typeof FInput>;
6
+ export * from './finput';
@@ -1,28 +1,28 @@
1
1
  import { LinkInstance } from '@arco-design/web-vue';
2
2
  import { ExtractPublicPropTypes, PropType } from 'vue';
3
-
4
- export declare const fLinkProps: {
5
- /**
6
- * 链接地址
7
- */
8
- href: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- /**
13
- * 如果openType 是SPA,则是新开 tab 的title
14
- */
15
- name: {
16
- type: StringConstructor;
17
- };
18
- /**
19
- * 链接打开类型
20
- * spa: 在当前 SPA 中打开(默认)
21
- * raw: 原生a元素的处理
22
- */
23
- openType: {
24
- type: PropType<"raw" | "spa">;
25
- default: string;
26
- };
27
- };
28
- export type FLinkProps = ExtractPublicPropTypes<typeof fLinkProps> & LinkInstance['$props'];
3
+
4
+ export declare const fLinkProps: {
5
+ /**
6
+ * 链接地址
7
+ */
8
+ href: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ /**
13
+ * 如果openType 是SPA,则是新开 tab 的title
14
+ */
15
+ name: {
16
+ type: StringConstructor;
17
+ };
18
+ /**
19
+ * 链接打开类型
20
+ * spa: 在当前 SPA 中打开(默认)
21
+ * raw: 原生a元素的处理
22
+ */
23
+ openType: {
24
+ type: PropType<"spa" | "raw">;
25
+ default: string;
26
+ };
27
+ };
28
+ export type FLinkProps = ExtractPublicPropTypes<typeof fLinkProps> & LinkInstance['$props'];
@@ -1,40 +1,42 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- href: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- name: {
7
- type: StringConstructor;
8
- };
9
- openType: {
10
- type: import('vue').PropType<"raw" | "spa">;
11
- default: string;
12
- };
13
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- click: (...args: any[]) => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
- href: {
17
- type: StringConstructor;
18
- default: string;
19
- };
20
- name: {
21
- type: StringConstructor;
22
- };
23
- openType: {
24
- type: import('vue').PropType<"raw" | "spa">;
25
- default: string;
26
- };
27
- }>> & Readonly<{
28
- onClick?: ((...args: any[]) => any) | undefined;
29
- }>, {
30
- href: string;
31
- openType: "raw" | "spa";
32
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
33
- default?(_: {}): any;
34
- }>;
35
- export default _default;
36
- type __VLS_WithTemplateSlots<T, S> = T & {
37
- new (): {
38
- $slots: S;
39
- };
40
- };
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ href: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ name: {
10
+ type: StringConstructor;
11
+ };
12
+ openType: {
13
+ type: import('vue').PropType<"spa" | "raw">;
14
+ default: string;
15
+ };
16
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ click: (...args: any[]) => void;
18
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
+ href: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ name: {
24
+ type: StringConstructor;
25
+ };
26
+ openType: {
27
+ type: import('vue').PropType<"spa" | "raw">;
28
+ default: string;
29
+ };
30
+ }>> & Readonly<{
31
+ onClick?: ((...args: any[]) => any) | undefined;
32
+ }>, {
33
+ href: string;
34
+ openType: "raw" | "spa";
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
+ export default _default;
38
+ type __VLS_WithTemplateSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { default as FLink } from './flink.vue';
3
-
4
- export default FLink;
5
- export type FLinkInstance = InstanceType<typeof FLink>;
6
- export * from './flink';
3
+
4
+ export default FLink;
5
+ export type FLinkInstance = InstanceType<typeof FLink>;
6
+ export * from './flink';
@@ -1,76 +1,76 @@
1
1
  import { InputInstance, ModalConfig } from '@arco-design/web-vue';
2
2
  import { Component, ExtractPropTypes, PropType } from 'vue';
3
-
4
- export type FMlInputPopupConfig = {
5
- /**
6
- * 弹窗标题,优先级低于modalProps.title
7
- */
8
- title?: string;
9
- /**
10
- * 弹出层的顶部的文字提示,可以是文本或者一个Component
11
- */
12
- tip?: string | Component;
13
- /**
14
- * textarea的rows配置
15
- * 如果类型为number,则只配置minRows
16
- */
17
- rows?: number | {
18
- minRows: number;
19
- maxRows: number;
20
- };
21
- /**
22
- * 占位符
23
- */
24
- placeholder?: string;
25
- /**
26
- * 弹出层的props
27
- */
28
- modalProps?: ModalConfig;
29
- };
30
- export declare const fMlInputProps: {
31
- /**
32
- * 默认值(非受控模式)
33
- */
34
- defaultValue: {
35
- type: StringConstructor;
36
- default: null;
37
- };
38
- /**
39
- * 每项数据的分隔符
40
- */
41
- separator: {
42
- type: StringConstructor;
43
- default: string;
44
- };
45
- /**
46
- * 占位符
47
- */
48
- placeholder: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- /**
53
- * 输入框类型
54
- * 每一项输入类型
55
- * 此处判断比较多,所以暂时只提供text和number
56
- */
57
- type: {
58
- type: PropType<"number" | "text">;
59
- default: string;
60
- };
61
- /**
62
- * 允许清空
63
- */
64
- allowClear: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- /**
69
- * 弹出层的配置
70
- */
71
- popupConfig: {
72
- type: PropType<FMlInputPopupConfig>;
73
- default: null;
74
- };
75
- };
76
- export type FMlInputProps = Omit<InputInstance['$props'], 'type'> & ExtractPropTypes<typeof fMlInputProps>;
3
+
4
+ export type FMlInputPopupConfig = {
5
+ /**
6
+ * 弹窗标题,优先级低于modalProps.title
7
+ */
8
+ title?: string;
9
+ /**
10
+ * 弹出层的顶部的文字提示,可以是文本或者一个Component
11
+ */
12
+ tip?: string | Component;
13
+ /**
14
+ * textarea的rows配置
15
+ * 如果类型为number,则只配置minRows
16
+ */
17
+ rows?: number | {
18
+ minRows: number;
19
+ maxRows: number;
20
+ };
21
+ /**
22
+ * 占位符
23
+ */
24
+ placeholder?: string;
25
+ /**
26
+ * 弹出层的props
27
+ */
28
+ modalProps?: ModalConfig;
29
+ };
30
+ export declare const fMlInputProps: {
31
+ /**
32
+ * 默认值(非受控模式)
33
+ */
34
+ defaultValue: {
35
+ type: StringConstructor;
36
+ default: null;
37
+ };
38
+ /**
39
+ * 每项数据的分隔符
40
+ */
41
+ separator: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ /**
46
+ * 占位符
47
+ */
48
+ placeholder: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ /**
53
+ * 输入框类型
54
+ * 每一项输入类型
55
+ * 此处判断比较多,所以暂时只提供text和number
56
+ */
57
+ type: {
58
+ type: PropType<"text" | "number">;
59
+ default: string;
60
+ };
61
+ /**
62
+ * 允许清空
63
+ */
64
+ allowClear: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ /**
69
+ * 弹出层的配置
70
+ */
71
+ popupConfig: {
72
+ type: PropType<FMlInputPopupConfig>;
73
+ default: null;
74
+ };
75
+ };
76
+ export type FMlInputProps = Omit<InputInstance['$props'], 'type'> & ExtractPropTypes<typeof fMlInputProps>;