@fox-js/foxui-pad 4.0.1-2 → 4.0.1-20

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,120 +1,116 @@
1
- import type { AllowedComponentProps } from 'vue';
2
1
  import { App } from 'vue';
3
2
  import { compareTo } from '@fox-js/big-decimal';
4
- import type { ComponentCustomProps } from 'vue';
5
3
  import { ComponentInternalInstance } from 'vue';
6
- import type { ComponentOptionsMixin } from 'vue';
7
4
  import { ComponentPublicInstance } from 'vue';
8
- import type { ComputedOptions } from 'vue';
9
- import type { DefineComponent } from 'vue';
10
5
  import { divide } from '@fox-js/big-decimal';
11
6
  import { ExecuteValidator } from '@fox-js/validator';
12
- import { ElAffix as FoxAffix } from 'element-plus';
13
- import { ElAlert as FoxAlert } from 'element-plus';
14
- import { ElAside as FoxAside } from 'element-plus';
15
- import { ElAutocomplete as FoxAutocomplete } from 'element-plus';
16
- import { ElAutoResizer as FoxAutoResizer } from 'element-plus';
17
- import { ElAvatar as FoxAvatar } from 'element-plus';
18
- import { ElBacktop as FoxBacktop } from 'element-plus';
19
- import { ElBadge as FoxBadge } from 'element-plus';
20
- import { ElBreadcrumb as FoxBreadcrumb } from 'element-plus';
21
- import { ElBreadcrumbItem as FoxBreadcrumbItem } from 'element-plus';
22
- import { ElButton as FoxButton } from 'element-plus';
23
- import { ElButtonGroup as FoxButtonGroup } from 'element-plus';
24
- import { ElCalendar as FoxCalendar } from 'element-plus';
25
- import { ElCard as FoxCard } from 'element-plus';
26
- import { ElCarousel as FoxCarousel } from 'element-plus';
27
- import { ElCarouselItem as FoxCarouselItem } from 'element-plus';
28
- import { ElCascader as FoxCascader } from 'element-plus';
29
- import { ElCascaderPanel as FoxCascaderPanel } from 'element-plus';
30
- import { ElCheckbox as FoxCheckbox } from 'element-plus';
31
- import { ElCheckboxButton as FoxCheckboxButton } from 'element-plus';
32
- import { ElCheckboxGroup as FoxCheckboxGroup } from 'element-plus';
33
- import { ElCheckTag as FoxCheckTag } from 'element-plus';
34
- import { ElCol as FoxCol } from 'element-plus';
35
- import { ElCollapse as FoxCollapse } from 'element-plus';
36
- import { ElCollapseItem as FoxCollapseItem } from 'element-plus';
37
- import { ElCollapseTransition as FoxCollapseTransition } from 'element-plus';
38
- import { ElColorPicker as FoxColorPicker } from 'element-plus';
39
- import { ElConfigProvider as FoxConfigProvider } from 'element-plus';
40
- import { ElContainer as FoxContainer } from 'element-plus';
41
- import { ElDatePicker as FoxDatePicker } from 'element-plus';
42
- import { ElDescriptions as FoxDescriptions } from 'element-plus';
43
- import { ElDescriptionsItem as FoxDescriptionsItem } from 'element-plus';
44
- import { ElDialog as FoxDialog } from 'element-plus';
45
- import { ElDivider as FoxDivider } from 'element-plus';
46
- import { ElDrawer as FoxDrawer } from 'element-plus';
47
- import { ElDropdown as FoxDropdown } from 'element-plus';
48
- import { ElDropdownItem as FoxDropdownItem } from 'element-plus';
49
- import { ElDropdownMenu as FoxDropdownMenu } from 'element-plus';
50
- import { ElEmpty as FoxEmpty } from 'element-plus';
51
- import { ElFooter as FoxFooter } from 'element-plus';
52
- import { ElForm as FoxForm } from 'element-plus';
53
- import { ElFormItem as FoxFormItem } from 'element-plus';
54
- import { ElHeader as FoxHeader } from 'element-plus';
55
- import { ElIcon as FoxIcon } from 'element-plus';
56
- import { ElImage as FoxImage } from 'element-plus';
57
- import { ElImageViewer as FoxImageViewer } from 'element-plus';
58
- import { ElInput as FoxInput } from 'element-plus';
59
- import { ElInputNumber as FoxInputNumber } from 'element-plus';
60
- import { ElLink as FoxLink } from 'element-plus';
61
- import { ElMain as FoxMain } from 'element-plus';
62
- import { ElMenu as FoxMenu } from 'element-plus';
63
- import { ElMenuItem as FoxMenuItem } from 'element-plus';
64
- import { ElMenuItemGroup as FoxMenuItemGroup } from 'element-plus';
65
- import { ElOption as FoxOption } from 'element-plus';
66
- import { ElOptionGroup as FoxOptionGroup } from 'element-plus';
67
- import { ElPageHeader as FoxPageHeader } from 'element-plus';
68
- import { ElPagination as FoxPagination } from 'element-plus';
69
- import { ElPopconfirm as FoxPopconfirm } from 'element-plus';
70
- import { ElPopover as FoxPopover } from 'element-plus';
71
- import { ElPopper as FoxPopper } from 'element-plus';
72
- import { ElProgress as FoxProgress } from 'element-plus';
73
- import { ElRadio as FoxRadio } from 'element-plus';
74
- import { ElRadioButton as FoxRadioButton } from 'element-plus';
75
- import { ElRadioGroup as FoxRadioGroup } from 'element-plus';
76
- import { ElRate as FoxRate } from 'element-plus';
77
- import { ElResult as FoxResult } from 'element-plus';
78
- import { ElRow as FoxRow } from 'element-plus';
79
- import { ElScrollbar as FoxScrollbar } from 'element-plus';
80
- import { ElSelect as FoxSelect } from 'element-plus';
81
- import { ElSelectV2 as FoxSelectV2 } from 'element-plus';
82
- import { ElSkeleton as FoxSkeleton } from 'element-plus';
83
- import { ElSkeletonItem as FoxSkeletonItem } from 'element-plus';
84
- import { ElSlider as FoxSlider } from 'element-plus';
85
- import { ElSpace as FoxSpace } from 'element-plus';
86
- import { ElStep as FoxStep } from 'element-plus';
87
- import { ElSteps as FoxSteps } from 'element-plus';
88
- import { ElSubMenu as FoxSubMenu } from 'element-plus';
89
- import { ElSwitch as FoxSwitch } from 'element-plus';
90
- import { ElTable as FoxTable } from 'element-plus';
91
- import { ElTableColumn as FoxTableColumn } from 'element-plus';
92
- import { ElTableV2 as FoxTableV2 } from 'element-plus';
93
- import { ElTabPane as FoxTabPane } from 'element-plus';
94
- import { ElTabs as FoxTabs } from 'element-plus';
95
- import { ElTag as FoxTag } from 'element-plus';
96
- import { ElTimeline as FoxTimeline } from 'element-plus';
97
- import { ElTimelineItem as FoxTimelineItem } from 'element-plus';
98
- import { ElTimePicker as FoxTimePicker } from 'element-plus';
99
- import { ElTimeSelect as FoxTimeSelect } from 'element-plus';
100
- import { ElTooltip as FoxTooltip } from 'element-plus';
101
- import { ElTransfer as FoxTransfer } from 'element-plus';
102
- import { ElTree as FoxTree } from 'element-plus';
103
- import { ElTreeSelect as FoxTreeSelect } from 'element-plus';
104
- import { ElTreeV2 as FoxTreeV2 } from 'element-plus';
105
- import { ElUpload as FoxUpload } from 'element-plus';
106
- 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 { ElDescriptions as FoxDescriptions } from './base';
38
+ import { ElDescriptionsItem as FoxDescriptionsItem } from './base';
39
+ import { ElDialog as FoxDialog } from './base';
40
+ import { ElDivider as FoxDivider } from './base';
41
+ import { ElDrawer as FoxDrawer } from './base';
42
+ import { ElDropdown as FoxDropdown } from './base';
43
+ import { ElDropdownItem as FoxDropdownItem } from './base';
44
+ import { ElDropdownMenu as FoxDropdownMenu } from './base';
45
+ import { ElEmpty as FoxEmpty } from './base';
46
+ import { ElFooter as FoxFooter } from './base';
47
+ import { ElForm as FoxForm } from './base';
48
+ import { ElFormItem as FoxFormItem } from './base';
49
+ import { ElHeader as FoxHeader } from './base';
50
+ import { ElIcon as FoxIcon } from './base';
51
+ import { ElImage as FoxImage } from './base';
52
+ import { ElImageViewer as FoxImageViewer } from './base';
53
+ import { ElInput as FoxInput } from './base';
54
+ import { ElInputNumber as FoxInputNumber } from './base';
55
+ import { ElLink as FoxLink } from './base';
56
+ import { ElMain as FoxMain } from './base';
57
+ import { ElMenu as FoxMenu } from './base';
58
+ import { ElMenuItem as FoxMenuItem } from './base';
59
+ import { ElMenuItemGroup as FoxMenuItemGroup } from './base';
60
+ import { ElOption as FoxOption } from './base';
61
+ import { ElOptionGroup as FoxOptionGroup } from './base';
62
+ import { ElPageHeader as FoxPageHeader } from './base';
63
+ import { ElPagination as FoxPagination } from './base';
64
+ import { ElPopconfirm as FoxPopconfirm } from './base';
65
+ import { ElPopover as FoxPopover } from './base';
66
+ import { ElPopper as FoxPopper } from './base';
67
+ import { ElProgress as FoxProgress } from './base';
68
+ import { ElRadio as FoxRadio } from './base';
69
+ import { ElRadioButton as FoxRadioButton } from './base';
70
+ import { ElRadioGroup as FoxRadioGroup } from './base';
71
+ import { ElRate as FoxRate } from './base';
72
+ import { ElResult as FoxResult } from './base';
73
+ import { ElRow as FoxRow } from './base';
74
+ import { ElScrollbar as FoxScrollbar } from './base';
75
+ import { ElSelect as FoxSelect } from './base';
76
+ import { ElSelectV2 as FoxSelectV2 } from './base';
77
+ import { ElSkeleton as FoxSkeleton } from './base';
78
+ import { ElSkeletonItem as FoxSkeletonItem } from './base';
79
+ import { ElSlider as FoxSlider } from './base';
80
+ import { ElSpace as FoxSpace } from './base';
81
+ import { ElStep as FoxStep } from './base';
82
+ import { ElSteps as FoxSteps } from './base';
83
+ import { ElSubMenu as FoxSubMenu } from './base';
84
+ import { ElSwitch as FoxSwitch } from './base';
85
+ import { ElTable as FoxTable } from './base';
86
+ import { ElTableColumn as FoxTableColumn } from './base';
87
+ import { ElTableV2 as FoxTableV2 } from './base';
88
+ import { ElTabPane as FoxTabPane } from './base';
89
+ import { ElTabs as FoxTabs } from './base';
90
+ import { ElTag as FoxTag } from './base';
91
+ import { ElTimeline as FoxTimeline } from './base';
92
+ import { ElTimelineItem as FoxTimelineItem } from './base';
93
+ import { ElTimePicker as FoxTimePicker } from './base';
94
+ import { ElTimeSelect as FoxTimeSelect } from './base';
95
+ import { ElTooltip as FoxTooltip } from './base';
96
+ import { ElTransfer as FoxTransfer } from './base';
97
+ import { ElTree as FoxTree } from './base';
98
+ import { ElTreeSelect as FoxTreeSelect } from './base';
99
+ import { ElTreeV2 as FoxTreeV2 } from './base';
100
+ import { FoxUI } from './interface';
101
+ import { FoxUIOptions } from './interface';
102
+ import { ElUpload as FoxUpload } from './base';
107
103
  import { multiply } from '@fox-js/big-decimal';
