@a2simcode/ui 0.0.2 → 0.0.4
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/README.md +1 -0
- package/dist/components/autocomplete/index.d.ts +118 -0
- package/dist/components/autocomplete/src/autocomplete.vue.d.ts +109 -0
- package/dist/components/barcode/index.d.ts +114 -0
- package/dist/components/barcode/src/barcode.vue.d.ts +101 -0
- package/dist/components/button/index.d.ts +278 -0
- package/dist/components/button/src/button.vue.d.ts +268 -0
- package/dist/components/buttons/index.d.ts +81 -0
- package/dist/components/buttons/src/index.vue.d.ts +76 -0
- package/dist/components/buttons/src/interface.d.ts +128 -0
- package/dist/components/buttons/src/useButtons.d.ts +4 -0
- package/dist/components/cascader-select/index.d.ts +142 -0
- package/dist/components/cascader-select/src/cascader-select.vue.d.ts +128 -0
- package/dist/components/checkbox/index.d.ts +73 -0
- package/dist/components/checkbox/src/checkbox.vue.d.ts +55 -0
- package/dist/components/code-mirror/index.d.ts +74 -0
- package/dist/components/code-mirror/src/code-mirror.vue.d.ts +45 -0
- package/dist/components/comp/index.d.ts +157 -0
- package/dist/components/comp/src/comp.vue.d.ts +164 -0
- package/dist/components/dialog/index.d.ts +416 -0
- package/dist/components/dialog/src/index.vue.d.ts +404 -0
- package/dist/components/dialog-full/index.d.ts +311 -0
- package/dist/components/dialog-full/src/index.vue.d.ts +287 -0
- package/dist/components/drawer/index.d.ts +335 -0
- package/dist/components/drawer/src/drawer.vue.d.ts +337 -0
- package/dist/components/dynamic-layer/index.d.ts +25 -0
- package/dist/components/dynamic-layer/src/dynamic-layer.vue.d.ts +8 -0
- package/dist/components/dynamic-layer/src/interface.d.ts +66 -0
- package/dist/components/echarts/index.d.ts +177 -0
- package/dist/components/echarts/src/echarts.vue.d.ts +118 -0
- package/dist/components/form/index.d.ts +194 -0
- package/dist/components/form/src/form.vue.d.ts +106 -0
- package/dist/components/form/src/interface.d.ts +138 -0
- package/dist/components/form/src/useForm/index.d.ts +9 -0
- package/dist/components/form/src/useForm/interface.d.ts +170 -0
- package/dist/components/form/src/useForm/validateUtil.d.ts +5 -0
- package/dist/components/form-item/index.d.ts +112 -0
- package/dist/components/form-item/src/form-item.vue.d.ts +97 -0
- package/dist/components/icon/index.d.ts +31 -0
- package/dist/components/icon/src/icon.vue.d.ts +33 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/input/index.d.ts +111 -0
- package/dist/components/input/src/input.vue.d.ts +110 -0
- package/dist/components/input-tag/index.d.ts +75 -0
- package/dist/components/input-tag/src/input-tag.vue.d.ts +40 -0
- package/dist/components/layer/index.d.ts +284 -0
- package/dist/components/layer/src/layer.vue.d.ts +263 -0
- package/dist/components/layout/__tests__/layout.test.d.ts +1 -0
- package/dist/components/layout/index.d.ts +173 -0
- package/dist/components/layout/src/layout.vue.d.ts +187 -0
- package/dist/components/number/index.d.ts +85 -0
- package/dist/components/number/src/number.vue.d.ts +78 -0
- package/dist/components/page/index.d.ts +67 -0
- package/dist/components/page/src/interface.d.ts +22 -0
- package/dist/components/page/src/page.vue.d.ts +52 -0
- package/dist/components/radio/index.d.ts +152 -0
- package/dist/components/radio/src/radio.vue.d.ts +123 -0
- package/dist/components/rate/index.d.ts +71 -0
- package/dist/components/rate/src/rate.vue.d.ts +42 -0
- package/dist/components/select/index.d.ts +88 -0
- package/dist/components/select/src/select.vue.d.ts +75 -0
- package/dist/components/slider/index.d.ts +89 -0
- package/dist/components/slider/src/slider.vue.d.ts +76 -0
- package/dist/components/table/index.d.ts +160 -0
- package/dist/components/table/src/table.vue.d.ts +143 -0
- package/dist/components/upload/index.d.ts +405 -0
- package/dist/components/upload/src/list.vue.d.ts +103 -0
- package/dist/components/upload/src/upload.vue.d.ts +367 -0
- package/dist/components/upload/src/utils.d.ts +2 -0
- package/dist/{utils → components/utils}/index.d.ts +0 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/utils/cipher.d.ts +21 -0
- package/dist/core/utils/common.d.ts +41 -0
- package/dist/core/utils/comp.d.ts +9 -0
- package/dist/core/utils/date.d.ts +3 -0
- package/dist/core/utils/dom.d.ts +4 -0
- package/dist/core/utils/index.d.ts +6 -0
- package/dist/core/utils/is.d.ts +2 -0
- package/dist/index.d.ts +6 -9
- package/dist/simcode-ui.es.js +5021 -81
- package/dist/simcode-ui.umd.js +1 -1
- package/dist/stats.html +4949 -0
- package/dist/ui.css +1 -0
- package/package.json +36 -22
- package/dist/button/index.d.ts +0 -157
- package/dist/button/src/button.vue.d.ts +0 -78
- package/dist/input/index.d.ts +0 -137
- package/dist/input/src/input.vue.d.ts +0 -64
- package/dist/style.css +0 -1
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* @zh 输入值
|
|
5
|
+
* @vModel
|
|
6
|
+
*/
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<string>;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @zh 是否只读
|
|
13
|
+
*/
|
|
14
|
+
readonly: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @zh 限制上传数,-1表示不限制
|
|
20
|
+
*/
|
|
21
|
+
limit: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @zh 是否允许多选
|
|
27
|
+
*/
|
|
28
|
+
multiple: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @zh 最大上传大小
|
|
34
|
+
*/
|
|
35
|
+
maxSize: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @zh 尺寸大小单位
|
|
41
|
+
*/
|
|
42
|
+
sizeType: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @zh 文件类型
|
|
48
|
+
*/
|
|
49
|
+
accept: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @zh 是否显示文件列表
|
|
55
|
+
*/
|
|
56
|
+
showFileList: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @zh 是否支持拖动上传
|
|
62
|
+
*/
|
|
63
|
+
drag: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* @zh 只显示名称
|
|
69
|
+
*/
|
|
70
|
+
onlyName: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @zh 是否显示提示语
|
|
76
|
+
*/
|
|
77
|
+
isTip: BooleanConstructor;
|
|
78
|
+
/**
|
|
79
|
+
* @zh 按钮文字
|
|
80
|
+
*/
|
|
81
|
+
placeholder: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @zh 按钮类型
|
|
87
|
+
*/
|
|
88
|
+
btnType: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @zh 按钮大小
|
|
94
|
+
*/
|
|
95
|
+
btnSize: {
|
|
96
|
+
type: PropType<"large" | "default" | "small">;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @zh 按钮文字
|
|
101
|
+
*/
|
|
102
|
+
btnText: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* @zh 不允许请求后端,表单设计预览使用
|
|
108
|
+
*/
|
|
109
|
+
isNotApi: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* @zh 是否自动上传
|
|
115
|
+
*/
|
|
116
|
+
autoUpload: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* @zh 是否上传图片
|
|
122
|
+
*/
|
|
123
|
+
isUploadImg: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @zh 文件列表是否弹窗显示
|
|
129
|
+
*/
|
|
130
|
+
isLayer: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @zh 上传方法
|
|
136
|
+
*/
|
|
137
|
+
upload: {
|
|
138
|
+
type: FunctionConstructor;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* @zh 上传回调
|
|
143
|
+
*/
|
|
144
|
+
uploadCallback: {
|
|
145
|
+
type: FunctionConstructor;
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* @zh 只保存最近项
|
|
150
|
+
*/
|
|
151
|
+
isSaveLast: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* @zh 是否展示上传成功图标
|
|
157
|
+
*/
|
|
158
|
+
isShowSuccessIcon: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
163
|
+
delete: (...args: any[]) => void;
|
|
164
|
+
"update:modelValue": (...args: any[]) => void;
|
|
165
|
+
change: (...args: any[]) => void;
|
|
166
|
+
success: (...args: any[]) => void;
|
|
167
|
+
error: (...args: any[]) => void;
|
|
168
|
+
start: (...args: any[]) => void;
|
|
169
|
+
load: (...args: any[]) => void;
|
|
170
|
+
notUploadChange: (...args: any[]) => void;
|
|
171
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
172
|
+
/**
|
|
173
|
+
* @zh 输入值
|
|
174
|
+
* @vModel
|
|
175
|
+
*/
|
|
176
|
+
modelValue: {
|
|
177
|
+
type: PropType<string>;
|
|
178
|
+
default: undefined;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* @zh 是否只读
|
|
182
|
+
*/
|
|
183
|
+
readonly: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* @zh 限制上传数,-1表示不限制
|
|
189
|
+
*/
|
|
190
|
+
limit: {
|
|
191
|
+
type: NumberConstructor;
|
|
192
|
+
default: number;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @zh 是否允许多选
|
|
196
|
+
*/
|
|
197
|
+
multiple: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
default: boolean;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* @zh 最大上传大小
|
|
203
|
+
*/
|
|
204
|
+
maxSize: {
|
|
205
|
+
type: NumberConstructor;
|
|
206
|
+
default: undefined;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* @zh 尺寸大小单位
|
|
210
|
+
*/
|
|
211
|
+
sizeType: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
default: undefined;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* @zh 文件类型
|
|
217
|
+
*/
|
|
218
|
+
accept: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
default: undefined;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* @zh 是否显示文件列表
|
|
224
|
+
*/
|
|
225
|
+
showFileList: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* @zh 是否支持拖动上传
|
|
231
|
+
*/
|
|
232
|
+
drag: {
|
|
233
|
+
type: BooleanConstructor;
|
|
234
|
+
default: boolean;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* @zh 只显示名称
|
|
238
|
+
*/
|
|
239
|
+
onlyName: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: boolean;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* @zh 是否显示提示语
|
|
245
|
+
*/
|
|
246
|
+
isTip: BooleanConstructor;
|
|
247
|
+
/**
|
|
248
|
+
* @zh 按钮文字
|
|
249
|
+
*/
|
|
250
|
+
placeholder: {
|
|
251
|
+
type: StringConstructor;
|
|
252
|
+
default: string;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* @zh 按钮类型
|
|
256
|
+
*/
|
|
257
|
+
btnType: {
|
|
258
|
+
type: StringConstructor;
|
|
259
|
+
default: string;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* @zh 按钮大小
|
|
263
|
+
*/
|
|
264
|
+
btnSize: {
|
|
265
|
+
type: PropType<"large" | "default" | "small">;
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* @zh 按钮文字
|
|
270
|
+
*/
|
|
271
|
+
btnText: {
|
|
272
|
+
type: StringConstructor;
|
|
273
|
+
default: string;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* @zh 不允许请求后端,表单设计预览使用
|
|
277
|
+
*/
|
|
278
|
+
isNotApi: {
|
|
279
|
+
type: BooleanConstructor;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* @zh 是否自动上传
|
|
284
|
+
*/
|
|
285
|
+
autoUpload: {
|
|
286
|
+
type: BooleanConstructor;
|
|
287
|
+
default: boolean;
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* @zh 是否上传图片
|
|
291
|
+
*/
|
|
292
|
+
isUploadImg: {
|
|
293
|
+
type: BooleanConstructor;
|
|
294
|
+
default: boolean;
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* @zh 文件列表是否弹窗显示
|
|
298
|
+
*/
|
|
299
|
+
isLayer: {
|
|
300
|
+
type: BooleanConstructor;
|
|
301
|
+
default: boolean;
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* @zh 上传方法
|
|
305
|
+
*/
|
|
306
|
+
upload: {
|
|
307
|
+
type: FunctionConstructor;
|
|
308
|
+
default: undefined;
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* @zh 上传回调
|
|
312
|
+
*/
|
|
313
|
+
uploadCallback: {
|
|
314
|
+
type: FunctionConstructor;
|
|
315
|
+
default: undefined;
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* @zh 只保存最近项
|
|
319
|
+
*/
|
|
320
|
+
isSaveLast: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
default: boolean;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* @zh 是否展示上传成功图标
|
|
326
|
+
*/
|
|
327
|
+
isShowSuccessIcon: {
|
|
328
|
+
type: BooleanConstructor;
|
|
329
|
+
default: boolean;
|
|
330
|
+
};
|
|
331
|
+
}>> & Readonly<{
|
|
332
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
333
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
334
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
335
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
336
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
337
|
+
onStart?: ((...args: any[]) => any) | undefined;
|
|
338
|
+
onLoad?: ((...args: any[]) => any) | undefined;
|
|
339
|
+
onNotUploadChange?: ((...args: any[]) => any) | undefined;
|
|
340
|
+
}>, {
|
|
341
|
+
readonly: boolean;
|
|
342
|
+
modelValue: string;
|
|
343
|
+
placeholder: string;
|
|
344
|
+
multiple: boolean;
|
|
345
|
+
btnText: string;
|
|
346
|
+
isUploadImg: boolean;
|
|
347
|
+
drag: boolean;
|
|
348
|
+
showFileList: boolean;
|
|
349
|
+
isShowSuccessIcon: boolean;
|
|
350
|
+
limit: number;
|
|
351
|
+
maxSize: number;
|
|
352
|
+
sizeType: string;
|
|
353
|
+
accept: string;
|
|
354
|
+
onlyName: boolean;
|
|
355
|
+
isTip: boolean;
|
|
356
|
+
btnType: string;
|
|
357
|
+
btnSize: "small" | "default" | "large";
|
|
358
|
+
isNotApi: boolean;
|
|
359
|
+
autoUpload: boolean;
|
|
360
|
+
isLayer: boolean;
|
|
361
|
+
upload: Function;
|
|
362
|
+
uploadCallback: Function;
|
|
363
|
+
isSaveLast: boolean;
|
|
364
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
365
|
+
iframe: HTMLIFrameElement;
|
|
366
|
+
}, HTMLDivElement>;
|
|
367
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './utils';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Encryption {
|
|
2
|
+
encrypt(plainText: string): string;
|
|
3
|
+
decrypt(cipherText: string): string;
|
|
4
|
+
}
|
|
5
|
+
export interface Hashing {
|
|
6
|
+
hash(data: string): string;
|
|
7
|
+
}
|
|
8
|
+
export interface EncryptionParams {
|
|
9
|
+
key: string;
|
|
10
|
+
iv?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class EncryptionFactory {
|
|
13
|
+
static createAesEncryption(params: EncryptionParams): Encryption;
|
|
14
|
+
static createBase64Encryption(): Encryption;
|
|
15
|
+
}
|
|
16
|
+
export declare class HashingFactory {
|
|
17
|
+
static createMD5Hashing(): Hashing;
|
|
18
|
+
static createSHA256Hashing(): Hashing;
|
|
19
|
+
static createSHA512Hashing(): Hashing;
|
|
20
|
+
}
|
|
21
|
+
export declare const myAesDecrypt: (cipherText: string, key: string) => string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 清空对象
|
|
3
|
+
* @param data 清空对象
|
|
4
|
+
*/
|
|
5
|
+
export declare function clearJson(data: Record<string, any>): void;
|
|
6
|
+
/**
|
|
7
|
+
* 获取对象类型
|
|
8
|
+
*/
|
|
9
|
+
export declare function getObjType(obj: any): any;
|
|
10
|
+
/**
|
|
11
|
+
* 对象深拷贝
|
|
12
|
+
*/
|
|
13
|
+
export declare function deepClone(data: any): any;
|
|
14
|
+
/**
|
|
15
|
+
* 对象拷贝
|
|
16
|
+
*/
|
|
17
|
+
export declare function clone(res: Record<string, any>, data: Record<string, any>, notKeys?: string[]): void;
|
|
18
|
+
export declare function buildShortUUID(prefix?: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* 将字符串转换为函数
|
|
21
|
+
* @param {string} fun - 函数字符串
|
|
22
|
+
* @returns {object} - 返回包含结果状态和函数的对象
|
|
23
|
+
*/
|
|
24
|
+
export declare const getFunction: (fun: string) => {
|
|
25
|
+
res: boolean;
|
|
26
|
+
msg: string;
|
|
27
|
+
fn: any;
|
|
28
|
+
} | {
|
|
29
|
+
res: boolean;
|
|
30
|
+
msg: unknown;
|
|
31
|
+
fn?: undefined;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* 通过路径设置对象属性值
|
|
35
|
+
* @param obj 目标对象
|
|
36
|
+
* @param path 属性路径,支持 'a.b.c' 或 'a[0].b' 或 ['a', 'b', 'c'] 格式
|
|
37
|
+
* @param value 要设置的值
|
|
38
|
+
* @returns 返回对象本身
|
|
39
|
+
*/
|
|
40
|
+
export declare function set(obj: any, path: string | string[], value: any): any;
|
|
41
|
+
export declare const toDecimal: (x: any) => number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const getIsInputComp: (type: string) => boolean;
|
|
2
|
+
export declare const getCompConfig: (data: {
|
|
3
|
+
config?: Record<string, any>;
|
|
4
|
+
getCompConfig?: any;
|
|
5
|
+
formData: Record<string, any>;
|
|
6
|
+
tableData?: Record<string, any>[];
|
|
7
|
+
row?: Record<string, any>;
|
|
8
|
+
pRowData?: Record<string, any>;
|
|
9
|
+
}) => any;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
install: (app: App) => void;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
1
|
+
export * from './components/index'
|
|
2
|
+
export {}
|
|
3
|
+
import SimCodeUI from './components/index'
|
|
4
|
+
export default SimCodeUI
|
|
5
|
+
export * from './components/index'
|
|
6
|
+
export {}
|