@fox-js/foxui-pc 4.0.1-7 → 4.0.1-71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,137 +1,117 @@
1
- import type { AllowedComponentProps } from 'vue';
2
1
  import { App } from 'vue';
3
- import { clone } from '@fox-js/fox';
4
2
  import { compareTo } from '@fox-js/big-decimal';
5
- import type { ComponentCustomProps } from 'vue';
6
3
  import { ComponentInternalInstance } from 'vue';
7
- import type { ComponentOptionsMixin } from 'vue';
8
4
  import { ComponentPublicInstance } from 'vue';
9
- import type { ComputedOptions } from 'vue';
10
- import type { DefineComponent } from 'vue';
11
5
  import { divide } from '@fox-js/big-decimal';
12
6
  import { ExecuteValidator } from '@fox-js/validator';
13
- import { extend } from '@fox-js/fox';
14
- import { ElAffix as FoxAffix } from 'element-plus';
15
- import { ElAlert as FoxAlert } from 'element-plus';
16
- import { ElAside as FoxAside } from 'element-plus';
17
- import { ElAutocomplete as FoxAutocomplete } from 'element-plus';
18
- import { ElAutoResizer as FoxAutoResizer } from 'element-plus';
19
- import { ElAvatar as FoxAvatar } from 'element-plus';
20
- import { ElBacktop as FoxBacktop } from 'element-plus';
21
- import { ElBadge as FoxBadge } from 'element-plus';
22
- import { ElBreadcrumb as FoxBreadcrumb } from 'element-plus';
23
- import { ElBreadcrumbItem as FoxBreadcrumbItem } from 'element-plus';
24
- import { ElButton as FoxButton } from 'element-plus';
25
- import { ElButtonGroup as FoxButtonGroup } from 'element-plus';
26
- import { ElCalendar as FoxCalendar } from 'element-plus';
27
- import { ElCard as FoxCard } from 'element-plus';
28
- import { ElCarousel as FoxCarousel } from 'element-plus';
29
- import { ElCarouselItem as FoxCarouselItem } from 'element-plus';
30
- import { ElCascader as FoxCascader } from 'element-plus';
31
- import { ElCascaderPanel as FoxCascaderPanel } from 'element-plus';
32
- import { ElCheckbox as FoxCheckbox } from 'element-plus';
33
- import { ElCheckboxButton as FoxCheckboxButton } from 'element-plus';
34
- import { ElCheckboxGroup as FoxCheckboxGroup } from 'element-plus';
35
- import { ElCheckTag as FoxCheckTag } from 'element-plus';
36
- import { ElCol as FoxCol } from 'element-plus';
37
- import { ElCollapse as FoxCollapse } from 'element-plus';
38
- import { ElCollapseItem as FoxCollapseItem } from 'element-plus';
39
- import { ElCollapseTransition as FoxCollapseTransition } from 'element-plus';
40
- import { ElColorPicker as FoxColorPicker } from 'element-plus';
41
- import { ElConfigProvider as FoxConfigProvider } from 'element-plus';
42
- import { ElContainer as FoxContainer } from 'element-plus';
43
- import { ElDatePicker as FoxDatePicker } from 'element-plus';
44
- import { ElDescriptions as FoxDescriptions } from 'element-plus';
45
- import { ElDescriptionsItem as FoxDescriptionsItem } from 'element-plus';
46
- import { ElDialog as FoxDialog } from 'element-plus';
47
- import { ElDivider as FoxDivider } from 'element-plus';
48
- import { ElDrawer as FoxDrawer } from 'element-plus';
49
- import { ElDropdown as FoxDropdown } from 'element-plus';
50
- import { ElDropdownItem as FoxDropdownItem } from 'element-plus';
51
- import { ElDropdownMenu as FoxDropdownMenu } from 'element-plus';
52
- import { ElEmpty as FoxEmpty } from 'element-plus';
53
- import { ElFooter as FoxFooter } from 'element-plus';
54
- import { ElForm as FoxForm } from 'element-plus';
55
- import { ElFormItem as FoxFormItem } from 'element-plus';
56
- import { ElHeader as FoxHeader } from 'element-plus';
57
- import { ElIcon as FoxIcon } from 'element-plus';
58
- import { ElImage as FoxImage } from 'element-plus';
59
- import { ElImageViewer as FoxImageViewer } from 'element-plus';
60
- import { ElInput as FoxInput } from 'element-plus';
61
- import { ElInputNumber as FoxInputNumber } from 'element-plus';
62
- import { ElLink as FoxLink } from 'element-plus';
63
- import { ElMain as FoxMain } from 'element-plus';
64
- import { ElMenu as FoxMenu } from 'element-plus';
65
- import { ElMenuItem as FoxMenuItem } from 'element-plus';
66
- import { ElMenuItemGroup as FoxMenuItemGroup } from 'element-plus';
67
- import { ElOption as FoxOption } from 'element-plus';
68
- import { ElOptionGroup as FoxOptionGroup } from 'element-plus';
69
- import { ElPageHeader as FoxPageHeader } from 'element-plus';
70
- import { ElPagination as FoxPagination } from 'element-plus';
71
- import { ElPopconfirm as FoxPopconfirm } from 'element-plus';
72
- import { ElPopover as FoxPopover } from 'element-plus';
73
- import { ElPopper as FoxPopper } from 'element-plus';
74
- import { ElProgress as FoxProgress } from 'element-plus';
75
- import { ElRadio as FoxRadio } from 'element-plus';
76
- import { ElRadioButton as FoxRadioButton } from 'element-plus';
77
- import { ElRadioGroup as FoxRadioGroup } from 'element-plus';
78
- import { ElRate as FoxRate } from 'element-plus';
79
- import { ElResult as FoxResult } from 'element-plus';
80
- import { ElRow as FoxRow } from 'element-plus';
81
- import { ElScrollbar as FoxScrollbar } from 'element-plus';
82
- import { ElSelect as FoxSelect } from 'element-plus';
83
- import { ElSelectV2 as FoxSelectV2 } from 'element-plus';
84
- import { ElSkeleton as FoxSkeleton } from 'element-plus';
85
- import { ElSkeletonItem as FoxSkeletonItem } from 'element-plus';
86
- import { ElSlider as FoxSlider } from 'element-plus';
87
- import { ElSpace as FoxSpace } from 'element-plus';
88
- import { ElStep as FoxStep } from 'element-plus';
89
- import { ElSteps as FoxSteps } from 'element-plus';
90
- import { ElSubMenu as FoxSubMenu } from 'element-plus';
91
- import { ElSwitch as FoxSwitch } from 'element-plus';
92
- import { ElTable as FoxTable } from 'element-plus';
93
- import { ElTableColumn as FoxTableColumn } from 'element-plus';
94
- import { ElTableV2 as FoxTableV2 } from 'element-plus';
95
- import { ElTabPane as FoxTabPane } from 'element-plus';
96
- import { ElTabs as FoxTabs } from 'element-plus';
97
- import { ElTag as FoxTag } from 'element-plus';
98
- import { ElTimeline as FoxTimeline } from 'element-plus';
99
- import { ElTimelineItem as FoxTimelineItem } from 'element-plus';
100
- import { ElTimePicker as FoxTimePicker } from 'element-plus';
101
- import { ElTimeSelect as FoxTimeSelect } from 'element-plus';
102
- import { ElTooltip as FoxTooltip } from 'element-plus';
103
- import { ElTransfer as FoxTransfer } from 'element-plus';
104
- import { ElTree as FoxTree } from 'element-plus';
105
- import { ElTreeSelect as FoxTreeSelect } from 'element-plus';
106
- import { ElTreeV2 as FoxTreeV2 } from 'element-plus';
107
- import { ElUpload as FoxUpload } from 'element-plus';
108
- import { isArray } from '@fox-js/fox';
109
- import { isDate } from '@fox-js/fox';
110
- import { isEqual } from '@fox-js/fox';
111
- import { isESModule } from '@fox-js/fox';
112
- import { isFunction } from '@fox-js/fox';
113
- import { isMap } from '@fox-js/fox';
114
- import { isObject } from '@fox-js/fox';
115
- import { isPlainObject } from '@fox-js/fox';
116
- import { isPromise } from '@fox-js/fox';
117
- import { isSet } from '@fox-js/fox';
118
- import { isString } from '@fox-js/fox';
119
- import { isSymbol } from '@fox-js/fox';
120
- import type { MethodOptions } from 'vue';
7
+ import { ElAffix as FoxAffix } from './base';
8
+ import { ElAlert as FoxAlert } from './base';
9
+ import { ElAside as FoxAside } from './base';
10
+ import { ElAutocomplete as FoxAutocomplete } from './base';
11
+ import { ElAutoResizer as FoxAutoResizer } from './base';
12
+ import { ElAvatar as FoxAvatar } from './base';
13
+ import { ElBacktop as FoxBacktop } from './base';
14
+ import { ElBadge as FoxBadge } from './base';
15
+ import { ElBreadcrumb as FoxBreadcrumb } from './base';
16
+ import { ElBreadcrumbItem as FoxBreadcrumbItem } from './base';
17
+ import { ElButton as FoxButton } from './base';
18
+ import { ElButtonGroup as FoxButtonGroup } from './base';
19
+ import { ElCalendar as FoxCalendar } from './base';
20
+ import { ElCard as FoxCard } from './base';
21
+ import { ElCarousel as FoxCarousel } from './base';
22
+ import { ElCarouselItem as FoxCarouselItem } from './base';
23
+ import { ElCascader as FoxCascader } from './base';
24
+ import { ElCascaderPanel as FoxCascaderPanel } from './base';
25
+ import { ElCheckbox as FoxCheckbox } from './base';
26
+ import { ElCheckboxButton as FoxCheckboxButton } from './base';
27
+ import { ElCheckboxGroup as FoxCheckboxGroup } from './base';
28
+ import { ElCheckTag as FoxCheckTag } from './base';
29
+ import { ElCol as FoxCol } from './base';
30
+ import { ElCollapse as FoxCollapse } from './base';
31
+ import { ElCollapseItem as FoxCollapseItem } from './base';
32
+ import { ElCollapseTransition as FoxCollapseTransition } from './base';
33
+ import { ElColorPicker as FoxColorPicker } from './base';
34
+ import { FoxComponentPublicInstance } from './types';
35
+ import { ElConfigProvider as FoxConfigProvider } from './base';
36
+ import { ElContainer as FoxContainer } from './base';
37
+ import { ElDatePicker as FoxDatePicker } from './base';
38
+ import { ElDescriptions as FoxDescriptions } from './base';
39
+ import { ElDescriptionsItem as FoxDescriptionsItem } from './base';
40
+ import { ElDialog as FoxDialog } from './base';
41
+ import { ElDivider as FoxDivider } from './base';
42
+ import { ElDrawer as FoxDrawer } from './base';
43
+ import { ElDropdown as FoxDropdown } from './base';
44
+ import { ElDropdownItem as FoxDropdownItem } from './base';
45
+ import { ElDropdownMenu as FoxDropdownMenu } from './base';
46
+ import { ElEmpty as FoxEmpty } from './base';
47
+ import { ElFooter as FoxFooter } from './base';
48
+ import { ElForm as FoxForm } from './base';
49
+ import { ElFormItem as FoxFormItem } from './base';
50
+ import { ElHeader as FoxHeader } from './base';
51
+ import { ElIcon as FoxIcon } from './base';
52
+ import { ElImage as FoxImage } from './base';
53
+ import { ElImageViewer as FoxImageViewer } from './base';
54
+ import { ElInput as FoxInput } from './base';
55
+ import { ElInputNumber as FoxInputNumber } from './base';
56
+ import { ElLink as FoxLink } from './base';
57
+ import { ElMain as FoxMain } from './base';
58
+ import { ElMenu as FoxMenu } from './base';
59
+ import { ElMenuItem as FoxMenuItem } from './base';
60
+ import { ElMenuItemGroup as FoxMenuItemGroup } from './base';
61
+ import { ElOption as FoxOption } from './base';
62
+ import { ElOptionGroup as FoxOptionGroup } from './base';
63
+ import { ElPageHeader as FoxPageHeader } from './base';
64
+ import { ElPagination as FoxPagination } from './base';
65
+ import { ElPopconfirm as FoxPopconfirm } from './base';
66
+ import { ElPopover as FoxPopover } from './base';
67
+ import { ElPopper as FoxPopper } from './base';
68
+ import { ElProgress as FoxProgress } from './base';
69
+ import { ElRadio as FoxRadio } from './base';
70
+ import { ElRadioButton as FoxRadioButton } from './base';
71
+ import { ElRadioGroup as FoxRadioGroup } from './base';
72
+ import { ElRate as FoxRate } from './base';
73
+ import { ElResult as FoxResult } from './base';
74
+ import { ElRow as FoxRow } from './base';
75
+ import { ElScrollbar as FoxScrollbar } from './base';
76
+ import { ElSelect as FoxSelect } from './base';
77
+ import { ElSelectV2 as FoxSelectV2 } from './base';
78
+ import { ElSkeleton as FoxSkeleton } from './base';
79
+ import { ElSkeletonItem as FoxSkeletonItem } from './base';
80
+ import { ElSlider as FoxSlider } from './base';
81
+ import { ElSpace as FoxSpace } from './base';
82
+ import { ElStep as FoxStep } from './base';
83
+ import { ElSteps as FoxSteps } from './base';
84
+ import { ElSubMenu as FoxSubMenu } from './base';
85
+ import { ElSwitch as FoxSwitch } from './base';
86
+ import { ElTable as FoxTable } from './base';
87
+ import { ElTableColumn as FoxTableColumn } from './base';
88
+ import { ElTableV2 as FoxTableV2 } from './base';
89
+ import { ElTabPane as FoxTabPane } from './base';
90
+ import { ElTabs as FoxTabs } from './base';
91
+ import { ElTag as FoxTag } from './base';
92
+ import { ElTimeline as FoxTimeline } from './base';
93
+ import { ElTimelineItem as FoxTimelineItem } from './base';
94
+ import { ElTimePicker as FoxTimePicker } from './base';
95
+ import { ElTimeSelect as FoxTimeSelect } from './base';
96
+ import { ElTooltip as FoxTooltip } from './base';
97
+ import { ElTransfer as FoxTransfer } from './base';
98
+ import { ElTree as FoxTree } from './base';
99
+ import { ElTreeSelect as FoxTreeSelect } from './base';
100
+ import { ElTreeV2 as FoxTreeV2 } from './base';
101
+ import { FoxUI } from './interface';
102
+ import { FoxUIOptions } from './interface';
103
+ import { ElUpload as FoxUpload } from './base';
121
104
  import { multiply } from '@fox-js/big-decimal';
