@fox-js/foxui 4.0.1-82 → 4.0.1-84

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.
@@ -3,19 +3,15 @@ import { compareTo } from '@fox-js/big-decimal';
3
3
  import { ComponentInternalInstance } from 'vue';
4
4
  import { ComponentPublicInstance } from 'vue';
5
5
  import { CSSProperties } from 'vue';
6
+ import { DefineSetupFnComponent } from 'vue';
6
7
  import { divide } from '@fox-js/big-decimal';
7
8
  import { ExecuteValidator } from '@fox-js/validator';
8
- import { FoxComponentPublicInstance } from './types';
9
- import { FoxUI } from './interface';
10
- import { FoxUIOptions } from './interface';
11
- import { HintTextTooltip } from './types';
12
- import { Interceptor } from '../../utils/Interceptor';
13
9
  import { multiply } from '@fox-js/big-decimal';
14
10
  import { negate } from '@fox-js/big-decimal';
15
11
  import { numberFormat } from '@fox-js/big-decimal';
12
+ import { PublicProps } from 'vue';
16
13
  import { Ref } from 'vue';
17
14
  import { Rule } from '@fox-js/validator';
18
- import { ScopeGetter } from './api';
19
15
  import { unNumberFormat } from '@fox-js/big-decimal';
20
16
  import { UnwrapNestedRefs } from 'vue';
21
17
  import { UnwrapRef } from 'vue';
@@ -213,16 +209,25 @@ export declare const DateUtils: {
213
209
  /**
214
210
  * 格式化
215
211
  * @param date
216
- * @param template
212
+ * @param formatTemplate
217
213
  * @returns
218
214
  */
219
- format(date: Date, template: string): string;
215
+ format(date: Date, formatTemplate?: string): string;
220
216
  /**
221
217
  * 解析
222
- * @param str
223
- * @param template
218
+ * @param dateString
219
+ * @param formatTemplate
224
220
  */
225
- parser(str: string, template: string): Date;
221
+ parser(dateString: string, formatTemplate?: string): Date;
222
+ /**
223
+ * 返回日期格式字符串
224
+ * @param i 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
225
+ * @param startDate 起点日期
226
+ * @param formatTemplate 格式化模版
227
+ * @return '2014-12-31'
228
+ *
229
+ */
230
+ getDay(i: number, startDate?: Date, formatTemplate?: string): string;
226
231
  /**
227
232
  * 是否为闫年
228
233
  * @return {Boolse} true|false
@@ -232,12 +237,7 @@ export declare const DateUtils: {
232
237
  * 返回星期数
233
238
  * @return {String}
234
239
  */
235
- getWhatDay(year: number, month: number, day: number): string;
236
- /**
237
- * 返回星期数
238
- * @return {Number}
239
- */
240
- getMonthPreDay(year: number, month: number): number;
240
+ getWhatDay(year: number, month: number, day: number): number;
241
241
  /**
242
242
  * 返回月份天数
243
243
  * @return {Number}
@@ -250,68 +250,49 @@ export declare const DateUtils: {
250
250
  getNumTwoBit(n: number): string;
251
251
  /**
252
252
  * 日期对象转成字符串
253
+ * 转换为YYYY-MM-DD格式
253
254
  * @return {string}
254
255
  */
255
256
  date2Str: (date: Date, split?: string) => string;
256
257
  /**
257
- * 返回日期格式字符串
258
- * @param {Number} 0返回今天的日期、1返回明天的日期,2返回后天得日期,依次类推
259
- * @param {Date} 起点日期
260
- * @param {formatTemplate} 格式化模版
261
- * @return {string} '2014-12-31'
258
+ * 对比
259
+ * 0:相等, 1: x > y, -1: x < y
262
260
  *
263
- */
264
- getDay(i: number, startDate?: Date, formatTemplate?: string): string;
265
- /**
266
- * 时间比较
267
- * @return
268
- */
269
- compareDate(date1: string | Date, date2: string | Date): boolean;
270
- /**
271
- * 时间是否相等
272
- * @return
273
- */
274
- isEqual(date1: string | Date | null, date2: string | Date | null): boolean;
275
- /**
276
- * get month week
277
- * @param year
278
- * @param month
279
- * @param date
280
- * @param firstDayOfWeek
261
+ * @param x
262
+ * @param y
263
+ * @param formatTemplate
281
264
  * @returns
282
265
  */
283
- getMonthWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
266
+ compare(x: string | Date, y: string | Date, formatTemplate?: string): number;
284
267
  /**
285
- * get year week
286
- * @param year
287
- * @param month
268
+ * 判断
288
269
  * @param date
289
- * @param firstDayOfWeek
290
- * @returns
291
- */
292
- getYearWeek: (year: string, month: string, date: string, firstDayOfWeek?: number) => number;
293
- /**
294
- * get week date
295
- */
296
- getWeekDate: (year: string, month: string, date: string, firstDayOfWeek?: number) => string[];
297
- /**
298
- * format result date
270
+ * @param startDate 开始日期
271
+ * @param span 允许负数
272
+ * @param dateUint span单位 'year'|'month'|'day'
299
273
  */
300
- formatResultDate: (date: string) => string[];
274
+ between(date: Date, startDate: Date, span: number, dateUint: "year" | "month" | "day"): boolean;
301
275
  /**
302
- * 判断日期是否在范围内
276
+ * 判断日期是否在范围内(day)
303
277
  * @param date
304
278
  * @param startDate
305
279
  * @param span 允许负数
306
280
  */
307
281
  inScope4Day(date: Date, startDate: Date, span: number): boolean;
308
282
  /**
309
- * 判断日期是否在范围内
283
+ * 判断日期是否在范围内(month)
310
284
  * @param date
311
285
  * @param startDate
312
286
  * @param span
313
287
  */
314
288
  inScope4Month(date: Date, startDate: Date, span: number): boolean;
289
+ /**
290
+ * 判断日期是否在范围内(year)
291
+ * @param date
292
+ * @param startDate
293
+ * @param span
294
+ */
295
+ inScope4Year(date: Date, startDate: Date, span: number): boolean;
315
296
  };
