@fox-js/foxui-pc 4.1.1-3 → 4.1.1-30

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.
@@ -2,125 +2,140 @@ import { App } from 'vue';
2
2
  import { compareTo } from '@fox-js/big-decimal';
3
3
  import { ComponentInternalInstance } from 'vue';
4
4
  import { ComponentPublicInstance } from 'vue';
5
+ import { DefineSetupFnComponent } from 'vue';
5
6
  import { divide } from '@fox-js/big-decimal';
6
7
  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 { ElLink as FoxLink } from './base';
60
- import { ElMain as FoxMain } from './base';
61
- import { ElMenu as FoxMenu } from './base';
62
- import { ElMenuItem as FoxMenuItem } from './base';
63
- import { ElMenuItemGroup as FoxMenuItemGroup } from './base';
64
- import { ElMessage as FoxMessage } from './base';
65
- import { ElMessageBox as FoxMessageBox } from './base';
66
- import { ElNotification as FoxNotification } from './base';
67
- import { ElOption as FoxOption } from './base';
68
- import { ElOptionGroup as FoxOptionGroup } from './base';
69
- import { ElPageHeader as FoxPageHeader } from './base';
70
- import { ElPagination as FoxPagination } from './base';
71
- import { ElPopconfirm as FoxPopconfirm } from './base';
72
- import { ElPopover as FoxPopover } from './base';
73
- import { ElPopper as FoxPopper } from './base';
74
- import { ElProgress as FoxProgress } from './base';
75
- import { ElRadio as FoxRadio } from './base';
76
- import { ElRadioButton as FoxRadioButton } from './base';
77
- import { ElRadioGroup as FoxRadioGroup } from './base';
78
- import { ElRate as FoxRate } from './base';
79
- import { ElResult as FoxResult } from './base';
80
- import { ElRow as FoxRow } from './base';
81
- import { ElScrollbar as FoxScrollbar } from './base';
82
- import { ElSegmented as FoxSegmented } from './base';
83
- import { ElSelect as FoxSelect } from './base';
84
- import { ElSelectV2 as FoxSelectV2 } from './base';
85
- import { ElSkeleton as FoxSkeleton } from './base';
86
- import { ElSkeletonItem as FoxSkeletonItem } from './base';
87
- import { ElSlider as FoxSlider } from './base';
88
- import { ElSpace as FoxSpace } from './base';
89
- import { ElStatistic as FoxStatistic } from './base';
90
- import { ElStep as FoxStep } from './base';
91
- import { ElSteps as FoxSteps } from './base';
92
- import { ElSubMenu as FoxSubMenu } from './base';
93
- import { ElSwitch as FoxSwitch } from './base';
94
- import { ElTable as FoxTable } from './base';
95
- import { ElTableColumn as FoxTableColumn } from './base';
96
- import { ElTableV2 as FoxTableV2 } from './base';
97
- import { ElTabPane as FoxTabPane } from './base';
98
- import { ElTabs as FoxTabs } from './base';
99
- import { ElTag as FoxTag } from './base';
100
- import { ElTimeline as FoxTimeline } from './base';
101
- import { ElTimelineItem as FoxTimelineItem } from './base';
102
- import { ElTimePicker as FoxTimePicker } from './base';
103
- import { ElTimeSelect as FoxTimeSelect } from './base';
104
- import { ElTooltip as FoxTooltip } from './base';
105
- import { ElTransfer as FoxTransfer } from './base';
106
- import { ElTree as FoxTree } from './base';
107
- import { ElTreeSelect as FoxTreeSelect } from './base';
108
- import { ElTreeV2 as FoxTreeV2 } from './base';
109
- import { FoxUI } from './interface';
110
- import { FoxUIOptions } from './interface';
111
- import { ElUpload as FoxUpload } from './base';
112
- import { ElWatermark as FoxWatermark } from './base';
8
+ import { ElAffix as FoxAffix } from 'element-plus';
9
+ import { ElAlert as FoxAlert } from 'element-plus';
10
+ import { ElAnchor as FoxAnchor } from 'element-plus';
11
+ import { ElAnchorLink as FoxAnchorLink } from 'element-plus';
12
+ import { ElAside as FoxAside } from 'element-plus';
13
+ import { ElAutocomplete as FoxAutocomplete } from 'element-plus';
14
+ import { ElAutoResizer as FoxAutoResizer } from 'element-plus';
15
+ import { ElAvatar as FoxAvatar } from 'element-plus';
16
+ import { ElBacktop as FoxBacktop } from 'element-plus';
17
+ import { ElBadge as FoxBadge } from 'element-plus';
18
+ import { ElBreadcrumb as FoxBreadcrumb } from 'element-plus';
19
+ import { ElBreadcrumbItem as FoxBreadcrumbItem } from 'element-plus';
20
+ import { ElButton as FoxButton } from 'element-plus';
21
+ import { ElButtonGroup as FoxButtonGroup } from 'element-plus';
22
+ import { ElCalendar as FoxCalendar } from 'element-plus';
23
+ import { ElCard as FoxCard } from 'element-plus';
24
+ import { ElCarousel as FoxCarousel } from 'element-plus';
25
+ import { ElCarouselItem as FoxCarouselItem } from 'element-plus';
26
+ import { ElCascader as FoxCascader } from 'element-plus';
27
+ import { ElCascaderPanel as FoxCascaderPanel } from 'element-plus';
28
+ import { ElCheckbox as FoxCheckbox } from 'element-plus';
29
+ import { ElCheckboxButton as FoxCheckboxButton } from 'element-plus';
30
+ import { ElCheckboxGroup as FoxCheckboxGroup } from 'element-plus';
31
+ import { ElCheckTag as FoxCheckTag } from 'element-plus';
32
+ import { ElCol as FoxCol } from 'element-plus';
33
+ import { ElCollapse as FoxCollapse } from 'element-plus';
34
+ import { ElCollapseItem as FoxCollapseItem } from 'element-plus';
35
+ import { ElCollapseTransition as FoxCollapseTransition } from 'element-plus';
36
+ import { ElColorPicker as FoxColorPicker } from 'element-plus';
37
+ import { ElConfigProvider as FoxConfigProvider } from 'element-plus';
38
+ import { ElContainer as FoxContainer } from 'element-plus';
39
+ import { ElCountdown as FoxCountdown } from 'element-plus';
40
+ import { ElDatePicker as FoxDatePicker } from 'element-plus';
41
+ import { ElDescriptions as FoxDescriptions } from 'element-plus';
42
+ import { ElDescriptionsItem as FoxDescriptionsItem } from 'element-plus';
43
+ import { ElDialog as FoxDialog } from 'element-plus';
44
+ import { ElDivider as FoxDivider } from 'element-plus';
45
+ import { ElDrawer as FoxDrawer } from 'element-plus';
46
+ import { ElDropdown as FoxDropdown } from 'element-plus';
47
+ import { ElDropdownItem as FoxDropdownItem } from 'element-plus';
48
+ import { ElDropdownMenu as FoxDropdownMenu } from 'element-plus';
49
+ import { ElEmpty as FoxEmpty } from 'element-plus';
50
+ import { ElFooter as FoxFooter } from 'element-plus';
51
+ import { ElForm as FoxForm } from 'element-plus';
52
+ import { ElFormItem as FoxFormItem } from 'element-plus';
53
+ import { ElHeader as FoxHeader } from 'element-plus';
54
+ import { ElIcon as FoxIcon } from 'element-plus';
55
+ import { ElImage as FoxImage } from 'element-plus';
56
+ import { ElImageViewer as FoxImageViewer } from 'element-plus';
57
+ import { ElInput as FoxInput } from 'element-plus';
58
+ import { ElInputNumber as FoxInputNumber } from 'element-plus';
59
+ import { ElInputTag as FoxInputTag } from 'element-plus';
60
+ import { ElLink as FoxLink } from 'element-plus';
61
+ import { ElMain as FoxMain } from 'element-plus';
62
+ import { ElMention as FoxMention } from 'element-plus';
63
+ import { ElMenu as FoxMenu } from 'element-plus';
64
+ import { ElMenuItem as FoxMenuItem } from 'element-plus';
65
+ import { ElMenuItemGroup as FoxMenuItemGroup } from 'element-plus';
66
+ import { ElMessage as FoxMessage } from 'element-plus';
67
+ import { ElMessageBox as FoxMessageBox } from 'element-plus';
68
+ import { ElNotification as FoxNotification } from 'element-plus';
69
+ import { ElOption as FoxOption } from 'element-plus';
70
+ import { ElOptionGroup as FoxOptionGroup } from 'element-plus';
71
+ import { ElPageHeader as FoxPageHeader } from 'element-plus';
72
+ import { ElPagination as FoxPagination } from 'element-plus';
73
+ import { ElPopconfirm as FoxPopconfirm } from 'element-plus';
74
+ import { ElPopover as FoxPopover } from 'element-plus';
75
+ import { ElPopper as FoxPopper } from 'element-plus';
76
+ import { ElProgress as FoxProgress } from 'element-plus';
77
+ import { ElRadio as FoxRadio } from 'element-plus';
78
+ import { ElRadioButton as FoxRadioButton } from 'element-plus';
79
+ import { ElRadioGroup as FoxRadioGroup } from 'element-plus';
80
+ import { ElRate as FoxRate } from 'element-plus';
81
+ import { ElResult as FoxResult } from 'element-plus';
82
+ import { ElRow as FoxRow } from 'element-plus';
83
+ import { ElScrollbar as FoxScrollbar } from 'element-plus';
84
+ import { ElSegmented as FoxSegmented } from 'element-plus';
85
+ import { ElSelect as FoxSelect } from 'element-plus';
86
+ import { ElSelectV2 as FoxSelectV2 } from 'element-plus';
87
+ import { ElSkeleton as FoxSkeleton } from 'element-plus';
88
+ import { ElSkeletonItem as FoxSkeletonItem } from 'element-plus';
89
+ import { ElSlider as FoxSlider } from 'element-plus';
90
+ import { ElSpace as FoxSpace } from 'element-plus';
91
+ import { ElStatistic as FoxStatistic } from 'element-plus';
92
+ import { ElStep as FoxStep } from 'element-plus';
93
+ import { ElSteps as FoxSteps } from 'element-plus';
94
+ import { ElSubMenu as FoxSubMenu } from 'element-plus';
95
+ import { ElSwitch as FoxSwitch } from 'element-plus';
96
+ import { ElTable as FoxTable } from 'element-plus';
97
+ import { ElTableColumn as FoxTableColumn } from 'element-plus';
98
+ import { ElTableV2 as FoxTableV2 } from 'element-plus';
99
+ import { ElTabPane as FoxTabPane } from 'element-plus';
100
+ import { ElTabs as FoxTabs } from 'element-plus';
101
+ import { ElTag as FoxTag } from 'element-plus';
102
+ import { ElTimeline as FoxTimeline } from 'element-plus';
103
+ import { ElTimelineItem as FoxTimelineItem } from 'element-plus';
104
+ import { ElTimePicker as FoxTimePicker } from 'element-plus';
105
+ import { ElTimeSelect as FoxTimeSelect } from 'element-plus';
106
+ import { ElTooltip as FoxTooltip } from 'element-plus';
107
+ import { ElTransfer as FoxTransfer } from 'element-plus';
108
+ import { ElTree as FoxTree } from 'element-plus';
109
+ import { ElTreeSelect as FoxTreeSelect } from 'element-plus';
110
+ import { ElTreeV2 as FoxTreeV2 } from 'element-plus';
111
+ import { ElUpload as FoxUpload } from 'element-plus';
112
+ import { ElWatermark as FoxWatermark } from 'element-plus';
113
113
  import { multiply } from '@fox-js/big-decimal';
