@fox-js/foxui-pad 4.1.1-8 → 4.1.1

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,128 +1,130 @@
1
1
  import { App } from 'vue';
2
2
  import { compareTo } from '@fox-js/big-decimal';
3
- import { ComponentInternalInstance } from 'vue';
4
- import { ComponentPublicInstance } from 'vue';
3
+ import { DefineSetupFnComponent } from 'vue';
5
4
  import { divide } from '@fox-js/big-decimal';
6
5
  import { ExecuteValidator } from '@fox-js/validator';
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 { ElInputTag as FoxInputTag } from './base';
60
- import { ElLink as FoxLink } from './base';
61
- import { ElMain as FoxMain } from './base';
62
- import { ElMention as FoxMention } from './base';
63
- import { ElMenu as FoxMenu } from './base';
64
- import { ElMenuItem as FoxMenuItem } from './base';
65
- import { ElMenuItemGroup as FoxMenuItemGroup } from './base';
66
- import { ElMessage as FoxMessage } from './base';
67
- import { ElMessageBox as FoxMessageBox } from './base';
68
- import { ElNotification as FoxNotification } from './base';
69
- import { ElOption as FoxOption } from './base';
70
- import { ElOptionGroup as FoxOptionGroup } from './base';
71
- import { ElPageHeader as FoxPageHeader } from './base';
72
- import { ElPagination as FoxPagination } from './base';
73
- import { ElPopconfirm as FoxPopconfirm } from './base';
74
- import { ElPopover as FoxPopover } from './base';
75
- import { ElPopper as FoxPopper } from './base';
76
- import { ElProgress as FoxProgress } from './base';
77
- import { ElRadio as FoxRadio } from './base';
78
- import { ElRadioButton as FoxRadioButton } from './base';
79
- import { ElRadioGroup as FoxRadioGroup } from './base';
80
- import { ElRate as FoxRate } from './base';
81
- import { ElResult as FoxResult } from './base';
82
- import { ElRow as FoxRow } from './base';
83
- import { ElScrollbar as FoxScrollbar } from './base';
84
- import { ElSegmented as FoxSegmented } from './base';
85
- import { ElSelect as FoxSelect } from './base';
86
- import { ElSelectV2 as FoxSelectV2 } from './base';
87
- import { ElSkeleton as FoxSkeleton } from './base';
88
- import { ElSkeletonItem as FoxSkeletonItem } from './base';
89
- import { ElSlider as FoxSlider } from './base';
90
- import { ElSpace as FoxSpace } from './base';
91
- import { ElStatistic as FoxStatistic } from './base';
92
- import { ElStep as FoxStep } from './base';
93
- import { ElSteps as FoxSteps } from './base';
94
- import { ElSubMenu as FoxSubMenu } from './base';
95
- import { ElSwitch as FoxSwitch } from './base';
96
- import { ElTable as FoxTable } from './base';
97
- import { ElTableColumn as FoxTableColumn } from './base';
98
- import { ElTableV2 as FoxTableV2 } from './base';
99
- import { ElTabPane as FoxTabPane } from './base';
100
- import { ElTabs as FoxTabs } from './base';
101
- import { ElTag as FoxTag } from './base';
102
- import { ElTimeline as FoxTimeline } from './base';
103
- import { ElTimelineItem as FoxTimelineItem } from './base';
104
- import { ElTimePicker as FoxTimePicker } from './base';
105
- import { ElTimeSelect as FoxTimeSelect } from './base';
106
- import { ElTooltip as FoxTooltip } from './base';
107
- import { ElTransfer as FoxTransfer } from './base';
108
- import { ElTree as FoxTree } from './base';
109
- import { ElTreeSelect as FoxTreeSelect } from './base';
110
- import { ElTreeV2 as FoxTreeV2 } from './base';
111
- import { FoxUI } from './interface';
112
- import { FoxUIOptions } from './interface';
113
- import { ElUpload as FoxUpload } from './base';
114
- import { ElWatermark as FoxWatermark } from './base';
6
+ import { ElAffix as FoxAffix } from 'element-plus';
7
+ import { ElAlert as FoxAlert } from 'element-plus';
8
+ import { ElAnchor as FoxAnchor } from 'element-plus';
9
+ import { ElAnchorLink as FoxAnchorLink } from 'element-plus';
10
+ import { ElAside as FoxAside } from 'element-plus';
11
+ import { ElAutocomplete as FoxAutocomplete } from 'element-plus';
12
+ import { ElAutoResizer as FoxAutoResizer } from 'element-plus';
13
+ import { ElAvatar as FoxAvatar } from 'element-plus';
14
+ import { ElBacktop as FoxBacktop } from 'element-plus';
15
+ import { ElBadge as FoxBadge } from 'element-plus';
16
+ import { ElBreadcrumb as FoxBreadcrumb } from 'element-plus';
17
+ import { ElBreadcrumbItem as FoxBreadcrumbItem } from 'element-plus';
18
+ import { ElButton as FoxButton } from 'element-plus';
19
+ import { ElButtonGroup as FoxButtonGroup } from 'element-plus';
20
+ import { ElCalendar as FoxCalendar } from 'element-plus';
21
+ import { ElCard as FoxCard } from 'element-plus';
22
+ import { ElCarousel as FoxCarousel } from 'element-plus';
23
+ import { ElCarouselItem as FoxCarouselItem } from 'element-plus';
24
+ import { ElCascader as FoxCascader } from 'element-plus';
25
+ import { ElCascaderPanel as FoxCascaderPanel } from 'element-plus';
26
+ import { ElCheckbox as FoxCheckbox } from 'element-plus';
27
+ import { ElCheckboxButton as FoxCheckboxButton } from 'element-plus';
28
+ import { ElCheckboxGroup as FoxCheckboxGroup } from 'element-plus';
29
+ import { ElCheckTag as FoxCheckTag } from 'element-plus';
30
+ import { ElCol as FoxCol } from 'element-plus';
31
+ import { ElCollapse as FoxCollapse } from 'element-plus';
32
+ import { ElCollapseItem as FoxCollapseItem } from 'element-plus';
33
+ import { ElCollapseTransition as FoxCollapseTransition } from 'element-plus';
34
+ import { ElColorPicker as FoxColorPicker } from 'element-plus';
35
+ import { ElConfigProvider as FoxConfigProvider } from 'element-plus';
36
+ import { ElContainer as FoxContainer } from 'element-plus';
37
+ import { ElCountdown as FoxCountdown } from 'element-plus';
38
+ import { ElDatePicker as FoxDatePicker } from 'element-plus';
39
+ import { ElDescriptions as FoxDescriptions } from 'element-plus';
40
+ import { ElDescriptionsItem as FoxDescriptionsItem } from 'element-plus';
41
+ import { ElDialog as FoxDialog } from 'element-plus';
42
+ import { ElDivider as FoxDivider } from 'element-plus';
43
+ import { ElDrawer as FoxDrawer } from 'element-plus';
44
+ import { ElDropdown as FoxDropdown } from 'element-plus';
45
+ import { ElDropdownItem as FoxDropdownItem } from 'element-plus';
46
+ import { ElDropdownMenu as FoxDropdownMenu } from 'element-plus';
47
+ import { ElEmpty as FoxEmpty } from 'element-plus';
48
+ import { ElFooter as FoxFooter } from 'element-plus';
49
+ import { ElForm as FoxForm } from 'element-plus';
50
+ import { ElFormItem as FoxFormItem } from 'element-plus';
51
+ import { ElHeader as FoxHeader } from 'element-plus';
52
+ import { ElIcon as FoxIcon } from 'element-plus';
53
+ import { ElImage as FoxImage } from 'element-plus';
54
+ import { ElImageViewer as FoxImageViewer } from 'element-plus';
55
+ import { ElInput as FoxInput } from 'element-plus';
56
+ import { ElInputNumber as FoxInputNumber } from 'element-plus';
57
+ import { ElInputTag as FoxInputTag } from 'element-plus';
58
+ import { ElLink as FoxLink } from 'element-plus';
59
+ import { ElMain as FoxMain } from 'element-plus';
60
+ import { ElMention as FoxMention } from 'element-plus';
61
+ import { ElMenu as FoxMenu } from 'element-plus';
62
+ import { ElMenuItem as FoxMenuItem } from 'element-plus';
63
+ import { ElMenuItemGroup as FoxMenuItemGroup } from 'element-plus';
64
+ import { ElMessage as FoxMessage } from 'element-plus';
65
+ import { ElMessageBox as FoxMessageBox } from 'element-plus';
66
+ import { ElNotification as FoxNotification } 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 { ElSegmented as FoxSegmented } from 'element-plus';
83
+ import { ElSelect as FoxSelect } from 'element-plus';
84
+ import { ElSelectV2 as FoxSelectV2 } from 'element-plus';
85
+ import { ElSkeleton as FoxSkeleton } from 'element-plus';
86
+ import { ElSkeletonItem as FoxSkeletonItem } from 'element-plus';
87
+ import { ElSlider as FoxSlider } from 'element-plus';
88
+ import { ElSpace as FoxSpace } from 'element-plus';
89
+ import { ElStatistic as FoxStatistic } from 'element-plus';
90
+ import { ElStep as FoxStep } from 'element-plus';
91
+ import { ElSteps as FoxSteps } from 'element-plus';
92
+ import { ElSubMenu as FoxSubMenu } from 'element-plus';
93
+ import { ElSwitch as FoxSwitch } from 'element-plus';
94
+ import { ElTable as FoxTable } from 'element-plus';
95
+ import { ElTableColumn as FoxTableColumn } from 'element-plus';
96
+ import { ElTableV2 as FoxTableV2 } from 'element-plus';
97
+ import { ElTabPane as FoxTabPane } from 'element-plus';
98
+ import { ElTabs as FoxTabs } from 'element-plus';
99
+ import { ElTag as FoxTag } from 'element-plus';
100
+ import { ElTimeline as FoxTimeline } from 'element-plus';
101
+ import { ElTimelineItem as FoxTimelineItem } from 'element-plus';
102
+ import { ElTimePicker as FoxTimePicker } from 'element-plus';
103
+ import { ElTimeSelect as FoxTimeSelect } from 'element-plus';
104
+ import { ElTooltip as FoxTooltip } from 'element-plus';
105
+ import { ElTransfer as FoxTransfer } from 'element-plus';
106
+ import { ElTree as FoxTree } from 'element-plus';
107
+ import { ElTreeSelect as FoxTreeSelect } from 'element-plus';
108
+ import { ElTreeV2 as FoxTreeV2 } from 'element-plus';
109
+ import { ElUpload as FoxUpload } from 'element-plus';
110
+ import { ElWatermark as FoxWatermark } from 'element-plus';
115
111
  import { multiply } from '@fox-js/big-decimal';
