@ray-js/api 1.5.29 → 1.5.30

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.
@@ -27,14 +27,28 @@ declare enum HighwayMethod {
27
27
  /**
28
28
  * MiniKit
29
29
  *
30
- * @version 3.1.0
30
+ * @version 3.12.1
31
31
  */
32
32
  declare namespace ty {
33
33
  /**
34
- * 是否禁止原生组件区域原生手势管理。
35
- * 基础库 2.0.12 开始支持, 低版本需做兼容处理。
34
+ * 特殊方法:是否异层渲染响应
36
35
  */
37
- export function nativeDisabled(params: boolean): void
36
+ export function nativeDisabled(params: {
37
+ /** 禁用异层渲染手势分发 */
38
+ nativeDisabled: boolean
39
+ /** 需要禁止或启用手势分发的页面id */
40
+ pageId: string
41
+ complete?: () => void
42
+ success?: (params: string) => void
43
+ fail?: (params: {
44
+ errorMsg: string
45
+ errorCode: string | number
46
+ innerError: {
47
+ errorCode: string | number
48
+ errorMsg: string
49
+ }
50
+ }) => void
51
+ }): void
38
52
 
39
53
  /**
40
54
  * 通用方法:调用组件API
@@ -311,7 +325,7 @@ declare namespace ty {
311
325
  /** data 请求入参 */
312
326
  data?: Record<string, any>
313
327
  /** method 请求方法 */
314
- method?: keyof typeof HighwayMethod
328
+ method?: HighwayMethod
315
329
  complete?: () => void
316
330
  success?: (params: {
317
331
  /**
@@ -792,6 +806,163 @@ declare namespace ty {
792
806
  miniProgram: MiniProgramAccountInfo
793
807
  }
794
808
 
809
+ /**
810
+ * 获取小程序自定义配置
811
+ */
812
+ export function getMiniAppConfig(params?: {
813
+ complete?: () => void
814
+ success?: (params: {
815
+ /** 小程序自定义配置 */
816
+ config: {}
817
+ }) => void
818
+ fail?: (params: {
819
+ errorMsg: string
820
+ errorCode: string | number
821
+ innerError: {
822
+ errorCode: string | number
823
+ errorMsg: string
824
+ }
825
+ }) => void
826
+ }): void
827
+
828
+ /**
829
+ * 获取小程序自定义配置
830
+ */
831
+ export function getMiniAppConfigSync(): {
832
+ /** 小程序自定义配置 */
833
+ config: {}
834
+ }
835
+
836
+ /**
837
+ * 唤起小程序看板页
838
+ */
839
+ export function showBoard(params?: {
840
+ complete?: () => void
841
+ success?: (params: null) => void
842
+ fail?: (params: {
843
+ errorMsg: string
844
+ errorCode: string | number
845
+ innerError: {
846
+ errorCode: string | number
847
+ errorMsg: string
848
+ }
849
+ }) => void
850
+ }): void
851
+
852
+ /**
853
+ * 重置小程序看板页自定义栏item
854
+ */
855
+ export function resetBoardMenus(params: {
856
+ /** 生效页面, 默认当前页面 */
857
+ effectPage?: EffectPage
858
+ /** item列表 */
859
+ menus: BoardItemBean[]
860
+ complete?: () => void
861
+ success?: (params: null) => void
862
+ fail?: (params: {
863
+ errorMsg: string
864
+ errorCode: string | number
865
+ innerError: {
866
+ errorCode: string | number
867
+ errorMsg: string
868
+ }
869
+ }) => void
870
+ }): void
871
+
872
+ /**
873
+ * 重置小程序看板页默认栏item
874
+ */
875
+ export function resetSystemMenus(params: {
876
+ /** 生效页面, 默认当前页面 */
877
+ effectPage?: EffectPage
878
+ /** item列表 */
879
+ menus: BoardItemBean[]
880
+ complete?: () => void
881
+ success?: (params: null) => void
882
+ fail?: (params: {
883
+ errorMsg: string
884
+ errorCode: string | number
885
+ innerError: {
886
+ errorCode: string | number
887
+ errorMsg: string
888
+ }
889
+ }) => void
890
+ }): void
891
+
892
+ /**
893
+ * 针对具体的看板itemKey显示红点
894
+ */
895
+ export function showRedBot(params: {
896
+ /** 生效页面, 默认当前页面 */
897
+ effectPage?: EffectPage
898
+ /** 看板item名称 */
899
+ key: string
900
+ complete?: () => void
901
+ success?: (params: null) => void
902
+ fail?: (params: {
903
+ errorMsg: string
904
+ errorCode: string | number
905
+ innerError: {
906
+ errorCode: string | number
907
+ errorMsg: string
908
+ }
909
+ }) => void
910
+ }): void
911
+
912
+ /**
913
+ * 针对具体的看板itemKey隐藏红点
914
+ */
915
+ export function hiddenRedBot(params: {
916
+ /** 生效页面, 默认当前页面 */
917
+ effectPage?: EffectPage
918
+ /** 看板item名称 */
919
+ key: string
920
+ complete?: () => void
921
+ success?: (params: null) => void
922
+ fail?: (params: {
923
+ errorMsg: string
924
+ errorCode: string | number
925
+ innerError: {
926
+ errorCode: string | number
927
+ errorMsg: string
928
+ }
929
+ }) => void
930
+ }): void
931
+
932
+ /**
933
+ * 关闭小程序页面加载框
934
+ */
935
+ export function hideRenderLoading(params?: {
936
+ complete?: () => void
937
+ success?: (params: null) => void
938
+ fail?: (params: {
939
+ errorMsg: string
940
+ errorCode: string | number
941
+ innerError: {
942
+ errorCode: string | number
943
+ errorMsg: string
944
+ }
945
+ }) => void
946
+ }): void
947
+
948
+ /**
949
+ * 设置小程序页面背景图片,调用后小程序导航栏背景色将变为透明
950
+ */
951
+ export function setBackgroundImage(params: {
952
+ /** 图片地址,支持网络图片和本地图片 */
953
+ imageUrl: string
954
+ complete?: () => void
955
+ success?: (params: null) => void
956
+ fail?: (params: {
957
+ errorMsg: string
958
+ errorCode: string | number
959
+ innerError: {
960
+ errorCode: string | number
961
+ errorMsg: string
962
+ }
963
+ }) => void
964
+ }): void
965
+
795
966
  /**
796
967
  * 在当前页面显示导航条加载动画
797
968
  */
@@ -888,6 +1059,19 @@ declare namespace ty {
888
1059
  url: string
889
1060
  /** 打开方式,支持全屏full,半屏half;默认全屏full */
890
1061
  type?: string
1062
+ /**
1063
+ * 非全屏页面距离屏幕顶部的距离,type 为 half 时有效
1064
+ * 取值范围:【1-屏幕的高度】单位:px
1065
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1066
+ * 因此 Android 的 topMargin 的最大值是屏幕高度减去状态栏的高度。
1067
+ */
1068
+ topMargin?: number
1069
+ /**
1070
+ * 非全屏页面距离屏幕顶部的百分比,type 为 half 时有效,优先级高于 topMargin
1071
+ * 取值范围【1-99】单位:百分比
1072
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1073
+ */
1074
+ topMarginPercent?: number
891
1075
  complete?: () => void
892
1076
  success?: (params: null) => void
893
1077
  fail?: (params: {
@@ -926,6 +1110,19 @@ declare namespace ty {
926
1110
  url: string
927
1111
  /** 打开方式,支持全屏full,半屏half;默认全屏full */
928
1112
  type?: string
1113
+ /**
1114
+ * 非全屏页面距离屏幕顶部的距离,type 为 half 时有效
1115
+ * 取值范围:【1-屏幕的高度】单位:px
1116
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1117
+ * 因此 Android 的 topMargin 的最大值是屏幕高度减去状态栏的高度。
1118
+ */
1119
+ topMargin?: number
1120
+ /**
1121
+ * 非全屏页面距离屏幕顶部的百分比,type 为 half 时有效,优先级高于 topMargin
1122
+ * 取值范围【1-99】单位:百分比
1123
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1124
+ */
1125
+ topMarginPercent?: number
929
1126
  complete?: () => void
930
1127
  success?: (params: null) => void
931
1128
  fail?: (params: {
@@ -946,6 +1143,19 @@ declare namespace ty {
946
1143
  url: string
947
1144
  /** 打开方式,支持全屏full,半屏half;默认全屏full */
948
1145
  type?: string
1146
+ /**
1147
+ * 非全屏页面距离屏幕顶部的距离,type 为 half 时有效
1148
+ * 取值范围:【1-屏幕的高度】单位:px
1149
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1150
+ * 因此 Android 的 topMargin 的最大值是屏幕高度减去状态栏的高度。
1151
+ */
1152
+ topMargin?: number
1153
+ /**
1154
+ * 非全屏页面距离屏幕顶部的百分比,type 为 half 时有效,优先级高于 topMargin
1155
+ * 取值范围【1-99】单位:百分比
1156
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1157
+ */
1158
+ topMarginPercent?: number
949
1159
  complete?: () => void
950
1160
  success?: (params: null) => void
951
1161
  fail?: (params: {
@@ -966,6 +1176,19 @@ declare namespace ty {
966
1176
  url: string
967
1177
  /** 打开方式,支持全屏full,半屏half;默认全屏full */
968
1178
  type?: string
1179
+ /**
1180
+ * 非全屏页面距离屏幕顶部的距离,type 为 half 时有效
1181
+ * 取值范围:【1-屏幕的高度】单位:px
1182
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1183
+ * 因此 Android 的 topMargin 的最大值是屏幕高度减去状态栏的高度。
1184
+ */
1185
+ topMargin?: number
1186
+ /**
1187
+ * 非全屏页面距离屏幕顶部的百分比,type 为 half 时有效,优先级高于 topMargin
1188
+ * 取值范围【1-99】单位:百分比
1189
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1190
+ */
1191
+ topMarginPercent?: number
969
1192
  complete?: () => void
970
1193
  success?: (params: null) => void
971
1194
  fail?: (params: {
@@ -991,7 +1214,7 @@ declare namespace ty {
991
1214
  /** 当前版本是否可用 */
992
1215
  result: boolean
993
1216
  }) => void
994
- fail?: (params: {
1217
+ failure?: (params: {
995
1218
  errorMsg: string
996
1219
  errorCode: string | number
997
1220
  innerError: {
@@ -1072,15 +1295,63 @@ declare namespace ty {
1072
1295
  }) => void
1073
1296
  }): void
1074
1297
 
1298
+ /**
1299
+ * 移除当前widget视图, 仅在widget内部调用且不支持Dialog形式
1300
+ */
1301
+ export function widgetRemove(params?: {
1302
+ /** 移除模式 */
1303
+ mode?: WidgetMode
1304
+ complete?: () => void
1305
+ success?: (params: null) => void
1306
+ fail?: (params: {
1307
+ errorMsg: string
1308
+ errorCode: string | number
1309
+ innerError: {
1310
+ errorCode: string | number
1311
+ errorMsg: string
1312
+ }
1313
+ }) => void
1314
+ }): void
1315
+
1075
1316
  /**
1076
1317
  * 原生上报的事件
1077
1318
  */
1078
- export function onNativeEvent(listener: (params: NativeUploadData) => void): void
1319
+ export function onNativeEvent(
1320
+ listener: (params: NativeUploadData) => void
1321
+ ): void
1079
1322
 
1080
1323
  /**
1081
1324
  * 取消监听:原生上报的事件
1082
1325
  */
1083
- export function offNativeEvent(listener: (params: NativeUploadData) => void): void
1326
+ export function offNativeEvent(
1327
+ listener: (params: NativeUploadData) => void
1328
+ ): void
1329
+
1330
+ export enum HighwayMethod {
1331
+ /** HTTP 请求 OPTIONS */
1332
+ OPTIONS = "OPTIONS",
1333
+
1334
+ /** HTTP 请求 GET */
1335
+ GET = "GET",
1336
+
1337
+ /** HTTP 请求 HEAD */
1338
+ HEAD = "HEAD",
1339
+
1340
+ /** HTTP 请求 POST */
1341
+ POST = "POST",
1342
+
1343
+ /** HTTP 请求 PUT */
1344
+ PUT = "PUT",
1345
+
1346
+ /** HTTP 请求 DELETE */
1347
+ DELETE = "DELETE",
1348
+
1349
+ /** HTTP 请求 TRACE */
1350
+ TRACE = "TRACE",
1351
+
1352
+ /** HTTP 请求 TRACE */
1353
+ CONNECT = "CONNECT",
1354
+ }
1084
1355
 
1085
1356
  export type ReferrerInfo = {
1086
1357
  /** 来源小程序、公众号或 App 的 appId */
@@ -1116,6 +1387,29 @@ declare namespace ty {
1116
1387
  envVersion: string
1117
1388
  /** 小程序版本号 */
1118
1389
  version: string
1390
+ /** 小程序名称 */
1391
+ appName: string
1392
+ /** 小程序图标 */
1393
+ appIcon: string
1394
+ }
1395
+
1396
+ export enum EffectPage {
1397
+ /** 当前页面 */
1398
+ current = "current",
1399
+
1400
+ /** 所有页面 */
1401
+ all = "all",
1402
+ }
1403
+
1404
+ export type BoardItemBean = {
1405
+ /** item名称 */
1406
+ key: string
1407
+ /** item图标 */
1408
+ iconPath: string
1409
+ /** item文案 */
1410
+ text: string
1411
+ /** item是否显示 */
1412
+ isShow?: boolean
1119
1413
  }
1120
1414
 
1121
1415
  export type NavigationBarColorAnimationInfo = {
@@ -1138,6 +1432,14 @@ declare namespace ty {
1138
1432
  params?: Record<string, any>
1139
1433
  }
1140
1434
 
1435
+ export enum WidgetMode {
1436
+ /** 单次移除 */
1437
+ ONCE = "ONCE",
1438
+
1439
+ /** 永久移除 */
1440
+ FOREVER = "FOREVER",
1441
+ }
1442
+
1141
1443
  export type NativeUploadData = {
1142
1444
  /** 原生组件的EventName */
1143
1445
  eventName: string
@@ -1231,7 +1533,7 @@ declare namespace ty {
1231
1533
  /** data 请求入参 */
1232
1534
  data?: Record<string, any>
1233
1535
  /** method 请求方法 */
1234
- method?: keyof typeof HighwayMethod
1536
+ method?: HighwayMethod
1235
1537
  }
1236
1538
 
1237
1539
  export type HighwayRequestResponse = {
@@ -1307,6 +1609,42 @@ declare namespace ty {
1307
1609
  miniProgram: MiniProgramAccountInfo
1308
1610
  }
1309
1611
 
1612
+ export type MiniAppConfigResp = {
1613
+ /** 小程序自定义配置 */
1614
+ config: {}
1615
+ }
1616
+
1617
+ export type BoardMenusBean = {
1618
+ /** 生效页面, 默认当前页面 */
1619
+ effectPage?: EffectPage
1620
+ /** item列表 */
1621
+ menus: BoardItemBean[]
1622
+ }
1623
+
1624
+ export type RedBodReq = {
1625
+ /** 生效页面, 默认当前页面 */
1626
+ effectPage?: EffectPage
1627
+ /** 看板item名称 */
1628
+ key: string
1629
+ }
1630
+
1631
+ export type BackgroundImageBean = {
1632
+ /** 图片地址,支持网络图片和本地图片 */
1633
+ imageUrl: string
1634
+ }
1635
+
1636
+ export type CreateReq = {
1637
+ /** managerId: 通知管理器id */
1638
+ managerId: string
1639
+ /** name: 通知名称 */
1640
+ name: string
1641
+ }
1642
+
1643
+ export type ObserverReq = {
1644
+ /** managerId: 通知管理器id */
1645
+ managerId: string
1646
+ }
1647
+
1310
1648
  export type NavigationBarLoadingParams = {
1311
1649
  /** 页面标题 */
1312
1650
  title: string
@@ -1326,6 +1664,19 @@ declare namespace ty {
1326
1664
  url: string
1327
1665
  /** 打开方式,支持全屏full,半屏half;默认全屏full */
1328
1666
  type?: string
1667
+ /**
1668
+ * 非全屏页面距离屏幕顶部的距离,type 为 half 时有效
1669
+ * 取值范围:【1-屏幕的高度】单位:px
1670
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1671
+ * 因此 Android 的 topMargin 的最大值是屏幕高度减去状态栏的高度。
1672
+ */
1673
+ topMargin?: number
1674
+ /**
1675
+ * 非全屏页面距离屏幕顶部的百分比,type 为 half 时有效,优先级高于 topMargin
1676
+ * 取值范围【1-99】单位:百分比
1677
+ * 注意:Android 显示区域不包括状态栏,iOS显示区域包括状态栏。
1678
+ */
1679
+ topMarginPercent?: number
1329
1680
  }
1330
1681
 
1331
1682
  export type BackRouteBean = {
@@ -1342,4 +1693,56 @@ declare namespace ty {
1342
1693
  /** extApi返回数据 */
1343
1694
  data?: {}
1344
1695
  }
1696
+
1697
+ export type MiniWidgetRemoveBean = {
1698
+ /** 移除模式 */
1699
+ mode?: WidgetMode
1700
+ }
1701
+
1702
+ /**
1703
+ * 原生主动发送通知
1704
+ */
1705
+ interface CreateNativeEventManagerTask {
1706
+ /**
1707
+ * 停止监听通知
1708
+ */
1709
+ offerListener(params: {
1710
+ complete?: () => void
1711
+ success?: (params: null) => void
1712
+ fail?: (params: {
1713
+ errorMsg: string
1714
+ errorCode: string | number
1715
+ innerError: {
1716
+ errorCode: string | number
1717
+ errorMsg: string
1718
+ }
1719
+ }) => void
1720
+ }): void
1721
+
1722
+ /**
1723
+ * 开始监听通知
1724
+ */
1725
+ onListener(
1726
+ listener: (params: {
1727
+ /** managerId */
1728
+ managerId: string
1729
+ /** data: 通知内容 */
1730
+ data: {}
1731
+ }) => void
1732
+ ): void
1733
+ }
1734
+ export function createNativeEventManager(params: {
1735
+ /** name: 通知名称 */
1736
+ name: string
1737
+ complete?: () => void
1738
+ success?: (params: null) => void
1739
+ fail?: (params: {
1740
+ errorMsg: string
1741
+ errorCode: string | number
1742
+ innerError: {
1743
+ errorCode: string | number
1744
+ errorMsg: string
1745
+ }
1746
+ }) => void
1747
+ }): CreateNativeEventManagerTask
1345
1748
  }
@@ -82,3 +82,28 @@ export declare const uploadFile: typeof ty.uploadFile;
82
82
  export declare const openMiniWidget: typeof ty.openMiniWidget;
83
83
  export declare const getCurrentVolumeByMode: typeof ty.getCurrentVolumeByMode;
84
84
  export declare const saveImageToPhotosAlbum: typeof ty.saveImageToPhotosAlbum;
85
+ export declare const getSetting: typeof ty.getSetting;
86
+ export declare const getTempDirectory: typeof ty.getTempDirectory;
87
+ export declare const writeLogFile: typeof ty.writeLogFile;
88
+ export declare const getFileInfo: typeof ty.getFileInfo;
89
+ export declare const initializeUploadFile: typeof ty.initializeUploadFile;
90
+ export declare const uploadFileToDevice: typeof ty.uploadFileToDevice;
91
+ export declare const cancelUploadFileToDevice: typeof ty.cancelUploadFileToDevice;
92
+ export declare const compressImage: typeof ty.compressImage;
93
+ export declare const cropImages: typeof ty.cropImages;
94
+ export declare const onUploadFileToDeviceStart: typeof ty.onUploadFileToDeviceStart;
95
+ export declare const offUploadFileToDeviceStart: typeof ty.offUploadFileToDeviceStart;
96
+ export declare const onUploadFileToDeviceProgress: typeof ty.onUploadFileToDeviceProgress;
97
+ export declare const offUploadFileToDeviceProgress: typeof ty.offUploadFileToDeviceProgress;
98
+ export declare const onUploadFileToDeviceComplete: typeof ty.onUploadFileToDeviceComplete;
99
+ export declare const offUploadFileToDeviceComplete: typeof ty.offUploadFileToDeviceComplete;
100
+ export declare const onUploadFileFragToDeviceProgress: typeof ty.onUploadFileFragToDeviceProgress;
101
+ export declare const offUploadFileFragToDeviceProgress: typeof ty.offUploadFileFragToDeviceProgress;
102
+ export declare const cropImage: typeof ty.cropImage;
103
+ export declare const fetchImageThumbnail: typeof ty.fetchImageThumbnail;
104
+ export declare const onKeyboardHeightChange: typeof ty.onKeyboardHeightChange;
105
+ export declare const offKeyboardHeightChange: typeof ty.offKeyboardHeightChange;
106
+ export declare const onKeyboardWillShow: typeof ty.onKeyboardWillShow;
107
+ export declare const offKeyboardWillShow: typeof ty.offKeyboardWillShow;
108
+ export declare const onKeyboardWillHide: typeof ty.onKeyboardWillHide;
109
+ export declare const offKeyboardWillHide: typeof ty.offKeyboardWillHide;
@@ -89,4 +89,31 @@ export const openMiniWidget = factory('openMiniWidget');
89
89
  export const getCurrentVolumeByMode = factory('getCurrentVolumeByMode');
90
90
 
91
91
  // 3.11.0 新增 - 5.12.0
92
- export const saveImageToPhotosAlbum = factory('saveImageToPhotosAlbum');
92
+ export const saveImageToPhotosAlbum = factory('saveImageToPhotosAlbum');
93
+
94
+ // 3.14.3 新增
95
+ export const getSetting = factory('getSetting');
96
+ export const getTempDirectory = factory('getTempDirectory');
97
+ export const writeLogFile = factory('writeLogFile');
98
+ export const getFileInfo = factory('getFileInfo');
99
+ export const initializeUploadFile = factory('initializeUploadFile');
100
+ export const uploadFileToDevice = factory('uploadFileToDevice');
101
+ export const cancelUploadFileToDevice = factory('cancelUploadFileToDevice');
102
+ export const compressImage = factory('compressImage');
103
+ export const cropImages = factory('cropImages');
104
+ export const onUploadFileToDeviceStart = factory('onUploadFileToDeviceStart');
105
+ export const offUploadFileToDeviceStart = factory('offUploadFileToDeviceStart');
106
+ export const onUploadFileToDeviceProgress = factory('onUploadFileToDeviceProgress');
107
+ export const offUploadFileToDeviceProgress = factory('offUploadFileToDeviceProgress');
108
+ export const onUploadFileToDeviceComplete = factory('onUploadFileToDeviceComplete');
109
+ export const offUploadFileToDeviceComplete = factory('offUploadFileToDeviceComplete');
110
+ export const onUploadFileFragToDeviceProgress = factory('onUploadFileFragToDeviceProgress');
111
+ export const offUploadFileFragToDeviceProgress = factory('offUploadFileFragToDeviceProgress');
112
+ export const cropImage = factory('cropImage');
113
+ export const fetchImageThumbnail = factory('fetchImageThumbnail');
114
+ export const onKeyboardHeightChange = factory('onKeyboardHeightChange');
115
+ export const offKeyboardHeightChange = factory('offKeyboardHeightChange');
116
+ export const onKeyboardWillShow = factory('onKeyboardWillShow');
117
+ export const offKeyboardWillShow = factory('offKeyboardWillShow');
118
+ export const onKeyboardWillHide = factory('onKeyboardWillHide');
119
+ export const offKeyboardWillHide = factory('offKeyboardWillHide');
@@ -38,9 +38,48 @@ export declare const offRouterEvent: typeof ty.offRouterEvent;
38
38
  export declare const onRouterResult: typeof ty.onRouterResult;
39
39
  export declare const offRouterResult: typeof ty.offRouterResult;
40
40
  export declare const registerChannel: typeof ty.registerChannel;
41
- export declare const getTempDirectory: typeof ty.getTempDirectory;
42
41
  export declare const handleShortcut: typeof ty.handleShortcut;
43
42
  export declare const isAssociatedShortcut: typeof ty.isAssociatedShortcut;
44
43
  export declare const isSupportedShortcut: typeof ty.isSupportedShortcut;
45
44
  export declare const backToHomeAndOpenPanel: typeof ty.backToHomeAndOpenPanel;
46
45
  export declare const openSystemSettingPage: typeof ty.openSystemSettingPage;
46
+ export declare const apiRequestByHighwayRestful: typeof ty.apiRequestByHighwayRestful;
47
+ export declare const eventLink: typeof ty.eventLink;
48
+ export declare const performanceEvent: typeof ty.performanceEvent;
49
+ export declare const getNGConfigByKeys: typeof ty.getNGConfigByKeys;
50
+ export declare const getConfigByKeys: typeof ty.getConfigByKeys;
51
+ export declare const getThirdPartyServiceInfo: typeof ty.getThirdPartyServiceInfo;
52
+ export declare const openThirdPartyMiniProgram: typeof ty.openThirdPartyMiniProgram;
53
+ export declare const getCloudEnv: typeof ty.getCloudEnv;
54
+ export declare const isMiniAppAvailable: typeof ty.isMiniAppAvailable;
55
+ export declare const getAppTabInfo: typeof ty.getAppTabInfo;
56
+ export declare const getIapInfo: typeof ty.getIapInfo;
57
+ export declare const iapPayReady: typeof ty.iapPayReady;
58
+ export declare const pay: typeof ty.pay;
59
+ export declare const addOrderStatusListener: typeof ty.addOrderStatusListener;
60
+ export declare const removeOrderStatusListener: typeof ty.removeOrderStatusListener;
61
+ export declare const onOrderStatusListener: typeof ty.onOrderStatusListener;
62
+ export declare const offOrderStatusListener: typeof ty.offOrderStatusListener;
63
+ export declare const onUserSelectedAlternativeBilling: typeof ty.onUserSelectedAlternativeBilling;
64
+ export declare const offUserSelectedAlternativeBilling: typeof ty.offUserSelectedAlternativeBilling;
65
+ export declare const showSharePanel: typeof ty.showSharePanel;
66
+ export declare const shareDirectly: typeof ty.shareDirectly;
67
+ export declare const setActivityResult: typeof ty.setActivityResult;
68
+ export declare const openThirdApp: typeof ty.openThirdApp;
69
+ export declare const openThirdAppSync: typeof ty.openThirdAppSync;
70
+ export declare const openUrlForceDefaultBrowser: typeof ty.openUrlForceDefaultBrowser;
71
+ export declare const registerPageRefreshListener: typeof ty.registerPageRefreshListener;
72
+ export declare const onPageRefresh: typeof ty.onPageRefresh;
73
+ export declare const offPageRefresh: typeof ty.offPageRefresh;
74
+ export declare const getWebSocketStatus: typeof ty.getWebSocketStatus;
75
+ export declare const getWebSocketStatusSync: typeof ty.getWebSocketStatusSync;
76
+ export declare const onWebSocketStatusChange: typeof ty.onWebSocketStatusChange;
77
+ export declare const offWebSocketStatusChange: typeof ty.offWebSocketStatusChange;
78
+ export declare const bindWechat: typeof ty.bindWechat;
79
+ export declare const isSupportWechat: typeof ty.isSupportWechat;
80
+ export declare const gotoWechatMiniApp: typeof ty.gotoWechatMiniApp;
81
+ export declare const isCalling: typeof ty.isCalling;
82
+ export declare const canLaunchCall: typeof ty.canLaunchCall;
83
+ export declare const launchCall: typeof ty.launchCall;
84
+ export declare const getAsrListenerManager: typeof ty.getAsrListenerManager;
85
+ export declare const getLogManager: typeof ty.getLogManager;
@@ -52,7 +52,6 @@ export const onRouterResult = factory('onRouterResult');
52
52
  export const offRouterResult = factory('offRouterResult');
53
53
  export const registerChannel = factory('registerChannel');
54
54
  // 3.1.1 新增 - 4.7.0 容器
55
- export const getTempDirectory = factory('getTempDirectory');
56
55
  export const handleShortcut = factory('handleShortcut');
57
56
  export const isAssociatedShortcut = factory('isAssociatedShortcut');
58
57
  export const isSupportedShortcut = factory('isSupportedShortcut');
@@ -60,4 +59,46 @@ export const isSupportedShortcut = factory('isSupportedShortcut');
60
59
  export const backToHomeAndOpenPanel = factory('backToHomeAndOpenPanel');
61
60
 
62
61
  // 4.5.1 新增 - 5.12.0 容器 之前是标注deprecated的,4.5.1之后不再标注,iOS已支持
63
- export const openSystemSettingPage = factory('openSystemSettingPage');
62
+ export const openSystemSettingPage = factory('openSystemSettingPage');
63
+
64
+ // 4.10.4 新增
65
+ export const apiRequestByHighwayRestful = factory('apiRequestByHighwayRestful');
66
+ export const eventLink = factory('eventLink');
67
+ export const performanceEvent = factory('performanceEvent');
68
+ export const getNGConfigByKeys = factory('getNGConfigByKeys');
69
+ export const getConfigByKeys = factory('getConfigByKeys');
70
+ export const getThirdPartyServiceInfo = factory('getThirdPartyServiceInfo');
71
+ export const openThirdPartyMiniProgram = factory('openThirdPartyMiniProgram');
72
+ export const getCloudEnv = factory('getCloudEnv');
73
+ export const isMiniAppAvailable = factory('isMiniAppAvailable');
74
+ export const getAppTabInfo = factory('getAppTabInfo');
75
+ export const getIapInfo = factory('getIapInfo');
76
+ export const iapPayReady = factory('iapPayReady');
77
+ export const pay = factory('pay');
78
+ export const addOrderStatusListener = factory('addOrderStatusListener');
79
+ export const removeOrderStatusListener = factory('removeOrderStatusListener');
80
+ export const onOrderStatusListener = factory('onOrderStatusListener');
81
+ export const offOrderStatusListener = factory('offOrderStatusListener');
82
+ export const onUserSelectedAlternativeBilling = factory('onUserSelectedAlternativeBilling');
83
+ export const offUserSelectedAlternativeBilling = factory('offUserSelectedAlternativeBilling');
84
+ export const showSharePanel = factory('showSharePanel');
85
+ export const shareDirectly = factory('shareDirectly');
86
+ export const setActivityResult = factory('setActivityResult');
87
+ export const openThirdApp = factory('openThirdApp');
88
+ export const openThirdAppSync = factory('openThirdAppSync');
89
+ export const openUrlForceDefaultBrowser = factory('openUrlForceDefaultBrowser');
90
+ export const registerPageRefreshListener = factory('registerPageRefreshListener');
91
+ export const onPageRefresh = factory('onPageRefresh');
92
+ export const offPageRefresh = factory('offPageRefresh');
93
+ export const getWebSocketStatus = factory('getWebSocketStatus');
94
+ export const getWebSocketStatusSync = factory('getWebSocketStatusSync');
95
+ export const onWebSocketStatusChange = factory('onWebSocketStatusChange');
96
+ export const offWebSocketStatusChange = factory('offWebSocketStatusChange');
97
+ export const bindWechat = factory('bindWechat');
98
+ export const isSupportWechat = factory('isSupportWechat');
99
+ export const gotoWechatMiniApp = factory('gotoWechatMiniApp');
100
+ export const isCalling = factory('isCalling');
101
+ export const canLaunchCall = factory('canLaunchCall');
102
+ export const launchCall = factory('launchCall');
103
+ export const getAsrListenerManager = factory('getAsrListenerManager');
104
+ export const getLogManager = factory('getLogManager');