@fox-js/foxui-pc 4.0.1-12 → 4.0.1-121

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.
@@ -1,137 +1,117 @@
1
- import type { AllowedComponentProps } from 'vue';
2
1
  import { App } from 'vue';
3
- import { clone } from '@fox-js/fox';
4
2
  import { compareTo } from '@fox-js/big-decimal';
5
- import type { ComponentCustomProps } from 'vue';
6
3
  import { ComponentInternalInstance } from 'vue';
7
- import type { ComponentOptionsMixin } from 'vue';
8
4
  import { ComponentPublicInstance } from 'vue';
9
- import type { ComputedOptions } from 'vue';
10
- import type { DefineComponent } from 'vue';
11
5
  import { divide } from '@fox-js/big-decimal';
12
6
  import { ExecuteValidator } from '@fox-js/validator';
13
- import { extend } from '@fox-js/fox';
14
- import { ElAffix as FoxAffix } from 'element-plus';
15
- import { ElAlert as FoxAlert } from 'element-plus';
16
- import { ElAside as FoxAside } from 'element-plus';
17
- import { ElAutocomplete as FoxAutocomplete } from 'element-plus';
18
- import { ElAutoResizer as FoxAutoResizer } from 'element-plus';
19
- import { ElAvatar as FoxAvatar } from 'element-plus';
20
- import { ElBacktop as FoxBacktop } from 'element-plus';
21
- import { ElBadge as FoxBadge } from 'element-plus';
22
- import { ElBreadcrumb as FoxBreadcrumb } from 'element-plus';
23
- import { ElBreadcrumbItem as FoxBreadcrumbItem } from 'element-plus';
24
- import { ElButton as FoxButton } from 'element-plus';
25
- import { ElButtonGroup as FoxButtonGroup } from 'element-plus';
26
- import { ElCalendar as FoxCalendar } from 'element-plus';
27
- import { ElCard as FoxCard } from 'element-plus';
28
- import { ElCarousel as FoxCarousel } from 'element-plus';
29
- import { ElCarouselItem as FoxCarouselItem } from 'element-plus';
30
- import { ElCascader as FoxCascader } from 'element-plus';
31
- import { ElCascaderPanel as FoxCascaderPanel } from 'element-plus';
32
- import { ElCheckbox as FoxCheckbox } from 'element-plus';
33
- import { ElCheckboxButton as FoxCheckboxButton } from 'element-plus';
34
- import { ElCheckboxGroup as FoxCheckboxGroup } from 'element-plus';
35
- import { ElCheckTag as FoxCheckTag } from 'element-plus';
36
- import { ElCol as FoxCol } from 'element-plus';
37
- import { ElCollapse as FoxCollapse } from 'element-plus';
38
- import { ElCollapseItem as FoxCollapseItem } from 'element-plus';
39
- import { ElCollapseTransition as FoxCollapseTransition } from 'element-plus';
40
- import { ElColorPicker as FoxColorPicker } from 'element-plus';
41
- import { ElConfigProvider as FoxConfigProvider } from 'element-plus';
42
- import { ElContainer as FoxContainer } from 'element-plus';
43
- import { ElDatePicker as FoxDatePicker } from 'element-plus';
44
- import { ElDescriptions as FoxDescriptions } from 'element-plus';
45
- import { ElDescriptionsItem as FoxDescriptionsItem } from 'element-plus';
46
- import { ElDialog as FoxDialog } from 'element-plus';
47
- import { ElDivider as FoxDivider } from 'element-plus';
48
- import { ElDrawer as FoxDrawer } from 'element-plus';
49
- import { ElDropdown as FoxDropdown } from 'element-plus';
50
- import { ElDropdownItem as FoxDropdownItem } from 'element-plus';
51
- import { ElDropdownMenu as FoxDropdownMenu } from 'element-plus';
52
- import { ElEmpty as FoxEmpty } from 'element-plus';
53
- import { ElFooter as FoxFooter } from 'element-plus';
54
- import { ElForm as FoxForm } from 'element-plus';
55
- import { ElFormItem as FoxFormItem } from 'element-plus';
56
- import { ElHeader as FoxHeader } from 'element-plus';
57
- import { ElIcon as FoxIcon } from 'element-plus';
58
- import { ElImage as FoxImage } from 'element-plus';
59
- import { ElImageViewer as FoxImageViewer } from 'element-plus';
60
- import { ElInput as FoxInput } from 'element-plus';
61
- import { ElInputNumber as FoxInputNumber } from 'element-plus';
62
- import { ElLink as FoxLink } from 'element-plus';
63
- import { ElMain as FoxMain } from 'element-plus';
64
- import { ElMenu as FoxMenu } from 'element-plus';
65
- import { ElMenuItem as FoxMenuItem } from 'element-plus';
66
- import { ElMenuItemGroup as FoxMenuItemGroup } from 'element-plus';
67
- import { ElOption as FoxOption } from 'element-plus';
68
- import { ElOptionGroup as FoxOptionGroup } from 'element-plus';
69
- import { ElPageHeader as FoxPageHeader } from 'element-plus';
70
- import { ElPagination as FoxPagination } from 'element-plus';
71
- import { ElPopconfirm as FoxPopconfirm } from 'element-plus';
72
- import { ElPopover as FoxPopover } from 'element-plus';
73
- import { ElPopper as FoxPopper } from 'element-plus';
74
- import { ElProgress as FoxProgress } from 'element-plus';
75
- import { ElRadio as FoxRadio } from 'element-plus';
76
- import { ElRadioButton as FoxRadioButton } from 'element-plus';
77
- import { ElRadioGroup as FoxRadioGroup } from 'element-plus';
78
- import { ElRate as FoxRate } from 'element-plus';
79
- import { ElResult as FoxResult } from 'element-plus';
80
- import { ElRow as FoxRow } from 'element-plus';
81
- import { ElScrollbar as FoxScrollbar } from 'element-plus';
82
- import { ElSelect as FoxSelect } from 'element-plus';
83
- import { ElSelectV2 as FoxSelectV2 } from 'element-plus';
84
- import { ElSkeleton as FoxSkeleton } from 'element-plus';
85
- import { ElSkeletonItem as FoxSkeletonItem } from 'element-plus';
86
- import { ElSlider as FoxSlider } from 'element-plus';
87
- import { ElSpace as FoxSpace } from 'element-plus';
88
- import { ElStep as FoxStep } from 'element-plus';
89
- import { ElSteps as FoxSteps } from 'element-plus';
90
- import { ElSubMenu as FoxSubMenu } from 'element-plus';
91
- import { ElSwitch as FoxSwitch } from 'element-plus';
92
- import { ElTable as FoxTable } from 'element-plus';
93
- import { ElTableColumn as FoxTableColumn } from 'element-plus';
94
- import { ElTableV2 as FoxTableV2 } from 'element-plus';
95
- import { ElTabPane as FoxTabPane } from 'element-plus';
96
- import { ElTabs as FoxTabs } from 'element-plus';
97
- import { ElTag as FoxTag } from 'element-plus';
98
- import { ElTimeline as FoxTimeline } from 'element-plus';
99
- import { ElTimelineItem as FoxTimelineItem } from 'element-plus';
100
- import { ElTimePicker as FoxTimePicker } from 'element-plus';
101
- import { ElTimeSelect as FoxTimeSelect } from 'element-plus';
102
- import { ElTooltip as FoxTooltip } from 'element-plus';
103
- import { ElTransfer as FoxTransfer } from 'element-plus';
104
- import { ElTree as FoxTree } from 'element-plus';
105
- import { ElTreeSelect as FoxTreeSelect } from 'element-plus';
106
- import { ElTreeV2 as FoxTreeV2 } from 'element-plus';
107
- import { ElUpload as FoxUpload } from 'element-plus';
108
- import { isArray } from '@fox-js/fox';
109
- import { isDate } from '@fox-js/fox';
110
- import { isEqual } from '@fox-js/fox';
111
- import { isESModule } from '@fox-js/fox';
112
- import { isFunction } from '@fox-js/fox';
113
- import { isMap } from '@fox-js/fox';
114
- import { isObject } from '@fox-js/fox';
115
- import { isPlainObject } from '@fox-js/fox';
116
- import { isPromise } from '@fox-js/fox';
117
- import { isSet } from '@fox-js/fox';
118
- import { isString } from '@fox-js/fox';
119
- import { isSymbol } from '@fox-js/fox';
120
- import type { MethodOptions } from 'vue';
7
+ import { ElAffix as FoxAffix } from './base';
8
+ import { ElAlert as FoxAlert } from './base';
9
+ import { ElAside as FoxAside } from './base';
10
+ import { ElAutocomplete as FoxAutocomplete } from './base';
11
+ import { ElAutoResizer as FoxAutoResizer } from './base';
12
+ import { ElAvatar as FoxAvatar } from './base';
13
+ import { ElBacktop as FoxBacktop } from './base';
14
+ import { ElBadge as FoxBadge } from './base';
15
+ import { ElBreadcrumb as FoxBreadcrumb } from './base';
16
+ import { ElBreadcrumbItem as FoxBreadcrumbItem } from './base';
17
+ import { ElButton as FoxButton } from './base';
18
+ import { ElButtonGroup as FoxButtonGroup } from './base';
19
+ import { ElCalendar as FoxCalendar } from './base';
20
+ import { ElCard as FoxCard } from './base';
21
+ import { ElCarousel as FoxCarousel } from './base';
22
+ import { ElCarouselItem as FoxCarouselItem } from './base';
23
+ import { ElCascader as FoxCascader } from './base';
24
+ import { ElCascaderPanel as FoxCascaderPanel } from './base';
25
+ import { ElCheckbox as FoxCheckbox } from './base';
26
+ import { ElCheckboxButton as FoxCheckboxButton } from './base';
27
+ import { ElCheckboxGroup as FoxCheckboxGroup } from './base';
28
+ import { ElCheckTag as FoxCheckTag } from './base';
29
+ import { ElCol as FoxCol } from './base';
30
+ import { ElCollapse as FoxCollapse } from './base';
31
+ import { ElCollapseItem as FoxCollapseItem } from './base';
32
+ import { ElCollapseTransition as FoxCollapseTransition } from './base';
33
+ import { ElColorPicker as FoxColorPicker } from './base';
34
+ import { FoxComponentPublicInstance } from './types';
35
+ import { ElConfigProvider as FoxConfigProvider } from './base';
36
+ import { ElContainer as FoxContainer } from './base';
37
+ import { ElDatePicker as FoxDatePicker } from './base';
38
+ import { ElDescriptions as FoxDescriptions } from './base';
39
+ import { ElDescriptionsItem as FoxDescriptionsItem } from './base';
40
+ import { ElDialog as FoxDialog } from './base';
41
+ import { ElDivider as FoxDivider } from './base';
42
+ import { ElDrawer as FoxDrawer } from './base';
43
+ import { ElDropdown as FoxDropdown } from './base';
44
+ import { ElDropdownItem as FoxDropdownItem } from './base';
45
+ import { ElDropdownMenu as FoxDropdownMenu } from './base';
46
+ import { ElEmpty as FoxEmpty } from './base';
47
+ import { ElFooter as FoxFooter } from './base';
48
+ import { ElForm as FoxForm } from './base';
49
+ import { ElFormItem as FoxFormItem } from './base';
50
+ import { ElHeader as FoxHeader } from './base';
51
+ import { ElIcon as FoxIcon } from './base';
52
+ import { ElImage as FoxImage } from './base';
53
+ import { ElImageViewer as FoxImageViewer } from './base';
54
+ import { ElInput as FoxInput } from './base';
55
+ import { ElInputNumber as FoxInputNumber } from './base';
56
+ import { ElLink as FoxLink } from './base';
57
+ import { ElMain as FoxMain } from './base';
58
+ import { ElMenu as FoxMenu } from './base';
59
+ import { ElMenuItem as FoxMenuItem } from './base';
60
+ import { ElMenuItemGroup as FoxMenuItemGroup } from './base';
61
+ import { ElOption as FoxOption } from './base';
62
+ import { ElOptionGroup as FoxOptionGroup } from './base';
63
+ import { ElPageHeader as FoxPageHeader } from './base';
64
+ import { ElPagination as FoxPagination } from './base';
65
+ import { ElPopconfirm as FoxPopconfirm } from './base';
66
+ import { ElPopover as FoxPopover } from './base';
67
+ import { ElPopper as FoxPopper } from './base';
68
+ import { ElProgress as FoxProgress } from './base';
69
+ import { ElRadio as FoxRadio } from './base';
70
+ import { ElRadioButton as FoxRadioButton } from './base';
71
+ import { ElRadioGroup as FoxRadioGroup } from './base';
72
+ import { ElRate as FoxRate } from './base';
73
+ import { ElResult as FoxResult } from './base';
74
+ import { ElRow as FoxRow } from './base';
75
+ import { ElScrollbar as FoxScrollbar } from './base';
76
+ import { ElSelect as FoxSelect } from './base';
77
+ import { ElSelectV2 as FoxSelectV2 } from './base';
78
+ import { ElSkeleton as FoxSkeleton } from './base';
79
+ import { ElSkeletonItem as FoxSkeletonItem } from './base';
80
+ import { ElSlider as FoxSlider } from './base';
81
+ import { ElSpace as FoxSpace } from './base';
82
+ import { ElStep as FoxStep } from './base';
83
+ import { ElSteps as FoxSteps } from './base';
84
+ import { ElSubMenu as FoxSubMenu } from './base';
85
+ import { ElSwitch as FoxSwitch } from './base';
86
+ import { ElTable as FoxTable } from './base';
87
+ import { ElTableColumn as FoxTableColumn } from './base';
88
+ import { ElTableV2 as FoxTableV2 } from './base';
89
+ import { ElTabPane as FoxTabPane } from './base';
90
+ import { ElTabs as FoxTabs } from './base';
91
+ import { ElTag as FoxTag } from './base';
92
+ import { ElTimeline as FoxTimeline } from './base';
93
+ import { ElTimelineItem as FoxTimelineItem } from './base';
94
+ import { ElTimePicker as FoxTimePicker } from './base';
95
+ import { ElTimeSelect as FoxTimeSelect } from './base';
96
+ import { ElTooltip as FoxTooltip } from './base';
97
+ import { ElTransfer as FoxTransfer } from './base';
98
+ import { ElTree as FoxTree } from './base';
99
+ import { ElTreeSelect as FoxTreeSelect } from './base';
100
+ import { ElTreeV2 as FoxTreeV2 } from './base';
101
+ import { FoxUI } from './interface';
102
+ import { FoxUIOptions } from './interface';
103
+ import { ElUpload as FoxUpload } from './base';
121
104
  import { multiply } from '@fox-js/big-decimal';
