@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,8 +1,8 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { default as FPopChoice } from './fpop-choice.vue';
3
3
  import { default as fPopChoiceUtils } from './utils';
4
-
5
- export default FPopChoice;
6
- export type FPopChoiceInstance = InstanceType<typeof FPopChoice>;
7
- export * from './fpop-choice';
8
- export { fPopChoiceUtils };
4
+
5
+ export default FPopChoice;
6
+ export type FPopChoiceInstance = InstanceType<typeof FPopChoice>;
7
+ export * from './fpop-choice';
8
+ export { fPopChoiceUtils };
@@ -1,19 +1,19 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { AnyObject } from '../../../../../../../../../../src/types';
3
3
  import { FQueryListProps } from '../../fquery-list';
4
-
5
- declare const _default: {
6
- /**
7
- * 往FQueryList配置项的FFormProps中添加`defaultData`表单默认数据
8
- * 一般用于已预设的一些通用的FQueryList配置项,只是要添加一些扩展数据用于查询
9
- * @param flOtions FQueryList组件的的参数
10
- * @param defaultFormData 表单默认数据
11
- */
12
- addQLDefaultFormData(flOtions: FQueryListProps, defaultFormData?: AnyObject): FQueryListProps;
13
- /**
14
- * 生成一个可用于FPopChoice组件的FQueryList的配置项,添加一些默认的数据
15
- * @param flOtions FQueryList组件的的参数
16
- */
17
- buildQLDefaultConfig(flOtions: AnyObject): FQueryListProps;
18
- };
19
- export default _default;
4
+
5
+ declare const _default: {
6
+ /**
7
+ * 往FQueryList配置项的FFormProps中添加`defaultData`表单默认数据
8
+ * 一般用于已预设的一些通用的FQueryList配置项,只是要添加一些扩展数据用于查询
9
+ * @param flOtions FQueryList组件的的参数
10
+ * @param defaultFormData 表单默认数据
11
+ */
12
+ addQLDefaultFormData(flOtions: FQueryListProps, defaultFormData?: AnyObject): FQueryListProps;
13
+ /**
14
+ * 生成一个可用于FPopChoice组件的FQueryList的配置项,添加一些默认的数据
15
+ * @param flOtions FQueryList组件的的参数
16
+ */
17
+ buildQLDefaultConfig(flOtions: AnyObject): FQueryListProps;
18
+ };
19
+ export default _default;
@@ -2,136 +2,136 @@ import { ExtractPublicPropTypes, PropType } from 'vue';
2
2
  import { FFormItemType, FFormProps } from '../fform';
3
3
  import { FTableCol, FTableMethodData, FTableProps } from '../ftable';
4
4
  import { FButtonProps } from '../fbutton';