116
112
  import { negate } from '@fox-js/big-decimal';
117
113
  import { numberFormat } from '@fox-js/big-decimal';
114
+ import { PublicProps } from 'vue';
118
115
  import { Ref } from 'vue';
119
116
  import { Rule } from '@fox-js/validator';
120
- import { ScopeGetter } from './api';
121
117
  import { unNumberFormat } from '@fox-js/big-decimal';
122
118
  import { UnwrapNestedRefs } from 'vue';
123
119
  import { UnwrapRef } from 'vue';
124
120
  import { ValidateMessages } from '@fox-js/validator';
125
121
  import { ValidateResult } from '@fox-js/validator';
122
+ import { VNode } from 'vue';
123
+
124
+ /**
125
+ * abstract page scope key(虚拟页面,不生成page、headerBar、footerBar、content,直接reader content内部组件)
126
+ */
127
+ export declare const AbstractPageScopeKey: unique symbol;
126
128
 
127
129
  /**
128
130
  * 是否接受value过滤器
@@ -148,9 +150,9 @@ export declare class Broadcast {
148
150
  */
149
151
  private callbacks;
150
152
  /**
151
- * vue proxy
153
+ * vue exposed
152
154
  */
153
- private proxy;
155
+ private exposed;
154
156
  /**
155
157
  * 名称
156
158
  */
@@ -162,10 +164,10 @@ export declare class Broadcast {
162
164
  /**
163
165
  * 构造函数
164
166
  * @param parent
165
- * @param proxy
167
+ * @param exposed
166
168
  * @param name
167
169
  */
168
- constructor(parent: Broadcast | null, proxy: FoxComponentPublicInstance, name?: string);
170
+ constructor(parent: Broadcast | null, exposed: FoxComponentPublicExposed, name?: string);
169
171
  /**
170
172
  * 加入孩子节点
171
173
  * @param child
@@ -255,44 +257,71 @@ export declare interface BroadcastCallback {
255
257
  */
256
258
  export declare const BroadcastKey: unique symbol;
257
259
 
260
+ /**
261
+ * 浏览模式属性
262
+ * @param source
263
+ * @returns
264
+ */
265
+ export declare function browseProperty(source: Ref): Ref<'on' | 'off'>;
266
+
258
267
  export declare function cancelRaf(id: number): void;
259
268
 
260
269
  /**
261
- * 清理非数字
270
+ * clamp
271
+ * @param num
272
+ * @param min
273
+ * @param max
274
+ * @returns
262
275
  */
263
- export declare function clearNonNumber(value: string, allowDot?: boolean, allowMinus?: boolean): string;
276
+ export declare const clamp: (num: number, min: number, max: number) => number;
264
277
 
265
278
  /**
266
- * 克隆对象
267
- * @param target
268
- * @param source
269
- * @param plain
270
- *
271
- * @returns
279
+ * 清理非数字
272
280
  */
273
- export declare function clone(target: any, source: any, plain?: boolean): any;
281
+ export declare function clearNonNumber(value: string, allowDot?: boolean, allowMinus?: boolean): string;
274
282
 
275
283
  export { compareTo }
276
284
 
285
+ /**
286
+ * 组件描述
287
+ */
288
+ declare interface ComponentDescriptor {
289
+ componentName: string;
290
+ readonly?: boolean;
291
+ disabled?: boolean;
292
+ props?: Record<string, any>;
293
+ ignorePropKeys?: string[];
294
+ context: FoxSetupContext;
295
+ templateRefProxy?: FoxTemplateRefProxy;
296
+ fieldName?: string;
297
+ valueName?: string;
298
+ valueType?: ValueType;
299
+ validate?: boolean;
300
+ pureDataValidate?: boolean;
301
+ validateHandler?: ValidateHandler;
302
+ validateCheckEvents?: string[];
303
+ validateResetEvents?: string[];
304
+ }
305
+
277
306
  /**
278
307
  * 创建broadcast
279
308
  *
280
- * @param proxy
309
+ * @param expose
281
310
  * @param parent
282
311
  * @param name
283
312
  * @param callbacks
284
313
  * @returns
285
314
  */
286
- export declare function createBroadcast(proxy: FoxComponentPublicInstance, parent: Broadcast | null, name?: string, callbacks?: Record<string, BroadcastCallback>): Broadcast;
315
+ export declare function createBroadcast(exposed: FoxComponentPublicExposed, parent: Broadcast | null, name?: string, callbacks?: Record<string, BroadcastCallback>): Broadcast;
287
316
 
288
317
  /**
289
318
  * 创建校验schema
290
- * @param proxy
319
+ * @param exposed
291
320
  * @param parent
292
321
  * @param descriptor
293
322
  * @returns
294
323
  */
295
- export declare function createValidateSchema(proxy: FoxComponentPublicInstance, parent: ValidateSchema | null, descriptor: Descriptor): ValidateSchema;
324
+ export declare function createValidateSchema(exposed: FoxComponentPublicExposed, parent: ValidateSchema | null, descriptor: ComponentDescriptor): ValidateSchema;
296
325
 
297
326
  /**
298
327
  * data items key
@@ -303,16 +332,25 @@ export declare const DateUtils: {
303
332
  /**
304
333
  * 格式化
305
334
  * @param date
306
- * @param template
335
+ * @param formatTemplate
307
336
  * @returns
308
337
  */
309
- format(date: Date, template: string): string;
338
+ format(date: Date, formatTemplate?: string): string;
310
339
  /**
311
340
  * 解析
312
- * @param str
313
- * @param template
341
+ * @param dateString
342
+ * @param formatTemplate
314
343
  */
315
- parser(str: string, template: string): Date;
344
+ parser(dateString: string, formatTemplate?: string): Date;
345
+ /**
346
+ * 返回日期格式字符串
347
+ * @param i 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
348
+ * @param startDate 起点日期
349
+ * @param formatTemplate 格式化模版
350
+ * @return '2014-12-31'
351
+ *
352
+ */
353
+ getDay(i: number, startDate?: Date, formatTemplate?: string): string;
316
354
  /**
317
355
  * 是否为闫年
318
356
  * @return {Boolse} true|false
@@ -322,12 +360,7 @@ export declare const DateUtils: {
322
360
  * 返回星期数
323
361
  * @return {String}
324
362
  */
325
- getWhatDay(year: number, month: number, day: number): string;
326
- /**
327
- * 返回星期数
328
- * @return {Number}
329
- */
330
- getMonthPreDay(year: number, month: number): number;
363
+ getWhatDay(year: number, month: number, day: number): number;
331
364
  /**
332
365
  * 返回月份天数
333
366
  * @return {Number}
@@ -340,68 +373,49 @@ export declare const DateUtils: {
340
373
  getNumTwoBit(n: number): string;
341
374
  /**
342
375
  * 日期对象转成字符串
376
+ * 转换为YYYY-MM-DD格式
343
377
  * @return {string}
344
378
  */
345
379
  date2Str: (date: Date, split?: string) => string;
346
380
  /**
347
- * 返回日期格式字符串
348
- * @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
349
- * @param {Date} 起点日期
350
- * @param {formatTemplate} 格式化模版
351
- * @return {string} '2014-12-31'
381
+ * 对比
382
+ * 0:相等, 1: x > y, -1: x < y
352
383
  *
353
- */
354
- getDay(i: number, startDate?: Date, formatTemplate?: string): string;
355
- /**
356
- * 时间比较
357
- * @return
358
- */
359
- compareDate(date1: string | Date, date2: string | Date): boolean;
360
- /**
361
- * 时间是否相等
362
- * @return
363
- */
364
- isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
365
- /**
366
- * get month week
367
- * @param year
368
- * @param month
369
- * @param date
370
- * @param firstDayOfWeek
384
+ * @param x
385
+ * @param y
386
+ * @param formatTemplate
371
387
  * @returns
372
388
  */
373
- getMonthWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
389
+ compare(x: string | Date, y: string | Date, formatTemplate?: string): number;
374
390
  /**
375
- * get year week
376
- * @param year
377
- * @param month
391
+ * 判断
378
392
  * @param date
379
- * @param firstDayOfWeek
380
- * @returns
381
- */
382
- getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
383
- /**
384
- * get week date
385
- */
386
- getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
387
- /**
388
- * format result date
393
+ * @param startDate 开始日期
394
+ * @param span 允许负数
395
+ * @param dateUint span单位 'year'|'month'|'day'
389
396
  */
390
- formatResultDate: (date: string) => string[];
397
+ between(date: Date, startDate: Date, span: number, dateUint: "year" | "month" | "day"): boolean;
391
398
  /**
392
- * 判断日期是否在范围内
399
+ * 判断日期是否在范围内(day)
393
400
  * @param date
394
401
  * @param startDate
395
402
  * @param span 允许负数
396
403
  */
397
404
  inScope4Day(date: Date, startDate: Date, span: number): boolean;
398
405
  /**
399
- * 判断日期是否在范围内
406
+ * 判断日期是否在范围内(month)
400
407
  * @param date
401
408
  * @param startDate
402
409
  * @param span
403
410
  */
404
411
  inScope4Month(date: Date, startDate: Date, span: number): boolean;
412
+ /**
413
+ * 判断日期是否在范围内(year)
414
+ * @param date
415
+ * @param startDate
416
+ * @param span
417
+ */
418
+ inScope4Year(date: Date, startDate: Date, span: number): boolean;
405
419
  };
