@fox-js/foxui-pad 4.1.1-46 → 4.1.1-48
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 +1 -1
- package/dist/index.esm.js +7811 -7613
- package/dist/index.umd.js +1 -1
- package/dist/locale/index.d.ts +9 -0
- package/dist/locale/index.esm.js +7 -4
- package/dist/locale/index.umd.js +1 -1
- package/dist/style.css +94 -14
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +166 -145
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -121,15 +121,6 @@ import { ValidateMessages } from '@fox-js/validator';
|
|
|
121
121
|
import { ValidateResult } from '@fox-js/validator';
|
|
122
122
|
import { VNode } from 'vue';
|
|
123
123
|
|
|
124
|
-
/**
|
|
125
|
-
* 虚拟页面范围
|
|
126
|
-
*/
|
|
127
|
-
export declare type AbstractPageScope = {
|
|
128
|
-
headerBar?: boolean;
|
|
129
|
-
footerBar?: boolean;
|
|
130
|
-
content?: boolean;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
124
|
/**
|
|
134
125
|
* abstract page scope key(虚拟页面,不生成page、headerBar、footerBar、content,直接reader content内部组件)
|
|
135
126
|
*/
|
|
@@ -460,232 +451,236 @@ export { _default_11 as FoxInputItem }
|
|
|
460
451
|
export { _default_11 as InputItem }
|
|
461
452
|
|
|
462
453
|
declare const _default_12: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
463
|
-
export { _default_12 as
|
|
464
|
-
export { _default_12 as
|
|
454
|
+
export { _default_12 as FoxTextareaItem }
|
|
455
|
+
export { _default_12 as TextareaItem }
|
|
465
456
|
|
|
466
457
|
declare const _default_13: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
467
|
-
export { _default_13 as
|
|
468
|
-
export { _default_13 as
|
|
458
|
+
export { _default_13 as FoxSelectItem }
|
|
459
|
+
export { _default_13 as SelectItem }
|
|
469
460
|
|
|
470
461
|
declare const _default_14: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
471
|
-
export { _default_14 as
|
|
472
|
-
export { _default_14 as
|
|
462
|
+
export { _default_14 as DateItem }
|
|
463
|
+
export { _default_14 as FoxDateItem }
|
|
473
464
|
|
|
474
465
|
declare const _default_15: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
475
|
-
export { _default_15 as
|
|
476
|
-
export { _default_15 as
|
|
466
|
+
export { _default_15 as CalendarItem }
|
|
467
|
+
export { _default_15 as FoxCalendarItem }
|
|
477
468
|
|
|
478
469
|
declare const _default_16: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
479
|
-
export { _default_16 as
|
|
480
|
-
export { _default_16 as
|
|
470
|
+
export { _default_16 as FoxTimeItem }
|
|
471
|
+
export { _default_16 as TimeItem }
|
|
481
472
|
|
|
482
473
|
declare const _default_17: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
483
|
-
export { _default_17 as
|
|
484
|
-
export { _default_17 as
|
|
474
|
+
export { _default_17 as FoxTimeSelectItem }
|
|
475
|
+
export { _default_17 as TimeSelectItem }
|
|
485
476
|
|
|
486
477
|
declare const _default_18: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
487
|
-
export { _default_18 as
|
|
488
|
-
export { _default_18 as
|
|
478
|
+
export { _default_18 as FoxMoneyItem }
|
|
479
|
+
export { _default_18 as MoneyItem }
|
|
489
480
|
|
|
490
481
|
declare const _default_19: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
491
|
-
export { _default_19 as
|
|
492
|
-
export { _default_19 as
|
|
482
|
+
export { _default_19 as FoxInputNumberItem }
|
|
483
|
+
export { _default_19 as InputNumberItem }
|
|
493
484
|
|
|
494
485
|
declare const _default_2: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
495
486
|
export { _default_2 as FoxPage }
|
|
496
487
|
export { _default_2 as Page }
|
|
497
488
|
|
|
498
489
|
declare const _default_20: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
499
|
-
export { _default_20 as
|
|
500
|
-
export { _default_20 as
|
|
490
|
+
export { _default_20 as CascaderItem }
|
|
491
|
+
export { _default_20 as FoxCascaderItem }
|
|
501
492
|
|
|
502
493
|
declare const _default_21: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
503
|
-
export { _default_21 as
|
|
504
|
-
export { _default_21 as
|
|
494
|
+
export { _default_21 as AutocompleteItem }
|
|
495
|
+
export { _default_21 as FoxAutocompleteItem }
|
|
505
496
|
|
|
506
497
|
declare const _default_22: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
507
|
-
export { _default_22 as
|
|
508
|
-
export { _default_22 as
|
|
498
|
+
export { _default_22 as FoxTableMappingColumn }
|
|
499
|
+
export { _default_22 as TableMappingColumn }
|
|
509
500
|
|
|
510
501
|
declare const _default_23: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
511
|
-
export { _default_23 as
|
|
512
|
-
export { _default_23 as
|
|
502
|
+
export { _default_23 as FoxTableRadioColumn }
|
|
503
|
+
export { _default_23 as TableRadioColumn }
|
|
513
504
|
|
|
514
505
|
declare const _default_24: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
515
|
-
export { _default_24 as
|
|
516
|
-
export { _default_24 as
|
|
506
|
+
export { _default_24 as FoxTableSetting }
|
|
507
|
+
export { _default_24 as TableSetting }
|
|
517
508
|
|
|
518
509
|
declare const _default_25: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
519
|
-
export { _default_25 as
|
|
520
|
-
export { _default_25 as
|
|
510
|
+
export { _default_25 as FoxTableItem }
|
|
511
|
+
export { _default_25 as TableItem }
|
|
521
512
|
|
|
522
513
|
declare const _default_26: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
523
|
-
export { _default_26 as
|
|
524
|
-
export { _default_26 as
|
|
514
|
+
export { _default_26 as FoxRadioItem }
|
|
515
|
+
export { _default_26 as RadioItem }
|
|
525
516
|
|
|
526
517
|
declare const _default_27: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
527
|
-
export { _default_27 as
|
|
528
|
-
export { _default_27 as
|
|
518
|
+
export { _default_27 as CheckboxItem }
|
|
519
|
+
export { _default_27 as FoxCheckboxItem }
|
|
529
520
|
|
|
530
521
|
declare const _default_28: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
531
|
-
export { _default_28 as
|
|
532
|
-
export { _default_28 as
|
|
522
|
+
export { _default_28 as FoxRateItem }
|
|
523
|
+
export { _default_28 as RateItem }
|
|
533
524
|
|
|
534
525
|
declare const _default_29: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
535
|
-
export { _default_29 as
|
|
536
|
-
export { _default_29 as
|
|
526
|
+
export { _default_29 as FoxSwitchItem }
|
|
527
|
+
export { _default_29 as SwitchItem }
|
|
537
528
|
|
|
538
529
|
declare const _default_3: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
539
530
|
export { _default_3 as FoxHeaderBar }
|
|
540
531
|
export { _default_3 as HeaderBar }
|
|
541
532
|
|
|
542
533
|
declare const _default_30: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
543
|
-
export { _default_30 as
|
|
544
|
-
export { _default_30 as
|
|
534
|
+
export { _default_30 as FoxTreeSelectItem }
|
|
535
|
+
export { _default_30 as TreeSelectItem }
|
|
545
536
|
|
|
546
537
|
declare const _default_31: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
547
|
-
export { _default_31 as
|
|
548
|
-
export { _default_31 as
|
|
538
|
+
export { _default_31 as FoxGroupSetting }
|
|
539
|
+
export { _default_31 as GroupSetting }
|
|
549
540
|
|
|
550
541
|
declare const _default_32: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
551
|
-
export { _default_32 as
|
|
552
|
-
export { _default_32 as
|
|
542
|
+
export { _default_32 as FoxTreeItem }
|
|
543
|
+
export { _default_32 as TreeItem }
|
|
553
544
|
|
|
554
545
|
declare const _default_33: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
555
|
-
export { _default_33 as
|
|
556
|
-
export { _default_33 as
|
|
546
|
+
export { _default_33 as ActionsheetPane }
|
|
547
|
+
export { _default_33 as FoxActionsheetPane }
|
|
557
548
|
|
|
558
549
|
declare const _default_34: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
559
|
-
export { _default_34 as
|
|
560
|
-
export { _default_34 as
|
|
550
|
+
export { _default_34 as ActionsheetItem }
|
|
551
|
+
export { _default_34 as FoxActionsheetItem }
|
|
561
552
|
|
|
562
553
|
declare const _default_35: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
563
|
-
export { _default_35 as
|
|
564
|
-
export { _default_35 as
|
|
554
|
+
export { _default_35 as FoxPickerItem }
|
|
555
|
+
export { _default_35 as PickerItem }
|
|
565
556
|
|
|
566
557
|
declare const _default_36: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
567
|
-
export { _default_36 as
|
|
568
|
-
export { _default_36 as
|
|
558
|
+
export { _default_36 as FoxLinkItem }
|
|
559
|
+
export { _default_36 as LinkItem }
|
|
569
560
|
|
|
570
561
|
declare const _default_37: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
571
|
-
export { _default_37 as
|
|
572
|
-
export { _default_37 as
|
|
562
|
+
export { _default_37 as FoxTabsBar }
|
|
563
|
+
export { _default_37 as TabsBar }
|
|
573
564
|
|
|
574
565
|
declare const _default_38: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
575
|
-
export { _default_38 as
|
|
576
|
-
export { _default_38 as
|
|
566
|
+
export { _default_38 as FoxTabsContainer }
|
|
567
|
+
export { _default_38 as TabsContainer }
|
|
577
568
|
|
|
578
569
|
declare const _default_39: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
579
|
-
export { _default_39 as
|
|
580
|
-
export { _default_39 as
|
|
570
|
+
export { _default_39 as FoxTabsPane }
|
|
571
|
+
export { _default_39 as TabsPane }
|
|
581
572
|
|
|
582
573
|
declare const _default_4: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
583
574
|
export { _default_4 as FooterBar }
|
|
584
575
|
export { _default_4 as FoxFooterBar }
|
|
585
576
|
|
|
586
577
|
declare const _default_40: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
587
|
-
export { _default_40 as
|
|
588
|
-
export { _default_40 as
|
|
578
|
+
export { _default_40 as FoxTabsFrame }
|
|
579
|
+
export { _default_40 as TabsFrame }
|
|
589
580
|
|
|
590
581
|
declare const _default_41: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
591
|
-
export { _default_41 as
|
|
592
|
-
export { _default_41 as
|
|
582
|
+
export { _default_41 as FoxStepsBar }
|
|
583
|
+
export { _default_41 as StepsBar }
|
|
593
584
|
|
|
594
585
|
declare const _default_42: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
595
|
-
export { _default_42 as
|
|
596
|
-
export { _default_42 as
|
|
586
|
+
export { _default_42 as FloatingWindow }
|
|
587
|
+
export { _default_42 as FoxFloatingWindow }
|
|
597
588
|
|
|
598
589
|
declare const _default_43: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
599
|
-
export { _default_43 as
|
|
600
|
-
export { _default_43 as
|
|
590
|
+
export { _default_43 as FoxPopoverDialog }
|
|
591
|
+
export { _default_43 as PopoverDialog }
|
|
601
592
|
|
|
602
593
|
declare const _default_44: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
603
|
-
export { _default_44 as
|
|
604
|
-
export { _default_44 as
|
|
594
|
+
export { _default_44 as Foxpicker }
|
|
595
|
+
export { _default_44 as picker }
|
|
605
596
|
|
|
606
597
|
declare const _default_45: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
607
|
-
export { _default_45 as
|
|
608
|
-
export { _default_45 as
|
|
598
|
+
export { _default_45 as Foxcalendarpicker }
|
|
599
|
+
export { _default_45 as calendarpicker }
|
|
609
600
|
|
|
610
601
|
declare const _default_46: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
611
|
-
export { _default_46 as
|
|
612
|
-
export { _default_46 as
|
|
602
|
+
export { _default_46 as Foxcascaderpicker }
|
|
603
|
+
export { _default_46 as cascaderpicker }
|
|
613
604
|
|
|
614
605
|
declare const _default_47: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
615
|
-
export { _default_47 as
|
|
616
|
-
export { _default_47 as
|
|
606
|
+
export { _default_47 as DialogItem }
|
|
607
|
+
export { _default_47 as FoxDialogItem }
|
|
617
608
|
|
|
618
609
|
declare const _default_48: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
619
|
-
export { _default_48 as
|
|
620
|
-
export { _default_48 as
|
|
610
|
+
export { _default_48 as FoxOverLay }
|
|
611
|
+
export { _default_48 as OverLay }
|
|
621
612
|
|
|
622
613
|
declare const _default_49: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
623
|
-
export { _default_49 as
|
|
624
|
-
export { _default_49 as
|
|
614
|
+
export { _default_49 as FoxPopup }
|
|
615
|
+
export { _default_49 as Popup }
|
|
625
616
|
|
|
626
617
|
declare const _default_5: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
627
618
|
export { _default_5 as Content }
|
|
628
619
|
export { _default_5 as FoxContent }
|
|
629
620
|
|
|
630
621
|
declare const _default_50: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
631
|
-
export { _default_50 as
|
|
632
|
-
export { _default_50 as
|
|
622
|
+
export { _default_50 as FoxSearchBar }
|
|
623
|
+
export { _default_50 as SearchBar }
|
|
633
624
|
|
|
634
625
|
declare const _default_51: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
635
|
-
export { _default_51 as
|
|
636
|
-
export { _default_51 as
|
|
626
|
+
export { _default_51 as FoxInfiniteLoading }
|
|
627
|
+
export { _default_51 as InfiniteLoading }
|
|
637
628
|
|
|
638
629
|
declare const _default_52: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
639
|
-
export { _default_52 as
|
|
640
|
-
export { _default_52 as
|
|
630
|
+
export { _default_52 as FoxPullRefresh }
|
|
631
|
+
export { _default_52 as PullRefresh }
|
|
641
632
|
|
|
642
633
|
declare const _default_53: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
643
|
-
export { _default_53 as
|
|
644
|
-
export { _default_53 as
|
|
634
|
+
export { _default_53 as FoxMoreButton }
|
|
635
|
+
export { _default_53 as MoreButton }
|
|
645
636
|
|
|
646
637
|
declare const _default_54: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
647
|
-
export { _default_54 as
|
|
648
|
-
export { _default_54 as
|
|
638
|
+
export { _default_54 as FloatingButton }
|
|
639
|
+
export { _default_54 as FoxFloatingButton }
|
|
649
640
|
|
|
650
641
|
declare const _default_55: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
651
|
-
export { _default_55 as
|
|
652
|
-
export { _default_55 as
|
|
642
|
+
export { _default_55 as FoxMapping }
|
|
643
|
+
export { _default_55 as Mapping }
|
|
653
644
|
|
|
654
645
|
declare const _default_56: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
655
|
-
export { _default_56 as
|
|
656
|
-
export { _default_56 as
|
|
646
|
+
export { _default_56 as FoxPrice }
|
|
647
|
+
export { _default_56 as Price }
|
|
657
648
|
|
|
658
649
|
declare const _default_57: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
659
|
-
export { _default_57 as
|
|
660
|
-
export { _default_57 as
|
|
650
|
+
export { _default_57 as FoxIndicator }
|
|
651
|
+
export { _default_57 as Indicator }
|
|
661
652
|
|
|
662
653
|
declare const _default_58: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
663
|
-
export { _default_58 as
|
|
664
|
-
export { _default_58 as
|
|
654
|
+
export { _default_58 as FoxText }
|
|
655
|
+
export { _default_58 as Text }
|
|
665
656
|
|
|
666
657
|
declare const _default_59: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
667
|
-
export { _default_59 as
|
|
668
|
-
export { _default_59 as
|
|
658
|
+
export { _default_59 as FoxTour }
|
|
659
|
+
export { _default_59 as Tour }
|
|
669
660
|
|
|
670
661
|
declare const _default_6: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
671
662
|
export { _default_6 as FoxGroup }
|
|
672
663
|
export { _default_6 as Group }
|
|
673
664
|
|
|
674
665
|
declare const _default_60: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
675
|
-
export { _default_60 as
|
|
676
|
-
export { _default_60 as
|
|
666
|
+
export { _default_60 as FoxNumberKeyboard }
|
|
667
|
+
export { _default_60 as NumberKeyboard }
|
|
677
668
|
|
|
678
669
|
declare const _default_61: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
679
|
-
export { _default_61 as
|
|
680
|
-
export { _default_61 as
|
|
670
|
+
export { _default_61 as FoxShortPassword }
|
|
671
|
+
export { _default_61 as ShortPassword }
|
|
681
672
|
|
|
682
673
|
declare const _default_62: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
683
|
-
export { _default_62 as
|
|
684
|
-
export { _default_62 as
|
|
674
|
+
export { _default_62 as FoxSignature }
|
|
675
|
+
export { _default_62 as Signature }
|
|
685
676
|
|
|
686
677
|
declare const _default_63: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
687
|
-
export { _default_63 as
|
|
688
|
-
export { _default_63 as
|
|
678
|
+
export { _default_63 as DomainProvider }
|
|
679
|
+
export { _default_63 as FoxDomainProvider }
|
|
680
|
+
|
|
681
|
+
declare const _default_64: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
682
|
+
export { _default_64 as FoxRollingProvider }
|
|
683
|
+
export { _default_64 as RollingProvider }
|
|
689
684
|
|
|
690
685
|
declare const _default_7: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
691
686
|
export { _default_7 as FoxItem }
|
|
@@ -944,6 +939,34 @@ declare interface DomainComponentDescriptor {
|
|
|
944
939
|
*/
|
|
945
940
|
export declare const DomainKey: unique symbol;
|
|
946
941
|
|
|
942
|
+
/**
|
|
943
|
+
* element padding
|
|
944
|
+
*/
|
|
945
|
+
export declare interface ElementPadding {
|
|
946
|
+
top: number;
|
|
947
|
+
right: number;
|
|
948
|
+
bottom: number;
|
|
949
|
+
left: number;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* element size
|
|
954
|
+
*/
|
|
955
|
+
export declare interface ElementSize {
|
|
956
|
+
/**
|
|
957
|
+
* 元素可见区域大小(clientSize,包含 padding)
|
|
958
|
+
*/
|
|
959
|
+
outer: Size;
|
|
960
|
+
/**
|
|
961
|
+
* 内容区域大小(去掉 padding)
|
|
962
|
+
*/
|
|
963
|
+
inner: Size;
|
|
964
|
+
/**
|
|
965
|
+
* padding 信息
|
|
966
|
+
*/
|
|
967
|
+
padding: ElementPadding;
|
|
968
|
+
}
|
|
969
|
+
|
|
947
970
|
/**
|
|
948
971
|
* exposed
|
|
949
972
|
*/
|
|
@@ -1544,34 +1567,7 @@ export declare function indexOf(x: unknown, arr: unknown[]): number;
|
|
|
1544
1567
|
* 获取是否为虚拟页面范围
|
|
1545
1568
|
* @param defaultValue
|
|
1546
1569
|
*/
|
|
1547
|
-
export declare function
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1550
|
-
* 获取content是否为虚拟页面范围
|
|
1551
|
-
* @param defaultValue
|
|
1552
|
-
* @returns
|
|
1553
|
-
*/
|
|
1554
|
-
export declare function injectAbstractPageScopeForContent(defaultValue?: boolean): boolean;
|
|
1555
|
-
|
|
1556
|
-
/**
|
|
1557
|
-
* 获取footerBar是否为虚拟页面范围
|
|
1558
|
-
* @param defaultValue
|
|
1559
|
-
* @returns
|
|
1560
|
-
*/
|
|
1561
|
-
export declare function injectAbstractPageScopeForFooterBar(defaultValue?: boolean): boolean;
|
|
1562
|
-
|
|
1563
|
-
/**
|
|
1564
|
-
* 获取headerBar是否为虚拟页面范围
|
|
1565
|
-
* @param defaultValue
|
|
1566
|
-
* @returns
|
|
1567
|
-
*/
|
|
1568
|
-
export declare function injectAbstractPageScopeForHeaderBar(defaultValue?: boolean): boolean;
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
* 获取是否为内部页面范围
|
|
1572
|
-
* @param defaultValue
|
|
1573
|
-
*/
|
|
1574
|
-
export declare function injectInnerPageScope(defaultValue?: boolean): boolean;
|
|
1570
|
+
export declare function injectPageScopeState(): PageScopeState;
|
|
1575
1571
|
|
|
1576
1572
|
/**
|
|
1577
1573
|
* inner page scope key(内部页面,默认适配父亲容器尺寸,not watch resize)
|
|
@@ -1876,6 +1872,14 @@ export declare interface PageLayout {
|
|
|
1876
1872
|
contentPadding?: Partial<Padding>;
|
|
1877
1873
|
}
|
|
1878
1874
|
|
|
1875
|
+
/**
|
|
1876
|
+
* 页面scope状态
|
|
1877
|
+
*/
|
|
1878
|
+
export declare type PageScopeState = PageStructure & {
|
|
1879
|
+
isAbstractPage: boolean;
|
|
1880
|
+
isInnerPage: boolean;
|
|
1881
|
+
};
|
|
1882
|
+
|
|
1879
1883
|
/**
|
|
1880
1884
|
* page state
|
|
1881
1885
|
*/
|
|
@@ -1900,6 +1904,15 @@ export declare interface PageState {
|
|
|
1900
1904
|
footerMounted?: boolean;
|
|
1901
1905
|
}
|
|
1902
1906
|
|
|
1907
|
+
/**
|
|
1908
|
+
* 页面结构
|
|
1909
|
+
*/
|
|
1910
|
+
export declare type PageStructure = {
|
|
1911
|
+
hasHeaderBar?: boolean;
|
|
1912
|
+
hasFooterBar?: boolean;
|
|
1913
|
+
hasContent?: boolean;
|
|
1914
|
+
};
|
|
1915
|
+
|
|
1903
1916
|
/**
|
|
1904
1917
|
* 大驼峰转换为中划线
|
|
1905
1918
|
* @param str
|
|
@@ -1954,14 +1967,14 @@ export declare function property<T>(source: Ref, name: string, policy?: Priority
|
|
|
1954
1967
|
* 也可以通过AbstractPageScope对象设置选择生成headerBar or footerBar or content 部分结构
|
|
1955
1968
|
* @param value
|
|
1956
1969
|
*/
|
|
1957
|
-
export declare function provideAbstractPageScope(value: boolean |
|
|
1970
|
+
export declare function provideAbstractPageScope(value: boolean | PageStructure): void;
|
|
1958
1971
|
|
|
1959
1972
|
/**
|
|
1960
1973
|
* 设置内部页面范围
|
|
1961
1974
|
* 内部页面,默认适配父亲容器尺寸,not watch resize
|
|
1962
1975
|
* @param value
|
|
1963
1976
|
*/
|
|
1964
|
-
export declare function provideInnerPageScope(value: boolean): void;
|
|
1977
|
+
export declare function provideInnerPageScope(value: boolean | PageStructure): void;
|
|
1965
1978
|
|
|
1966
1979
|
export declare const raf: any;
|
|
1967
1980
|
|
|
@@ -2212,7 +2225,15 @@ export declare function useBroadcast(exposed?: FoxComponentPublicExposed): Broad
|
|
|
2212
2225
|
export declare function useDomain(): Domain | null;
|
|
2213
2226
|
|
|
2214
2227
|
/**
|
|
2215
|
-
*
|
|
2228
|
+
* 获取元素尺寸信息
|
|
2229
|
+
*
|
|
2230
|
+
* outer = clientWidth/clientHeight(包含 padding)
|
|
2231
|
+
* inner = client - padding
|
|
2232
|
+
*/
|
|
2233
|
+
export declare function useElementSize(elementRef: Element | Ref<Element>): ElementSize;
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* 获取内部可用size(inner size)
|
|
2216
2237
|
* @param elementRef
|
|
2217
2238
|
* @returns
|
|
2218
2239
|
*/
|
|
@@ -2260,7 +2281,7 @@ export declare function useRawTouch(): {
|
|
|
2260
2281
|
export declare const useRect: (elementRef: (Element | Window) | Ref<Element | Window | undefined>) => Rect_2;
|
|
2261
2282
|
|
|
2262
2283
|
/**
|
|
2263
|
-
* 获取size
|
|
2284
|
+
* 获取size(outer size)
|
|
2264
2285
|
* @param elementRef
|
|
2265
2286
|
* @returns
|
|
2266
2287
|
*/
|