122
105
  import { negate } from '@fox-js/big-decimal';
123
106
  import { numberFormat } from '@fox-js/big-decimal';
124
107
  import { Ref } from 'vue';
125
108
  import { Rule } from '@fox-js/validator';
126
- import { toBoolean } from '@fox-js/fox';
127
- import { toNumber } from '@fox-js/fox';
128
- import { toTypeString } from '@fox-js/fox';
109
+ import { ScopeGetter } from './api';
129
110
  import { unNumberFormat } from '@fox-js/big-decimal';
130
111
  import { UnwrapNestedRefs } from 'vue';
131
112
  import { UnwrapRef } from 'vue';
132
113
  import { ValidateMessages } from '@fox-js/validator';
133
114
  import { ValidateResult } from '@fox-js/validator';
134
- import type { VNodeProps } from 'vue';
135
115
 
136
116
  /**
137
117
  * 是否接受value过滤器
@@ -140,8 +120,6 @@ export declare interface AcceptFilter {
140
120
  (value: any): boolean;
141
121
  }
142
122
 
143
- export declare const AutocompleteItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
144
-
145
123
  /**
146
124
  * 广播类
147
125
  */
@@ -219,21 +197,25 @@ export declare interface BroadcastCallback {
219
197
 
220
198
  export declare const BroadcastKey: unique symbol;
221
199
 
222
- export declare const CascaderItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
223
-
224
- export declare const CheckboxItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
200
+ export declare function cancelRaf(id: number): void;
225
201
 
226
202
  /**
227
203
  * 清理非数字
228
204
  */
229
205
  export declare function clearNonNumber(value: string, allowDot?: boolean, allowMinus?: boolean): string;
230
206
 
231
- export { clone }
207
+ /**
208
+ * 克隆对象
209
+ * @param target
210
+ * @param source
211
+ * @param plain
212
+ *
213
+ * @returns
214
+ */
215
+ export declare function clone(target: any, source: any, plain?: boolean): any;
232
216
 
233
217
  export { compareTo }
234
218
 
235
- export declare const Content: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
236
-
237
219
  /**
238
220
  * 创建broadcast
239
221
  *
@@ -259,15 +241,123 @@ export declare function createValidateSchema(proxy: FoxComponentPublicInstance,
259
241
  */
260
242
  export declare const DataItemsKey: unique symbol;
261
243
 
262
- export declare const DateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
244
+ export declare const DateUtils: {
245
+ /**
246
+ * 格式化
247
+ * @param date
248
+ * @param template
249
+ * @returns
250
+ */
251
+ format(date: Date, template: string): string;
252
+ /**
253
+ * 解析
254
+ * @param str
255
+ * @param template
256
+ */
257
+ parser(str: string, template: string): Date;
258
+ /**
259
+ * 是否为闫年
260
+ * @return {Boolse} true|false
261
+ */
262
+ isLeapYear(y: number): boolean;
263
+ /**
264
+ * 返回星期数
265
+ * @return {String}
266
+ */
267
+ getWhatDay(year: number, month: number, day: number): string;
268
+ /**
269
+ * 返回星期数
270
+ * @return {Number}
271
+ */
272
+ getMonthPreDay(year: number, month: number): number;
273
+ /**
274
+ * 返回月份天数
275
+ * @return {Number}
276
+ */
277
+ getMonthDays(year: string, month: string): number;
278
+ /**
279
+ * 补齐数字位数
280
+ * @return {string}
281
+ */
282
+ getNumTwoBit(n: number): string;
283
+ /**
284
+ * 日期对象转成字符串
285
+ * @return {string}
286
+ */
287
+ date2Str: (date: Date, split?: string) => string;
288
+ /**
289
+ * 返回日期格式字符串
290
+ * @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
291
+ * @param {Date} 起点日期
292
+ * @return {string} '2014-12-31'
293
+ */
294
+ getDay(i: number, startDate?: Date): string;
295
+ /**
296
+ * 时间比较
297
+ * @return
298
+ */
299
+ compareDate(date1: string | Date, date2: string | Date): boolean;
300
+ /**
301
+ * 时间是否相等
302
+ * @return
303
+ */
304
+ isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
305
+ /**
306
+ * get month week
307
+ * @param year
308
+ * @param month
309
+ * @param date
310
+ * @param firstDayOfWeek
311
+ * @returns
312
+ */
313
+ getMonthWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
314
+ /**
315
+ * get year week
316
+ * @param year
317
+ * @param month
318
+ * @param date
319
+ * @param firstDayOfWeek
320
+ * @returns
321
+ */
322
+ getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
323
+ /**
324
+ * get week date
325
+ */
326
+ getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
327
+ /**
328
+ * format result date
329
+ */
330
+ formatResultDate: (date: string) => string[];
331
+ /**
332
+ * 判断日期是否在范围内
333
+ * @param date
334
+ * @param startDate
335
+ * @param span 允许负数
336
+ */
337
+ inScope4Day(date: Date, startDate: Date, span: number): boolean;
338
+ /**
339
+ * 判断日期是否在范围内
340
+ * @param date
341
+ * @param startDate
342
+ * @param span
343
+ */
344
+ inScope4Month(date: Date, startDate: Date, span: number): boolean;
345
+ };
263
346
 
264
347
  /**
265
- * 防抖函数
348
+ * 防抖函数(执行时间范围内的最后一次)
266
349
  * @param func 函数
267
- * @param time 防止抖动毫秒数
350
+ * @param delay 防止抖动毫秒数
268
351
  * @returns
269
352
  */
270
- export declare function debounce(func: GenericFunction, time: number): GenericFunction;
353
+ export declare function debounce(func: GenericFunction, delay: number): GenericFunction;
354
+
355
+ /**
356
+ * 防抖Ref
357
+ * @param value
358
+ * @param delay
359
+ */
360
+ export declare function debounceRef<T>(value: T, delay: number): Ref<T>;
271
361
 
272
362
  /**
273
363
  * 获取小数长度
@@ -278,6 +368,198 @@ export declare function decimalLength(value: string | number): number;
278
368
  declare const _default: FoxUIVue;
279
369
  export default _default;
280
370
 
371
+ declare const _default_10: any;
372
+ export { _default_10 as FoxHintText }
373
+ export { _default_10 as HintText }
374
+
375
+ declare const _default_11: any;
376
+ export { _default_11 as FoxInputItem }
377
+ export { _default_11 as InputItem }
378
+
379
+ declare const _default_12: any;
380
+ export { _default_12 as FoxSelectItem }
381
+ export { _default_12 as SelectItem }
382
+
383
+ declare const _default_13: any;
384
+ export { _default_13 as DateItem }
385
+ export { _default_13 as FoxDateItem }
386
+
387
+ declare const _default_14: any;
388
+ export { _default_14 as FoxTimeItem }
389
+ export { _default_14 as TimeItem }
390
+
391
+ declare const _default_15: any;
392
+ export { _default_15 as FoxTimeSelectItem }
393
+ export { _default_15 as TimeSelectItem }
394
+
395
+ declare const _default_16: any;
396
+ export { _default_16 as FoxMoneyItem }
397
+ export { _default_16 as MoneyItem }
398
+
399
+ declare const _default_17: any;
400
+ export { _default_17 as FoxInputNumberItem }
401
+ export { _default_17 as InputNumberItem }
402
+
403
+ declare const _default_18: any;
404
+ export { _default_18 as CascaderItem }
405
+ export { _default_18 as FoxCascaderItem }
406
+
407
+ declare const _default_19: any;
408
+ export { _default_19 as AutocompleteItem }
409
+ export { _default_19 as FoxAutocompleteItem }
410
+
411
+ declare const _default_2: any;
412
+ export { _default_2 as FoxPage }
413
+ export { _default_2 as Page }
414
+
415
+ declare const _default_20: any;
416
+ export { _default_20 as FoxTableMappingColumn }
417
+ export { _default_20 as TableMappingColumn }
418
+
419
+ declare const _default_21: any;
420
+ export { _default_21 as FoxTableRadioColumn }
421
+ export { _default_21 as TableRadioColumn }
422
+
423
+ declare const _default_22: any;
424
+ export { _default_22 as FoxTableSetting }
425
+ export { _default_22 as TableSetting }
426
+
427
+ declare const _default_23: any;
428
+ export { _default_23 as FoxTableItem }
429
+ export { _default_23 as TableItem }
430
+
431
+ declare const _default_24: any;
432
+ export { _default_24 as FoxRadioItem }
433
+ export { _default_24 as RadioItem }
434
+
435
+ declare const _default_25: any;
436
+ export { _default_25 as CheckboxItem }
437
+ export { _default_25 as FoxCheckboxItem }
438
+
439
+ declare const _default_26: any;
440
+ export { _default_26 as FoxRateItem }
441
+ export { _default_26 as RateItem }
442
+
443
+ declare const _default_27: any;
444
+ export { _default_27 as FoxSwitchItem }
445
+ export { _default_27 as SwitchItem }
446
+
447
+ declare const _default_28: any;
448
+ export { _default_28 as FoxTreeSelectItem }
449
+ export { _default_28 as TreeSelectItem }
450
+
451
+ declare const _default_29: any;
452
+ export { _default_29 as FoxGroupSetting }
453
+ export { _default_29 as GroupSetting }
454
+
455
+ declare const _default_3: any;
456
+ export { _default_3 as FoxHeaderBar }
457
+ export { _default_3 as HeaderBar }
458
+
459
+ declare const _default_30: any;
460
+ export { _default_30 as FoxTabsBar }
461
+ export { _default_30 as TabsBar }
462
+
463
+ declare const _default_31: any;
464
+ export { _default_31 as FoxTabsContainer }
465
+ export { _default_31 as TabsContainer }
466
+
467
+ declare const _default_32: any;
468
+ export { _default_32 as FoxTabsPane }
469
+ export { _default_32 as TabsPane }
470
+
471
+ declare const _default_33: any;
472
+ export { _default_33 as FoxStepsBar }
473
+ export { _default_33 as StepsBar }
474
+
475
+ declare const _default_34: any;
476
+ export { _default_34 as DialogItem }
477
+ export { _default_34 as FoxDialogItem }
478
+
479
+ declare const _default_35: any;
480
+ export { _default_35 as FoxOverLay }
481
+ export { _default_35 as OverLay }
482
+
483
+ declare const _default_36: any;
484
+ export { _default_36 as FoxPopup }
485
+ export { _default_36 as Popup }
486
+
487
+ declare const _default_37: any;
488
+ export { _default_37 as FoxToast }
489
+ export { _default_37 as Toast }
490
+
491
+ declare const _default_38: any;
492
+ export { _default_38 as FoxSearchBar }
493
+ export { _default_38 as SearchBar }
494
+
495
+ declare const _default_39: any;
496
+ export { _default_39 as FoxInfiniteLoading }
497
+ export { _default_39 as InfiniteLoading }
498
+
499
+ declare const _default_4: any;
500
+ export { _default_4 as FooterBar }
501
+ export { _default_4 as FoxFooterBar }
502
+
503
+ declare const _default_40: any;
504
+ export { _default_40 as FoxPullRefresh }
505
+ export { _default_40 as PullRefresh }
506
+
507
+ declare const _default_41: any;
508
+ export { _default_41 as FoxMapping }
509
+ export { _default_41 as Mapping }
510
+
511
+ declare const _default_42: any;
512
+ export { _default_42 as FoxPrice }
513
+ export { _default_42 as Price }
514
+
515
+ declare const _default_43: any;
516
+ export { _default_43 as FoxIndicator }
517
+ export { _default_43 as Indicator }
518
+
519
+ declare const _default_44: any;
520
+ export { _default_44 as FoxText }
521
+ export { _default_44 as Text }
522
+
523
+ declare const _default_45: any;
524
+ export { _default_45 as FoxMoreButton }
525
+ export { _default_45 as MoreButton }
526
+
527
+ declare const _default_46: any;
528
+ export { _default_46 as FoxTour }
529
+ export { _default_46 as Tour }
530
+
531
+ declare const _default_47: any;
532
+ export { _default_47 as FloatingWindow }
533
+ export { _default_47 as FoxFloatingWindow }
534
+
535
+ declare const _default_48: any;
536
+ export { _default_48 as DomainProvider }
537
+ export { _default_48 as FoxDomainProvider }
538
+
539
+ declare const _default_49: any;
540
+ export { _default_49 as FoxRollingProvider }
541
+ export { _default_49 as RollingProvider }
542
+
543
+ declare const _default_5: any;
544
+ export { _default_5 as Content }
545
+ export { _default_5 as FoxContent }
546
+
547
+ declare const _default_6: any;
548
+ export { _default_6 as FoxGroup }
549
+ export { _default_6 as Group }
550
+
551
+ declare const _default_7: any;
552
+ export { _default_7 as FoxItem }
553
+ export { _default_7 as Item }
554
+
555
+ declare const _default_8: any;
556
+ export { _default_8 as FoxSlotItem }
557
+ export { _default_8 as SlotItem }
558
+
559
+ declare const _default_9: any;
560
+ export { _default_9 as FoxRowItem }
561
+ export { _default_9 as RowItem }
562
+
281
563
  /**
282
564
  * anyNode
283
565
  * @param name
@@ -286,6 +568,15 @@ export default _default;
286
568
  */
287
569
  export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback>, proxy?: FoxComponentPublicInstance): Broadcast | null;
