@dcloudio/uni-app-x 0.7.120 → 0.7.122
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/README.md +87 -0
- package/package.json +1 -1
- package/types/app.d.ts +2 -1
- package/types/dom2-internal/UniCommon.d.ts +7 -2
- package/types/dom2-internal/UniNativeDefines.d.ts +7 -2
- package/types/dom2-internal/UniPage.d.ts +6 -0
- package/types/native/DrawableContext.d.ts +104 -52
- package/types/native/IUniElement.d.ts +4 -2
- package/types/node_modules/.package-lock.json +20 -0
- package/types/node_modules/typescript/LICENSE.txt +55 -0
- package/types/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
- package/types/node_modules/typescript/bin/tsc +2 -0
- package/types/node_modules/typescript/bin/tsserver +2 -0
- package/types/node_modules/typescript/lib/cancellationToken.js +90 -0
- package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/lib.d.ts +22 -0
- package/types/node_modules/typescript/lib/lib.decorators.d.ts +386 -0
- package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
- package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +33 -0
- package/types/node_modules/typescript/lib/lib.dom.d.ts +28596 -0
- package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +475 -0
- package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
- package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
- package/types/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
- package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
- package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +495 -0
- package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
- package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
- package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
- package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
- package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
- package/types/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
- package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
- package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
- package/types/node_modules/typescript/lib/lib.es2017.d.ts +25 -0
- package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
- package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
- package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
- package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
- package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
- package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
- package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
- package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +43 -0
- package/types/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
- package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
- package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
- package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
- package/types/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
- package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
- package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
- package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +727 -0
- package/types/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
- package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
- package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
- package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
- package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
- package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
- package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
- package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +37 -0
- package/types/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
- package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
- package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
- package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
- package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
- package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
- package/types/node_modules/typescript/lib/lib.es2022.d.ts +26 -0
- package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
- package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +117 -0
- package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
- package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
- package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +39 -0
- package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
- package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
- package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
- package/types/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
- package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
- package/types/node_modules/typescript/lib/lib.es5.d.ts +4585 -0
- package/types/node_modules/typescript/lib/lib.es6.d.ts +23 -0
- package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
- package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +106 -0
- package/types/node_modules/typescript/lib/lib.esnext.d.ts +28 -0
- package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
- package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +185 -0
- package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
- package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
- package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +29 -0
- package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +35 -0
- package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +25 -0
- package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +29 -0
- package/types/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
- package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +33 -0
- package/types/node_modules/typescript/lib/lib.webworker.d.ts +9431 -0
- package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
- package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +276 -0
- package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/tsc.js +129741 -0
- package/types/node_modules/typescript/lib/tsserver.js +621 -0
- package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
- package/types/node_modules/typescript/lib/tsserverlibrary.js +21 -0
- package/types/node_modules/typescript/lib/typesMap.json +497 -0
- package/types/node_modules/typescript/lib/typescript.d.ts +11240 -0
- package/types/node_modules/typescript/lib/typescript.js +194910 -0
- package/types/node_modules/typescript/lib/typingsInstaller.js +236 -0
- package/types/node_modules/typescript/lib/watchGuard.js +53 -0
- package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +1880 -0
- package/types/node_modules/typescript/package.json +116 -0
- package/types/page.d.ts +2 -2
- package/types/uni/env/index.d.ts +2 -1
- package/types/uni/uts-plugin-api/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +323 -1294
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +944 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +2 -1
- package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-compass/utssdk/global.d.ts +16 -6
- package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-compass/utssdk/index.d.ts +9 -3
- package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +353 -0
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +144 -110
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +72 -531
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +72 -531
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +6 -6
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +72 -68
- package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +8 -12
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +4 -6
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +1741 -905
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +12 -12
- package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/interface.d.ts +418 -0
- package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
- package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +83 -124
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +1157 -830
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +936 -335
- package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +1155 -1142
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +6 -6
- package/types/uni/uts-plugin-biz/global.d.ts +9 -0
- package/types/uni/uts-plugin-biz/index.d.ts +9 -0
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
- package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/interface.d.ts +371 -0
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +944 -0
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +353 -0
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
- package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
- package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
- package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
- package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
- package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
- package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
- package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/interface.d.ts +1172 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +6 -1
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
- package/types/uni/uts-plugin-component/global.d.ts +8 -1
- package/types/uni/uts-plugin-component/index.d.ts +8 -1
- package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +1342 -371
- package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/interface.d.ts +944 -0
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +2 -1
- package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/interface.d.ts +353 -0
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +144 -110
- package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +15 -5
- package/types/uni/uts-plugin-component/lib/uni-form-global/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +531 -72
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +531 -72
- package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +6 -6
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +73 -67
- package/types/uni/uts-plugin-component/lib/uni-match-media-global/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +8 -12
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +4 -6
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +1743 -291
- package/types/uni/uts-plugin-component/lib/uni-navigator-global/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +12 -12
- package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/interface.d.ts +420 -0
- package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
- package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
- package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +132 -75
- package/types/uni/uts-plugin-component/lib/uni-progress-global/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +1175 -314
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +936 -335
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +1617 -446
- package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
- package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +6 -6
- package/types/uni/uts-plugin-extend/global.d.ts +0 -1
- package/types/uni/uts-plugin-extend/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +2 -1
- package/types/vue/LifeCycle.d.ts +2 -2
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +0 -12
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +0 -917
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +0 -1095
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +0 -253
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export class UniNavigatorElement extends
|
|
1
|
+
export class UniNavigatorElement extends UniViewElementImpl {
|
|
2
2
|
}
|
|
@@ -11,12 +11,12 @@ export interface Uni {
|
|
|
11
11
|
* "android": {
|
|
12
12
|
* "osVer": "5.0",
|
|
13
13
|
* "uniVer": "√",
|
|
14
|
-
* "unixVer": "5.
|
|
14
|
+
* "unixVer": "5.08"
|
|
15
15
|
* },
|
|
16
16
|
* "ios": {
|
|
17
17
|
* "osVer": "12.0",
|
|
18
18
|
* "uniVer": "√",
|
|
19
|
-
* "unixVer": "5.
|
|
19
|
+
* "unixVer": "5.08"
|
|
20
20
|
* },
|
|
21
21
|
* "harmony": {
|
|
22
22
|
* "osVer": "3.0",
|
|
@@ -259,12 +259,12 @@ export type LoginSuccess = {
|
|
|
259
259
|
* "android": {
|
|
260
260
|
* "osVer": "5.0",
|
|
261
261
|
* "uniVer": "√",
|
|
262
|
-
* "unixVer": "5.
|
|
262
|
+
* "unixVer": "5.08"
|
|
263
263
|
* },
|
|
264
264
|
* "ios": {
|
|
265
265
|
* "osVer": "12.0",
|
|
266
266
|
* "uniVer": "√",
|
|
267
|
-
* "unixVer": "5.
|
|
267
|
+
* "unixVer": "5.08"
|
|
268
268
|
* },
|
|
269
269
|
* "harmony": {
|
|
270
270
|
* "osVer": "3.0",
|
|
@@ -283,12 +283,12 @@ export type LoginSuccess = {
|
|
|
283
283
|
* "android": {
|
|
284
284
|
* "osVer": "5.0",
|
|
285
285
|
* "uniVer": "√",
|
|
286
|
-
* "unixVer": "5.
|
|
286
|
+
* "unixVer": "5.08"
|
|
287
287
|
* },
|
|
288
288
|
* "ios": {
|
|
289
289
|
* "osVer": "12.0",
|
|
290
290
|
* "uniVer": "√",
|
|
291
|
-
* "unixVer": "5.
|
|
291
|
+
* "unixVer": "5.08"
|
|
292
292
|
* },
|
|
293
293
|
* "harmony": {
|
|
294
294
|
* "osVer": "3.0",
|
|
@@ -430,12 +430,12 @@ export type LoginOptions = {
|
|
|
430
430
|
* "android": {
|
|
431
431
|
* "osVer": "5.0",
|
|
432
432
|
* "uniVer": "√",
|
|
433
|
-
* "unixVer": "5.
|
|
433
|
+
* "unixVer": "5.08"
|
|
434
434
|
* },
|
|
435
435
|
* "ios": {
|
|
436
436
|
* "osVer": "12.0",
|
|
437
437
|
* "uniVer": "√",
|
|
438
|
-
* "unixVer": "5.
|
|
438
|
+
* "unixVer": "5.08"
|
|
439
439
|
* },
|
|
440
440
|
* "harmony": {
|
|
441
441
|
* "osVer": "3.0",
|
|
@@ -509,12 +509,12 @@ export type LoginOptions = {
|
|
|
509
509
|
* "android": {
|
|
510
510
|
* "osVer": "5.0",
|
|
511
511
|
* "uniVer": "√",
|
|
512
|
-
* "unixVer": "5.
|
|
512
|
+
* "unixVer": "5.08"
|
|
513
513
|
* },
|
|
514
514
|
* "ios": {
|
|
515
515
|
* "osVer": "12.0",
|
|
516
516
|
* "uniVer": "√",
|
|
517
|
-
* "unixVer": "5.
|
|
517
|
+
* "unixVer": "5.08"
|
|
518
518
|
* },
|
|
519
519
|
* "harmony": {
|
|
520
520
|
* "osVer": "5.0.0",
|
|
@@ -721,12 +721,12 @@ export type LoginOptions = {
|
|
|
721
721
|
* "android": {
|
|
722
722
|
* "osVer": "5.0",
|
|
723
723
|
* "uniVer": "3.2.6",
|
|
724
|
-
* "unixVer": "5.
|
|
724
|
+
* "unixVer": "5.08"
|
|
725
725
|
* },
|
|
726
726
|
* "ios": {
|
|
727
727
|
* "osVer": "12.0",
|
|
728
728
|
* "uniVer": "3.2.6",
|
|
729
|
-
* "unixVer": "5.
|
|
729
|
+
* "unixVer": "5.08"
|
|
730
730
|
* },
|
|
731
731
|
* "harmony": {
|
|
732
732
|
* "osVer": "5.0.0",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
OpenLocationErrorCode as OpenLocationErrorCodeOrigin,
|
|
4
|
+
OpenLocationSuccess as OpenLocationSuccessOrigin,
|
|
5
|
+
OpenLocationFail as OpenLocationFailOrigin,
|
|
6
|
+
OpenLocationComplete as OpenLocationCompleteOrigin,
|
|
7
|
+
OpenLocationOptions as OpenLocationOptionsOrigin,
|
|
8
|
+
OpenLocation as OpenLocationOrigin,
|
|
9
|
+
OpenLocationSuccessImpl as OpenLocationSuccessImplOrigin,
|
|
10
|
+
Uni as UniOrigin
|
|
11
|
+
} from './interface'
|
|
12
|
+
|
|
13
|
+
declare global {
|
|
14
|
+
type OpenLocationErrorCode = OpenLocationErrorCodeOrigin
|
|
15
|
+
type OpenLocationSuccess = OpenLocationSuccessOrigin
|
|
16
|
+
type OpenLocationFail = OpenLocationFailOrigin
|
|
17
|
+
type OpenLocationComplete = OpenLocationCompleteOrigin
|
|
18
|
+
type OpenLocationOptions = OpenLocationOptionsOrigin
|
|
19
|
+
type OpenLocation = OpenLocationOrigin
|
|
20
|
+
type OpenLocationSuccessImpl = OpenLocationSuccessImplOrigin
|
|
21
|
+
interface Uni extends UniOrigin { }
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 错误码
|
|
3
|
+
*/
|
|
4
|
+
export type OpenLocationErrorCode =
|
|
5
|
+
/**
|
|
6
|
+
* 框架内部错误
|
|
7
|
+
* @uniPlatform {
|
|
8
|
+
* "app": {
|
|
9
|
+
* "android": {
|
|
10
|
+
* "osVer": "5.0",
|
|
11
|
+
* "uniVer": "√",
|
|
12
|
+
* "unixVer": "5.09"
|
|
13
|
+
* },
|
|
14
|
+
* "ios": {
|
|
15
|
+
* "osVer": "12.0",
|
|
16
|
+
* "uniVer": "√",
|
|
17
|
+
* "unixVer": "5.09"
|
|
18
|
+
* },
|
|
19
|
+
* "harmony": {
|
|
20
|
+
* "osVer": "3.0",
|
|
21
|
+
* "uniVer": "4.23",
|
|
22
|
+
* "unixVer": "5.09"
|
|
23
|
+
* }
|
|
24
|
+
* },
|
|
25
|
+
* "web": {
|
|
26
|
+
* "uniVer": "√",
|
|
27
|
+
* "unixVer": "4.0"
|
|
28
|
+
* },
|
|
29
|
+
* "mp": {
|
|
30
|
+
* "weixin": {
|
|
31
|
+
* "uniVer": "x",
|
|
32
|
+
* "unixVer": "x"
|
|
33
|
+
* }
|
|
34
|
+
* }
|
|
35
|
+
* }
|
|
36
|
+
*/
|
|
37
|
+
4;
|
|
38
|
+
|
|
39
|
+
export interface OpenLocationSuccess {
|
|
40
|
+
errMsg : string
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
type OpenLocationSuccessCallback = (result : OpenLocationSuccess) => void
|
|
44
|
+
|
|
45
|
+
export interface OpenLocationFail extends IUniError {
|
|
46
|
+
errCode : OpenLocationErrorCode
|
|
47
|
+
}
|
|
48
|
+
type OpenLocationFailCallback = (result : OpenLocationFail) => void
|
|
49
|
+
|
|
50
|
+
export type OpenLocationComplete = any
|
|
51
|
+
type OpenLocationCompleteCallback = (result : OpenLocationComplete) => void
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* uni.openLocation函数参数定义
|
|
55
|
+
*/
|
|
56
|
+
export type OpenLocationOptions = {
|
|
57
|
+
/**
|
|
58
|
+
* 纬度,范围为-90~90,负数表示南纬,使用 gcj02 国测局坐标系
|
|
59
|
+
* @uniPlatform {
|
|
60
|
+
* "app": {
|
|
61
|
+
* "android": {
|
|
62
|
+
* "osVer": "5.0",
|
|
63
|
+
* "uniVer": "√",
|
|
64
|
+
* "unixVer": "5.09"
|
|
65
|
+
* },
|
|
66
|
+
* "ios": {
|
|
67
|
+
* "osVer": "12.0",
|
|
68
|
+
* "uniVer": "√",
|
|
69
|
+
* "unixVer": "5.09"
|
|
70
|
+
* },
|
|
71
|
+
* "harmony": {
|
|
72
|
+
* "osVer": "3.0",
|
|
73
|
+
* "uniVer": "4.23",
|
|
74
|
+
* "unixVer": "5.09"
|
|
75
|
+
* }
|
|
76
|
+
* },
|
|
77
|
+
* "web": {
|
|
78
|
+
* "uniVer": "√",
|
|
79
|
+
* "unixVer": "4.0"
|
|
80
|
+
* },
|
|
81
|
+
* "mp": {
|
|
82
|
+
* "weixin": {
|
|
83
|
+
* "uniVer": "√",
|
|
84
|
+
* "unixVer": "5.09"
|
|
85
|
+
* }
|
|
86
|
+
* }
|
|
87
|
+
* }
|
|
88
|
+
*/
|
|
89
|
+
latitude : number,
|
|
90
|
+
/**
|
|
91
|
+
* 经度,范围为-180~180,负数表示西经,使用 gcj02 国测局坐标系
|
|
92
|
+
* @uniPlatform {
|
|
93
|
+
* "app": {
|
|
94
|
+
* "android": {
|
|
95
|
+
* "osVer": "5.0",
|
|
96
|
+
* "uniVer": "√",
|
|
97
|
+
* "unixVer": "5.09"
|
|
98
|
+
* },
|
|
99
|
+
* "ios": {
|
|
100
|
+
* "osVer": "12.0",
|
|
101
|
+
* "uniVer": "√",
|
|
102
|
+
* "unixVer": "5.09"
|
|
103
|
+
* },
|
|
104
|
+
* "harmony": {
|
|
105
|
+
* "osVer": "3.0",
|
|
106
|
+
* "uniVer": "4.23",
|
|
107
|
+
* "unixVer": "5.09"
|
|
108
|
+
* }
|
|
109
|
+
* },
|
|
110
|
+
* "web": {
|
|
111
|
+
* "uniVer": "√",
|
|
112
|
+
* "unixVer": "4.0"
|
|
113
|
+
* },
|
|
114
|
+
* "mp": {
|
|
115
|
+
* "weixin": {
|
|
116
|
+
* "uniVer": "√",
|
|
117
|
+
* "unixVer": "5.09"
|
|
118
|
+
* }
|
|
119
|
+
* }
|
|
120
|
+
* }
|
|
121
|
+
*/
|
|
122
|
+
longitude : number,
|
|
123
|
+
/**
|
|
124
|
+
* 缩放比例,范围5~18,默认为18(微信小程序)
|
|
125
|
+
* @uniPlatform {
|
|
126
|
+
* "app": {
|
|
127
|
+
* "android": {
|
|
128
|
+
* "osVer": "5.0",
|
|
129
|
+
* "uniVer": "√",
|
|
130
|
+
* "unixVer": "5.09"
|
|
131
|
+
* },
|
|
132
|
+
* "ios": {
|
|
133
|
+
* "osVer": "12.0",
|
|
134
|
+
* "uniVer": "√",
|
|
135
|
+
* "unixVer": "5.09"
|
|
136
|
+
* },
|
|
137
|
+
* "harmony": {
|
|
138
|
+
* "osVer": "3.0",
|
|
139
|
+
* "uniVer": "4.23",
|
|
140
|
+
* "unixVer": "5.09"
|
|
141
|
+
* }
|
|
142
|
+
* },
|
|
143
|
+
* "web": {
|
|
144
|
+
* "uniVer": "√",
|
|
145
|
+
* "unixVer": "4.0"
|
|
146
|
+
* },
|
|
147
|
+
* "mp": {
|
|
148
|
+
* "weixin": {
|
|
149
|
+
* "uniVer": "√",
|
|
150
|
+
* "unixVer": "5.09"
|
|
151
|
+
* }
|
|
152
|
+
* }
|
|
153
|
+
* }
|
|
154
|
+
*/
|
|
155
|
+
scale ?: number | null,
|
|
156
|
+
/**
|
|
157
|
+
* 位置名
|
|
158
|
+
* @uniPlatform {
|
|
159
|
+
* "app": {
|
|
160
|
+
* "android": {
|
|
161
|
+
* "osVer": "5.0",
|
|
162
|
+
* "uniVer": "√",
|
|
163
|
+
* "unixVer": "5.09"
|
|
164
|
+
* },
|
|
165
|
+
* "ios": {
|
|
166
|
+
* "osVer": "12.0",
|
|
167
|
+
* "uniVer": "√",
|
|
168
|
+
* "unixVer": "5.09"
|
|
169
|
+
* },
|
|
170
|
+
* "harmony": {
|
|
171
|
+
* "osVer": "3.0",
|
|
172
|
+
* "uniVer": "4.23",
|
|
173
|
+
* "unixVer": "5.09"
|
|
174
|
+
* }
|
|
175
|
+
* },
|
|
176
|
+
* "web": {
|
|
177
|
+
* "uniVer": "√",
|
|
178
|
+
* "unixVer": "4.0"
|
|
179
|
+
* },
|
|
180
|
+
* "mp": {
|
|
181
|
+
* "weixin": {
|
|
182
|
+
* "uniVer": "√",
|
|
183
|
+
* "unixVer": "5.09"
|
|
184
|
+
* }
|
|
185
|
+
* }
|
|
186
|
+
* }
|
|
187
|
+
*/
|
|
188
|
+
name ?: string | null,
|
|
189
|
+
/**
|
|
190
|
+
* 地址的详细说明
|
|
191
|
+
* @uniPlatform {
|
|
192
|
+
* "app": {
|
|
193
|
+
* "android": {
|
|
194
|
+
* "osVer": "5.0",
|
|
195
|
+
* "uniVer": "√",
|
|
196
|
+
* "unixVer": "5.09"
|
|
197
|
+
* },
|
|
198
|
+
* "ios": {
|
|
199
|
+
* "osVer": "12.0",
|
|
200
|
+
* "uniVer": "√",
|
|
201
|
+
* "unixVer": "5.09"
|
|
202
|
+
* },
|
|
203
|
+
* "harmony": {
|
|
204
|
+
* "osVer": "3.0",
|
|
205
|
+
* "uniVer": "4.23",
|
|
206
|
+
* "unixVer": "5.09"
|
|
207
|
+
* }
|
|
208
|
+
* },
|
|
209
|
+
* "web": {
|
|
210
|
+
* "uniVer": "√",
|
|
211
|
+
* "unixVer": "4.0"
|
|
212
|
+
* },
|
|
213
|
+
* "mp": {
|
|
214
|
+
* "weixin": {
|
|
215
|
+
* "uniVer": "√",
|
|
216
|
+
* "unixVer": "5.09"
|
|
217
|
+
* }
|
|
218
|
+
* }
|
|
219
|
+
* }
|
|
220
|
+
*/
|
|
221
|
+
address ?: string | null,
|
|
222
|
+
/**
|
|
223
|
+
* 接口调用成功的回调函数
|
|
224
|
+
* @uniPlatform {
|
|
225
|
+
* "app": {
|
|
226
|
+
* "android": {
|
|
227
|
+
* "osVer": "5.0",
|
|
228
|
+
* "uniVer": "√",
|
|
229
|
+
* "unixVer": "5.09"
|
|
230
|
+
* },
|
|
231
|
+
* "ios": {
|
|
232
|
+
* "osVer": "12.0",
|
|
233
|
+
* "uniVer": "√",
|
|
234
|
+
* "unixVer": "5.09"
|
|
235
|
+
* },
|
|
236
|
+
* "harmony": {
|
|
237
|
+
* "osVer": "3.0",
|
|
238
|
+
* "uniVer": "4.23",
|
|
239
|
+
* "unixVer": "5.09"
|
|
240
|
+
* }
|
|
241
|
+
* },
|
|
242
|
+
* "web": {
|
|
243
|
+
* "uniVer": "√",
|
|
244
|
+
* "unixVer": "4.0"
|
|
245
|
+
* },
|
|
246
|
+
* "mp": {
|
|
247
|
+
* "weixin": {
|
|
248
|
+
* "uniVer": "√",
|
|
249
|
+
* "unixVer": "5.09"
|
|
250
|
+
* }
|
|
251
|
+
* }
|
|
252
|
+
* }
|
|
253
|
+
*/
|
|
254
|
+
success ?: OpenLocationSuccessCallback | null,
|
|
255
|
+
/**
|
|
256
|
+
* 接口调用失败的回调函数
|
|
257
|
+
* @uniPlatform {
|
|
258
|
+
* "app": {
|
|
259
|
+
* "android": {
|
|
260
|
+
* "osVer": "5.0",
|
|
261
|
+
* "uniVer": "√",
|
|
262
|
+
* "unixVer": "5.09"
|
|
263
|
+
* },
|
|
264
|
+
* "ios": {
|
|
265
|
+
* "osVer": "12.0",
|
|
266
|
+
* "uniVer": "√",
|
|
267
|
+
* "unixVer": "5.09"
|
|
268
|
+
* },
|
|
269
|
+
* "harmony": {
|
|
270
|
+
* "osVer": "3.0",
|
|
271
|
+
* "uniVer": "4.23",
|
|
272
|
+
* "unixVer": "5.09"
|
|
273
|
+
* }
|
|
274
|
+
* },
|
|
275
|
+
* "web": {
|
|
276
|
+
* "uniVer": "√",
|
|
277
|
+
* "unixVer": "4.0"
|
|
278
|
+
* },
|
|
279
|
+
* "mp": {
|
|
280
|
+
* "weixin": {
|
|
281
|
+
* "uniVer": "√",
|
|
282
|
+
* "unixVer": "5.09"
|
|
283
|
+
* }
|
|
284
|
+
* }
|
|
285
|
+
* }
|
|
286
|
+
*/
|
|
287
|
+
fail ?: OpenLocationFailCallback | null,
|
|
288
|
+
/**
|
|
289
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
290
|
+
* @uniPlatform {
|
|
291
|
+
* "app": {
|
|
292
|
+
* "android": {
|
|
293
|
+
* "osVer": "5.0",
|
|
294
|
+
* "uniVer": "√",
|
|
295
|
+
* "unixVer": "5.09"
|
|
296
|
+
* },
|
|
297
|
+
* "ios": {
|
|
298
|
+
* "osVer": "12.0",
|
|
299
|
+
* "uniVer": "√",
|
|
300
|
+
* "unixVer": "5.09"
|
|
301
|
+
* },
|
|
302
|
+
* "harmony": {
|
|
303
|
+
* "osVer": "3.0",
|
|
304
|
+
* "uniVer": "4.23",
|
|
305
|
+
* "unixVer": "5.09"
|
|
306
|
+
* }
|
|
307
|
+
* },
|
|
308
|
+
* "web": {
|
|
309
|
+
* "uniVer": "√",
|
|
310
|
+
* "unixVer": "4.0"
|
|
311
|
+
* },
|
|
312
|
+
* "mp": {
|
|
313
|
+
* "weixin": {
|
|
314
|
+
* "uniVer": "√",
|
|
315
|
+
* "unixVer": "5.09"
|
|
316
|
+
* }
|
|
317
|
+
* }
|
|
318
|
+
* }
|
|
319
|
+
*/
|
|
320
|
+
complete ?: OpenLocationCompleteCallback | null
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* 使用应用内置地图查看位置
|
|
325
|
+
*
|
|
326
|
+
* @param {OpenLocationOptions} options
|
|
327
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#openLocation
|
|
328
|
+
* @uniPlatform {
|
|
329
|
+
* "app": {
|
|
330
|
+
* "android": {
|
|
331
|
+
* "osVer": "5.0",
|
|
332
|
+
* "uniVer": "√",
|
|
333
|
+
* "unixVer": "5.09"
|
|
334
|
+
* },
|
|
335
|
+
* "ios": {
|
|
336
|
+
* "osVer": "12.0",
|
|
337
|
+
* "uniVer": "√",
|
|
338
|
+
* "unixVer": "5.09"
|
|
339
|
+
* },
|
|
340
|
+
* "harmony": {
|
|
341
|
+
* "osVer": "3.0",
|
|
342
|
+
* "uniVer": "4.23",
|
|
343
|
+
* "unixVer": "5.09"
|
|
344
|
+
* }
|
|
345
|
+
* },
|
|
346
|
+
* "web": {
|
|
347
|
+
* "uniVer": "√",
|
|
348
|
+
* "unixVer": "4.0"
|
|
349
|
+
* },
|
|
350
|
+
* "mp": {
|
|
351
|
+
* "weixin": {
|
|
352
|
+
* "uniVer": "√",
|
|
353
|
+
* "unixVer": "5.09"
|
|
354
|
+
* }
|
|
355
|
+
* }
|
|
356
|
+
* }
|
|
357
|
+
*/
|
|
358
|
+
export type OpenLocation = (options : OpenLocationOptions) => void;
|
|
359
|
+
|
|
360
|
+
export interface Uni {
|
|
361
|
+
/**
|
|
362
|
+
* @description 使用应用内置地图查看位置
|
|
363
|
+
* @example
|
|
364
|
+
* ```typescript
|
|
365
|
+
uni.openLocation({
|
|
366
|
+
latitude: 39.908823,
|
|
367
|
+
longitude: 116.39747,
|
|
368
|
+
success: (res) => {
|
|
369
|
+
console.log('res: ', res)
|
|
370
|
+
},
|
|
371
|
+
fail: (err) => {
|
|
372
|
+
console.log('err: ', err)
|
|
373
|
+
},
|
|
374
|
+
complete: (res) => {
|
|
375
|
+
console.log('complete: ', res)
|
|
376
|
+
}
|
|
377
|
+
});
|
|
378
|
+
* ```
|
|
379
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#openLocation
|
|
380
|
+
* @uniPlatform {
|
|
381
|
+
* "app": {
|
|
382
|
+
* "android": {
|
|
383
|
+
* "osVer": "5.0",
|
|
384
|
+
* "uniVer": "√",
|
|
385
|
+
* "unixVer": "5.09"
|
|
386
|
+
* },
|
|
387
|
+
* "ios": {
|
|
388
|
+
* "osVer": "12.0",
|
|
389
|
+
* "uniVer": "√",
|
|
390
|
+
* "unixVer": "5.09"
|
|
391
|
+
* },
|
|
392
|
+
* "harmony": {
|
|
393
|
+
* "osVer": "3.0",
|
|
394
|
+
* "uniVer": "4.23",
|
|
395
|
+
* "unixVer": "5.09"
|
|
396
|
+
* }
|
|
397
|
+
* },
|
|
398
|
+
* "web": {
|
|
399
|
+
* "uniVer": "√",
|
|
400
|
+
* "unixVer": "4.0"
|
|
401
|
+
* },
|
|
402
|
+
* "mp": {
|
|
403
|
+
* "weixin": {
|
|
404
|
+
* "uniVer": "√",
|
|
405
|
+
* "unixVer": "5.09",
|
|
406
|
+
* "hostVer": "1.9.6"
|
|
407
|
+
* }
|
|
408
|
+
* }
|
|
409
|
+
* }
|
|
410
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/location/wx.openLocation.html
|
|
411
|
+
*/
|
|
412
|
+
openLocation(options : OpenLocationOptions) : void;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export class OpenLocationSuccessImpl implements OpenLocationSuccess {
|
|
416
|
+
errMsg : string
|
|
417
|
+
constructor(errMsg : string = 'openLocation:ok') {
|
|
418
|
+
this.errMsg = errMsg
|
|
419
|
+
}
|
|
420
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
AddPhoneContact as AddPhoneContactOrigin,
|
|
4
|
+
AddPhoneContactSuccess as AddPhoneContactSuccessOrigin,
|
|
5
|
+
AddPhoneContactSuccessCallback as AddPhoneContactSuccessCallbackOrigin,
|
|
6
|
+
AddPhoneContactErrorCode as AddPhoneContactErrorCodeOrigin,
|
|
7
|
+
IAddPhoneContactFail as IAddPhoneContactFailOrigin,
|
|
8
|
+
AddPhoneContactFail as AddPhoneContactFailOrigin,
|
|
9
|
+
AddPhoneContactFailCallback as AddPhoneContactFailCallbackOrigin,
|
|
10
|
+
AddPhoneContactComplete as AddPhoneContactCompleteOrigin,
|
|
11
|
+
AddPhoneContactCompleteCallback as AddPhoneContactCompleteCallbackOrigin,
|
|
12
|
+
AddPhoneContactOptions as AddPhoneContactOptionsOrigin,
|
|
13
|
+
ChooseContact as ChooseContactOrigin,
|
|
14
|
+
ChooseContactSuccess as ChooseContactSuccessOrigin,
|
|
15
|
+
ChooseContactSuccessCallback as ChooseContactSuccessCallbackOrigin,
|
|
16
|
+
ChooseContactErrorCode as ChooseContactErrorCodeOrigin,
|
|
17
|
+
IChooseContactFail as IChooseContactFailOrigin,
|
|
18
|
+
ChooseContactFail as ChooseContactFailOrigin,
|
|
19
|
+
ChooseContactFailCallback as ChooseContactFailCallbackOrigin,
|
|
20
|
+
ChooseContactComplete as ChooseContactCompleteOrigin,
|
|
21
|
+
ChooseContactCompleteCallback as ChooseContactCompleteCallbackOrigin,
|
|
22
|
+
ChooseContactOptions as ChooseContactOptionsOrigin,
|
|
23
|
+
Uni as UniOrigin
|
|
24
|
+
} from './interface'
|
|
25
|
+
|
|
26
|
+
declare global {
|
|
27
|
+
type AddPhoneContact = AddPhoneContactOrigin
|
|
28
|
+
type AddPhoneContactSuccess = AddPhoneContactSuccessOrigin
|
|
29
|
+
type AddPhoneContactSuccessCallback = AddPhoneContactSuccessCallbackOrigin
|
|
30
|
+
type AddPhoneContactErrorCode = AddPhoneContactErrorCodeOrigin
|
|
31
|
+
type IAddPhoneContactFail = IAddPhoneContactFailOrigin
|
|
32
|
+
type AddPhoneContactFail = AddPhoneContactFailOrigin
|
|
33
|
+
type AddPhoneContactFailCallback = AddPhoneContactFailCallbackOrigin
|
|
34
|
+
type AddPhoneContactComplete = AddPhoneContactCompleteOrigin
|
|
35
|
+
type AddPhoneContactCompleteCallback = AddPhoneContactCompleteCallbackOrigin
|
|
36
|
+
type AddPhoneContactOptions = AddPhoneContactOptionsOrigin
|
|
37
|
+
type ChooseContact = ChooseContactOrigin
|
|
38
|
+
type ChooseContactSuccess = ChooseContactSuccessOrigin
|
|
39
|
+
type ChooseContactSuccessCallback = ChooseContactSuccessCallbackOrigin
|
|
40
|
+
type ChooseContactErrorCode = ChooseContactErrorCodeOrigin
|
|
41
|
+
type IChooseContactFail = IChooseContactFailOrigin
|
|
42
|
+
type ChooseContactFail = ChooseContactFailOrigin
|
|
43
|
+
type ChooseContactFailCallback = ChooseContactFailCallbackOrigin
|
|
44
|
+
type ChooseContactComplete = ChooseContactCompleteOrigin
|
|
45
|
+
type ChooseContactCompleteCallback = ChooseContactCompleteCallbackOrigin
|
|
46
|
+
type ChooseContactOptions = ChooseContactOptionsOrigin
|
|
47
|
+
interface Uni extends UniOrigin { }
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
export {
|
|
3
|
+
AddPhoneContact,
|
|
4
|
+
AddPhoneContactSuccess,
|
|
5
|
+
AddPhoneContactSuccessCallback,
|
|
6
|
+
AddPhoneContactErrorCode,
|
|
7
|
+
IAddPhoneContactFail,
|
|
8
|
+
AddPhoneContactFail,
|
|
9
|
+
AddPhoneContactFailCallback,
|
|
10
|
+
AddPhoneContactComplete,
|
|
11
|
+
AddPhoneContactCompleteCallback,
|
|
12
|
+
AddPhoneContactOptions,
|
|
13
|
+
ChooseContact,
|
|
14
|
+
ChooseContactSuccess,
|
|
15
|
+
ChooseContactSuccessCallback,
|
|
16
|
+
ChooseContactErrorCode,
|
|
17
|
+
IChooseContactFail,
|
|
18
|
+
ChooseContactFail,
|
|
19
|
+
ChooseContactFailCallback,
|
|
20
|
+
ChooseContactComplete,
|
|
21
|
+
ChooseContactCompleteCallback,
|
|
22
|
+
ChooseContactOptions,
|
|
23
|
+
} from './interface'
|
|
24
|
+
|