114
114
  import { negate } from '@fox-js/big-decimal';
115
115
  import { numberFormat } from '@fox-js/big-decimal';
116
+ import { PublicProps } from 'vue';
116
117
  import { Ref } from 'vue';
117
118
  import { Rule } from '@fox-js/validator';
118
- import { ScopeGetter } from './api';
119
119
  import { unNumberFormat } from '@fox-js/big-decimal';
120
120
  import { UnwrapNestedRefs } from 'vue';
121
121
  import { UnwrapRef } from 'vue';
122
122
  import { ValidateMessages } from '@fox-js/validator';
123
123
  import { ValidateResult } from '@fox-js/validator';
124
+ import { VNode } from 'vue';
125
+
126
+ /**
127
+ * 虚拟页面范围
128
+ */
129
+ export declare type AbstractPageScope = {
130
+ headerBar?: boolean;
131
+ footerBar?: boolean;
132
+ content?: boolean;
133
+ };
134
+
135
+ /**
136
+ * abstract page scope key(虚拟页面,不生成page、headerBar、footerBar、content,直接reader content内部组件)
137
+ */
138
+ export declare const AbstractPageScopeKey: unique symbol;
124
139
 
125
140
  /**
126
141
  * 是否接受value过滤器
@@ -153,6 +168,10 @@ export declare class Broadcast {
153
168
  * 名称
154
169
  */
155
170
  private name?;
171
+ /**
172
+ * 持久消息注册表
173
+ */
174
+ private persistantMessages;
156
175
  /**
157
176
  * 构造函数
158
177
  * @param parent
@@ -174,6 +193,46 @@ export declare class Broadcast {
174
193
  * 销毁
175
194
  */
176
195
  destroy(): void;
