@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
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
export type GyroscopeInterval =
|
|
2
|
+
'game' |
|
|
3
|
+
'ui' |
|
|
4
|
+
'normal'
|
|
5
|
+
|
|
6
|
+
export type GyroscopeErrorCode =
|
|
7
|
+
601 |
|
|
8
|
+
602 |
|
|
9
|
+
603 |
|
|
10
|
+
604 |
|
|
11
|
+
701 |
|
|
12
|
+
702 |
|
|
13
|
+
703 |
|
|
14
|
+
704 |
|
|
15
|
+
801 |
|
|
16
|
+
802 |
|
|
17
|
+
803 |
|
|
18
|
+
804 |
|
|
19
|
+
501 |
|
|
20
|
+
502 |
|
|
21
|
+
503 |
|
|
22
|
+
504 |
|
|
23
|
+
901
|
|
24
|
+
|
|
25
|
+
export interface IGyroscopeError extends IUniError {
|
|
26
|
+
errCode : GyroscopeErrorCode
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type GyroscopeSuccess = {
|
|
30
|
+
errMsg ?: string | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type GyroscopeFail = IGyroscopeError
|
|
34
|
+
export type GyroscopeSuccessCallback = (res : GyroscopeSuccess) => void
|
|
35
|
+
export type GyroscopeFailCallback = (res : GyroscopeFail) => void
|
|
36
|
+
export type GyroscopeComplete = GyroscopeSuccess | GyroscopeFail
|
|
37
|
+
export type GyroscopeCompleteCallback = (res : GyroscopeComplete) => void
|
|
38
|
+
|
|
39
|
+
export type StartGyroscopeOptions = {
|
|
40
|
+
interval ?: GyroscopeInterval | null
|
|
41
|
+
success ?: GyroscopeSuccessCallback | null
|
|
42
|
+
fail ?: GyroscopeFailCallback | null
|
|
43
|
+
complete ?: GyroscopeCompleteCallback | null
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type StopGyroscopeOptions = {
|
|
47
|
+
success ?: GyroscopeSuccessCallback | null
|
|
48
|
+
fail ?: GyroscopeFailCallback | null
|
|
49
|
+
complete ?: GyroscopeCompleteCallback | null
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type OnGyroscopeChangeCallbackResult = {
|
|
53
|
+
x : number
|
|
54
|
+
y : number
|
|
55
|
+
z : number
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type OnGyroscopeChangeCallback = (result : OnGyroscopeChangeCallbackResult) => void
|
|
59
|
+
|
|
60
|
+
export interface Uni {
|
|
61
|
+
/**
|
|
62
|
+
* 开始监听陀螺仪数据。
|
|
63
|
+
*
|
|
64
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#startgyroscope
|
|
65
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#startgyroscope
|
|
66
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/gyroscope.html#startgyroscope
|
|
67
|
+
*
|
|
68
|
+
* @uniPlatform {
|
|
69
|
+
* "app": {
|
|
70
|
+
* "android": {
|
|
71
|
+
* "osVer": "5.0",
|
|
72
|
+
* "uniVer": "x",
|
|
73
|
+
* "unixVer": "5.08"
|
|
74
|
+
* },
|
|
75
|
+
* "ios": {
|
|
76
|
+
* "osVer": "12.0",
|
|
77
|
+
* "uniVer": "x",
|
|
78
|
+
* "unixVer": "5.08"
|
|
79
|
+
* },
|
|
80
|
+
* "harmony": {
|
|
81
|
+
* "osVer": "5.0.0",
|
|
82
|
+
* "uniVer": "x",
|
|
83
|
+
* "unixVer": "5.08",
|
|
84
|
+
* "unixvVer": "5.08"
|
|
85
|
+
* }
|
|
86
|
+
* },
|
|
87
|
+
* "web": {
|
|
88
|
+
* "uniVer": "x",
|
|
89
|
+
* "unixVer": "x"
|
|
90
|
+
* },
|
|
91
|
+
* "mp":{
|
|
92
|
+
* "weixin": {
|
|
93
|
+
* "hostVer": "2.3.0",
|
|
94
|
+
* "uniVer": "√",
|
|
95
|
+
* "unixVer": "4.41"
|
|
96
|
+
* },
|
|
97
|
+
* "alipay": {
|
|
98
|
+
* "hostVer": "x",
|
|
99
|
+
* "uniVer": "x",
|
|
100
|
+
* "unixVer": "x"
|
|
101
|
+
* },
|
|
102
|
+
* "baidu": {
|
|
103
|
+
* "hostVer": "x",
|
|
104
|
+
* "uniVer": "x",
|
|
105
|
+
* "unixVer": "x"
|
|
106
|
+
* },
|
|
107
|
+
* "toutiao": {
|
|
108
|
+
* "hostVer": "x",
|
|
109
|
+
* "uniVer": "x",
|
|
110
|
+
* "unixVer": "x"
|
|
111
|
+
* },
|
|
112
|
+
* "lark": {
|
|
113
|
+
* "hostVer": "x",
|
|
114
|
+
* "uniVer": "x",
|
|
115
|
+
* "unixVer": "x"
|
|
116
|
+
* },
|
|
117
|
+
* "qq": {
|
|
118
|
+
* "hostVer": "x",
|
|
119
|
+
* "uniVer": "x",
|
|
120
|
+
* "unixVer": "x"
|
|
121
|
+
* },
|
|
122
|
+
* "kuaishou": {
|
|
123
|
+
* "hostVer": "x",
|
|
124
|
+
* "uniVer": "x",
|
|
125
|
+
* "unixVer": "x"
|
|
126
|
+
* },
|
|
127
|
+
* "jd": {
|
|
128
|
+
* "hostVer": "x",
|
|
129
|
+
* "uniVer": "x",
|
|
130
|
+
* "unixVer": "x"
|
|
131
|
+
* }
|
|
132
|
+
* }
|
|
133
|
+
* }
|
|
134
|
+
*/
|
|
135
|
+
startGyroscope(options ?: StartGyroscopeOptions | null) : void;
|
|
136
|
+
/**
|
|
137
|
+
* 停止监听陀螺仪数据变化事件。
|
|
138
|
+
*
|
|
139
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#stopgyroscope
|
|
140
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#stopgyroscope
|
|
141
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/gyroscope.html#stopgyroscope
|
|
142
|
+
*
|
|
143
|
+
* @uniPlatform {
|
|
144
|
+
* "app": {
|
|
145
|
+
* "android": {
|
|
146
|
+
* "osVer": "5.0",
|
|
147
|
+
* "uniVer": "x",
|
|
148
|
+
* "unixVer": "5.08"
|
|
149
|
+
* },
|
|
150
|
+
* "ios": {
|
|
151
|
+
* "osVer": "12.0",
|
|
152
|
+
* "uniVer": "x",
|
|
153
|
+
* "unixVer": "5.08"
|
|
154
|
+
* },
|
|
155
|
+
* "harmony": {
|
|
156
|
+
* "osVer": "5.0.0",
|
|
157
|
+
* "uniVer": "x",
|
|
158
|
+
* "unixVer": "5.08",
|
|
159
|
+
* "unixvVer": "5.08"
|
|
160
|
+
* }
|
|
161
|
+
* },
|
|
162
|
+
* "web": {
|
|
163
|
+
* "uniVer": "x",
|
|
164
|
+
* "unixVer": "x"
|
|
165
|
+
* },
|
|
166
|
+
* "mp":{
|
|
167
|
+
* "weixin": {
|
|
168
|
+
* "hostVer": "2.3.0",
|
|
169
|
+
* "uniVer": "√",
|
|
170
|
+
* "unixVer": "4.41"
|
|
171
|
+
* },
|
|
172
|
+
* "alipay": {
|
|
173
|
+
* "hostVer": "x",
|
|
174
|
+
* "uniVer": "x",
|
|
175
|
+
* "unixVer": "x"
|
|
176
|
+
* },
|
|
177
|
+
* "baidu": {
|
|
178
|
+
* "hostVer": "x",
|
|
179
|
+
* "uniVer": "x",
|
|
180
|
+
* "unixVer": "x"
|
|
181
|
+
* },
|
|
182
|
+
* "toutiao": {
|
|
183
|
+
* "hostVer": "x",
|
|
184
|
+
* "uniVer": "x",
|
|
185
|
+
* "unixVer": "x"
|
|
186
|
+
* },
|
|
187
|
+
* "lark": {
|
|
188
|
+
* "hostVer": "x",
|
|
189
|
+
* "uniVer": "x",
|
|
190
|
+
* "unixVer": "x"
|
|
191
|
+
* },
|
|
192
|
+
* "qq": {
|
|
193
|
+
* "hostVer": "x",
|
|
194
|
+
* "uniVer": "x",
|
|
195
|
+
* "unixVer": "x"
|
|
196
|
+
* },
|
|
197
|
+
* "kuaishou": {
|
|
198
|
+
* "hostVer": "x",
|
|
199
|
+
* "uniVer": "x",
|
|
200
|
+
* "unixVer": "x"
|
|
201
|
+
* },
|
|
202
|
+
* "jd": {
|
|
203
|
+
* "hostVer": "x",
|
|
204
|
+
* "uniVer": "x",
|
|
205
|
+
* "unixVer": "x"
|
|
206
|
+
* }
|
|
207
|
+
* }
|
|
208
|
+
* }
|
|
209
|
+
*/
|
|
210
|
+
stopGyroscope(options ?: StopGyroscopeOptions | null) : void;
|
|
211
|
+
/**
|
|
212
|
+
* 监听陀螺仪数据变化事件
|
|
213
|
+
* 支付宝小程序频率为 500ms/次,微信小程序频率根据 uni.startGyroscope 的 interval 参数设置。事件只有在调用 uni.startGyroscope 后才会开始监听,使用 uni.stopGyroscope 可以停止监听。
|
|
214
|
+
*
|
|
215
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#ongyroscopechange
|
|
216
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#ongyroscopechange
|
|
217
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/gyroscope.html#ongyroscopechange
|
|
218
|
+
*
|
|
219
|
+
* @uniPlatform {
|
|
220
|
+
* "app": {
|
|
221
|
+
* "android": {
|
|
222
|
+
* "osVer": "5.0",
|
|
223
|
+
* "uniVer": "x",
|
|
224
|
+
* "unixVer": "5.08"
|
|
225
|
+
* },
|
|
226
|
+
* "ios": {
|
|
227
|
+
* "osVer": "12.0",
|
|
228
|
+
* "uniVer": "x",
|
|
229
|
+
* "unixVer": "5.08"
|
|
230
|
+
* },
|
|
231
|
+
* "harmony": {
|
|
232
|
+
* "osVer": "5.0.0",
|
|
233
|
+
* "uniVer": "x",
|
|
234
|
+
* "unixVer": "5.08",
|
|
235
|
+
* "unixvVer": "5.08"
|
|
236
|
+
* }
|
|
237
|
+
* },
|
|
238
|
+
* "web": {
|
|
239
|
+
* "uniVer": "x",
|
|
240
|
+
* "unixVer": "x"
|
|
241
|
+
* },
|
|
242
|
+
* "mp":{
|
|
243
|
+
* "weixin": {
|
|
244
|
+
* "hostVer": "2.3.0",
|
|
245
|
+
* "uniVer": "√",
|
|
246
|
+
* "unixVer": "4.41"
|
|
247
|
+
* },
|
|
248
|
+
* "alipay": {
|
|
249
|
+
* "hostVer": "x",
|
|
250
|
+
* "uniVer": "x",
|
|
251
|
+
* "unixVer": "x"
|
|
252
|
+
* },
|
|
253
|
+
* "baidu": {
|
|
254
|
+
* "hostVer": "x",
|
|
255
|
+
* "uniVer": "x",
|
|
256
|
+
* "unixVer": "x"
|
|
257
|
+
* },
|
|
258
|
+
* "toutiao": {
|
|
259
|
+
* "hostVer": "x",
|
|
260
|
+
* "uniVer": "x",
|
|
261
|
+
* "unixVer": "x"
|
|
262
|
+
* },
|
|
263
|
+
* "lark": {
|
|
264
|
+
* "hostVer": "x",
|
|
265
|
+
* "uniVer": "x",
|
|
266
|
+
* "unixVer": "x"
|
|
267
|
+
* },
|
|
268
|
+
* "qq": {
|
|
269
|
+
* "hostVer": "x",
|
|
270
|
+
* "uniVer": "x",
|
|
271
|
+
* "unixVer": "x"
|
|
272
|
+
* },
|
|
273
|
+
* "kuaishou": {
|
|
274
|
+
* "hostVer": "x",
|
|
275
|
+
* "uniVer": "x",
|
|
276
|
+
* "unixVer": "x"
|
|
277
|
+
* },
|
|
278
|
+
* "jd": {
|
|
279
|
+
* "hostVer": "x",
|
|
280
|
+
* "uniVer": "x",
|
|
281
|
+
* "unixVer": "x"
|
|
282
|
+
* }
|
|
283
|
+
* }
|
|
284
|
+
* }
|
|
285
|
+
*/
|
|
286
|
+
onGyroscopeChange(callback : OnGyroscopeChangeCallback) : void;
|
|
287
|
+
/**
|
|
288
|
+
* 停止监听陀螺仪数据变化事件
|
|
289
|
+
*
|
|
290
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#offgyroscopechange
|
|
291
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/gyroscope.html#offgyroscopechange
|
|
292
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/gyroscope.html#offgyroscopechange
|
|
293
|
+
*
|
|
294
|
+
* @uniPlatform {
|
|
295
|
+
* "app": {
|
|
296
|
+
* "android": {
|
|
297
|
+
* "osVer": "5.0",
|
|
298
|
+
* "uniVer": "x",
|
|
299
|
+
* "unixVer": "5.08"
|
|
300
|
+
* },
|
|
301
|
+
* "ios": {
|
|
302
|
+
* "osVer": "12.0",
|
|
303
|
+
* "uniVer": "x",
|
|
304
|
+
* "unixVer": "5.08"
|
|
305
|
+
* },
|
|
306
|
+
* "harmony": {
|
|
307
|
+
* "osVer": "5.0.0",
|
|
308
|
+
* "uniVer": "x",
|
|
309
|
+
* "unixVer": "5.08",
|
|
310
|
+
* "unixvVer": "5.08"
|
|
311
|
+
* }
|
|
312
|
+
* },
|
|
313
|
+
* "web": {
|
|
314
|
+
* "uniVer": "x",
|
|
315
|
+
* "unixVer": "x"
|
|
316
|
+
* },
|
|
317
|
+
* "mp":{
|
|
318
|
+
* "weixin": {
|
|
319
|
+
* "hostVer": "2.9.3",
|
|
320
|
+
* "uniVer": "√",
|
|
321
|
+
* "unixVer": "4.41"
|
|
322
|
+
* },
|
|
323
|
+
* "alipay": {
|
|
324
|
+
* "hostVer": "x",
|
|
325
|
+
* "uniVer": "x",
|
|
326
|
+
* "unixVer": "x"
|
|
327
|
+
* },
|
|
328
|
+
* "baidu": {
|
|
329
|
+
* "hostVer": "x",
|
|
330
|
+
* "uniVer": "x",
|
|
331
|
+
* "unixVer": "x"
|
|
332
|
+
* },
|
|
333
|
+
* "toutiao": {
|
|
334
|
+
* "hostVer": "x",
|
|
335
|
+
* "uniVer": "x",
|
|
336
|
+
* "unixVer": "x"
|
|
337
|
+
* },
|
|
338
|
+
* "lark": {
|
|
339
|
+
* "hostVer": "x",
|
|
340
|
+
* "uniVer": "x",
|
|
341
|
+
* "unixVer": "x"
|
|
342
|
+
* },
|
|
343
|
+
* "qq": {
|
|
344
|
+
* "hostVer": "x",
|
|
345
|
+
* "uniVer": "x",
|
|
346
|
+
* "unixVer": "x"
|
|
347
|
+
* },
|
|
348
|
+
* "kuaishou": {
|
|
349
|
+
* "hostVer": "x",
|
|
350
|
+
* "uniVer": "x",
|
|
351
|
+
* "unixVer": "x"
|
|
352
|
+
* },
|
|
353
|
+
* "jd": {
|
|
354
|
+
* "hostVer": "x",
|
|
355
|
+
* "uniVer": "x",
|
|
356
|
+
* "unixVer": "x"
|
|
357
|
+
* }
|
|
358
|
+
* }
|
|
359
|
+
* }
|
|
360
|
+
*/
|
|
361
|
+
offGyroscopeChange(callback ?: OnGyroscopeChangeCallback | null) : void;
|
|
362
|
+
}
|
|
@@ -197,9 +197,9 @@ export interface Uni {
|
|
|
197
197
|
* },
|
|
198
198
|
* "harmony": {
|
|
199
199
|
* "osVer": "5.0.0",
|
|
200
|
-
* "uniVer": "5.
|
|
201
|
-
* "unixVer": "5.
|
|
202
|
-
* "unixVaporVer": "5.
|
|
200
|
+
* "uniVer": "5.08",
|
|
201
|
+
* "unixVer": "5.08",
|
|
202
|
+
* "unixVaporVer": "5.08"
|
|
203
203
|
* }
|
|
204
204
|
* },
|
|
205
205
|
* "mp": {
|
|
@@ -271,9 +271,9 @@ export interface Uni {
|
|
|
271
271
|
* },
|
|
272
272
|
* "harmony": {
|
|
273
273
|
* "osVer": "5.0.0",
|
|
274
|
-
* "uniVer": "5.
|
|
275
|
-
* "unixVer": "5.
|
|
276
|
-
* "unixVaporVer": "5.
|
|
274
|
+
* "uniVer": "5.08",
|
|
275
|
+
* "unixVer": "5.08",
|
|
276
|
+
* "unixVaporVer": "5.08"
|
|
277
277
|
* }
|
|
278
278
|
* },
|
|
279
279
|
* "mp": {
|
|
@@ -5,73 +5,73 @@ export interface Uni {
|
|
|
5
5
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/make-phone-call.html#makephonecall
|
|
6
6
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/phone.html#makephonecall
|
|
7
7
|
* @uniPlatform {
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
8
|
+
* "app": {
|
|
9
|
+
* "android": {
|
|
10
|
+
* "osVer": "5.0",
|
|
11
|
+
* "uniVer": "√",
|
|
12
|
+
* "unixVer": "4.63"
|
|
13
|
+
* },
|
|
14
|
+
* "ios": {
|
|
15
|
+
* "osVer": "12.0",
|
|
16
|
+
* "uniVer": "√",
|
|
17
|
+
* "unixVer": "4.63",
|
|
18
|
+
* "unixUtsPlugin": "4.63"
|
|
19
|
+
* },
|
|
20
|
+
* "harmony": {
|
|
21
|
+
* "osVer": "3.0",
|
|
22
|
+
* "uniVer": "4.23",
|
|
23
|
+
* "unixVer": "4.61",
|
|
24
|
+
* "unixVaporVer": "5.0",
|
|
25
|
+
* "unixUtsPlugin": "4.61"
|
|
26
|
+
* }
|
|
27
|
+
* },
|
|
28
|
+
* "mp": {
|
|
29
|
+
* "weixin": {
|
|
30
|
+
* "hostVer": "√",
|
|
31
|
+
* "uniVer": "√",
|
|
32
|
+
* "unixVer": "4.41"
|
|
33
|
+
* },
|
|
34
|
+
* "alipay": {
|
|
35
|
+
* "hostVer": "√",
|
|
36
|
+
* "uniVer": "√",
|
|
37
|
+
* "unixVer": "x"
|
|
38
|
+
* },
|
|
39
|
+
* "baidu": {
|
|
40
|
+
* "hostVer": "√",
|
|
41
|
+
* "uniVer": "√",
|
|
42
|
+
* "unixVer": "x"
|
|
43
|
+
* },
|
|
44
|
+
* "toutiao": {
|
|
45
|
+
* "hostVer": "√",
|
|
46
|
+
* "uniVer": "√",
|
|
47
|
+
* "unixVer": "x"
|
|
48
|
+
* },
|
|
49
|
+
* "lark": {
|
|
50
|
+
* "hostVer": "√",
|
|
51
|
+
* "uniVer": "√",
|
|
52
|
+
* "unixVer": "√"
|
|
53
|
+
* },
|
|
54
|
+
* "qq": {
|
|
55
|
+
* "hostVer": "√",
|
|
56
|
+
* "uniVer": "√",
|
|
57
|
+
* "unixVer": "x"
|
|
58
|
+
* },
|
|
59
|
+
* "kuaishou": {
|
|
60
|
+
* "hostVer": "√",
|
|
61
|
+
* "uniVer": "√",
|
|
62
|
+
* "unixVer": "x"
|
|
63
|
+
* },
|
|
64
|
+
* "jd": {
|
|
65
|
+
* "hostVer": "√",
|
|
66
|
+
* "uniVer": "√",
|
|
67
|
+
* "unixVer": "x"
|
|
68
|
+
* }
|
|
69
|
+
* },
|
|
70
|
+
* "web": {
|
|
71
|
+
* "uniVer": "√",
|
|
72
|
+
* "unixVer": "4.0"
|
|
73
|
+
* }
|
|
74
|
+
* }
|
|
75
75
|
*/
|
|
76
76
|
makePhoneCall(options: MakePhoneCallOptions): void;
|
|
77
77
|
}
|
|
@@ -119,6 +119,7 @@ export type MakePhoneCallOptions = {
|
|
|
119
119
|
* "osVer": "3.0",
|
|
120
120
|
* "uniVer": "4.23",
|
|
121
121
|
* "unixVer": "4.61",
|
|
122
|
+
* "unixVaporVer": "5.0",
|
|
122
123
|
* "unixUtsPlugin": "4.61"
|
|
123
124
|
* }
|
|
124
125
|
* },
|
|
@@ -190,6 +191,7 @@ export type MakePhoneCallOptions = {
|
|
|
190
191
|
* "osVer": "3.0",
|
|
191
192
|
* "uniVer": "4.23",
|
|
192
193
|
* "unixVer": "4.61",
|
|
194
|
+
* "unixVaporVer": "5.0",
|
|
193
195
|
* "unixUtsPlugin": "4.61"
|
|
194
196
|
* }
|
|
195
197
|
* },
|
|
@@ -261,6 +263,7 @@ export type MakePhoneCallOptions = {
|
|
|
261
263
|
* "osVer": "3.0",
|
|
262
264
|
* "uniVer": "4.23",
|
|
263
265
|
* "unixVer": "4.61",
|
|
266
|
+
* "unixVaporVer": "5.0",
|
|
264
267
|
* "unixUtsPlugin": "4.61"
|
|
265
268
|
* }
|
|
266
269
|
* },
|
|
@@ -331,7 +334,8 @@ export type MakePhoneCallOptions = {
|
|
|
331
334
|
* "harmony": {
|
|
332
335
|
* "osVer": "3.0",
|
|
333
336
|
* "uniVer": "4.23",
|
|
334
|
-
* "unixVer": "4.61"
|
|
337
|
+
* "unixVer": "4.61",,
|
|
338
|
+
* "unixVaporVer": "5.0",
|
|
335
339
|
* "unixUtsPlugin": "4.61"
|
|
336
340
|
* }
|
|
337
341
|
* },
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
MemoryWarningCallbackResult as MemoryWarningCallbackResultOrigin,
|
|
4
|
+
MemoryWarningCallback as MemoryWarningCallbackOrigin,
|
|
5
|
+
OnMemoryWarning as OnMemoryWarningOrigin,
|
|
6
|
+
OffMemoryWarning as OffMemoryWarningOrigin,
|
|
7
|
+
MemoryWarningErrorCode as MemoryWarningErrorCodeOrigin,
|
|
8
|
+
MemoryWarningFail as MemoryWarningFailOrigin,
|
|
9
|
+
Uni as UniOrigin
|
|
10
|
+
} from './interface'
|
|
11
|
+
|
|
12
|
+
declare global {
|
|
13
|
+
type MemoryWarningCallbackResult = MemoryWarningCallbackResultOrigin
|
|
14
|
+
type MemoryWarningCallback = MemoryWarningCallbackOrigin
|
|
15
|
+
type OnMemoryWarning = OnMemoryWarningOrigin
|
|
16
|
+
type OffMemoryWarning = OffMemoryWarningOrigin
|
|
17
|
+
type MemoryWarningErrorCode = MemoryWarningErrorCodeOrigin
|
|
18
|
+
type MemoryWarningFail = MemoryWarningFailOrigin
|
|
19
|
+
interface Uni extends UniOrigin { }
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type MemoryWarningCallbackResult = {
|
|
2
|
+
level?: number | null
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export type MemoryWarningCallback = (result: MemoryWarningCallbackResult) => void
|
|
6
|
+
|
|
7
|
+
export type OnMemoryWarning = (callback: MemoryWarningCallback) => void
|
|
8
|
+
|
|
9
|
+
export type OffMemoryWarning = (callback: MemoryWarningCallback | null) => void
|
|
10
|
+
|
|
11
|
+
export type MemoryWarningErrorCode = 1100601 | 1100602
|
|
12
|
+
|
|
13
|
+
export interface MemoryWarningFail extends IUniError {
|
|
14
|
+
errCode: MemoryWarningErrorCode
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface Uni {
|
|
18
|
+
onMemoryWarning(callback: MemoryWarningCallback): void
|
|
19
|
+
offMemoryWarning(callback: MemoryWarningCallback | null): void
|
|
20
|
+
}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
ShowModalResult as ShowModalResultOrigin,
|
|
3
|
+
ShowModalSuccess as ShowModalSuccessOrigin,
|
|
5
4
|
ShowModalErrorCode as ShowModalErrorCodeOrigin,
|
|
6
|
-
UniShowModalFail as UniShowModalFailOrigin,
|
|
7
5
|
ShowModalFail as ShowModalFailOrigin,
|
|
6
|
+
ShowModalSuccessImpl as ShowModalSuccessImplOrigin,
|
|
8
7
|
ShowModalFailImpl as ShowModalFailImplOrigin,
|
|
9
8
|
ShowModalOptions as ShowModalOptionsOrigin,
|
|
10
9
|
ShowModal as ShowModalOrigin,
|
|
11
10
|
ModalPage as ModalPageOrigin,
|
|
12
|
-
|
|
13
|
-
HideModalResult as HideModalResultOrigin,
|
|
11
|
+
HideModalSuccess as HideModalSuccessOrigin,
|
|
14
12
|
HideModalErrorCode as HideModalErrorCodeOrigin,
|
|
15
|
-
UniHideModalFail as UniHideModalFailOrigin,
|
|
16
13
|
HideModalFail as HideModalFailOrigin,
|
|
14
|
+
HideModalSuccessImpl as HideModalSuccessImplOrigin,
|
|
17
15
|
HideModalFailImpl as HideModalFailImplOrigin,
|
|
18
16
|
HideModalOptions as HideModalOptionsOrigin,
|
|
19
17
|
HideModal as HideModalOrigin,
|
|
@@ -21,20 +19,18 @@
|
|
|
21
19
|
} from './interface'
|
|
22
20
|
|
|
23
21
|
declare global {
|
|
24
|
-
type
|
|
25
|
-
type ShowModalResult = ShowModalResultOrigin
|
|
22
|
+
type ShowModalSuccess = ShowModalSuccessOrigin
|
|
26
23
|
type ShowModalErrorCode = ShowModalErrorCodeOrigin
|
|
27
|
-
type UniShowModalFail = UniShowModalFailOrigin
|
|
28
24
|
type ShowModalFail = ShowModalFailOrigin
|
|
25
|
+
type ShowModalSuccessImpl = ShowModalSuccessImplOrigin
|
|
29
26
|
type ShowModalFailImpl = ShowModalFailImplOrigin
|
|
30
27
|
type ShowModalOptions = ShowModalOptionsOrigin
|
|
31
28
|
type ShowModal = ShowModalOrigin
|
|
32
29
|
type ModalPage = ModalPageOrigin
|
|
33
|
-
type
|
|
34
|
-
type HideModalResult = HideModalResultOrigin
|
|
30
|
+
type HideModalSuccess = HideModalSuccessOrigin
|
|
35
31
|
type HideModalErrorCode = HideModalErrorCodeOrigin
|
|
36
|
-
type UniHideModalFail = UniHideModalFailOrigin
|
|
37
32
|
type HideModalFail = HideModalFailOrigin
|
|
33
|
+
type HideModalSuccessImpl = HideModalSuccessImplOrigin
|
|
38
34
|
type HideModalFailImpl = HideModalFailImplOrigin
|
|
39
35
|
type HideModalOptions = HideModalOptionsOrigin
|
|
40
36
|
type HideModal = HideModalOrigin
|