108
104
  import { negate } from '@fox-js/big-decimal';
109
105
  import { numberFormat } from '@fox-js/big-decimal';
110
106
  import { Ref } from 'vue';
111
107
  import { Rule } from '@fox-js/validator';
108
+ import { ScopeGetter } from './api';
112
109
  import { unNumberFormat } from '@fox-js/big-decimal';
113
110
  import { UnwrapNestedRefs } from 'vue';
114
111
  import { UnwrapRef } from 'vue';
115
112
  import { ValidateMessages } from '@fox-js/validator';
116
113
  import { ValidateResult } from '@fox-js/validator';
117
- import type { VNodeProps } from 'vue';
118
114
 
119
115
  /**
120
116
  * 是否接受value过滤器
@@ -123,8 +119,6 @@ export declare interface AcceptFilter {
123
119
  (value: any): boolean;
124
120
  }
125
121
 
126
- export declare const AutocompleteItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
127
-
128
122
  /**
129
123
  * 广播类
130
124
  */
@@ -202,15 +196,7 @@ export declare interface BroadcastCallback {
202
196
 
203
197
  export declare const BroadcastKey: unique symbol;
204
198
 
205
- export declare const CalendarItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
206
-
207
- export declare const CalendarPicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
208
-
209
- export declare const CascaderItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
210
-
211
- export declare const CascaderPicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
212
-
213
- export declare const CheckboxItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
199
+ export declare function cancelRaf(id: number): void;
214
200
 
215
201
  /**
216
202
  * 清理非数字
@@ -229,8 +215,6 @@ export declare function clone(target: any, source: any, plain?: boolean): any;
229
215
 
230
216
  export { compareTo }
231
217
 
232
- export declare const Content: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
233
-
234
218
  /**
235
219
  * 创建broadcast
236
220
  *
@@ -256,17 +240,123 @@ export declare function createValidateSchema(proxy: FoxComponentPublicInstance,
256
240
  */
257
241
  export declare const DataItemsKey: unique symbol;
258
242
 
259
- export declare const DateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
260
-
261
- export declare const DatePicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
243
+ export declare const DateUtils: {
244
+ /**
245
+ * 格式化
246
+ * @param date
247
+ * @param template
248
+ * @returns
249
+ */
250
+ format(date: Date, template: string): string;
251
+ /**
252
+ * 解析
253
+ * @param str
254
+ * @param template
255
+ */
256
+ parser(str: string, template: string): Date;
257
+ /**
258
+ * 是否为闫年
259
+ * @return {Boolse} true|false
260
+ */
261
+ isLeapYear(y: number): boolean;
262
+ /**
263
+ * 返回星期数
264
+ * @return {String}
265
+ */
266
+ getWhatDay(year: number, month: number, day: number): string;
267
+ /**
268
+ * 返回星期数
269
+ * @return {Number}
270
+ */
271
+ getMonthPreDay(year: number, month: number): number;
272
+ /**
273
+ * 返回月份天数
274
+ * @return {Number}
275
+ */
276
+ getMonthDays(year: string, month: string): number;
277
+ /**
278
+ * 补齐数字位数
279
+ * @return {string}
280
+ */
281
+ getNumTwoBit(n: number): string;
282
+ /**
283
+ * 日期对象转成字符串
284
+ * @return {string}
285
+ */
286
+ date2Str: (date: Date, split?: string) => string;
287
+ /**
288
+ * 返回日期格式字符串
289
+ * @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
290
+ * @param {Date} 起点日期
291
+ * @return {string} '2014-12-31'
292
+ */
293
+ getDay(i: number, startDate?: Date): string;
294
+ /**
295
+ * 时间比较
296
+ * @return
297
+ */
298
+ compareDate(date1: string | Date, date2: string | Date): boolean;
299
+ /**
300
+ * 时间是否相等
301
+ * @return
302
+ */
303
+ isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
304
+ /**
305
+ * get month week
306
+ * @param year
307
+ * @param month
308
+ * @param date
309
+ * @param firstDayOfWeek
310
+ * @returns
311
+ */
312
+ getMonthWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
313
+ /**
314
+ * get year week
315
+ * @param year
316
+ * @param month
317
+ * @param date
318
+ * @param firstDayOfWeek
319
+ * @returns
320
+ */
321
+ getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
322
+ /**
323
+ * get week date
324
+ */
325
+ getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
326
+ /**
327
+ * format result date
328
+ */
329
+ formatResultDate: (date: string) => string[];
330
+ /**
331
+ * 判断日期是否在范围内
332
+ * @param date
333
+ * @param startDate
334
+ * @param span 允许负数
335
+ */
336
+ inScope4Day(date: Date, startDate: Date, span: number): boolean;
337
+ /**
338
+ * 判断日期是否在范围内
339
+ * @param date
340
+ * @param startDate
341
+ * @param span
342
+ */
343
+ inScope4Month(date: Date, startDate: Date, span: number): boolean;
344
+ };
262
345
 
263
346
  /**
264
- * 防抖函数
347
+ * 防抖函数(执行时间范围内的最后一次)
265
348
  * @param func 函数
266
- * @param time 防止抖动毫秒数
349
+ * @param delay 防止抖动毫秒数
267
350
  * @returns
268
351
  */
269
- export declare function debounce(func: GenericFunction, time: number): GenericFunction;
352
+ export declare function debounce(func: GenericFunction, delay: number): GenericFunction;
353
+
354
+ /**
355
+ * 防抖Ref
356
+ * @param value
357
+ * @param delay
358
+ */
359
+ export declare function debounceRef<T>(value: T, delay: number): Ref<T>;
270
360
 
271
361
  /**
272
362
  * 获取小数长度
@@ -277,6 +367,202 @@ export declare function decimalLength(value: string | number): number;
277
367
  declare const _default: FoxUIVue;
278
368
  export default _default;
279
369
 
370
+ declare const _default_10: any;
371
+ export { _default_10 as FoxHintText }
372
+ export { _default_10 as HintText }
373
+
374
+ declare const _default_11: any;
375
+ export { _default_11 as FoxInputItem }
376
+ export { _default_11 as InputItem }
377
+
378
+ declare const _default_12: any;
379
+ export { _default_12 as FoxSelectItem }
380
+ export { _default_12 as SelectItem }
381
+
382
+ declare const _default_13: any;
383
+ export { _default_13 as DateItem }
384
+ export { _default_13 as FoxDateItem }
385
+
386
+ declare const _default_14: any;
387
+ export { _default_14 as CalendarItem }
388
+ export { _default_14 as FoxCalendarItem }
389
+
390
+ declare const _default_15: any;
391
+ export { _default_15 as FoxTimeItem }
392
+ export { _default_15 as TimeItem }
393
+
394
+ declare const _default_16: any;
395
+ export { _default_16 as FoxTimeSelectItem }
396
+ export { _default_16 as TimeSelectItem }
397
+
398
+ declare const _default_17: any;
399
+ export { _default_17 as FoxMoneyItem }
400
+ export { _default_17 as MoneyItem }
401
+
402
+ declare const _default_18: any;
403
+ export { _default_18 as FoxInputNumberItem }
404
+ export { _default_18 as InputNumberItem }
405
+
406
+ declare const _default_19: any;
407
+ export { _default_19 as CascaderItem }
408
+ export { _default_19 as FoxCascaderItem }
409
+
410
+ declare const _default_2: any;
411
+ export { _default_2 as FoxPage }
412
+ export { _default_2 as Page }
413
+
414
+ declare const _default_20: any;
415
+ export { _default_20 as AutocompleteItem }
416
+ export { _default_20 as FoxAutocompleteItem }
417
+
418
+ declare const _default_21: any;
419
+ export { _default_21 as FoxTableMappingColumn }
420
+ export { _default_21 as TableMappingColumn }
421
+
422
+ declare const _default_22: any;
423
+ export { _default_22 as FoxTableRadioColumn }
424
+ export { _default_22 as TableRadioColumn }
425
+
426
+ declare const _default_23: any;
427
+ export { _default_23 as FoxTableSetting }
428
+ export { _default_23 as TableSetting }
429
+
430
+ declare const _default_24: any;
431
+ export { _default_24 as FoxTableItem }
432
+ export { _default_24 as TableItem }
433
+
434
+ declare const _default_25: any;
435
+ export { _default_25 as FoxRadioItem }
436
+ export { _default_25 as RadioItem }
437
+
438
+ declare const _default_26: any;
439
+ export { _default_26 as CheckboxItem }
440
+ export { _default_26 as FoxCheckboxItem }
441
+
442
+ declare const _default_27: any;
443
+ export { _default_27 as FoxRateItem }
444
+ export { _default_27 as RateItem }
445
+
446
+ declare const _default_28: any;
447
+ export { _default_28 as FoxSwitchItem }
448
+ export { _default_28 as SwitchItem }
449
+
450
+ declare const _default_29: any;
451
+ export { _default_29 as FoxTreeSelectItem }
452
+ export { _default_29 as TreeSelectItem }
453
+
454
+ declare const _default_3: any;
455
+ export { _default_3 as FoxHeaderBar }
456
+ export { _default_3 as HeaderBar }
457
+
458
+ declare const _default_30: any;
459
+ export { _default_30 as FoxGroupSetting }
460
+ export { _default_30 as GroupSetting }
461
+
462
+ declare const _default_31: any;
463
+ export { _default_31 as DialogItem }
464
+ export { _default_31 as FoxDialogItem }
465
+
466
+ declare const _default_32: any;
467
+ export { _default_32 as FoxMapping }
468
+ export { _default_32 as Mapping }
469
+
470
+ declare const _default_33: any;
471
+ export { _default_33 as FoxPrice }
472
+ export { _default_33 as Price }
473
+
474
+ declare const _default_34: any;
475
+ export { _default_34 as FoxIndicator }
476
+ export { _default_34 as Indicator }
477
+
478
+ declare const _default_35: any;
479
+ export { _default_35 as FoxText }
480
+ export { _default_35 as Text }
481
+
482
+ declare const _default_36: any;
483
+ export { _default_36 as FoxToast }
484
+ export { _default_36 as Toast }
485
+
486
+ declare const _default_37: any;
487
+ export { _default_37 as FoxOverlay }
488
+ export { _default_37 as Overlay }
489
+
490
+ declare const _default_38: any;
491
+ export { _default_38 as FoxPopup }
492
+ export { _default_38 as Popup }
493
+
494
+ declare const _default_39: any;
495
+ export { _default_39 as FoxPicker }
496
+ export { _default_39 as Picker }
497
+
498
+ declare const _default_4: any;
499
+ export { _default_4 as FooterBar }
500
+ export { _default_4 as FoxFooterBar }
501
+
502
+ declare const _default_40: any;
503
+ export { _default_40 as DatePicker }
504
+ export { _default_40 as FoxDatePicker }
505
+
506
+ declare const _default_41: any;
507
+ export { _default_41 as CalendarPicker }
508
+ export { _default_41 as FoxCalendarPicker }
509
+
510
+ declare const _default_42: any;
511
+ export { _default_42 as ExtTabPane }
512
+ export { _default_42 as FoxExtTabPane }
513
+
514
+ declare const _default_43: any;
515
+ export { _default_43 as ExtTabs }
516
+ export { _default_43 as FoxExtTabs }
517
+
518
+ declare const _default_44: any;
519
+ export { _default_44 as CascaderPicker }
520
+ export { _default_44 as FoxCascaderPicker }
521
+
522
+ declare const _default_45: any;
523
+ export { _default_45 as FoxMoreButton }
524
+ export { _default_45 as MoreButton }
525
+
526
+ declare const _default_46: any;
527
+ export { _default_46 as FoxTour }
528
+ export { _default_46 as Tour }
529
+
530
+ declare const _default_47: any;
531
+ export { _default_47 as Foxsticky }
532
+ export { _default_47 as sticky }
533
+
534
+ declare const _default_48: any;
535
+ export { _default_48 as FloatingWindow }
536
+ export { _default_48 as FoxFloatingWindow }
537
+
538
+ declare const _default_49: any;
539
+ export { _default_49 as DomainProvider }
540
+ export { _default_49 as FoxDomainProvider }
541
+
542
+ declare const _default_5: any;
543
+ export { _default_5 as Content }
544
+ export { _default_5 as FoxContent }
545
+
546
+ declare const _default_50: any;
547
+ export { _default_50 as FoxRollingProvider }
548
+ export { _default_50 as RollingProvider }
549
+
550
+ declare const _default_6: any;
551
+ export { _default_6 as FoxGroup }
552
+ export { _default_6 as Group }
553
+
554
+ declare const _default_7: any;
555
+ export { _default_7 as FoxItem }
556
+ export { _default_7 as Item }
557
+
558
+ declare const _default_8: any;
559
+ export { _default_8 as FoxSlotItem }
560
+ export { _default_8 as SlotItem }
561
+
562
+ declare const _default_9: any;
563
+ export { _default_9 as FoxRowItem }
564
+ export { _default_9 as RowItem }
565
+
280
566
  /**
281
567
  * anyNode
282
568
  * @param name
@@ -285,6 +571,15 @@ export default _default;
285
571
  */
286
572
  export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback>, proxy?: FoxComponentPublicInstance): Broadcast | null;