288
570
 
571
+ /**
572
+ * 安装config domain
573
+ * @param name 名称
574
+ * @param props 属性
575
+ * @param ignores 忽略的属性
576
+ * @returns
577
+ */
578
+ export declare function defineConfigDomain(name: string | null, props: Record<string, any>, ignores?: any[]): Domain;
579
+
289
580
  /**
290
581
  * 定义domain data item
291
582
  * @returns
@@ -319,6 +610,16 @@ export declare function defineItem(descriptor: Descriptor, name?: string, expose
319
610
  */
320
611
  export declare function definePageState(domain: Domain, overrideProps?: Record<string, unknown>): UnwrapNestedRefs<PageState> | null;
321
612
 
613
+ /**
614
+ * 定义simple item
615
+ * @returns
616
+ */
617
+ export declare function defineSimpleItem(): {
618
+ emitEvent: (type: string, ...args: any[]) => void;
619
+ onEvent: (type: string, listener: EventListener_2) => void;
620
+ offEvent: (type: string, listener: EventListener_2) => void;
621
+ };
622
+
322
623
  /**
323
624
  * 删除公共校验器
324
625
  * @param type
@@ -334,14 +635,14 @@ export declare interface Descriptor {
334
635
  valueName?: string;
335
636
  valueType?: ValueType;
336
637
  validate?: boolean;
638
+ readonly?: boolean;
639
+ disabled?: boolean;
337
640
  pureDataValidate?: boolean;
338
641
  validateHandler?: ValidateHandler;
339
642
  validateCheckEvents?: string[];
340
643
  validateResetEvents?: string[];
341
644
  }
342
645
 
343
- export declare const DialogItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
344
-
345
646
  declare type Direction = '' | 'vertical' | 'horizontal';
346
647
 
347
648
  /**
@@ -476,14 +777,22 @@ declare interface EventListener_2 {
476
777
  */
