@fox-js/foxui-pad 4.0.1-8 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,120 +1,123 @@
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 { ElAnchor as FoxAnchor } from './base';
10
+ import { ElAnchorLink as FoxAnchorLink } from './base';
11
+ import { ElAside as FoxAside } from './base';
12
+ import { ElAutocomplete as FoxAutocomplete } from './base';
13
+ import { ElAutoResizer as FoxAutoResizer } from './base';
14
+ import { ElAvatar as FoxAvatar } from './base';
15
+ import { ElBacktop as FoxBacktop } from './base';
16
+ import { ElBadge as FoxBadge } from './base';
17
+ import { ElBreadcrumb as FoxBreadcrumb } from './base';
18
+ import { ElBreadcrumbItem as FoxBreadcrumbItem } from './base';
19
+ import { ElButton as FoxButton } from './base';
20
+ import { ElButtonGroup as FoxButtonGroup } from './base';
21
+ import { ElCalendar as FoxCalendar } from './base';
22
+ import { ElCard as FoxCard } from './base';
23
+ import { ElCarousel as FoxCarousel } from './base';
24
+ import { ElCarouselItem as FoxCarouselItem } from './base';
25
+ import { ElCascader as FoxCascader } from './base';
26
+ import { ElCascaderPanel as FoxCascaderPanel } from './base';
27
+ import { ElCheckbox as FoxCheckbox } from './base';
28
+ import { ElCheckboxButton as FoxCheckboxButton } from './base';
29
+ import { ElCheckboxGroup as FoxCheckboxGroup } from './base';
30
+ import { ElCheckTag as FoxCheckTag } from './base';
31
+ import { ElCol as FoxCol } from './base';
32
+ import { ElCollapse as FoxCollapse } from './base';
33
+ import { ElCollapseItem as FoxCollapseItem } from './base';
34
+ import { ElCollapseTransition as FoxCollapseTransition } from './base';
35
+ import { ElColorPicker as FoxColorPicker } from './base';
36
+ import { FoxComponentPublicInstance } from './types';
37
+ import { ElConfigProvider as FoxConfigProvider } from './base';
38
+ import { ElContainer as FoxContainer } from './base';
39
+ import { ElCountdown as FoxCountdown } from './base';
40
+ import { ElDatePicker as FoxDatePicker } from './base';
41
+ import { ElDescriptions as FoxDescriptions } from './base';
42
+ import { ElDescriptionsItem as FoxDescriptionsItem } from './base';
43
+ import { ElDialog as FoxDialog } from './base';
44
+ import { ElDivider as FoxDivider } from './base';
45
+ import { ElDrawer as FoxDrawer } from './base';
46
+ import { ElDropdown as FoxDropdown } from './base';
47
+ import { ElDropdownItem as FoxDropdownItem } from './base';
48
+ import { ElDropdownMenu as FoxDropdownMenu } from './base';
49
+ import { ElEmpty as FoxEmpty } from './base';
50
+ import { ElFooter as FoxFooter } from './base';
51
+ import { ElForm as FoxForm } from './base';
52
+ import { ElFormItem as FoxFormItem } from './base';
53
+ import { ElHeader as FoxHeader } from './base';
54
+ import { ElIcon as FoxIcon } from './base';
55
+ import { ElImage as FoxImage } from './base';
56
+ import { ElImageViewer as FoxImageViewer } from './base';
57
+ import { ElInput as FoxInput } from './base';
58
+ import { ElInputNumber as FoxInputNumber } from './base';
59
+ import { ElLink as FoxLink } from './base';
60
+ import { ElMain as FoxMain } from './base';
61
+ import { ElMenu as FoxMenu } from './base';
62
+ import { ElMenuItem as FoxMenuItem } from './base';
63
+ import { ElMenuItemGroup as FoxMenuItemGroup } from './base';
64
+ import { ElOption as FoxOption } from './base';
65
+ import { ElOptionGroup as FoxOptionGroup } from './base';
66
+ import { ElPageHeader as FoxPageHeader } from './base';
67
+ import { ElPagination as FoxPagination } from './base';
68
+ import { ElPopconfirm as FoxPopconfirm } from './base';
69
+ import { ElPopover as FoxPopover } from './base';
70
+ import { ElPopper as FoxPopper } from './base';
71
+ import { ElProgress as FoxProgress } from './base';
72
+ import { ElRadio as FoxRadio } from './base';
73
+ import { ElRadioButton as FoxRadioButton } from './base';
74
+ import { ElRadioGroup as FoxRadioGroup } from './base';
75
+ import { ElRate as FoxRate } from './base';
76
+ import { ElResult as FoxResult } from './base';
77
+ import { ElRow as FoxRow } from './base';
78
+ import { ElScrollbar as FoxScrollbar } from './base';
79
+ import { ElSegmented as FoxSegmented } from './base';
80
+ import { ElSelect as FoxSelect } from './base';
81
+ import { ElSelectV2 as FoxSelectV2 } from './base';
82
+ import { ElSkeleton as FoxSkeleton } from './base';
83
+ import { ElSkeletonItem as FoxSkeletonItem } from './base';
84
+ import { ElSlider as FoxSlider } from './base';
85
+ import { ElSpace as FoxSpace } from './base';
86
+ import { ElStatistic as FoxStatistic } from './base';
87
+ import { ElStep as FoxStep } from './base';
88
+ import { ElSteps as FoxSteps } from './base';
89
+ import { ElSubMenu as FoxSubMenu } from './base';
90
+ import { ElSwitch as FoxSwitch } from './base';
91
+ import { ElTable as FoxTable } from './base';
92
+ import { ElTableColumn as FoxTableColumn } from './base';
93
+ import { ElTableV2 as FoxTableV2 } from './base';
94
+ import { ElTabPane as FoxTabPane } from './base';
95
+ import { ElTabs as FoxTabs } from './base';
96
+ import { ElTag as FoxTag } from './base';
97
+ import { ElTimeline as FoxTimeline } from './base';
98
+ import { ElTimelineItem as FoxTimelineItem } from './base';
99
+ import { ElTimePicker as FoxTimePicker } from './base';
100
+ import { ElTimeSelect as FoxTimeSelect } from './base';
101
+ import { ElTooltip as FoxTooltip } from './base';
102
+ import { ElTransfer as FoxTransfer } from './base';
103
+ import { ElTree as FoxTree } from './base';
104
+ import { ElTreeSelect as FoxTreeSelect } from './base';
105
+ import { ElTreeV2 as FoxTreeV2 } from './base';
106
+ import { FoxUI } from './interface';
107
+ import { FoxUIOptions } from './interface';
108
+ import { ElUpload as FoxUpload } from './base';
109
+ import { ElWatermark as FoxWatermark } from './base';
107
110
  import { multiply } from '@fox-js/big-decimal';
