@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
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./chunk-a016ffab.js"),O={ROUTER:e.ROUTER_KEY,ICONFONT:e.ICONFONT_KEY,ARCO_ICON:e.ARCO_ICON_KEY};exports.FArcoKeys=O;
@@ -0,0 +1,9 @@
1
+ import { R as O, I as R, A as C } from "./chunk-0d0f8483.js";
2
+ const o = {
3
+ ROUTER: O,
4
+ ICONFONT: R,
5
+ ARCO_ICON: C
6
+ };
7
+ export {
8
+ o as FArcoKeys
9
+ };
@@ -1,37 +1,37 @@
1
1
  import { ButtonProps, TooltipInstance } from '@arco-design/web-vue';
2
2
  import { FIconProps } from '../ficon';
3
-
4
- export type FButtonProps = {
5
- /** 按钮类型 */
6
- type?: ButtonProps['type'];
7
- /**
8
- * 按钮文本
9
- * 在使用default插槽时,此项无效
10
- */
11
- label?: string;
12
- /**
13
- * 按钮图标
14
- */
15
- icon?: string;
16
- /**
17
- * 传递给FIcon组件的props
18
- * 剔除tips相关的配置项,tips由当前组件单独实现
19
- */
20
- iconProps?: Omit<FIconProps, 'tooltip' | 'tooltipProps'>;
21
- /**
22
- * hover时,按钮弹出的的提示语
23
- *
24
- * 如果使用\n换行符,会自动进行换行操作
25
- *
26
- * 在使用tooltip插槽时,此项无效
27
- */
28
- tooltip?: string;
29
- /**
30
- * 传递给Arco Tooltip组件的props
31
- */
32
- tooltipProps?: TooltipInstance['$props'];
33
- /**
34
- * 自定义按钮颜色
35
- */
36
- color?: string;
37
- };
3
+
4
+ export type FButtonProps = {
5
+ /** 按钮类型 */
6
+ type?: ButtonProps['type'];
7
+ /**
8
+ * 按钮文本
9
+ * 在使用default插槽时,此项无效
10
+ */
11
+ label?: string;
12
+ /**
13
+ * 按钮图标
14
+ */
15
+ icon?: string;
16
+ /**
17
+ * 传递给FIcon组件的props
18
+ * 剔除tips相关的配置项,tips由当前组件单独实现
19
+ */
20
+ iconProps?: Omit<FIconProps, 'tooltip' | 'tooltipProps'>;
21
+ /**
22
+ * hover时,按钮弹出的的提示语
23
+ *
24
+ * 如果使用\n换行符,会自动进行换行操作
25
+ *
26
+ * 在使用tooltip插槽时,此项无效
27
+ */
28
+ tooltip?: string;
29
+ /**
30
+ * 传递给Arco Tooltip组件的props
31
+ */
32
+ tooltipProps?: TooltipInstance['$props'];
33
+ /**
34
+ * 自定义按钮颜色
35
+ */
36
+ color?: string;
37
+ };
@@ -1,34 +1,36 @@
1
1
  import { FButtonProps } from './fbutton';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FButtonProps>, {
4
- type: string;
5
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FButtonProps>, {
6
- type: string;
7
- }>>> & Readonly<{}>, {
8
- type: "text" | "primary" | "secondary" | "outline" | "dashed";
9
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
10
- tooltip?(_: {}): any;
11
- }>;
12
- export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
22
- type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
- default: D[K];
25
- }> : P[K];
26
- };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
2
+
3
+ declare function __VLS_template(): {
4
+ tooltip?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FButtonProps>, {
7
+ type: string;
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FButtonProps>, {
9
+ type: string;
10
+ }>>> & Readonly<{}>, {
11
+ type: "text" | "primary" | "secondary" | "outline" | "dashed";
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithDefaults<P, D> = {
25
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
+ default: D[K];
27
+ }> : P[K];
28
+ };
29
+ type __VLS_Prettify<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { default as FButton } from './fbutton.vue';
3
-
4
- export default FButton;
5
- export type FButtonInstance = InstanceType<typeof FButton>;
6
- export * from './fbutton';
3
+
4
+ export default FButton;
5
+ export type FButtonInstance = InstanceType<typeof FButton>;
6
+ export * from './fbutton';
@@ -1,11 +1,11 @@
1
1
  /// <reference path="./components.d.ts" />
2
- export declare const DEFAULT_OPTION_KEY_NAMES: {
3
- /** label值的字段名称 */
4
- label: string;
5
- /** value值的字段名称 */
6
- value: string;
7
- };
8
- /** 默认远程数据使用字段名 */
9
- export declare const DEFAULT_REMOTE_OPTIONS_DATA_NAME = "data";
10
- /** 默认远程数据使用分隔符 */
11
- export declare const DEFAULT_REMOTE_OPTIONS_DATA_NAME_SPLIT = ".";
2
+ export declare const DEFAULT_OPTION_KEY_NAMES: {
3
+ /** label值的字段名称 */
4
+ label: string;
5
+ /** value值的字段名称 */
6
+ value: string;
7
+ };
8
+ /** 默认远程数据使用字段名 */
9
+ export declare const DEFAULT_REMOTE_OPTIONS_DATA_NAME = "data";
10
+ /** 默认远程数据使用分隔符 */
11
+ export declare const DEFAULT_REMOTE_OPTIONS_DATA_NAME_SPLIT = ".";
@@ -2,44 +2,44 @@ import { ExtractPublicPropTypes, PropType } from 'vue';
2
2
  import { RadioOption } from '@arco-design/web-vue/es/radio/interface';
3
3
  import { CheckboxGroupInstance } from '@arco-design/web-vue';
4
4
  import { FArcoRender, FMethodData } from '../../../../../../../../../src/types';
5
-
6
- export type FCheckboxOptions = (Omit<RadioOption, 'value'> & {
7
- slots?: {
8
- [key: string]: FArcoRender;
9
- };
10
- value?: unknown;
11
- [key: string]: any;
12
- })[];
13
- export type FCheckboxOptionKeyNames = {
14
- label: string;
15
- value: string;
16
- };
17
- export declare const fCheckboxProps: {
18
- /**
19
- * 默认值(非受控模式)
20
- */
21
- defaultValue: {
22
- type: PropType<(string | number | boolean)[]>;
23
- default: null;
24
- };
25
- /**
26
- * 选项列表
27
- * 支持Promise函数,可返回一个远程获取的数据
28
- */
29
- options: {
30
- required: boolean;
31
- type: PropType<FCheckboxOptions | FMethodData<FCheckboxOptions>>;
32
- default: null;
33
- };
34
- /**
35
- * 提供给option组件渲染时值与名称的字段名称
36
- */
37
- optionKeyNames: {
38
- type: PropType<FCheckboxOptionKeyNames>;
39
- default: () => {
40
- label: string;
41
- value: string;
42
- };
43
- };
44
- };
45
- export type FCheckboxProps = Omit<CheckboxGroupInstance['$props'], 'options'> & ExtractPublicPropTypes<typeof fCheckboxProps>;
5
+
6
+ export type FCheckboxOptions = (Omit<RadioOption, 'value'> & {
7
+ slots?: {
8
+ [key: string]: FArcoRender;
9
+ };
10
+ value?: unknown;
11
+ [key: string]: any;
12
+ })[];
13
+ export type FCheckboxOptionKeyNames = {
14
+ label: string;
15
+ value: string;
16
+ };
17
+ export declare const fCheckboxProps: {
18
+ /**
19
+ * 默认值(非受控模式)
20
+ */
21
+ defaultValue: {
22
+ type: PropType<(string | number | boolean)[]>;
23
+ default: null;
24
+ };
25
+ /**
26
+ * 选项列表
27
+ * 支持Promise函数,可返回一个远程获取的数据
28
+ */
29
+ options: {
30
+ required: boolean;
31
+ type: PropType<FCheckboxOptions | FMethodData<FCheckboxOptions>>;
32
+ default: null;
33
+ };
34
+ /**
35
+ * 提供给option组件渲染时值与名称的字段名称
36
+ */
37
+ optionKeyNames: {
38
+ type: PropType<FCheckboxOptionKeyNames>;
39
+ default: () => {
40
+ label: string;
41
+ value: string;
42
+ };
43
+ };
44
+ };
45
+ export type FCheckboxProps = Omit<CheckboxGroupInstance['$props'], 'options'> & ExtractPublicPropTypes<typeof fCheckboxProps>;
@@ -1,168 +1,170 @@
1
1
  import { Ref } from 'vue';
2
2
  import { FCheckboxOptions } from './fcheckbox';
3
-
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
- modelValue: import('vue').PropType<(string | number | boolean)[]>;
6
- defaultValue: {
7
- type: import('vue').PropType<(string | number | boolean)[]>;
8
- default: null;
9
- };
10
- options: {
11
- required: boolean;
12
- type: import('vue').PropType<FCheckboxOptions | import('../../../../../../../../../src/types').FMethodData<FCheckboxOptions>>;
13
- default: null;
14
- };
15
- optionKeyNames: {
16
- type: import('vue').PropType<import('./fcheckbox').FCheckboxOptionKeyNames>;
17
- default: () => {
18
- label: string;
19
- value: string;
20
- };
21
- };
22
- }>, {
23
- /**
24
- * 值,在非受控模式下,读取组件的值
25
- */
26
- value: import('vue').ModelRef<(string | number | boolean)[] | undefined, string, (string | number | boolean)[] | undefined, (string | number | boolean)[] | undefined>;
27
- /**
28
- * 手动重载远程数据
29
- * @param params 手动重新指定传出的参数
30
- */
31
- replayMethodOptions(params: any): void;
32
- /**
33
- * Arco CheckboxGroup 实例(可调用组件内部方法)
34
- * */
35
- ins: Ref<any, any>;
36
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
37
- modelValue: import('vue').PropType<(string | number | boolean)[]>;
38
- defaultValue: {
39
- type: import('vue').PropType<(string | number | boolean)[]>;
40
- default: null;
41
- };
42
- options: {
43
- required: boolean;
44
- type: import('vue').PropType<FCheckboxOptions | import('../../../../../../../../../src/types').FMethodData<FCheckboxOptions>>;
45
- default: null;
46
- };
47
- optionKeyNames: {
48
- type: import('vue').PropType<import('./fcheckbox').FCheckboxOptionKeyNames>;
49
- default: () => {
50
- label: string;
51
- value: string;
52
- };
53
- };
54
- }>> & Readonly<{}>, {
55
- options: FCheckboxOptions | import('../../../../../../../../../src/types').FMethodData<FCheckboxOptions>;
56
- defaultValue: (string | number | boolean)[];
57
- optionKeyNames: import('./fcheckbox').FCheckboxOptionKeyNames;
58
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<`checkbox-${any}`, (_: {
59
- data: {
60
- [x: string]: any;
61
- label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
62
- disabled?: boolean | undefined;
63
- slots?: {
64
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
65
- } | undefined;
66
- value?: unknown;
67
- } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
68
- [key: string]: any;
69
- slots?: {
70
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
71
- } | undefined;
72
- value?: unknown;
73
- } & {
74
- [x: string]: any;
75
- label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
76
- disabled?: boolean | undefined;
77
- slots?: {
78
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
79
- } | undefined;
80
- value?: unknown;
81
- });
82
- checked: any;
83
- disabled: any;
84
- }) => any>> & Partial<Record<`label-${any}`, (_: {
85
- data: {
86
- [x: string]: any;
87
- label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
88
- disabled?: boolean | undefined;
89
- slots?: {
90
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
91
- } | undefined;
92
- value?: unknown;
93
- } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
94
- [key: string]: any;
95
- slots?: {
96
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
97
- } | undefined;
98
- value?: unknown;
99
- } & {
100
- [x: string]: any;
101
- label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
102
- disabled?: boolean | undefined;
103
- slots?: {
104
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
105
- } | undefined;
106
- value?: unknown;
107
- });
108
- checked: boolean;
109
- }) => any>> & {
110
- checkbox?(_: {
111
- data: {
112
- [x: string]: any;
113
- label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
114
- disabled?: boolean | undefined;
115
- slots?: {
116
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
117
- } | undefined;
118
- value?: unknown;
119
- } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
120
- [key: string]: any;
121
- slots?: {
122
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
123
- } | undefined;
124
- value?: unknown;
125
- } & {
126
- [x: string]: any;
127
- label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
128
- disabled?: boolean | undefined;
129
- slots?: {
130
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
131
- } | undefined;
132
- value?: unknown;
133
- });
134
- checked: any;
135
- disabled: any;
136
- }): any;
137
- label?(_: {
138
- data: {
139
- [x: string]: any;
140
- label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
141
- disabled?: boolean | undefined;
142
- slots?: {
143
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
144
- } | undefined;
145
- value?: unknown;
146
- } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
147
- [key: string]: any;
148
- slots?: {
149
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
150
- } | undefined;
151
- value?: unknown;
152
- } & {
153
- [x: string]: any;
154
- label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
155
- disabled?: boolean | undefined;
156
- slots?: {
157
- [key: string]: import('../../../../../../../../../src/types').FArcoRender;
158
- } | undefined;
159
- value?: unknown;
160
- });
161
- }): any;
162
- }>;
163
- export default _default;
164
- type __VLS_WithTemplateSlots<T, S> = T & {
165
- new (): {
166
- $slots: S;
167
- };
168
- };
3
+
4
+ declare function __VLS_template(): Partial<Record<`checkbox-${any}`, (_: {
5
+ data: {
6
+ [x: string]: any;
7
+ label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
8
+ disabled?: boolean | undefined;
9
+ slots?: {
10
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
11
+ } | undefined;
12
+ value?: unknown;
13
+ } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
14
+ [key: string]: any;
15
+ slots?: {
16
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
17
+ };
18
+ value?: unknown;
19
+ } & {
20
+ [x: string]: any;
21
+ label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
22
+ disabled?: boolean | undefined;
23
+ slots?: {
24
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
25
+ } | undefined;
26
+ value?: unknown;
27
+ });
28
+ checked: any;
29
+ disabled: any;
30
+ }) => any>> & Partial<Record<`label-${any}`, (_: {
31
+ data: {
32
+ [x: string]: any;
33
+ label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
34
+ disabled?: boolean | undefined;
35
+ slots?: {
36
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
37
+ } | undefined;
38
+ value?: unknown;
39
+ } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
40
+ [key: string]: any;
41
+ slots?: {
42
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
43
+ };
44
+ value?: unknown;
45
+ } & {
46
+ [x: string]: any;
47
+ label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
48
+ disabled?: boolean | undefined;
49
+ slots?: {
50
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
51
+ } | undefined;
52
+ value?: unknown;
53
+ });
54
+ checked: boolean;
55
+ }) => any>> & {
56
+ checkbox?(_: {
57
+ data: {
58
+ [x: string]: any;
59
+ label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
60
+ disabled?: boolean | undefined;
61
+ slots?: {
62
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
63
+ } | undefined;
64
+ value?: unknown;
65
+ } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
66
+ [key: string]: any;
67
+ slots?: {
68
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
69
+ };
70
+ value?: unknown;
71
+ } & {
72
+ [x: string]: any;
73
+ label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
74
+ disabled?: boolean | undefined;
75
+ slots?: {
76
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
77
+ } | undefined;
78
+ value?: unknown;
79
+ });
80
+ checked: any;
81
+ disabled: any;
82
+ }): any;
83
+ label?(_: {
84
+ data: {
85
+ [x: string]: any;
86
+ label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
87
+ disabled?: boolean | undefined;
88
+ slots?: {
89
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
90
+ } | undefined;
91
+ value?: unknown;
92
+ } | (Omit<import('@arco-design/web-vue/es/radio/interface').RadioOption, "value"> & {
93
+ [key: string]: any;
94
+ slots?: {
95
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
96
+ };
97
+ value?: unknown;
98
+ } & {
99
+ [x: string]: any;
100
+ label?: import('@arco-design/web-vue/es/_utils/types').RenderContent | undefined;
101
+ disabled?: boolean | undefined;
102
+ slots?: {
103
+ [key: string]: import('../../../../../../../../../src/types').FArcoRender;
104
+ } | undefined;
105
+ value?: unknown;
106
+ });
107
+ }): any;
108
+ };
109
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
110
+ modelValue: import('vue').PropType<(string | number | boolean)[]>;
111
+ defaultValue: {
112
+ type: import('vue').PropType<(string | number | boolean)[]>;
113
+ default: null;
114
+ };
115
+ options: {
116
+ required: boolean;
117
+ type: import('vue').PropType<FCheckboxOptions | import('../../../../../../../../../src/types').FMethodData<FCheckboxOptions>>;
118
+ default: null;
119
+ };
120
+ optionKeyNames: {
121
+ type: import('vue').PropType<import('./fcheckbox').FCheckboxOptionKeyNames>;
122
+ default: () => {
123
+ label: string;
124
+ value: string;
125
+ };
126
+ };
127
+ }>, {
128
+ /**
129
+ * 值,在非受控模式下,读取组件的值
130
+ */
131
+ value: import('vue').ModelRef<(string | number | boolean)[] | undefined, string, (string | number | boolean)[] | undefined, (string | number | boolean)[] | undefined>;
132
+ /**
133
+ * 手动重载远程数据
134
+ * @param params 手动重新指定传出的参数
135
+ */
136
+ replayMethodOptions(params: any): void;
137
+ /**
138
+ * Arco CheckboxGroup 实例(可调用组件内部方法)
139
+ * */
140
+ ins: Ref<any, any>;
141
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
142
+ modelValue: import('vue').PropType<(string | number | boolean)[]>;
143
+ defaultValue: {
144
+ type: import('vue').PropType<(string | number | boolean)[]>;
145
+ default: null;
146
+ };
147
+ options: {
148
+ required: boolean;
149
+ type: import('vue').PropType<FCheckboxOptions | import('../../../../../../../../../src/types').FMethodData<FCheckboxOptions>>;
150
+ default: null;
151
+ };
152
+ optionKeyNames: {
153
+ type: import('vue').PropType<import('./fcheckbox').FCheckboxOptionKeyNames>;
154
+ default: () => {
155
+ label: string;
156
+ value: string;
157
+ };
158
+ };
159
+ }>> & Readonly<{}>, {
160
+ options: FCheckboxOptions | import('../../../../../../../../../src/types').FMethodData<FCheckboxOptions>;
161
+ defaultValue: (string | number | boolean)[];
162
+ optionKeyNames: import('./fcheckbox').FCheckboxOptionKeyNames;
163
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
164
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
165
+ export default _default;
166
+ type __VLS_WithTemplateSlots<T, S> = T & {
167
+ new (): {
168
+ $slots: S;
169
+ };
170
+ };
@@ -1,6 +1,6 @@
1
1
  /// <reference path="./components.d.ts" />
2
2
  import { default as FCheckbox } from './fcheckbox.vue';
3
-
4
- export default FCheckbox;
5
- export type FCheckboxInstance = InstanceType<typeof FCheckbox>;
6
- export * from './fcheckbox';
3
+
4
+ export default FCheckbox;
5
+ export type FCheckboxInstance = InstanceType<typeof FCheckbox>;
6
+ export * from './fcheckbox';