@flyto/farco 1.2.1 → 1.4.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/index.umd.js +25 -25
- package/dist/keys.cjs.js +1 -0
- package/dist/keys.es.js +9 -0
- package/dist/style.css +1 -1
- 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 +24 -4
|
@@ -1,123 +1,123 @@
|
|
|
1
1
|
import { SelectOptionData, SelectOptionGroup, SelectProps } from '@arco-design/web-vue';
|
|
2
2
|
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
3
3
|
import { FMethodData } from '../../../../../../../../../src/types';
|
|
4
|
-
|
|
5
|
-
export type FSelectValue = string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[];
|
|
6
|
-
export type FSelectOptions = (SelectOptionData | SelectOptionGroup)[];
|
|
7
|
-
export type FSelectOptionKeyNames = {
|
|
8
|
-
label: string;
|
|
9
|
-
value: string;
|
|
10
|
-
groupLabel?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const fSelectProps: {
|
|
13
|
-
/**
|
|
14
|
-
* 默认值(非受控模式)
|
|
15
|
-
*/
|
|
16
|
-
defaultValue: {
|
|
17
|
-
type: PropType<FSelectValue>;
|
|
18
|
-
default: null;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* 选项列表
|
|
22
|
-
* 支持Promise函数,可返回一个远程获取的数据
|
|
23
|
-
*/
|
|
24
|
-
options: {
|
|
25
|
-
type: PropType<FSelectOptions | FMethodData<FSelectOptions>>;
|
|
26
|
-
default: null;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* 提供给option组件渲染时值与名称的字段名称
|
|
30
|
-
*/
|
|
31
|
-
optionKeyNames: {
|
|
32
|
-
type: PropType<FSelectOptionKeyNames>;
|
|
33
|
-
default: () => {
|
|
34
|
-
label: string;
|
|
35
|
-
value: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* 隐藏默认空值项(默认无选中项)
|
|
40
|
-
*/
|
|
41
|
-
defaultHide: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* 未有选中值时的提示文本
|
|
47
|
-
*/
|
|
48
|
-
placeholder: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* 允许清空
|
|
54
|
-
*/
|
|
55
|
-
allowClear: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* 允许搜索
|
|
61
|
-
*/
|
|
62
|
-
allowSearch: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* 多选时,已选择项最大显示数量
|
|
68
|
-
*/
|
|
69
|
-
maxTagCount: {
|
|
70
|
-
type: NumberConstructor;
|
|
71
|
-
default: number;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* 空数据时,显示的文本
|
|
75
|
-
*/
|
|
76
|
-
emptyText: {
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* 搜索时的回调
|
|
82
|
-
*/
|
|
83
|
-
onSearch: {
|
|
84
|
-
type: PropType<(value: string) => void>;
|
|
85
|
-
default: null;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* 是否多选
|
|
89
|
-
*/
|
|
90
|
-
multiple: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* 如果只有一个选项的情况下,默认选中
|
|
96
|
-
*/
|
|
97
|
-
autoSelectSingle: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* 不管有几个选项,都默认选中第一个
|
|
103
|
-
*/
|
|
104
|
-
autoSelectFirst: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
default: boolean;
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* 搜索输入框聚焦的事件
|
|
110
|
-
*/
|
|
111
|
-
onFocus: {
|
|
112
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
113
|
-
default: null;
|
|
114
|
-
};
|
|
115
|
-
/**
|
|
116
|
-
* 搜索输入框失焦的事件
|
|
117
|
-
*/
|
|
118
|
-
onBlur: {
|
|
119
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
120
|
-
default: null;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
export type FSelectProps = ExtractPublicPropTypes<typeof fSelectProps> & Omit<SelectProps, 'options' | 'loading'>;
|
|
4
|
+
|
|
5
|
+
export type FSelectValue = string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[];
|
|
6
|
+
export type FSelectOptions = (SelectOptionData | SelectOptionGroup)[];
|
|
7
|
+
export type FSelectOptionKeyNames = {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
groupLabel?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const fSelectProps: {
|
|
13
|
+
/**
|
|
14
|
+
* 默认值(非受控模式)
|
|
15
|
+
*/
|
|
16
|
+
defaultValue: {
|
|
17
|
+
type: PropType<FSelectValue>;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* 选项列表
|
|
22
|
+
* 支持Promise函数,可返回一个远程获取的数据
|
|
23
|
+
*/
|
|
24
|
+
options: {
|
|
25
|
+
type: PropType<FSelectOptions | FMethodData<FSelectOptions>>;
|
|
26
|
+
default: null;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* 提供给option组件渲染时值与名称的字段名称
|
|
30
|
+
*/
|
|
31
|
+
optionKeyNames: {
|
|
32
|
+
type: PropType<FSelectOptionKeyNames>;
|
|
33
|
+
default: () => {
|
|
34
|
+
label: string;
|
|
35
|
+
value: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* 隐藏默认空值项(默认无选中项)
|
|
40
|
+
*/
|
|
41
|
+
defaultHide: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* 未有选中值时的提示文本
|
|
47
|
+
*/
|
|
48
|
+
placeholder: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* 允许清空
|
|
54
|
+
*/
|
|
55
|
+
allowClear: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* 允许搜索
|
|
61
|
+
*/
|
|
62
|
+
allowSearch: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* 多选时,已选择项最大显示数量
|
|
68
|
+
*/
|
|
69
|
+
maxTagCount: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* 空数据时,显示的文本
|
|
75
|
+
*/
|
|
76
|
+
emptyText: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* 搜索时的回调
|
|
82
|
+
*/
|
|
83
|
+
onSearch: {
|
|
84
|
+
type: PropType<(value: string) => void>;
|
|
85
|
+
default: null;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* 是否多选
|
|
89
|
+
*/
|
|
90
|
+
multiple: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* 如果只有一个选项的情况下,默认选中
|
|
96
|
+
*/
|
|
97
|
+
autoSelectSingle: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* 不管有几个选项,都默认选中第一个
|
|
103
|
+
*/
|
|
104
|
+
autoSelectFirst: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* 搜索输入框聚焦的事件
|
|
110
|
+
*/
|
|
111
|
+
onFocus: {
|
|
112
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
113
|
+
default: null;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* 搜索输入框失焦的事件
|
|
117
|
+
*/
|
|
118
|
+
onBlur: {
|
|
119
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
120
|
+
default: null;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
export type FSelectProps = ExtractPublicPropTypes<typeof fSelectProps> & Omit<SelectProps, 'options' | 'loading'>;
|
|
@@ -1,185 +1,187 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { AnyObject } from '../../../../../../../../../src/types';
|
|
3
3
|
import { FSelectOptions as FSelectOptionsType, FSelectValue } from './fselect';
|
|
4
|
-
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
type:
|
|
24
|
-
default:
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
type:
|
|
28
|
-
default:
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
type:
|
|
105
|
-
default:
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
type:
|
|
109
|
-
default:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
4
|
+
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
prepend?(_: {
|
|
7
|
+
data: Record<string, any>;
|
|
8
|
+
}): any;
|
|
9
|
+
option?(_: {
|
|
10
|
+
data: any;
|
|
11
|
+
}): any;
|
|
12
|
+
append?(_: {
|
|
13
|
+
data: Record<string, any>;
|
|
14
|
+
}): any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
17
|
+
modelValue: import('vue').PropType<FSelectValue>;
|
|
18
|
+
defaultValue: {
|
|
19
|
+
type: import('vue').PropType<FSelectValue>;
|
|
20
|
+
default: null;
|
|
21
|
+
};
|
|
22
|
+
options: {
|
|
23
|
+
type: import('vue').PropType<FSelectOptionsType | import('../../../../../../../../../src/types').FMethodData<FSelectOptionsType>>;
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
26
|
+
optionKeyNames: {
|
|
27
|
+
type: import('vue').PropType<import('./fselect').FSelectOptionKeyNames>;
|
|
28
|
+
default: () => {
|
|
29
|
+
label: string;
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
defaultHide: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
placeholder: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
allowClear: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
allowSearch: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
maxTagCount: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: number;
|
|
52
|
+
};
|
|
53
|
+
emptyText: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
onSearch: {
|
|
58
|
+
type: import('vue').PropType<(value: string) => void>;
|
|
59
|
+
default: null;
|
|
60
|
+
};
|
|
61
|
+
multiple: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
autoSelectSingle: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
autoSelectFirst: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
onFocus: {
|
|
74
|
+
type: import('vue').PropType<(e: FocusEvent) => void>;
|
|
75
|
+
default: null;
|
|
76
|
+
};
|
|
77
|
+
onBlur: {
|
|
78
|
+
type: import('vue').PropType<(e: FocusEvent) => void>;
|
|
79
|
+
default: null;
|
|
80
|
+
};
|
|
81
|
+
}>, {
|
|
82
|
+
/**
|
|
83
|
+
* 值,在非受控模式下,读取组件的值
|
|
84
|
+
*/
|
|
85
|
+
value: import('vue').ModelRef<FSelectValue | undefined, string, FSelectValue | undefined, FSelectValue | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* 如果options是一个方法,则手动重新调用此方法,从而获取新数据
|
|
88
|
+
* @param params 手动重新指定传出的参数
|
|
89
|
+
*/
|
|
90
|
+
replayMethodOptions(params?: AnyObject): void;
|
|
91
|
+
/**
|
|
92
|
+
* Arco Select 组件实例
|
|
93
|
+
*/
|
|
94
|
+
ins: Ref<any, any>;
|
|
95
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
96
|
+
popupVisibleChange: (visible: boolean) => void;
|
|
97
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
98
|
+
modelValue: import('vue').PropType<FSelectValue>;
|
|
99
|
+
defaultValue: {
|
|
100
|
+
type: import('vue').PropType<FSelectValue>;
|
|
101
|
+
default: null;
|
|
102
|
+
};
|
|
103
|
+
options: {
|
|
104
|
+
type: import('vue').PropType<FSelectOptionsType | import('../../../../../../../../../src/types').FMethodData<FSelectOptionsType>>;
|
|
105
|
+
default: null;
|
|
106
|
+
};
|
|
107
|
+
optionKeyNames: {
|
|
108
|
+
type: import('vue').PropType<import('./fselect').FSelectOptionKeyNames>;
|
|
109
|
+
default: () => {
|
|
110
|
+
label: string;
|
|
111
|
+
value: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
defaultHide: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
placeholder: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
allowClear: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
allowSearch: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
maxTagCount: {
|
|
131
|
+
type: NumberConstructor;
|
|
132
|
+
default: number;
|
|
133
|
+
};
|
|
134
|
+
emptyText: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
onSearch: {
|
|
139
|
+
type: import('vue').PropType<(value: string) => void>;
|
|
140
|
+
default: null;
|
|
141
|
+
};
|
|
142
|
+
multiple: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
autoSelectSingle: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
autoSelectFirst: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
onFocus: {
|
|
155
|
+
type: import('vue').PropType<(e: FocusEvent) => void>;
|
|
156
|
+
default: null;
|
|
157
|
+
};
|
|
158
|
+
onBlur: {
|
|
159
|
+
type: import('vue').PropType<(e: FocusEvent) => void>;
|
|
160
|
+
default: null;
|
|
161
|
+
};
|
|
162
|
+
}>> & Readonly<{
|
|
163
|
+
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
164
|
+
}>, {
|
|
165
|
+
placeholder: string;
|
|
166
|
+
onBlur: (e: FocusEvent) => void;
|
|
167
|
+
onFocus: (e: FocusEvent) => void;
|
|
168
|
+
options: FSelectOptionsType | import('../../../../../../../../../src/types').FMethodData<FSelectOptionsType>;
|
|
169
|
+
defaultValue: FSelectValue;
|
|
170
|
+
optionKeyNames: import('./fselect').FSelectOptionKeyNames;
|
|
171
|
+
allowClear: boolean;
|
|
172
|
+
defaultHide: boolean;
|
|
173
|
+
allowSearch: boolean;
|
|
174
|
+
maxTagCount: number;
|
|
175
|
+
emptyText: string;
|
|
176
|
+
onSearch: (value: string) => void;
|
|
177
|
+
multiple: boolean;
|
|
178
|
+
autoSelectSingle: boolean;
|
|
179
|
+
autoSelectFirst: boolean;
|
|
180
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
181
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
182
|
+
export default _default;
|
|
183
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
184
|
+
new (): {
|
|
185
|
+
$slots: S;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./components.d.ts" />
|
|
2
2
|
import { default as FSelect } from './fselect.vue';
|
|
3
|
-
|
|
4
|
-
export default FSelect;
|
|
5
|
-
export type FSelectInstance = InstanceType<typeof FSelect>;
|
|
6
|
-
export * from './fselect';
|
|
3
|
+
|
|
4
|
+
export default FSelect;
|
|
5
|
+
export type FSelectInstance = InstanceType<typeof FSelect>;
|
|
6
|
+
export * from './fselect';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { SkeletonInstance } from '@arco-design/web-vue';
|
|
2
|
-
|
|
3
|
-
export declare const fSkeletonProps: {
|
|
4
|
-
/**
|
|
5
|
-
* 加载状态
|
|
6
|
-
*/
|
|
7
|
-
loading: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
required: boolean;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* 行数
|
|
13
|
-
*/
|
|
14
|
-
rows: {
|
|
15
|
-
type: NumberConstructor;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export type FSkeletonProps = SkeletonInstance['$props'];
|
|
2
|
+
|
|
3
|
+
export declare const fSkeletonProps: {
|
|
4
|
+
/**
|
|
5
|
+
* 加载状态
|
|
6
|
+
*/
|
|
7
|
+
loading: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
required: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 行数
|
|
13
|
+
*/
|
|
14
|
+
rows: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export type FSkeletonProps = SkeletonInstance['$props'];
|