287
573
 
574
+ /**
575
+ * 安装config domain
576
+ * @param name 名称
577
+ * @param props 属性
578
+ * @param ignores 忽略的属性
579
+ * @returns
580
+ */
581
+ export declare function defineConfigDomain(name: string | null, props: Record<string, any>, ignores?: any[]): Domain;
582
+
288
583
  /**
289
584
  * 定义domain data item
290
585
  * @returns
@@ -339,10 +634,6 @@ export declare interface Descriptor {
339
634
  validateResetEvents?: string[];
340
635
  }
341
636
 
342
- export declare const DialogItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
343
-
344
- declare type Direction = '' | 'vertical' | 'horizontal';
345
-
346
637
  /**
347
638
  * 禁用属性
348
639
  * @param source
@@ -482,16 +773,15 @@ export declare function excludeProps(src: Record<string, any>, ...excludeTemplat
482
773
  */
483
774
  export declare function extend(...args: any[]): any;
484
775
 
485
- export declare const ExtIcon: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
486
-
487
- export declare const ExtTabPane: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
488
-
489
- export declare const ExtTabs: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
490
-
776
+ /**
777
+ * float data
778
+ * @param format
779
+ * @param dataOp
780
+ * @param mapOps
781
+ * @returns
782
+ */
491
783
  export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