196
+ /**
197
+ * 设置持久化消息
198
+ * @param matched
199
+ * @param action
200
+ * @param args
201
+ */
202
+ private setPersistantMessage;
203
+ /**
204
+ * 删除持久化消息
205
+ * @param matched
206
+ * @param action
207
+ * @param args
208
+ */
209
+ private deletePersistantMessage;
210
+ /**
211
+ * 获取持久化消息列表
212
+ * @returns
213
+ */
214
+ getPersistantMessages(): PersistantMessage[];
215
+ /**
216
+ * 清空持久化消息列表
217
+ */
218
+ clearPersistantMessage(): void;
219
+ /**
220
+ * 判断是否匹配
221
+ * @param name
222
+ * @param matched
223
+ * @returns
224
+ */
225
+ private isMatched;
226
+ /**
227
+ * 触发函数
228
+ * @param action
229
+ * @param args
230
+ */
231
+ private trigger;
232
+ /**
233
+ * 拉取持久消息
234
+ */
235
+ pull(): void;
177
236
  /**
178
237
  * 发生消息
179
238
  * @param matched
@@ -204,24 +263,33 @@ export declare interface BroadcastCallback {
204
263
  (...args: any[]): Result;
205
264
  }
206
265
 
266
+ /**
267
+ * broadcast key
268
+ */
207
269
  export declare const BroadcastKey: unique symbol;
208
270
 
271
+ /**
272
+ * 浏览模式属性
273
+ * @param source
274
+ * @returns
275
+ */
276
+ export declare function browseProperty(source: Ref): Ref<'on' | 'off'>;
277
+
209
278
  export declare function cancelRaf(id: number): void;
210
279
 
211
280
  /**
212
- * 清理非数字
281
+ * clamp
282
+ * @param num
283
+ * @param min
284
+ * @param max
285
+ * @returns
213
286
  */
214
- export declare function clearNonNumber(value: string, allowDot?: boolean, allowMinus?: boolean): string;
287
+ export declare const clamp: (num: number, min: number, max: number) => number;
215
288
 
216
289
  /**
217
- * 克隆对象
218
- * @param target
219
- * @param source
220
- * @param plain
221
- *
222
- * @returns
290
+ * 清理非数字
223
291
  */
224
- export declare function clone(target: any, source: any, plain?: boolean): any;
292
+ export declare function clearNonNumber(value: string, allowDot?: boolean, allowMinus?: boolean): string;
225
293
 
226
294
  export { compareTo }
227
295
 
@@ -254,16 +322,25 @@ export declare const DateUtils: {
254
322
  /**
255
323
  * 格式化
256
324
  * @param date
257
- * @param template
325
+ * @param formatTemplate
258
326
  * @returns
259
327
  */
260
- format(date: Date, template: string): string;
328
+ format(date: Date, formatTemplate?: string): string;
261
329
  /**
262
330
  * 解析
263
- * @param str
264
- * @param template
331
+ * @param dateString
332
+ * @param formatTemplate
265
333
  */
266
- parser(str: string, template: string): Date;
334
+ parser(dateString: string, formatTemplate?: string): Date;
335
+ /**
336
+ * 返回日期格式字符串
337
+ * @param i 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
338
+ * @param startDate 起点日期
339
+ * @param formatTemplate 格式化模版
340
+ * @return '2014-12-31'
341
+ *
342
+ */
343
+ getDay(i: number, startDate?: Date, formatTemplate?: string): string;
267
344
  /**
268
345
  * 是否为闫年
269
346
  * @return {Boolse} true|false
@@ -273,12 +350,7 @@ export declare const DateUtils: {
273
350
  * 返回星期数
274
351
  * @return {String}
275
352
  */
276
- getWhatDay(year: number, month: number, day: number): string;
277
- /**
278
- * 返回星期数
279
- * @return {Number}
280
- */
281
- getMonthPreDay(year: number, month: number): number;
353
+ getWhatDay(year: number, month: number, day: number): number;
282
354
  /**
283
355
  * 返回月份天数
284
356
  * @return {Number}
@@ -291,66 +363,49 @@ export declare const DateUtils: {
291
363
  getNumTwoBit(n: number): string;
292
364
  /**
293
365
  * 日期对象转成字符串
366
+ * 转换为YYYY-MM-DD格式
294
367
  * @return {string}
295
368
  */
296
369
  date2Str: (date: Date, split?: string) => string;
297
370
  /**
298
- * 返回日期格式字符串
299
- * @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
300
- * @param {Date} 起点日期
301
- * @return {string} '2014-12-31'
302
- */
303
- getDay(i: number, startDate?: Date): string;
304
- /**
305
- * 时间比较
306
- * @return
307
- */
308
- compareDate(date1: string | Date, date2: string | Date): boolean;
309
- /**
310
- * 时间是否相等
311
- * @return
312
- */
313
- isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
314
- /**
315
- * get month week
316
- * @param year
317
- * @param month
318
- * @param date
319
- * @param firstDayOfWeek
371
+ * 对比
372
+ * 0:相等, 1: x > y, -1: x < y
373
+ *
374
+ * @param x
375
+ * @param y
376
+ * @param formatTemplate
320
377
  * @returns
321
378
  */
322
- getMonthWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
379
+ compare(x: string | Date, y: string | Date, formatTemplate?: string): number;
323
380
  /**
324
- * get year week
325
- * @param year
326
- * @param month
381
+ * 判断
327
382
  * @param date
328
- * @param firstDayOfWeek
329
- * @returns
330
- */
331
- getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
332
- /**
333
- * get week date
334
- */
335
- getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
336
- /**
337
- * format result date
383
+ * @param startDate 开始日期
384
+ * @param span 允许负数
385
+ * @param dateUint span单位 'year'|'month'|'day'
338
386
  */
339
- formatResultDate: (date: string) => string[];
387
+ between(date: Date, startDate: Date, span: number, dateUint: "year" | "month" | "day"): boolean;
340
388
  /**
341
- * 判断日期是否在范围内
389
+ * 判断日期是否在范围内(day)
342
390
  * @param date
343
391
  * @param startDate
344
392
  * @param span 允许负数
345
393
  */
346
394
  inScope4Day(date: Date, startDate: Date, span: number): boolean;
347
395
  /**
348
- * 判断日期是否在范围内
396
+ * 判断日期是否在范围内(month)
349
397
  * @param date
350
398
  * @param startDate
351
399
  * @param span
352
400
  */
353
401
  inScope4Month(date: Date, startDate: Date, span: number): boolean;
402
+ /**
403
+ * 判断日期是否在范围内(year)
404
+ * @param date
405
+ * @param startDate
406
+ * @param span
407
+ */
408
+ inScope4Year(date: Date, startDate: Date, span: number): boolean;
354
409
  };
355
410
 
