@fox-js/foxui 4.0.1-17 → 4.0.1-18

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,186 +1,412 @@
1
- import type { AllowedComponentProps } from 'vue';
2
1
  import { App } from 'vue';
3
2
  import { compareTo } from '@fox-js/big-decimal';
4
- import type { ComponentCustomProps } from 'vue';
5
3
  import { ComponentInternalInstance } from 'vue';
6
- import type { ComponentOptionsMixin } from 'vue';
7
4
  import { ComponentPublicInstance } from 'vue';
8
- import type { ComputedOptions } from 'vue';
9
5
  import { CSSProperties } from 'vue';
10
- import type { DefineComponent } from 'vue';
11
6
  import { divide } from '@fox-js/big-decimal';
12
7
  import { ExecuteValidator } from '@fox-js/validator';
13
- import type { MethodOptions } from 'vue';
8
+ import { FoxComponentPublicInstance } from './types';
9
+ import { FoxUI } from './interface';
10
+ import { FoxUIOptions } from './interface';
14
11
  import { multiply } from '@fox-js/big-decimal';
15
12
  import { negate } from '@fox-js/big-decimal';
16
13
  import { numberFormat } from '@fox-js/big-decimal';
17
14
  import { Ref } from 'vue';
18
15
  import { Rule } from '@fox-js/validator';
16
+ import { ScopeGetter } from './api';
19
17
  import { unNumberFormat } from '@fox-js/big-decimal';
20
18
  import { UnwrapNestedRefs } from 'vue';
21
19
  import { UnwrapRef } from 'vue';
22
20
  import { ValidateMessages } from '@fox-js/validator';
23
21
  import { ValidateResult } from '@fox-js/validator';
24
22
  import { VNode } from 'vue';
25
- import type { VNodeProps } from 'vue';
26
23
 
24
+ /**
25
+ * 是否接受value过滤器
26
+ */
27
27
  export declare interface AcceptFilter {
28
28
  (value: any): boolean;
29
29
  }
30
30
 
31
- export declare const ActionSheet: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
31
+ export declare const ActionSheet: any;
32
32
 
33
- export declare const Address: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
33
+ export declare const Address: any;
34
34
 
35
- export declare const AddressList: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
35
+ export declare const AddressList: any;
36
36
 
37
- export declare const Animate: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
37
+ export declare const Animate: any;
38
38
 
39
- declare const Audio_2: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
39
+ declare const Audio_2: any;
40
40
  export { Audio_2 as Audio }
41
41
 
42
- export declare const AudioOperate: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
42
+ export declare const AudioOperate: any;
43
43
 
44
- export declare const Avatar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
44
+ export declare const Avatar: any;
45
45
 
46
- export declare const AvatarGroup: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
46
+ export declare const AvatarGroup: any;
47
47
 
48
- export declare const BackTop: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
48
+ export declare const BackTop: any;
49
49
 
50
- export declare const Badge: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
50
+ export declare const Badge: any;
51
51
 
52
- export declare const Barrage: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
52
+ export declare const Barrage: any;
53
53
 
54
+ /**
55
+ * 广播类
56
+ */
54
57
  export declare class Broadcast {
58
+ /**
59
+ * parent
60
+ */
55
61
  private parent;
62
+ /**
63
+ * children
64
+ */
56
65
  private children;
66
+ /**
67
+ * 回调函数注册表
68
+ */
57
69
  private callbacks;
70
+ /**
71
+ * vue proxy
72
+ */
58
73
  private proxy;
74
+ /**
75
+ * 名称
76
+ */
59
77
  private name?;
78
+ /**
79
+ * 构造函数
80
+ * @param parent
81
+ * @param proxy
82
+ * @param name
83
+ */
60
84
  constructor(parent: Broadcast | null, proxy: FoxComponentPublicInstance, name?: string);
85
+ /**
86
+ * 加入孩子节点
87
+ * @param child
88
+ */
61
89
  private addChild;
90
+ /**
91
+ * 移除孩子节点
92
+ * @param child
93
+ */
62
94
  private removeChild;
95
+ /**
96
+ * 销毁
97
+ */
63
98
  destroy(): void;
99
+ /**
100
+ * 发生消息
101
+ * @param matched
102
+ * @param action
103
+ * @param args
104
+ */
64
105
  emit(matched: Matched, action: string, ...args: any[]): Results;
106
+ /**
107
+ * 发生消息(只发给孩子节点)
108
+ * @param matched
109
+ * @param action
110
+ * @param args
111
+ */
65
112
  emitToChildren(matched: Matched, action: string, ...args: any[]): Results;
113
+ /**
114
+ * 注册回调函数
115
+ * @param action
116
+ * @param callback
117
+ * @returns
118
+ */
66
119
  on(action: string, callback: BroadcastCallback): void;
67
120
  }
68
121
 
122
+ /**
123
+ * broadcast callback
124
+ */
69
125
  export declare interface BroadcastCallback {
70
126
  (...args: any[]): Result;
71
127
  }
72
128
 
73
129
  export declare const BroadcastKey: unique symbol;
74
130
 
75
- export declare const Button: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
131
+ export declare const Button: any;
76
132
 
77
- export declare const Calendar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
133
+ export declare const Calendar: any;
78
134
 
79
- export declare const CalendarItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
135
+ export declare const CalendarItem: any;
80
136
 
81
137
  export declare function cancelRaf(id: number): void;
82
138
 
83
- export declare const Card: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
139
+ export declare const Card: any;
84
140
 
85
- export declare const Cascader: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
141
+ export declare const Cascader: any;
86
142
 
87
- export declare const CascaderItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
143
+ export declare const CascaderItem: any;
88
144
 
89
- export declare const Category: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
145
+ export declare const Category: any;
90
146
 
91
- export declare const CategoryPane: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
147
+ export declare const CategoryPane: any;
92
148
 
93
- export declare const Cell: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
149
+ export declare const Cell: any;
94
150
 
95
- export declare const CellGroup: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
151
+ export declare const CellGroup: any;
96
152
 
97
- export declare const Checkbox: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
153
+ export declare const Checkbox: any;
98
154
 
99
- export declare const CheckboxGroup: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
155
+ export declare const CheckboxGroup: any;
100
156
 
101
- export declare const CheckboxItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
157
+ export declare const CheckboxItem: any;
102
158
 
103
- export declare const CircleProgress: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
159
+ export declare const CircleProgress: any;
104
160
 
105
161
  export declare const clamp: (num: number, min: number, max: number) => number;
106
162
 
163
+ /**
164
+ * 清理非数字
165
+ */
107
166
  export declare function clearNonNumber(value: string, allowDot?: boolean, allowMinus?: boolean): string;
108
167
 
168
+ /**
169
+ * 克隆对象
170
+ * @param target
171
+ * @param source
172
+ * @param plain
173
+ *
174
+ * @returns
175
+ */
109
176
  export declare function clone(target: any, source: any, plain?: boolean): any;