477
778
  export declare function excludeProps(src: Record<string, any>, ...excludeTemplates: Record<string, any>[]): Record<string, any>;
478
779
 
479
- export { extend }
480
-
481
- export declare const ExtIcon: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
780
+ /**
781
+ * 继承(是否深度拷贝,dest,src1,src2,src3...)
782
+ *
783
+ * @returns
784
+ */
785
+ export declare function extend(...args: any[]): any;
482
786
 
787
+ /**
788
+ * float data
789
+ * @param format
790
+ * @param dataOp
791
+ * @param mapOps
792
+ * @returns
793
+ */
483
794
  export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
484
795
 
485
- export declare const FooterBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
486
-
487
796
  export { FoxAffix }
488
797
 
489
798
  export { FoxAlert }
@@ -538,8 +847,6 @@ export { FoxCollapseTransition }
538
847
 
539
848
  export { FoxColorPicker }
540
849
 
541
- declare type FoxComponentPublicInstance = any;
542
-
543
850
  export { FoxConfigProvider }
544
851
 
545
852
  export { FoxContainer }
@@ -672,78 +979,6 @@ export { FoxTreeSelect }
672
979
 
673
980
  export { FoxTreeV2 }
674
981
 
675
- /**
676
- * Fox UI
677
- */
678
- declare interface FoxUI {
679
- /**
680
- * 版本号
681
- */
682
- version: string;
683
- /**
684
- * 安装
685
- * @param app
686
- * @param options
687
- */
688
- install(app: App, options: FoxUIOptions): any;
689
- /**
690
- * 初始化page Layout
691
- *
692
- * @param options
693
- * @param rootDomain
694
- */
695
- initPageLayout(options: FoxUIOptions, rootDomain?: Domain): void;
696
- /**
697
- * 设置scope getter
698
- * @param getter
699
- */
700
- setScopeGetter(getter: ScopeGetter): void;
701
- /**
702
- * 设置API
703
- * @param name
704
- * @param func
705
- * @param scope
706
- */
707
- setAPI(name: string, func: any, scope?: string): void;
708
- /**
709
- * 获取API
710
- * @param proxy
711
- * @param name
712
- * @param scope
713
- */
714
- getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
715
- /**
716
- * 批量增加api
717
- * @param apis
718
- * @param scope
719
- */
720
- batchSetAPI(apis: Record<string, any>, scope?: string): void;
721
- /**
722
- * 清空scope apis
723
- * @param scope
724
- */
725
- clearScopeAPI(scope: string): void;
726
- /**
727
- * 获取root domain
728
- */
729
- getRootDomain(): Domain;
730
- }
731
-
732
- /**
733
- * UI Options
734
- */
735
- declare interface FoxUIOptions {
736
- headerBarHeight?: number;
737
- footerBarHeight?: number;
738
- safeAreaInset?: SafeAreaInset;
739
- pageLayout?: PageLayout;
740
- headerPadding?: Rect;
741
- contentPadding?: Rect;
742
- groupLayout?: GroupLayout;
743
- labelWidth?: number | string;
744
- [propName: string]: any;
745
- }
746
-
747
982
  /**
748
983
  * Fox UI vue实例
749
984
  */