356
411
  /**
@@ -377,195 +432,211 @@ export declare function decimalLength(value: string | number): number;
377
432
  declare const _default: FoxUIVue;
378
433
  export default _default;
379
434
 
380
- declare const _default_10: any;
381
- export { _default_10 as FoxHintText }
382
- export { _default_10 as HintText }
435
+ declare const _default_10: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
436
+ export { _default_10 as ButtonsItem }
437
+ export { _default_10 as FoxButtonsItem }
383
438
 
384
- declare const _default_11: any;
439
+ declare const _default_11: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
385
440
  export { _default_11 as FoxInputItem }
386
441
  export { _default_11 as InputItem }
387
442
 
388
- declare const _default_12: any;
443
+ declare const _default_12: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
389
444
  export { _default_12 as FoxSelectItem }
390
445
  export { _default_12 as SelectItem }
391
446
 
392
- declare const _default_13: any;
447
+ declare const _default_13: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
393
448
  export { _default_13 as DateItem }
394
449
  export { _default_13 as FoxDateItem }
395
450
 
396
- declare const _default_14: any;
451
+ declare const _default_14: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
397
452
  export { _default_14 as FoxTimeItem }
398
453
  export { _default_14 as TimeItem }
399
454
 
400
- declare const _default_15: any;
455
+ declare const _default_15: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
401
456
  export { _default_15 as FoxTimeSelectItem }
402
457
  export { _default_15 as TimeSelectItem }
403
458
 
404
- declare const _default_16: any;
459
+ declare const _default_16: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
405
460
  export { _default_16 as FoxMoneyItem }
406
461
  export { _default_16 as MoneyItem }
407
462
 
408
- declare const _default_17: any;
463
+ declare const _default_17: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
409
464
  export { _default_17 as FoxInputNumberItem }
410
465
  export { _default_17 as InputNumberItem }
411
466
 
412
- declare const _default_18: any;
467
+ declare const _default_18: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
413
468
  export { _default_18 as CascaderItem }
414
469
  export { _default_18 as FoxCascaderItem }
415
470
 
416
- declare const _default_19: any;
471
+ declare const _default_19: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
417
472
  export { _default_19 as AutocompleteItem }
418
473
  export { _default_19 as FoxAutocompleteItem }
419
474
 
420
- declare const _default_2: any;
475
+ declare const _default_2: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
421
476
  export { _default_2 as FoxPage }
422
477
  export { _default_2 as Page }
423
478
 
424
- declare const _default_20: any;
479
+ declare const _default_20: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
425
480
  export { _default_20 as FoxTableMappingColumn }
426
481
  export { _default_20 as TableMappingColumn }
427
482
 
428
- declare const _default_21: any;
483
+ declare const _default_21: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
429
484
  export { _default_21 as FoxTableRadioColumn }
430
485
  export { _default_21 as TableRadioColumn }
431
486
 
432
- declare const _default_22: any;
487
+ declare const _default_22: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
433
488
  export { _default_22 as FoxTableSetting }
434
489
  export { _default_22 as TableSetting }
435
490
 
436
- declare const _default_23: any;
491
+ declare const _default_23: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
437
492
  export { _default_23 as FoxTableItem }
438
493
  export { _default_23 as TableItem }
439
494
 
440
- declare const _default_24: any;
495
+ declare const _default_24: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
441
496
  export { _default_24 as FoxRadioItem }
442
497
  export { _default_24 as RadioItem }
443
498
 
444
- declare const _default_25: any;
499
+ declare const _default_25: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
445
500
  export { _default_25 as CheckboxItem }
446
501
  export { _default_25 as FoxCheckboxItem }
447
502
 
448
- declare const _default_26: any;
503
+ declare const _default_26: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
449
504
  export { _default_26 as FoxRateItem }
450
505
  export { _default_26 as RateItem }
451
506
 
452
- declare const _default_27: any;
507
+ declare const _default_27: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
453
508
  export { _default_27 as FoxSwitchItem }
454
509
  export { _default_27 as SwitchItem }
455
510
 
456
- declare const _default_28: any;
511
+ declare const _default_28: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
457
512
  export { _default_28 as FoxTreeSelectItem }
458
513
  export { _default_28 as TreeSelectItem }
459
514
 
460
- declare const _default_29: any;
515
+ declare const _default_29: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
461
516
  export { _default_29 as FoxGroupSetting }
462
517
  export { _default_29 as GroupSetting }
463
518
 
464
- declare const _default_3: any;
519
+ declare const _default_3: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
465
520
  export { _default_3 as FoxHeaderBar }
466
521
  export { _default_3 as HeaderBar }
467
522
 
468
- declare const _default_30: any;
469
- export { _default_30 as FoxTabsBar }
470
- export { _default_30 as TabsBar }
523
+ declare const _default_30: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
524
+ export { _default_30 as FoxTreeItem }
525
+ export { _default_30 as TreeItem }
471
526
 
472
- declare const _default_31: any;
473
- export { _default_31 as FoxTabsContainer }
474
- export { _default_31 as TabsContainer }
527
+ declare const _default_31: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
528
+ export { _default_31 as FoxLinkItem }
529
+ export { _default_31 as LinkItem }
475
530
 
476
- declare const _default_32: any;
477
- export { _default_32 as FoxTabsPane }
478
- export { _default_32 as TabsPane }
531
+ declare const _default_32: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
532
+ export { _default_32 as FoxTabsBar }
533
+ export { _default_32 as TabsBar }
479
534
 
480
- declare const _default_33: any;
481
- export { _default_33 as FoxStepsBar }
482
- export { _default_33 as StepsBar }
535
+ declare const _default_33: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
536
+ export { _default_33 as FoxTabsContainer }
537
+ export { _default_33 as TabsContainer }
483
538
 
484
- declare const _default_34: any;
485
- export { _default_34 as DialogItem }
486
- export { _default_34 as FoxDialogItem }
539
+ declare const _default_34: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
540
+ export { _default_34 as FoxTabsPane }
541
+ export { _default_34 as TabsPane }
487
542
 
488
- declare const _default_35: any;
489
- export { _default_35 as FoxOverLay }
490
- export { _default_35 as OverLay }
543
+ declare const _default_35: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
544
+ export { _default_35 as FoxTabsFrame }
545
+ export { _default_35 as TabsFrame }
491
546
 
492
- declare const _default_36: any;
493
- export { _default_36 as FoxPopup }
494
- export { _default_36 as Popup }
547
+ declare const _default_36: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
548
+ export { _default_36 as FoxStepsBar }
549
+ export { _default_36 as StepsBar }
495
550
 
496
- declare const _default_37: any;
497
- export { _default_37 as FoxToast }
498
- export { _default_37 as Toast }
551
+ declare const _default_37: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
552
+ export { _default_37 as DialogItem }
553
+ export { _default_37 as FoxDialogItem }
499
554
 
500
- declare const _default_38: any;
501
- export { _default_38 as FoxSearchBar }
502
- export { _default_38 as SearchBar }
555
+ declare const _default_38: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
556
+ export { _default_38 as FoxOverLay }
557
+ export { _default_38 as OverLay }
503
558
 
504
- declare const _default_39: any;
505
- export { _default_39 as FoxInfiniteLoading }
506
- export { _default_39 as InfiniteLoading }
559
+ declare const _default_39: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
560
+ export { _default_39 as FoxPopup }
561
+ export { _default_39 as Popup }
507
562
 
508
- declare const _default_4: any;
563
+ declare const _default_4: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
509
564
  export { _default_4 as FooterBar }
510
565
  export { _default_4 as FoxFooterBar }
511
566
 
512
- declare const _default_40: any;
513
- export { _default_40 as FoxPullRefresh }
514
- export { _default_40 as PullRefresh }
567
+ declare const _default_40: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
568
+ export { _default_40 as FoxSearchBar }
569
+ export { _default_40 as SearchBar }
515
570
 
516
- declare const _default_41: any;
517
- export { _default_41 as FoxMapping }
518
- export { _default_41 as Mapping }
571
+ declare const _default_41: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
572
+ export { _default_41 as FoxInfiniteLoading }
573
+ export { _default_41 as InfiniteLoading }
519
574
 
520
- declare const _default_42: any;
521
- export { _default_42 as FoxPrice }
522
- export { _default_42 as Price }
575
+ declare const _default_42: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
576
+ export { _default_42 as FoxPullRefresh }
577
+ export { _default_42 as PullRefresh }
523
578
 
524
- declare const _default_43: any;
525
- export { _default_43 as FoxIndicator }
526
- export { _default_43 as Indicator }
579
+ declare const _default_43: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
580
+ export { _default_43 as FoxMoreButton }
581
+ export { _default_43 as MoreButton }
527
582
 
528
- declare const _default_44: any;
529
- export { _default_44 as FoxText }
530
- export { _default_44 as Text }
583
+ declare const _default_44: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
584
+ export { _default_44 as FloatingButton }
585
+ export { _default_44 as FoxFloatingButton }
531
586
 
532
- declare const _default_45: any;
533
- export { _default_45 as FoxMoreButton }
534
- export { _default_45 as MoreButton }
587
+ declare const _default_45: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
588
+ export { _default_45 as FloatingWindow }
589
+ export { _default_45 as FoxFloatingWindow }
535
590
 
536
- declare const _default_46: any;
537
- export { _default_46 as FoxTour }
538
- export { _default_46 as Tour }
591
+ declare const _default_46: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
592
+ export { _default_46 as FoxPopoverDialog }
593
+ export { _default_46 as PopoverDialog }
539
594
 
540
- declare const _default_47: any;
541
- export { _default_47 as FloatingWindow }
542
- export { _default_47 as FoxFloatingWindow }
595
+ declare const _default_47: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
596
+ export { _default_47 as FoxMapping }
597
+ export { _default_47 as Mapping }
543
598
 
544
- declare const _default_48: any;
545
- export { _default_48 as DomainProvider }
546
- export { _default_48 as FoxDomainProvider }
599
+ declare const _default_48: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
600
+ export { _default_48 as FoxPrice }
601
+ export { _default_48 as Price }
547
602
 
548
- declare const _default_49: any;
549
- export { _default_49 as FoxRollingProvider }
550
- export { _default_49 as RollingProvider }
603
+ declare const _default_49: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
604
+ export { _default_49 as FoxIndicator }
605
+ export { _default_49 as Indicator }
551
606
 
552
- declare const _default_5: any;
607
+ declare const _default_5: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
553
608
  export { _default_5 as Content }
554
609
  export { _default_5 as FoxContent }
555
610
 
556
- declare const _default_6: any;
611
+ declare const _default_50: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
612
+ export { _default_50 as FoxText }
613
+ export { _default_50 as Text }
614
+
615
+ declare const _default_51: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
616
+ export { _default_51 as FoxTour }
617
+ export { _default_51 as Tour }
618
+
619
+ declare const _default_52: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
620
+ export { _default_52 as DomainProvider }
621
+ export { _default_52 as FoxDomainProvider }
622
+
623
+ declare const _default_53: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
624
+ export { _default_53 as FoxRollingProvider }
625
+ export { _default_53 as RollingProvider }
626
+
627
+ declare const _default_6: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
557
628
  export { _default_6 as FoxGroup }
558
629
  export { _default_6 as Group }
559
630
 
560
- declare const _default_7: any;
631
+ declare const _default_7: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
561
632
  export { _default_7 as FoxItem }
562
633
  export { _default_7 as Item }
563
634
 
564
- declare const _default_8: any;
635
+ declare const _default_8: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
565
636
  export { _default_8 as FoxSlotItem }
566
637
  export { _default_8 as SlotItem }
567
638
 
568
- declare const _default_9: any;
639
+ declare const _default_9: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
569
640
  export { _default_9 as FoxRowItem }
570
641
  export { _default_9 as RowItem }
571
642
 
@@ -605,6 +676,21 @@ export declare function defineDataItem(domain: Domain, name: string, descriptor:
605
676
  */