316
297
 
317
298
  /**
@@ -338,527 +319,483 @@ export declare function decimalLength(value: string | number): number;
338
319
  declare const _default: FoxUIApp;
339
320
  export default _default;
340
321
 
341
- declare const _default_10: any;
322
+ declare const _default_10: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
342
323
  export { _default_10 as FoxSlotItem }
343
324
  export { _default_10 as SlotItem }
344
325
 
345
- declare const _default_100: any;
326
+ declare const _default_100: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
346
327
  export { _default_100 as FoxVideo }
347
328
  export { _default_100 as Video }
348
329
 
349
- declare const _default_101: any;
330
+ declare const _default_101: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
350
331
  export { _default_101 as FoxSteps }
351
332
  export { _default_101 as Steps }
352
333
 
353
- declare const _default_102: any;
334
+ declare const _default_102: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
354
335
  export { _default_102 as FoxStep }
355
336
  export { _default_102 as Step }
356
337
 
357
- declare const _default_103: any;
338
+ declare const _default_103: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
358
339
  export { _default_103 as FoxSwiper }
359
340
  export { _default_103 as Swiper }
360
341
 
361
- declare const _default_104: any;
342
+ declare const _default_104: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
362
343
  export { _default_104 as FoxSwiperItem }
363
344
  export { _default_104 as SwiperItem }
364
345
 
365
- declare const _default_105: any;
346
+ declare const _default_105: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
366
347
  export { _default_105 as FoxPrice }
367
348
  export { _default_105 as Price }
368
349
 
369
- declare const _default_106: any;
350
+ declare const _default_106: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
370
351
  export { _default_106 as CountUp }
371
352
  export { _default_106 as FoxCountUp }
372
353
 
373
- declare const _default_107: any;
354
+ declare const _default_107: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
374
355
  export { _default_107 as CountDown }
375
356
  export { _default_107 as FoxCountDown }
376
357
 
377
- declare const _default_108: any;
358
+ declare const _default_108: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
378
359
  export { _default_108 as Badge }
379
360
  export { _default_108 as FoxBadge }
380
361
 
381
- declare const _default_109: any;
362
+ declare const _default_109: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
382
363
  export { _default_109 as FoxTag }
383
364
  export { _default_109 as Tag }
384
365
 
385
- declare const _default_11: any;
366
+ declare const _default_11: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
386
367
  export { _default_11 as FoxInputItem }
387
368
  export { _default_11 as InputItem }
388
369
 
389
- declare const _default_110: any;
370
+ declare const _default_110: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
390
371
  export { _default_110 as FoxPopover }
391
372
  export { _default_110 as Popover }
392
373
 
393
- declare const _default_111: any;
374
+ declare const _default_111: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
394
375
  export { _default_111 as FoxSkeleton }
395
376
  export { _default_111 as Skeleton }
396
377
 
397
- declare const _default_112: any;
378
+ declare const _default_112: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
398
379
  export { _default_112 as Collapse }
399
380
  export { _default_112 as FoxCollapse }
400
381
 
401
- declare const _default_113: any;
382
+ declare const _default_113: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
402
383
  export { _default_113 as CollapseItem }
403
384
  export { _default_113 as FoxCollapseItem }
404
385
 
405
- declare const _default_114: any;
386
+ declare const _default_114: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
406
387
  export { _default_114 as FoxTable }
407
388
  export { _default_114 as Table }
408
389
 
409
- declare const _default_115: any;
390
+ declare const _default_115: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
410
391
  export { _default_115 as Ellipsis }
411
392
  export { _default_115 as FoxEllipsis }
412
393
 
413
- declare const _default_116: any;
394
+ declare const _default_116: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
414
395
  export { _default_116 as Animate }
415
396
  export { _default_116 as FoxAnimate }
416
397
 
417
- declare const _default_117: any;
398
+ declare const _default_117: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
418
399
  export { _default_117 as FoxWaterMark }
419
400
  export { _default_117 as WaterMark }
420
401
 
421
- declare const _default_118: any;
402
+ declare const _default_118: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
422
403
  export { _default_118 as FoxTrendArrow }
423
404
  export { _default_118 as TrendArrow }
424
405
 
425
- declare const _default_119: any;
406
+ declare const _default_119: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
426
407
  export { _default_119 as FoxTour }
427
408
  export { _default_119 as Tour }
428
409
 
429
- declare const _default_12: any;
410
+ declare const _default_12: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
430
411
  export { _default_12 as FoxMoneyItem }
431
412
  export { _default_12 as MoneyItem }
432
413
 
433
- declare const _default_120: any;
434
- export { _default_120 as Address }
435
- export { _default_120 as FoxAddress }
414
+ declare const _default_120: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
415
+ export { _default_120 as Barrage }
416
+ export { _default_120 as FoxBarrage }
436
417
 
437
- declare const _default_121: any;
438
- export { _default_121 as Barrage }
439
- export { _default_121 as FoxBarrage }
418
+ declare const _default_121: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
419
+ export { _default_121 as FoxSignature }
420
+ export { _default_121 as Signature }
440
421
 
441
- declare const _default_122: any;
442
- export { _default_122 as FoxSignature }
443
- export { _default_122 as Signature }
444
-
445
- declare const _default_123: any;
446
- export { _default_123 as FoxTimeSelect }
447
- export { _default_123 as TimeSelect }
448
-
449
- declare const _default_124: any;
450
- export { _default_124 as FoxTimePannel }
451
- export { _default_124 as TimePannel }
452
-
453
- declare const _default_125: any;
454
- export { _default_125 as FoxTimeDetail }
455
- export { _default_125 as TimeDetail }
456
-
457
- declare const _default_126: any;
458
- export { _default_126 as FoxSku }
459
- export { _default_126 as Sku }
460
-
461
- declare const _default_127: any;
462
- export { _default_127 as Card }
463
- export { _default_127 as FoxCard }
464
-
465
- declare const _default_128: any;
466
- export { _default_128 as Ecard }
467
- export { _default_128 as FoxEcard }
468
-
469
- declare const _default_129: any;
470
- export { _default_129 as AddressList }
471
- export { _default_129 as FoxAddressList }
472
-
473
- declare const _default_13: any;
422
+ declare const _default_13: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
474
423
  export { _default_13 as FoxTextareaItem }
475
424
  export { _default_13 as TextareaItem }
476
425
 
477
- declare const _default_130: any;
478
- export { _default_130 as Category }
479
- export { _default_130 as FoxCategory }
480
-
481
- declare const _default_131: any;
482
- export { _default_131 as CategoryPane }
483
- export { _default_131 as FoxCategoryPane }
484
-
485
- declare const _default_132: any;
486
- export { _default_132 as Comment }
487
- export { _default_132 as FoxComment }
488
-
489
- declare const _default_14: any;
426
+ declare const _default_14: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
490
427
  export { _default_14 as FoxTextarea }
491
428
  export { _default_14 as Textarea }
492
429
 
493
- declare const _default_15: any;
430
+ declare const _default_15: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
494
431
  export { _default_15 as FoxPickerItem }
495
432
  export { _default_15 as PickerItem }
496
433
 
497
- declare const _default_16: any;
434
+ declare const _default_16: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
498
435
  export { _default_16 as CascaderItem }
499
436
  export { _default_16 as FoxCascaderItem }
500
437
 
501
- declare const _default_17: any;
438
+ declare const _default_17: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
502
439
  export { _default_17 as DateItem }
503
440
  export { _default_17 as FoxDateItem }
504
441
 
505
- declare const _default_18: any;
442
+ declare const _default_18: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
506
443
  export { _default_18 as CalendarItem }
507
444
  export { _default_18 as FoxCalendarItem }
508
445
 
509
- declare const _default_19: any;
446
+ declare const _default_19: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
510
447
  export { _default_19 as FoxRadio }
511
448
  export { _default_19 as Radio }
512
449
 
513
- declare const _default_2: any;
450
+ declare const _default_2: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
514
451
  export { _default_2 as FoxPage }
515
452
  export { _default_2 as Page }
516
453
 
517
- declare const _default_20: any;
454
+ declare const _default_20: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
518
455
  export { _default_20 as FoxRadioGroup }
519
456
  export { _default_20 as RadioGroup }
520
457
 
521
- declare const _default_21: any;
458
+ declare const _default_21: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
522
459
  export { _default_21 as FoxRadioItem }
523
460
  export { _default_21 as RadioItem }
524
461
 
525
- declare const _default_22: any;
462
+ declare const _default_22: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
526
463
  export { _default_22 as Checkbox }
527
464
  export { _default_22 as FoxCheckbox }
528
465
 
529
- declare const _default_23: any;
466
+ declare const _default_23: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
530
467
  export { _default_23 as CheckboxGroup }
531
468
  export { _default_23 as FoxCheckboxGroup }
532
469
 
533
- declare const _default_24: any;
470
+ declare const _default_24: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
534
471
  export { _default_24 as CheckboxItem }
535
472
  export { _default_24 as FoxCheckboxItem }
536
473
 
537
- declare const _default_25: any;
474
+ declare const _default_25: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
538
475
  export { _default_25 as FoxSwitchItem }
539
476
  export { _default_25 as SwitchItem }
540
477
 
541
- declare const _default_26: any;
478
+ declare const _default_26: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
542
479
  export { _default_26 as FoxLinkItem }
543
480
  export { _default_26 as LinkItem }
544
481
 
545
- declare const _default_27: any;
482
+ declare const _default_27: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
546
483
  export { _default_27 as FoxRateItem }
547
484
  export { _default_27 as RateItem }
548
485
 
549
- declare const _default_28: any;
486
+ declare const _default_28: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
550
487
  export { _default_28 as ActionsheetPane }
551
488
  export { _default_28 as FoxActionsheetPane }
552
489
 
553
- declare const _default_29: any;
490
+ declare const _default_29: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
554
491
  export { _default_29 as ActionsheetItem }
555
492
  export { _default_29 as FoxActionsheetItem }
556
493
 
557
- declare const _default_3: any;
494
+ declare const _default_3: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
558
495
  export { _default_3 as FoxHeaderBar }
559
496
  export { _default_3 as HeaderBar }
560
497
 
561
- declare const _default_30: any;
498
+ declare const _default_30: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
562
499
  export { _default_30 as FoxInputNumberItem }
563
500
  export { _default_30 as InputNumberItem }
564
501
 
565
- declare const _default_31: any;
502
+ declare const _default_31: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
566
503
  export { _default_31 as FoxTabsBar }
567
504
  export { _default_31 as TabsBar }
568
505
 
569
- declare const _default_32: any;
506
+ declare const _default_32: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
570
507
  export { _default_32 as FoxTabsContainer }
571
508
  export { _default_32 as TabsContainer }
572
509
 
573
- declare const _default_33: any;
510
+ declare const _default_33: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
574
511
  export { _default_33 as FoxTabsPane }
575
512
  export { _default_33 as TabsPane }
576
513
 
577
- declare const _default_34: any;
514
+ declare const _default_34: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
578
515
  export { _default_34 as FoxTabsFrame }
579
516
  export { _default_34 as TabsFrame }
580
517
 
581
- declare const _default_35: any;
518
+ declare const _default_35: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
582
519
  export { _default_35 as FoxStepsBar }
583
520
  export { _default_35 as StepsBar }
584
521
 
585
- declare const _default_36: any;
522
+ declare const _default_36: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
586
523
  export { _default_36 as FloatingButton }
587
524
  export { _default_36 as FoxFloatingButton }
588
525
 
589
- declare const _default_37: any;
526
+ declare const _default_37: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
590
527
  export { _default_37 as FoxMoreButton }
591
528
  export { _default_37 as MoreButton }
592
529
 
593
- declare const _default_38: any;
530
+ declare const _default_38: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
594
531
  export { _default_38 as FoxPopupWrapper }
595
532
  export { _default_38 as PopupWrapper }
596
533
 
597
- declare const _default_39: any;
534
+ declare const _default_39: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
598
535
  export { _default_39 as Dropdown }
599
536
  export { _default_39 as FoxDropdown }
600
537
 
601
- declare const _default_4: any;
538
+ declare const _default_4: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
602
539
  export { _default_4 as FooterBar }
603
540
  export { _default_4 as FoxFooterBar }
604
541
 
605
- declare const _default_40: any;
542
+ declare const _default_40: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
606
543
  export { _default_40 as FoxPopoverDialog }
607
544
  export { _default_40 as PopoverDialog }
608
545
 
609
- declare const _default_41: any;
546
+ declare const _default_41: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
610
547
  export { _default_41 as FoxText }
611
548
  export { _default_41 as Text }
612
549
 
613
- declare const _default_42: any;
550
+ declare const _default_42: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
614
551
  export { _default_42 as FoxMapping }
615
552
  export { _default_42 as Mapping }
616
553
 
617
- declare const _default_43: any;
554
+ declare const _default_43: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
618
555
  export { _default_43 as DomainProvider }
619
556
  export { _default_43 as FoxDomainProvider }
620
557
 
621
- declare const _default_44: any;
558
+ declare const _default_44: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
622
559
  export { _default_44 as FoxRollingProvider }
623
560
  export { _default_44 as RollingProvider }
624
561
 
625
- declare const _default_45: any;
562
+ declare const _default_45: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
626
563
  export { _default_45 as Button }
627
564
  export { _default_45 as FoxButton }
628
565
 
629
- declare const _default_46: any;
566
+ declare const _default_46: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
630
567
  export { _default_46 as Cell }
631
568
  export { _default_46 as FoxCell }
632
569
 
633
- declare const _default_47: any;
570
+ declare const _default_47: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
634
571
  export { _default_47 as FoxIcon }
635
572
  export { _default_47 as Icon }
636
573
 
637
- declare const _default_48: any;
574
+ declare const _default_48: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
638
575
  export { _default_48 as CellGroup }
639
576
  export { _default_48 as FoxCellGroup }
640
577
 
641
- declare const _default_49: any;
578
+ declare const _default_49: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
642
579
  export { _default_49 as FoxOverLay }
643
580
  export { _default_49 as OverLay }
644
581
 
645
- declare const _default_5: any;
582
+ declare const _default_5: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
646
583
  export { _default_5 as Content }
647
584
  export { _default_5 as FoxContent }
648
585
 
649
- declare const _default_50: any;
586
+ declare const _default_50: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
650
587
  export { _default_50 as FoxPopup }
651
588
  export { _default_50 as Popup }
652
589
 
653
- declare const _default_51: any;
590
+ declare const _default_51: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
654
591
  export { _default_51 as FoxImage }
655
592
  export { _default_51 as Image }
656
593
 
657
- declare const _default_52: any;
594
+ declare const _default_52: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
658
595
  export { _default_52 as FoxLayout }
659
596
  export { _default_52 as Layout }
660
597
 
661
- declare const _default_53: any;
598
+ declare const _default_53: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
662
599
  export { _default_53 as Col }
663
600
  export { _default_53 as FoxCol }
664
601
 
665
- declare const _default_54: any;
602
+ declare const _default_54: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
666
603
  export { _default_54 as FoxRow }
667
604
  export { _default_54 as Row }
668
605
 
669
- declare const _default_55: any;
606
+ declare const _default_55: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
670
607
  export { _default_55 as FoxSticky }
671
608
  export { _default_55 as Sticky }
672
609
 
673
- declare const _default_56: any;
610
+ declare const _default_56: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
674
611
  export { _default_56 as Divider }
675
612
  export { _default_56 as FoxDivider }
676
613
 
677
- declare const _default_57: any;
614
+ declare const _default_57: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
678
615
  export { _default_57 as FoxGrid }
679
616
  export { _default_57 as Grid }
680
617
 
681
- declare const _default_58: any;
618
+ declare const _default_58: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
682
619
  export { _default_58 as FoxGridItem }
683
620
  export { _default_58 as GridItem }
684
621
 
685
- declare const _default_59: any;
622
+ declare const _default_59: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
686
623
  export { _default_59 as FoxNavbar }
687
624
  export { _default_59 as Navbar }
688
625
 
689
- declare const _default_6: any;
626
+ declare const _default_6: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
690
627
  export { _default_6 as FoxGroup }
691
628
  export { _default_6 as Group }
692
629
 
693
- declare const _default_60: any;
630
+ declare const _default_60: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
694
631
  export { _default_60 as FixedNav }
695
632
  export { _default_60 as FoxFixedNav }
696
633
 
697
- declare const _default_61: any;
634
+ declare const _default_61: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
698
635
  export { _default_61 as FoxMenu }
699
636
  export { _default_61 as Menu }
700
637
 
701
- declare const _default_62: any;
638
+ declare const _default_62: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
702
639
  export { _default_62 as FoxMenuItem }
703
640
  export { _default_62 as MenuItem }
704
641
 
705
- declare const _default_63: any;
642
+ declare const _default_63: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
706
643
  export { _default_63 as FoxTabbar }
707
644
  export { _default_63 as Tabbar }
708
645
 
709
- declare const _default_64: any;
646
+ declare const _default_64: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
710
647
  export { _default_64 as FoxTabbarItem }
711
648
  export { _default_64 as TabbarItem }
712
649
 
713
- declare const _default_65: any;
650
+ declare const _default_65: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
714
651
  export { _default_65 as Elevator }
715
652
  export { _default_65 as FoxElevator }
716
653
 
717
- declare const _default_66: any;
654
+ declare const _default_66: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
718
655
  export { _default_66 as FoxPagination }
719
656
  export { _default_66 as Pagination }
720
657
 
721
- declare const _default_67: any;
658
+ declare const _default_67: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
722
659
  export { _default_67 as FoxTabs }
723
660
  export { _default_67 as Tabs }
724
661
 
725
- declare const _default_68: any;
662
+ declare const _default_68: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
726
663
  export { _default_68 as FoxTabPane }
727
664
  export { _default_68 as TabPane }
728
665
 
729
- declare const _default_69: any;
666
+ declare const _default_69: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
730
667
  export { _default_69 as FoxIndicator }
731
668
  export { _default_69 as Indicator }
732
669
 
733
- declare const _default_7: any;
670
+ declare const _default_7: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
734
671
  export { _default_7 as FoxItem }
735
672
  export { _default_7 as Item }
736
673
 
737
- declare const _default_70: any;
674
+ declare const _default_70: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
738
675
  export { _default_70 as FoxSideNavBar }
739
676
  export { _default_70 as SideNavBar }
740
677
 
741
- declare const _default_71: any;
678
+ declare const _default_71: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
742
679
  export { _default_71 as FoxSideNavBarItem }
743
680
  export { _default_71 as SideNavBarItem }
744
681
 
745
- declare const _default_72: any;
682
+ declare const _default_72: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
746
683
  export { _default_72 as FoxSubSideNavBar }
747
684
  export { _default_72 as SubSideNavBar }
748
685
 
749
- declare const _default_73: any;
686
+ declare const _default_73: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
750
687
  export { _default_73 as FoxRange }
751
688
  export { _default_73 as Range }
752
689
 
753
- declare const _default_74: any;
690
+ declare const _default_74: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
754
691
  export { _default_74 as FoxSearchBar }
755
692
  export { _default_74 as SearchBar }
756
693
 
757
- declare const _default_75: any;
694
+ declare const _default_75: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
758
695
  export { _default_75 as Cascader }
759
696
  export { _default_75 as FoxCascader }
760
697
 
761
- declare const _default_76: any;
698
+ declare const _default_76: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
762
699
  export { _default_76 as Calendar }
763
700
  export { _default_76 as FoxCalendar }
764
701
 
765
- declare const _default_77: any;
702
+ declare const _default_77: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
766
703
  export { _default_77 as DatePicker }
767
704
  export { _default_77 as FoxDatePicker }
768
705
 
769
- declare const _default_78: any;
706
+ declare const _default_78: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
770
707
  export { _default_78 as FoxInputNumber }
771
708
  export { _default_78 as InputNumber }
772
709
 
773
- declare const _default_79: any;
710
+ declare const _default_79: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
774
711
  export { _default_79 as FoxRate }
775
712
  export { _default_79 as Rate }
776
713
 
777
- declare const _default_8: any;
714
+ declare const _default_8: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
778
715
  export { _default_8 as FoxRowItem }
779
716
  export { _default_8 as RowItem }
780
717
 
781
- declare const _default_80: any;
718
+ declare const _default_80: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
782
719
  export { _default_80 as FoxPicker }
783
720
  export { _default_80 as Picker }
784
721
 
785
- declare const _default_81: any;
722
+ declare const _default_81: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
786
723
  export { _default_81 as FoxShortPassword }
787
724
  export { _default_81 as ShortPassword }
788
725
 
789
- declare const _default_82: any;
726
+ declare const _default_82: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
790
727
  export { _default_82 as FoxUploader }
791
728
  export { _default_82 as Uploader }
792
729
 
793
- declare const _default_83: any;
730
+ declare const _default_83: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
794
731
  export { _default_83 as FoxNumberKeyboard }
795
732
  export { _default_83 as NumberKeyboard }
796
733
 
797
- declare const _default_84: any;
734
+ declare const _default_84: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
798
735
  export { _default_84 as FoxSwipe }
799
736
  export { _default_84 as Swipe }
800
737
 
801
- declare const _default_85: any;
738
+ declare const _default_85: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
802
739
  export { _default_85 as ActionSheet }
803
740
  export { _default_85 as FoxActionSheet }
804
741
 
805
- declare const _default_86: any;
742
+ declare const _default_86: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
806
743
  export { _default_86 as BackTop }
807
744
  export { _default_86 as FoxBackTop }
808
745
 
809
- declare const _default_87: any;
746
+ declare const _default_87: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
810
747
  export { _default_87 as Drag }
811
748
  export { _default_87 as FoxDrag }
812
749
 
813
- declare const _default_88: any;
750
+ declare const _default_88: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
814
751
  export { _default_88 as FoxInfiniteLoading }
815
752
  export { _default_88 as InfiniteLoading }
816
753
 
817
- declare const _default_89: any;
754
+ declare const _default_89: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
818
755
  export { _default_89 as FoxPullRefresh }
819
756
  export { _default_89 as PullRefresh }
820
757
 
821
- declare const _default_9: any;
758
+ declare const _default_9: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
822
759
  export { _default_9 as ButtonsItem }
823
760
  export { _default_9 as FoxButtonsItem }
824
761
 
825
- declare const _default_90: any;
762
+ declare const _default_90: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
826
763
  export { _default_90 as FoxSwitch }
827
764
  export { _default_90 as Switch }
828
765
 
829
- declare const _default_91: any;
766
+ declare const _default_91: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
830
767
  export { _default_91 as Audio }
831
768
  export { _default_91 as FoxAudio }
832
769
 
833
- declare const _default_92: any;
770
+ declare const _default_92: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
834
771
  export { _default_92 as AudioOperate }
835
772
  export { _default_92 as FoxAudioOperate }
836
773
 
837
- declare const _default_93: any;
774
+ declare const _default_93: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
838
775
  export { _default_93 as Avatar }
839
776
  export { _default_93 as FoxAvatar }
840
777
 
841
- declare const _default_94: any;
778
+ declare const _default_94: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
842
779
  export { _default_94 as AvatarGroup }
843
780
  export { _default_94 as FoxAvatarGroup }
844
781
 
845
- declare const _default_95: any;
782
+ declare const _default_95: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
846
783
  export { _default_95 as FoxList }
847
784
  export { _default_95 as List }
848
785
 
849
- declare const _default_96: any;
786
+ declare const _default_96: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
850
787
  export { _default_96 as FoxProgress }
851
788
  export { _default_96 as Progress }
852
789
 
853
- declare const _default_97: any;
790
+ declare const _default_97: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
854
791
  export { _default_97 as CircleProgress }
855
792
  export { _default_97 as FoxCircleProgress }
856
793
 
857
- declare const _default_98: any;
794
+ declare const _default_98: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
858
795
  export { _default_98 as FoxNoticeBar }
859
796
  export { _default_98 as NoticeBar }
860
797
 
861
- declare const _default_99: any;
798
+ declare const _default_99: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
862
799
  export { _default_99 as Empty }
863
800
  export { _default_99 as FoxEmpty }
864
801
 
@@ -1143,6 +1080,65 @@ export declare function extend(...args: any[]): any;
1143
1080
  */