492
784
 
493
- export declare const FooterBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
494
-
495
785
  export { FoxAffix }
496
786
 
497
787
  export { FoxAlert }
@@ -546,14 +836,10 @@ export { FoxCollapseTransition }
546
836
 
547
837
  export { FoxColorPicker }
548
838
 
549
- declare type FoxComponentPublicInstance = any;
550
-
551
839
  export { FoxConfigProvider }
552
840
 
553
841
  export { FoxContainer }
554
842
 
555
- export { FoxDatePicker }
556
-
557
843
  export { FoxDescriptions }
558
844
 
559
845
  export { FoxDescriptionsItem }
@@ -680,78 +966,6 @@ export { FoxTreeSelect }
680
966
 
681
967
  export { FoxTreeV2 }
682
968
 
683
- /**
684
- * Fox UI
685
- */
686
- declare interface FoxUI {
687
- /**
688
- * 版本号
689
- */
690
- version: string;
691
- /**
692
- * 安装
693
- * @param app
694
- * @param options
695
- */
696
- install(app: App, options: FoxUIOptions): any;
697
- /**
698
- * 初始化page Layout
699
- *
700
- * @param options
701
- * @param rootDomain
702
- */
703
- initPageLayout(options: FoxUIOptions, rootDomain?: Domain): void;
704
- /**
705
- * 设置scope getter
706
- * @param getter
707
- */
708
- setScopeGetter(getter: ScopeGetter): void;
709
- /**
710
- * 设置API
711
- * @param name
712
- * @param func
713
- * @param scope
714
- */
715
- setAPI(name: string, func: any, scope?: string): void;
716
- /**
717
- * 获取API
718
- * @param proxy
719
- * @param name
720
- * @param scope
721
- */
722
- getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
723
- /**
724
- * 批量增加api
725
- * @param apis
726
- * @param scope
727
- */
728
- batchSetAPI(apis: Record<string, any>, scope?: string): void;
729
- /**
730
- * 清空scope apis
731
- * @param scope
732
- */
733
- clearScopeAPI(scope: string): void;
734
- /**
735
- * 获取root domain
736
- */
737
- getRootDomain(): Domain;
738
- }
739
-
740
- /**
741
- * UI Options
742
- */
743
- declare interface FoxUIOptions {
744
- headerBarHeight?: number;
745
- footerBarHeight?: number;
746
- safeAreaInset?: SafeAreaInset;
747
- pageLayout?: PageLayout;
748
- headerPadding?: Rect;
749
- contentPadding?: Rect;
750
- groupLayout?: GroupLayout;
751
- labelWidth?: number | string;
752
- [propName: string]: any;
753
- }
754
-
755
969
  /**
756
970
  * Fox UI vue实例
757
971
  */
