@fox-js/foxui-pad 4.0.1-22 → 4.0.1-24
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.
- package/dist/index.cjs.js +3 -3
- package/dist/index.esm.js +12862 -10209
- package/dist/index.umd.js +4 -4
- package/dist/locale/index.esm.js +1 -1
- package/dist/locale/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +112 -40
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ import { ElColorPicker as FoxColorPicker } from './base';
|
|
|
34
34
|
import { FoxComponentPublicInstance } from './types';
|
|
35
35
|
import { ElConfigProvider as FoxConfigProvider } from './base';
|
|
36
36
|
import { ElContainer as FoxContainer } from './base';
|
|
37
|
+
import { ElDatePicker as FoxDatePicker } from './base';
|
|
37
38
|
import { ElDescriptions as FoxDescriptions } from './base';
|
|
38
39
|
import { ElDescriptionsItem as FoxDescriptionsItem } from './base';
|
|
39
40
|
import { ElDialog as FoxDialog } from './base';
|
|
@@ -460,92 +461,120 @@ export { _default_30 as FoxGroupSetting }
|
|
|
460
461
|
export { _default_30 as GroupSetting }
|
|
461
462
|
|
|
462
463
|
declare const _default_31: any;
|
|
463
|
-
export { _default_31 as
|
|
464
|
-
export { _default_31 as
|
|
464
|
+
export { _default_31 as ActionsheetPane }
|
|
465
|
+
export { _default_31 as FoxActionsheetPane }
|
|
465
466
|
|
|
466
467
|
declare const _default_32: any;
|
|
467
|
-
export { _default_32 as
|
|
468
|
-
export { _default_32 as
|
|
468
|
+
export { _default_32 as ActionsheetItem }
|
|
469
|
+
export { _default_32 as FoxActionsheetItem }
|
|
469
470
|
|
|
470
471
|
declare const _default_33: any;
|
|
471
|
-
export { _default_33 as
|
|
472
|
-
export { _default_33 as
|
|
472
|
+
export { _default_33 as FoxPickerItem }
|
|
473
|
+
export { _default_33 as PickerItem }
|
|
473
474
|
|
|
474
475
|
declare const _default_34: any;
|
|
475
|
-
export { _default_34 as
|
|
476
|
-
export { _default_34 as
|
|
476
|
+
export { _default_34 as FoxTabsBar }
|
|
477
|
+
export { _default_34 as TabsBar }
|
|
477
478
|
|
|
478
479
|
declare const _default_35: any;
|
|
479
|
-
export { _default_35 as
|
|
480
|
-
export { _default_35 as
|
|
480
|
+
export { _default_35 as FoxTabsContainer }
|
|
481
|
+
export { _default_35 as TabsContainer }
|
|
481
482
|
|
|
482
483
|
declare const _default_36: any;
|
|
483
|
-
export { _default_36 as
|
|
484
|
-
export { _default_36 as
|
|
484
|
+
export { _default_36 as FoxTabsPane }
|
|
485
|
+
export { _default_36 as TabsPane }
|
|
485
486
|
|
|
486
487
|
declare const _default_37: any;
|
|
487
|
-
export { _default_37 as
|
|
488
|
-
export { _default_37 as
|
|
488
|
+
export { _default_37 as FoxStepsBar }
|
|
489
|
+
export { _default_37 as StepsBar }
|
|
489
490
|
|
|
490
491
|
declare const _default_38: any;
|
|
491
|
-
export { _default_38 as
|
|
492
|
-
export { _default_38 as
|
|
492
|
+
export { _default_38 as Foxpicker }
|
|
493
|
+
export { _default_38 as picker }
|
|
493
494
|
|
|
494
495
|
declare const _default_39: any;
|
|
495
|
-
export { _default_39 as
|
|
496
|
-
export { _default_39 as
|
|
496
|
+
export { _default_39 as Foxdatepicker }
|
|
497
|
+
export { _default_39 as datepicker }
|
|
497
498
|
|
|
498
499
|
declare const _default_4: any;
|
|
499
500
|
export { _default_4 as FooterBar }
|
|
500
501
|
export { _default_4 as FoxFooterBar }
|
|
501
502
|
|
|
502
503
|
declare const _default_40: any;
|
|
503
|
-
export { _default_40 as
|
|
504
|
-
export { _default_40 as
|
|
504
|
+
export { _default_40 as Foxcalendarpicker }
|
|
505
|
+
export { _default_40 as calendarpicker }
|
|
505
506
|
|
|
506
507
|
declare const _default_41: any;
|
|
507
|
-
export { _default_41 as
|
|
508
|
-
export { _default_41 as
|
|
508
|
+
export { _default_41 as Foxcascaderpicker }
|
|
509
|
+
export { _default_41 as cascaderpicker }
|
|
509
510
|
|
|
510
511
|
declare const _default_42: any;
|
|
511
|
-
export { _default_42 as
|
|
512
|
-
export { _default_42 as
|
|
512
|
+
export { _default_42 as DialogItem }
|
|
513
|
+
export { _default_42 as FoxDialogItem }
|
|
513
514
|
|
|
514
515
|
declare const _default_43: any;
|
|
515
|
-
export { _default_43 as
|
|
516
|
-
export { _default_43 as
|
|
516
|
+
export { _default_43 as FoxOverLay }
|
|
517
|
+
export { _default_43 as OverLay }
|
|
517
518
|
|
|
518
519
|
declare const _default_44: any;
|
|
519
|
-
export { _default_44 as
|
|
520
|
-
export { _default_44 as
|
|
520
|
+
export { _default_44 as FoxPopup }
|
|
521
|
+
export { _default_44 as Popup }
|
|
521
522
|
|
|
522
523
|
declare const _default_45: any;
|
|
523
|
-
export { _default_45 as
|
|
524
|
-
export { _default_45 as
|
|
524
|
+
export { _default_45 as FoxToast }
|
|
525
|
+
export { _default_45 as Toast }
|
|
525
526
|
|
|
526
527
|
declare const _default_46: any;
|
|
527
|
-
export { _default_46 as
|
|
528
|
-
export { _default_46 as
|
|
528
|
+
export { _default_46 as FoxSearchBar }
|
|
529
|
+
export { _default_46 as SearchBar }
|
|
529
530
|
|
|
530
531
|
declare const _default_47: any;
|
|
531
|
-
export { _default_47 as
|
|
532
|
-
export { _default_47 as
|
|
532
|
+
export { _default_47 as FoxInfiniteLoading }
|
|
533
|
+
export { _default_47 as InfiniteLoading }
|
|
533
534
|
|
|
534
535
|
declare const _default_48: any;
|
|
535
|
-
export { _default_48 as
|
|
536
|
-
export { _default_48 as
|
|
536
|
+
export { _default_48 as FoxPullRefresh }
|
|
537
|
+
export { _default_48 as PullRefresh }
|
|
537
538
|
|
|
538
539
|
declare const _default_49: any;
|
|
539
|
-
export { _default_49 as
|
|
540
|
-
export { _default_49 as
|
|
540
|
+
export { _default_49 as FoxMapping }
|
|
541
|
+
export { _default_49 as Mapping }
|
|
541
542
|
|
|
542
543
|
declare const _default_5: any;
|
|
543
544
|
export { _default_5 as Content }
|
|
544
545
|
export { _default_5 as FoxContent }
|
|
545
546
|
|
|
546
547
|
declare const _default_50: any;
|
|
547
|
-
export { _default_50 as
|
|
548
|
-
export { _default_50 as
|
|
548
|
+
export { _default_50 as FoxPrice }
|
|
549
|
+
export { _default_50 as Price }
|
|
550
|
+
|
|
551
|
+
declare const _default_51: any;
|
|
552
|
+
export { _default_51 as FoxIndicator }
|
|
553
|
+
export { _default_51 as Indicator }
|
|
554
|
+
|
|
555
|
+
declare const _default_52: any;
|
|
556
|
+
export { _default_52 as FoxText }
|
|
557
|
+
export { _default_52 as Text }
|
|
558
|
+
|
|
559
|
+
declare const _default_53: any;
|
|
560
|
+
export { _default_53 as FoxMoreButton }
|
|
561
|
+
export { _default_53 as MoreButton }
|
|
562
|
+
|
|
563
|
+
declare const _default_54: any;
|
|
564
|
+
export { _default_54 as FoxTour }
|
|
565
|
+
export { _default_54 as Tour }
|
|
566
|
+
|
|
567
|
+
declare const _default_55: any;
|
|
568
|
+
export { _default_55 as FloatingWindow }
|
|
569
|
+
export { _default_55 as FoxFloatingWindow }
|
|
570
|
+
|
|
571
|
+
declare const _default_56: any;
|
|
572
|
+
export { _default_56 as DomainProvider }
|
|
573
|
+
export { _default_56 as FoxDomainProvider }
|
|
574
|
+
|
|
575
|
+
declare const _default_57: any;
|
|
576
|
+
export { _default_57 as FoxRollingProvider }
|
|
577
|
+
export { _default_57 as RollingProvider }
|
|
549
578
|
|
|
550
579
|
declare const _default_6: any;
|
|
551
580
|
export { _default_6 as FoxGroup }
|
|
@@ -628,12 +657,16 @@ export declare interface Descriptor {
|
|
|
628
657
|
valueName?: string;
|
|
629
658
|
valueType?: ValueType;
|
|
630
659
|
validate?: boolean;
|
|
660
|
+
readonly?: boolean;
|
|
661
|
+
disabled?: boolean;
|
|
631
662
|
pureDataValidate?: boolean;
|
|
632
663
|
validateHandler?: ValidateHandler;
|
|
633
664
|
validateCheckEvents?: string[];
|
|
634
665
|
validateResetEvents?: string[];
|
|
635
666
|
}
|
|
636
667
|
|
|
668
|
+
declare type Direction = '' | 'vertical' | 'horizontal';
|
|
669
|
+
|
|
637
670
|
/**
|
|
638
671
|
* 禁用属性
|
|
639
672
|
* @param source
|
|
@@ -840,6 +873,8 @@ export { FoxConfigProvider }
|
|
|
840
873
|
|
|
841
874
|
export { FoxContainer }
|
|
842
875
|
|
|
876
|
+
export { FoxDatePicker }
|
|
877
|
+
|
|
843
878
|
export { FoxDescriptions }
|
|
844
879
|
|
|
845
880
|
export { FoxDescriptionsItem }
|
|
@@ -1275,6 +1310,12 @@ export declare function isSubPage(domain: Domain): boolean;
|
|
|
1275
1310
|
*/
|
|
1276
1311
|
export declare const isSymbol: (val: unknown) => val is symbol;
|
|
1277
1312
|
|
|
1313
|
+
/**
|
|
1314
|
+
* 是否为支持触摸
|
|
1315
|
+
* @returns
|
|
1316
|
+
*/
|
|
1317
|
+
export declare function isTouch(): boolean;
|
|
1318
|
+
|
|
1278
1319
|
/**
|
|
1279
1320
|
* 是否是window对象
|
|
1280
1321
|
* @param obj
|
|
@@ -1639,6 +1680,31 @@ export declare function usePageState(domain: Domain): PageState | null;
|
|
|
1639
1680
|
*/
|
|
1640
1681
|
export declare const usePosition: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Point;
|
|
1641
1682
|
|
|
1683
|
+
/**
|
|
1684
|
+
* 获取非响应式touch对象
|
|
1685
|
+
* @returns
|
|
1686
|
+
*/
|
|
1687
|
+
export declare function useRawTouch(): {
|
|
1688
|
+
move: EventListener;
|
|
1689
|
+
start: EventListener;
|
|
1690
|
+
reset: () => void;
|
|
1691
|
+
isVertical: () => boolean;
|
|
1692
|
+
isHorizontal: () => boolean;
|
|
1693
|
+
state: {
|
|
1694
|
+
startX: number;
|
|
1695
|
+
startY: number;
|
|
1696
|
+
startTime: number;
|
|
1697
|
+
duration: number;
|
|
1698
|
+
moveX: number;
|
|
1699
|
+
moveY: number;
|
|
1700
|
+
deltaX: number;
|
|
1701
|
+
deltaY: number;
|
|
1702
|
+
offsetX: number;
|
|
1703
|
+
offsetY: number;
|
|
1704
|
+
direction: Direction;
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
|
|
1642
1708
|
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect;
|
|
1643
1709
|
|
|
1644
1710
|
/**
|
|
@@ -1648,6 +1714,10 @@ export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Wi
|
|
|
1648
1714
|
*/
|
|
1649
1715
|
export declare function useSize(elementRef: Element | Ref<Element>): Size;
|
|
1650
1716
|
|
|
1717
|
+
/**
|
|
1718
|
+
* 获取响应式touch对象
|
|
1719
|
+
* @returns
|
|
1720
|
+
*/
|
|
1651
1721
|
export declare function useTouch(): {
|
|
1652
1722
|
move: EventListener;
|
|
1653
1723
|
start: EventListener;
|
|
@@ -1675,6 +1745,8 @@ export declare interface ValidateCondition {
|
|
|
1675
1745
|
include?: string[];
|
|
1676
1746
|
exclude?: string[];
|
|
1677
1747
|
ignoreHidden?: boolean;
|
|
1748
|
+
ignoreDisabled?: boolean;
|
|
1749
|
+
ignoreReadonly?: boolean;
|
|
1678
1750
|
}
|
|
1679
1751
|
|
|
1680
1752
|
/**
|