@dcloudio/uni-app-x 0.7.39 → 0.7.40
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/package.json +9 -7
- package/types/UniPage.d.ts +168 -22
- package/types/app.d.ts +31 -31
- package/types/native/CSSStyleDeclaration.d.ts +16 -2
- package/types/native/DOMRect.d.ts +430 -10
- package/types/native/DrawableContext.d.ts +1137 -45
- package/types/native/IUniElement.d.ts +1875 -93
- package/types/native/UniNativePage.d.ts +94 -0
- package/types/native/UniResizeObserver.d.ts +215 -5
- package/types/native/UniSafeArea.d.ts +185 -0
- package/types/native/UniVideoElement.d.ts +432 -0
- package/types/native/global.d.ts +7 -0
- package/types/native/index.d.ts +1 -0
- package/types/uni/uni-map-tencent-map.d.ts +12 -8
- package/types/uni/uts-plugin-api/global.d.ts +62 -61
- package/types/uni/uts-plugin-api/index.d.ts +62 -61
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
- package/types/uni/uts-plugin-biz/global.d.ts +6 -5
- package/types/uni/uts-plugin-biz/index.d.ts +6 -5
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
- package/types/uni/uts-plugin-extend/global.d.ts +0 -4
- package/types/uni/uts-plugin-extend/index.d.ts +0 -4
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
- package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
|
@@ -445,26 +445,246 @@ export interface NodesRef {
|
|
|
445
445
|
export interface SelectorQuery {
|
|
446
446
|
/**
|
|
447
447
|
* 将选择器的选取范围更改为自定义组件component内
|
|
448
|
+
* @uniPlatform {
|
|
449
|
+
* "mp": {
|
|
450
|
+
* "weixin": {
|
|
451
|
+
* "hostVer": "√",
|
|
452
|
+
* "uniVer": "√",
|
|
453
|
+
* "unixVer": "4.41"
|
|
454
|
+
* },
|
|
455
|
+
* "alipay": {
|
|
456
|
+
* "hostVer": "-",
|
|
457
|
+
* "uniVer": "-",
|
|
458
|
+
* "unixVer": "-"
|
|
459
|
+
* },
|
|
460
|
+
* "baidu": {
|
|
461
|
+
* "hostVer": "-",
|
|
462
|
+
* "uniVer": "-",
|
|
463
|
+
* "unixVer": "-"
|
|
464
|
+
* },
|
|
465
|
+
* "toutiao": {
|
|
466
|
+
* "hostVer": "-",
|
|
467
|
+
* "uniVer": "-",
|
|
468
|
+
* "unixVer": "-"
|
|
469
|
+
* },
|
|
470
|
+
* "lark": {
|
|
471
|
+
* "hostVer": "-",
|
|
472
|
+
* "uniVer": "-",
|
|
473
|
+
* "unixVer": "-"
|
|
474
|
+
* },
|
|
475
|
+
* "qq": {
|
|
476
|
+
* "hostVer": "-",
|
|
477
|
+
* "uniVer": "-",
|
|
478
|
+
* "unixVer": "-"
|
|
479
|
+
* },
|
|
480
|
+
* "kuaishou": {
|
|
481
|
+
* "hostVer": "-",
|
|
482
|
+
* "uniVer": "-",
|
|
483
|
+
* "unixVer": "-"
|
|
484
|
+
* },
|
|
485
|
+
* "jd": {
|
|
486
|
+
* "hostVer": "-",
|
|
487
|
+
* "uniVer": "-",
|
|
488
|
+
* "unixVer": "-"
|
|
489
|
+
* }
|
|
490
|
+
* }
|
|
491
|
+
* }
|
|
448
492
|
*/
|
|
449
493
|
in(component: any | null): SelectorQuery
|
|
450
494
|
|
|
451
495
|
/**
|
|
452
496
|
* 在当前页面下选择第一个匹配选择器selector的节点
|
|
497
|
+
* @uniPlatform {
|
|
498
|
+
* "mp": {
|
|
499
|
+
* "weixin": {
|
|
500
|
+
* "hostVer": "√",
|
|
501
|
+
* "uniVer": "√",
|
|
502
|
+
* "unixVer": "4.41"
|
|
503
|
+
* },
|
|
504
|
+
* "alipay": {
|
|
505
|
+
* "hostVer": "-",
|
|
506
|
+
* "uniVer": "-",
|
|
507
|
+
* "unixVer": "-"
|
|
508
|
+
* },
|
|
509
|
+
* "baidu": {
|
|
510
|
+
* "hostVer": "-",
|
|
511
|
+
* "uniVer": "-",
|
|
512
|
+
* "unixVer": "-"
|
|
513
|
+
* },
|
|
514
|
+
* "toutiao": {
|
|
515
|
+
* "hostVer": "-",
|
|
516
|
+
* "uniVer": "-",
|
|
517
|
+
* "unixVer": "-"
|
|
518
|
+
* },
|
|
519
|
+
* "lark": {
|
|
520
|
+
* "hostVer": "-",
|
|
521
|
+
* "uniVer": "-",
|
|
522
|
+
* "unixVer": "-"
|
|
523
|
+
* },
|
|
524
|
+
* "qq": {
|
|
525
|
+
* "hostVer": "-",
|
|
526
|
+
* "uniVer": "-",
|
|
527
|
+
* "unixVer": "-"
|
|
528
|
+
* },
|
|
529
|
+
* "kuaishou": {
|
|
530
|
+
* "hostVer": "-",
|
|
531
|
+
* "uniVer": "-",
|
|
532
|
+
* "unixVer": "-"
|
|
533
|
+
* },
|
|
534
|
+
* "jd": {
|
|
535
|
+
* "hostVer": "-",
|
|
536
|
+
* "uniVer": "-",
|
|
537
|
+
* "unixVer": "-"
|
|
538
|
+
* }
|
|
539
|
+
* }
|
|
540
|
+
* }
|
|
453
541
|
*/
|
|
454
542
|
select(selector: string): NodesRef
|
|
455
543
|
|
|
456
544
|
/**
|
|
457
545
|
* 在当前页面下选择匹配选择器selector的所有节点
|
|
546
|
+
* @uniPlatform {
|
|
547
|
+
* "mp": {
|
|
548
|
+
* "weixin": {
|
|
549
|
+
* "hostVer": "√",
|
|
550
|
+
* "uniVer": "√",
|
|
551
|
+
* "unixVer": "4.41"
|
|
552
|
+
* },
|
|
553
|
+
* "alipay": {
|
|
554
|
+
* "hostVer": "-",
|
|
555
|
+
* "uniVer": "-",
|
|
556
|
+
* "unixVer": "-"
|
|
557
|
+
* },
|
|
558
|
+
* "baidu": {
|
|
559
|
+
* "hostVer": "-",
|
|
560
|
+
* "uniVer": "-",
|
|
561
|
+
* "unixVer": "-"
|
|
562
|
+
* },
|
|
563
|
+
* "toutiao": {
|
|
564
|
+
* "hostVer": "-",
|
|
565
|
+
* "uniVer": "-",
|
|
566
|
+
* "unixVer": "-"
|
|
567
|
+
* },
|
|
568
|
+
* "lark": {
|
|
569
|
+
* "hostVer": "-",
|
|
570
|
+
* "uniVer": "-",
|
|
571
|
+
* "unixVer": "-"
|
|
572
|
+
* },
|
|
573
|
+
* "qq": {
|
|
574
|
+
* "hostVer": "-",
|
|
575
|
+
* "uniVer": "-",
|
|
576
|
+
* "unixVer": "-"
|
|
577
|
+
* },
|
|
578
|
+
* "kuaishou": {
|
|
579
|
+
* "hostVer": "-",
|
|
580
|
+
* "uniVer": "-",
|
|
581
|
+
* "unixVer": "-"
|
|
582
|
+
* },
|
|
583
|
+
* "jd": {
|
|
584
|
+
* "hostVer": "-",
|
|
585
|
+
* "uniVer": "-",
|
|
586
|
+
* "unixVer": "-"
|
|
587
|
+
* }
|
|
588
|
+
* }
|
|
589
|
+
* }
|
|
458
590
|
*/
|
|
459
591
|
selectAll(selector: string): NodesRef
|
|
460
592
|
|
|
461
593
|
/**
|
|
462
594
|
* 选择显示区域
|
|
595
|
+
* @uniPlatform {
|
|
596
|
+
* "mp": {
|
|
597
|
+
* "weixin": {
|
|
598
|
+
* "hostVer": "√",
|
|
599
|
+
* "uniVer": "√",
|
|
600
|
+
* "unixVer": "4.41"
|
|
601
|
+
* },
|
|
602
|
+
* "alipay": {
|
|
603
|
+
* "hostVer": "-",
|
|
604
|
+
* "uniVer": "-",
|
|
605
|
+
* "unixVer": "-"
|
|
606
|
+
* },
|
|
607
|
+
* "baidu": {
|
|
608
|
+
* "hostVer": "-",
|
|
609
|
+
* "uniVer": "-",
|
|
610
|
+
* "unixVer": "-"
|
|
611
|
+
* },
|
|
612
|
+
* "toutiao": {
|
|
613
|
+
* "hostVer": "-",
|
|
614
|
+
* "uniVer": "-",
|
|
615
|
+
* "unixVer": "-"
|
|
616
|
+
* },
|
|
617
|
+
* "lark": {
|
|
618
|
+
* "hostVer": "-",
|
|
619
|
+
* "uniVer": "-",
|
|
620
|
+
* "unixVer": "-"
|
|
621
|
+
* },
|
|
622
|
+
* "qq": {
|
|
623
|
+
* "hostVer": "-",
|
|
624
|
+
* "uniVer": "-",
|
|
625
|
+
* "unixVer": "-"
|
|
626
|
+
* },
|
|
627
|
+
* "kuaishou": {
|
|
628
|
+
* "hostVer": "-",
|
|
629
|
+
* "uniVer": "-",
|
|
630
|
+
* "unixVer": "-"
|
|
631
|
+
* },
|
|
632
|
+
* "jd": {
|
|
633
|
+
* "hostVer": "-",
|
|
634
|
+
* "uniVer": "-",
|
|
635
|
+
* "unixVer": "-"
|
|
636
|
+
* }
|
|
637
|
+
* }
|
|
638
|
+
* }
|
|
463
639
|
*/
|
|
464
640
|
selectViewport(): NodesRef
|
|
465
641
|
|
|
466
642
|
/**
|
|
467
643
|
* 执行所有的请求
|
|
644
|
+
* @uniPlatform {
|
|
645
|
+
* "mp": {
|
|
646
|
+
* "weixin": {
|
|
647
|
+
* "hostVer": "√",
|
|
648
|
+
* "uniVer": "√",
|
|
649
|
+
* "unixVer": "4.41"
|
|
650
|
+
* },
|
|
651
|
+
* "alipay": {
|
|
652
|
+
* "hostVer": "-",
|
|
653
|
+
* "uniVer": "-",
|
|
654
|
+
* "unixVer": "-"
|
|
655
|
+
* },
|
|
656
|
+
* "baidu": {
|
|
657
|
+
* "hostVer": "-",
|
|
658
|
+
* "uniVer": "-",
|
|
659
|
+
* "unixVer": "-"
|
|
660
|
+
* },
|
|
661
|
+
* "toutiao": {
|
|
662
|
+
* "hostVer": "-",
|
|
663
|
+
* "uniVer": "-",
|
|
664
|
+
* "unixVer": "-"
|
|
665
|
+
* },
|
|
666
|
+
* "lark": {
|
|
667
|
+
* "hostVer": "-",
|
|
668
|
+
* "uniVer": "-",
|
|
669
|
+
* "unixVer": "-"
|
|
670
|
+
* },
|
|
671
|
+
* "qq": {
|
|
672
|
+
* "hostVer": "-",
|
|
673
|
+
* "uniVer": "-",
|
|
674
|
+
* "unixVer": "-"
|
|
675
|
+
* },
|
|
676
|
+
* "kuaishou": {
|
|
677
|
+
* "hostVer": "-",
|
|
678
|
+
* "uniVer": "-",
|
|
679
|
+
* "unixVer": "-"
|
|
680
|
+
* },
|
|
681
|
+
* "jd": {
|
|
682
|
+
* "hostVer": "-",
|
|
683
|
+
* "uniVer": "-",
|
|
684
|
+
* "unixVer": "-"
|
|
685
|
+
* }
|
|
686
|
+
* }
|
|
687
|
+
* }
|
|
468
688
|
*/
|
|
469
689
|
exec(callback: (result: Array<any>) => void | null): NodesRef | null
|
|
470
690
|
|
|
@@ -479,70 +699,71 @@ export interface Uni {
|
|
|
479
699
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/nodes-info.html
|
|
480
700
|
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/nodes-info.html#createselectorquery
|
|
481
701
|
* @uniPlatform {
|
|
482
|
-
*
|
|
483
|
-
*
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
*
|
|
496
|
-
*
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
-
*
|
|
500
|
-
*
|
|
501
|
-
*
|
|
502
|
-
*
|
|
503
|
-
*
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
*
|
|
509
|
-
*
|
|
510
|
-
*
|
|
511
|
-
*
|
|
512
|
-
*
|
|
513
|
-
*
|
|
514
|
-
*
|
|
515
|
-
*
|
|
516
|
-
*
|
|
517
|
-
*
|
|
518
|
-
*
|
|
519
|
-
*
|
|
520
|
-
*
|
|
521
|
-
*
|
|
522
|
-
*
|
|
523
|
-
*
|
|
524
|
-
*
|
|
525
|
-
*
|
|
526
|
-
*
|
|
527
|
-
*
|
|
528
|
-
*
|
|
529
|
-
*
|
|
530
|
-
*
|
|
531
|
-
*
|
|
532
|
-
*
|
|
533
|
-
*
|
|
534
|
-
*
|
|
535
|
-
*
|
|
536
|
-
*
|
|
537
|
-
*
|
|
538
|
-
*
|
|
539
|
-
*
|
|
540
|
-
*
|
|
541
|
-
*
|
|
542
|
-
*
|
|
543
|
-
*
|
|
544
|
-
*
|
|
702
|
+
* "app": {
|
|
703
|
+
* "android": {
|
|
704
|
+
* "osVer": "5.0",
|
|
705
|
+
* "uniVer": "√",
|
|
706
|
+
* "unixVer": "3.91"
|
|
707
|
+
* },
|
|
708
|
+
* "ios": {
|
|
709
|
+
* "osVer": "12.0",
|
|
710
|
+
* "uniVer": "√",
|
|
711
|
+
* "unixVer": "4.11"
|
|
712
|
+
* },
|
|
713
|
+
* "harmony": {
|
|
714
|
+
* "osVer": "3.0",
|
|
715
|
+
* "uniVer": "4.23",
|
|
716
|
+
* "unixVer": "x"
|
|
717
|
+
* }
|
|
718
|
+
* },
|
|
719
|
+
* "mp": {
|
|
720
|
+
* "weixin": {
|
|
721
|
+
* "hostVer": "1.4.0",
|
|
722
|
+
* "uniVer": "√",
|
|
723
|
+
* "unixVer": "4.41"
|
|
724
|
+
* },
|
|
725
|
+
* "alipay": {
|
|
726
|
+
* "hostVer": "√",
|
|
727
|
+
* "uniVer": "√",
|
|
728
|
+
* "unixVer": "√"
|
|
729
|
+
* },
|
|
730
|
+
* "baidu": {
|
|
731
|
+
* "hostVer": "√",
|
|
732
|
+
* "uniVer": "√",
|
|
733
|
+
* "unixVer": "√"
|
|
734
|
+
* },
|
|
735
|
+
* "toutiao": {
|
|
736
|
+
* "hostVer": "√",
|
|
737
|
+
* "uniVer": "√",
|
|
738
|
+
* "unixVer": "√"
|
|
739
|
+
* },
|
|
740
|
+
* "lark": {
|
|
741
|
+
* "hostVer": "√",
|
|
742
|
+
* "uniVer": "√",
|
|
743
|
+
* "unixVer": "√"
|
|
744
|
+
* },
|
|
745
|
+
* "qq": {
|
|
746
|
+
* "hostVer": "√",
|
|
747
|
+
* "uniVer": "√",
|
|
748
|
+
* "unixVer": "√"
|
|
749
|
+
* },
|
|
750
|
+
* "kuaishou": {
|
|
751
|
+
* "hostVer": "√",
|
|
752
|
+
* "uniVer": "√",
|
|
753
|
+
* "unixVer": "√"
|
|
754
|
+
* },
|
|
755
|
+
* "jd": {
|
|
756
|
+
* "hostVer": "√",
|
|
757
|
+
* "uniVer": "√",
|
|
758
|
+
* "unixVer": "√"
|
|
759
|
+
* }
|
|
760
|
+
* },
|
|
761
|
+
* "web": {
|
|
762
|
+
* "uniVer": "√",
|
|
763
|
+
* "unixVer": "4.0"
|
|
764
|
+
* }
|
|
545
765
|
* }
|
|
766
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/wxml/SelectorQuery.html
|
|
546
767
|
*/
|
|
547
768
|
createSelectorQuery(): SelectorQuery
|
|
548
769
|
}
|
|
@@ -97,6 +97,7 @@ export type OpenDialogPageOptions = {
|
|
|
97
97
|
/**
|
|
98
98
|
* 窗口显示的动画类型
|
|
99
99
|
*
|
|
100
|
+
* @defaultValue none
|
|
100
101
|
* @uniPlatform
|
|
101
102
|
{
|
|
102
103
|
"app": {
|
|
@@ -813,16 +814,8 @@ export type CloseDialogPageOptions = {
|
|
|
813
814
|
dialogPage?: UniPage | null
|
|
814
815
|
/**
|
|
815
816
|
* 窗口关闭的动画类型
|
|
816
|
-
* - auto: 自动选择动画效果
|
|
817
|
-
* - none: 无动画效果
|
|
818
|
-
* - slide-out-right: 横向向右侧滑出屏幕动画
|
|
819
|
-
* - slide-out-left: 横向向左侧滑出屏幕动画
|
|
820
|
-
* - slide-out-top: 竖向向上侧滑出屏幕动画
|
|
821
|
-
* - slide-out-bottom: 竖向向下侧滑出屏幕动画
|
|
822
|
-
* - fade-out: 从不透明到透明逐渐隐藏动画
|
|
823
|
-
* - zoom-in: 从大逐渐缩小关闭动画
|
|
824
|
-
* - zoom-fade-in: 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
|
|
825
817
|
*
|
|
818
|
+
* @defaultValue auto
|
|
826
819
|
* @uniPlatform
|
|
827
820
|
{
|
|
828
821
|
"app": {
|
|
@@ -257,7 +257,7 @@ export interface Uni {
|
|
|
257
257
|
|
|
258
258
|
/**
|
|
259
259
|
* 触发自定义事件,附加的参数会传递给事件监听器。
|
|
260
|
-
*
|
|
260
|
+
* 在iOS平台UTS环境下或者UTS和JS通信时参数仅支持基础类型、string、Array、UTSJSONObject,其中Array,UTSJSONObject也仅支持包含上述类型,on和emit类型需匹配否则会产生异常
|
|
261
261
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
|
|
262
262
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
|
|
263
263
|
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/window/communication.html#emit
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
3
|
+
LegacySaveFileSuccess as LegacySaveFileSuccessOrigin,
|
|
4
|
+
LegacySaveFileSuccessCallback as LegacySaveFileSuccessCallbackOrigin,
|
|
5
|
+
LegacySaveFileFail as LegacySaveFileFailOrigin,
|
|
6
|
+
LegacySaveFileFailCallback as LegacySaveFileFailCallbackOrigin,
|
|
7
|
+
LegacySaveFileCompleteCallback as LegacySaveFileCompleteCallbackOrigin,
|
|
8
|
+
LegacySaveFileOptions as LegacySaveFileOptionsOrigin,
|
|
9
|
+
LegacyGetFileInfoSuccess as LegacyGetFileInfoSuccessOrigin,
|
|
10
|
+
LegacyGetFileInfoSuccessCallback as LegacyGetFileInfoSuccessCallbackOrigin,
|
|
11
|
+
LegacyGetFileInfoFail as LegacyGetFileInfoFailOrigin,
|
|
12
|
+
LegacyGetFileInfoFailCallback as LegacyGetFileInfoFailCallbackOrigin,
|
|
13
|
+
LegacyGetFileInfoCompleteCallback as LegacyGetFileInfoCompleteCallbackOrigin,
|
|
14
|
+
LegacyGetFileInfoOptions as LegacyGetFileInfoOptionsOrigin,
|
|
15
|
+
LegacyGetSavedFileInfoSuccess as LegacyGetSavedFileInfoSuccessOrigin,
|
|
16
|
+
LegacyGetSavedFileInfoSuccessCallback as LegacyGetSavedFileInfoSuccessCallbackOrigin,
|
|
17
|
+
LegacyGetSavedFileInfoFail as LegacyGetSavedFileInfoFailOrigin,
|
|
18
|
+
LegacyGetSavedFileInfoFailCallback as LegacyGetSavedFileInfoFailCallbackOrigin,
|
|
19
|
+
LegacyGetSavedFileInfoCompleteCallback as LegacyGetSavedFileInfoCompleteCallbackOrigin,
|
|
20
|
+
LegacyGetSavedFileInfoOptions as LegacyGetSavedFileInfoOptionsOrigin,
|
|
21
|
+
LegacyRemoveSavedFileSuccess as LegacyRemoveSavedFileSuccessOrigin,
|
|
22
|
+
LegacyRemoveSavedFileSuccessCallback as LegacyRemoveSavedFileSuccessCallbackOrigin,
|
|
23
|
+
LegacyRemoveSavedFileFail as LegacyRemoveSavedFileFailOrigin,
|
|
24
|
+
LegacyRemoveSavedFileFailCallback as LegacyRemoveSavedFileFailCallbackOrigin,
|
|
25
|
+
LegacyRemoveSavedFileCompleteCallback as LegacyRemoveSavedFileCompleteCallbackOrigin,
|
|
26
|
+
LegacyRemoveSavedFileOptions as LegacyRemoveSavedFileOptionsOrigin,
|
|
27
|
+
LegacySavedFileListItem as LegacySavedFileListItemOrigin,
|
|
28
|
+
LegacyGetSavedFileListSuccess as LegacyGetSavedFileListSuccessOrigin,
|
|
29
|
+
LegacyGetSavedFileListSuccessCallback as LegacyGetSavedFileListSuccessCallbackOrigin,
|
|
30
|
+
LegacyGetSavedFileListFail as LegacyGetSavedFileListFailOrigin,
|
|
31
|
+
LegacyGetSavedFileListFailCallback as LegacyGetSavedFileListFailCallbackOrigin,
|
|
32
|
+
LegacyGetSavedFileListCompleteCallback as LegacyGetSavedFileListCompleteCallbackOrigin,
|
|
33
|
+
LegacyGetSavedFileListOptions as LegacyGetSavedFileListOptionsOrigin,
|
|
34
34
|
SaveFile as SaveFileOrigin,
|
|
35
35
|
GetFileInfo as GetFileInfoOrigin,
|
|
36
36
|
GetSavedFileInfo as GetSavedFileInfoOrigin,
|
|
@@ -40,37 +40,37 @@ import {
|
|
|
40
40
|
} from './interface'
|
|
41
41
|
|
|
42
42
|
declare global {
|
|
43
|
-
type
|
|
44
|
-
type
|
|
45
|
-
type
|
|
46
|
-
type
|
|
47
|
-
type
|
|
48
|
-
type
|
|
49
|
-
type
|
|
50
|
-
type
|
|
51
|
-
type
|
|
52
|
-
type
|
|
53
|
-
type
|
|
54
|
-
type
|
|
55
|
-
type
|
|
56
|
-
type
|
|
57
|
-
type
|
|
58
|
-
type
|
|
59
|
-
type
|
|
60
|
-
type
|
|
61
|
-
type
|
|
62
|
-
type
|
|
63
|
-
type
|
|
64
|
-
type
|
|
65
|
-
type
|
|
66
|
-
type
|
|
67
|
-
type
|
|
68
|
-
type
|
|
69
|
-
type
|
|
70
|
-
type
|
|
71
|
-
type
|
|
72
|
-
type
|
|
73
|
-
type
|
|
43
|
+
type LegacySaveFileSuccess = LegacySaveFileSuccessOrigin
|
|
44
|
+
type LegacySaveFileSuccessCallback = LegacySaveFileSuccessCallbackOrigin
|
|
45
|
+
type LegacySaveFileFail = LegacySaveFileFailOrigin
|
|
46
|
+
type LegacySaveFileFailCallback = LegacySaveFileFailCallbackOrigin
|
|
47
|
+
type LegacySaveFileCompleteCallback = LegacySaveFileCompleteCallbackOrigin
|
|
48
|
+
type LegacySaveFileOptions = LegacySaveFileOptionsOrigin
|
|
49
|
+
type LegacyGetFileInfoSuccess = LegacyGetFileInfoSuccessOrigin
|
|
50
|
+
type LegacyGetFileInfoSuccessCallback = LegacyGetFileInfoSuccessCallbackOrigin
|
|
51
|
+
type LegacyGetFileInfoFail = LegacyGetFileInfoFailOrigin
|
|
52
|
+
type LegacyGetFileInfoFailCallback = LegacyGetFileInfoFailCallbackOrigin
|
|
53
|
+
type LegacyGetFileInfoCompleteCallback = LegacyGetFileInfoCompleteCallbackOrigin
|
|
54
|
+
type LegacyGetFileInfoOptions = LegacyGetFileInfoOptionsOrigin
|
|
55
|
+
type LegacyGetSavedFileInfoSuccess = LegacyGetSavedFileInfoSuccessOrigin
|
|
56
|
+
type LegacyGetSavedFileInfoSuccessCallback = LegacyGetSavedFileInfoSuccessCallbackOrigin
|
|
57
|
+
type LegacyGetSavedFileInfoFail = LegacyGetSavedFileInfoFailOrigin
|
|
58
|
+
type LegacyGetSavedFileInfoFailCallback = LegacyGetSavedFileInfoFailCallbackOrigin
|
|
59
|
+
type LegacyGetSavedFileInfoCompleteCallback = LegacyGetSavedFileInfoCompleteCallbackOrigin
|
|
60
|
+
type LegacyGetSavedFileInfoOptions = LegacyGetSavedFileInfoOptionsOrigin
|
|
61
|
+
type LegacyRemoveSavedFileSuccess = LegacyRemoveSavedFileSuccessOrigin
|
|
62
|
+
type LegacyRemoveSavedFileSuccessCallback = LegacyRemoveSavedFileSuccessCallbackOrigin
|
|
63
|
+
type LegacyRemoveSavedFileFail = LegacyRemoveSavedFileFailOrigin
|
|
64
|
+
type LegacyRemoveSavedFileFailCallback = LegacyRemoveSavedFileFailCallbackOrigin
|
|
65
|
+
type LegacyRemoveSavedFileCompleteCallback = LegacyRemoveSavedFileCompleteCallbackOrigin
|
|
66
|
+
type LegacyRemoveSavedFileOptions = LegacyRemoveSavedFileOptionsOrigin
|
|
67
|
+
type LegacySavedFileListItem = LegacySavedFileListItemOrigin
|
|
68
|
+
type LegacyGetSavedFileListSuccess = LegacyGetSavedFileListSuccessOrigin
|
|
69
|
+
type LegacyGetSavedFileListSuccessCallback = LegacyGetSavedFileListSuccessCallbackOrigin
|
|
70
|
+
type LegacyGetSavedFileListFail = LegacyGetSavedFileListFailOrigin
|
|
71
|
+
type LegacyGetSavedFileListFailCallback = LegacyGetSavedFileListFailCallbackOrigin
|
|
72
|
+
type LegacyGetSavedFileListCompleteCallback = LegacyGetSavedFileListCompleteCallbackOrigin
|
|
73
|
+
type LegacyGetSavedFileListOptions = LegacyGetSavedFileListOptionsOrigin
|
|
74
74
|
type SaveFile = SaveFileOrigin
|
|
75
75
|
type GetFileInfo = GetFileInfoOrigin
|
|
76
76
|
type GetSavedFileInfo = GetSavedFileInfoOrigin
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
3
|
+
LegacySaveFileSuccess,
|
|
4
|
+
LegacySaveFileSuccessCallback,
|
|
5
|
+
LegacySaveFileFail,
|
|
6
|
+
LegacySaveFileFailCallback,
|
|
7
|
+
LegacySaveFileCompleteCallback,
|
|
8
|
+
LegacySaveFileOptions,
|
|
9
|
+
LegacyGetFileInfoSuccess,
|
|
10
|
+
LegacyGetFileInfoSuccessCallback,
|
|
11
|
+
LegacyGetFileInfoFail,
|
|
12
|
+
LegacyGetFileInfoFailCallback,
|
|
13
|
+
LegacyGetFileInfoCompleteCallback,
|
|
14
|
+
LegacyGetFileInfoOptions,
|
|
15
|
+
LegacyGetSavedFileInfoSuccess,
|
|
16
|
+
LegacyGetSavedFileInfoSuccessCallback,
|
|
17
|
+
LegacyGetSavedFileInfoFail,
|
|
18
|
+
LegacyGetSavedFileInfoFailCallback,
|
|
19
|
+
LegacyGetSavedFileInfoCompleteCallback,
|
|
20
|
+
LegacyGetSavedFileInfoOptions,
|
|
21
|
+
LegacyRemoveSavedFileSuccess,
|
|
22
|
+
LegacyRemoveSavedFileSuccessCallback,
|
|
23
|
+
LegacyRemoveSavedFileFail,
|
|
24
|
+
LegacyRemoveSavedFileFailCallback,
|
|
25
|
+
LegacyRemoveSavedFileCompleteCallback,
|
|
26
|
+
LegacyRemoveSavedFileOptions,
|
|
27
|
+
LegacySavedFileListItem,
|
|
28
|
+
LegacyGetSavedFileListSuccess,
|
|
29
|
+
LegacyGetSavedFileListSuccessCallback,
|
|
30
|
+
LegacyGetSavedFileListFail,
|
|
31
|
+
LegacyGetSavedFileListFailCallback,
|
|
32
|
+
LegacyGetSavedFileListCompleteCallback,
|
|
33
|
+
LegacyGetSavedFileListOptions,
|
|
34
34
|
SaveFile,
|
|
35
35
|
GetFileInfo,
|
|
36
36
|
GetSavedFileInfo,
|