@@ -881,27 +1095,11 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
881
1095
  */
882
1096
  export declare function getRootDomain(): Domain;
883
1097
 
884
- export declare const Group: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
885
-
886
- /**
887
- * Layout信息接口
888
- */
889
- declare interface GroupLayout {
890
- type: string;
891
- width: number;
892
- column: number;
893
- gutter: number;
894
- }
895
-
896
1098
  /**
897
1099
  * 是否支持symbol
898
1100
  */
899
1101
  export declare const hasSymbol: boolean;
900
1102
 
901
- export declare const HeaderBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
902
-
903
- export declare const HintText: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
904
-
905
1103
  /**
906
1104
  * 根据包含模版,抽取属性
907
1105
  * @param src
@@ -918,12 +1116,6 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
918
1116
  */
919
1117
  export declare function indexOf(x: unknown, arr: unknown[]): number;
920
1118
 
921
- export declare const Indicator: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
922
-
923
- export declare const InputItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
924
-
925
- export declare const InputNumberItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
926
-
927
1119
  /**
928
1120
  * 安装函数
929
1121
  */
@@ -931,11 +1123,17 @@ declare interface Installer {
931
1123
  (app: App, options?: any): void;
932
1124
  }
933
1125
 
1126
+ /**
1127
+ * 安装校验规则
1128
+ * @param proxy
1129
+ */
1130
+ export declare function installRules(proxy: FoxComponentPublicInstance, validateScheme: ValidateSchema, name: string): void;
1131
+
934
1132
  /**
935
1133
  * 获取整数长度
936
1134
  * @param value
937
1135
  */