108
111
  import { negate } from '@fox-js/big-decimal';
109
112
  import { numberFormat } from '@fox-js/big-decimal';
110
113
  import { Ref } from 'vue';
111
114
  import { Rule } from '@fox-js/validator';
115
+ import { ScopeGetter } from './api';
112
116
  import { unNumberFormat } from '@fox-js/big-decimal';
113
117
  import { UnwrapNestedRefs } from 'vue';
114
118
  import { UnwrapRef } from 'vue';
115
119
  import { ValidateMessages } from '@fox-js/validator';
116
120
  import { ValidateResult } from '@fox-js/validator';
117
- import type { VNodeProps } from 'vue';
118
121
 
119
122
  /**
120
123
  * 是否接受value过滤器
@@ -123,8 +126,6 @@ export declare interface AcceptFilter {
123
126
  (value: any): boolean;
124
127
  }
125
128
 
126
- export declare const AutocompleteItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
127
-
128
129
  /**
129
130
  * 广播类
130
131
  */
@@ -202,15 +203,7 @@ export declare interface BroadcastCallback {
202
203
 
203
204
  export declare const BroadcastKey: unique symbol;
204
205
 
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>, {}>;
206
+ export declare function cancelRaf(id: number): void;
214
207
 
215
208
  /**
216
209
  * 清理非数字
@@ -229,8 +222,6 @@ export declare function clone(target: any, source: any, plain?: boolean): any;
229
222
 
230
223
  export { compareTo }
231
224
 
232
- export declare const Content: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
233
-
234
225
  /**
235
226
  * 创建broadcast
236
227
  *
@@ -256,17 +247,123 @@ export declare function createValidateSchema(proxy: FoxComponentPublicInstance,
256
247
  */
257
248
  export declare const DataItemsKey: unique symbol;
258
249
 
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>, {}>;
250
+ export declare const DateUtils: {
251
+ /**
252
+ * 格式化
253
+ * @param date
254
+ * @param template
255
+ * @returns
256
+ */
257
+ format(date: Date, template: string): string;
258
+ /**
259
+ * 解析
260
+ * @param str
261
+ * @param template
262
+ */
263
+ parser(str: string, template: string): Date;
264
+ /**
265
+ * 是否为闫年
266
+ * @return {Boolse} true|false
267
+ */
268
+ isLeapYear(y: number): boolean;
269
+ /**
270
+ * 返回星期数
271
+ * @return {String}
272
+ */
273
+ getWhatDay(year: number, month: number, day: number): string;
274
+ /**
275
+ * 返回星期数
276
+ * @return {Number}
277
+ */
278
+ getMonthPreDay(year: number, month: number): number;
279
+ /**
280
+ * 返回月份天数
281
+ * @return {Number}
282
+ */
283
+ getMonthDays(year: string, month: string): number;
284
+ /**
285
+ * 补齐数字位数
286
+ * @return {string}
287
+ */
288
+ getNumTwoBit(n: number): string;
289
+ /**
290
+ * 日期对象转成字符串
291
+ * @return {string}
292
+ */
293
+ date2Str: (date: Date, split?: string) => string;
294
+ /**
295
+ * 返回日期格式字符串
296
+ * @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
297
+ * @param {Date} 起点日期
298
+ * @return {string} '2014-12-31'
299
+ */
300
+ getDay(i: number, startDate?: Date): string;
301
+ /**
302
+ * 时间比较
303
+ * @return
304
+ */
305
+ compareDate(date1: string | Date, date2: string | Date): boolean;
306
+ /**
307
+ * 时间是否相等
308
+ * @return
309
+ */
310
+ isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
311
+ /**
312
+ * get month week
313
+ * @param year
314
+ * @param month
315
+ * @param date
316
+ * @param firstDayOfWeek
317
+ * @returns
318
+ */
319
+ getMonthWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
320
+ /**
321
+ * get year week
322
+ * @param year
323
+ * @param month
324
+ * @param date
325
+ * @param firstDayOfWeek
326
+ * @returns
327
+ */
328
+ getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
329
+ /**
330
+ * get week date
331
+ */
332
+ getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
333
+ /**
334
+ * format result date
335
+ */
336
+ formatResultDate: (date: string) => string[];
337
+ /**
338
+ * 判断日期是否在范围内
339
+ * @param date
340
+ * @param startDate
341
+ * @param span 允许负数
342
+ */
343
+ inScope4Day(date: Date, startDate: Date, span: number): boolean;
344
+ /**
345
+ * 判断日期是否在范围内
346
+ * @param date
347
+ * @param startDate
348
+ * @param span
349
+ */
350
+ inScope4Month(date: Date, startDate: Date, span: number): boolean;
351
+ };
262
352
 
263
353
  /**
264
- * 防抖函数
354
+ * 防抖函数(执行时间范围内的最后一次)
265
355
  * @param func 函数
266
- * @param time 防止抖动毫秒数
356
+ * @param delay 防止抖动毫秒数
267
357
  * @returns
268
358
  */
269
- export declare function debounce(func: GenericFunction, time: number): GenericFunction;
359
+ export declare function debounce(func: GenericFunction, delay: number): GenericFunction;
360
+
361
+ /**
362
+ * 防抖Ref
363
+ * @param value
364
+ * @param delay
365
+ */
366
+ export declare function debounceRef<T>(value: T, delay: number): Ref<T>;
270
367
 
271
368
  /**
272
369
  * 获取小数长度
@@ -277,6 +374,230 @@ export declare function decimalLength(value: string | number): number;
277
374
  declare const _default: FoxUIVue;
278
375
  export default _default;
279
376
 
377
+ declare const _default_10: any;
378
+ export { _default_10 as FoxHintText }
379
+ export { _default_10 as HintText }
380
+
381
+ declare const _default_11: any;
382
+ export { _default_11 as FoxInputItem }
383
+ export { _default_11 as InputItem }
384
+
385
+ declare const _default_12: any;
386
+ export { _default_12 as FoxSelectItem }
387
+ export { _default_12 as SelectItem }
388
+
389
+ declare const _default_13: any;
390
+ export { _default_13 as DateItem }
391
+ export { _default_13 as FoxDateItem }
392
+
393
+ declare const _default_14: any;
394
+ export { _default_14 as CalendarItem }
395
+ export { _default_14 as FoxCalendarItem }
396
+
397
+ declare const _default_15: any;
398
+ export { _default_15 as FoxTimeItem }
399
+ export { _default_15 as TimeItem }
400
+
401
+ declare const _default_16: any;
402
+ export { _default_16 as FoxTimeSelectItem }
403
+ export { _default_16 as TimeSelectItem }
404
+
405
+ declare const _default_17: any;
406
+ export { _default_17 as FoxMoneyItem }
407
+ export { _default_17 as MoneyItem }
408
+
409
+ declare const _default_18: any;
410
+ export { _default_18 as FoxInputNumberItem }
411
+ export { _default_18 as InputNumberItem }
412
+
413
+ declare const _default_19: any;
414
+ export { _default_19 as CascaderItem }
415
+ export { _default_19 as FoxCascaderItem }
416
+
417
+ declare const _default_2: any;
418
+ export { _default_2 as FoxPage }
419
+ export { _default_2 as Page }
420
+
421
+ declare const _default_20: any;
422
+ export { _default_20 as AutocompleteItem }
423
+ export { _default_20 as FoxAutocompleteItem }
424
+
425
+ declare const _default_21: any;
426
+ export { _default_21 as FoxTableMappingColumn }
427
+ export { _default_21 as TableMappingColumn }
428
+
429
+ declare const _default_22: any;
430
+ export { _default_22 as FoxTableRadioColumn }
431
+ export { _default_22 as TableRadioColumn }
432
+
433
+ declare const _default_23: any;
434
+ export { _default_23 as FoxTableSetting }
435
+ export { _default_23 as TableSetting }
436
+
437
+ declare const _default_24: any;
438
+ export { _default_24 as FoxTableItem }
439
+ export { _default_24 as TableItem }
440
+
441
+ declare const _default_25: any;
442
+ export { _default_25 as FoxRadioItem }
443
+ export { _default_25 as RadioItem }
444
+
445
+ declare const _default_26: any;
446
+ export { _default_26 as CheckboxItem }
447
+ export { _default_26 as FoxCheckboxItem }
448
+
449
+ declare const _default_27: any;
450
+ export { _default_27 as FoxRateItem }
451
+ export { _default_27 as RateItem }
452
+
453
+ declare const _default_28: any;
454
+ export { _default_28 as FoxSwitchItem }
455
+ export { _default_28 as SwitchItem }
456
+
457
+ declare const _default_29: any;
458
+ export { _default_29 as FoxTreeSelectItem }
459
+ export { _default_29 as TreeSelectItem }
460
+
461
+ declare const _default_3: any;
462
+ export { _default_3 as FoxHeaderBar }
463
+ export { _default_3 as HeaderBar }
464
+
465
+ declare const _default_30: any;
466
+ export { _default_30 as FoxGroupSetting }
467
+ export { _default_30 as GroupSetting }
468
+
469
+ declare const _default_31: any;
470
+ export { _default_31 as ActionsheetPane }
471
+ export { _default_31 as FoxActionsheetPane }
472
+
473
+ declare const _default_32: any;
474
+ export { _default_32 as ActionsheetItem }
475
+ export { _default_32 as FoxActionsheetItem }
476
+
477
+ declare const _default_33: any;
478
+ export { _default_33 as FoxPickerItem }
479
+ export { _default_33 as PickerItem }
480
+
481
+ declare const _default_34: any;
482
+ export { _default_34 as FoxTabsBar }
483
+ export { _default_34 as TabsBar }
484
+
485
+ declare const _default_35: any;
486
+ export { _default_35 as FoxTabsContainer }
487
+ export { _default_35 as TabsContainer }
488
+
489
+ declare const _default_36: any;
490
+ export { _default_36 as FoxTabsPane }
491
+ export { _default_36 as TabsPane }
492
+
493
+ declare const _default_37: any;
494
+ export { _default_37 as FoxStepsBar }
495
+ export { _default_37 as StepsBar }
496
+
497
+ declare const _default_38: any;
498
+ export { _default_38 as Foxpicker }
499
+ export { _default_38 as picker }
500
+
501
+ declare const _default_39: any;
502
+ export { _default_39 as Foxdatepicker }
503
+ export { _default_39 as datepicker }
504
+
505
+ declare const _default_4: any;
506
+ export { _default_4 as FooterBar }
507
+ export { _default_4 as FoxFooterBar }
508
+
509
+ declare const _default_40: any;
510
+ export { _default_40 as Foxcalendarpicker }
511
+ export { _default_40 as calendarpicker }
512
+
513
+ declare const _default_41: any;
514
+ export { _default_41 as Foxcascaderpicker }
515
+ export { _default_41 as cascaderpicker }
516
+
517
+ declare const _default_42: any;
518
+ export { _default_42 as DialogItem }
519
+ export { _default_42 as FoxDialogItem }
520
+
521
+ declare const _default_43: any;
522
+ export { _default_43 as FoxOverLay }
523
+ export { _default_43 as OverLay }
524
+
525
+ declare const _default_44: any;
526
+ export { _default_44 as FoxPopup }
527
+ export { _default_44 as Popup }
528
+
529
+ declare const _default_45: any;
530
+ export { _default_45 as FoxToast }
531
+ export { _default_45 as Toast }
532
+
533
+ declare const _default_46: any;
534
+ export { _default_46 as FoxSearchBar }
535
+ export { _default_46 as SearchBar }
536
+
537
+ declare const _default_47: any;
538
+ export { _default_47 as FoxInfiniteLoading }
539
+ export { _default_47 as InfiniteLoading }
540
+
541
+ declare const _default_48: any;
542
+ export { _default_48 as FoxPullRefresh }
543
+ export { _default_48 as PullRefresh }
544
+
545
+ declare const _default_49: any;
546
+ export { _default_49 as FoxMapping }
547
+ export { _default_49 as Mapping }
548
+
549
+ declare const _default_5: any;
550
+ export { _default_5 as Content }
551
+ export { _default_5 as FoxContent }
552
+
553
+ declare const _default_50: any;
554
+ export { _default_50 as FoxPrice }
555
+ export { _default_50 as Price }
556
+
557
+ declare const _default_51: any;
558
+ export { _default_51 as FoxIndicator }
559
+ export { _default_51 as Indicator }
560
+
561
+ declare const _default_52: any;
562
+ export { _default_52 as FoxText }
563
+ export { _default_52 as Text }
564
+
565
+ declare const _default_53: any;
566
+ export { _default_53 as FoxMoreButton }
567
+ export { _default_53 as MoreButton }
568
+
569
+ declare const _default_54: any;
570
+ export { _default_54 as FoxTour }
571
+ export { _default_54 as Tour }
572
+
573
+ declare const _default_55: any;
574
+ export { _default_55 as FloatingWindow }
575
+ export { _default_55 as FoxFloatingWindow }
576
+
577
+ declare const _default_56: any;
578
+ export { _default_56 as DomainProvider }
579
+ export { _default_56 as FoxDomainProvider }
580
+
581
+ declare const _default_57: any;
582
+ export { _default_57 as FoxRollingProvider }
583
+ export { _default_57 as RollingProvider }
584
+
585
+ declare const _default_6: any;
586
+ export { _default_6 as FoxGroup }
587
+ export { _default_6 as Group }
588
+
589
+ declare const _default_7: any;
590
+ export { _default_7 as FoxItem }
591
+ export { _default_7 as Item }
592
+
593
+ declare const _default_8: any;
594
+ export { _default_8 as FoxSlotItem }
595
+ export { _default_8 as SlotItem }
596
+
597
+ declare const _default_9: any;
598
+ export { _default_9 as FoxRowItem }
599
+ export { _default_9 as RowItem }
600
+
280
601
  /**
281
602
  * anyNode
282
603
  * @param name
@@ -285,6 +606,15 @@ export default _default;
285
606
  */
286
607
  export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback>, proxy?: FoxComponentPublicInstance): Broadcast | null;