1144
1081
  export declare const floatData: (format: any, dataOp: any, mapOps: any) => any;
1145
1082
 
1083
+ declare type FoxComponentPublicInstance = any;
1084
+
1085
+ /**
1086
+ * Fox UI
1087
+ */
1088
+ declare interface FoxUI {
1089
+ /**
1090
+ * 版本号
1091
+ */
1092
+ version: string;
1093
+ /**
1094
+ * 安装
1095
+ * @param app
1096
+ * @param options
1097
+ */
1098
+ install(app: App, ...options: any[]): any;
1099
+ /**
1100
+ * 更新Layout
1101
+ *
1102
+ * @param options
1103
+ * @param rootDomain
1104
+ */
1105
+ updateLayout(options: FoxUIOptions, rootDomain?: Domain): void;
1106
+ /**
1107
+ * 设置scope getter
1108
+ * @param getter
1109
+ */
1110
+ setScopeGetter(getter: ScopeGetter): void;
1111
+ /**
1112
+ * 设置API
1113
+ * @param name
1114
+ * @param func
1115
+ * @param scope
1116
+ */
1117
+ setAPI(name: string, func: any, scope?: string): void;
1118
+ /**
1119
+ * 获取API
1120
+ * @param proxy
1121
+ * @param name
1122
+ * @param scope
1123
+ */
1124
+ getAPI(proxy: ComponentPublicInstance, name: string, scope?: string): any | null;
1125
+ /**
1126
+ * 批量增加api
1127
+ * @param apis
1128
+ * @param scope
1129
+ */
1130
+ batchSetAPI(apis: Record<string, any>, scope?: string): void;
1131
+ /**
1132
+ * 清空scope apis
1133
+ * @param scope
1134
+ */
1135
+ clearScopeAPI(scope: string): void;
1136
+ /**
1137
+ * 获取root domain
1138
+ */
1139
+ getRootDomain(): Domain;
1140
+ }
1141
+
1146
1142
  /**
1147
1143
  * Fox UI App
1148
1144
  */