938
- export declare function integerLength(value: string | number): number;
1136
+ export declare function integerLength(v: string | number): number;
939
1137
 
940
1138
  /**
941
1139
  * 是否数组
@@ -966,7 +1164,7 @@ export declare const isDate: (val: unknown) => val is Date;
966
1164
  * @param v
967
1165
  * @returns
968
1166
  */
969
- export declare const isEmptyString: (v: unknown) => boolean;
1167
+ export declare const isEmptyString: (v: unknown) => v is "";
970
1168
 
971
1169
  /**
972
1170
  * 判断两个对象是否一致
@@ -990,6 +1188,12 @@ export declare function isESModule(obj: any): obj is Object;
990
1188
  */
991
1189
  export declare const isFunction: (val: unknown) => val is Function;
992
1190
 
1191
+ /**
1192
+ * 是否是隐藏element
1193
+ * @param el
1194
+ */
1195
+ export declare function isHidden(el: any): boolean;
1196
+
993
1197
  /**
994
1198
  * 是否为内嵌页面
995
1199
  * 内嵌页面为内嵌在容器内,如dialog,不需要设置content的高度
@@ -1006,12 +1210,17 @@ export declare function isInnerPage(domain: Domain, proxy: any): boolean;
1006
1210
  */
1007
1211
  export declare const isMap: (val: unknown) => val is Map<any, any>;
1008
1212
 
1213
+ /**
1214
+ * 是否null/undefined对象
1215
+ */
1216
+ export declare function isNil(v: unknown): v is null | undefined;
1217
+
1009
1218
  /**
1010
1219
  * 是否为数字字符串
1011
1220
  * @param value
1012
1221
  * @returns
1013
1222
  */
1014
- export declare function isNumberString(value: string): boolean;
1223
+ export declare function isNumberString(v: string): v is string;
1015
1224
 
