@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,27 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
VibrateShortType as VibrateShortTypeOrigin,
|
|
4
|
+
VibrateShortSuccess as VibrateShortSuccessOrigin,
|
|
5
|
+
VibrateLongSuccess as VibrateLongSuccessOrigin,
|
|
6
|
+
VibrateErrorCode as VibrateErrorCodeOrigin,
|
|
7
|
+
VibrateFail as VibrateFailOrigin,
|
|
8
|
+
VibrateShortOptions as VibrateShortOptionsOrigin,
|
|
9
|
+
VibrateLongOptions as VibrateLongOptionsOrigin,
|
|
10
|
+
VibrateShort as VibrateShortOrigin,
|
|
11
|
+
VibrateLong as VibrateLongOrigin,
|
|
12
|
+
Uni as UniOrigin
|
|
13
|
+
} from './interface'
|
|
14
|
+
|
|
15
|
+
declare global {
|
|
16
|
+
type VibrateShortType = VibrateShortTypeOrigin
|
|
17
|
+
type VibrateShortSuccess = VibrateShortSuccessOrigin
|
|
18
|
+
type VibrateLongSuccess = VibrateLongSuccessOrigin
|
|
19
|
+
type VibrateErrorCode = VibrateErrorCodeOrigin
|
|
20
|
+
type VibrateFail = VibrateFailOrigin
|
|
21
|
+
type VibrateShortOptions = VibrateShortOptionsOrigin
|
|
22
|
+
type VibrateLongOptions = VibrateLongOptionsOrigin
|
|
23
|
+
type VibrateShort = VibrateShortOrigin
|
|
24
|
+
type VibrateLong = VibrateLongOrigin
|
|
25
|
+
interface Uni extends UniOrigin { }
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export type VibrateShortType = "heavy" | "medium" | "light"
|
|
2
|
+
|
|
3
|
+
export type VibrateShortSuccess = {
|
|
4
|
+
errMsg : string
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export type VibrateLongSuccess = {
|
|
8
|
+
errMsg : string
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type VibrateErrorCode = 9001001 | 9001002 | 9001003
|
|
12
|
+
|
|
13
|
+
export interface VibrateFail extends IUniError {
|
|
14
|
+
errCode : VibrateErrorCode
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type VibrateShortSuccessCallback = (result : VibrateShortSuccess) => void
|
|
18
|
+
type VibrateLongSuccessCallback = (result : VibrateLongSuccess) => void
|
|
19
|
+
type VibrateFailCallback = (result : VibrateFail) => void
|
|
20
|
+
type VibrateComplete = any
|
|
21
|
+
type VibrateCompleteCallback = (result : VibrateComplete) => void
|
|
22
|
+
|
|
23
|
+
export type VibrateShortOptions = {
|
|
24
|
+
type : VibrateShortType,
|
|
25
|
+
success ?: VibrateShortSuccessCallback,
|
|
26
|
+
fail ?: VibrateFailCallback,
|
|
27
|
+
complete ?: VibrateCompleteCallback
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type VibrateLongOptions = {
|
|
31
|
+
success ?: VibrateLongSuccessCallback,
|
|
32
|
+
fail ?: VibrateFailCallback,
|
|
33
|
+
complete ?: VibrateCompleteCallback
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type VibrateShort = (options : VibrateShortOptions) => void
|
|
37
|
+
export type VibrateLong = (options : VibrateLongOptions) => void
|
|
38
|
+
|
|
39
|
+
export interface Uni {
|
|
40
|
+
/**
|
|
41
|
+
* 使设备发生较短时间的振动。
|
|
42
|
+
*
|
|
43
|
+
* @uniPlatform {
|
|
44
|
+
* "app": {
|
|
45
|
+
* "android": {
|
|
46
|
+
* "osVer": "5.0",
|
|
47
|
+
* "uniVer": "√",
|
|
48
|
+
* "unixVer": "5.08"
|
|
49
|
+
* },
|
|
50
|
+
* "ios": {
|
|
51
|
+
* "osVer": "12.0",
|
|
52
|
+
* "uniVer": "√",
|
|
53
|
+
* "unixVer": "5.08"
|
|
54
|
+
* },
|
|
55
|
+
* "harmony": {
|
|
56
|
+
* "osVer": "3.0",
|
|
57
|
+
* "uniVer": "x",
|
|
58
|
+
* "unixVer": "5.08"
|
|
59
|
+
* }
|
|
60
|
+
* }
|
|
61
|
+
* }
|
|
62
|
+
*/
|
|
63
|
+
vibrateShort(options : VibrateShortOptions) : void
|
|
64
|
+
/**
|
|
65
|
+
* 使设备发生较长时间的振动。
|
|
66
|
+
*
|
|
67
|
+
* @uniPlatform {
|
|
68
|
+
* "app": {
|
|
69
|
+
* "android": {
|
|
70
|
+
* "osVer": "5.0",
|
|
71
|
+
* "uniVer": "√",
|
|
72
|
+
* "unixVer": "5.08"
|
|
73
|
+
* },
|
|
74
|
+
* "ios": {
|
|
75
|
+
* "osVer": "12.0",
|
|
76
|
+
* "uniVer": "√",
|
|
77
|
+
* "unixVer": "5.08"
|
|
78
|
+
* },
|
|
79
|
+
* "harmony": {
|
|
80
|
+
* "osVer": "3.0",
|
|
81
|
+
* "uniVer": "x",
|
|
82
|
+
* "unixVer": "5.08"
|
|
83
|
+
* }
|
|
84
|
+
* }
|
|
85
|
+
* }
|
|
86
|
+
*/
|
|
87
|
+
vibrateLong(options : VibrateLongOptions) : void
|
|
88
|
+
}
|
|
@@ -5,7 +5,8 @@ export type WebViewProgressStyles = {
|
|
|
5
5
|
export type WebViewStyles = {
|
|
6
6
|
progress : WebViewProgressStyles | boolean
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
|
|
9
10
|
export type UniWebviewContextLoadDataOptions = {
|
|
10
11
|
/**
|
|
11
12
|
* 要加载的内容,编码后的字符串
|
|
@@ -106,8 +107,11 @@ export type UniWebviewContextLoadDataOptions = {
|
|
|
106
107
|
*/
|
|
107
108
|
encoding ?: string | null
|
|
108
109
|
}
|
|
109
|
-
|
|
110
|
+
|
|
111
|
+
// TODO: 以下写法 iOS 会被编译为typealias, 但编译后的swift源码没有别名相对应的uts逻辑代码(比如:UniWebviewContextLoadDataOptionsJSONObject)
|
|
112
|
+
// iOS 暂时先增加条件编译
|
|
110
113
|
export type UniWebViewContextLoadDataOptions = UniWebviewContextLoadDataOptions
|
|
114
|
+
|
|
111
115
|
|
|
112
116
|
export type UniWebViewElementLoadDataOptions = {
|
|
113
117
|
/**
|
|
@@ -379,11 +383,7 @@ export interface WebviewContext {
|
|
|
379
383
|
* }
|
|
380
384
|
* }
|
|
381
385
|
*/
|
|
382
|
-
|
|
383
|
-
|
|
384
386
|
loadData(options : UniWebViewContextLoadDataOptions) : void
|
|
385
|
-
|
|
386
|
-
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
export interface WebViewContext extends WebviewContext {
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
/// <reference path='./lib/uni-canvas/utssdk/global.d.ts' />
|
|
4
4
|
/// <reference path='./lib/uni-locale/utssdk/global.d.ts' />
|
|
5
5
|
/// <reference path='./lib/uni-accelerometer/utssdk/global.d.ts' />
|
|
6
|
-
/// <reference path='./lib/uni-memory/utssdk/global.d.ts' />
|
|
7
6
|
/// <reference path='./lib/uni-preloadPage/utssdk/global.d.ts' />
|
|
8
7
|
/// <reference path='./lib/uni-createMediaQueryObserver/utssdk/global.d.ts' />
|
|
9
8
|
/// <reference path='./lib/uni-__f__/utssdk/global.d.ts' />
|
|
@@ -3,6 +3,5 @@ export * from './lib/uni-compass/utssdk/index'
|
|
|
3
3
|
export * from './lib/uni-canvas/utssdk/index'
|
|
4
4
|
export * from './lib/uni-locale/utssdk/index'
|
|
5
5
|
export * from './lib/uni-accelerometer/utssdk/index'
|
|
6
|
-
export * from './lib/uni-memory/utssdk/index'
|
|
7
6
|
export * from './lib/uni-preloadPage/utssdk/index'
|
|
8
7
|
export * from './lib/uni-createMediaQueryObserver/utssdk/index'
|
package/types/vue/LifeCycle.d.ts
CHANGED
|
@@ -496,7 +496,7 @@ type OnPageScroll = (options: OnPageScrollOptions) => void
|
|
|
496
496
|
* "osVer": "3.0",
|
|
497
497
|
* "uniVer": "4.23",
|
|
498
498
|
* "unixVer": "4.61",
|
|
499
|
-
* "unixVaporVer": "
|
|
499
|
+
* "unixVaporVer": "5.09"
|
|
500
500
|
* }
|
|
501
501
|
* },
|
|
502
502
|
* "mp": {
|
|
@@ -571,7 +571,7 @@ type OnReachBottom = () => void
|
|
|
571
571
|
* "osVer": "3.0",
|
|
572
572
|
* "uniVer": "4.23",
|
|
573
573
|
* "unixVer": "4.61",
|
|
574
|
-
* "unixVaporVer": "
|
|
574
|
+
* "unixVaporVer": "5.09"
|
|
575
575
|
* }
|
|
576
576
|
* },
|
|
577
577
|
* "mp": {
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnAccelerometerChangeCallback as OnAccelerometerChangeCallbackOrigin, OnAccelerometerChange as OnAccelerometerChangeOrigin, OffAccelerometerChange as OffAccelerometerChangeOrigin, StartAccelerometerOptions as StartAccelerometerOptionsOrigin, StartAccelerometer as StartAccelerometerOrigin, StopAccelerometerOptions as StopAccelerometerOptionsOrigin, StopAccelerometer as StopAccelerometerOrigin, Uni as UniOrigin } from "./interface"
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
type OnAccelerometerChangeCallback = OnAccelerometerChangeCallbackOrigin
|
|
5
|
-
type OnAccelerometerChange = OnAccelerometerChangeOrigin
|
|
6
|
-
type OffAccelerometerChange = OffAccelerometerChangeOrigin
|
|
7
|
-
type StartAccelerometerOptions = StartAccelerometerOptionsOrigin
|
|
8
|
-
type StartAccelerometer = StartAccelerometerOrigin
|
|
9
|
-
type StopAccelerometerOptions = StopAccelerometerOptionsOrigin
|
|
10
|
-
type StopAccelerometer = StopAccelerometerOrigin
|
|
11
|
-
interface Uni extends UniOrigin { }
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { OnAccelerometerChangeCallback, OnAccelerometerChange, OffAccelerometerChange, StartAccelerometerOptions, StartAccelerometer, StopAccelerometerOptions, StopAccelerometer } from "./interface"
|