@@ -873,21 +1108,10 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
873
1108
  */
874
1109
  export declare function getRootDomain(): Domain;
875
1110
 
876
- export declare const Group: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
877
-
878
1111
  /**
879
- * Layout信息接口
1112
+ * 是否支持symbol
880
1113
  */
881
- declare interface GroupLayout {
882
- type: string;
883
- width: number;
884
- column: number;
885
- gutter: number;
886
- }
887
-
888
- export declare const HeaderBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
889
-
890
- export declare const HintText: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1114
+ export declare const hasSymbol: boolean;
891
1115
 
892
1116
  /**
893
1117
  * 根据包含模版,抽取属性
@@ -905,12 +1129,6 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
905
1129
  */
906
1130
  export declare function indexOf(x: unknown, arr: unknown[]): number;
907
1131
 
908
- export declare const Indicator: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
909
-
910
- export declare const InputItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
911
-
912
- export declare const InputNumberItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
913
-
914
1132
  /**
915
1133
  * 安装函数
916
1134
  */
@@ -918,33 +1136,76 @@ declare interface Installer {
918
1136
  (app: App, options?: any): void;
919
1137
  }
920
1138
 
1139
+ /**
1140
+ * 安装校验规则
1141
+ * @param proxy
1142
+ */
1143
+ export declare function installRules(proxy: FoxComponentPublicInstance, validateScheme: ValidateSchema, name: string): void;
1144
+
921
1145
  /**
922
1146
  * 获取整数长度
923
1147
  * @param value
924
1148
  */