1016
1225
  /**
1017
1226
  * 是否为object
@@ -1072,8 +1281,6 @@ export declare const isSymbol: (val: unknown) => val is symbol;
1072
1281
  */
1073
1282
  export declare function isWindow(obj: any): boolean;
1074
1283
 
1075
- export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1076
-
1077
1284
  /**
1078
1285
  * 获取对应元素的在数组中最后一个匹配的索引
1079
1286
  * @param x
@@ -1090,8 +1297,6 @@ export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
1090
1297
  */
1091
1298
  export declare function makeArray(arr: any, results?: any[]): any[];
1092
1299
 
1093
- export declare const Mapping: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1094
-
1095
1300
  /**
1096
1301
  * 匹配条件
1097
1302
  */
@@ -1111,8 +1316,6 @@ export declare interface Matched {
1111
1316
  */
1112
1317
  export declare function merge(first: any[], second: any[]): any[];
1113
1318
 
1114
- export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1115
-
1116
1319
  export { multiply }
1117
1320
 
1118
1321
  export { negate }
@@ -1133,7 +1336,12 @@ export { numberFormat }
1133
1336
  */
1134
1337
  export declare const objectToString: () => string;
1135
1338
 
1136
- export declare const Overlay: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1339
+ /**
1340
+ * 只执行一次函数
1341
+ * @param func
1342
+ * @returns
1343
+ */
1344
+ export declare function once(func: GenericFunction): GenericFunction;
1137
1345
 
1138
1346
  /**
1139
1347
  * padding
@@ -1145,16 +1353,14 @@ export declare interface Padding {
1145
1353
  bottom: number | null;
1146
1354
  }
1147
1355
 
1148
- export declare const Page: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1149
-
1150
1356
  /**
1151
1357
  * page layout
1152
1358
  */
1153
1359
  export declare interface PageLayout {
1154
1360
  width: number | string;
1155
- height?: number | string;
1156
- headerHeight: number | string;
1157
- footerHeight: number | string;
1361
+ height: number | string;
1362
+ headerHeight?: number | string;
1363
+ footerHeight?: number | string;
1158
1364
  headerPadding?: Padding;
1159
1365
  footerPadding?: Padding;
1160
1366
  contentPadding?: Padding;
@@ -1165,10 +1371,14 @@ export declare interface PageState {
1165
1371
  height: number;
1166
1372
  headerHeight: number;
1167
1373
  headerPadding: Padding;
1374
+ headerAllHeight?: number;
1168
1375
  footerHeight: number;
1169
1376
  footerPadding: Padding;
1377
+ footerAllHeight?: number;
1170
1378
  contentHeight: number | string | null;
1171
1379
  contentPadding: Padding;
1380
+ contentInnerHeight?: number;
1381
+ contentInnerWidth?: number;
1172
1382
  safeAreaTop: number;
1173
1383
  safeAreaBottom: number;
1174
1384
  safeAreaLeft: number;
@@ -1177,8 +1387,6 @@ export declare interface PageState {
1177
1387
  footerMounted?: boolean;
1178
1388
  }
1179
1389
 
1180
- export declare const Picker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1181
-
1182
1390
  /**
1183
1391
  * 坐标
1184
1392
  */
@@ -1187,10 +1395,6 @@ export declare interface Point {
1187
1395
  y: number;
1188
1396
  }
1189
1397
 
1190
- export declare const Popup: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1191
-
1192
- export declare const Price: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1193
-
1194
1398
  /**
1195
1399
  * 优先策略
1196
1400
  */
@@ -1208,32 +1412,15 @@ export declare enum PriorityPolicy {
1208
1412
  */
1209
1413
  export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
1210
1414
 
1211
- export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1212
-
1213
- /**
1214
- * 动画
1215
- */
1216
1415
  export declare const raf: any;
1217
1416
 
1218
- export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1219
-
1220
1417
  /**
1221
1418
  * 只读属性
1222
1419
  * @param source
1223
1420
  */
1224
1421
  export declare function readonlyProperty(source: Ref): Ref;
1225
1422
 
1226
- /**
1227
- * Rect类型
1228
- */
1229
1423
  declare interface Rect {
1230
- left: number;
1231
- top: number;
1232
- right: number;
1233
- bottom: number;
1234
- }
1235
-
1236
- declare interface Rect_2 {
1237
1424
  top: number;
1238
1425
  left: number;
1239
1426
  right: number;
@@ -1252,8 +1439,6 @@ export declare type Result = Promise<any> | any;
1252
1439
  */
1253
1440
  export declare type Results = Result[];
1254
1441
 
1255
- export declare const RowItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1256
-
1257
1442
  /**
1258
1443
  * 安全区域
1259
1444
  */
@@ -1264,15 +1449,6 @@ export declare interface SafeAreaInset {
1264
1449
  bottom: number | string;
1265
1450
  }
1266
1451
 
1267
- /**
1268
- * scope getter
1269
- */
1270
- declare interface ScopeGetter {
1271
- (proxy: ComponentPublicInstance): string | null;
1272
- }
1273
-
1274
- export declare const SelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1275
-
1276
1452
  /**
1277
1453
  * 设置公共校验检查事件
1278
1454
  * @param events
@@ -1303,27 +1479,21 @@ export declare function setGlobalValidateResetEvents(events: string[]): void;
1303
1479
  */
1304
1480
  export declare function setGlobalValidator(type: string, validator: ExecuteValidator): void;
1305
1481
 
1306
- export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1307
-
1308
- export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1309
-
1310
- export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1311
-
1312
- export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1482
+ /**
1483
+ * size
1484
+ */
1485
+ declare interface Size {
1486
+ width: number;
1487
+ height: number;
1488
+ }
1313
1489
 
1314
1490
  /**
1315
- * 节流函数
1491
+ * 节流函数(执行时间范围内的第一次)
1316
1492
  * @param func 函数
1317
- * @param time 延迟执行毫秒数
1493
+ * @param delay 延迟执行毫秒数
1318
1494
  * @returns
1319
1495
  */
1320
- export declare function throttle(func: GenericFunction, time: number): GenericFunction;
1321
-
1322
- export declare const TimeItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1323
-
1324
- export declare const TimeSelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1325
-
1326
- export declare const Toast: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1496
+ export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
1327
1497
 
1328
1498
  /**
1329
1499
  * 转换为boolean值
@@ -1369,6 +1539,24 @@ export declare const toTypeString: (value: unknown) => string;
1369
1539
  */
1370
1540
  export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
1371
1541
 
1542
+ /**
1543
+ * 尝试执行多次函数
1544
+ * @param func 执行函数
1545
+ * @param milliseconds 执行间隔
1546
+ * @param maxLimit 最大尝试次数
1547
+ * @param step 间隔增加步长
1548
+ * @param immediately 是否立刻执行
1549
+ */
1550
+ export declare function tryTimes(func: TryTimesFunction, milliseconds: number, maxLimit: number, step?: number, immediately?: boolean): void;
1551
+
1552
+ /**
1553
+ * 尝试多次函数
1554
+ * 返回true,代表执行完成,不在需要重试
1555
+ */
1556
+ export declare interface TryTimesFunction {
1557
+ (): boolean;
1558
+ }
1559
+
1372
1560
  /**
1373
1561
  * 判断类型
1374
1562
  * @param obj
@@ -1400,6 +1588,11 @@ export { unNumberFormat }
1400
1588
  * @param state
1401
1589
  * @param pageLayout
1402
1590
  * @param overrideProps
1591
+ * @param root
1592
+ * @param rootWidth
1593
+ * @param rootHeight
1594
+ * @param headerBarHeight
1595
+ * @param footerBarHeight
1403
1596
  */
1404
1597
  export declare function updatePageState(state: PageState, pageLayout: any, overrideProps?: Record<string, unknown>, root?: boolean, rootWidth?: number, rootHeight?: number, headerBarHeight?: number, footerBarHeight?: number): void;
1405
1598
 
@@ -1414,7 +1607,7 @@ export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null):
1414
1607
  * 获取当前domain
1415
1608
  * @returns
1416
1609
  */
1417
- export declare function useDomain(instance?: ComponentInternalInstance | null): Domain | null;
1610
+ export declare function useDomain(proxy?: ComponentPublicInstance | null): Domain | null;
1418
1611
 
1419
1612
  /**
1420
1613
  * use expose
@@ -1422,6 +1615,13 @@ export declare function useDomain(instance?: ComponentInternalInstance | null):
1422
1615
  */
1423
1616
  export declare function useExpose(apis: Record<string, any>, instance?: ComponentInternalInstance | null): void;
1424
1617
 
1618
+ /**
1619
+ * 获取内部可用size
1620
+ * @param elementRef
1621
+ * @returns
1622
+ */
1623
+ export declare function useInnerSize(elementRef: Element | Ref<Element>): Size;
1624
+
1425
1625
  /**
1426
1626
  * 获取page state
1427
1627
  * @param domain
@@ -1436,23 +1636,30 @@ export declare function usePageState(domain: Domain): PageState | null;
1436
1636
  */
1437
1637
  export declare const usePosition: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Point;
1438
1638
 
1439
- export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
1639
+ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
1640
+
1641
+ /**
1642
+ * 获取size
1643
+ * @param elementRef
1644
+ * @returns
1645
+ */
1646
+ export declare function useSize(elementRef: Element | Ref<Element>): Size;
1440
1647
 
1441
1648
  export declare function useTouch(): {
1442
1649
  move: EventListener;
1443
1650
  start: EventListener;
1444
1651
  reset: () => void;
1445
- startX: Ref<number>;
1446
- startY: Ref<number>;
1447
- startTime: Ref<number>;
1448
- duration: Ref<number>;
1449
- moveX: Ref<number>;
1450
- moveY: Ref<number>;
1451
- deltaX: Ref<number>;
1452
- deltaY: Ref<number>;
1453
- offsetX: Ref<number>;
1454
- offsetY: Ref<number>;
1455
- direction: Ref<Direction>;
1652
+ startX: any;
1653
+ startY: any;
1654
+ startTime: any;
1655
+ duration: any;
1656
+ moveX: any;
1657
+ moveY: any;
1658
+ deltaX: any;
1659
+ deltaY: any;
1660
+ offsetX: any;
1661
+ offsetY: any;
1662
+ direction: any;
1456
1663
  isVertical: () => boolean;
1457
1664
  isHorizontal: () => boolean;
1458
1665
  };
@@ -1461,8 +1668,10 @@ export declare function useTouch(): {
1461
1668
  * 校验条件
1462
1669
  */
1463
1670
  export declare interface ValidateCondition {
1464
- exclude?: string[];
1671
+ deep?: boolean;
1465
1672
  include?: string[];
1673
+ exclude?: string[];
1674
+ ignoreHidden?: boolean;
1466
1675
  }
1467
1676
 
1468
1677
  /**