606
677
  export declare function defineDomain(name: string | null, props: Record<string, any>, ignores?: any[], exposes?: Record<string, BroadcastCallback>): Domain;
607
678
 
679
+ /**
680
+ * 定义domain item属性
681
+ */
682
+ export declare function defineDomainItemProperty(props: {
683
+ disabled?: boolean | string;
684
+ readonly?: boolean | string;
685
+ browse?: 'off' | 'on';
686
+ }): {
687
+ innerDisabled: Ref<boolean, boolean>;
688
+ disabled: Ref<boolean, boolean>;
689
+ innerReadonly: Ref<boolean, boolean>;
690
+ readonly: Ref<boolean, boolean>;
691
+ browse: Ref<"off" | "on", "off" | "on">;
692
+ };
693
+
608
694
  /**
609
695
  * 定义domain item
610
696
  * @returns
@@ -658,7 +744,7 @@ declare type Direction = '' | 'vertical' | 'horizontal';
658
744
  * 禁用属性
659
745
  * @param source
660
746
  */
661
- export declare function disabledProperty(source: Ref): Ref;
747
+ export declare function disabledProperty(source: Ref): Ref<boolean>;
662
748
 
663
749
  export { divide }
664
750
 
@@ -860,6 +946,8 @@ export { FoxCollapseTransition }
860
946
 
861
947
  export { FoxColorPicker }
862
948
 
949
+ declare type FoxComponentPublicInstance = any;
950
+
863
951
  export { FoxConfigProvider }
864
952
 
865
953
  export { FoxContainer }
@@ -904,10 +992,14 @@ export { FoxInput }
904
992
 
905
993
  export { FoxInputNumber }
906
994
 
995
+ export { FoxInputTag }
996
+
907
997
  export { FoxLink }
908
998
 
909
999
  export { FoxMain }
910
1000
 
1001
+ export { FoxMention }
1002
+
911
1003
  export { FoxMenu }
912
1004
 
913
1005
  export { FoxMenuItem }
@@ -1004,6 +1096,80 @@ export { FoxTreeSelect }
1004
1096
 
1005
1097
  export { FoxTreeV2 }
1006
1098
 