@@ -1211,6 +1207,23 @@ declare class FoxUIApp implements FoxUI {
1211
1207
  getRootDomain(): Domain;
1212
1208
  }
1213
1209
 
1210
+ /**
1211
+ * UI Options
1212
+ */
1213
+ declare interface FoxUIOptions {
1214
+ install?: boolean;
1215
+ componentPrefix?: string;
1216
+ headerBarHeight?: number;
1217
+ footerBarHeight?: number;
1218
+ safeAreaInset?: SafeAreaInset;
1219
+ pageLayout?: PageLayout;
1220
+ headerPadding?: Rect_2;
1221
+ contentPadding?: Rect_2;
1222
+ groupLayout?: GroupLayout;
1223
+ labelWidth?: number | string;
1224
+ [propName: string]: any;
1225
+ }
1226
+
1214
1227
  /**
1215
1228
  * 通用函数接口
1216
1229
  */
@@ -1280,6 +1293,16 @@ declare type GroupContent = {
1280
1293
  content: Array<string> | string;
1281
1294
  };
1282
1295
 
1296
+ /**
1297
+ * Layout信息接口
1298
+ */
1299
+ declare interface GroupLayout {
1300
+ type?: string;
1301
+ width?: number | string;
1302
+ column?: number;
1303
+ gutter?: number | string;
1304
+ }
1305
+
1283
1306
  /**
1284
1307
  * 是否支持symbol
1285
1308
  */