406
420
 
407
421
  /**
@@ -428,279 +442,329 @@ export declare function decimalLength(value: string | number): number;
428
442
  declare const _default: FoxUIVue;
429
443
  export default _default;
430
444
 
431
- declare const _default_10: any;
432
- export { _default_10 as FoxHintText }
433
- export { _default_10 as HintText }
445
+ declare const _default_10: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
446
+ export { _default_10 as ButtonsItem }
447
+ export { _default_10 as FoxButtonsItem }
434
448
 
435
- declare const _default_11: any;
449
+ declare const _default_11: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
436
450
  export { _default_11 as FoxInputItem }
437
451
  export { _default_11 as InputItem }
438
452
 
439
- declare const _default_12: any;
440
- export { _default_12 as FoxSelectItem }
441
- export { _default_12 as SelectItem }
453
+ declare const _default_12: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
454
+ export { _default_12 as FoxTextareaItem }
455
+ export { _default_12 as TextareaItem }
442
456
 
443
- declare const _default_13: any;
444
- export { _default_13 as DateItem }
445
- export { _default_13 as FoxDateItem }
457
+ declare const _default_13: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
458
+ export { _default_13 as FoxSelectItem }
459
+ export { _default_13 as SelectItem }
446
460
 
447
- declare const _default_14: any;
448
- export { _default_14 as CalendarItem }
449
- export { _default_14 as FoxCalendarItem }
461
+ declare const _default_14: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
462
+ export { _default_14 as DateItem }
463
+ export { _default_14 as FoxDateItem }
450
464
 
451
- declare const _default_15: any;
452
- export { _default_15 as FoxTimeItem }
453
- export { _default_15 as TimeItem }
465
+ declare const _default_15: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
466
+ export { _default_15 as CalendarItem }
467
+ export { _default_15 as FoxCalendarItem }
454
468
 
455
- declare const _default_16: any;
456
- export { _default_16 as FoxTimeSelectItem }
457
- export { _default_16 as TimeSelectItem }
469
+ declare const _default_16: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
470
+ export { _default_16 as FoxTimeItem }
471
+ export { _default_16 as TimeItem }
458
472
 
459
- declare const _default_17: any;
460
- export { _default_17 as FoxMoneyItem }
461
- export { _default_17 as MoneyItem }
473
+ declare const _default_17: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
474
+ export { _default_17 as FoxTimeSelectItem }
475
+ export { _default_17 as TimeSelectItem }
462
476
 
463
- declare const _default_18: any;
464
- export { _default_18 as FoxInputNumberItem }
465
- export { _default_18 as InputNumberItem }
477
+ declare const _default_18: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
478
+ export { _default_18 as FoxMoneyItem }
479
+ export { _default_18 as MoneyItem }
466
480
 
467
- declare const _default_19: any;
468
- export { _default_19 as CascaderItem }
469
- export { _default_19 as FoxCascaderItem }
481
+ declare const _default_19: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
482
+ export { _default_19 as FoxInputNumberItem }
483
+ export { _default_19 as InputNumberItem }
470
484
 
471
- declare const _default_2: any;
485
+ declare const _default_2: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
472
486
  export { _default_2 as FoxPage }
473
487
  export { _default_2 as Page }
474
488
 
475
- declare const _default_20: any;
476
- export { _default_20 as AutocompleteItem }
477
- export { _default_20 as FoxAutocompleteItem }
489
+ declare const _default_20: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
490
+ export { _default_20 as CascaderItem }
491
+ export { _default_20 as FoxCascaderItem }
478
492
 
479
- declare const _default_21: any;
480
- export { _default_21 as FoxTableMappingColumn }
481
- export { _default_21 as TableMappingColumn }
493
+ declare const _default_21: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
494
+ export { _default_21 as AutocompleteItem }
495
+ export { _default_21 as FoxAutocompleteItem }
482
496
 
483
- declare const _default_22: any;
484
- export { _default_22 as FoxTableRadioColumn }
485
- export { _default_22 as TableRadioColumn }
497
+ declare const _default_22: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
498
+ export { _default_22 as FoxTableMappingColumn }
499
+ export { _default_22 as TableMappingColumn }
486
500
 
487
- declare const _default_23: any;
488
- export { _default_23 as FoxTableSetting }
489
- export { _default_23 as TableSetting }
501
+ declare const _default_23: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
502
+ export { _default_23 as FoxTableRadioColumn }
503
+ export { _default_23 as TableRadioColumn }
490
504
 
491
- declare const _default_24: any;
492
- export { _default_24 as FoxTableItem }
493
- export { _default_24 as TableItem }
505
+ declare const _default_24: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
506
+ export { _default_24 as FoxTableSetting }
507
+ export { _default_24 as TableSetting }
494
508
 
495
- declare const _default_25: any;
496
- export { _default_25 as FoxRadioItem }
497
- export { _default_25 as RadioItem }
509
+ declare const _default_25: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
510
+ export { _default_25 as FoxTableItem }
511
+ export { _default_25 as TableItem }
498
512
 
499
- declare const _default_26: any;
500
- export { _default_26 as CheckboxItem }
501
- export { _default_26 as FoxCheckboxItem }
513
+ declare const _default_26: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
514
+ export { _default_26 as FoxRadioItem }
515
+ export { _default_26 as RadioItem }
502
516
 
503
- declare const _default_27: any;
504
- export { _default_27 as FoxRateItem }
505
- export { _default_27 as RateItem }
517
+ declare const _default_27: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
518
+ export { _default_27 as CheckboxItem }
519
+ export { _default_27 as FoxCheckboxItem }
506
520
 
507
- declare const _default_28: any;
508
- export { _default_28 as FoxSwitchItem }
509
- export { _default_28 as SwitchItem }
521
+ declare const _default_28: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
522
+ export { _default_28 as FoxRateItem }
523
+ export { _default_28 as RateItem }
510
524
 
511
- declare const _default_29: any;
512
- export { _default_29 as FoxTreeSelectItem }
513
- export { _default_29 as TreeSelectItem }
525
+ declare const _default_29: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
526
+ export { _default_29 as FoxSwitchItem }
527
+ export { _default_29 as SwitchItem }
514
528
 
515
- declare const _default_3: any;
529
+ declare const _default_3: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
516
530
  export { _default_3 as FoxHeaderBar }
517
531
  export { _default_3 as HeaderBar }
518
532
 
519
- declare const _default_30: any;
520
- export { _default_30 as FoxGroupSetting }
521
- export { _default_30 as GroupSetting }
533
+ declare const _default_30: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
534
+ export { _default_30 as FoxTreeSelectItem }
535
+ export { _default_30 as TreeSelectItem }
522
536
 
523
- declare const _default_31: any;
524
- export { _default_31 as ActionsheetPane }
525
- export { _default_31 as FoxActionsheetPane }
537
+ declare const _default_31: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
538
+ export { _default_31 as FoxGroupSetting }
539
+ export { _default_31 as GroupSetting }
526
540
 
527
- declare const _default_32: any;
528
- export { _default_32 as ActionsheetItem }
529
- export { _default_32 as FoxActionsheetItem }
541
+ declare const _default_32: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
542
+ export { _default_32 as FoxTreeItem }
543
+ export { _default_32 as TreeItem }
530
544
 
531
- declare const _default_33: any;
532
- export { _default_33 as FoxPickerItem }
533
- export { _default_33 as PickerItem }
545
+ declare const _default_33: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
546
+ export { _default_33 as ActionsheetPane }
547
+ export { _default_33 as FoxActionsheetPane }
534
548
 
535
- declare const _default_34: any;
536
- export { _default_34 as FoxTabsBar }
537
- export { _default_34 as TabsBar }
549
+ declare const _default_34: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
550
+ export { _default_34 as ActionsheetItem }
551
+ export { _default_34 as FoxActionsheetItem }
538
552
 
539
- declare const _default_35: any;
540
- export { _default_35 as FoxTabsContainer }
541
- export { _default_35 as TabsContainer }
553
+ declare const _default_35: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
554
+ export { _default_35 as FoxPickerItem }
555
+ export { _default_35 as PickerItem }
542
556
 
543
- declare const _default_36: any;
544
- export { _default_36 as FoxTabsPane }
545
- export { _default_36 as TabsPane }
557
+ declare const _default_36: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
558
+ export { _default_36 as FoxLinkItem }
559
+ export { _default_36 as LinkItem }
546
560
 
547
- declare const _default_37: any;
548
- export { _default_37 as FoxStepsBar }
549
- export { _default_37 as StepsBar }
561
+ declare const _default_37: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
562
+ export { _default_37 as FoxTabsBar }
563
+ export { _default_37 as TabsBar }
550
564
 
551
- declare const _default_38: any;
552
- export { _default_38 as Foxpicker }
553
- export { _default_38 as picker }
565
+ declare const _default_38: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
566
+ export { _default_38 as FoxTabsContainer }
567
+ export { _default_38 as TabsContainer }
554
568
 
555
- declare const _default_39: any;
556
- export { _default_39 as Foxdatepicker }
557
- export { _default_39 as datepicker }
569
+ declare const _default_39: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
570
+ export { _default_39 as FoxTabsPane }
571
+ export { _default_39 as TabsPane }
558
572
 
559
- declare const _default_4: any;
573
+ declare const _default_4: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
560
574
  export { _default_4 as FooterBar }
561
575
  export { _default_4 as FoxFooterBar }
562
576
 
563
- declare const _default_40: any;
564
- export { _default_40 as Foxcalendarpicker }
565
- export { _default_40 as calendarpicker }
577
+ declare const _default_40: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
578
+ export { _default_40 as FoxTabsFrame }
579
+ export { _default_40 as TabsFrame }
566
580
 
567
- declare const _default_41: any;
568
- export { _default_41 as Foxcascaderpicker }
569
- export { _default_41 as cascaderpicker }
581
+ declare const _default_41: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
582
+ export { _default_41 as FoxStepsBar }
583
+ export { _default_41 as StepsBar }
570
584
 
571
- declare const _default_42: any;
572
- export { _default_42 as DialogItem }
573
- export { _default_42 as FoxDialogItem }
585
+ declare const _default_42: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
586
+ export { _default_42 as FloatingWindow }
587
+ export { _default_42 as FoxFloatingWindow }
574
588
 
575
- declare const _default_43: any;
576
- export { _default_43 as FoxOverLay }
577
- export { _default_43 as OverLay }
589
+ declare const _default_43: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
590
+ export { _default_43 as FoxPopoverDialog }
591
+ export { _default_43 as PopoverDialog }
578
592
 
579
- declare const _default_44: any;
580
- export { _default_44 as FoxPopup }
581
- export { _default_44 as Popup }
593
+ declare const _default_44: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
594
+ export { _default_44 as Foxpicker }
595
+ export { _default_44 as picker }
582
596
 
583
- declare const _default_45: any;
584
- export { _default_45 as FoxToast }
585
- export { _default_45 as Toast }
597
+ declare const _default_45: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
598
+ export { _default_45 as Foxcalendarpicker }
599
+ export { _default_45 as calendarpicker }
586
600
 
587
- declare const _default_46: any;
588
- export { _default_46 as FoxSearchBar }
589
- export { _default_46 as SearchBar }
601
+ declare const _default_46: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
602
+ export { _default_46 as Foxcascaderpicker }
603
+ export { _default_46 as cascaderpicker }
590
604
 
591
- declare const _default_47: any;
592
- export { _default_47 as FoxInfiniteLoading }
593
- export { _default_47 as InfiniteLoading }
605
+ declare const _default_47: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
606
+ export { _default_47 as DialogItem }
607
+ export { _default_47 as FoxDialogItem }
594
608
 
595
- declare const _default_48: any;
596
- export { _default_48 as FoxPullRefresh }
597
- export { _default_48 as PullRefresh }
609
+ declare const _default_48: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
610
+ export { _default_48 as FoxOverLay }
611
+ export { _default_48 as OverLay }
598
612
 
599
- declare const _default_49: any;
600
- export { _default_49 as FoxMapping }
601
- export { _default_49 as Mapping }
613
+ declare const _default_49: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
614
+ export { _default_49 as FoxPopup }
615
+ export { _default_49 as Popup }
602
616
 
603
- declare const _default_5: any;
617
+ declare const _default_5: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
604
618
  export { _default_5 as Content }
605
619
  export { _default_5 as FoxContent }
606
620
 
607
- declare const _default_50: any;
608
- export { _default_50 as FoxPrice }
609
- export { _default_50 as Price }
621
+ declare const _default_50: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
622
+ export { _default_50 as FoxSearchBar }
623
+ export { _default_50 as SearchBar }
610
624
 
611
- declare const _default_51: any;
612
- export { _default_51 as FoxIndicator }
613
- export { _default_51 as Indicator }
625
+ declare const _default_51: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
626
+ export { _default_51 as FoxInfiniteLoading }
627
+ export { _default_51 as InfiniteLoading }
614
628
 
615
- declare const _default_52: any;
616
- export { _default_52 as FoxText }
617
- export { _default_52 as Text }
629
+ declare const _default_52: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
630
+ export { _default_52 as FoxPullRefresh }
631
+ export { _default_52 as PullRefresh }
618
632
 
619
- declare const _default_53: any;
633
+ declare const _default_53: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
620
634
  export { _default_53 as FoxMoreButton }
621
635
  export { _default_53 as MoreButton }
622
636
 
623
- declare const _default_54: any;
637
+ declare const _default_54: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
624
638
  export { _default_54 as FloatingButton }
625
639
  export { _default_54 as FoxFloatingButton }
626
640
 
627
- declare const _default_55: any;
628
- export { _default_55 as FoxTour }
629
- export { _default_55 as Tour }
641
+ declare const _default_55: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
642
+ export { _default_55 as FoxMapping }
643
+ export { _default_55 as Mapping }
630
644
 
631
- declare const _default_56: any;
632
- export { _default_56 as FloatingWindow }
633
- export { _default_56 as FoxFloatingWindow }
645
+ declare const _default_56: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
646
+ export { _default_56 as FoxPrice }
647
+ export { _default_56 as Price }
634
648
 
635
- declare const _default_57: any;
636
- export { _default_57 as FoxPopoverDialog }
637
- export { _default_57 as PopoverDialog }
649
+ declare const _default_57: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
650
+ export { _default_57 as FoxIndicator }
651
+ export { _default_57 as Indicator }
638
652
 
639
- declare const _default_58: any;
640
- export { _default_58 as DomainProvider }
641
- export { _default_58 as FoxDomainProvider }
653
+ declare const _default_58: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
654
+ export { _default_58 as FoxText }
655
+ export { _default_58 as Text }
642
656
 
643
- declare const _default_59: any;
644
- export { _default_59 as FoxRollingProvider }
645
- export { _default_59 as RollingProvider }
657
+ declare const _default_59: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
658
+ export { _default_59 as FoxTour }
659
+ export { _default_59 as Tour }
646
660
 
647
- declare const _default_6: any;
661
+ declare const _default_6: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
648
662
  export { _default_6 as FoxGroup }
649
663
  export { _default_6 as Group }
650
664
 
651
- declare const _default_7: any;
665
+ declare const _default_60: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
666
+ export { _default_60 as FoxNumberKeyboard }
667
+ export { _default_60 as NumberKeyboard }
668
+
669
+ declare const _default_61: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
670
+ export { _default_61 as FoxShortPassword }
671
+ export { _default_61 as ShortPassword }
672
+
673
+ declare const _default_62: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
674
+ export { _default_62 as FoxSignature }
675
+ export { _default_62 as Signature }
676
+
677
+ declare const _default_63: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
678
+ export { _default_63 as DomainProvider }
679
+ export { _default_63 as FoxDomainProvider }
680
+
681
+ declare const _default_64: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
682
+ export { _default_64 as FoxRollingProvider }
683
+ export { _default_64 as RollingProvider }
684
+
685
+ declare const _default_7: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
652
686
  export { _default_7 as FoxItem }
653
687
  export { _default_7 as Item }
654
688
 
655
- declare const _default_8: any;
689
+ declare const _default_8: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
656
690
  export { _default_8 as FoxSlotItem }
657
691
  export { _default_8 as SlotItem }
658
692
 
659
- declare const _default_9: any;
693
+ declare const _default_9: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
660
694
  export { _default_9 as FoxRowItem }
661
695
  export { _default_9 as RowItem }
662
696
 
663
- /**
664
- * anyNode
665
- * @param name
666
- * @param callbacks
667
- * @returns
668
- */
669
- export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback>, proxy?: FoxComponentPublicInstance): Broadcast | null;
670
-
671
697
  /**
672
698
  * 安装config domain
699
+ * @param descriptor domain组件描述
673
700
  * @param name 名称
674
- * @param props 属性
675
- * @param ignores 忽略的属性
676
701
  * @returns
677
702
  */
