@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,117 +1,121 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- modelValue: import('vue').PropType<unknown>;
3
- prop: {
4
- type: StringConstructor;
5
- default: null;
6
- };
7
- comp: {
8
- required: boolean;
9
- type: import('vue').PropType<"input" | "select" | "textarea" | "search" | "switch" | "text" | "checkbox" | "date" | "range" | "radio" | "custom" | "ml-input">;
10
- default: null;
11
- validator: (value: string) => boolean;
12
- };
13
- render: {
14
- type: import('vue').PropType<(data: {
15
- data: import('../../types').AnyObject<any>;
16
- }) => import('vue').VNodeChild>;
17
- default: null;
18
- validator: (_v: any, props: any) => boolean;
19
- };
20
- compProps: {
21
- type: ObjectConstructor;
22
- default: null;
23
- };
24
- label: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- hideLabel: {
29
- type: BooleanConstructor;
30
- default: (props: any) => boolean;
31
- };
32
- tooltip: {
33
- type: StringConstructor;
34
- default: null;
35
- };
36
- required: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- rules: {
41
- type: import('vue').PropType<any>;
42
- default(props: any): FieldRule[] | null;
43
- };
44
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
45
- modelValue: import('vue').PropType<unknown>;
46
- prop: {
47
- type: StringConstructor;
48
- default: null;
49
- };
50
- comp: {
51
- required: boolean;
52
- type: import('vue').PropType<"input" | "select" | "textarea" | "search" | "switch" | "text" | "checkbox" | "date" | "range" | "radio" | "custom" | "ml-input">;
53
- default: null;
54
- validator: (value: string) => boolean;
55
- };
56
- render: {
57
- type: import('vue').PropType<(data: {
58
- data: import('../../types').AnyObject<any>;
59
- }) => import('vue').VNodeChild>;
60
- default: null;
61
- validator: (_v: any, props: any) => boolean;
62
- };
63
- compProps: {
64
- type: ObjectConstructor;
65
- default: null;
66
- };
67
- label: {
68
- type: StringConstructor;
69
- default: string;
70
- };
71
- hideLabel: {
72
- type: BooleanConstructor;
73
- default: (props: any) => boolean;
74
- };
75
- tooltip: {
76
- type: StringConstructor;
77
- default: null;
78
- };
79
- required: {
80
- type: BooleanConstructor;
81
- default: boolean;
82
- };
83
- rules: {
84
- type: import('vue').PropType<any>;
85
- default(props: any): FieldRule[] | null;
86
- };
87
- }>> & Readonly<{}>, {
88
- tooltip: string;
89
- label: string;
90
- required: boolean;
91
- render: (data: {
92
- data: import('../../types').AnyObject<any>;
93
- }) => import('vue').VNodeChild;
94
- prop: string;
95
- comp: "input" | "select" | "textarea" | "search" | "switch" | "text" | "checkbox" | "date" | "range" | "radio" | "custom" | "ml-input";
96
- compProps: Record<string, any>;
97
- hideLabel: boolean;
98
- rules: any;
99
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<`comp_${string}`, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
100
- prepend?(_: {
101
- [x: string]: any;
102
- }): any;
103
- label?(_: any): any;
104
- tooltip?(_: {}): any;
105
- default?(_: {
106
- data: Record<string, any>;
107
- }): any;
108
- append?(_: {
109
- [x: string]: any;
110
- }): any;
111
- }>;
112
- export default _default;
113
- type __VLS_WithTemplateSlots<T, S> = T & {
114
- new (): {
115
- $slots: S;
116
- };
117
- };
1
+ import { FormItem as AFormItem } from '@arco-design/web-vue';
2
+
3
+ declare function __VLS_template(): Partial<Record<`comp_${string}`, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
4
+ prepend?(_: {
5
+ [x: string]: any;
6
+ }): any;
7
+ label?(_: any): any;
8
+ tooltip?(_: {}): any;
9
+ default?(_: {
10
+ data: Record<string, any>;
11
+ }): any;
12
+ append?(_: {
13
+ [x: string]: any;
14
+ }): any;
15
+ };
16
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
17
+ modelValue: import('vue').PropType<unknown>;
18
+ prop: {
19
+ type: StringConstructor;
20
+ default: null;
21
+ };
22
+ comp: {
23
+ required: boolean;
24
+ type: import('vue').PropType<"input" | "search" | "select" | "textarea" | "switch" | "text" | "checkbox" | "date" | "range" | "radio" | "custom" | "ml-input">;
25
+ default: null;
26
+ validator: (value: string) => boolean;
27
+ };
28
+ render: {
29
+ type: import('vue').PropType<(data: {
30
+ data: import('../../types').AnyObject;
31
+ }) => import('vue').VNodeChild>;
32
+ default: null;
33
+ validator: (_v: any, props: any) => boolean;
34
+ };
35
+ compProps: {
36
+ type: ObjectConstructor;
37
+ default: null;
38
+ };
39
+ label: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ hideLabel: {
44
+ type: BooleanConstructor;
45
+ default: (props: any) => boolean;
46
+ };
47
+ tooltip: {
48
+ type: StringConstructor;
49
+ default: null;
50
+ };
51
+ required: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ rules: {
56
+ type: import('vue').PropType<AFormItem | AFormItem[]>;
57
+ default(props: any): AFormItem[] | null;
58
+ };
59
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
60
+ modelValue: import('vue').PropType<unknown>;
61
+ prop: {
62
+ type: StringConstructor;
63
+ default: null;
64
+ };
65
+ comp: {
66
+ required: boolean;
67
+ type: import('vue').PropType<"input" | "search" | "select" | "textarea" | "switch" | "text" | "checkbox" | "date" | "range" | "radio" | "custom" | "ml-input">;
68
+ default: null;
69
+ validator: (value: string) => boolean;
70
+ };
71
+ render: {
72
+ type: import('vue').PropType<(data: {
73
+ data: import('../../types').AnyObject;
74
+ }) => import('vue').VNodeChild>;
75
+ default: null;
76
+ validator: (_v: any, props: any) => boolean;
77
+ };
78
+ compProps: {
79
+ type: ObjectConstructor;
80
+ default: null;
81
+ };
82
+ label: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
86
+ hideLabel: {
87
+ type: BooleanConstructor;
88
+ default: (props: any) => boolean;
89
+ };
90
+ tooltip: {
91
+ type: StringConstructor;
92
+ default: null;
93
+ };
94
+ required: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ rules: {
99
+ type: import('vue').PropType<AFormItem | AFormItem[]>;
100
+ default(props: any): AFormItem[] | null;
101
+ };
102
+ }>> & Readonly<{}>, {
103
+ tooltip: string;
104
+ label: string;
105
+ required: boolean;
106
+ render: (data: {
107
+ data: import('../../types').AnyObject;
108
+ }) => import('vue').VNodeChild;
109
+ prop: string;
110
+ comp: "input" | "search" | "select" | "textarea" | "switch" | "text" | "checkbox" | "date" | "range" | "radio" | "custom" | "ml-input";
111
+ compProps: Record<string, any>;
112
+ hideLabel: boolean;
113
+ rules: any;
114
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
115
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
116
+ export default _default;
117
+ type __VLS_WithTemplateSlots<T, S> = T & {
118
+ new (): {
119
+ $slots: S;
120
+ };
121
+ };
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { default as FFormItem } from './fform-item.vue';
3
-
4
- export default FFormItem;
5
- export type FFormItemInstance = InstanceType<typeof FFormItem>;
6
- export * from './fform-item';
3
+
4
+ export default FFormItem;
5
+ export type FFormItemInstance = InstanceType<typeof FFormItem>;
6
+ export * from './fform-item';
@@ -1,45 +1,45 @@
1
- import { IconProps } from '@arco-design/web-vue';
1
+ import { IconProps, TooltipInstance } from '@arco-design/web-vue';
2
2
  import { ExtractPublicPropTypes, PropType } from 'vue';
3
-
4
- export declare const fIconProps: {
5
- /**
6
- * icon的名称
7
- * 在使用官方Icon时,请转换为全驼峰命名
8
- * 除了使用内置的icon外,还支持iconfont图标库(官方图标库和iconfont图标库的不要有重复的名字,重复名字下,官方优先)
9
- */
10
- name: {
11
- required: boolean;
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- /**
16
- * 图标颜色
17
- * @value CSS color属性值
18
- */
19
- color: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- /**
24
- * hover时,图标的提示语
25
- */
26
- tooltip: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- /**
31
- * 传递给Arco Tooltip组件的props
32
- */
33
- tooltipProps: {
34
- type: PropType<TooltipInstance>;
35
- default: () => {};
36
- };
37
- /**
38
- * 鼠标图标变为小手图标
39
- */
40
- pointer: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- };
45
- export type FIconProps = ExtractPublicPropTypes<typeof fIconProps> & IconProps;
3
+
4
+ export declare const fIconProps: {
5
+ /**
6
+ * icon的名称
7
+ * 在使用官方Icon时,请转换为全驼峰命名
8
+ * 除了使用内置的icon外,还支持iconfont图标库(官方图标库和iconfont图标库的不要有重复的名字,重复名字下,官方优先)
9
+ */
10
+ name: {
11
+ required: boolean;
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ /**
16
+ * 图标颜色
17
+ * @value CSS color属性值
18
+ */
19
+ color: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ /**
24
+ * hover时,图标的提示语
25
+ */
26
+ tooltip: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ /**
31
+ * 传递给Arco Tooltip组件的props
32
+ */
33
+ tooltipProps: {
34
+ type: PropType<TooltipInstance["$props"]>;
35
+ default: () => {};
36
+ };
37
+ /**
38
+ * 鼠标图标变为小手图标
39
+ */
40
+ pointer: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ };
45
+ export type FIconProps = ExtractPublicPropTypes<typeof fIconProps> & IconProps;
@@ -1,59 +1,63 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- name: {
3
- required: boolean;
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- color: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- tooltip: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- tooltipProps: {
16
- type: import('vue').PropType<TooltipInstance>;
17
- default: () => {};
18
- };
19
- pointer: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
- name: {
25
- required: boolean;
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- color: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- tooltip: {
34
- type: StringConstructor;
35
- default: string;
36
- };
37
- tooltipProps: {
38
- type: import('vue').PropType<TooltipInstance>;
39
- default: () => {};
40
- };
41
- pointer: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- }>> & Readonly<{}>, {
46
- name: string;
47
- color: string;
48
- tooltip: string;
49
- tooltipProps: TooltipInstance;
50
- pointer: boolean;
51
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
52
- tooltip?(_: {}): any;
53
- }>;
54
- export default _default;
55
- type __VLS_WithTemplateSlots<T, S> = T & {
56
- new (): {
57
- $slots: S;
58
- };
59
- };
1
+ import { Tooltip as ATooltip } from '@arco-design/web-vue';
2
+
3
+ declare function __VLS_template(): {
4
+ tooltip?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ name: {
8
+ required: boolean;
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ color: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ tooltip: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ tooltipProps: {
21
+ type: import('vue').PropType<ATooltip["$props"]>;
22
+ default: () => {};
23
+ };
24
+ pointer: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
29
+ name: {
30
+ required: boolean;
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ color: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ tooltip: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ tooltipProps: {
43
+ type: import('vue').PropType<ATooltip["$props"]>;
44
+ default: () => {};
45
+ };
46
+ pointer: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ }>> & Readonly<{}>, {
51
+ name: string;
52
+ color: string;
53
+ tooltip: string;
54
+ tooltipProps: TooltipInstance;
55
+ pointer: boolean;
56
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
57
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
58
+ export default _default;
59
+ type __VLS_WithTemplateSlots<T, S> = T & {
60
+ new (): {
61
+ $slots: S;
62
+ };
63
+ };
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { default as FIcon } from './ficon.vue';
3
-
4
- export default FIcon;
5
- export type FIconInstance = InstanceType<typeof FIcon>;
6
- export * from './ficon';
3
+
4
+ export default FIcon;
5
+ export type FIconInstance = InstanceType<typeof FIcon>;
6
+ export * from './ficon';
@@ -1,56 +1,56 @@
1
1
  import { InputInstance, InputPasswordInstance } from '@arco-design/web-vue';
2
2
  import { ExtractPublicPropTypes, PropType } from 'vue';
3
-
4
- export type FInputType = 'text' | 'number' | 'decimal' | 'password';
5
- export declare const fInputProps: {
6
- /**
7
- * 默认值(非受控模式)
8
- */
9
- defaultValue: {
10
- type: StringConstructor;
11
- default: null;
12
- };
13
- /**
14
- * 占位符
15
- */
16
- placeholder: {
17
- type: StringConstructor;
18
- default: string;
19
- };
20
- /**
21
- * 允许清空
22
- */
23
- allowClear: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- /**
28
- * 输入类型
29
- * 目前 Arco Input 只有 text 及 password 两种
30
- * 扩展 number 和 decimal
31
- * - number:只允许输入数字(包括负数)
32
- * - decimal:允许输入数字和小数
33
- */
34
- type: {
35
- type: PropType<FInputType>;
36
- default: string;
37
- };
38
- /**
39
- * 是否自动填充数据
40
- */
41
- autocomplete: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- includeMimus: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- };
49
- };
50
- type FInputBaseProps = Omit<InputInstance['$props'], 'type'> & ExtractPublicPropTypes<typeof fInputProps>;
51
- export type FInputProps = ({
52
- type: 'text' | 'number' | 'decimal';
53
- } & FInputBaseProps) | ({
54
- type: 'password';
55
- } & InputPasswordInstance['$props'] & FInputBaseProps);
56
- export {};
3
+
4
+ export type FInputType = 'text' | 'number' | 'decimal' | 'password';
5
+ export declare const fInputProps: {
6
+ /**
7
+ * 默认值(非受控模式)
8
+ */
9
+ defaultValue: {
10
+ type: StringConstructor;
11
+ default: null;
12
+ };
13
+ /**
14
+ * 占位符
15
+ */
16
+ placeholder: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ /**
21
+ * 允许清空
22
+ */
23
+ allowClear: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ /**
28
+ * 输入类型
29
+ * 目前 Arco Input 只有 text 及 password 两种
30
+ * 扩展 number 和 decimal
31
+ * - number:只允许输入数字(包括负数)
32
+ * - decimal:允许输入数字和小数
33
+ */
34
+ type: {
35
+ type: PropType<FInputType>;
36
+ default: string;
37
+ };
38
+ /**
39
+ * 是否自动填充数据
40
+ */
41
+ autocomplete: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ includeMimus: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ };
50
+ type FInputBaseProps = Omit<InputInstance['$props'], 'type'> & ExtractPublicPropTypes<typeof fInputProps>;
51
+ export type FInputProps = ({
52
+ type: 'text' | 'number' | 'decimal';
53
+ } & FInputBaseProps) | ({
54
+ type: 'password';
55
+ } & InputPasswordInstance['$props'] & FInputBaseProps);
56
+ export {};