@@ -1292,6 +1315,30 @@ declare const HintTextFunction: HintTextTooltip;
1292
1315
  export { HintTextFunction as FoxHintText }
1293
1316
  export { HintTextFunction as HintText }
1294
1317
 
1318
+ /**
1319
+ * HintTextTooltip
1320
+ */
1321
+ declare interface HintTextTooltip {
1322
+ /**
1323
+ * 显示
1324
+ * @param reference
1325
+ * @param message
1326
+ * @param opts
1327
+ * @param only
1328
+ * @returns
1329
+ */
1330
+ show(reference: HTMLElement, message: string, opts: Record<string, any>, only?: boolean): string;
1331
+ /**
1332
+ * 隐藏
1333
+ * @param id
1334
+ */
1335
+ hide(id?: string): void;
1336
+ /**
1337
+ * 额外属性
1338
+ */
1339
+ [propName: string]: any;
1340
+ }
1341
+
1295
1342
  declare type Icons = {
1296
1343
  headerbar: {
1297
1344
  Left?: any;
@@ -1365,13 +1412,13 @@ export declare function indexOf(x: unknown, arr: unknown[]): number;
1365
1412
  * 获取是否为虚拟页面范围
1366
1413
  * @param defaultValue
1367
1414
  */
1368
- export declare function injectAbstractPageScope(defaultValue?: boolean): any;
1415
+ export declare function injectAbstractPageScope(defaultValue?: boolean): boolean;
1369
1416
 
1370
1417
  /**
1371
1418
  * 获取是否为内部页面范围
1372
1419
  * @param defaultValue
1373
1420
  */
1374
- export declare function injectInnerPageScope(defaultValue?: boolean): any;
1421
+ export declare function injectInnerPageScope(defaultValue?: boolean): boolean;
1375
1422
 
1376
1423
  /**
1377
1424
  * inner page scope key(内部页面,默认适配父亲容器尺寸,not watch resize)
@@ -1384,6 +1431,8 @@ export declare const InnerPageScopeKey: unique symbol;
1384
1431
  */
1385
1432
  export declare function integerLength(value: string | number): number;
1386
1433
 
1434
+ declare type Interceptor = (...args: any[]) => Promise<boolean> | boolean | undefined | void;
1435
+
1387
1436
  /**
1388
1437
  * 是否数组
1389
1438
  */
@@ -1408,6 +1457,13 @@ export declare const isBrowser: boolean;
1408
1457
  */
1409
1458
  export declare const isDate: (val: unknown) => val is Date;
1410
1459
 
1460
+ /**
1461
+ * 是否display none
1462
+ * @param el
1463
+ * @returns
1464
+ */
1465
+ export declare function isDisplayNone(el: HTMLElement): boolean;
1466
+
1411
1467
  /**
1412
1468
  * 是否空字符串
1413
1469
  * @param v
@@ -1530,6 +1586,13 @@ export declare function isTouch(): boolean;
1530
1586
  */
1531
1587
  export declare function isWindow(obj: any): boolean;
1532
1588
 
1589
+ /**
1590
+ * 中划线格式转换为大驼峰
1591
+ * @param str
1592
+ * @returns
1593
+ */
1594
+ export declare function kebabToPascal(str: string): string;
1595
+
1533
1596
  /**
1534
1597
  * 获取对应元素的在数组中最后一个匹配的索引
1535
1598
  * @param x
@@ -1640,11 +1703,21 @@ export declare function nextTick(fn: {
1640
1703
  }, ...args: any[]): void;
1641
1704
 
1642
1705
  declare const NotifyFunction: {
1643
- text(msg: string, obj?: {}): any;
1644
- primary(msg: string, obj?: {}): any;
1645
- success(msg: string, obj?: {}): any;
1646
- danger(msg: string, obj?: {}): any;
1647
- warn(msg: string, obj?: {}): any;
1706
+ text(msg: string, obj?: {}): {
1707
+ [x: string]: unknown;
1708
+ };
1709
+ primary(msg: string, obj?: {}): {
1710
+ [x: string]: unknown;
1711
+ };
1712
+ success(msg: string, obj?: {}): {
1713
+ [x: string]: unknown;
1714
+ };
1715
+ danger(msg: string, obj?: {}): {
1716
+ [x: string]: unknown;
1717
+ };
1718
+ warn(msg: string, obj?: {}): {
1719
+ [x: string]: unknown;
1720
+ };
1648
1721
  hide(): void;
1649
1722
  install(app: any): void;
1650
1723
  };
@@ -1693,10 +1766,10 @@ export declare function overrideGlobalValidateHandler(validateHandler: Partial<V
1693
1766
  * padding
1694
1767
  */
1695
1768
  export declare interface Padding {
1696
- left: number | null;
1697
- top: number | null;
1698
- right: number | null;
1699
- bottom: number | null;
1769
+ left: number | string | null;
1770
+ top: number | string | null;
1771
+ right: number | string | null;
1772
+ bottom: number | string | null;
1700
1773
  }
1701
1774
 
1702
1775
  /**
@@ -1712,9 +1785,9 @@ export declare interface PageLayout {
1712
1785
  height?: number | string;
1713
1786
  headerHeight?: number | string;
1714
1787
  footerHeight?: number | string;
1715
- headerPadding?: Padding;
1716
- footerPadding?: Padding;
1717
- contentPadding?: Padding;
1788
+ headerPadding?: Partial<Padding>;
1789
+ footerPadding?: Partial<Padding>;
1790
+ contentPadding?: Partial<Padding>;
1718
1791
  }
1719
1792
 
1720
1793
  /**
@@ -1741,6 +1814,13 @@ export declare interface PageState {
1741
1814
  footerMounted?: boolean;
1742
1815
  }
1743
1816
 
1817
+ /**
1818
+ * 大驼峰转换为中划线
1819
+ * @param str
1820
+ * @returns
1821
+ */
1822
+ export declare function pascalToKebab<T extends string>(str: string): string;
1823
+
1744
1824
  /**
1745
1825
  * 持久消息
1746
1826
  */
@@ -1820,6 +1900,16 @@ export declare interface Rect {
1820
1900
  height: number;
1821
1901
  }
1822
1902
 
1903
+ /**
1904
+ * Rect类型
1905
+ */
1906
+ declare interface Rect_2 {
1907
+ left: number;
1908
+ top: number;
1909
+ right: number;
1910
+ bottom: number;
1911
+ }
1912
+
1823
1913
  /**
1824
1914
  * 消息确认函数
1825
1915
  */
@@ -1845,6 +1935,13 @@ export declare interface SafeAreaInset {
1845
1935
  bottom: number | string;
1846
1936
  }
1847
1937
 
1938
+ /**
1939
+ * scope getter
1940
+ */
1941
+ declare interface ScopeGetter {
1942
+ (proxy: ComponentPublicInstance): string | null;
1943
+ }
1944
+
1848
1945
  /**
1849
1946
  * 设置公共校验检查事件
1850
1947
  * @param events
@@ -2084,6 +2181,15 @@ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Wi
2084
2181
  */
2085
2182
  export declare function useSize(elementRef: Element | Ref<Element>): Size;
2086
2183
 
2184
+ /**
2185
+ * 获取child slot
2186
+ * @param slot
2187
+ * @returns
2188
+ */
2189
+ export declare function useSlotChildren(slot?: () => VNode[]): {
2190
+ getChildren: () => VNode[];
2191
+ };
2192
+
2087
2193
  /**
2088
2194
  * 获取响应式touch对象
2089
2195
  * @returns
@@ -2092,17 +2198,17 @@ export declare function useTouch(): {
2092
2198
  move: EventListener;
2093
2199
  start: EventListener;
2094
2200
  reset: () => void;
2095
- startX: any;
2096
- startY: any;
2097
- startTime: any;
2098
- duration: any;
2099
- moveX: any;
2100
- moveY: any;
2101
- deltaX: any;
2102
- deltaY: any;
2103
- offsetX: any;
2104
- offsetY: any;
2105
- direction: any;
2201
+ startX: Ref<number, number>;
2202
+ startY: Ref<number, number>;
2203
+ startTime: Ref<number, number>;
2204
+ duration: Ref<number, number>;
2205
+ moveX: Ref<number, number>;
2206
+ moveY: Ref<number, number>;
2207
+ deltaX: Ref<number, number>;
2208
+ deltaY: Ref<number, number>;
2209
+ offsetX: Ref<number, number>;
2210
+ offsetY: Ref<number, number>;
2211
+ direction: Ref<Direction, Direction>;
2106
2212
  isVertical: () => boolean;
2107
2213
  isHorizontal: () => boolean;
2108
2214
  };