122
105
  import { negate } from '@fox-js/big-decimal';
123
106
  import { numberFormat } from '@fox-js/big-decimal';
124
107
  import { Ref } from 'vue';
125
108
  import { Rule } from '@fox-js/validator';
126
- import { toBoolean } from '@fox-js/fox';
127
- import { toNumber } from '@fox-js/fox';
128
- import { toTypeString } from '@fox-js/fox';
109
+ import { ScopeGetter } from './api';
129
110
  import { unNumberFormat } from '@fox-js/big-decimal';
130
111
  import { UnwrapNestedRefs } from 'vue';
131
112
  import { UnwrapRef } from 'vue';
132
113
  import { ValidateMessages } from '@fox-js/validator';
133
114
  import { ValidateResult } from '@fox-js/validator';
134
- import type { VNodeProps } from 'vue';
135
115
 
136
116
  /**
137
117
  * 是否接受value过滤器
@@ -140,7 +120,7 @@ export declare interface AcceptFilter {
140
120
  (value: any): boolean;
141
121
  }
142
122
 
143
- export declare const AutocompleteItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
123
+ export declare const AutocompleteItem: any;
144
124
 
145
125
  /**
146
126
  * 广播类
@@ -219,20 +199,30 @@ export declare interface BroadcastCallback {
219
199
 
220
200
  export declare const BroadcastKey: unique symbol;
221
201
 
222
- export declare const CascaderItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
202
+ export declare function cancelRaf(id: number): void;
223
203
 
224
- export declare const CheckboxItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
204
+ export declare const CascaderItem: any;
205
+
206
+ export declare const CheckboxItem: any;
225
207
 
226
208
  /**
227
209
  * 清理非数字
228
210
  */