678
- export declare function defineConfigDomain(name: string | null, props: Record<string, any>, ignores?: any[]): Domain;
703
+ export declare function defineConfigDomain(descriptor: DomainComponentDescriptor, name: string | null): {
704
+ domain: Domain;
705
+ exposeApi: (exposed?: FoxComponentPublicExposed) => void;
706
+ };
679
707
 
680
708
  /**
681
- * 定义domain data item
709
+ * 定义data item
710
+ * @param domain domain
711
+ * @param name 名称
712
+ * @param descriptor 描述
713
+ * @param parentBroadcast parent broadcast
714
+ * @param parentValidateSchema parent validateSchema
682
715
  * @returns
683
716
  */
684
- export declare function defineDataItem(domain: Domain, name: string, descriptor: Descriptor, parentBroadcast: Broadcast, parentValidateSchema: ValidateSchema): {
717
+ export declare function defineDataItem(domain: Domain, name: string, descriptor: ComponentDescriptor, parentBroadcast: Broadcast, parentValidateSchema: ValidateSchema): {
685
718
  broadcast: Broadcast;
686
719
  validateSchema: ValidateSchema;
720
+ componentPublicExposed: FoxComponentPublicExposed;
721
+ exposeApi: (exposed?: FoxComponentPublicExposed) => void;
687
722
  };
688
723
 
689
724
  /**
690
725
  * 安装domain
726
+ * @param descriptor domain组件描述
691
727
  * @param name 名称
692
- * @param props 属性
693
- * @param ignores 忽略的属性
694
- * @param exposes 暴露的方法
728
+ * @param broadcastCallbacks 消息
695
729
  * @returns
696
730
  */
697
- export declare function defineDomain(name: string | null, props: Record<string, any>, ignores?: any[], exposes?: Record<string, BroadcastCallback>): Domain;
731
+ export declare function defineDomain(descriptor: DomainComponentDescriptor, name: string | null, messageListeners?: Record<string, BroadcastCallback>): {
732
+ domain: Domain;
733
+ exposeApi: (exposed?: FoxComponentPublicExposed) => void;
734
+ };
735
+
736
+ /**
737
+ * 定义domain item属性
738
+ */
739
+ export declare function defineDomainItemProperty(props: {
740
+ disabled?: boolean | string;
741
+ readonly?: boolean | string;
742
+ browse?: 'off' | 'on';
743
+ }): {
744
+ itemTemplateRef: Ref<any, any>;
745
+ innerDisabled: Ref<boolean, boolean>;
746
+ disabled: Ref<boolean, boolean>;
747
+ innerReadonly: Ref<boolean, boolean>;
748
+ readonly: Ref<boolean, boolean>;
749
+ browse: Ref<"off" | "on", "off" | "on">;
750
+ };
698
751
 
699
752
  /**
700
753
  * 定义domain item
754
+ * @param descriptor 组件描述
755
+ * @param name 名称
756
+ * @param broadcastCallbacks 消息
701
757
  * @returns
702
758
  */
703
- export declare function defineItem(descriptor: Descriptor, name?: string, exposes?: Record<string, BroadcastCallback>): DomainItem;
759
+ export declare function defineItem(descriptor: ComponentDescriptor, name?: string, broadcastCallbacks?: Record<string, BroadcastCallback>): {
760
+ broadcast: Broadcast;
761
+ validateSchema: ValidateSchema;
762
+ emitEvent: (type: string, ...args: any[]) => void;
763
+ onEvent: (type: string, listener: EventListener_2) => void;
764
+ offEvent: (type: string, listener: EventListener_2) => void;
765
+ componentPublicExposed: FoxComponentPublicExposed;
766
+ exposeApi: (exposed?: FoxComponentPublicExposed) => void;
767
+ };
704
768
 
705
769
  /**
706
770
  * 创建page state
@@ -712,12 +776,16 @@ export declare function definePageState(domain: Domain, overrideProps?: Record<s
712
776
 
713
777
  /**
714
778
  * 定义simple item
779
+ * @param descriptor simple组件描述
780
+ * @param name 名称
715
781
  * @returns
716
782
  */
717
- export declare function defineSimpleItem(): {
783
+ export declare function defineSimpleItem(descriptor: SimpleComponentDescriptor, name?: string): {
718
784
  emitEvent: (type: string, ...args: any[]) => void;
719
785
  onEvent: (type: string, listener: EventListener_2) => void;
720
786
  offEvent: (type: string, listener: EventListener_2) => void;
787
+ componentPublicExposed: FoxComponentPublicExposed;
788
+ exposeApi: (exposed?: FoxComponentPublicExposed) => void;
721
789
  };
722
790
 
723
791
  /**
@@ -726,30 +794,13 @@ export declare function defineSimpleItem(): {
726
794
  */
727
795
  export declare function deleteGlobalValidator(type: string): void;
728
796
 
729
- /**
730
- * 组件描述
731
- */
732
- export declare interface Descriptor {
733
- componentName: string;
734
- fieldName?: string;
735
- valueName?: string;
736
- valueType?: ValueType;
737
- validate?: boolean;
738
- readonly?: boolean;
739
- disabled?: boolean;
740
- pureDataValidate?: boolean;
741
- validateHandler?: ValidateHandler;
742
- validateCheckEvents?: string[];
743
- validateResetEvents?: string[];
744
- }
745
-
746
797
  declare type Direction = '' | 'vertical' | 'horizontal';
747
798
 
748
799
  /**
749
800
  * 禁用属性
750
801
  * @param source
751
802
  */
752
- export declare function disabledProperty(source: Ref): Ref;
803
+ export declare function disabledProperty(source: Ref): Ref<boolean>;
753
804
 
754
805
  export { divide }
755
806
 
@@ -780,10 +831,18 @@ export declare class Domain {
780
831
  private _validateSchema;
781
832
  get validateSchema(): ValidateSchema | null;
782
833
  set validateSchema(val: ValidateSchema | null);
834
+ /**
835
+ * component public expose
836
+ */
837
+ componentPublicExposed: FoxComponentPublicExposed;
783
838
  /**
784
839
  * 属性集合
785
840
  */
786
841
  private _props;
842
+ /**
843
+ * 本地数据集合
844
+ */
845
+ private _datas;
787
846
  /**
788
847
  * 构造函数
789
848
  * @param name
@@ -793,11 +852,34 @@ export declare class Domain {
793
852
  * 销毁
794
853
  */
795
854
  destroy(): void;
855
+ /**
856
+ * 设置数据
857
+ * @param key
858
+ * @param data
859
+ */
860
+ setData(key: string | number | symbol, data: any): void;
861
+ /**
862
+ * 获取本地数据
863
+ * @param key
864
+ */
865
+ getData(key: string | number | symbol): any;
866
+ /**
867
+ * 是否有本地数据
868
+ * @param key
869
+ * @returns
870
+ */
871
+ hasData(key: string | number | symbol): boolean;
872
+ /**
873
+ * 删除本地数据
874
+ * @param key
875
+ * @returns
876
+ */
877
+ deleteData(key: string | number | symbol): boolean;
796
878
  /**
797
879
  * 合并属性
798
880
  * @param props
799
881
  */
800
- merge(props: Record<string | number, any>, ignores?: any[]): void;
882
+ merge(props: Record<string | number, any>, ignores?: string[]): void;
801
883
  /**
802
884
  * 判断是否有属性
803
885
  */
@@ -841,20 +923,15 @@ export declare class Domain {
841
923
  }
842
924
 
843
925
  /**
844
- * domain item
926
+ * Domain组件描述
845
927
  */
846
- export declare interface DomainItem {
847
- broadcast: Broadcast;
848
- validateSchema: ValidateSchema;
849
- emitEvent: {
850
- (type: string, ...args: any[]): void;
851
- };
852
- onEvent: {
853
- (type: string, listener: EventListener_2): void;
854
- };
855
- offEvent: {
856
- (type: string, listener: EventListener_2): void;
928
+ declare interface DomainComponentDescriptor {
929
+ props?: Record<string, any> | {
930
+ (): Record<string, any>;
857
931
  };
932
+ ignorePropKeys?: string[];
933
+ context: FoxSetupContext;
934
+ templateRefProxy?: FoxTemplateRefProxy;
858
935
  }
859
936
 
860
937
  /**
@@ -862,6 +939,39 @@ export declare interface DomainItem {
862
939
  */
863
940
  export declare const DomainKey: unique symbol;
864
941
 
942
+ /**
943
+ * element padding
944
+ */
945
+ export declare interface ElementPadding {
946
+ top: number;
947
+ right: number;
948
+ bottom: number;
949
+ left: number;
950
+ }
951
+
952
+ /**
953
+ * element size
954
+ */
955
+ export declare interface ElementSize {
956
+ /**
957
+ * 元素可见区域大小(clientSize,包含 padding)
958
+ */
959
+ outer: Size;
960
+ /**
961
+ * 内容区域大小(去掉 padding)
962
+ */
963
+ inner: Size;
964
+ /**
965
+ * padding 信息
966
+ */
967
+ padding: ElementPadding;
968
+ }
969
+
970
+ /**
971
+ * exposed
972
+ */
973
+ declare type EmitFn = (...args: any) => void;
974
+
865
975
  /**
866
976
  * event listener
867
977
  */
@@ -877,6 +987,11 @@ declare interface EventListener_2 {
877
987
  */
878
988
  export declare function excludeProps(src: Record<string, any>, ...excludeTemplates: Record<string, any>[]): Record<string, any>;
879
989
 
990
+ /**
991
+ * expose function
992
+ */
993
+ declare type ExposeFn = (exposed?: Record<string, any>) => void;
994
+
880
995
  /**
881
996
  * 继承(是否深度拷贝,dest,src1,src2,src3...)
882
997
  *
@@ -951,6 +1066,21 @@ export { FoxCollapseTransition }
951
1066
 
952
1067
  export { FoxColorPicker }
953
1068
 
1069
+ /**
1070
+ * component public exposed
1071
+ */
1072
+ declare type FoxComponentPublicExposed = Record<string | number | symbol, any>;
1073
+
1074
+ /**
1075
+ * component public exposed
1076
+ */
1077
+ declare type FoxComponentPublicProxy = {
1078
+ exposed: FoxComponentPublicExposed;
1079
+ $el?: HTMLElement;
1080
+ props: Record<string, any>;
1081
+ attrs: Record<string, any>;
1082
+ };
1083
+
954
1084
  export { FoxConfigProvider }
955
1085
 
956
1086
  export { FoxContainer }
@@ -1051,6 +1181,15 @@ export { FoxSelect }
1051
1181
 
1052
1182
  export { FoxSelectV2 }
1053
1183
 
1184
+ /**
1185
+ * Fox setup context
1186
+ */
1187
+ declare type FoxSetupContext = {
1188
+ attrs: Record<string, any>;
1189
+ emit: EmitFn;
1190
+ expose: ExposeFn;
1191
+ };
1192
+
1054
1193
  export { FoxSkeleton }
1055
1194
 
1056
1195
  export { FoxSkeletonItem }
@@ -1081,6 +1220,11 @@ export { FoxTabs }
1081
1220
 
1082
1221
  export { FoxTag }
1083
1222
 
1223
+ /**
1224
+ * template ref proxy
1225
+ */
1226
+ declare type FoxTemplateRefProxy = any;
1227
+
1084
1228
  export { FoxTimeline }
1085
1229
 
1086
1230
  export { FoxTimelineItem }
@@ -1099,6 +1243,90 @@ export { FoxTreeSelect }
1099
1243
 
1100
1244
  export { FoxTreeV2 }
1101
1245
 
1246
+ /**
1247
+ * Fox UI
1248
+ */
1249
+ declare interface FoxUI {
1250
+ /**
1251
+ * 版本号
1252
+ */
1253
+ version: string;
1254
+ /**
1255
+ * 安装
1256
+ * @param app
1257
+ * @param options
1258
+ */
1259
+ install(app: App, options: FoxUIOptions): any;
1260
+ /**
1261
+ * 卸载
1262
+ */
1263
+ unInstall(): void;
1264
+ /**
1265
+ * 更新Layout
1266
+ *
1267
+ * @param options
1268
+ * @param rootDomain
1269
+ */
1270
+ updateLayout(options: FoxUIOptions, rootDomain?: Domain): void;
1271
+ /**
1272
+ * 设置scope getter
1273
+ * @param getter
1274
+ */
1275
+ setScopeGetter(getter: ScopeGetter): void;
1276
+ /**
1277
+ * 获取scope getter
1278
+ * @param getter
1279
+ */
1280
+ getScopeGetter(): ScopeGetter | null;
1281
+ /**
1282
+ * 设置API
1283
+ * @param name
1284
+ * @param func
1285
+ * @param scope
1286
+ */
1287
+ setAPI(name: string, func: any, scope?: string): void;
1288
+ /**
1289
+ * 获取API
1290
+ * @param name
1291
+ * @param scope
1292
+ */
1293
+ getAPI(name: string, scope?: string): any | null;
1294
+ /**
1295
+ * 批量增加api
1296
+ * @param apis
1297
+ * @param scope
1298
+ */
1299
+ batchSetAPI(apis: Record<string, any>, scope?: string): void;
1300
+ /**
1301
+ * 清空scope apis
1302
+ * @param scope
1303
+ */
1304
+ clearScopeAPI(scope: string): void;
1305
+ /**
1306
+ * 获取root domain
1307
+ */
1308
+ getRootDomain(): Domain;
1309
+ }
1310
+
1311
+ /**
1312
+ * UI Options
1313
+ */
1314
+ declare interface FoxUIOptions {
1315
+ install?: boolean;
1316
+ componentPrefix?: string;
1317
+ autoAdjustPageLayout?: boolean;
1318
+ resizeDebounceDelay?: number;
1319
+ headerBarHeight?: number;
1320
+ footerBarHeight?: number;
1321
+ safeAreaInset?: SafeAreaInset;
1322
+ pageLayout?: PageLayout;
1323
+ headerPadding?: Rect;
1324
+ contentPadding?: Rect;
1325
+ groupLayout?: GroupLayout;
1326
+ labelWidth?: number | string;
1327
+ [propName: string]: any;
1328
+ }
1329
+
1102
1330
  /**
1103
1331
  * Fox UI vue实例
1104
1332
  */
@@ -1111,6 +1339,14 @@ declare class FoxUIVue implements FoxUI {
1111
1339
  * 安装器
1112
1340
  */
1113
1341
  private installers;
1342
+ /**
1343
+ * resize监听器
1344
+ */
1345
+ private resizeListener;
1346
+ /**
1347
+ * resize observer
1348
+ */
1349
+ private resizeObserver;
1114
1350
  /**
1115
1351
  * version
1116
1352
  */
@@ -1129,17 +1365,25 @@ declare class FoxUIVue implements FoxUI {
1129
1365
  */
1130
1366
  install(app: App, options?: FoxUIOptions): any;
1131
1367
  /**
1132
- * 初始化page Layout
1368
+ * 卸载
1369
+ */
1370
+ unInstall(): void;
1371
+ /**
1372
+ * 更新Layout
1133
1373
  *
1134
1374
  * @param options
1135
1375
  * @param rootDomain
1136
1376
  */
1137
- initPageLayout(options: FoxUIOptions, rootDomain?: Domain): void;
1377
+ updateLayout(options: FoxUIOptions, rootDomain?: Domain): void;
1138
1378
  /**
1139
1379
  * 设置scope getter
1140
1380
  * @param getter
1141
1381
  */
1142
1382
  setScopeGetter(getter: ScopeGetter): void;
1383
+ /**
1384
+ * 获取scope getter
1385
+ */
1386
+ getScopeGetter(): ScopeGetter | null;
1143
1387
  /**
1144
1388
  * 设置API
1145
1389
  * @param name
@@ -1153,7 +1397,7 @@ declare class FoxUIVue implements FoxUI {
1153
1397
  * @param name
1154
1398
  * @param scope
1155
1399
  */
1156
- getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
1400
+ getAPI(name: string, scope?: string): any | null;
1157
1401
  /**
1158
1402
  * 批量增加api
1159
1403
  * @param apis
@@ -1182,6 +1426,12 @@ export declare interface GenericFunction {
1182
1426
  (...args: any[]): any;
1183
1427
  }
1184
1428
 
1429
+ /**
1430
+ * icons
1431
+ * @returns
1432
+ */
1433
+ export declare function getGlobalIcons(): Icons;
1434
+
1185
1435
  /**
1186
1436
  * 获取公共校验检查事件
1187
1437
  */
@@ -1230,11 +1480,73 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
1230
1480
  */
1231
1481
  export declare function getRootDomain(): Domain;
1232
1482
 
1483
+ /**
1484
+ * Layout信息接口
1485
+ */
1486
+ declare interface GroupLayout {
1487
+ type?: string;
1488
+ width?: number | string;
1489
+ column?: number;
1490
+ gutter?: number | string;
1491
+ }
1492
+
1233
1493
  /**
1234
1494
  * 是否支持symbol
1235
1495
  */
1236
1496
  export declare const hasSymbol: boolean;
1237
1497
 
1498
+ /**
1499
+ * hint text function
1500
+ */
1501
+ declare const HintTextFunction: HintTextTooltip;
1502
+ export { HintTextFunction as FoxHintText }
1503
+ export { HintTextFunction as HintText }
1504
+
1505
+ declare interface HintTextTooltip {
1506
+ /**
1507
+ * 显示
1508
+ * @param reference(引用组件 or 位置区域)
1509
+ * @param message
1510
+ * @param opts
1511
+ * @param only
1512
+ * @returns
1513
+ */
1514
+ show(reference: HTMLElement, message: string, opts: Record<string, any>, only?: boolean): string;
1515
+ /**
1516
+ * 显示(在指定区域显示)
1517
+ * @param referenceRect
1518
+ * @param message
1519
+ * @param opts
1520
+ * @param only
1521
+ * @returns
1522
+ */
1523
+ showInRect(referenceRect: InsetRect, message: string, opts: Record<string, any>, only?: boolean): string;
1524
+ /**
1525
+ * 隐藏
1526
+ * @param id
1527
+ */
1528
+ hide(id?: string): void;
1529
+ /**
1530
+ * 额外属性
1531
+ */
1532
+ [propName: string]: any;
1533
+ }
1534
+
1535
+ declare type Icons = {
1536
+ headerbar: {
1537
+ Left?: any;
1538
+ };
1539
+ radio: {
1540
+ CheckNormal?: any;
1541
+ Checked?: any;
1542
+ };
1543
+ checkbox: {
1544
+ CheckNormal?: any;
1545
+ Checked?: any;
1546
+ Indeterminate?: any;
1547
+ };
1548
+ };
1549
+
1238
1550
  /**
1239
1551
  * 根据包含模版,抽取属性
1240
1552
  * @param src
@@ -1251,6 +1563,24 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
1251
1563
  */
1252
1564
  export declare function indexOf(x: unknown, arr: unknown[]): number;
1253
1565
 
1566
+ /**
1567
+ * 获取是否为虚拟页面范围
1568
+ * @param defaultValue
1569
+ */
1570
+ export declare function injectPageScopeState(): PageScopeState;
1571
+
1572
+ /**
1573
+ * inner page scope key(内部页面,默认适配父亲容器尺寸,not watch resize)
1574
+ */
1575
+ export declare const InnerPageScopeKey: unique symbol;
1576
+
1577
+ declare type InsetRect = {
1578
+ top: number | null;
1579
+ right: number | null;
1580
+ bottom: number | null;
1581
+ left: number | null;
1582
+ };
1583
+
1254
1584
  /**
1255
1585
  * 安装函数
1256
1586
  */
@@ -1288,6 +1618,13 @@ export declare const isBrowser: boolean;
1288
1618
  */
1289
1619
  export declare const isDate: (val: unknown) => val is Date;
1290
1620
 
1621
+ /**
1622
+ * 是否display none
1623
+ * @param el
1624
+ * @returns
1625
+ */
1626
+ export declare function isDisplayNone(el: HTMLElement): boolean;
1627
+
1291
1628
  /**
1292
1629
  * 是否空字符串
1293
1630
  * @param v
@@ -1318,20 +1655,14 @@ export declare function isESModule(obj: any): obj is Object;
1318
1655
  export declare const isFunction: (val: unknown) => val is Function;
1319
1656
 
1320
1657
  /**
1321
- * 是否是隐藏element
1322
- * @param el
1658
+ * 是否是隐藏 element(自身或任意父级隐藏)
1659
+ * - display: none
1660
+ * - visibility: hidden
1661
+ * - hidden 属性
1662
+ * - 父级隐藏
1323
1663
  */
1324
1664
  export declare function isHidden(el: any): boolean;
1325
1665
 
1326
- /**
1327
- * 是否为内嵌页面
1328
- * 内嵌页面为内嵌在容器内,如dialog,不需要设置content的高度
1329
- * @param domain
1330
- * @param proxy
1331
- * @returns
1332
- */
1333
- export declare function isInnerPage(domain: Domain, proxy: any): boolean;
1334
-
1335
1666
  /**
1336
1667
  * 是否为Map
1337
1668
  * @param val
@@ -1416,6 +1747,13 @@ export declare function isTouch(): boolean;
1416
1747
  */
1417
1748
  export declare function isWindow(obj: any): boolean;
1418
1749
 
1750
+ /**
1751
+ * 中划线格式转换为大驼峰
1752
+ * @param str
1753
+ * @returns
1754
+ */
1755
+ export declare function kebabToPascal(str: string): string;
1756
+
1419
1757
  /**
1420
1758
  * 获取对应元素的在数组中最后一个匹配的索引
1421
1759
  * @param x
@@ -1493,6 +1831,13 @@ export declare const objectToString: () => string;
1493
1831
  */
1494
1832
  export declare function once(func: GenericFunction): GenericFunction;
1495
1833
 
1834
+ /**
1835
+ * 覆盖更新公共Icon
1836
+ * @param icons
1837
+ * @param merge
1838
+ */
1839
+ export declare function overrideGlobalIcons(newIcons: Partial<Icons>): void;
1840
+
1496
1841
  /**
1497
1842
  * 覆盖更新公共的校验处理器
1498
1843
  * @param validateHandler
@@ -1503,12 +1848,17 @@ export declare function overrideGlobalValidateHandler(validateHandler: Partial<V
1503
1848
  * padding
1504
1849
  */
1505
1850
  export declare interface Padding {
1506
- left: number | null;
1507
- top: number | null;
1508
- right: number | null;
1509
- bottom: number | null;
1851
+ left: number | string | null;
1852
+ top: number | string | null;
1853
+ right: number | string | null;
1854
+ bottom: number | string | null;
1510
1855
  }
1511
1856
 
1857
+ /**
1858
+ * pad zero
1859
+ */
1860
+ export declare const padZero: (num: number | string, length?: number) => string;
1861
+
1512
1862
  /**
1513
1863
  * page layout
1514
1864
  */
@@ -1517,11 +1867,22 @@ export declare interface PageLayout {
1517
1867
  height?: number | string;
1518
1868
  headerHeight?: number | string;
1519
1869
  footerHeight?: number | string;
1520
- headerPadding?: Padding;
1521
- footerPadding?: Padding;
1522
- contentPadding?: Padding;
1870
+ headerPadding?: Partial<Padding>;
1871
+ footerPadding?: Partial<Padding>;
1872
+ contentPadding?: Partial<Padding>;
1523
1873
  }
1524
1874
 
1875
+ /**
1876
+ * 页面scope状态
1877
+ */
1878
+ export declare type PageScopeState = PageStructure & {
1879
+ isAbstractPage: boolean;
1880
+ isInnerPage: boolean;
1881
+ };
1882
+
1883
+ /**
1884
+ * page state
1885
+ */
1525
1886
  export declare interface PageState {
1526
1887
  width: number;
1527
1888
  height: number;
@@ -1543,6 +1904,22 @@ export declare interface PageState {
1543
1904
  footerMounted?: boolean;
1544
1905
  }
1545
1906
 
1907
+ /**
1908
+ * 页面结构
1909
+ */
1910
+ export declare type PageStructure = {
1911
+ hasHeaderBar?: boolean;
1912
+ hasFooterBar?: boolean;
1913
+ hasContent?: boolean;
1914
+ };
1915
+
1916
+ /**
1917
+ * 大驼峰转换为中划线
1918
+ * @param str
1919
+ * @returns
1920
+ */
1921
+ export declare function pascalToKebab<T extends string>(str: string): string;
1922
+
1546
1923
  /**
1547
1924
  * 持久消息
1548
1925
  */
@@ -1560,6 +1937,13 @@ export declare interface Point {
1560
1937
  y: number;
1561
1938
  }
1562
1939
 
1940
+ /**
1941
+ * prevent default
1942
+ * @param event
1943
+ * @param isStopPropagation
1944
+ */
1945
+ export declare function preventDefault(event: Event, isStopPropagation?: boolean): void;
1946
+
1563
1947
  /**
1564
1948
  * 优先策略
1565
1949
  */
@@ -1575,7 +1959,22 @@ export declare enum PriorityPolicy {
1575
1959
  * @param policy
1576
1960
  * @param filter
1577
1961
  */
1578
- export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
1962
+ export declare function property<T>(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref<T>;
1963
+
1964
+ /**
1965
+ * 设置虚拟页面范围
1966
+ * 虚拟页面,默认情况下不生成page、headerBar、footerBar、content,直接reader content内部组件
1967
+ * 也可以通过AbstractPageScope对象设置选择生成headerBar or footerBar or content 部分结构
1968
+ * @param value
1969
+ */
1970
+ export declare function provideAbstractPageScope(value: boolean | PageStructure): void;
1971
+
1972
+ /**
1973
+ * 设置内部页面范围
1974
+ * 内部页面,默认适配父亲容器尺寸,not watch resize
1975
+ * @param value
1976
+ */
1977
+ export declare function provideInnerPageScope(value: boolean | PageStructure): void;
1579
1978
 
1580
1979
  export declare const raf: any;
1581
1980
 
@@ -1583,9 +1982,19 @@ export declare const raf: any;
1583
1982
  * 只读属性
1584
1983
  * @param source
1585
1984
  */
1586
- export declare function readonlyProperty(source: Ref): Ref;
1985
+ export declare function readonlyProperty(source: Ref): Ref<boolean>;
1587
1986
 
1987
+ /**
1988
+ * Rect类型
1989
+ */
1588
1990
  declare interface Rect {
1991
+ left: number;
1992
+ top: number;
1993
+ right: number;
1994
+ bottom: number;
1995
+ }
1996
+
1997
+ declare interface Rect_2 {
1589
1998
  top: number;
1590
1999
  left: number;
1591
2000
  right: number;
@@ -1619,6 +2028,14 @@ export declare interface SafeAreaInset {
1619
2028
  bottom: number | string;
1620
2029
  }
1621
2030
 
2031
+ /**
2032
+ * scope getter
2033
+ * 需要保证该函数能够在 InjectionContext 上下文中允许
2034
+ */
2035
+ declare interface ScopeGetter {
2036
+ (): string | null;
2037
+ }
2038
+
1622
2039
  /**
1623
2040
  * 设置公共校验检查事件
1624
2041
  * @param events
@@ -1649,6 +2066,13 @@ export declare function setGlobalValidateResetEvents(events: string[]): void;
1649
2066
  */
1650
2067
  export declare function setGlobalValidator(type: string, validator: ExecuteValidator): void;
1651
2068
 
2069
+ /**
2070
+ * simple组件描述
2071
+ */
2072
+ declare interface SimpleComponentDescriptor {
2073
+ context: FoxSetupContext;
2074
+ }
2075
+
1652
2076
  /**
1653
2077
  * size
1654
2078
  */
@@ -1665,6 +2089,18 @@ declare interface Size {
1665
2089
  */
1666
2090
  export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
1667
2091
 
2092
+ declare const ToastFunction: {
2093
+ text(msg: string, opts?: {}): /*elided*/ any;
2094
+ success(msg: string, opts?: {}): /*elided*/ any;
2095
+ fail(msg: string, opts?: {}): /*elided*/ any;
2096
+ warn(msg: string, opts?: {}): /*elided*/ any;
2097
+ loading(msg: string, opts?: {}): /*elided*/ any;
2098
+ hide(id?: string): void;
2099
+ install(app: any): void;
2100
+ };
2101
+ export { ToastFunction as FoxToast }
2102
+ export { ToastFunction as Toast }
2103
+
1668
2104
  /**
1669
2105
  * 转换为boolean值
1670
2106
  * @param val
@@ -1691,13 +2127,15 @@ export declare function toPadding(rect: any): Padding;
1691
2127
  */
1692
2128
  export declare function toPx(value: number | string, size?: number): number;
1693
2129
 
2130
+ export declare const toPxDesc: (value: string | number, size?: number) => string;
2131
+
1694
2132
  /**
1695
- * to px desc
2133
+ * to px string
1696
2134
  * @param value
1697
2135
  * @parma size
1698
2136
  * @returns
1699
2137
  */
1700
- export declare const toPxDesc: (value: string | number, size?: number) => string;
2138
+ export declare const toPxString: (value: string | number, size?: number) => string;
1701
2139
 
1702
2140
  export declare const toTypeString: (value: unknown) => string;
1703
2141
 
@@ -1775,25 +2213,27 @@ export declare function updatePageState(state: PageState, pageLayout: any, overr
1775
2213
 
1776
2214
  /**
1777
2215
  * 使用broadcast
1778
- * @param proxy
2216
+ * @param expose
1779
2217
  * @returns
1780
2218
  */
1781
- export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null): Broadcast | null;
2219
+ export declare function useBroadcast(exposed?: FoxComponentPublicExposed): Broadcast | null;
1782
2220
 
1783
2221
  /**
1784
2222
  * 获取当前domain
1785
2223
  * @returns
1786
2224
  */
1787
- export declare function useDomain(proxy?: ComponentPublicInstance | null): Domain | null;
2225
+ export declare function useDomain(): Domain | null;
1788
2226
 
1789
2227
  /**
1790
- * use expose
1791
- * @param apis
2228
+ * 获取元素尺寸信息
2229
+ *
2230
+ * outer = clientWidth/clientHeight(包含 padding)
2231
+ * inner = client - padding
1792
2232
  */
1793
- export declare function useExpose(apis: Record<string, any>, instance?: ComponentInternalInstance | null): void;
2233
+ export declare function useElementSize(elementRef: Element | Ref<Element>): ElementSize;
1794
2234
 
1795
2235
  /**
1796
- * 获取内部可用size
2236
+ * 获取内部可用size(inner size)
1797
2237
  * @param elementRef
1798
2238
  * @returns
1799
2239
  */
@@ -1838,15 +2278,24 @@ export declare function useRawTouch(): {
1838
2278
  };
1839
2279
  };
1840
2280
 
1841
- export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
2281
+ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
1842
2282
 
1843
2283
  /**
1844
- * 获取size
2284
+ * 获取size(outer size)
1845
2285
  * @param elementRef
1846
2286
  * @returns
1847
2287
  */
1848
2288
  export declare function useSize(elementRef: Element | Ref<Element>): Size;
1849
2289
 
2290
+ /**
2291
+ * 获取child slot
2292
+ * @param slot
2293
+ * @returns
2294
+ */
2295
+ export declare function useSlotChildren(slot?: () => VNode[]): {
2296
+ getChildren: () => VNode[];
2297
+ };
2298
+
1850
2299
  /**
1851
2300
  * 获取响应式touch对象
1852
2301
  * @returns
@@ -1855,70 +2304,54 @@ export declare function useTouch(): {
1855
2304
  move: EventListener;
1856
2305
  start: EventListener;
1857
2306
  reset: () => void;
1858
- startX: any;
1859
- startY: any;
1860
- startTime: any;
1861
- duration: any;
1862
- moveX: any;
1863
- moveY: any;
1864
- deltaX: any;
1865
- deltaY: any;
1866
- offsetX: any;
1867
- offsetY: any;
1868
- direction: any;
2307
+ startX: Ref<number, number>;
2308
+ startY: Ref<number, number>;
2309
+ startTime: Ref<number, number>;
2310
+ duration: Ref<number, number>;
2311
+ moveX: Ref<number, number>;
2312
+ moveY: Ref<number, number>;
2313
+ deltaX: Ref<number, number>;
2314
+ deltaY: Ref<number, number>;
2315
+ offsetX: Ref<number, number>;
2316
+ offsetY: Ref<number, number>;
2317
+ direction: Ref<Direction, Direction>;
1869
2318
  isVertical: () => boolean;
1870
2319
  isHorizontal: () => boolean;
1871
2320
  };
1872
2321
 
1873
- /**
1874
- * 校验条件
1875
- */
1876
- export declare interface ValidateCondition {
1877
- deep?: boolean;
1878
- include?: string[];
1879
- exclude?: string[];
1880
- ignoreHidden?: boolean;
1881
- ignoreDisabled?: boolean;
1882
- ignoreReadonly?: boolean;
1883
- }
1884
-
1885
2322
  /**
1886
2323
  * 校验器handler
1887
2324
  */
1888
- export declare interface ValidateHandler {
2325
+ declare interface ValidateHandler {
1889
2326
  /**
1890
2327
  * 错误处理
1891
2328
  * @param errorMsg
1892
2329
  * @param proxy
1893
2330
  *
1894
2331
  */
1895
- error?(errorMsg: string, proxy: FoxComponentPublicInstance): void;
2332
+ error?(errorMsg: string, proxy: FoxComponentPublicProxy): void;
1896
2333
  /**
1897
2334
  * 重置处理
1898
2335
  * @param proxy
1899
- *
1900
2336
  */
1901
- reset?(proxy: FoxComponentPublicInstance): void;
2337
+ reset?(proxy: FoxComponentPublicProxy): void;
1902
2338
  /**
1903
2339
  * 成功处理
1904
2340
  * @param proxy
1905
- *
1906
2341
  */
1907
- success?(proxy: FoxComponentPublicInstance): void;
2342
+ success?(proxy: FoxComponentPublicProxy): void;
1908
2343
  /**
1909
2344
  * 规则装饰处理
1910
2345
  * @param newRule
1911
2346
  * @param oldRule
1912
2347
  * @param proxy
1913
- *
1914
2348
  */
1915
- decorate?(newRule: Rule, oldRule: Rule, proxy: FoxComponentPublicInstance): void;
2349
+ decorate?(newRule: Rule, oldRule: Rule, proxy: FoxComponentPublicProxy): void;
1916
2350
  /**
1917
2351
  * 获取value
1918
2352
  * @param proxy
1919
- *
1920
2353
  */
1921
- getValue?(proxy: FoxComponentPublicInstance): any;
2354
+ getValue?(proxy: FoxComponentPublicProxy): any;
1922
2355
  }
1923
2356
 
1924
2357
  /**
@@ -1946,7 +2379,7 @@ export declare class ValidateSchema {
1946
2379
  */
1947
2380
  private descriptor;
1948
2381
  /**
1949
- * 实例
2382
+ * 组件public proxy
1950
2383
  */
1951
2384
  private proxy;
1952
2385
  /**
@@ -1959,7 +2392,7 @@ export declare class ValidateSchema {
1959
2392
  * @param descriptor
1960
2393
  * @param proxy
1961
2394
  */
1962
- constructor(parent: ValidateSchema | null, descriptor: Descriptor, proxy: FoxComponentPublicInstance);
2395
+ constructor(parent: ValidateSchema | null, descriptor: ComponentDescriptor, proxy: FoxComponentPublicProxy);
1963
2396
  /**
1964
2397
  * 初始化
1965
2398
  */
@@ -2043,7 +2476,7 @@ export declare class ValidateSchema {
2043
2476
  export declare const ValidateSchemaKey: unique symbol;
2044
2477
 
2045
2478
  /**
2046
- * value 格式话
2479
+ * value 格式化
2047
2480
  */
2048
2481
  export declare interface ValueFormat<T, K> {
2049
2482
  (value: T): K;
@@ -2059,6 +2492,6 @@ export declare function valueLength(val: unknown): number;
2059
2492
  /**
2060
2493
  * value 类型
2061
2494
  */
2062
- export declare type ValueType = 'string' | 'number' | 'date';
2495
+ declare type ValueType = 'string' | 'number' | 'date';
2063
2496
 
2064
2497
  export { }