@dcloudio/uni-app-x 0.7.37 → 0.7.39

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.
Files changed (126) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +48 -9
  3. package/types/app.d.ts +8 -5
  4. package/types/native/AsyncApiResult.d.ts +1 -0
  5. package/types/native/CanvasRenderingContext2D.d.ts +1 -1
  6. package/types/native/IUniElement.d.ts +130 -35
  7. package/types/native/UniElement.d.ts +2 -1
  8. package/types/native/UniTextElement.d.ts +1 -0
  9. package/types/native/global.d.ts +16 -0
  10. package/types/page.d.ts +47 -5
  11. package/types/uni/env/index.d.ts +87 -73
  12. package/types/uni/global.d.ts +1 -0
  13. package/types/uni/index.d.ts +1 -0
  14. package/types/uni/uni-map-tencent-global.d.ts +33 -0
  15. package/types/uni/uni-map-tencent-map.d.ts +52 -0
  16. package/types/uni/uts-plugin-api/global.d.ts +2 -1
  17. package/types/uni/uts-plugin-api/index.d.ts +2 -1
  18. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -2
  19. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -1
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +212 -219
  21. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +73 -73
  22. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +331 -205
  23. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +73 -73
  24. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +848 -208
  25. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-chooseLocation/utssdk/global.d.ts +5 -6
  26. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-chooseLocation/utssdk/index.d.ts +3 -3
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +414 -0
  28. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  29. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +4 -0
  30. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +2 -0
  31. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1226 -1726
  32. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  33. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +102 -18
  34. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +2 -2
  35. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +1199 -1045
  36. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +294 -263
  37. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +33 -28
  38. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +210 -0
  39. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +4828 -1750
  40. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +490 -448
  41. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2138 -829
  42. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +4 -0
  43. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +2 -0
  44. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +664 -114
  45. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +891 -9
  46. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -3
  47. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +254 -114
  48. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +152 -12
  49. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +813 -57
  50. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -2
  51. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -45
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +274 -148
  53. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +38 -3
  54. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +969 -969
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +3161 -43
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +316 -22
  57. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  58. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +42 -0
  59. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +41 -41
  60. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +88 -88
  61. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +8 -0
  62. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +4 -0
  63. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +2765 -1193
  64. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +18 -18
  65. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3098 -1153
  66. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +13 -13
  67. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +42 -0
  68. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +10 -10
  69. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +621 -369
  70. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/global.d.ts +8 -0
  71. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/index.d.ts +4 -0
  72. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  73. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +540 -253
  74. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2602 -1131
  75. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  76. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +58 -58
  77. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +77 -35
  78. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +42 -0
  79. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/global.d.ts +4 -0
  80. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/index.d.ts +2 -0
  81. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +614 -15
  82. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +857 -437
  83. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +58 -16
  84. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +8 -0
  85. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +4 -0
  86. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1057 -516
  87. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1656 -1488
  88. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1752 -786
  89. package/types/uni/uts-plugin-biz/global.d.ts +1 -0
  90. package/types/uni/uts-plugin-biz/index.d.ts +1 -0
  91. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +85 -1
  92. package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/interface.d.ts +46 -46
  93. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +72 -20
  94. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +126 -0
  95. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +4 -0
  96. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +2 -0
  97. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +98 -15
  98. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +677 -299
  99. package/types/uni/uts-plugin-extend/README.md +3 -0
  100. package/types/uni/uts-plugin-extend/global.d.ts +1 -0
  101. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -0
  102. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/index.d.ts +0 -0
  103. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -0
  104. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +4 -4
  105. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +5 -5
  106. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +302 -302
  107. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +77 -77
  108. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +431 -11
  109. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  110. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +6 -6
  111. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +2 -2
  112. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +73 -73
  113. package/types/uni-cloud/interface.d.ts +91 -0
  114. package/uts-plugin.d.ts +3 -1
  115. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -151
  116. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -11
  117. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -4
  118. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -224
  119. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +0 -53
  120. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +0 -25
  121. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +0 -487
  122. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +0 -9
  123. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +0 -1
  124. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +0 -165
  125. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/global.d.ts +0 -0
  126. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/index.d.ts +0 -0