110
177
 
111
- export declare const Col: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
178
+ export declare const Col: any;
112
179
 
113
- export declare const Collapse: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
180
+ export declare const Collapse: any;
114
181
 
115
- export declare const CollapseItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
182
+ export declare const CollapseItem: any;
116
183
 
117
- declare const Comment_2: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
184
+ declare const Comment_2: any;
118
185
  export { Comment_2 as Comment }
119
186
 
120
187
  export { compareTo }
121
188
 
122
- export declare const Content: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
189
+ export declare const Content: any;
123
190
 
124
- export declare const CountDown: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
191
+ export declare const CountDown: any;
125
192
 
126
- export declare const CountUp: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
193
+ export declare const CountUp: any;
127
194
 
195
+ /**
196
+ * 创建broadcast
197
+ *
198
+ * @param proxy
199
+ * @param parent
200
+ * @param name
201
+ * @param callbacks
202
+ * @returns
203
+ */
128
204
  export declare function createBroadcast(proxy: FoxComponentPublicInstance, parent: Broadcast | null, name?: string, callbacks?: Record<string, BroadcastCallback>): Broadcast;
129
205
 
206
+ /**
207
+ * 创建校验schema
208
+ * @param proxy
209
+ * @param parent
210
+ * @param descriptor
211
+ * @returns
212
+ */
130
213
  export declare function createValidateSchema(proxy: FoxComponentPublicInstance, parent: ValidateSchema | null, descriptor: Descriptor): ValidateSchema;
131
214
 
215
+ /**
216
+ * data items key
217
+ */
132
218
  export declare const DataItemsKey: unique symbol;
133
219
 
134
- export declare const DateItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
220
+ export declare const DateItem: any;
135
221
 
136
- export declare const DatePicker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
222
+ export declare const DatePicker: any;
137
223
 
138
224
  export declare const DateUtils: {
225
+ /**
226
+ * 格式化
227
+ * @param date
228
+ * @param template
229
+ * @returns
230
+ */
139
231
  format(date: Date, template: string): string;
232
+ /**
233
+ * 解析
234
+ * @param str
235
+ * @param template
236
+ */
140
237
  parser(str: string, template: string): Date;
238
+ /**
239
+ * 是否为闫年
240
+ * @return {Boolse} true|false
241
+ */
141
242
  isLeapYear(y: number): boolean;
243
+ /**
244
+ * 返回星期数
245
+ * @return {String}
246
+ */
142
247
  getWhatDay(year: number, month: number, day: number): string;
248
+ /**
249
+ * 返回星期数
250
+ * @return {Number}
251
+ */
143
252
  getMonthPreDay(year: number, month: number): number;
253
+ /**
254
+ * 返回月份天数
255
+ * @return {Number}
256
+ */
144
257
  getMonthDays(year: string, month: string): number;
258
+ /**
259
+ * 补齐数字位数
260
+ * @return {string}
261
+ */
145
262
  getNumTwoBit(n: number): string;
263
+ /**
264
+ * 日期对象转成字符串
265
+ * @return {string}
266
+ */
146
267
  date2Str: (date: Date, split?: string) => string;
147
- getDay(i: number): string;
268
+ /**
269
+ * 返回日期格式字符串
270
+ * @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
271
+ * @param {Date} 起点日期
272
+ * @return {string} '2014-12-31'
273
+ */
274
+ getDay(i: number, startDate?: Date): string;
275
+ /**
276
+ * 时间比较
277
+ * @return
278
+ */
148
279
  compareDate(date1: string | Date, date2: string | Date): boolean;
280
+ /**
281
+ * 时间是否相等
282
+ * @return
283
+ */
149
284
  isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
285
+ /**
286
+ * get month week
287
+ * @param year
288
+ * @param month
289
+ * @param date
290
+ * @param firstDayOfWeek
291
+ * @returns
292
+ */
150
293
  getMonthWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
294
+ /**
295
+ * get year week
296
+ * @param year
297
+ * @param month
298
+ * @param date
299
+ * @param firstDayOfWeek
300
+ * @returns
301
+ */
151
302
  getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
303
+ /**
304
+ * get week date
305
+ */
152
306
  getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
307
+ /**
308
+ * format result date
309
+ */
153
310
  formatResultDate: (date: string) => string[];
311
+ /**
312
+ * 判断日期是否在范围内
313
+ * @param date
314
+ * @param startDate
315
+ * @param span 允许负数
316
+ */
154
317
  inScope4Day(date: Date, startDate: Date, span: number): boolean;
318
+ /**
319
+ * 判断日期是否在范围内
320
+ * @param date
321
+ * @param startDate
322
+ * @param span
323
+ */
155
324
  inScope4Month(date: Date, startDate: Date, span: number): boolean;
156
325
  };
157
326
 
327
+ /**
328
+ * 防抖函数(执行时间范围内的最后一次)
329
+ * @param func 函数
330
+ * @param delay 防止抖动毫秒数
331
+ * @returns
332
+ */
158
333
  export declare function debounce(func: GenericFunction, delay: number): GenericFunction;
159
334
 
335
+ /**
336
+ * 防抖Ref
337
+ * @param value
338
+ * @param delay
339
+ */
160
340
  export declare function debounceRef<T>(value: T, delay: number): Ref<T>;
161
341
 
342
+ /**
343
+ * 获取小数长度
344
+ * @param value
345
+ */
162
346
  export declare function decimalLength(value: string | number): number;
163
347
 
164
348
  declare const _default: FoxUIApp;
165
349
  export default _default;
166
350
 
351
+ /**
352
+ * anyNode
353
+ * @param name
354
+ * @param callbacks
355
+ * @returns
356
+ */
167
357
  export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback>, proxy?: FoxComponentPublicInstance): Broadcast | null;
168
358
 
359
+ /**
360
+ * 安装config domain
361
+ * @param name 名称
362
+ * @param props 属性
363
+ * @param ignores 忽略的属性
364
+ * @returns
365
+ */
169
366
  export declare function defineConfigDomain(name: string | null, props: Record<string, any>, ignores?: any[]): Domain;
170
367
 
368
+ /**
369
+ * 定义domain data item
370
+ * @returns
371
+ */
171
372
  export declare function defineDataItem(domain: Domain, name: string, descriptor: Descriptor, parentBroadcast: Broadcast, parentValidateSchema: ValidateSchema): {
172
373
  broadcast: Broadcast;
173
374
  validateSchema: ValidateSchema;
174
375
  };
175
376
 
377
+ /**
378
+ * 安装domain
379
+ * @param name 名称
380
+ * @param props 属性
381
+ * @param ignores 忽略的属性
382
+ * @param exposes 暴露的方法
383
+ * @returns
384
+ */
176
385
  export declare function defineDomain(name: string | null, props: Record<string, any>, ignores?: any[], exposes?: Record<string, BroadcastCallback>): Domain;
177
386
 