229
211
  export declare function clearNonNumber(value: string, allowDot?: boolean, allowMinus?: boolean): string;
230
212
 
231
- export { clone }
213
+ /**
214
+ * 克隆对象
215
+ * @param target
216
+ * @param source
217
+ * @param plain
218
+ *
219
+ * @returns
220
+ */
221
+ export declare function clone(target: any, source: any, plain?: boolean): any;
232
222
 
233
223
  export { compareTo }
234
224
 
235
- export declare const Content: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
225
+ export declare const Content: any;
236
226
 
237
227
  /**
238
228
  * 创建broadcast
@@ -259,15 +249,125 @@ export declare function createValidateSchema(proxy: FoxComponentPublicInstance,
259
249
  */
260
250
  export declare const DataItemsKey: unique symbol;
261
251
 
262
- export declare const DateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
252
+ export declare const DateItem: any;
253
+
254
+ export declare const DateUtils: {
255
+ /**
256
+ * 格式化
257
+ * @param date
258
+ * @param template
259
+ * @returns
260
+ */
261
+ format(date: Date, template: string): string;
262
+ /**
263
+ * 解析
264
+ * @param str
265
+ * @param template
266
+ */
267
+ parser(str: string, template: string): Date;
268
+ /**
269
+ * 是否为闫年
270
+ * @return {Boolse} true|false
271
+ */
272
+ isLeapYear(y: number): boolean;
273
+ /**
274
+ * 返回星期数
275
+ * @return {String}
276
+ */
277
+ getWhatDay(year: number, month: number, day: number): string;
278
+ /**
279
+ * 返回星期数
280
+ * @return {Number}
281
+ */
282
+ getMonthPreDay(year: number, month: number): number;
283
+ /**
284
+ * 返回月份天数
285
+ * @return {Number}
286
+ */
287
+ getMonthDays(year: string, month: string): number;
288
+ /**
289
+ * 补齐数字位数
290
+ * @return {string}
291
+ */
292
+ getNumTwoBit(n: number): string;
293
+ /**
294
+ * 日期对象转成字符串
295
+ * @return {string}
296
+ */
297
+ date2Str: (date: Date, split?: string) => string;
298
+ /**
299
+ * 返回日期格式字符串
300
+ * @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
301
+ * @param {Date} 起点日期
302
+ * @return {string} '2014-12-31'
303
+ */
304
+ getDay(i: number, startDate?: Date): string;
305
+ /**
306
+ * 时间比较
307
+ * @return
308
+ */
309
+ compareDate(date1: string | Date, date2: string | Date): boolean;
310
+ /**
311
+ * 时间是否相等
312
+ * @return
313
+ */
314
+ isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
315
+ /**
316
+ * get month week
317
+ * @param year
318
+ * @param month
319
+ * @param date
320
+ * @param firstDayOfWeek
321
+ * @returns
322
+ */
323
+ getMonthWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
324
+ /**
325
+ * get year week
326
+ * @param year
327
+ * @param month
328
+ * @param date
329
+ * @param firstDayOfWeek
330
+ * @returns
331
+ */
332
+ getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
333
+ /**
334
+ * get week date
335
+ */
336
+ getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
337
+ /**
338
+ * format result date
339
+ */
340
+ formatResultDate: (date: string) => string[];
341
+ /**
342
+ * 判断日期是否在范围内
343
+ * @param date
344
+ * @param startDate
345
+ * @param span 允许负数
346
+ */
347
+ inScope4Day(date: Date, startDate: Date, span: number): boolean;
348
+ /**
349
+ * 判断日期是否在范围内
350
+ * @param date
351
+ * @param startDate
352
+ * @param span
353
+ */
354
+ inScope4Month(date: Date, startDate: Date, span: number): boolean;
355
+ };
263
356
 