@@ -1,231 +1,224 @@
1
1
  export interface Uni {
2
- /**
3
- * 手机通讯录联系人和联系方式的增加
4
- * @tutorial https://uniapp.dcloud.net.cn/api/system/contact.html
5
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/contact.html
6
- *
7
- * @uniPlatform {
8
- * "app": {
9
- * "android": {
10
- * "osVer": "5.0",
11
- * "uniVer": "√",
12
- * "unixVer": "x"
13
- * },
14
- * "ios": {
15
- * "osVer": "12.0",
16
- * "uniVer": "√",
17
- * "unixVer": "x"
18
- * },
19
- * "harmony": {
20
- * "osVer": "3.0",
21
- * "uniVer": "4.25",
22
- * "unixVer": "x"
23
- * }
24
- * },
25
- * "web": {
26
- * "uniVer": "x",
27
- * "unixVer": "x"
28
- * }
29
- * "mp":{
30
- * weixin: {
31
- * hostVer: '√',
32
- * uniVer: '√',
33
- * unixVer: 'x'
34
- * },
35
- * alipay: {
36
- * hostVer: '√',
37
- * uniVer: '√',
38
- * unixVer: 'x'
39
- * },
40
- * baidu: {
41
- * hostVer: '√',
42
- * uniVer: '√',
43
- * unixVer: 'x'
44
- * },
45
- * toutiao: {
46
- * hostVer: 'x',
47
- * uniVer: 'x',
48
- * unixVer: 'x'
49
- * },
50
- * lark: {
51
- * hostVer: 'x',
52
- * uniVer: 'x',
53
- * unixVer: 'x'
54
- * },
55
- * qq: {
56
- * hostVer: 'x',
57
- * uniVer: 'x',
58
- * unixVer: 'x'
59
- * },
60
- * kuaishou: {
61
- * hostVer: '√',
62
- * uniVer: '√',
63
- * unixVer: 'x'
64
- * },
65
- * jd: {
66
- * hostVer: 'x',
67
- * uniVer: 'x',
68
- * unixVer: 'x'
69
- * }
70
- * }
71
- * }
72
- */
73
- addPhoneContact: AddPhoneContact;
2
+ /**
3
+ * 手机通讯录联系人和联系方式的增加
4
+ * @tutorial https://uniapp.dcloud.net.cn/api/system/contact.html
5
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/contact.html
6
+ *
7
+ * @uniPlatform {
8
+ * "app": {
9
+ * "android": {
10
+ * "osVer": "5.0",
11
+ * "uniVer": "√",
12
+ * "unixVer": "x"
13
+ * },
14
+ * "ios": {
15
+ * "osVer": "12.0",
16
+ * "uniVer": "√",
17
+ * "unixVer": "x"
18
+ * },
19
+ * "harmony": {
20
+ * "osVer": "3.0",
21
+ * "uniVer": "4.25",
22
+ * "unixVer": "x"
23
+ * }
24
+ * },
25
+ * "web": {
26
+ * "uniVer": "x",
27
+ * "unixVer": "x"
28
+ * }
29
+ * "mp":{
30
+ * weixin: {
31
+ * hostVer: '√',
32
+ * uniVer: '√',
33
+ * unixVer: '4.41'
34
+ * },
35
+ * alipay: {
36
+ * hostVer: '√',
37
+ * uniVer: '√',
38
+ * unixVer: 'x'
39
+ * },
40
+ * baidu: {
41
+ * hostVer: '√',
42
+ * uniVer: '√',
43
+ * unixVer: 'x'
44
+ * },
45
+ * toutiao: {
46
+ * hostVer: 'x',
47
+ * uniVer: 'x',
48
+ * unixVer: 'x'
49
+ * },
50
+ * lark: {
51
+ * hostVer: 'x',
52
+ * uniVer: 'x',
53
+ * unixVer: 'x'
54
+ * },
55
+ * qq: {
56
+ * hostVer: 'x',
57
+ * uniVer: 'x',
58
+ * unixVer: 'x'
59
+ * },
60
+ * kuaishou: {
61
+ * hostVer: '√',
62
+ * uniVer: '√',
63
+ * unixVer: 'x'
64
+ * },
65
+ * jd: {
66
+ * hostVer: 'x',
67
+ * uniVer: 'x',
68
+ * unixVer: 'x'
69
+ * }
70
+ * }
71
+ * }
72
+ */
73
+ addPhoneContact: AddPhoneContact;
74
74
  }
