@fox-js/foxui-pc 4.0.1-13 → 4.0.1-15
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/index.cjs.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +4760 -7431
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +0 -20
- package/package.json +1 -1
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.esm.js.map +0 -1
- package/dist/index.umd.js.map +0 -1
- package/dist/types/src/api/index.d.ts +0 -35
- package/dist/types/src/base/component.d.ts +0 -70
- package/dist/types/src/base/index.d.ts +0 -4
- package/dist/types/src/base/plugin.d.ts +0 -2
- package/dist/types/src/components/autocompleteitem/common.d.ts +0 -152
- package/dist/types/src/components/autocompleteitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/cascaderitem/common.d.ts +0 -223
- package/dist/types/src/components/cascaderitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/cascaderitem/model.d.ts +0 -70
- package/dist/types/src/components/cascaderitem/types.d.ts +0 -26
- package/dist/types/src/components/checkboxitem/common.d.ts +0 -181
- package/dist/types/src/components/checkboxitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/checkboxitem/model.d.ts +0 -63
- package/dist/types/src/components/checkboxitem/types.d.ts +0 -33
- package/dist/types/src/components/content/common.d.ts +0 -16
- package/dist/types/src/components/content/index.vue.d.ts +0 -3
- package/dist/types/src/components/dateitem/common.d.ts +0 -152
- package/dist/types/src/components/dateitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/dialogitem/common.d.ts +0 -27
- package/dist/types/src/components/dialogitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/exticon/index.vue.d.ts +0 -3
- package/dist/types/src/components/footerbar/common.d.ts +0 -26
- package/dist/types/src/components/footerbar/index.vue.d.ts +0 -3
- package/dist/types/src/components/footerbar/type.d.ts +0 -1
- package/dist/types/src/components/group/commons.d.ts +0 -122
- package/dist/types/src/components/group/group-props.d.ts +0 -97
- package/dist/types/src/components/group/index.vue.d.ts +0 -3
- package/dist/types/src/components/headerbar/common.d.ts +0 -80
- package/dist/types/src/components/headerbar/index.vue.d.ts +0 -3
- package/dist/types/src/components/headerbar/types.d.ts +0 -5
- package/dist/types/src/components/hinttext/index.d.ts +0 -27
- package/dist/types/src/components/hinttext/index.vue.d.ts +0 -3
- package/dist/types/src/components/indicator/common.d.ts +0 -19
- package/dist/types/src/components/indicator/index.vue.d.ts +0 -3
- package/dist/types/src/components/indicator/types.d.ts +0 -1
- package/dist/types/src/components/inputitem/common.d.ts +0 -176
- package/dist/types/src/components/inputitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/inputnumberitem/common.d.ts +0 -176
- package/dist/types/src/components/inputnumberitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/item/common.d.ts +0 -137
- package/dist/types/src/components/item/index.vue.d.ts +0 -3
- package/dist/types/src/components/mapping/common.d.ts +0 -105
- package/dist/types/src/components/mapping/index.vue.d.ts +0 -3
- package/dist/types/src/components/mapping/model.d.ts +0 -28
- package/dist/types/src/components/mapping/types.d.ts +0 -17
- package/dist/types/src/components/moneyitem/common.d.ts +0 -300
- package/dist/types/src/components/moneyitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/moneyitem/util.d.ts +0 -51
- package/dist/types/src/components/page/common.d.ts +0 -120
- package/dist/types/src/components/page/index.vue.d.ts +0 -3
- package/dist/types/src/components/price/index.vue.d.ts +0 -3
- package/dist/types/src/components/price/price-props.d.ts +0 -37
- package/dist/types/src/components/radioitem/common.d.ts +0 -173
- package/dist/types/src/components/radioitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/radioitem/model.d.ts +0 -63
- package/dist/types/src/components/radioitem/types.d.ts +0 -33
- package/dist/types/src/components/rateitem/common.d.ts +0 -136
- package/dist/types/src/components/rateitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/rowitem/common.d.ts +0 -38
- package/dist/types/src/components/rowitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/selectitem/common.d.ts +0 -239
- package/dist/types/src/components/selectitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/selectitem/model.d.ts +0 -70
- package/dist/types/src/components/selectitem/types.d.ts +0 -26
- package/dist/types/src/components/slotitem/common.d.ts +0 -21
- package/dist/types/src/components/slotitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/switchitem/common.d.ts +0 -136
- package/dist/types/src/components/switchitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/tableitem/common.d.ts +0 -230
- package/dist/types/src/components/tableitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/tableitem/model.d.ts +0 -27
- package/dist/types/src/components/tableitem/types.d.ts +0 -19
- package/dist/types/src/components/tablemappingcolumn/common.d.ts +0 -56
- package/dist/types/src/components/tablemappingcolumn/index.vue.d.ts +0 -3
- package/dist/types/src/components/timeitem/common.d.ts +0 -152
- package/dist/types/src/components/timeitem/index.vue.d.ts +0 -3
- package/dist/types/src/components/timeselectitem/common.d.ts +0 -152
- package/dist/types/src/components/timeselectitem/index.vue.d.ts +0 -3
- package/dist/types/src/foxui.vue.build.d.ts +0 -137
- package/dist/types/src/interface.d.ts +0 -83
- package/dist/types/src/main.d.ts +0 -81
- package/dist/types/src/utils/commons.d.ts +0 -220
- package/dist/types/src/utils/create/component.d.ts +0 -18
- package/dist/types/src/utils/create/index.d.ts +0 -1
- package/dist/types/src/utils/date.d.ts +0 -76
- package/dist/types/src/utils/domain/broadcast.d.ts +0 -116
- package/dist/types/src/utils/domain/domain.d.ts +0 -146
- package/dist/types/src/utils/domain/events.d.ts +0 -51
- package/dist/types/src/utils/domain/group.d.ts +0 -61
- package/dist/types/src/utils/domain/index.d.ts +0 -5
- package/dist/types/src/utils/domain/item.d.ts +0 -45
- package/dist/types/src/utils/domain/page.d.ts +0 -113
- package/dist/types/src/utils/domain/types.d.ts +0 -5
- package/dist/types/src/utils/domain/validator.d.ts +0 -230
- package/dist/types/src/utils/functions.d.ts +0 -20
- package/dist/types/src/utils/px.d.ts +0 -13
- package/dist/types/src/utils/unique-id.d.ts +0 -16
- package/dist/types/src/utils/use-expose/index.d.ts +0 -6
- package/dist/types/src/utils/use-position/index.d.ts +0 -14
- package/dist/types/src/utils/use-rect/index.d.ts +0 -20
- package/dist/types/src/utils/use-touch/index.d.ts +0 -21
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, RendererNode, RendererElement, SetupContext, VNode, PropType } from 'vue';
|
|
2
|
-
import { Item, SourceFunction, ValueType, RemoteMethod } from './types';
|
|
3
|
-
export declare const inputProps: {
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: (BooleanConstructor | StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
6
|
-
required: boolean;
|
|
7
|
-
};
|
|
8
|
-
source: {
|
|
9
|
-
type: PropType<string | Item[] | SourceFunction>;
|
|
10
|
-
default: any[];
|
|
11
|
-
};
|
|
12
|
-
params: {
|
|
13
|
-
type: ObjectConstructor;
|
|
14
|
-
};
|
|
15
|
-
clearable: {
|
|
16
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
multiple: {
|
|
20
|
-
type: BooleanConstructor[];
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
valueType: {
|
|
24
|
-
type: PropType<ValueType>;
|
|
25
|
-
required: boolean;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
textKey: {
|
|
29
|
-
type: StringConstructor[];
|
|
30
|
-
required: boolean;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
valueKey: {
|
|
34
|
-
type: StringConstructor[];
|
|
35
|
-
required: boolean;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
childrenKey: {
|
|
39
|
-
type: StringConstructor[];
|
|
40
|
-
required: boolean;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
remoteMethod: {
|
|
44
|
-
type: PropType<RemoteMethod>;
|
|
45
|
-
required: boolean;
|
|
46
|
-
};
|
|
47
|
-
allowCreate: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
unit: {
|
|
52
|
-
type: StringConstructor[];
|
|
53
|
-
required: boolean;
|
|
54
|
-
};
|
|
55
|
-
placeholder: {
|
|
56
|
-
type: PropType<string>;
|
|
57
|
-
required: boolean;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* 创建组件
|
|
62
|
-
* @param componentName
|
|
63
|
-
* @param scope
|
|
64
|
-
* @param Item
|
|
65
|
-
*/
|
|
66
|
-
export declare function component(componentName: string, scope: string, Item: any): {
|
|
67
|
-
props: {
|
|
68
|
-
modelValue: {
|
|
69
|
-
type: (BooleanConstructor | StringConstructor | NumberConstructor | ObjectConstructor)[];
|
|
70
|
-
required: boolean;
|
|
71
|
-
};
|
|
72
|
-
source: {
|
|
73
|
-
type: PropType<string | Item[] | SourceFunction>;
|
|
74
|
-
default: any[];
|
|
75
|
-
};
|
|
76
|
-
params: {
|
|
77
|
-
type: ObjectConstructor;
|
|
78
|
-
};
|
|
79
|
-
clearable: {
|
|
80
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
multiple: {
|
|
84
|
-
type: BooleanConstructor[];
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
valueType: {
|
|
88
|
-
type: PropType<ValueType>;
|
|
89
|
-
required: boolean;
|
|
90
|
-
default: string;
|
|
91
|
-
};
|
|
92
|
-
textKey: {
|
|
93
|
-
type: StringConstructor[];
|
|
94
|
-
required: boolean;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
valueKey: {
|
|
98
|
-
type: StringConstructor[];
|
|
99
|
-
required: boolean;
|
|
100
|
-
default: string;
|
|
101
|
-
};
|
|
102
|
-
childrenKey: {
|
|
103
|
-
type: StringConstructor[];
|
|
104
|
-
required: boolean;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
remoteMethod: {
|
|
108
|
-
type: PropType<RemoteMethod>;
|
|
109
|
-
required: boolean;
|
|
110
|
-
};
|
|
111
|
-
allowCreate: {
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
unit: {
|
|
116
|
-
type: StringConstructor[];
|
|
117
|
-
required: boolean;
|
|
118
|
-
};
|
|
119
|
-
placeholder: {
|
|
120
|
-
type: PropType<string>;
|
|
121
|
-
required: boolean;
|
|
122
|
-
};
|
|
123
|
-
prop: {
|
|
124
|
-
type: StringConstructor;
|
|
125
|
-
required: boolean;
|
|
126
|
-
};
|
|
127
|
-
label: {
|
|
128
|
-
type: StringConstructor;
|
|
129
|
-
required: boolean;
|
|
130
|
-
};
|
|
131
|
-
labelPosition: {
|
|
132
|
-
type: StringConstructor;
|
|
133
|
-
required: boolean;
|
|
134
|
-
};
|
|
135
|
-
labelWidth: {
|
|
136
|
-
type: PropType<string | number>;
|
|
137
|
-
required: boolean;
|
|
138
|
-
};
|
|
139
|
-
isRequired: {
|
|
140
|
-
type: PropType<string | boolean>;
|
|
141
|
-
required: boolean;
|
|
142
|
-
default: boolean;
|
|
143
|
-
};
|
|
144
|
-
span: {
|
|
145
|
-
type: PropType<string | number>;
|
|
146
|
-
required: boolean;
|
|
147
|
-
default: number;
|
|
148
|
-
};
|
|
149
|
-
offset: {
|
|
150
|
-
type: PropType<string | number>;
|
|
151
|
-
default: number;
|
|
152
|
-
};
|
|
153
|
-
width: {
|
|
154
|
-
type: PropType<string | number>;
|
|
155
|
-
required: boolean;
|
|
156
|
-
};
|
|
157
|
-
errorTip: {
|
|
158
|
-
type: StringConstructor;
|
|
159
|
-
required: boolean;
|
|
160
|
-
};
|
|
161
|
-
errorIcon: {
|
|
162
|
-
type: ObjectConstructor;
|
|
163
|
-
required: boolean;
|
|
164
|
-
};
|
|
165
|
-
errorClass: {
|
|
166
|
-
type: StringConstructor;
|
|
167
|
-
required: boolean;
|
|
168
|
-
};
|
|
169
|
-
warnTip: {
|
|
170
|
-
type: StringConstructor;
|
|
171
|
-
required: boolean;
|
|
172
|
-
};
|
|
173
|
-
warnIcon: {
|
|
174
|
-
type: ObjectConstructor;
|
|
175
|
-
required: boolean;
|
|
176
|
-
};
|
|
177
|
-
warnClass: {
|
|
178
|
-
type: StringConstructor;
|
|
179
|
-
required: boolean;
|
|
180
|
-
};
|
|
181
|
-
infoTip: {
|
|
182
|
-
type: StringConstructor;
|
|
183
|
-
required: boolean;
|
|
184
|
-
};
|
|
185
|
-
infoIcon: {
|
|
186
|
-
type: ObjectConstructor;
|
|
187
|
-
required: boolean;
|
|
188
|
-
};
|
|
189
|
-
infoClass: {
|
|
190
|
-
type: StringConstructor;
|
|
191
|
-
required: boolean;
|
|
192
|
-
};
|
|
193
|
-
contentClass: {
|
|
194
|
-
type: StringConstructor;
|
|
195
|
-
required: boolean;
|
|
196
|
-
default: string;
|
|
197
|
-
};
|
|
198
|
-
contentStyle: {
|
|
199
|
-
type: PropType<CSSProperties>;
|
|
200
|
-
required: boolean;
|
|
201
|
-
default: {};
|
|
202
|
-
};
|
|
203
|
-
hintType: {
|
|
204
|
-
type: PropType<"number" | "text" | "money">;
|
|
205
|
-
required: boolean;
|
|
206
|
-
default: string;
|
|
207
|
-
};
|
|
208
|
-
hintText: {
|
|
209
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
210
|
-
required: boolean;
|
|
211
|
-
};
|
|
212
|
-
hintVisible: {
|
|
213
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
214
|
-
required: boolean;
|
|
215
|
-
default: boolean;
|
|
216
|
-
};
|
|
217
|
-
hintProps: {
|
|
218
|
-
type: ObjectConstructor;
|
|
219
|
-
required: boolean;
|
|
220
|
-
default: {};
|
|
221
|
-
};
|
|
222
|
-
hasBorder: {
|
|
223
|
-
type: BooleanConstructor;
|
|
224
|
-
default: boolean;
|
|
225
|
-
};
|
|
226
|
-
disabled: {
|
|
227
|
-
type: PropType<string | boolean>;
|
|
228
|
-
required: boolean;
|
|
229
|
-
};
|
|
230
|
-
readonly: {
|
|
231
|
-
type: PropType<string | boolean>;
|
|
232
|
-
required: boolean;
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
emits: string[];
|
|
236
|
-
setup(props: Record<string, any>, context: SetupContext): () => VNode<RendererNode, RendererElement, {
|
|
237
|
-
[key: string]: any;
|
|
238
|
-
}>;
|
|
239
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { DefineComponent, ComputedOptions, MethodOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
-
declare const _sfc_main: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
3
|
-
export default _sfc_main;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from 'vue';
|
|
2
|
-
import { Item, SourceFunction } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* 获取item text
|
|
5
|
-
* @param props
|
|
6
|
-
* @param item
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare function getItemText(props: Record<string, any>, item: Item): string | number;
|
|
10
|
-
/**
|
|
11
|
-
* 获取item value
|
|
12
|
-
* @param props
|
|
13
|
-
* @param item
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function getItemValue(props: Record<string, any>, item: Item): string | boolean | number;
|
|
17
|
-
/**
|
|
18
|
-
* 获取item children
|
|
19
|
-
* @param props
|
|
20
|
-
* @param item
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
export declare function getItemChildren(props: Record<string, any>, item: Item): Item[] | null;
|
|
24
|
-
/**
|
|
25
|
-
* 数据model
|
|
26
|
-
*/
|
|
27
|
-
export declare class Model {
|
|
28
|
-
/**
|
|
29
|
-
* proxy
|
|
30
|
-
*/
|
|
31
|
-
private proxy;
|
|
32
|
-
/**
|
|
33
|
-
* 构造函数
|
|
34
|
-
* @param proxy
|
|
35
|
-
*/
|
|
36
|
-
constructor(proxy: ComponentPublicInstance);
|
|
37
|
-
/**
|
|
38
|
-
* 加载数据源
|
|
39
|
-
* @param src
|
|
40
|
-
* @returns
|
|
41
|
-
*/
|
|
42
|
-
load(componentType: string, src: SourceFunction | Item[][] | Item[] | string, params?: any): Promise<Item[][] | Item[] | string[] | string[][]>;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* 使用model
|
|
46
|
-
* @returns
|
|
47
|
-
*/
|
|
48
|
-
export declare function useModel(): Model;
|
|
49
|
-
/**
|
|
50
|
-
* item是否相等
|
|
51
|
-
* @param props
|
|
52
|
-
* @param x
|
|
53
|
-
* @param y
|
|
54
|
-
* @returns
|
|
55
|
-
*/
|
|
56
|
-
export declare function isEqualsItem(props: Record<string, any>, x: Item, y: Item): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* value转换为items
|
|
59
|
-
* @param value
|
|
60
|
-
* @param valueType
|
|
61
|
-
* @param items
|
|
62
|
-
* @returns
|
|
63
|
-
*/
|
|
64
|
-
export declare function valuesToItems(props: Record<string, any>, value: any, valueType: string, items: Item[]): Item[] | null;
|
|
65
|
-
/**
|
|
66
|
-
* string转换为item
|
|
67
|
-
* @param text
|
|
68
|
-
* @returns
|
|
69
|
-
*/
|
|
70
|
-
export declare function stringToItem(text: string): Item;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Item类型
|
|
3
|
-
*/
|
|
4
|
-
export interface Item {
|
|
5
|
-
text: string | number;
|
|
6
|
-
value: any;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
children?: Item[];
|
|
9
|
-
[propName: string]: any;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* 通用Promise函数接口
|
|
13
|
-
*/
|
|
14
|
-
export interface SourceFunction {
|
|
15
|
-
(params?: any): Promise<Item[]>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* value type
|
|
19
|
-
*/
|
|
20
|
-
export declare type ValueType = 'value' | 'text' | 'item';
|
|
21
|
-
/**
|
|
22
|
-
* remote method
|
|
23
|
-
*/
|
|
24
|
-
export interface RemoteMethod {
|
|
25
|
-
(query: string): Promise<Item[]>;
|
|
26
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { VNode, RendererNode, RendererElement, SetupContext, PropType } from 'vue';
|
|
2
|
-
export declare function component(componentName: string, scope: string): {
|
|
3
|
-
props: {
|
|
4
|
-
span: {
|
|
5
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
6
|
-
required: boolean;
|
|
7
|
-
default: number;
|
|
8
|
-
};
|
|
9
|
-
offset: {
|
|
10
|
-
type: PropType<number>;
|
|
11
|
-
default: number;
|
|
12
|
-
};
|
|
13
|
-
width: {
|
|
14
|
-
type: PropType<string | number>;
|
|
15
|
-
required: boolean;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
setup(props: Record<string, any>, context: SetupContext): () => VNode<RendererNode, RendererElement, {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
}>;
|
|
21
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { DefineComponent, ComputedOptions, MethodOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
-
declare const _sfc_main: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
3
|
-
export default _sfc_main;
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, RendererNode, RendererElement, SetupContext, VNode, PropType } from 'vue';
|
|
2
|
-
export declare const inputProps: {
|
|
3
|
-
modelValue: {
|
|
4
|
-
type: PropType<string | boolean>;
|
|
5
|
-
required: boolean;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* 创建组件
|
|
10
|
-
* @param componentName
|
|
11
|
-
* @param scope
|
|
12
|
-
* @param Item
|
|
13
|
-
*/
|
|
14
|
-
export declare function component(componentName: string, scope: string, Item: any): {
|
|
15
|
-
props: {
|
|
16
|
-
modelValue: {
|
|
17
|
-
type: PropType<string | boolean>;
|
|
18
|
-
required: boolean;
|
|
19
|
-
};
|
|
20
|
-
prop: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
required: boolean;
|
|
23
|
-
};
|
|
24
|
-
label: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
required: boolean;
|
|
27
|
-
};
|
|
28
|
-
labelPosition: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
required: boolean;
|
|
31
|
-
};
|
|
32
|
-
labelWidth: {
|
|
33
|
-
type: PropType<string | number>;
|
|
34
|
-
required: boolean;
|
|
35
|
-
};
|
|
36
|
-
isRequired: {
|
|
37
|
-
type: PropType<string | boolean>;
|
|
38
|
-
required: boolean;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
span: {
|
|
42
|
-
type: PropType<string | number>;
|
|
43
|
-
required: boolean;
|
|
44
|
-
default: number;
|
|
45
|
-
};
|
|
46
|
-
offset: {
|
|
47
|
-
type: PropType<string | number>;
|
|
48
|
-
default: number;
|
|
49
|
-
};
|
|
50
|
-
width: {
|
|
51
|
-
type: PropType<string | number>;
|
|
52
|
-
required: boolean;
|
|
53
|
-
};
|
|
54
|
-
errorTip: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
required: boolean;
|
|
57
|
-
};
|
|
58
|
-
errorIcon: {
|
|
59
|
-
type: ObjectConstructor;
|
|
60
|
-
required: boolean;
|
|
61
|
-
};
|
|
62
|
-
errorClass: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
required: boolean;
|
|
65
|
-
};
|
|
66
|
-
warnTip: {
|
|
67
|
-
type: StringConstructor;
|
|
68
|
-
required: boolean;
|
|
69
|
-
};
|
|
70
|
-
warnIcon: {
|
|
71
|
-
type: ObjectConstructor;
|
|
72
|
-
required: boolean;
|
|
73
|
-
};
|
|
74
|
-
warnClass: {
|
|
75
|
-
type: StringConstructor;
|
|
76
|
-
required: boolean;
|
|
77
|
-
};
|
|
78
|
-
infoTip: {
|
|
79
|
-
type: StringConstructor;
|
|
80
|
-
required: boolean;
|
|
81
|
-
};
|
|
82
|
-
infoIcon: {
|
|
83
|
-
type: ObjectConstructor;
|
|
84
|
-
required: boolean;
|
|
85
|
-
};
|
|
86
|
-
infoClass: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
required: boolean;
|
|
89
|
-
};
|
|
90
|
-
contentClass: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
required: boolean;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
contentStyle: {
|
|
96
|
-
type: PropType<CSSProperties>;
|
|
97
|
-
required: boolean;
|
|
98
|
-
default: {};
|
|
99
|
-
};
|
|
100
|
-
hintType: {
|
|
101
|
-
type: PropType<"number" | "text" | "money">;
|
|
102
|
-
required: boolean;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
hintText: {
|
|
106
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
107
|
-
required: boolean;
|
|
108
|
-
};
|
|
109
|
-
hintVisible: {
|
|
110
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
111
|
-
required: boolean;
|
|
112
|
-
default: boolean;
|
|
113
|
-
};
|
|
114
|
-
hintProps: {
|
|
115
|
-
type: ObjectConstructor;
|
|
116
|
-
required: boolean;
|
|
117
|
-
default: {};
|
|
118
|
-
};
|
|
119
|
-
hasBorder: {
|
|
120
|
-
type: BooleanConstructor;
|
|
121
|
-
default: boolean;
|
|
122
|
-
};
|
|
123
|
-
disabled: {
|
|
124
|
-
type: PropType<string | boolean>;
|
|
125
|
-
required: boolean;
|
|
126
|
-
};
|
|
127
|
-
readonly: {
|
|
128
|
-
type: PropType<string | boolean>;
|
|
129
|
-
required: boolean;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
emits: string[];
|
|
133
|
-
setup(props: Record<string, any>, context: SetupContext): () => VNode<RendererNode, RendererElement, {
|
|
134
|
-
[key: string]: any;
|
|
135
|
-
}>;
|
|
136
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { DefineComponent, ComputedOptions, MethodOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
-
declare const _sfc_main: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
3
|
-
export default _sfc_main;
|