287
608
 
609
+ /**
610
+ * 安装config domain
611
+ * @param name 名称
612
+ * @param props 属性
613
+ * @param ignores 忽略的属性
614
+ * @returns
615
+ */
616
+ export declare function defineConfigDomain(name: string | null, props: Record<string, any>, ignores?: any[]): Domain;
617
+
288
618
  /**
289
619
  * 定义domain data item
290
620
  * @returns
@@ -318,6 +648,16 @@ export declare function defineItem(descriptor: Descriptor, name?: string, expose
318
648
  */
319
649
  export declare function definePageState(domain: Domain, overrideProps?: Record<string, unknown>): UnwrapNestedRefs<PageState> | null;
320
650
 
651
+ /**
652
+ * 定义simple item
653
+ * @returns
654
+ */
655
+ export declare function defineSimpleItem(): {
656
+ emitEvent: (type: string, ...args: any[]) => void;
657
+ onEvent: (type: string, listener: EventListener_2) => void;
658
+ offEvent: (type: string, listener: EventListener_2) => void;
659
+ };
660
+
321
661
  /**
322
662
  * 删除公共校验器
323
663
  * @param type
@@ -333,14 +673,14 @@ export declare interface Descriptor {
333
673
  valueName?: string;
334
674
  valueType?: ValueType;
335
675
  validate?: boolean;
676
+ readonly?: boolean;
677
+ disabled?: boolean;
336
678
  pureDataValidate?: boolean;
337
679
  validateHandler?: ValidateHandler;
338
680
  validateCheckEvents?: string[];
339
681
  validateResetEvents?: string[];
340
682
  }
341
683
 
342
- export declare const DialogItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
343
-
344
684
  declare type Direction = '' | 'vertical' | 'horizontal';
345
685
 
346
686
  /**
@@ -482,20 +822,23 @@ export declare function excludeProps(src: Record<string, any>, ...excludeTemplat
482
822
  */