925
- export declare function integerLength(value: string | number): number;
1149
+ export declare function integerLength(v: string | number): number;
926
1150
 
927
- export { isArray }
1151
+ /**
1152
+ * 是否数组
1153
+ */
1154
+ export declare const isArray: (arg: any) => arg is any[];
1155
+
1156
+ /**
1157
+ * 是否为类数组
1158
+ * @param obj
1159
+ * @returns {boolean}
1160
+ */
1161
+ export declare function isArrayLike(obj: any): boolean;
928
1162
 
929
1163
  /**
930
1164
  * 是否为浏览器环境
931
1165
  */
932
1166
  export declare const isBrowser: boolean;
933
1167
 
934
- export { isDate }
1168
+ /**
1169
+ * 是否为Date
1170
+ * @param val
1171
+ * @returns
1172
+ */
1173
+ export declare const isDate: (val: unknown) => val is Date;
935
1174
 
936
1175
  /**
937
1176
  * 是否空字符串
938
1177
  * @param v
939
1178
  * @returns
940
1179
  */
941
- export declare const isEmptyString: (v: unknown) => boolean;
1180
+ export declare const isEmptyString: (v: unknown) => v is "";
942
1181
 
943
- export { isEqual }
1182
+ /**
1183
+ * 判断两个对象是否一致
1184
+ * @param x
1185
+ * @param y
1186
+ * @return
1187
+ */
1188
+ export declare function isEqual(x: any, y: any): boolean;
944
1189
 
945
- export { isESModule }
1190
+ /**
1191
+ * 是否为es module
1192
+ * @param obj
1193
+ * @returns
1194
+ */
1195
+ export declare function isESModule(obj: any): obj is Object;
946
1196
 
947
- export { isFunction }
1197
+ /**
1198
+ * 是否为函数
1199
+ * @param val
1200
+ * @returns
1201
+ */
1202
+ export declare const isFunction: (val: unknown) => val is Function;
1203
+
1204
+ /**
1205
+ * 是否是隐藏element
1206
+ * @param el
1207
+ */
1208
+ export declare function isHidden(el: any): boolean;
948
1209
 
949
1210
  /**
950
1211
  * 是否为内嵌页面
@@ -955,20 +1216,43 @@ export { isFunction }
955
1216
  */
956
1217
  export declare function isInnerPage(domain: Domain, proxy: any): boolean;
957
1218
 
958
- export { isMap }
1219
+ /**
1220
+ * 是否为Map
1221
+ * @param val
1222
+ * @returns
1223
+ */
1224
+ export declare const isMap: (val: unknown) => val is Map<any, any>;
1225
+
1226
+ /**
1227
+ * 是否null/undefined对象
1228
+ */
1229
+ export declare function isNil(v: unknown): v is null | undefined;
959
1230
 
960
1231
  /**
961
1232
  * 是否为数字字符串
962
1233
  * @param value
963
1234
  * @returns
964
1235
  */
965
- export declare function isNumberString(value: string): boolean;
1236
+ export declare function isNumberString(v: string): v is string;
966
1237
 
967
- export { isObject }
1238
+ /**
1239
+ * 是否为object
1240
+ */
1241
+ export declare const isObject: (val: unknown) => val is Record<any, any>;
968
1242
 
969
- export { isPlainObject }
1243
+ /**
1244
+ * 是否为plain对象
1245
+ * @param val
1246
+ * @returns
1247
+ */
1248
+ export declare const isPlainObject: (val: unknown) => val is object;
970
1249
 
971
- export { isPromise }
1250
+ /**
1251
+ * 是否为promise
1252
+ * @param val
1253
+ * @returns
1254
+ */
1255
+ export declare const isPromise: <T = any>(val: unknown) => val is Promise<T>;
972
1256
 
973
1257
  /**
974
1258
  * 判断是否为正则表达式
@@ -977,9 +1261,19 @@ export { isPromise }
977
1261
  */
978
1262
  export declare function isRegExp(v: unknown): v is RegExp;
979
1263
 
980
- export { isSet }
1264
+ /**
1265
+ * 是否为Set
1266
+ * @param val
1267
+ * @returns
1268
+ */
1269
+ export declare const isSet: (val: unknown) => val is Set<any>;
981
1270
 
982
- export { isString }
1271
+ /**
1272
+ * 是否为字符串
1273
+ * @param val
1274
+ * @returns
1275
+ */
1276
+ export declare const isString: (val: unknown) => val is string;
983
1277
 
984
1278
  /**
985
1279
  * 是否子页面
@@ -987,9 +1281,24 @@ export { isString }
987
1281
  */
988
1282
  export declare function isSubPage(domain: Domain): boolean;
989
1283
 
990
- export { isSymbol }
1284
+ /**
1285
+ * 是否为symbol
1286
+ * @param val
1287
+ * @returns
1288
+ */
1289
+ export declare const isSymbol: (val: unknown) => val is symbol;
991
1290
 
992
- export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1291
+ /**
1292
+ * 是否为支持触摸
1293
+ * @returns
1294
+ */
1295
+ export declare function isTouch(): boolean;
1296
+
1297
+ /**
1298
+ * 是否是window对象
1299
+ * @param obj
1300
+ */
1301
+ export declare function isWindow(obj: any): boolean;
993
1302
 