387
+ /**
388
+ * 定义domain item
389
+ * @returns
390
+ */
178
391
  export declare function defineItem(descriptor: Descriptor, name?: string, exposes?: Record<string, BroadcastCallback>): DomainItem;
179
392
 
393
+ /**
394
+ * 创建page state
395
+ *
396
+ * @param domain
397
+ * @param overrideProps
398
+ */
180
399
  export declare function definePageState(domain: Domain, overrideProps?: Record<string, unknown>): UnwrapNestedRefs<PageState> | null;
181
400
 
401
+ /**
402
+ * 删除公共校验器
403
+ * @param type
404
+ */
182
405
  export declare function deleteGlobalValidator(type: string): void;
183
406
 
407
+ /**
408
+ * 组件描述
409
+ */
184
410
  export declare interface Descriptor {
185
411
  componentName: string;
186
412
  fieldName?: string;
@@ -236,39 +462,106 @@ declare class DialogOptions {
236
462
  lockScroll?: boolean;
237
463
  }
238
464
 
239
- declare type Direction = '' | 'vertical' | 'horizontal';
240
-
465
+ /**
466
+ * 禁用属性
467
+ * @param source
468
+ */
241
469
  export declare function disabledProperty(source: Ref): Ref;
242
470
 
243
471
  export { divide }
244
472
 
245
- export declare const Divider: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
473
+ export declare const Divider: any;
246
474
 
475
+ /**
476
+ * Domain
477
+ */
247
478
  export declare class Domain {
479
+ /**
480
+ * 父亲domain
481
+ */
248
482
  private _parent;
249
483
  get parent(): Domain | null;
250
484
  set parent(val: Domain | null);
485
+ /**
486
+ * 名称
487
+ */
251
488
  private _name;
252
489
  get name(): string | null;
490
+ /**
491
+ * 广播器
492
+ */
253
493
  private _broadcast;
254
494
  get broadcast(): Broadcast | null;
255
495
  set broadcast(val: Broadcast | null);
496
+ /**
497
+ * 校验器
498
+ */
256
499
  private _validateSchema;
257
500
  get validateSchema(): ValidateSchema | null;
258
501
  set validateSchema(val: ValidateSchema | null);
502
+ /**
503
+ * 属性集合
504
+ */
259
505
  private _props;
506
+ /**
507
+ * 构造函数
508
+ * @param name
509
+ */
260
510
  constructor(name?: string | null);
511
+ /**
512
+ * 销毁
513
+ */
261
514
  destroy(): void;
515
+ /**
516
+ * 合并属性
517
+ * @param props
518
+ */
262
519
  merge(props: Record<string | number, any>, ignores?: any[]): void;
520
+ /**
521
+ * 判断是否有属性
522
+ */
263
523
  has(key: string | number): boolean;
524
+ /**
525
+ * 删除属性
526
+ * @param key
527
+ */
264
528
  delete(key: string | number): void;
529
+ /**
530
+ * 设置属性
531
+ * @param key
532
+ * @param value
533
+ */
265
534
  set(key: string | number, value: any): void;
535
+ /**
536
+ * 获取属性
537
+ *
538
+ * @param key
539
+ * @param defaultValue
540
+ */
266
541
  get(key: string | number, defaultValue?: any): any;
542
+ /**
543
+ * 获取属性
544
+ *
545
+ * @param key
546
+ * @param defaultValue
547
+ */
267
548
  getForParent(key: string | number, defaultValue?: any): any;
549
+ /**
550
+ * 获取self属性
551
+ * @param key
552
+ * @returns
553
+ */
268
554
  getForSelf(key: string | number): any;
555
+ /**
556
+ * 从继承关系中获取属性集合
557
+ * @param key
558
+ */
269
559
  getAll(key: string | number): any[];
270
560
  }
271
561
 
562
+ /**
563
+ * domain item
564
+ */
272
565
  export declare interface DomainItem {
273
566
  broadcast: Broadcast;
274
567
  validateSchema: ValidateSchema;
@@ -283,116 +576,192 @@ export declare interface DomainItem {
283
576
  };
284
577
  }
285
578
 
579
+ /**
580
+ * domain key
581
+ */
286
582
  export declare const DomainKey: unique symbol;
287
583
 
288
- export declare const DomainProvider: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
584
+ export declare const DomainProvider: any;
289
585
 
290
- export declare const Drag: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
586
+ export declare const Drag: any;
291
587
 
292
- export declare const Ecard: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
588
+ export declare const Ecard: any;
293
589
 
294
- export declare const Elevator: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
590
+ export declare const Elevator: any;
295
591
 
296
- export declare const Ellipsis: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
592
+ export declare const Ellipsis: any;
297
593
 
298
- export declare const Empty: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
594
+ export declare const Empty: any;
299
595
 
596
+ /**
597
+ * event listener
598
+ */
300
599
  declare interface EventListener_2 {
301
600
  (...args: any[]): void;
302
601
  }
303
602
 
603
+ /**
604
+ * 根据排除模版,抽取属性
605
+ * @param src
606
+ * @param excludeTemplates
607
+ * @returns
608
+ */
304
609
  export declare function excludeProps(src: Record<string, any>, ...excludeTemplates: Record<string, any>[]): Record<string, any>;
305
610
 
611
+ /**
612
+ * 继承(是否深度拷贝,dest,src1,src2,src3...)
613
+ *
614
+ * @returns
615
+ */
306
616
  export declare function extend(...args: any[]): any;
307
617
 
308
- export declare const FixedNav: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
618
+ export declare const FixedNav: any;
309
619
 
310
620
  export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
311
621
 
312
- export declare const FooterBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
313
-
314
- declare type FoxComponentPublicInstance = any;
315
-
316
- declare interface FoxUI {
317
- version: string;
318
- install(app: App, ...options: any[]): any;
319
- initPageLayout(options: FoxUIOptions, rootDomain?: Domain): void;
320
- setScopeGetter(getter: ScopeGetter): void;
321
- setAPI(name: string, func: any, scope?: string): void;
322
- getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
323
- batchSetAPI(apis: Record<string, any>, scope?: string): void;
324
- clearScopeAPI(scope: string): void;
325
- getRootDomain(): Domain;
326
- }
622
+ export declare const FooterBar: any;
327
623
 
624
+ /**
625
+ * Fox UI App
626
+ */
328
627
  declare class FoxUIApp implements FoxUI {
628
+ /**
629
+ * packages
630
+ */
329
631
  private packages;
632
+ /**
633
+ * version
634
+ */
330
635
  private _version;
331
636
  get version(): string;
637
+ /**
638
+ * 构造函数
639
+ * @param packages
640
+ * @param version
641
+ */
332
642
  constructor(packages: any[], version: string);
643
+ /**
644
+ * 安装
645
+ * @param app
646
+ * @param options
647
+ */
333
648
  install(app: App, options: FoxUIOptions): any;
649
+ /**
650
+ * 初始化page Layout
651
+ *
652
+ * @param options
653
+ * @param rootDomain
654
+ */
334
655
  initPageLayout(options: FoxUIOptions, rootDomain?: Domain): void;
656
+ /**
657
+ * 设置scope getter
658
+ * @param getter
659
+ */
335
660
  setScopeGetter(getter: ScopeGetter): void;
661
+ /**
662
+ * 设置API
663
+ * @param name
664
+ * @param api
665
+ * @param scope
666
+ */
336
667
  setAPI(name: string, api: any, scope?: string): void;
668
+ /**
669
+ * 获取API
670
+ * @param proxy
671
+ * @param name
672
+ * @param scope
673
+ */
337
674
  getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
675
+ /**
676
+ * 批量增加api
677
+ * @param apis
678
+ * @param scope
679
+ */
338
680
  batchSetAPI(apis: Record<string, any>, scope?: string): void;
681
+ /**
682
+ * 清空scope apis
683
+ * @param scope
684
+ */
339
685
  clearScopeAPI(scope: string): void;
686
+ /**
687
+ * 获取root domain
688
+ */
340
689
  getRootDomain(): Domain;
341
690
  }
342
691
 
343
- declare interface FoxUIOptions {
344
- install?: boolean;
345
- headerBarHeight?: number;
346
- footerBarHeight?: number;
347
- safeAreaInset?: SafeAreaInset;
348
- pageLayout?: PageLayout;
349
- headerPadding?: Rect_2;
350
- contentPadding?: Rect_2;
351
- groupLayout?: GroupLayout;
352
- labelWidth?: number | string;
353
- [propName: string]: any;
354
- }
355
-
692
+ /**
693
+ * 通用函数接口
694
+ */
356
695
  export declare interface GenericFunction {
357
696
  (...args: any[]): any;
358
697
  }
359
698
 
699
+ /**
700
+ * 获取公共校验检查事件
701
+ */
360
702
  export declare function getGlobalValidateCheckEvents(): string[];
361
703
 
704
+ /**
705
+ * 获取公共校验重置事件
706
+ */
362
707
  export declare function getGlobalValidateResetEvents(): string[];
363
708
 
709
+ /**
710
+ * 获取page content区域高度(pageHeight - headerHeight - footerHeight - padding )
711
+ * @param domain
712
+ * @param state
713
+ * @returns
714
+ */
364
715
  export declare function getPageContentAreaHeight(domain: Domain, state?: PageState): number;
365
716
 
717
+ /**
718
+ * 获取page content区域宽度(pageWidth - padding )
719
+ * @param domain
720
+ * @param state
721
+ * @returns
722
+ */
366
723
  export declare function getPageContentAreaWidth(domain: Domain, state?: PageState): number;
367
724
 
725
+ /**
726
+ * 获取page footer区域高度(footerHeight + SafeAreaBottom )
727
+ * @param domain
728
+ * @param state
729
+ * @returns
730
+ */
368
731
  export declare function getPageFooterAreaHeight(domain: Domain, state?: PageState): number;
369
732
 
733
+ /**
734
+ * 获取page header区域高度(headerHeight + SafeAreaTop )
735
+ * @param domain
736
+ * @param state
737
+ * @returns
738
+ */
370
739
  export declare function getPageHeaderAreaHeight(domain: Domain, state?: PageState): number;
371
740
 
741
+ /**
742
+ * 获取root domain
743
+ * @returns
744
+ */
372
745
  export declare function getRootDomain(): Domain;
373
746
 
374
747
  export declare const getScrollTopRoot: () => number;
375
748
 
376
- export declare const Grid: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
377
-
378
- export declare const GridItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
749
+ export declare const Grid: any;
379
750
 
380
- export declare const Group: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
751
+ export declare const GridItem: any;
381
752
 
382
- declare interface GroupLayout {
383
- type: string;
384
- width: number;
385
- column: number;
386
- gutter: number;
387
- }
753
+ export declare const Group: any;
388
754
 
755
+ /**
756
+ * 是否支持symbol
757
+ */
389
758
  export declare const hasSymbol: boolean;
390
759
 
391
- export declare const HeaderBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
760
+ export declare const HeaderBar: any;
392
761
 
393
- export declare const hinttext: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
762
+ export declare const hinttext: any;
394
763
 
395
- declare const Image_2: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
764
+ declare const Image_2: any;
396
765
  export { Image_2 as Image }
397
766
 
398
767
  declare interface ImageInterface {
@@ -431,78 +800,212 @@ declare class ImagePreviewOptions {
431
800
  teleport?: string | HTMLElement;
432
801
  }
433
802
 
803
+ /**
804
+ * 根据包含模版,抽取属性
805
+ * @param src
806
+ * @param includeTemplates
807
+ * @returns
808
+ */
434
809
  export declare function includeProps(src: Record<string, any>, ...includeTemplates: Record<string, any>[]): Record<string, any>;
435
810
 
811
+ /**
812
+ * 获取对应元素的在数组中第一个匹配的索引
813
+ * @param x
814
+ * @param arr
815
+ * @returns
816
+ */
436
817
  export declare function indexOf(x: unknown, arr: unknown[]): number;
437
818
 
438
- export declare const Indicator: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
819
+ export declare const Indicator: any;
439
820
 
440
- export declare const InfiniteLoading: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
821
+ export declare const InfiniteLoading: any;
441
822
 
442
- export declare const InputItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
823
+ export declare const InputItem: any;
443
824
 
444
- export declare const InputNumber: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
825
+ export declare const InputNumber: any;
445
826
 
827
+ /**
828
+ * 安装校验规则
829
+ * @param proxy
830
+ */
446
831
  export declare function installRules(proxy: FoxComponentPublicInstance, validateScheme: ValidateSchema, name: string): void;
447
832
 
833
+ /**
834
+ * 获取整数长度
835
+ * @param value
836
+ */
448
837
  export declare function integerLength(value: string | number): number;
449
838
 
450
839
  declare type Interceptor = (...args: any[]) => Promise<boolean> | boolean | undefined | void;
451
840
 
841
+ /**
842
+ * 是否数组
843
+ */
452
844
  export declare const isArray: (arg: any) => arg is any[];
453
845
 
846
+ /**
847
+ * 是否为类数组
848
+ * @param obj
849
+ * @returns {boolean}
850
+ */
454
851
  export declare function isArrayLike(obj: any): boolean;
455
852
 
853
+ /**
854
+ * 是否为浏览器环境
855
+ */
456
856
  export declare const isBrowser: boolean;
457
857
 
858
+ /**
859
+ * 是否为Date
860
+ * @param val
861
+ * @returns
862
+ */
458
863
  export declare const isDate: (val: unknown) => val is Date;
459
864
 
865
+ /**
866
+ * 是否空字符串
867
+ * @param v
868
+ * @returns
869
+ */
460
870
  export declare const isEmptyString: (v: unknown) => boolean;
461
871
 
872
+ /**
873
+ * 判断两个对象是否一致
874
+ * @param x
875
+ * @param y
876
+ * @return
877
+ */
462
878
  export declare function isEqual(x: any, y: any): boolean;
463
879
 
880
+ /**
881
+ * 是否为es module
882
+ * @param obj
883
+ * @returns
884
+ */
464
885
  export declare function isESModule(obj: any): obj is Object;
465
886
 
887
+ /**
888
+ * 是否为函数
889
+ * @param val
890
+ * @returns
891
+ */
466
892
  export declare const isFunction: (val: unknown) => val is Function;
467
893
 
894
+ /**
895
+ * 是否是隐藏element
896
+ * @param el
897
+ */
468
898
  export declare function isHidden(el: any): boolean;
469
899
 
900
+ /**
901
+ * 是否为内嵌页面
902
+ * 内嵌页面为内嵌在容器内,如dialog,不需要设置content的高度
903
+ * @param domain
904
+ * @param proxy
905
+ * @returns
906
+ */
470
907
  export declare function isInnerPage(domain: Domain, proxy: any): boolean;
471
908
 
909
+ /**
910
+ * 是否为Map
911
+ * @param val
912
+ * @returns
913
+ */
472
914
  export declare const isMap: (val: unknown) => val is Map<any, any>;
473
915
 
916
+ /**
917
+ * 是否为数字字符串
918
+ * @param value
919
+ * @returns
920
+ */
474
921
  export declare function isNumberString(value: string): boolean;
475
922
 
923
+ /**
924
+ * 是否为object
925
+ */
476
926
  export declare const isObject: (val: unknown) => val is Record<any, any>;
477
927
 
928
+ /**
929
+ * 是否为plain对象
930
+ * @param val
931
+ * @returns
932
+ */
478
933
  export declare const isPlainObject: (val: unknown) => val is object;
479
934
 
935
+ /**
936
+ * 是否为promise
937
+ * @param val
938
+ * @returns
939
+ */
480
940
  export declare const isPromise: <T = any>(val: unknown) => val is Promise<T>;
481
941
 
942
+ /**
943
+ * 判断是否为正则表达式
944
+ * @param v
945
+ * @returns
946
+ */
482
947
  export declare function isRegExp(v: unknown): v is RegExp;
483
948
 
949
+ /**
950
+ * 是否为Set
951
+ * @param val
952
+ * @returns
953
+ */
484
954
  export declare const isSet: (val: unknown) => val is Set<any>;
485
955
 
956
+ /**
957
+ * 是否为字符串
958
+ * @param val
959
+ * @returns
960
+ */
486
961
  export declare const isString: (val: unknown) => val is string;
487
962
 
963
+ /**
964
+ * 是否子页面
965
+ * @param domain
966
+ */
488
967
  export declare function isSubPage(domain: Domain): boolean;
489
968
 
969
+ /**
970
+ * 是否为symbol
971
+ * @param val
972
+ * @returns
973
+ */
490
974
  export declare const isSymbol: (val: unknown) => val is symbol;
491
975
 
976
+ /**
977
+ * 是否是window对象
978
+ * @param obj
979
+ */
492
980
  export declare function isWindow(obj: any): boolean;
493
981
 
494
- export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
982
+ export declare const Item: any;
495
983
 
984
+ /**
985
+ * 获取对应元素的在数组中最后一个匹配的索引
986
+ * @param x
987
+ * @param arr
988
+ * @returns
989
+ */
496
990
  export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
497
991
 
498
- export declare const Layout: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
992
+ export declare const Layout: any;
499
993
 
500
- export declare const LinkItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
994
+ export declare const LinkItem: any;
501
995
 
502
- export declare const List: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
996
+ export declare const List: any;
503
997
 
998
+ /**
999
+ * 创建数组
1000
+ * @param arr
1001
+ * @param results
1002
+ * @return
1003
+ */
504
1004
  export declare function makeArray(arr: any, results?: any[]): any[];
505
1005
 
1006
+ /**
1007
+ * 匹配条件
1008
+ */
506
1009
  export declare interface Matched {
507
1010
  name?: string | RegExp | {
508
1011
  (name: string): boolean;
@@ -511,56 +1014,68 @@ export declare interface Matched {
511
1014
  level?: number;
512
1015
  }
513
1016
 
514
- export declare const Menu: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1017
+ export declare const Menu: any;
515
1018
 
516
- export declare const MenuItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1019
+ export declare const MenuItem: any;
517
1020
 
1021
+ /**
1022
+ * 合并数组
1023
+ * @param first
1024
+ * @param second
1025
+ * @return
1026
+ */
518
1027
  export declare function merge(first: any[], second: any[]): any[];
519
1028
 
520
- export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1029
+ export declare const MoneyItem: any;
521
1030
 
522
1031
  export { multiply }
523
1032
 
524
- export declare const Navbar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1033
+ export declare const Navbar: any;
525
1034
 
526
1035
  export { negate }
527
1036
 
1037
+ /**
1038
+ * 下一个事件周期中执行函数
1039
+ * @param fn
1040
+ * @param args
1041
+ */
528
1042
  export declare function nextTick(fn: {
529
1043
  (...args: any[]): void;
530
1044
  }, ...args: any[]): void;
531
1045
 
532
- export declare const NoticeBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1046
+ export declare const NoticeBar: any;
533
1047
 
534
1048
  export declare const Notify: {
535
- text(msg: string, obj?: {}): {
536
- [x: string]: unknown;
537
- } | undefined;
538
- primary(msg: string, obj?: {}): {
539
- [x: string]: unknown;
540
- } | undefined;
541
- success(msg: string, obj?: {}): {
542
- [x: string]: unknown;
543
- } | undefined;
544
- danger(msg: string, obj?: {}): {
545
- [x: string]: unknown;
546
- } | undefined;
547
- warn(msg: string, obj?: {}): {
548
- [x: string]: unknown;
549
- } | undefined;
1049
+ text(msg: string, obj?: {}): any;
1050
+ primary(msg: string, obj?: {}): any;
1051
+ success(msg: string, obj?: {}): any;
1052
+ danger(msg: string, obj?: {}): any;
1053
+ warn(msg: string, obj?: {}): any;
550
1054
  hide(): void;
551
1055
  install(app: any): void;
552
1056
  };
553
1057
 
554
1058
  export { numberFormat }
555
1059
 
556
- export declare const NumberKeyboard: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1060
+ export declare const NumberKeyboard: any;
557
1061
 
1062
+ /**
1063
+ * 对象类型
1064
+ */
558
1065
  export declare const objectToString: () => string;
559
1066
 
1067
+ /**
1068
+ * 只执行一次函数
1069
+ * @param func
1070
+ * @returns
1071
+ */
560
1072
  export declare function once(func: GenericFunction): GenericFunction;
561
1073
 
562
- export declare const OverLay: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1074
+ export declare const OverLay: any;
563
1075
 
1076
+ /**
1077
+ * padding
1078
+ */
564
1079
  export declare interface Padding {
565
1080
  left: number | null;
566
1081
  top: number | null;
@@ -570,8 +1085,11 @@ export declare interface Padding {
570
1085
 
571
1086
  export declare const padZero: (num: number | string, length?: number) => string;
572
1087
 
573
- export declare const Page: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1088
+ export declare const Page: any;
574
1089
 
1090
+ /**
1091
+ * page layout
1092
+ */
575
1093
  export declare interface PageLayout {
576
1094
  width: number | string;
577
1095
  height: number | string;
@@ -587,10 +1105,14 @@ export declare interface PageState {
587
1105
  height: number;
588
1106
  headerHeight: number;
589
1107
  headerPadding: Padding;
1108
+ headerAllHeight?: number;
590
1109
  footerHeight: number;
591
1110
  footerPadding: Padding;
1111
+ footerAllHeight?: number;
592
1112
  contentHeight: number | string | null;
593
1113
  contentPadding: Padding;
1114
+ contentInnerHeight?: number;
1115
+ contentInnerWidth?: number;
594
1116
  safeAreaTop: number;
595
1117
  safeAreaBottom: number;
596
1118
  safeAreaLeft: number;
@@ -599,49 +1121,66 @@ export declare interface PageState {
599
1121
  footerMounted?: boolean;
600
1122
  }
601
1123
 
602
- export declare const Pagination: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1124
+ export declare const Pagination: any;
603
1125
 
604
- export declare const Picker: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1126
+ export declare const Picker: any;
605
1127
 
606
- export declare const PickerItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1128
+ export declare const PickerItem: any;
607
1129
 
1130
+ /**
1131
+ * 坐标
1132
+ */
608
1133
  export declare interface Point {
609
1134
  x: number;
610
1135
  y: number;
611
1136
  }
612
1137
 
613
- export declare const Popover: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1138
+ export declare const Popover: any;
614
1139
 
615
- export declare const Popup: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1140
+ export declare const Popup: any;
616
1141
 
617
1142
  export declare function preventDefault(event: Event, isStopPropagation?: boolean): void;
618
1143
 
619
- export declare const Price: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1144
+ export declare const Price: any;
620
1145
 
1146
+ /**
1147
+ * 优先策略
1148
+ */
621
1149
  export declare enum PriorityPolicy {
622
1150
  Parent = 0,
623
1151
  Near = 1
624
1152
  }
625
1153
 
626
- export declare const Progress: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1154
+ export declare const Progress: any;
627
1155
 
1156
+ /**
1157
+ * 属性
1158
+ * @param source
1159
+ * @param name
1160
+ * @param policy
1161
+ * @param filter
1162
+ */
628
1163
  export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref;
629
1164
 
630
- export declare const PullRefresh: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1165
+ export declare const PullRefresh: any;
631
1166
 
632
- export declare const Radio: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1167
+ export declare const Radio: any;
633
1168
 
634
- export declare const RadioGroup: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1169
+ export declare const RadioGroup: any;
635
1170
 
636
- export declare const RadioItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1171
+ export declare const RadioItem: any;
637
1172
 
638
1173
  export declare const raf: any;
639
1174
 
640
- declare const Range_2: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1175
+ declare const Range_2: any;
641
1176
  export { Range_2 as Range }
642
1177
 
643
- export declare const Rate: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1178
+ export declare const Rate: any;
644
1179
 
1180
+ /**
1181
+ * 只读属性
1182
+ * @param source
1183
+ */
645
1184
  export declare function readonlyProperty(source: Ref): Ref;
646
1185
 
647
1186
  export declare interface Rect {
@@ -653,21 +1192,23 @@ export declare interface Rect {
653
1192
  height: number;
654
1193
  }
655
1194
 
656
- declare interface Rect_2 {
657
- left: number;
658
- top: number;
659
- right: number;
660
- bottom: number;
661
- }
662
-
1195
+ /**
1196
+ * 结果类型
1197
+ */
663
1198
  export declare type Result = Promise<any> | any;
664
1199
 
1200
+ /**
1201
+ * 结果集合
1202
+ */
665
1203
  export declare type Results = Result[];
666
1204
 
667
- export declare const Row: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1205
+ export declare const Row: any;
668
1206
 
669
- export declare const RowItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1207
+ export declare const RowItem: any;
670
1208
 
1209
+ /**
1210
+ * 安全区域
1211
+ */
671
1212
  export declare interface SafeAreaInset {
672
1213
  left: number | string;
673
1214
  top: number | string;
@@ -675,151 +1216,272 @@ export declare interface SafeAreaInset {
675
1216
  bottom: number | string;
676
1217
  }
677
1218
 
678
- declare interface ScopeGetter {
679
- (proxy: ComponentPublicInstance): string | null;
680
- }
681
-
682
- export declare const SearchBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1219
+ export declare const SearchBar: any;
683
1220
 
1221
+ /**
1222
+ * 设置公共校验检查事件
1223
+ * @param events
1224
+ */
684
1225
  export declare function setGlobalValidateCheckEvents(events: string[]): void;
685
1226
 
1227
+ /**
1228
+ * 设置公共的校验处理器
1229
+ * @param validateHandler
1230
+ */
686
1231
  export declare function setGlobalValidateHandler(validateHandler: ValidateHandler): void;
687
1232
 
1233
+ /**
1234
+ * 设置公共校验提示信息
1235
+ */
688
1236
  export declare function setGlobalValidateMessages(messages: ValidateMessages): void;
689
1237
 
1238
+ /**
1239
+ * 设置公共校验重置事件
1240
+ * @param events
1241
+ */
690
1242
  export declare function setGlobalValidateResetEvents(events: string[]): void;
691
1243
 
1244
+ /**
1245
+ * 设置公共校验器
1246
+ * @param type
1247
+ * @param validator
1248
+ */
692
1249
  export declare function setGlobalValidator(type: string, validator: ExecuteValidator): void;
693
1250
 
694
- export declare const ShortPassword: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1251
+ export declare const ShortPassword: any;
695
1252
 
696
- export declare const SideNavBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1253
+ export declare const SideNavBar: any;
697
1254
 
698
- export declare const SideNavBarItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1255
+ export declare const SideNavBarItem: any;
699
1256
 
700
- export declare const Signature: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1257
+ export declare const Signature: any;
701
1258
 
702
- export declare const Skeleton: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1259
+ /**
1260
+ * size
1261
+ */
1262
+ declare interface Size {
1263
+ width: number;
1264
+ height: number;
1265
+ }
1266
+
1267
+ export declare const Skeleton: any;
703
1268
 
704
- export declare const Sku: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1269
+ export declare const Sku: any;
705
1270
 
706
- export declare const SlotItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1271
+ export declare const SlotItem: any;
707
1272
 
708
- export declare const Step: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1273
+ export declare const Step: any;
709
1274
 
710
- export declare const Steps: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1275
+ export declare const Steps: any;
711
1276
 
712
- export declare const Sticky: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1277
+ export declare const Sticky: any;
713
1278
 
714
- export declare const SubSideNavBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1279
+ export declare const SubSideNavBar: any;
715
1280
 
716
- export declare const Swipe: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1281
+ export declare const Swipe: any;
717
1282
 
718
- export declare const Swiper: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1283
+ export declare const Swiper: any;
719
1284
 
720
- export declare const SwiperItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1285
+ export declare const SwiperItem: any;
721
1286
 
722
- export declare const Switch: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1287
+ export declare const Switch: any;
723
1288
 
724
- export declare const SwitchItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1289
+ export declare const SwitchItem: any;
725
1290
 
726
- export declare const Tabbar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1291
+ export declare const Tabbar: any;
727
1292
 
728
- export declare const TabbarItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1293
+ export declare const TabbarItem: any;
729
1294
 
730
- export declare const Table: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1295
+ export declare const Table: any;
731
1296
 
732
- export declare const TabPane: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1297
+ export declare const TabPane: any;
733
1298
 
734
- export declare const Tabs: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1299
+ export declare const Tabs: any;
735
1300
 
736
- export declare const Tag: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1301
+ export declare const Tag: any;
737
1302
 
738
- export declare const Textarea: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1303
+ export declare const Textarea: any;
739
1304
 
740
- export declare const TextareaItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1305
+ export declare const TextareaItem: any;
741
1306
 
1307
+ /**
1308
+ * 节流函数(执行时间范围内的第一次)
1309
+ * @param func 函数
1310
+ * @param delay 延迟执行毫秒数
1311
+ * @returns
1312
+ */
742
1313
  export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
743
1314
 
744
- export declare const TimeDetail: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1315
+ export declare const TimeDetail: any;
745
1316
 
746
- export declare const TimePannel: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1317
+ export declare const TimePannel: any;
747
1318
 
748
- export declare const TimeSelect: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1319
+ export declare const TimeSelect: any;
749
1320
 
750
1321
  export declare const Toast: {
751
- text(msg: string, opts?: {}): any | undefined;
752
- success(msg: string, opts?: {}): any | undefined;
753
- fail(msg: string, opts?: {}): any | undefined;
754
- warn(msg: string, opts?: {}): any | undefined;
755
- loading(msg: string, opts?: {}): any | undefined;
1322
+ text(msg: string, opts?: {}): any;
1323
+ success(msg: string, opts?: {}): any;
1324
+ fail(msg: string, opts?: {}): any;
1325
+ warn(msg: string, opts?: {}): any;
1326
+ loading(msg: string, opts?: {}): any;
756
1327
  hide(id?: string): void;
757
1328
  install(app: any): void;
758
1329
  };
759
1330
 
1331
+ /**
1332
+ * 转换为boolean值
1333
+ * @param val
1334
+ * @returns
1335
+ */
760
1336
  export declare function toBoolean(val: unknown): boolean;
761
1337
 
1338
+ /**
1339
+ * 转换为number值
1340
+ * @param val
1341
+ * @returns
1342
+ */
762
1343
  export declare function toNumber(val: unknown): number;
763
1344
 
1345
+ /**
1346
+ * 转换为number rect
1347
+ */
764
1348
  export declare function toPadding(rect: any): Padding;
765
1349
 
1350
+ /**
1351
+ * 转换为px number数值
1352
+ * @param value
1353
+ * @param size
1354
+ */
766
1355
  export declare function toPx(value: number | string, size?: number): number;
767
1356
 
1357
+ /**
1358
+ * to px desc
1359
+ * @param value
1360
+ * @returns
1361
+ */
768
1362
  export declare const toPxDesc: (value: string | number) => string;
769
1363
 
770
1364
  export declare const toTypeString: (value: unknown) => string;
771
1365
 
772
- export declare const Tour: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1366
+ export declare const Tour: any;
773
1367
 
1368
+ /**
1369
+ * to model value
1370
+ * @param props
1371
+ * @param format
1372
+ * @returns
1373
+ */
774
1374
  export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
775
1375
 
776
- export declare const TrendArrow: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1376
+ export declare const TrendArrow: any;
777
1377
 
1378
+ /**
1379
+ * 判断类型
1380
+ * @param obj
1381
+ * @returns any
1382
+ */
778
1383
  export declare function typeOf(obj: any): string;
779
1384
 
780
1385
  export declare class UniqueID {
1386
+ /**
1387
+ * seed id
1388
+ */
781
1389
  private seed;
1390
+ /**
1391
+ * 种子
1392
+ * @param seed
1393
+ */
782
1394
  constructor(seed?: number);
1395
+ /**
1396
+ * 获取唯一ID
1397
+ * @returns
1398
+ */
783
1399
  get(): number;
784
1400
  }
785
1401
 
786
1402
  export { unNumberFormat }
787
1403
 
1404
+ /**
1405
+ * 更新 page state
1406
+ * @param state
1407
+ * @param pageLayout
1408
+ * @param overrideProps
1409
+ */
788
1410
  export declare function updatePageState(state: PageState, pageLayout: any, overrideProps?: Record<string, unknown>, root?: boolean, rootWidth?: number, rootHeight?: number, headerBarHeight?: number, footerBarHeight?: number): void;
789
1411
 
790
- export declare const Uploader: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1412
+ export declare const Uploader: any;
791
1413
 
1414
+ /**
1415
+ * 使用broadcast
1416
+ * @param proxy
1417
+ * @returns
1418
+ */
792
1419
  export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null): Broadcast | null;
793
1420
 
1421
+ /**
1422
+ * 获取当前domain
1423
+ * @returns
1424
+ */
794
1425
  export declare function useDomain(proxy?: ComponentPublicInstance | null): Domain | null;
795
1426
 
1427
+ /**
1428
+ * use expose
1429
+ * @param apis
1430
+ */
796
1431
  export declare function useExpose(apis: Record<string, any>, instance?: ComponentInternalInstance | null): void;
797
1432
 
1433
+ /**
1434
+ * 获取内部可用size
1435
+ * @param elementRef
1436
+ * @returns
1437
+ */
1438
+ export declare function useInnerSize(elementRef: Element | Ref<Element>): Size;
1439
+
1440
+ /**
1441
+ * 获取page state
1442
+ * @param domain
1443
+ * @returns
1444
+ */
798
1445
  export declare function usePageState(domain: Domain): PageState | null;
799
1446
 
1447
+ /**
1448
+ * 获取element 位置
1449
+ * @param elementRef
1450
+ * @returns
1451
+ */
800
1452
  export declare const usePosition: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Point;
801
1453
 
802
1454
  export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
803
1455
 
1456
+ /**
1457
+ * 获取size
1458
+ * @param elementRef
1459
+ * @returns
1460
+ */
1461
+ export declare function useSize(elementRef: Element | Ref<Element>): Size;
1462
+
804
1463
  export declare function useTouch(): {
805
1464
  move: EventListener;
806
1465
  start: EventListener;
807
1466
  reset: () => void;
808
- startX: Ref<number>;
809
- startY: Ref<number>;
810
- startTime: Ref<number>;
811
- duration: Ref<number>;
812
- moveX: Ref<number>;
813
- moveY: Ref<number>;
814
- deltaX: Ref<number>;
815
- deltaY: Ref<number>;
816
- offsetX: Ref<number>;
817
- offsetY: Ref<number>;
818
- direction: Ref<Direction>;
1467
+ startX: any;
1468
+ startY: any;
1469
+ startTime: any;
1470
+ duration: any;
1471
+ moveX: any;
1472
+ moveY: any;
1473
+ deltaX: any;
1474
+ deltaY: any;
1475
+ offsetX: any;
1476
+ offsetY: any;
1477
+ direction: any;
819
1478
  isVertical: () => boolean;
820
1479
  isHorizontal: () => boolean;
821
1480
  };
822
1481
 
1482
+ /**
1483
+ * 校验条件
1484
+ */
823
1485
  export declare interface ValidateCondition {
824
1486
  deep?: boolean;
825
1487
  include?: string[];
@@ -827,51 +1489,187 @@ export declare interface ValidateCondition {
827
1489
  ignoreHidden?: boolean;
828
1490
  }
829
1491
 
1492
+ /**
1493
+ * 校验器handler
1494
+ */
830
1495
  export declare interface ValidateHandler {
1496
+ /**
1497
+ * 错误处理
1498
+ * @param errorMsg
1499
+ * @param proxy
1500
+ *
1501
+ */
831
1502
  error?(errorMsg: string, proxy: FoxComponentPublicInstance): void;
1503
+ /**
1504
+ * 重置处理
1505
+ * @param proxy
1506
+ *
1507
+ */
832
1508
  reset?(proxy: FoxComponentPublicInstance): void;
1509
+ /**
1510
+ * 成功处理
1511
+ * @param proxy
1512
+ *
1513
+ */
833
1514
  success?(proxy: FoxComponentPublicInstance): void;
1515
+ /**
1516
+ * 规则装饰处理
1517
+ * @param newRule
1518
+ * @param oldRule
1519
+ * @param proxy
1520
+ *
1521
+ */
834
1522
  decorate?(newRule: Rule, oldRule: Rule, proxy: FoxComponentPublicInstance): void;
1523
+ /**
1524
+ * 获取value
1525
+ * @param proxy
1526
+ *
1527
+ */
835
1528
  getValue?(proxy: FoxComponentPublicInstance): any;
836
1529
  }
837
1530
 
1531
+ /**
1532
+ * 校验器schema
1533
+ */
838
1534
  export declare class ValidateSchema {
1535
+ /**
1536
+ * parent
1537
+ */
839
1538
  private parent;
1539
+ /**
1540
+ * 校验器
1541
+ */
840
1542
  private validators;
1543
+ /**
1544
+ * 属性rule
1545
+ */
841
1546
  private attrRules;
1547
+ /**
1548
+ * rule
1549
+ */
842
1550
  private rules;
1551
+ /**
1552
+ * 描述
1553
+ */
843
1554
  private descriptor;
1555
+ /**
1556
+ * 实例
1557
+ */
844
1558
  private proxy;
1559
+ /**
1560
+ * effect scope
1561
+ */
845
1562
  private scope;
1563
+ /**
1564
+ * 构造函数
1565
+ * @param parent
1566
+ * @param descriptor
1567
+ * @param proxy
1568
+ */
846
1569
  constructor(parent: ValidateSchema | null, descriptor: Descriptor, proxy: FoxComponentPublicInstance);
1570
+ /**
1571
+ * 初始化
1572
+ */
847
1573
  private init;
1574
+ /**
1575
+ * 销毁
1576
+ */
848
1577
  destroy(): void;
1578
+ /**
1579
+ * 执行validate handler函数
1580
+ * @param name
1581
+ * @param args
1582
+ */
849
1583
  private execHandler;
1584
+ /**
1585
+ * 调用装饰处理函数
1586
+ */
850
1587
  private decorate;
1588
+ /**
1589
+ * 调用成功处理函数
1590
+ */
851
1591
  private success;
1592
+ /**
1593
+ * 调用错误处理函数
1594
+ * @returns
1595
+ */
852
1596
  private error;
1597
+ /**
1598
+ * 调用错误处理函数
1599
+ * @returns
1600
+ */
853
1601
  private getValue;
1602
+ /**
1603
+ * 设置校验器
1604
+ * @param type
1605
+ * @param validator
1606
+ * @param global
1607
+ *
1608
+ * @returns
1609
+ */
854
1610
  setValidator(type: string, validator: ExecuteValidator, global?: boolean): void;
1611
+ /**
1612
+ * 获取validator(只获取私有的validator)
1613
+ * @param type
1614
+ */
855
1615
  getValidator(type: string): ExecuteValidator | null;
1616
+ /**
1617
+ * 删除校验器
1618
+ * @param type
1619
+ * @param global
1620
+ */
856
1621
  deleteValidator(type: string, global?: boolean): void;
1622
+ /**
1623
+ * 判断校验器是否存在
1624
+ * @param type
1625
+ * @param global
1626
+ * @returns
1627
+ */
857
1628
  hasValidator(type: string, global?: boolean): boolean;
1629
+ /**
1630
+ * 设置rule
1631
+ * @param rule
1632
+ */
858
1633
  setRule(rule: Rule | null): void;
1634
+ /**
1635
+ * 清空校验错误信息
1636
+ * @params deep
1637
+ * @returns
1638
+ */
859
1639
  clear(): void;
1640
+ /**
1641
+ * 执行校验
1642
+ * @returns
1643
+ */
860
1644
  validate(): Promise<ValidateResult>;
861
1645
  }
862
1646
 
1647
+ /**
1648
+ * validate schema key
1649
+ */
863
1650
  export declare const ValidateSchemaKey: unique symbol;
864
1651
 
1652
+ /**
1653
+ * value 格式话
1654
+ */
865
1655
  export declare interface ValueFormat<T, K> {
866
1656
  (value: T): K;
867
1657
  }
868
1658
 
1659
+ /**
1660
+ * 获取value长度
1661
+ * @param val
1662
+ * @returns
1663
+ */
869
1664
  export declare function valueLength(val: unknown): number;
870
1665
 
1666
+ /**
1667
+ * value 类型
1668
+ */
871
1669
  export declare type ValueType = 'string' | 'number' | 'date';
872
1670
 
873
- export declare const Video: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1671
+ export declare const Video: any;
874
1672
 
875
- export declare const WaterMark: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1673
+ export declare const WaterMark: any;
876
1674
 
877
1675
  export { }