@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.
- package/dist/chunk-0b1102a0.js +95 -0
- package/dist/chunk-0d0f8483.js +6 -0
- package/dist/chunk-0ec0668f.js +42 -0
- package/dist/chunk-0f50b26a.js +153 -0
- package/dist/chunk-17a233d7.js +1 -0
- package/dist/chunk-18dd07f2.js +71 -0
- package/dist/chunk-28ba1e67.js +4525 -0
- package/dist/chunk-2d4cc9ab.js +287 -0
- package/dist/chunk-32aa5901.js +1 -0
- package/dist/chunk-3659754f.js +103 -0
- package/dist/chunk-3e27c862.js +38 -0
- package/dist/chunk-3e3782aa.js +1 -0
- package/dist/chunk-451afd44.js +58 -0
- package/dist/chunk-45dbb8f9.js +1 -0
- package/dist/chunk-540a3872.js +1 -0
- package/dist/chunk-5672685f.js +2 -0
- package/dist/chunk-592857c5.js +1 -0
- package/dist/chunk-5f89350b.js +2 -0
- package/dist/chunk-6c665483.js +4 -0
- package/dist/chunk-7779a34c.js +169 -0
- package/dist/chunk-7e78427e.js +1 -0
- package/dist/chunk-7f0e9b41.js +1 -0
- package/dist/chunk-82468a2e.js +1 -0
- package/dist/chunk-867494bd.js +99 -0
- package/dist/chunk-8a4bafe4.js +135 -0
- package/dist/chunk-912642ce.js +36 -0
- package/dist/chunk-995c23b4.js +85 -0
- package/dist/chunk-a016ffab.js +1 -0
- package/dist/chunk-a1e9227b.js +1 -0
- package/dist/chunk-a67d2308.js +1 -0
- package/dist/chunk-abb01801.js +955 -0
- package/dist/chunk-b2838051.js +42 -0
- package/dist/chunk-c4c93c86.js +1 -0
- package/dist/chunk-c9e8fc0f.js +5 -0
- package/dist/chunk-db179b28.js +82 -0
- package/dist/chunk-dc6689c4.js +34 -0
- package/dist/chunk-e7fc446a.js +29 -0
- package/dist/chunk-ed8bf4fb.js +12607 -0
- package/dist/chunk-f363e104.js +1 -0
- package/dist/chunk-fe45f9f8.js +1 -0
- package/dist/fbutton.cjs.js +1 -0
- package/dist/fbutton.es.js +9 -0
- package/dist/fcheckbox.cjs.js +1 -0
- package/dist/fcheckbox.es.js +8 -0
- package/dist/fdate.cjs.js +1 -0
- package/dist/fdate.es.js +8 -0
- package/dist/fform-item.cjs.js +1 -0
- package/dist/fform-item.es.js +26 -0
- package/dist/fform.cjs.js +1 -0
- package/dist/fform.es.js +24 -0
- package/dist/ficon.cjs.js +1 -0
- package/dist/ficon.es.js +9 -0
- package/dist/finput.cjs.js +1 -0
- package/dist/finput.es.js +9 -0
- package/dist/flink.cjs.js +1 -0
- package/dist/flink.es.js +9 -0
- package/dist/fml-input.cjs.js +1 -0
- package/dist/fml-input.es.js +11 -0
- package/dist/fpop-choice.cjs.js +1 -0
- package/dist/fpop-choice.es.js +26 -0
- package/dist/fquery-list.cjs.js +1 -0
- package/dist/fquery-list.es.js +24 -0
- package/dist/fradio.cjs.js +1 -0
- package/dist/fradio.es.js +8 -0
- package/dist/frange.cjs.js +1 -0
- package/dist/frange.es.js +10 -0
- package/dist/fsearch.cjs.js +1 -0
- package/dist/fsearch.es.js +24 -0
- package/dist/fselect.cjs.js +1 -0
- package/dist/fselect.es.js +12 -0
- package/dist/fskeleton.cjs.js +1 -0
- package/dist/fskeleton.es.js +8 -0
- package/dist/fswitch.cjs.js +1 -0
- package/dist/fswitch.es.js +8 -0
- package/dist/ftable.cjs.js +1 -0
- package/dist/ftable.es.js +13 -0
- package/dist/ftext.cjs.js +1 -0
- package/dist/ftext.es.js +12 -0
- package/dist/ftextarea.cjs.js +1 -0
- package/dist/ftextarea.es.js +9 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.es.js +175 -19505
- package/dist/keys.cjs.js +1 -0
- package/dist/keys.es.js +9 -0
- package/dist/types/components/fbutton/fbutton.d.ts +35 -35
- package/dist/types/components/fbutton/fbutton.vue.d.ts +35 -33
- package/dist/types/components/fbutton/index.d.ts +4 -4
- package/dist/types/components/fcheckbox/constants/index.d.ts +10 -10
- package/dist/types/components/fcheckbox/fcheckbox.d.ts +41 -41
- package/dist/types/components/fcheckbox/fcheckbox.vue.d.ts +168 -166
- package/dist/types/components/fcheckbox/index.d.ts +4 -4
- package/dist/types/components/fdate/fdate.d.ts +67 -67
- package/dist/types/components/fdate/fdate.vue.d.ts +47 -45
- package/dist/types/components/fdate/index.d.ts +4 -4
- package/dist/types/components/fform/fform.d.ts +83 -83
- package/dist/types/components/fform/fform.vue.d.ts +124 -122
- package/dist/types/components/fform/index.d.ts +4 -4
- package/dist/types/components/fform-item/fform-item.d.ts +91 -91
- package/dist/types/components/fform-item/fform-item.vue.d.ts +121 -117
- package/dist/types/components/fform-item/index.d.ts +4 -4
- package/dist/types/components/ficon/ficon.d.ts +44 -44
- package/dist/types/components/ficon/ficon.vue.d.ts +63 -59
- package/dist/types/components/ficon/index.d.ts +4 -4
- package/dist/types/components/finput/finput.d.ts +54 -54
- package/dist/types/components/finput/finput.vue.d.ts +87 -83
- package/dist/types/components/finput/index.d.ts +4 -4
- package/dist/types/components/flink/flink.d.ts +26 -26
- package/dist/types/components/flink/flink.vue.d.ts +42 -40
- package/dist/types/components/flink/index.d.ts +4 -4
- package/dist/types/components/fml-input/fml-input.d.ts +74 -74
- package/dist/types/components/fml-input/fml-input.vue.d.ts +601 -622
- package/dist/types/components/fml-input/index.d.ts +4 -4
- package/dist/types/components/fpop-choice/fpop-choice.d.ts +52 -52
- package/dist/types/components/fpop-choice/fpop-choice.vue.d.ts +884 -891
- package/dist/types/components/fpop-choice/index.d.ts +5 -5
- package/dist/types/components/fpop-choice/utils/index.d.ts +16 -16
- package/dist/types/components/fquery-list/fquery-list.d.ts +133 -133
- package/dist/types/components/fquery-list/fquery-list.vue.d.ts +467 -1352
- package/dist/types/components/fquery-list/index.d.ts +4 -4
- package/dist/types/components/fradio/constants/index.d.ts +8 -8
- package/dist/types/components/fradio/fradio.d.ts +48 -48
- package/dist/types/components/fradio/fradio.vue.d.ts +176 -174
- package/dist/types/components/fradio/index.d.ts +4 -4
- package/dist/types/components/frange/frange.d.ts +47 -47
- package/dist/types/components/frange/frange.vue.d.ts +92 -90
- package/dist/types/components/frange/index.d.ts +4 -4
- package/dist/types/components/fsearch/fsearch.d.ts +75 -75
- package/dist/types/components/fsearch/fsearch.vue.d.ts +103 -103
- package/dist/types/components/fsearch/index.d.ts +4 -4
- package/dist/types/components/fselect/constants/index.d.ts +6 -6
- package/dist/types/components/fselect/fselect-option.vue.d.ts +25 -25
- package/dist/types/components/fselect/fselect.d.ts +120 -120
- package/dist/types/components/fselect/fselect.vue.d.ts +184 -182
- package/dist/types/components/fselect/index.d.ts +4 -4
- package/dist/types/components/fskeleton/fskeleton.d.ts +18 -18
- package/dist/types/components/fskeleton/fskeleton.vue.d.ts +17 -15
- package/dist/types/components/fskeleton/index.d.ts +4 -4
- package/dist/types/components/fswitch/fswitch.d.ts +8 -8
- package/dist/types/components/fswitch/fswitch.vue.d.ts +365 -365
- package/dist/types/components/fswitch/index.d.ts +4 -4
- package/dist/types/components/ftable/constants/index.d.ts +14 -14
- package/dist/types/components/ftable/ftable-cols-set.vue.d.ts +6 -6
- package/dist/types/components/ftable/ftable-toolbar.vue.d.ts +57 -54
- package/dist/types/components/ftable/ftable.d.ts +332 -332
- package/dist/types/components/ftable/ftable.vue.d.ts +139 -333
- package/dist/types/components/ftable/index.d.ts +4 -4
- package/dist/types/components/ftable/utils/index.d.ts +13 -13
- package/dist/types/components/ftext/ftext.d.ts +97 -96
- package/dist/types/components/ftext/ftext.vue.d.ts +88 -86
- package/dist/types/components/ftext/index.d.ts +4 -4
- package/dist/types/components/ftextarea/ftextarea.d.ts +32 -32
- package/dist/types/components/ftextarea/ftextarea.vue.d.ts +569 -575
- package/dist/types/components/ftextarea/index.d.ts +4 -4
- package/dist/types/components/index.d.ts +40 -40
- package/dist/types/constants/fform.d.ts +8 -8
- package/dist/types/constants/global.d.ts +9 -24
- package/dist/types/constants/keys.d.ts +14 -0
- package/dist/types/env.d.ts +4 -0
- package/dist/types/index.d.ts +14 -15
- package/dist/types/types/global.d.ts +44 -44
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/utils/business-format.d.ts +136 -136
- package/dist/types/utils/index.d.ts +4 -4
- package/package.json +23 -3
- package/dist/index.umd.js +0 -128
|
@@ -1,83 +1,87 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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<"
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
type:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
type:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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<"
|
|
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>;
|