5
-
6
- export declare const fQueryListProps: {
7
- /**
8
- * 查询列表唯一标识(必传)
9
- */
10
- id: {
11
- type: StringConstructor;
12
- required: boolean;
13
- };
14
- /**
15
- * 简单模式(建议在不超过一行筛选项时使用)
16
- * 1、筛选项直接平铺,不会有多余隐藏的处理
17
- * 2、取消查询条件整个模块的折叠模式
18
- * 3、取消重置按钮
19
- * 4、查询按钮只剩图标,没有文字描述
20
- */
21
- simple: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- /**
26
- * 查询列表标题
27
- */
28
- title: {
29
- type: PropType<string | false>;
30
- default: boolean;
31
- };
32
- /**
33
- * 是否开启查询条件整个模块的折叠模式
34
- */
35
- filterCollapseable: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- };
39
- /**
40
- * 查询条件整个模块折叠状态(可双向绑定)
41
- * filterCollapseable 开启时,默认折叠
42
- */
43
- filterCollapseStatus: {
44
- type: BooleanConstructor;
45
- default: null;
46
- };
47
- /**
48
- * 查询按钮的文本
49
- */
50
- queryBtnText: {
51
- type: StringConstructor;
52
- default: string;
53
- };
54
- /**
55
- * 查询按钮的props
56
- */
57
- queryBtnProps: {
58
- type: PropType<FButtonProps>;
59
- default: () => {};
60
- };
61
- /**
62
- * 查询按钮是否展示 loading 状态(跟随 FTable 数据加载状态)
63
- * 开启后,点击查询按钮到数据加载完成期间,按钮将处于 loading 状态,防止重复点击
64
- */
65
- queryBtnLoading: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- /**
70
- * 查询之前的回调事件
71
- * 支持Promise,如果返回false或者throw则会阻止后续查询
72
- */
73
- onBeforeQuery: {
74
- type: PropType<() => boolean | Promise<boolean>>;
75
- default: null;
76
- };
77
- /**
78
- * 重置按钮的文本
79
- */
80
- resetBtnText: {
81
- type: StringConstructor;
82
- default: string;
83
- };
84
- /**
85
- * 查询按钮的props
86
- */
87
- resetBtnProps: {
88
- type: PropType<FButtonProps>;
89
- default: () => {};
90
- };
91
- /**
92
- * table表格列表数据
93
- * 只支持通过方法类型传入数据
94
- */
95
- tableData: {
96
- type: PropType<FTableMethodData<import('../../types').AnyObject<any>, import('../../types').AnyObject<any>>>;
97
- default: null;
98
- };
99
- /**
100
- * 是否进行自动查询,需要手动点击查询按钮进行查询
101
- */
102
- autoQuery: {
103
- type: BooleanConstructor;
104
- default: boolean;
105
- };
106
- /**
107
- * 查询表单子项配置
108
- */
109
- filterItems: {
110
- type: PropType<false | FFormItemType<import('../../types').AnyObject<any>>[]>;
111
- default: never[];
112
- };
113
- /**
114
- * FForm 组件 props
115
- */
116
- fFormProps: {
117
- type: PropType<FFormProps>;
118
- default: () => {};
119
- };
120
- /**
121
- * 结果表格配置
122
- * 优先级低于 FTable.cols
123
- */
124
- tableCols: {
125
- type: PropType<FTableCol<import('../../types').AnyObject<any>, import('../../types').OmitNullUndefined<import('../../types').AnyObject<any>>>[]>;
126
- default: () => never[];
127
- };
128
- /**
129
- * FTable 组件 props
130
- * 剔除 data (本组件需要做单独处理) / noImmediatelyMethodData(首次查询需要合并一些数据才能进行)
131
- */
132
- fTableProps: {
133
- type: PropType<Omit<FTableProps, "data" | "noImmediatelyMethodData">>;
134
- default: () => {};
135
- };
136
- };
137
- export type FQueryListProps = ExtractPublicPropTypes<typeof fQueryListProps>;
5
+
6
+ export declare const fQueryListProps: {
7
+ /**
8
+ * 查询列表唯一标识(必传)
9
+ */
10
+ id: {
11
+ type: StringConstructor;
12
+ required: boolean;
13
+ };
14
+ /**
15
+ * 简单模式(建议在不超过一行筛选项时使用)
16
+ * 1、筛选项直接平铺,不会有多余隐藏的处理
17
+ * 2、取消查询条件整个模块的折叠模式
18
+ * 3、取消重置按钮
19
+ * 4、查询按钮只剩图标,没有文字描述
20
+ */
21
+ simple: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ /**
26
+ * 查询列表标题
27
+ */
28
+ title: {
29
+ type: PropType<string | false>;
30
+ default: boolean;
31
+ };
32
+ /**
33
+ * 是否开启查询条件整个模块的折叠模式
34
+ */
35
+ filterCollapseable: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ /**
40
+ * 查询条件整个模块折叠状态(可双向绑定)
41
+ * filterCollapseable 开启时,默认折叠
42
+ */
43
+ filterCollapseStatus: {
44
+ type: BooleanConstructor;
45
+ default: null;
46
+ };
47
+ /**
48
+ * 查询按钮的文本
49
+ */
50
+ queryBtnText: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ /**
55
+ * 查询按钮的props
56
+ */
57
+ queryBtnProps: {
58
+ type: PropType<FButtonProps>;
59
+ default: () => {};
60
+ };
61
+ /**
62
+ * 查询按钮是否展示 loading 状态(跟随 FTable 数据加载状态)
63
+ * 开启后,点击查询按钮到数据加载完成期间,按钮将处于 loading 状态,防止重复点击
64
+ */
65
+ queryBtnLoading: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ /**
70
+ * 查询之前的回调事件
71
+ * 支持Promise,如果返回false或者throw则会阻止后续查询
72
+ */
73
+ onBeforeQuery: {
74
+ type: PropType<() => boolean | Promise<boolean>>;
75
+ default: null;
76
+ };
77
+ /**
78
+ * 重置按钮的文本
79
+ */
80
+ resetBtnText: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ /**
85
+ * 查询按钮的props
86
+ */
87
+ resetBtnProps: {
88
+ type: PropType<FButtonProps>;
89
+ default: () => {};
90
+ };
91
+ /**
92
+ * table表格列表数据
93
+ * 只支持通过方法类型传入数据
94
+ */
95
+ tableData: {
96
+ type: PropType<FTableMethodData>;
97
+ default: null;
98
+ };
99
+ /**
100
+ * 是否进行自动查询,需要手动点击查询按钮进行查询
101
+ */
102
+ autoQuery: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ /**
107
+ * 查询表单子项配置
108
+ */
109
+ filterItems: {
110
+ type: PropType<FFormItemType[] | false>;
111
+ default: never[];
112
+ };
113
+ /**
114
+ * FForm 组件 props
115
+ */
116
+ fFormProps: {
117
+ type: PropType<FFormProps>;
118
+ default: () => {};
119
+ };
120
+ /**
121
+ * 结果表格配置
122
+ * 优先级低于 FTable.cols
123
+ */
124
+ tableCols: {
125
+ type: PropType<FTableCol[]>;
126
+ default: () => never[];
127
+ };
128
+ /**
129
+ * FTable 组件 props
130
+ * 剔除 data (本组件需要做单独处理) / noImmediatelyMethodData(首次查询需要合并一些数据才能进行)
131
+ */
132
+ fTableProps: {
133
+ type: PropType<Omit<FTableProps, "data" | "noImmediatelyMethodData">>;
134
+ default: () => {};
135
+ };
136
+ };
137
+ export type FQueryListProps = ExtractPublicPropTypes<typeof fQueryListProps>;