1099
+ /**
1100
+ * Fox UI
1101
+ */
1102
+ declare interface FoxUI {
1103
+ /**
1104
+ * 版本号
1105
+ */
1106
+ version: string;
1107
+ /**
1108
+ * 安装
1109
+ * @param app
1110
+ * @param options
1111
+ */
1112
+ install(app: App, options: FoxUIOptions): any;
1113
+ /**
1114
+ * 更新Layout
1115
+ *
1116
+ * @param options
1117
+ * @param rootDomain
1118
+ */
1119
+ updateLayout(options: FoxUIOptions, rootDomain?: Domain): void;
1120
+ /**
1121
+ * 设置scope getter
1122
+ * @param getter
1123
+ */
1124
+ setScopeGetter(getter: ScopeGetter): void;
1125
+ /**
1126
+ * 设置API
1127
+ * @param name
1128
+ * @param func
1129
+ * @param scope
1130
+ */
1131
+ setAPI(name: string, func: any, scope?: string): void;
1132
+ /**
1133
+ * 获取API
1134
+ * @param proxy
1135
+ * @param name
1136
+ * @param scope
1137
+ */
1138
+ getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
1139
+ /**
1140
+ * 批量增加api
1141
+ * @param apis
1142
+ * @param scope
1143
+ */
1144
+ batchSetAPI(apis: Record<string, any>, scope?: string): void;
1145
+ /**
1146
+ * 清空scope apis
1147
+ * @param scope
1148
+ */
1149
+ clearScopeAPI(scope: string): void;
1150
+ /**
1151
+ * 获取root domain
1152
+ */
1153
+ getRootDomain(): Domain;
1154
+ }
1155
+
1156
+ /**
1157
+ * UI Options
1158
+ */
1159
+ declare interface FoxUIOptions {
1160
+ install?: boolean;
1161
+ componentPrefix?: string;
1162
+ headerBarHeight?: number;
1163
+ footerBarHeight?: number;
1164
+ safeAreaInset?: SafeAreaInset;
1165
+ pageLayout?: PageLayout;
1166
+ headerPadding?: Rect;
1167
+ contentPadding?: Rect;
1168
+ groupLayout?: GroupLayout;
1169
+ labelWidth?: number | string;
1170
+ [propName: string]: any;
1171
+ }
1172
+
1007
1173
  /**
1008
1174
  * Fox UI vue实例
1009
1175
  */