264
357
  /**
265
- * 防抖函数
358
+ * 防抖函数(执行时间范围内的最后一次)
266
359
  * @param func 函数
267
- * @param time 防止抖动毫秒数
360
+ * @param delay 防止抖动毫秒数
268
361
  * @returns
269
362
  */
270
- export declare function debounce(func: GenericFunction, time: number): GenericFunction;
363
+ export declare function debounce(func: GenericFunction, delay: number): GenericFunction;
364
+
365
+ /**
366
+ * 防抖Ref
367
+ * @param value
368
+ * @param delay
369
+ */
370
+ export declare function debounceRef<T>(value: T, delay: number): Ref<T>;
271
371
 
272
372
  /**
273
373
  * 获取小数长度
@@ -286,6 +386,15 @@ export default _default;
286
386
  */
287
387
  export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback>, proxy?: FoxComponentPublicInstance): Broadcast | null;
288
388
 
389
+ /**
390
+ * 安装config domain
391
+ * @param name 名称
392
+ * @param props 属性
393
+ * @param ignores 忽略的属性
394
+ * @returns
395
+ */
396
+ export declare function defineConfigDomain(name: string | null, props: Record<string, any>, ignores?: any[]): Domain;
397
+
289
398
  /**
290
399
  * 定义domain data item
291
400
  * @returns
@@ -340,7 +449,7 @@ export declare interface Descriptor {
340
449
  validateResetEvents?: string[];
341
450
  }
342
451
 
343
- export declare const DialogItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
452
+ export declare const DialogItem: any;
344
453
 
345
454
  /**
346
455
  * 禁用属性
@@ -459,6 +568,8 @@ export declare interface DomainItem {
459
568
  */