75
75
 
76
76
  export type AddPhoneContact = (options: AddPhoneContactOptions) => void;
77
77
  export type AddPhoneContactSuccess = {};
78
- export type UniError = {
79
- errSubject: string,
80
- errCode: number,
81
- errMsg: string,
82
- data?: object | null,
83
- cause?: any | null
84
- };
85
78
  export type AddPhoneContactSuccessCallback = (result: AddPhoneContactSuccess) => void;
86
79
  export type AddPhoneContactFail = UniError;
87
80
  export type AddPhoneContactFailCallback = (result: AddPhoneContactFail) => void;
88
81
  export type AddPhoneContactComplete = any;
89
82
  export type AddPhoneContactCompleteCallback = (result: AddPhoneContactComplete) => void;
90
83
  export type AddPhoneContactOptions = {
91
- /**
92
- * 头像本地文件路径
93
- */
94
- photoFilePath?: string | null,
95
- /**
96
- * 昵称
97
- */
98
- nickName?: string | null,
99
- /**
100
- * 姓氏
101
- */
102
- lastName?: string | null,
103
- /**
104
- * 中间名
105
- */
106
- middleName?: string | null,
107
- /**
108
- * 名字
109
- */
110
- firstName?: string | null,
111
- /**
112
- * 备注
113
- */
114
- remark?: string | null,
115
- /**
116
- * 手机号
117
- */
118
- mobilePhoneNumber?: string | null,
119
- /**
120
- * 微信号
121
- */
122
- weChatNumber?: string | null,
123
- /**
124
- * 联系地址国家
125
- */
126
- addressCountry?: string | null,
127
- /**
128
- * 联系地址省份
129
- */
130
- addressState?: string | null,
131
- /**
132
- * 联系地址城市
133
- */
134
- addressCity?: string | null,
135
- /**
136
- * 联系地址街道
137
- */
138
- addressStreet?: string | null,
139
- /**
140
- * 联系地址邮政编码
141
- */
142
- addressPostalCode?: string | null,
143
- /**
144
- * 公司
145
- */
146
- organization?: string | null,
147
- /**
148
- * 职位
149
- */
150
- title?: string | null,
151
- /**
152
- * 工作传真
153
- */
154
- workFaxNumber?: string | null,
155
- /**
156
- * 工作电话
157
- */
158
- workPhoneNumber?: string | null,
159
- /**
160
- * 公司电话
161
- */
162
- hostNumber?: string | null,
163
- /**
164
- * 电子邮件
165
- */
166
- email?: string | null,
167
- /**
168
- * 网站
169
- */
170
- url?: string | null,
171
- /**
172
- * 工作地址国家
173
- */
174
- workAddressCountry?: string | null,
175
- /**
176
- * 工作地址省份
177
- */
178
- workAddressState?: string | null,
179
- /**
180
- * 工作地址城市
181
- */
182
- workAddressCity?: string | null,
183
- /**
184
- * 工作地址街道
185
- */
186
- workAddressStreet?: string | null,
187
- /**
188
- * 工作地址邮政编码
189
- */
190
- workAddressPostalCode?: string | null,
191
- /**
192
- * 住宅传真
193
- */
194
- homeFaxNumber?: string | null,
195
- /**
196
- * 住宅电话
197
- */
198
- homePhoneNumber?: string | null,
199
- /**
200
- * 住宅地址国家
201
- */
202
- homeAddressCountry?: string | null,
203
- /**
204
- * 住宅地址省份
205
- */
206
- homeAddressState?: string | null,
207
- /**
208
- * 住宅地址城市
209
- */
210
- homeAddressCity?: string | null,
211
- /**
212
- * 住宅地址街道
213
- */
214
- homeAddressStreet?: string | null,
215
- /**
216
- * 住宅地址邮政编码
217
- */
218
- homeAddressPostalCode?: string | null,
219
- /**
220
- * 接口调用成功的回调函数
221
- */
222
- success?: AddPhoneContactSuccessCallback | null,
223
- /**
224
- * 接口调用失败的回调函数
225
- */
226
- fail?: AddPhoneContactFailCallback | null,
227
- /**
228
- * 接口调用结束的回调函数(调用成功、失败都会执行)
229
- */
230
- complete?: AddPhoneContactCompleteCallback | null
84
+ /**
85
+ * 头像本地文件路径
86
+ */
87
+ photoFilePath?: string | null,
88
+ /**
89
+ * 昵称
90
+ */
91
+ nickName?: string | null,
92
+ /**
93
+ * 姓氏
94
+ */
95
+ lastName?: string | null,
96
+ /**
97
+ * 中间名
98
+ */
99
+ middleName?: string | null,
100
+ /**
101
+ * 名字
102
+ */
103
+ firstName?: string | null,
104
+ /**
105
+ * 备注
106
+ */
107
+ remark?: string | null,
108
+ /**
109
+ * 手机号
110
+ */
111
+ mobilePhoneNumber?: string | null,
112
+ /**
113
+ * 微信号
114
+ */
115
+ weChatNumber?: string | null,
116
+ /**
117
+ * 联系地址国家
118
+ */
119
+ addressCountry?: string | null,
120
+ /**
121
+ * 联系地址省份
122
+ */
123
+ addressState?: string | null,
124
+ /**
125
+ * 联系地址城市
126
+ */
127
+ addressCity?: string | null,
128
+ /**
129
+ * 联系地址街道
130
+ */
131
+ addressStreet?: string | null,
132
+ /**
133
+ * 联系地址邮政编码
134
+ */
135
+ addressPostalCode?: string | null,
136
+ /**
137
+ * 公司
138
+ */
139
+ organization?: string | null,
140
+ /**
141
+ * 职位
142
+ */
143
+ title?: string | null,
144
+ /**
145
+ * 工作传真
146
+ */
147
+ workFaxNumber?: string | null,
148
+ /**
149
+ * 工作电话
150
+ */
151
+ workPhoneNumber?: string | null,
152
+ /**
153
+ * 公司电话
154
+ */
155
+ hostNumber?: string | null,
156
+ /**
157
+ * 电子邮件
158
+ */
159
+ email?: string | null,
160
+ /**
161
+ * 网站
162
+ */
163
+ url?: string | null,
164
+ /**
165
+ * 工作地址国家
166
+ */
167
+ workAddressCountry?: string | null,
168
+ /**
169
+ * 工作地址省份
170
+ */
171
+ workAddressState?: string | null,
172
+ /**
173
+ * 工作地址城市
174
+ */
175
+ workAddressCity?: string | null,
176
+ /**
177
+ * 工作地址街道
178
+ */
179
+ workAddressStreet?: string | null,
180
+ /**
181
+ * 工作地址邮政编码
182
+ */
183
+ workAddressPostalCode?: string | null,
184
+ /**
185
+ * 住宅传真
186
+ */
187
+ homeFaxNumber?: string | null,
188
+ /**
189
+ * 住宅电话
190
+ */
191
+ homePhoneNumber?: string | null,
192
+ /**
193
+ * 住宅地址国家
194
+ */
195
+ homeAddressCountry?: string | null,
196
+ /**
197
+ * 住宅地址省份
198
+ */
199
+ homeAddressState?: string | null,
200
+ /**
201
+ * 住宅地址城市
202
+ */
203
+ homeAddressCity?: string | null,
204
+ /**
205
+ * 住宅地址街道
206
+ */
207
+ homeAddressStreet?: string | null,
208
+ /**
209
+ * 住宅地址邮政编码
210
+ */
211
+ homeAddressPostalCode?: string | null,
212
+ /**
213
+ * 接口调用成功的回调函数
214
+ */
215
+ success?: AddPhoneContactSuccessCallback | null,
216
+ /**
217
+ * 接口调用失败的回调函数
218
+ */
219
+ fail?: AddPhoneContactFailCallback | null,
220
+ /**
221
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
222
+ */
223
+ complete?: AddPhoneContactCompleteCallback | null
231
224
  };