994
1303
  /**
995
1304
  * 获取对应元素的在数组中最后一个匹配的索引
@@ -999,7 +1308,13 @@ export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions,
999
1308
  */
1000
1309
  export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
1001
1310
 
1002
- export declare const Mapping: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1311
+ /**
1312
+ * 创建数组
1313
+ * @param arr
1314
+ * @param results
1315
+ * @return
1316
+ */
1317
+ export declare function makeArray(arr: any, results?: any[]): any[];
1003
1318
 
1004
1319
  /**
1005
1320
  * 匹配条件
@@ -1012,14 +1327,47 @@ export declare interface Matched {
1012
1327
  level?: number;
1013
1328
  }
1014
1329
 
1015
- export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1330
+ /**
1331
+ * 合并数组
1332
+ * @param first
1333
+ * @param second
1334
+ * @return
1335
+ */
1336
+ export declare function merge(first: any[], second: any[]): any[];
1016
1337
 
1017
1338
  export { multiply }
1018
1339
 
1019
1340
  export { negate }
1020
1341
 
1342
+ /**
1343
+ * 下一个事件周期中执行函数
1344
+ * @param fn
1345
+ * @param args
1346
+ */
1347
+ export declare function nextTick(fn: {
1348
+ (...args: any[]): void;
1349
+ }, ...args: any[]): void;
1350
+
1021
1351
  export { numberFormat }
1022
1352
 
1353
+ /**
1354
+ * 对象类型
1355
+ */
1356
+ export declare const objectToString: () => string;
1357
+
1358
+ /**
1359
+ * 只执行一次函数
1360
+ * @param func
1361
+ * @returns
1362
+ */
1363
+ export declare function once(func: GenericFunction): GenericFunction;
1364
+
1365
+ /**
1366
+ * 覆盖更新公共的校验处理器
1367
+ * @param validateHandler
1368
+ */
1369
+ export declare function overrideGlobalValidateHandler(validateHandler: Partial<ValidateHandler>): void;
1370
+
1023
1371
  /**
1024
1372
  * padding
1025
1373
  */
@@ -1030,16 +1378,14 @@ export declare interface Padding {
1030
1378
  bottom: number | null;
1031
1379
  }
1032
1380
 
1033
- export declare const Page: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1034
-
1035
1381
  /**
1036
1382
  * page layout
1037
1383
  */