483
823
  export declare function extend(...args: any[]): any;
484
824
 
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
-
825
+ /**
826
+ * float data
827
+ * @param format
828
+ * @param dataOp
829
+ * @param mapOps
830
+ * @returns
831
+ */
491
832
  export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
492
833
 
493
- export declare const FooterBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
494
-
495
834
  export { FoxAffix }
496
835
 
497
836
  export { FoxAlert }
498
837
 
838
+ export { FoxAnchor }
839
+
840
+ export { FoxAnchorLink }
841
+
499
842
  export { FoxAside }
500
843
 
501
844
  export { FoxAutocomplete }
@@ -546,12 +889,12 @@ export { FoxCollapseTransition }
546
889
 
547
890
  export { FoxColorPicker }
548
891
 
549
- declare type FoxComponentPublicInstance = any;
550
-
551
892
  export { FoxConfigProvider }
552
893
 
553
894
  export { FoxContainer }
554
895
 
896
+ export { FoxCountdown }
897
+
555
898
  export { FoxDatePicker }
556
899
 
557
900
  export { FoxDescriptions }
@@ -630,6 +973,8 @@ export { FoxRow }
630
973
 
631
974
  export { FoxScrollbar }
632
975
 
976
+ export { FoxSegmented }
977
+
633
978
  export { FoxSelect }