@@ -1,77 +1,77 @@
1
1
  export interface Uni {
2
- /**
3
- * 将 ArrayBuffer 对象转成 Base64 字符串
4
- *
5
- * @tutorial https://uniapp.dcloud.net.cn/api/arrayBufferToBase64.html
6
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/arrayBufferToBase64.html
7
- *
8
- * @uniPlatform {
9
- * "app": {
10
- * "android": {
11
- * "osVer": "5.0",
12
- * "uniVer": "√",
13
- * "unixVer": "x"
14
- * },
15
- * "ios": {
16
- * "osVer": "5.0",
17
- * "uniVer": "√",
18
- * "unixVer": "x"
19
- * },
20
- * "harmony": {
21
- * "osVer": "3.0",
22
- * "uniVer": "4.23",
23
- * "unixVer": "x"
24
- * }
25
- * },
26
- * "web": {
27
- * "uniVer": "√",
28
- * "unixVer": "4.0"
29
- * },
30
- * "mp":{
31
- * weixin: {
32
- * hostVer: '√',
33
- * uniVer: '√',
34
- * unixVer: 'x'
35
- * },
36
- * alipay: {
37
- * hostVer: '√',
38
- * uniVer: '√',
39
- * unixVer: 'x'
40
- * },
41
- * baidu: {
42
- * hostVer: '√',
43
- * uniVer: '√',
44
- * unixVer: 'x'
45
- * },
46
- * toutiao: {
47
- * hostVer: '√',
48
- * uniVer: '√',
49
- * unixVer: 'x'
50
- * },
51
- * lark: {
52
- * hostVer: '√',
53
- * uniVer: '√',
54
- * unixVer: 'x'
55
- * },
56
- * qq: {
57
- * hostVer: '√',
58
- * uniVer: '√',
59
- * unixVer: 'x'
60
- * },
61
- * kuaishou: {
62
- * hostVer: '√',
63
- * uniVer: '√',
64
- * unixVer: 'x'
65
- * },
66
- * jd: {
67
- * hostVer: '√',
68
- * uniVer: '√',
69
- * unixVer: 'x'
70
- * }
71
- * }
72
- * }
73
- */
74
- arrayBufferToBase64: ArrayBufferToBase64;
2
+ /**
3
+ * 将 ArrayBuffer 对象转成 Base64 字符串
4
+ *
5
+ * @tutorial https://uniapp.dcloud.net.cn/api/arrayBufferToBase64.html
6
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/arrayBufferToBase64.html
7
+ *
8
+ * @uniPlatform {
9
+ * "app": {
10
+ * "android": {
11
+ * "osVer": "5.0",
12
+ * "uniVer": "√",
13
+ * "unixVer": "x"
14
+ * },
15
+ * "ios": {
16
+ * "osVer": "5.0",
17
+ * "uniVer": "√",
18
+ * "unixVer": "x"
19
+ * },
20
+ * "harmony": {
21
+ * "osVer": "3.0",
22
+ * "uniVer": "4.23",
23
+ * "unixVer": "x"
24
+ * }
25
+ * },
26
+ * "web": {
27
+ * "uniVer": "√",
28
+ * "unixVer": "4.0"
29
+ * },
30
+ * "mp":{
31
+ * weixin: {
32
+ * hostVer: '√',
33
+ * uniVer: '√',
34
+ * unixVer: '4.41'
35
+ * },
36
+ * alipay: {
37
+ * hostVer: '√',
38
+ * uniVer: '√',
39
+ * unixVer: 'x'
40
+ * },
41
+ * baidu: {
42
+ * hostVer: '√',
43
+ * uniVer: '√',
44
+ * unixVer: 'x'
45
+ * },
46
+ * toutiao: {
47
+ * hostVer: '√',
48
+ * uniVer: '√',
49
+ * unixVer: 'x'
50
+ * },
51
+ * lark: {
52
+ * hostVer: '√',
53
+ * uniVer: '√',
54
+ * unixVer: 'x'
55
+ * },
56
+ * qq: {
57
+ * hostVer: '√',
58
+ * uniVer: '√',
59
+ * unixVer: 'x'
60
+ * },
61
+ * kuaishou: {
62
+ * hostVer: '√',
63
+ * uniVer: '√',
64
+ * unixVer: 'x'
65
+ * },
66
+ * jd: {
67
+ * hostVer: '√',
68
+ * uniVer: '√',
69
+ * unixVer: 'x'
70
+ * }
71
+ * }
72
+ * }
73
+ */
74
+ arrayBufferToBase64: ArrayBufferToBase64;
75
75
  }
76
76
 
77
77
  export type ArrayBufferToBase64 = (arrayBuffer: ArrayBuffer) => string;