1038
1384
  export declare interface PageLayout {
1039
1385
  width: number | string;
1040
- height?: number | string;
1041
- headerHeight: number | string;
1042
- footerHeight: number | string;
1386
+ height: number | string;
1387
+ headerHeight?: number | string;
1388
+ footerHeight?: number | string;
1043
1389
  headerPadding?: Padding;
1044
1390
  footerPadding?: Padding;
1045
1391
  contentPadding?: Padding;
@@ -1050,10 +1396,14 @@ export declare interface PageState {
1050
1396
  height: number;
1051
1397
  headerHeight: number;
1052
1398
  headerPadding: Padding;
1399
+ headerAllHeight?: number;
1053
1400
  footerHeight: number;
1054
1401
  footerPadding: Padding;
1402
+ footerAllHeight?: number;
1055
1403
  contentHeight: number | string | null;
1056
1404
  contentPadding: Padding;
1405
+ contentInnerHeight?: number;
1406
+ contentInnerWidth?: number;
1057
1407
  safeAreaTop: number;
1058
1408
  safeAreaBottom: number;
1059
1409
  safeAreaLeft: number;
@@ -1070,8 +1420,6 @@ export declare interface Point {
1070
1420
  y: number;
1071
1421
  }
1072
1422
 
1073
- export declare const Price: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1074
-
1075
1423
  /**
1076
1424
  * 优先策略
1077
1425
  */
@@ -1089,32 +1437,15 @@ export declare enum PriorityPolicy {
1089
1437
  */
1090
1438
  export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
1091
1439
 
1092
- export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1093
-
1094
- /**
1095
- * 动画
1096
- */
1097
1440
  export declare const raf: any;
1098
1441
 
1099
- export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1100
-
1101
1442
  /**
1102
1443
  * 只读属性
1103
1444
  * @param source
1104
1445
  */
1105
1446
  export declare function readonlyProperty(source: Ref): Ref;
1106
1447
 
1107
- /**
1108
- * Rect类型
1109
- */
1110
1448
  declare interface Rect {
1111
- left: number;
1112
- top: number;
1113
- right: number;
1114
- bottom: number;
1115
- }
1116
-
1117
- declare interface Rect_2 {
1118
1449
  top: number;
1119
1450
  left: number;
1120
1451
  right: number;
@@ -1133,8 +1464,6 @@ export declare type Result = Promise<any> | any;
1133
1464
  */
1134
1465
  export declare type Results = Result[];
1135
1466
 
1136
- export declare const RowItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1137
-
1138
1467
  /**
1139
1468
  * 安全区域
1140
1469
  */
@@ -1145,15 +1474,6 @@ export declare interface SafeAreaInset {
1145
1474
  bottom: number | string;
1146
1475
  }
1147
1476
 
1148
- /**
1149
- * scope getter
1150
- */
1151
- declare interface ScopeGetter {
1152
- (proxy: ComponentPublicInstance): string | null;
1153
- }
1154
-
1155
- export declare const SelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1156
-
1157
1477
  /**
1158
1478
  * 设置公共校验检查事件
1159
1479
  * @param events
@@ -1184,29 +1504,35 @@ export declare function setGlobalValidateResetEvents(events: string[]): void;
1184
1504
  */
1185
1505
  export declare function setGlobalValidator(type: string, validator: ExecuteValidator): void;
1186
1506
 
1187
- export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1188
-
1189
- export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1190
-
1191
- export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1192
-
1193
- export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1507
+ /**
1508
+ * size
1509
+ */
1510
+ declare interface Size {
1511
+ width: number;
1512
+ height: number;
1513
+ }
1194
1514
 
1195
1515
  /**
1196
- * 节流函数
1516
+ * 节流函数(执行时间范围内的第一次)
1197
1517
  * @param func 函数
1198
- * @param time 延迟执行毫秒数
1518
+ * @param delay 延迟执行毫秒数
1199
1519
  * @returns
1200
1520
  */
1201
- export declare function throttle(func: GenericFunction, time: number): GenericFunction;
1521
+ export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
1202
1522
 
1203
- export declare const TimeItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1204
-
1205
- export declare const TimeSelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1206
-
1207
- export { toBoolean }
1523
+ /**
1524
+ * 转换为boolean值
1525
+ * @param val
1526
+ * @returns
1527
+ */
1528
+ export declare function toBoolean(val: unknown): boolean;
1208
1529
 
1209
- export { toNumber }
1530
+ /**
1531
+ * 转换为number值
1532
+ * @param val
1533
+ * @returns
1534
+ */
1535
+ export declare function toNumber(val: unknown): number;
1210
1536
 
1211
1537
  /**
1212
1538
  * 转换为number rect
@@ -1228,15 +1554,47 @@ export declare function toPx(value: number | string, size?: number): number;
1228
1554
  */
1229
1555
  export declare const toPxDesc: (value: string | number, size?: number) => string;
1230
1556
 
1231
- export { toTypeString }
1557
+ export declare const toTypeString: (value: unknown) => string;
1232
1558
 
1233
1559
  /**
1234
1560
  * to model value
1235
1561
  * @param props
1562
+ * @param name
1236
1563
  * @param format
1564
+ * @param emitEvent
1237
1565
  * @returns
1238
1566
  */
1239
- export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
1567
+ export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any> | null, emitEvent?: {
1568
+ (type: string, ...args: any[]): void;
1569
+ }): Ref;
1570
+
1571
+ /**
1572
+ * 尝试执行多次函数
1573
+ * @param func 执行函数
1574
+ * @param milliseconds 执行间隔
1575
+ * @param maxLimit 最大尝试次数
1576
+ * @param step 间隔增加步长
1577
+ * @param immediately 是否立刻执行
1578
+ * @param callback 执行成功后的回调函数
1579
+ */
1580
+ export declare function tryTimes(func: TryTimesFunction, milliseconds: number, maxLimit: number, step?: number, immediately?: boolean, callback?: {
1581
+ (ret: boolean): void;
1582
+ }): void;
1583
+
1584
+ /**
1585
+ * 尝试多次函数
1586
+ * 返回true,代表执行完成,不在需要重试
1587
+ */
1588
+ export declare interface TryTimesFunction {
1589
+ (): boolean;
1590
+ }
1591
+
1592
+ /**
1593
+ * 判断类型
1594
+ * @param obj
1595
+ * @returns any
1596
+ */
1597
+ export declare function typeOf(obj: any): string;
1240
1598
 
1241
1599
  export declare class UniqueID {
1242
1600
  /**
@@ -1262,6 +1620,11 @@ export { unNumberFormat }
1262
1620
  * @param state
1263
1621
  * @param pageLayout
1264
1622
  * @param overrideProps
1623
+ * @param root
1624
+ * @param rootWidth
1625
+ * @param rootHeight
1626
+ * @param headerBarHeight
1627
+ * @param footerBarHeight
1265
1628
  */
1266
1629
  export declare function updatePageState(state: PageState, pageLayout: any, overrideProps?: Record<string, unknown>, root?: boolean, rootWidth?: number, rootHeight?: number, headerBarHeight?: number, footerBarHeight?: number): void;
1267
1630
 
@@ -1276,7 +1639,7 @@ export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null):
1276
1639
  * 获取当前domain
1277
1640
  * @returns
1278
1641
  */
1279
- export declare function useDomain(instance?: ComponentInternalInstance | null): Domain | null;
1642
+ export declare function useDomain(proxy?: ComponentPublicInstance | null): Domain | null;
1280
1643
 
1281
1644
  /**
1282
1645
  * use expose
@@ -1284,6 +1647,13 @@ export declare function useDomain(instance?: ComponentInternalInstance | null):
1284
1647
  */
1285
1648
  export declare function useExpose(apis: Record<string, any>, instance?: ComponentInternalInstance | null): void;
1286
1649
 
1650
+ /**
1651
+ * 获取内部可用size
1652
+ * @param elementRef
1653
+ * @returns
1654
+ */
1655
+ export declare function useInnerSize(elementRef: Element | Ref<Element>): Size;
1656
+
1287
1657
  /**
1288
1658
  * 获取page state
1289
1659
  * @param domain
@@ -1298,23 +1668,59 @@ export declare function usePageState(domain: Domain): PageState | null;
1298
1668
  */
1299
1669
  export declare const usePosition: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Point;
1300
1670
 
1301
- export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
1671
+ /**
1672
+ * 获取非响应式touch对象
1673
+ * @returns
1674
+ */
1675
+ export declare function useRawTouch(): {
1676
+ move: EventListener;
1677
+ start: EventListener;
1678
+ reset: () => void;
1679
+ isVertical: () => boolean;
1680
+ isHorizontal: () => boolean;
1681
+ state: {
1682
+ startX: number;
1683
+ startY: number;
1684
+ startTime: number;
1685
+ duration: number;
1686
+ moveX: number;
1687
+ moveY: number;
1688
+ deltaX: number;
1689
+ deltaY: number;
1690
+ offsetX: number;
1691
+ offsetY: number;
1692
+ direction: Direction;
1693
+ };
1694
+ };
1695
+
1696
+ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
1302
1697
 
1698
+ /**
1699
+ * 获取size
1700
+ * @param elementRef
1701
+ * @returns
1702
+ */
1703
+ export declare function useSize(elementRef: Element | Ref<Element>): Size;
1704
+
1705
+ /**
1706
+ * 获取响应式touch对象
1707
+ * @returns
1708
+ */
1303
1709
  export declare function useTouch(): {
1304
1710
  move: EventListener;
1305
1711
  start: EventListener;
1306
1712
  reset: () => void;
1307
- startX: Ref<number>;
1308
- startY: Ref<number>;
1309
- startTime: Ref<number>;
1310
- duration: Ref<number>;
1311
- moveX: Ref<number>;
1312
- moveY: Ref<number>;
1313
- deltaX: Ref<number>;
1314
- deltaY: Ref<number>;
1315
- offsetX: Ref<number>;
1316
- offsetY: Ref<number>;
1317
- direction: Ref<Direction>;
1713
+ startX: any;
1714
+ startY: any;
1715
+ startTime: any;
1716
+ duration: any;
1717
+ moveX: any;
1718
+ moveY: any;
1719
+ deltaX: any;
1720
+ deltaY: any;
1721
+ offsetX: any;
1722
+ offsetY: any;
1723
+ direction: any;
1318
1724
  isVertical: () => boolean;
1319
1725
  isHorizontal: () => boolean;
1320
1726
  };
@@ -1323,8 +1729,12 @@ export declare function useTouch(): {
1323
1729
  * 校验条件
1324
1730
  */
1325
1731
  export declare interface ValidateCondition {
1326
- exclude?: string[];
1732
+ deep?: boolean;
1327
1733
  include?: string[];
1734
+ exclude?: string[];
1735
+ ignoreHidden?: boolean;
1736
+ ignoreDisabled?: boolean;
1737
+ ignoreReadonly?: boolean;
1328
1738
  }
1329
1739
 
1330
1740
  /**