@@ -1034,12 +1200,12 @@ declare class FoxUIVue implements FoxUI {
1034
1200
  */
1035
1201
  install(app: App, options?: FoxUIOptions): any;
1036
1202
  /**
1037
- * 初始化page Layout
1203
+ * 更新Layout
1038
1204
  *
1039
1205
  * @param options
1040
1206
  * @param rootDomain
1041
1207
  */
1042
- initPageLayout(options: FoxUIOptions, rootDomain?: Domain): void;
1208
+ updateLayout(options: FoxUIOptions, rootDomain?: Domain): void;
1043
1209
  /**
1044
1210
  * 设置scope getter
1045
1211
  * @param getter
@@ -1087,6 +1253,12 @@ export declare interface GenericFunction {
1087
1253
  (...args: any[]): any;
1088
1254
  }
1089
1255
 
1256
+ /**
1257
+ * icons
1258
+ * @returns
1259
+ */
1260
+ export declare function getGlobalIcons(): Icons;
1261
+
1090
1262
  /**
1091
1263
  * 获取公共校验检查事件
1092
1264
  */
@@ -1135,11 +1307,67 @@ export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageStat
1135
1307
  */
1136
1308
  export declare function getRootDomain(): Domain;
1137
1309
 
1310
+ /**
1311
+ * Layout信息接口
1312
+ */
1313
+ declare interface GroupLayout {
1314
+ type?: string;
1315
+ width?: number | string;
1316
+ column?: number;
1317
+ gutter?: number | string;
1318
+ }
1319
+
1138
1320
  /**
1139
1321
  * 是否支持symbol
1140
1322
  */
1141
1323
  export declare const hasSymbol: boolean;
1142
1324
 
1325
+ /**
1326
+ * hint text function
1327
+ */
1328
+ declare const HintTextFunction: HintTextTooltip;
1329
+ export { HintTextFunction as FoxHintText }
1330
+ export { HintTextFunction as HintText }
1331
+
1332
+ /**
1333
+ * HintTextTooltip
1334
+ */
1335
+ declare interface HintTextTooltip {
1336
+ /**
1337
+ * 显示
1338
+ * @param reference
1339
+ * @param message
1340
+ * @param opts
1341
+ * @param only
1342
+ * @returns
1343
+ */
1344
+ show(reference: HTMLElement, message: string, opts: Record<string, any>, only?: boolean): string;
1345
+ /**
1346
+ * 隐藏
1347
+ * @param id
1348
+ */
1349
+ hide(id?: string): void;
1350
+ /**
1351
+ * 额外属性
1352
+ */
1353
+ [propName: string]: any;
1354
+ }
1355
+
1356
+ declare type Icons = {
1357
+ headerbar: {
1358
+ Left?: any;
1359
+ };
1360
+ radio: {
1361
+ CheckNormal?: any;
1362
+ Checked?: any;
1363
+ };
1364
+ checkbox: {
1365
+ CheckNormal?: any;
1366
+ Checked?: any;
1367
+ Indeterminate?: any;
1368
+ };
1369
+ };
1370
+
1143
1371
  /**
1144
1372
  * 根据包含模版,抽取属性
1145
1373
  * @param src
@@ -1156,6 +1384,44 @@ export declare function includeProps(src: Record<string, any>, ...includeTemplat
1156
1384
  */
1157
1385
  export declare function indexOf(x: unknown, arr: unknown[]): number;
1158
1386
 
1387
+ /**
1388
+ * 获取是否为虚拟页面范围
1389
+ * @param defaultValue
1390
+ */
1391
+ export declare function injectAbstractPageScope(defaultValue?: boolean): boolean | AbstractPageScope;
1392
+
1393
+ /**
1394
+ * 获取content是否为虚拟页面范围
1395
+ * @param defaultValue
1396
+ * @returns
1397
+ */
1398
+ export declare function injectAbstractPageScopeForContent(defaultValue?: boolean): boolean;
1399
+
1400
+ /**
1401
+ * 获取footerBar是否为虚拟页面范围
1402
+ * @param defaultValue
1403
+ * @returns
1404
+ */
1405
+ export declare function injectAbstractPageScopeForFooterBar(defaultValue?: boolean): boolean;
1406
+
1407
+ /**
1408
+ * 获取headerBar是否为虚拟页面范围
1409
+ * @param defaultValue
1410
+ * @returns
1411
+ */
1412
+ export declare function injectAbstractPageScopeForHeaderBar(defaultValue?: boolean): boolean;
1413
+
1414
+ /**
1415
+ * 获取是否为内部页面范围
1416
+ * @param defaultValue
1417
+ */
1418
+ export declare function injectInnerPageScope(defaultValue?: boolean): boolean;
1419
+
1420
+ /**
1421
+ * inner page scope key(内部页面,默认适配父亲容器尺寸,not watch resize)
1422
+ */
1423
+ export declare const InnerPageScopeKey: unique symbol;
1424
+
1159
1425
  /**
1160
1426
  * 安装函数
1161
1427
  */
@@ -1163,12 +1429,6 @@ declare interface Installer {
1163
1429
  (app: App, options?: any): void;
1164
1430
  }
1165
1431
 
1166
- /**
1167
- * 安装校验规则
1168
- * @param proxy
1169
- */
1170
- export declare function installRules(proxy: FoxComponentPublicInstance, validateScheme: ValidateSchema, name: string): void;
1171
-
1172
1432
  /**
1173
1433
  * 获取整数长度
1174
1434
  * @param value
@@ -1199,6 +1459,13 @@ export declare const isBrowser: boolean;
1199
1459
  */
1200
1460
  export declare const isDate: (val: unknown) => val is Date;
1201
1461
 
1462
+ /**
1463
+ * 是否display none
1464
+ * @param el
1465
+ * @returns
1466
+ */
1467
+ export declare function isDisplayNone(el: HTMLElement): boolean;
1468
+
1202
1469
  /**
1203
1470
  * 是否空字符串
1204
1471
  * @param v
@@ -1229,20 +1496,14 @@ export declare function isESModule(obj: any): obj is Object;
1229
1496
  export declare const isFunction: (val: unknown) => val is Function;
1230
1497
 
1231
1498
  /**
1232
- * 是否是隐藏element
1233
- * @param el
1499
+ * 是否是隐藏 element(自身或任意父级隐藏)
1500
+ * - display: none
1501
+ * - visibility: hidden
1502
+ * - hidden 属性
1503
+ * - 父级隐藏
1234
1504
  */
1235
1505
  export declare function isHidden(el: any): boolean;
1236
1506
 
1237
- /**
1238
- * 是否为内嵌页面
1239
- * 内嵌页面为内嵌在容器内,如dialog,不需要设置content的高度
1240
- * @param domain
1241
- * @param proxy
1242
- * @returns
1243
- */
1244
- export declare function isInnerPage(domain: Domain, proxy: any): boolean;
1245
-
1246
1507
  /**
1247
1508
  * 是否为Map
1248
1509
  * @param val
@@ -1327,6 +1588,13 @@ export declare function isTouch(): boolean;
1327
1588
  */
1328
1589
  export declare function isWindow(obj: any): boolean;
1329
1590
 
1591
+ /**
1592
+ * 中划线格式转换为大驼峰
1593
+ * @param str
1594
+ * @returns
1595
+ */
1596
+ export declare function kebabToPascal(str: string): string;
1597
+
1330
1598
  /**
1331
1599
  * 获取对应元素的在数组中最后一个匹配的索引
1332
1600
  * @param x
@@ -1350,8 +1618,11 @@ export declare interface Matched {
1350
1618
  name?: string | RegExp | {
1351
1619
  (name: string): boolean;
1352
1620
  };
1353
- maxLevel?: number;
1354
- level?: number;
1621
+ resolve?: Resolve;
1622
+ resolved?: boolean;
1623
+ uniqueId?: string;
1624
+ cachePolicy?: MessageCachePolicy;
1625
+ messagingPolicy?: MessagingPolicy;
1355
1626
  }
1356
1627
 
1357
1628
  /**
@@ -1362,6 +1633,18 @@ export declare interface Matched {
1362
1633
  */
1363
1634
  export declare function merge(first: any[], second: any[]): any[];
1364
1635
 
1636
+ /**
1637
+ * 消息缓存策略
1638
+ * None:不缓存; UnResolved:消息未命中前缓存;Persistant:永久缓存
1639
+ */
1640
+ export declare type MessageCachePolicy = 'None' | 'Unresolved' | 'Persistant';
1641
+
1642
+ /**
1643
+ * 消息传递策略
1644
+ * broadcast
1645
+ */
1646
+ export declare type MessagingPolicy = 'Brodcast' | 'Once';
1647
+
1365
1648
  export { multiply }
1366
1649
 
1367
1650
  export { negate }
@@ -1389,6 +1672,13 @@ export declare const objectToString: () => string;
1389
1672
  */
1390
1673
  export declare function once(func: GenericFunction): GenericFunction;
1391
1674
 
1675
+ /**
1676
+ * 覆盖更新公共Icon
1677
+ * @param icons
1678
+ * @param merge
1679
+ */
1680
+ export declare function overrideGlobalIcons(newIcons: Partial<Icons>): void;
1681
+
1392
1682
  /**
1393
1683
  * 覆盖更新公共的校验处理器
1394
1684
  * @param validateHandler
@@ -1399,25 +1689,33 @@ export declare function overrideGlobalValidateHandler(validateHandler: Partial<V
1399
1689
  * padding
1400
1690
  */
1401
1691
  export declare interface Padding {
1402
- left: number | null;
1403
- top: number | null;
1404
- right: number | null;
1405
- bottom: number | null;
1692
+ left: number | string | null;
1693
+ top: number | string | null;
1694
+ right: number | string | null;
1695
+ bottom: number | string | null;
1406
1696
  }
1407
1697
 
1698
+ /**
1699
+ * pad zero
1700
+ */
1701
+ export declare const padZero: (num: number | string, length?: number) => string;
1702
+
1408
1703
  /**
1409
1704
  * page layout
1410
1705
  */
1411
1706
  export declare interface PageLayout {
1412
- width: number | string;
1413
- height: number | string;
1707
+ width?: number | string;
1708
+ height?: number | string;
1414
1709
  headerHeight?: number | string;
1415
1710
  footerHeight?: number | string;
1416
- headerPadding?: Padding;
1417
- footerPadding?: Padding;
1418
- contentPadding?: Padding;
1711
+ headerPadding?: Partial<Padding>;
1712
+ footerPadding?: Partial<Padding>;
1713
+ contentPadding?: Partial<Padding>;
1419
1714
  }
1420
1715
 
1716
+ /**
1717
+ * page state
1718
+ */
1421
1719
  export declare interface PageState {
1422
1720
  width: number;
1423
1721
  height: number;
@@ -1439,6 +1737,22 @@ export declare interface PageState {
1439
1737
  footerMounted?: boolean;
1440
1738
  }
1441
1739
 
1740
+ /**
1741
+ * 大驼峰转换为中划线
1742
+ * @param str
1743
+ * @returns
1744
+ */
1745
+ export declare function pascalToKebab<T extends string>(str: string): string;
1746
+
1747
+ /**
1748
+ * 持久消息
1749
+ */
1750
+ declare interface PersistantMessage {
1751
+ matched: Matched;
1752
+ action: string;
1753
+ args: any[];
1754
+ }
1755
+
1442
1756
  /**
1443
1757
  * 坐标
1444
1758
  */
@@ -1447,6 +1761,13 @@ export declare interface Point {
1447
1761
  y: number;
1448
1762
  }
1449
1763
 
1764
+ /**
1765
+ * prevent default
1766
+ * @param event
1767
+ * @param isStopPropagation
1768
+ */
1769
+ export declare function preventDefault(event: Event, isStopPropagation?: boolean): void;
1770
+
1450
1771
  /**
1451
1772
  * 优先策略
1452
1773
  */
@@ -1462,7 +1783,22 @@ export declare enum PriorityPolicy {
1462
1783
  * @param policy
1463
1784
  * @param filter
1464
1785
  */
1465
- export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
1786
+ export declare function property<T>(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref<T>;
1787
+
1788
+ /**
1789
+ * 设置虚拟页面范围
1790
+ * 虚拟页面,默认情况下不生成page、headerBar、footerBar、content,直接reader content内部组件
1791
+ * 也可以通过AbstractPageScope对象设置选择生成headerBar or footerBar or content 部分结构
1792
+ * @param value
1793
+ */
1794
+ export declare function provideAbstractPageScope(value: boolean | AbstractPageScope): void;
1795
+
1796
+ /**
1797
+ * 设置内部页面范围
1798
+ * 内部页面,默认适配父亲容器尺寸,not watch resize
1799
+ * @param value
1800
+ */
1801
+ export declare function provideInnerPageScope(value: boolean): void;
1466
1802
 
1467
1803
  export declare const raf: any;
1468
1804
 
@@ -1470,9 +1806,19 @@ export declare const raf: any;
1470
1806
  * 只读属性
1471
1807
  * @param source
1472
1808
  */
1473
- export declare function readonlyProperty(source: Ref): Ref;
1809
+ export declare function readonlyProperty(source: Ref): Ref<boolean>;
1474
1810
 
1811
+ /**
1812
+ * Rect类型
1813
+ */
1475
1814
  declare interface Rect {
1815
+ left: number;
1816
+ top: number;
1817
+ right: number;
1818
+ bottom: number;
1819
+ }
1820
+
1821
+ declare interface Rect_2 {
1476
1822
  top: number;
1477
1823
  left: number;
1478
1824
  right: number;
@@ -1481,6 +1827,11 @@ declare interface Rect {
1481
1827
  height: number;
1482
1828
  }
1483
1829
 
1830
+ /**
1831
+ * 消息确认函数
1832
+ */
1833
+ declare type Resolve = (...args: any) => void;
1834
+
1484
1835
  /**
1485
1836
  * 结果类型
1486
1837
  */
@@ -1501,6 +1852,13 @@ export declare interface SafeAreaInset {
1501
1852
  bottom: number | string;
1502
1853
  }
1503
1854
 
1855
+ /**
1856
+ * scope getter
1857
+ */
1858
+ declare interface ScopeGetter {
1859
+ (proxy: ComponentPublicInstance): string | null;
1860
+ }
1861
+
1504
1862
  /**
1505
1863
  * 设置公共校验检查事件
1506
1864
  * @param events
@@ -1547,6 +1905,18 @@ declare interface Size {
1547
1905
  */
1548
1906
  export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
1549
1907
 
1908
+ declare const ToastFunction: {
1909
+ text(msg: string, opts?: {}): /*elided*/ any;
1910
+ success(msg: string, opts?: {}): /*elided*/ any;
1911
+ fail(msg: string, opts?: {}): /*elided*/ any;
1912
+ warn(msg: string, opts?: {}): /*elided*/ any;
1913
+ loading(msg: string, opts?: {}): /*elided*/ any;
1914
+ hide(id?: string): void;
1915
+ install(app: any): void;
1916
+ };
1917
+ export { ToastFunction as FoxToast }
1918
+ export { ToastFunction as Toast }
1919
+
1550
1920
  /**
1551
1921
  * 转换为boolean值
1552
1922
  * @param val
@@ -1573,13 +1943,15 @@ export declare function toPadding(rect: any): Padding;
1573
1943
  */
1574
1944
  export declare function toPx(value: number | string, size?: number): number;
1575
1945
 
1946
+ export declare const toPxDesc: (value: string | number, size?: number) => string;
1947
+
1576
1948
  /**
1577
- * to px desc
1949
+ * to px string
1578
1950
  * @param value
1579
1951
  * @parma size
1580
1952
  * @returns
1581
1953
  */
1582
- export declare const toPxDesc: (value: string | number, size?: number) => string;
1954
+ export declare const toPxString: (value: string | number, size?: number) => string;
1583
1955
 
1584
1956
  export declare const toTypeString: (value: unknown) => string;
1585
1957
 
@@ -1645,8 +2017,8 @@ export { unNumberFormat }
1645
2017
  /**
1646
2018
  * 更新 page state
1647
2019
  * @param state
1648
- * @param pageLayout
1649
- * @param overrideProps
2020
+ * @param pageLayout(领域设置)
2021
+ * @param overrideProps(组件属性)
1650
2022
  * @param root
1651
2023
  * @param rootWidth
1652
2024
  * @param rootHeight
@@ -1720,7 +2092,7 @@ export declare function useRawTouch(): {
1720
2092
  };
1721
2093
  };
1722
2094
 
1723
- export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
2095
+ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
1724
2096
 
1725
2097
  /**
1726
2098
  * 获取size
@@ -1729,6 +2101,15 @@ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Wi
1729
2101
  */
1730
2102
  export declare function useSize(elementRef: Element | Ref<Element>): Size;
1731
2103
 
2104
+ /**
2105
+ * 获取child slot
2106
+ * @param slot
2107
+ * @returns
2108
+ */
2109
+ export declare function useSlotChildren(slot?: () => VNode[]): {
2110
+ getChildren: () => VNode[];
2111
+ };
2112
+
1732
2113
  /**
1733
2114
  * 获取响应式touch对象
1734
2115
  * @returns
@@ -1737,17 +2118,17 @@ export declare function useTouch(): {
1737
2118
  move: EventListener;
1738
2119
  start: EventListener;
1739
2120
  reset: () => void;
1740
- startX: any;
1741
- startY: any;
1742
- startTime: any;
1743
- duration: any;
1744
- moveX: any;
1745
- moveY: any;
1746
- deltaX: any;
1747
- deltaY: any;
1748
- offsetX: any;
1749
- offsetY: any;
1750
- direction: any;
2121
+ startX: Ref<number, number>;
2122
+ startY: Ref<number, number>;
2123
+ startTime: Ref<number, number>;
2124
+ duration: Ref<number, number>;
2125
+ moveX: Ref<number, number>;
2126
+ moveY: Ref<number, number>;
2127
+ deltaX: Ref<number, number>;
2128
+ deltaY: Ref<number, number>;
2129
+ offsetX: Ref<number, number>;
2130
+ offsetY: Ref<number, number>;
2131
+ direction: Ref<Direction, Direction>;
1751
2132
  isVertical: () => boolean;
1752
2133
  isHorizontal: () => boolean;
1753
2134
  };
@@ -1925,7 +2306,7 @@ export declare class ValidateSchema {
1925
2306
  export declare const ValidateSchemaKey: unique symbol;
1926
2307
 
1927
2308
  /**
1928
- * value 格式话
2309
+ * value 格式化
1929
2310
  */
1930
2311
  export declare interface ValueFormat<T, K> {
1931
2312
  (value: T): K;