460
569
  export declare const DomainKey: unique symbol;
461
570
 
571
+ export declare const DomainProvider: any;
572
+
462
573
  /**
463
574
  * event listener
464
575
  */
@@ -474,13 +585,18 @@ declare interface EventListener_2 {
474
585
  */
475
586
  export declare function excludeProps(src: Record<string, any>, ...excludeTemplates: Record<string, any>[]): Record<string, any>;
476
587
 
477
- export { extend }
478
-
479
- export declare const ExtIcon: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
588
+ /**
589
+ * 继承(是否深度拷贝,dest,src1,src2,src3...)
590
+ *
591
+ * @returns
592
+ */
593
+ export declare function extend(...args: any[]): any;
480
594
 
481
595
  export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
482
596
 
483
- export declare const FooterBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
597
+ export declare const FloatingWindow: any;
598
+
599
+ export declare const FooterBar: any;
484
600
 
485
601
  export { FoxAffix }
486
602
 
@@ -536,8 +652,6 @@ export { FoxCollapseTransition }
536
652
 
537
653
  export { FoxColorPicker }
538
654
 
539
- declare type FoxComponentPublicInstance = any;
540
-
541
655
  export { FoxConfigProvider }
542
656
 
543
657
  export { FoxContainer }
@@ -670,78 +784,6 @@ export { FoxTreeSelect }
670
784
 
671
785
  export { FoxTreeV2 }
672
786
 
673
- /**
674
- * Fox UI
675
- */
676
- declare interface FoxUI {
677
- /**
678
- * 版本号
679
- */
680
- version: string;
681
- /**
682
- * 安装
683
- * @param app
684
- * @param options
685
- */
686
- install(app: App, options: FoxUIOptions): any;
687
- /**
688
- * 初始化page Layout
689
- *
690
- * @param options
691
- * @param rootDomain
692
- */
693
- initPageLayout(options: FoxUIOptions, rootDomain?: Domain): void;
694
- /**
695
- * 设置scope getter
696
- * @param getter
697
- */
698
- setScopeGetter(getter: ScopeGetter): void;
699
- /**
700
- * 设置API
701
- * @param name
702
- * @param func
703
- * @param scope
704
- */
705
- setAPI(name: string, func: any, scope?: string): void;
706
- /**
707
- * 获取API
708
- * @param proxy
709
- * @param name
710
- * @param scope
711
- */
712
- getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
713
- /**
714
- * 批量增加api
715
- * @param apis
716
- * @param scope
717
- */
718
- batchSetAPI(apis: Record<string, any>, scope?: string): void;
719
- /**
720
- * 清空scope apis
721
- * @param scope
722
- */
723
- clearScopeAPI(scope: string): void;
724
- /**
725
- * 获取root domain
726
- */
727
- getRootDomain(): Domain;
728
- }
729
-
730
- /**
731
- * UI Options
732
- */
733
- declare interface FoxUIOptions {
734
- headerBarHeight?: number;
735
- footerBarHeight?: number;
736
- safeAreaInset?: SafeAreaInset;
737
- pageLayout?: PageLayout;
738
- headerPadding?: Rect;
739
- contentPadding?: Rect;
740
- groupLayout?: GroupLayout;
741
- labelWidth?: number | string;
742
- [propName: string]: any;
743
- }
744
-
745
787
  /**
746
788
  * Fox UI vue实例
747
789
  */
@@ -871,21 +913,16 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
871
913
  */
872
914
  export declare function getRootDomain(): Domain;
873
915
 
874
- export declare const Group: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
916
+ export declare const Group: any;
875
917
 
876
918
  /**
877
- * Layout信息接口
919
+ * 是否支持symbol
878
920
  */
879
- declare interface GroupLayout {
880
- type: string;
881
- width: number;
882
- column: number;
883
- gutter: number;
884
- }
921
+ export declare const hasSymbol: boolean;
885
922
 
886
- export declare const HeaderBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
923
+ export declare const HeaderBar: any;
887
924
 
888
- export declare const HintText: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
925
+ export declare const HintText: any;
889
926
 
890
927
  /**
891
928
  * 根据包含模版,抽取属性
@@ -903,9 +940,11 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
903
940
  */
904
941
  export declare function indexOf(x: unknown, arr: unknown[]): number;
905
942
 
906
- export declare const InputItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
943
+ export declare const Indicator: any;
907
944
 
908
- export declare const InputNumberItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
945
+ export declare const InputItem: any;
946
+
947
+ export declare const InputNumberItem: any;
909
948
 
910
949
  /**
911
950
  * 安装函数
@@ -914,33 +953,76 @@ declare interface Installer {
914
953
  (app: App, options?: any): void;
915
954
  }
916
955
 
956
+ /**
957
+ * 安装校验规则
958
+ * @param proxy
959
+ */
960
+ export declare function installRules(proxy: FoxComponentPublicInstance, validateScheme: ValidateSchema, name: string): void;
961
+
917
962
  /**
918
963
  * 获取整数长度
919
964
  * @param value
920
965
  */
921
- export declare function integerLength(value: string | number): number;
966
+ export declare function integerLength(v: string | number): number;
922
967
 
923
- export { isArray }
968
+ /**
969
+ * 是否数组
970
+ */
971
+ export declare const isArray: (arg: any) => arg is any[];
972
+
973
+ /**
974
+ * 是否为类数组
975
+ * @param obj
976
+ * @returns {boolean}
977
+ */
978
+ export declare function isArrayLike(obj: any): boolean;
924
979
 
925
980
  /**
926
981
  * 是否为浏览器环境
927
982
  */
928
983
  export declare const isBrowser: boolean;
929
984
 
930
- export { isDate }
985
+ /**
986
+ * 是否为Date
987
+ * @param val
988
+ * @returns
989
+ */
990
+ export declare const isDate: (val: unknown) => val is Date;
931
991
 
932
992
  /**
933
993
  * 是否空字符串
934
994
  * @param v
935
995
  * @returns
936
996
  */
937
- export declare const isEmptyString: (v: unknown) => boolean;
997
+ export declare const isEmptyString: (v: unknown) => v is "";
998
+
999
+ /**
1000
+ * 判断两个对象是否一致
1001
+ * @param x
1002
+ * @param y
1003
+ * @return
1004
+ */
1005
+ export declare function isEqual(x: any, y: any): boolean;
938
1006
 
939
- export { isEqual }
1007
+ /**
1008
+ * 是否为es module
1009
+ * @param obj
1010
+ * @returns
1011
+ */
1012
+ export declare function isESModule(obj: any): obj is Object;
940
1013
 
941
- export { isESModule }
1014
+ /**
1015
+ * 是否为函数
1016
+ * @param val
1017
+ * @returns
1018
+ */
1019
+ export declare const isFunction: (val: unknown) => val is Function;
942
1020
 
943
- export { isFunction }
1021
+ /**
1022
+ * 是否是隐藏element
1023
+ * @param el
1024
+ */
1025
+ export declare function isHidden(el: any): boolean;
944
1026
 
945
1027
  /**
946
1028
  * 是否为内嵌页面
@@ -951,20 +1033,43 @@ export { isFunction }
951
1033
  */
952
1034
  export declare function isInnerPage(domain: Domain, proxy: any): boolean;
953
1035
 
954
- export { isMap }
1036
+ /**
1037
+ * 是否为Map
1038
+ * @param val
1039
+ * @returns
1040
+ */
1041
+ export declare const isMap: (val: unknown) => val is Map<any, any>;
1042
+
1043
+ /**
1044
+ * 是否null/undefined对象
1045
+ */
1046
+ export declare function isNil(v: unknown): v is null | undefined;
955
1047
 
956
1048
  /**
957
1049
  * 是否为数字字符串
958
1050
  * @param value
959
1051
  * @returns
960
1052
  */
961
- export declare function isNumberString(value: string): boolean;
1053
+ export declare function isNumberString(v: string): v is string;
962
1054
 
963
- export { isObject }
1055
+ /**
1056
+ * 是否为object
1057
+ */
1058
+ export declare const isObject: (val: unknown) => val is Record<any, any>;
964
1059
 
965
- export { isPlainObject }
1060
+ /**
1061
+ * 是否为plain对象
1062
+ * @param val
1063
+ * @returns
1064
+ */
1065
+ export declare const isPlainObject: (val: unknown) => val is object;
966
1066
 
967
- export { isPromise }
1067
+ /**
1068
+ * 是否为promise
1069
+ * @param val
1070
+ * @returns
1071
+ */
1072
+ export declare const isPromise: <T = any>(val: unknown) => val is Promise<T>;
968
1073
 
969
1074
  /**
970
1075
  * 判断是否为正则表达式
@@ -973,9 +1078,19 @@ export { isPromise }
973
1078
  */
974
1079
  export declare function isRegExp(v: unknown): v is RegExp;
975
1080
 
976
- export { isSet }
1081
+ /**
1082
+ * 是否为Set
1083
+ * @param val
1084
+ * @returns
1085
+ */
1086
+ export declare const isSet: (val: unknown) => val is Set<any>;
977
1087
 
978
- export { isString }
1088
+ /**
1089
+ * 是否为字符串
1090
+ * @param val
1091
+ * @returns
1092
+ */
1093
+ export declare const isString: (val: unknown) => val is string;
979
1094
 
980
1095
  /**
981
1096
  * 是否子页面
@@ -983,9 +1098,20 @@ export { isString }
983
1098
  */
984
1099
  export declare function isSubPage(domain: Domain): boolean;
985
1100
 
986
- export { isSymbol }
1101
+ /**
1102
+ * 是否为symbol
1103
+ * @param val
1104
+ * @returns
1105
+ */
1106
+ export declare const isSymbol: (val: unknown) => val is symbol;
1107
+
1108
+ /**
1109
+ * 是否是window对象
1110
+ * @param obj
1111
+ */
1112
+ export declare function isWindow(obj: any): boolean;
987
1113
 
988
- export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1114
+ export declare const Item: any;
989
1115
 
990
1116
  /**
991
1117
  * 获取对应元素的在数组中最后一个匹配的索引
@@ -995,7 +1121,15 @@ export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions,
995
1121
  */
996
1122
  export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
997
1123
 
998
- export declare const Mapping: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1124
+ /**
1125
+ * 创建数组
1126
+ * @param arr
1127
+ * @param results
1128
+ * @return
1129
+ */
1130
+ export declare function makeArray(arr: any, results?: any[]): any[];
1131
+
1132
+ export declare const Mapping: any;
999
1133
 
1000
1134
  /**
1001
1135
  * 匹配条件
@@ -1008,14 +1142,45 @@ export declare interface Matched {
1008
1142
  level?: number;
1009
1143
  }
1010
1144
 
1011
- export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1145
+ /**
1146
+ * 合并数组
1147
+ * @param first
1148
+ * @param second
1149
+ * @return
1150
+ */
1151
+ export declare function merge(first: any[], second: any[]): any[];
1152
+
1153
+ export declare const MoneyItem: any;
1154
+
1155
+ export declare const MoreButton: any;
1012
1156
 
1013
1157
  export { multiply }
1014
1158
 
1015
1159
  export { negate }
1016
1160
 
1161
+ /**
1162
+ * 下一个事件周期中执行函数
1163
+ * @param fn
1164
+ * @param args
1165
+ */
1166
+ export declare function nextTick(fn: {
1167
+ (...args: any[]): void;
1168
+ }, ...args: any[]): void;
1169
+
1017
1170
  export { numberFormat }
1018
1171
 
1172
+ /**
1173
+ * 对象类型
1174
+ */
1175
+ export declare const objectToString: () => string;
1176
+
1177
+ /**
1178
+ * 只执行一次函数
1179
+ * @param func
1180
+ * @returns
1181
+ */
1182
+ export declare function once(func: GenericFunction): GenericFunction;
1183
+
1019
1184
  /**
1020
1185
  * padding
1021
1186
  */
@@ -1026,7 +1191,7 @@ export declare interface Padding {
1026
1191
  bottom: number | null;
1027
1192
  }
1028
1193
 
1029
- export declare const Page: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1194
+ export declare const Page: any;
1030
1195
 
1031
1196
  /**
1032
1197
  * page layout
@@ -1046,10 +1211,14 @@ export declare interface PageState {
1046
1211
  height: number;
1047
1212
  headerHeight: number;
1048
1213
  headerPadding: Padding;
1214
+ headerAllHeight?: number;
1049
1215
  footerHeight: number;
1050
1216
  footerPadding: Padding;
1217
+ footerAllHeight?: number;
1051
1218
  contentHeight: number | string | null;
1052
1219
  contentPadding: Padding;
1220
+ contentInnerHeight?: number;
1221
+ contentInnerWidth?: number;
1053
1222
  safeAreaTop: number;
1054
1223
  safeAreaBottom: number;
1055
1224
  safeAreaLeft: number;
@@ -1066,7 +1235,7 @@ export declare interface Point {
1066
1235
  y: number;
1067
1236
  }
1068
1237
 
1069
- export declare const Price: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1238
+ export declare const Price: any;
1070
1239
 
1071
1240
  /**
1072
1241
  * 优先策略
@@ -1085,14 +1254,11 @@ export declare enum PriorityPolicy {
1085
1254
  */
1086
1255
  export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
1087
1256
 
1088
- export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1257
+ export declare const RadioItem: any;
1089
1258
 
1090
- /**
1091
- * 动画
1092
- */
1093
1259
  export declare const raf: any;
1094
1260
 
1095
- export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1261
+ export declare const RateItem: any;
1096
1262
 
1097
1263
  /**
1098
1264
  * 只读属性
@@ -1100,17 +1266,7 @@ export declare const RateItem: DefineComponent<unknown, object, {}, ComputedOpti
1100
1266
  */
1101
1267
  export declare function readonlyProperty(source: Ref): Ref;
1102
1268
 
1103
- /**
1104
- * Rect类型
1105
- */
1106
1269
  declare interface Rect {
1107
- left: number;
1108
- top: number;
1109
- right: number;
1110
- bottom: number;
1111
- }
1112
-
1113
- declare interface Rect_2 {
1114
1270
  top: number;
1115
1271
  left: number;
1116
1272
  right: number;
@@ -1129,7 +1285,9 @@ export declare type Result = Promise<any> | any;
1129
1285
  */
1130
1286
  export declare type Results = Result[];
1131
1287
 
1132
- export declare const RowItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1288
+ export declare const RollingProvider: any;
1289
+
1290
+ export declare const RowItem: any;
1133
1291
 
1134
1292
  /**
1135
1293
  * 安全区域
@@ -1141,14 +1299,7 @@ export declare interface SafeAreaInset {
1141
1299
  bottom: number | string;
1142
1300
  }
1143
1301
 
1144
- /**
1145
- * scope getter
1146
- */
1147
- declare interface ScopeGetter {
1148
- (proxy: ComponentPublicInstance): string | null;
1149
- }
1150
-
1151
- export declare const SelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1302
+ export declare const SelectItem: any;
1152
1303
 
1153
1304
  /**
1154
1305
  * 设置公共校验检查事件
@@ -1180,29 +1331,54 @@ export declare function setGlobalValidateResetEvents(events: string[]): void;
1180
1331
  */
1181
1332
  export declare function setGlobalValidator(type: string, validator: ExecuteValidator): void;
1182
1333
 
1183
- export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1334
+ /**
1335
+ * size
1336
+ */
1337
+ declare interface Size {
1338
+ width: number;
1339
+ height: number;
1340
+ }
1341
+
1342
+ export declare const SlotItem: any;
1343
+
1344
+ export declare const SwitchItem: any;
1184
1345
 
1185
- export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1346
+ export declare const TableItem: any;
1186
1347
 
1187
- export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1348
+ export declare const TableMappingColumn: any;
1188
1349
 
1189
- export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1350
+ export declare const TableRadioColumn: any;
1351
+
1352
+ export declare const TableSetting: any;
1353
+
1354
+ declare const Text_2: any;
1355
+ export { Text_2 as Text }
1190
1356
 
1191
1357
  /**
1192
- * 节流函数
1358
+ * 节流函数(执行时间范围内的第一次)
1193
1359
  * @param func 函数
1194
- * @param time 延迟执行毫秒数
1360
+ * @param delay 延迟执行毫秒数
1195
1361
  * @returns
1196
1362
  */
1197
- export declare function throttle(func: GenericFunction, time: number): GenericFunction;
1363
+ export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
1198
1364
 
1199
- export declare const TimeItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1365
+ export declare const TimeItem: any;
1200
1366
 
1201
- export declare const TimeSelectItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1367
+ export declare const TimeSelectItem: any;
1202
1368
 
1203
- export { toBoolean }
1369
+ /**
1370
+ * 转换为boolean值
1371
+ * @param val
1372
+ * @returns
1373
+ */
1374
+ export declare function toBoolean(val: unknown): boolean;
1204
1375
 
1205
- export { toNumber }
1376
+ /**
1377
+ * 转换为number值
1378
+ * @param val
1379
+ * @returns
1380
+ */
1381
+ export declare function toNumber(val: unknown): number;
1206
1382
 
1207
1383
  /**
1208
1384
  * 转换为number rect
@@ -1224,7 +1400,9 @@ export declare function toPx(value: number | string, size?: number): number;
1224
1400
  */
1225
1401
  export declare const toPxDesc: (value: string | number, size?: number) => string;
1226
1402
 
1227
- export { toTypeString }
1403
+ export declare const toTypeString: (value: unknown) => string;
1404
+
1405
+ export declare const Tour: any;
1228
1406
 
1229
1407
  /**
1230
1408
  * to model value
@@ -1234,6 +1412,33 @@ export { toTypeString }
1234
1412
  */
1235
1413
  export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
1236
1414
 
1415
+ export declare const TreeSelectItem: any;
1416
+
1417
+ /**
1418
+ * 尝试执行多次函数
1419
+ * @param func 执行函数
1420
+ * @param milliseconds 执行间隔
1421
+ * @param maxLimit 最大尝试次数
1422
+ * @param step 间隔增加步长
1423
+ * @param immediately 是否立刻执行
1424
+ */
1425
+ export declare function tryTimes(func: TryTimesFunction, milliseconds: number, maxLimit: number, step?: number, immediately?: boolean): void;
1426
+
1427
+ /**
1428
+ * 尝试多次函数
1429
+ * 返回true,代表执行完成,不在需要重试
1430
+ */
1431
+ export declare interface TryTimesFunction {
1432
+ (): boolean;
1433
+ }
1434
+
1435
+ /**
1436
+ * 判断类型
1437
+ * @param obj
1438
+ * @returns any
1439
+ */
1440
+ export declare function typeOf(obj: any): string;
1441
+
1237
1442
  export declare class UniqueID {
1238
1443
  /**
1239
1444
  * seed id
@@ -1272,7 +1477,7 @@ export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null):
1272
1477
  * 获取当前domain
1273
1478
  * @returns
1274
1479
  */
1275
- export declare function useDomain(instance?: ComponentInternalInstance | null): Domain | null;
1480
+ export declare function useDomain(proxy?: ComponentPublicInstance | null): Domain | null;
1276
1481
 
1277
1482
  /**
1278
1483
  * use expose
@@ -1280,6 +1485,13 @@ export declare function useDomain(instance?: ComponentInternalInstance | null):
1280
1485
  */
1281
1486
  export declare function useExpose(apis: Record<string, any>, instance?: ComponentInternalInstance | null): void;
1282
1487
 
1488
+ /**
1489
+ * 获取内部可用size
1490
+ * @param elementRef
1491
+ * @returns
1492
+ */
1493
+ export declare function useInnerSize(elementRef: Element | Ref<Element>): Size;
1494
+
1283
1495
  /**
1284
1496
  * 获取page state
1285
1497
  * @param domain
@@ -1294,14 +1506,42 @@ export declare function usePageState(domain: Domain): PageState | null;
1294
1506
  */
1295
1507
  export declare const usePosition: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Point;
1296
1508
 
1297
- export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
1509
+ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
1510
+
1511
+ /**
1512
+ * 获取size
1513
+ * @param elementRef
1514
+ * @returns
1515
+ */
1516
+ export declare function useSize(elementRef: Element | Ref<Element>): Size;
1517
+
1518
+ export declare function useTouch(): {
1519
+ move: EventListener;
1520
+ start: EventListener;
1521
+ reset: () => void;
1522
+ startX: any;
1523
+ startY: any;
1524
+ startTime: any;
1525
+ duration: any;
1526
+ moveX: any;
1527
+ moveY: any;
1528
+ deltaX: any;
1529
+ deltaY: any;
1530
+ offsetX: any;
1531
+ offsetY: any;
1532
+ direction: any;
1533
+ isVertical: () => boolean;
1534
+ isHorizontal: () => boolean;
1535
+ };
1298
1536
 
1299
1537
  /**
1300
1538
  * 校验条件
1301
1539
  */
1302
1540
  export declare interface ValidateCondition {
1303
- exclude?: string[];
1541
+ deep?: boolean;
1304
1542
  include?: string[];
1543
+ exclude?: string[];
1544
+ ignoreHidden?: boolean;
1305
1545
  }
1306
1546
 
1307
1547
  /**