634
979
 
635
980
  export { FoxSelectV2 }
@@ -642,6 +987,8 @@ export { FoxSlider }
642
987
 
643
988
  export { FoxSpace }
644
989
 
990
+ export { FoxStatistic }
991
+
645
992
  export { FoxStep }
646
993
 
647
994
  export { FoxSteps }
@@ -680,79 +1027,6 @@ export { FoxTreeSelect }
680
1027
 
681
1028
  export { FoxTreeV2 }
682
1029
 
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
- install?: boolean;
745
- headerBarHeight?: number;
746
- footerBarHeight?: number;
747
- safeAreaInset?: SafeAreaInset;
748
- pageLayout?: PageLayout;
749
- headerPadding?: Rect;
750
- contentPadding?: Rect;
751
- groupLayout?: GroupLayout;
752
- labelWidth?: number | string;
753
- [propName: string]: any;
754
- }
755
-
756
1030
  /**
757
1031
  * Fox UI vue实例
758
1032
  */
@@ -827,6 +1101,8 @@ declare class FoxUIVue implements FoxUI {
827
1101
 
828
1102
  export { FoxUpload }
829
1103
 
1104
+ export { FoxWatermark }
1105
+
830
1106
  /**
831
1107
  * 通用函数接口
832
1108
  */
@@ -882,27 +1158,11 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
882
1158
  */
883
1159
  export declare function getRootDomain(): Domain;
884
1160
 
885
- export declare const Group: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
886
-
887
- /**
888
- * Layout信息接口
889
- */
890
- declare interface GroupLayout {
891
- type: string;
892
- width: number;
893
- column: number;
894
- gutter: number;
895
- }
896
-
897
1161
  /**
898
1162
  * 是否支持symbol
899
1163
  */
900
1164
  export declare const hasSymbol: boolean;
901
1165
 
902
- export declare const HeaderBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
903
-
904
- export declare const HintText: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
905
-
906
1166
  /**
907
1167
  * 根据包含模版,抽取属性
908
1168
  * @param src
@@ -919,12 +1179,6 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
919
1179
  */
920
1180
  export declare function indexOf(x: unknown, arr: unknown[]): number;
921
1181
 
922
- export declare const Indicator: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
923
-
924
- export declare const InputItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
925
-
926
- export declare const InputNumberItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
927
-
928
1182
  /**
929
1183
  * 安装函数
930
1184
  */
@@ -932,11 +1186,17 @@ declare interface Installer {
932
1186
  (app: App, options?: any): void;
933
1187
  }
934
1188
 
1189
+ /**
1190
+ * 安装校验规则
1191
+ * @param proxy
1192
+ */
1193
+ export declare function installRules(proxy: FoxComponentPublicInstance, validateScheme: ValidateSchema, name: string): void;
1194
+
935
1195
  /**
936
1196
  * 获取整数长度
937
1197
  * @param value
938
1198
  */
939
- export declare function integerLength(value: string | number): number;
1199
+ export declare function integerLength(v: string | number): number;
940
1200
 
941
1201
  /**
942
1202
  * 是否数组
@@ -967,7 +1227,7 @@ export declare const isDate: (val: unknown) => val is Date;
967
1227
  * @param v
968
1228
  * @returns
969
1229
  */
970
- export declare const isEmptyString: (v: unknown) => boolean;
1230
+ export declare const isEmptyString: (v: unknown) => v is "";
971
1231
 
972
1232
  /**
973
1233
  * 判断两个对象是否一致
@@ -991,6 +1251,12 @@ export declare function isESModule(obj: any): obj is Object;
991
1251
  */
992
1252
  export declare const isFunction: (val: unknown) => val is Function;
993
1253
 
1254
+ /**
1255
+ * 是否是隐藏element
1256
+ * @param el
1257
+ */
1258
+ export declare function isHidden(el: any): boolean;
1259
+
994
1260
  /**
995
1261
  * 是否为内嵌页面
996
1262
  * 内嵌页面为内嵌在容器内,如dialog,不需要设置content的高度
@@ -1007,12 +1273,17 @@ export declare function isInnerPage(domain: Domain, proxy: any): boolean;
1007
1273
  */
1008
1274
  export declare const isMap: (val: unknown) => val is Map<any, any>;
1009
1275
 
1276
+ /**
1277
+ * 是否null/undefined对象
1278
+ */
1279
+ export declare function isNil(v: unknown): v is null | undefined;
1280
+
1010
1281
  /**
1011
1282
  * 是否为数字字符串
1012
1283
  * @param value
1013
1284
  * @returns
1014
1285
  */
1015
- export declare function isNumberString(value: string): boolean;
1286
+ export declare function isNumberString(v: string): v is string;
1016
1287
 
1017
1288
  /**
1018
1289
  * 是否为object
@@ -1067,14 +1338,18 @@ export declare function isSubPage(domain: Domain): boolean;
1067
1338
  */
1068
1339
  export declare const isSymbol: (val: unknown) => val is symbol;
1069
1340
 
1341
+ /**
1342
+ * 是否为支持触摸
1343
+ * @returns
1344
+ */
1345
+ export declare function isTouch(): boolean;
1346
+
1070
1347
  /**
1071
1348
  * 是否是window对象
1072
1349
  * @param obj
1073
1350
  */
1074
1351
  export declare function isWindow(obj: any): boolean;
1075
1352
 
1076
- export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1077
-
1078
1353
  /**
1079
1354
  * 获取对应元素的在数组中最后一个匹配的索引
1080
1355
  * @param x
@@ -1091,8 +1366,6 @@ export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
1091
1366
  */
1092
1367
  export declare function makeArray(arr: any, results?: any[]): any[];
1093
1368
 
1094
- export declare const Mapping: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1095
-
1096
1369
  /**
1097
1370
  * 匹配条件
1098
1371
  */
@@ -1112,8 +1385,6 @@ export declare interface Matched {
1112
1385
  */
1113
1386
  export declare function merge(first: any[], second: any[]): any[];
1114
1387
 
1115
- export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1116
-
1117
1388
  export { multiply }
1118
1389
 
1119
1390
  export { negate }
@@ -1134,7 +1405,18 @@ export { numberFormat }
1134
1405
  */
1135
1406
  export declare const objectToString: () => string;
1136
1407
 
1137
- export declare const Overlay: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1408
+ /**
1409
+ * 只执行一次函数
1410
+ * @param func
1411
+ * @returns
1412
+ */
1413
+ export declare function once(func: GenericFunction): GenericFunction;
1414
+
1415
+ /**
1416
+ * 覆盖更新公共的校验处理器
1417
+ * @param validateHandler
1418
+ */
1419
+ export declare function overrideGlobalValidateHandler(validateHandler: Partial<ValidateHandler>): void;
1138
1420
 
1139
1421
  /**
1140
1422
  * padding
@@ -1146,16 +1428,14 @@ export declare interface Padding {
1146
1428
  bottom: number | null;
1147
1429
  }
1148
1430
 
1149
- export declare const Page: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1150
-
1151
1431
  /**
1152
1432
  * page layout
1153
1433
  */
1154
1434
  export declare interface PageLayout {
1155
1435
  width: number | string;
1156
- height?: number | string;
1157
- headerHeight: number | string;
1158
- footerHeight: number | string;
1436
+ height: number | string;
1437
+ headerHeight?: number | string;
1438
+ footerHeight?: number | string;
1159
1439
  headerPadding?: Padding;
1160
1440
  footerPadding?: Padding;
1161
1441
  contentPadding?: Padding;
@@ -1166,10 +1446,14 @@ export declare interface PageState {
1166
1446
  height: number;
1167
1447
  headerHeight: number;
1168
1448
  headerPadding: Padding;
1449
+ headerAllHeight?: number;
1169
1450
  footerHeight: number;
1170
1451
  footerPadding: Padding;
1452
+ footerAllHeight?: number;
1171
1453
  contentHeight: number | string | null;
1172
1454
  contentPadding: Padding;
1455
+ contentInnerHeight?: number;
1456
+ contentInnerWidth?: number;
1173
1457
  safeAreaTop: number;
1174
1458
  safeAreaBottom: number;
1175
1459
  safeAreaLeft: number;
@@ -1178,8 +1462,6 @@ export declare interface PageState {
1178
1462
  footerMounted?: boolean;
1179
1463
  }
1180
1464
 
1181
- export declare const Picker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1182
-
1183
1465
  /**
1184
1466
  * 坐标
1185
1467
  */
@@ -1188,10 +1470,6 @@ export declare interface Point {
1188
1470
  y: number;
1189
1471
  }
1190
1472
 
1191
- export declare const Popup: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1192
-
1193
- export declare const Price: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1194
-
1195
1473
  /**
1196
1474
  * 优先策略
1197
1475
  */
@@ -1209,32 +1487,15 @@ export declare enum PriorityPolicy {
1209
1487
  */
1210
1488
  export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
1211
1489
 
1212
- export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1213
-
1214
- /**
1215
- * 动画
1216
- */
1217
1490
  export declare const raf: any;
1218
1491
 
1219
- export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1220
-
1221
1492
  /**
1222
1493
  * 只读属性
1223
1494
  * @param source
1224
1495
  */
1225
1496
  export declare function readonlyProperty(source: Ref): Ref;
1226
1497
 
1227
- /**
1228
- * Rect类型
1229
- */
1230
1498
  declare interface Rect {
1231
- left: number;
1232
- top: number;
1233
- right: number;
1234
- bottom: number;
1235
- }
1236
-
1237
- declare interface Rect_2 {
1238
1499
  top: number;
1239
1500
  left: number;
1240
1501
  right: number;
@@ -1253,8 +1514,6 @@ export declare type Result = Promise<any> | any;
1253
1514
  */
1254
1515
  export declare type Results = Result[];
1255
1516
 
1256
- export declare const RowItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1257
-
1258
1517
  /**
1259
1518
  * 安全区域
1260
1519
  */
@@ -1265,15 +1524,6 @@ export declare interface SafeAreaInset {
1265
1524
  bottom: number | string;
1266
1525
  }
1267
1526
 
1268
- /**
1269
- * scope getter
1270
- */
1271
- declare interface ScopeGetter {
1272
- (proxy: ComponentPublicInstance): string | null;
1273
- }
1274
-
1275
- export declare const SelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1276
-
1277
1527
  /**
1278
1528
  * 设置公共校验检查事件
1279
1529
  * @param events
@@ -1304,27 +1554,21 @@ export declare function setGlobalValidateResetEvents(events: string[]): void;
1304
1554
  */
1305
1555
  export declare function setGlobalValidator(type: string, validator: ExecuteValidator): void;
1306
1556
 
1307
- export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1308
-
1309
- export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1310
-
1311
- export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1312
-
1313
- export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1557
+ /**
1558
+ * size
1559
+ */
1560
+ declare interface Size {
1561
+ width: number;
1562
+ height: number;
1563
+ }
1314
1564
 
1315
1565
  /**
1316
- * 节流函数
1566
+ * 节流函数(执行时间范围内的第一次)
1317
1567
  * @param func 函数
1318
- * @param time 延迟执行毫秒数
1568
+ * @param delay 延迟执行毫秒数
1319
1569
  * @returns
1320
1570
  */
1321
- export declare function throttle(func: GenericFunction, time: number): GenericFunction;
1322
-
1323
- export declare const TimeItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1324
-
1325
- export declare const TimeSelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1326
-
1327
- export declare const Toast: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1571
+ export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
1328
1572
 
1329
1573
  /**
1330
1574
  * 转换为boolean值
@@ -1365,10 +1609,35 @@ export declare const toTypeString: (value: unknown) => string;
1365
1609
  /**
1366
1610
  * to model value
1367
1611
  * @param props
1612
+ * @param name
1368
1613
  * @param format
1614
+ * @param emitEvent
1369
1615
  * @returns
1370
1616
  */
1371
- export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
1617
+ export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any> | null, emitEvent?: {
1618
+ (type: string, ...args: any[]): void;
1619
+ }): Ref;
1620
+
1621
+ /**
1622
+ * 尝试执行多次函数
1623
+ * @param func 执行函数
1624
+ * @param milliseconds 执行间隔
1625
+ * @param maxLimit 最大尝试次数
1626
+ * @param step 间隔增加步长
1627
+ * @param immediately 是否立刻执行
1628
+ * @param callback 执行成功后的回调函数
1629
+ */
1630
+ export declare function tryTimes(func: TryTimesFunction, milliseconds: number, maxLimit: number, step?: number, immediately?: boolean, callback?: {
1631
+ (ret: boolean): void;
1632
+ }): void;
1633
+
1634
+ /**
1635
+ * 尝试多次函数
1636
+ * 返回true,代表执行完成,不在需要重试
1637
+ */
1638
+ export declare interface TryTimesFunction {
1639
+ (): boolean;
1640
+ }
1372
1641
 
1373
1642
  /**
1374
1643
  * 判断类型
@@ -1401,6 +1670,11 @@ export { unNumberFormat }
1401
1670
  * @param state
1402
1671
  * @param pageLayout
1403
1672
  * @param overrideProps
1673
+ * @param root
1674
+ * @param rootWidth
1675
+ * @param rootHeight
1676
+ * @param headerBarHeight
1677
+ * @param footerBarHeight
1404
1678
  */
1405
1679
  export declare function updatePageState(state: PageState, pageLayout: any, overrideProps?: Record<string, unknown>, root?: boolean, rootWidth?: number, rootHeight?: number, headerBarHeight?: number, footerBarHeight?: number): void;
1406
1680
 
@@ -1415,7 +1689,7 @@ export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null):
1415
1689
  * 获取当前domain
1416
1690
  * @returns
1417
1691
  */
1418
- export declare function useDomain(instance?: ComponentInternalInstance | null): Domain | null;
1692
+ export declare function useDomain(proxy?: ComponentPublicInstance | null): Domain | null;
1419
1693
 
1420
1694
  /**
1421
1695
  * use expose
@@ -1423,6 +1697,13 @@ export declare function useDomain(instance?: ComponentInternalInstance | null):
1423
1697
  */
1424
1698
  export declare function useExpose(apis: Record<string, any>, instance?: ComponentInternalInstance | null): void;
1425
1699
 
1700
+ /**
1701
+ * 获取内部可用size
1702
+ * @param elementRef
1703
+ * @returns
1704
+ */
1705
+ export declare function useInnerSize(elementRef: Element | Ref<Element>): Size;
1706
+
1426
1707
  /**
1427
1708
  * 获取page state
1428
1709
  * @param domain
@@ -1437,23 +1718,59 @@ export declare function usePageState(domain: Domain): PageState | null;
1437
1718
  */
1438
1719
  export declare const usePosition: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Point;
1439
1720
 
1440
- export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
1721
+ /**
1722
+ * 获取非响应式touch对象
1723
+ * @returns
1724
+ */
1725
+ export declare function useRawTouch(): {
1726
+ move: EventListener;
1727
+ start: EventListener;
1728
+ reset: () => void;
1729
+ isVertical: () => boolean;
1730
+ isHorizontal: () => boolean;
1731
+ state: {
1732
+ startX: number;
1733
+ startY: number;
1734
+ startTime: number;
1735
+ duration: number;
1736
+ moveX: number;
1737
+ moveY: number;
1738
+ deltaX: number;
1739
+ deltaY: number;
1740
+ offsetX: number;
1741
+ offsetY: number;
1742
+ direction: Direction;
1743
+ };
1744
+ };
1745
+
1746
+ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
1747
+
1748
+ /**
1749
+ * 获取size
1750
+ * @param elementRef
1751
+ * @returns
1752
+ */
1753
+ export declare function useSize(elementRef: Element | Ref<Element>): Size;
1441
1754
 
1755
+ /**
1756
+ * 获取响应式touch对象
1757
+ * @returns
1758
+ */
1442
1759
  export declare function useTouch(): {
1443
1760
  move: EventListener;
1444
1761
  start: EventListener;
1445
1762
  reset: () => void;
1446
- startX: Ref<number>;
1447
- startY: Ref<number>;
1448
- startTime: Ref<number>;
1449
- duration: Ref<number>;
1450
- moveX: Ref<number>;
1451
- moveY: Ref<number>;
1452
- deltaX: Ref<number>;
1453
- deltaY: Ref<number>;
1454
- offsetX: Ref<number>;
1455
- offsetY: Ref<number>;
1456
- direction: Ref<Direction>;
1763
+ startX: any;
1764
+ startY: any;
1765
+ startTime: any;
1766
+ duration: any;
1767
+ moveX: any;
1768
+ moveY: any;
1769
+ deltaX: any;
1770
+ deltaY: any;
1771
+ offsetX: any;
1772
+ offsetY: any;
1773
+ direction: any;
1457
1774
  isVertical: () => boolean;
1458
1775
  isHorizontal: () => boolean;
1459
1776
  };
@@ -1462,8 +1779,12 @@ export declare function useTouch(): {
1462
1779
  * 校验条件
1463
1780
  */
1464
1781
  export declare interface ValidateCondition {
1465
- exclude?: string[];
1782
+ deep?: boolean;
1466
1783
  include?: string[];
1784
+ exclude?: string[];
1785
+ ignoreHidden?: boolean;
1786
+ ignoreDisabled?: boolean;
1787
+ ignoreReadonly?: boolean;
1467
1788
  }
1468
1789
 
1469
1790
  /**