@dcloudio/uni-app-x 0.7.121 → 0.7.123
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/dom2-internal/UniCommon.d.ts +7 -2
- package/types/dom2-internal/UniNativeDefines.d.ts +7 -2
- package/types/dom2-internal/UniTextLayout.d.ts +5 -0
- package/types/native/IUniElement.d.ts +253 -13
- package/types/native/UniAnimation.d.ts +63 -9
- package/types/page.d.ts +3 -3
- package/types/uni/uts-plugin-api/global.d.ts +8 -1
- package/types/uni/uts-plugin-api/index.d.ts +8 -1
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +430 -0
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +339 -1294
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +51 -0
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +25 -0
- package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +969 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +8 -559
- package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +418 -0
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +4 -2
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +2 -1
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +75 -23
- 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 +864 -110
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +154 -20
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +437 -0
- package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/interface.d.ts +178 -0
- 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-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-component/lib/uni-addPhoneContact → uts-plugin-api/lib/uni-phoneContact}/utssdk/interface.d.ts +359 -226
- 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/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +18 -6
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +49 -0
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +199 -0
- package/types/uni/uts-plugin-biz/global.d.ts +10 -0
- package/types/uni/uts-plugin-biz/index.d.ts +10 -0
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +874 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/global.d.ts +45 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/index.d.ts +22 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/interface.d.ts +732 -0
- package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-authentication/utssdk/global.d.ts +6 -0
- package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-authentication/utssdk/index.d.ts +3 -0
- package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-authentication/utssdk/interface.d.ts +387 -371
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +51 -0
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +25 -0
- package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +969 -0
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +418 -0
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +437 -0
- package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/interface.d.ts +178 -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 +359 -0
- package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
- package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
- package/types/uni/{uts-plugin-component → uts-plugin-biz}/lib/uni-screenBrightness/utssdk/interface.d.ts +216 -207
- 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 +49 -0
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +24 -0
- package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +201 -0
- package/types/uni/uts-plugin-component/global.d.ts +23 -105
- package/types/uni/uts-plugin-component/index.d.ts +23 -105
- package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/interface.d.ts +15 -4
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/interface.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-page-container-global → uni-form-form-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-getElementById → uni-form-label-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-base64ToArrayBuffer → uni-form-picker-view-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-input → uni-form-radio-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/interface.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/{uni-arrayBufferToBase64 → uni-form-radio-group-global}/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/interface.d.ts +18 -0
- package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/interface.d.ts +7 -0
- package/types/vue/LifeCycle.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -1767
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +0 -1673
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +0 -79
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +0 -79
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +0 -55
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +0 -1330
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +0 -978
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +0 -978
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -423
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +0 -499
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +0 -45
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +0 -22
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +0 -217
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -3379
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +0 -153
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +0 -19
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +0 -61
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +0 -560
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +0 -15
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +0 -7
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -214
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +0 -23
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +0 -158
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -2303
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +0 -41
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +0 -20
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +0 -909
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +0 -8
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +0 -338
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +0 -147
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +0 -81
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +0 -40
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +0 -397
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +0 -151
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +0 -75
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +0 -6428
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +0 -37
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +0 -6
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +0 -620
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +0 -15
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +0 -7
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +0 -2220
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -8
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -1406
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +0 -15
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +0 -7
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +0 -1774
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +0 -83
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +0 -6
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +0 -833
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +0 -6
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +0 -836
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -736
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +0 -420
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +0 -23
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +0 -199
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +0 -37
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +0 -18
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +0 -757
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -6084
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +0 -6
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +0 -508
- package/types/uni/uts-plugin-component/lib/uni-input/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-input/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +0 -125
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +0 -8
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +0 -171
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +0 -45
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +0 -22
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +0 -693
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +0 -603
- package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/interface.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +0 -61
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +0 -30
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +0 -3443
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +0 -3
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +0 -3
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +0 -392
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +0 -157
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +0 -78
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +0 -5245
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +0 -39
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +0 -19
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +0 -1743
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +0 -69
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +0 -34
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +0 -1047
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +0 -109
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +0 -54
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +0 -4462
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +0 -71
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +0 -35
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +0 -3031
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +0 -1
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +0 -17
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +0 -48
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +0 -256
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +0 -823
- package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +0 -618
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +0 -856
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +0 -3
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +0 -1
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +0 -47
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +0 -23
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +0 -520
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +0 -31
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +0 -15
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +0 -568
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +0 -33
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +0 -16
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +0 -1693
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +0 -191
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +0 -2999
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +0 -713
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +0 -59
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +0 -2731
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +0 -81
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +0 -25
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +0 -12
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +0 -429
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +0 -41
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +0 -20
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +0 -1192
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +0 -13
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +0 -722
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +0 -55
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +0 -27
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +0 -1617
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +0 -10
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +0 -330
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +0 -79
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +0 -39
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +0 -1030
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +0 -149
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +0 -74
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +0 -1221
- package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/index.d.ts +0 -5
- package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +0 -53
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +0 -26
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +0 -1141
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -47
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -23
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +0 -926
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +0 -113
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +0 -56
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +0 -1661
- package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/global.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/index.d.ts +0 -14
- package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +0 -452
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +0 -59
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +0 -29
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +0 -1939
- 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/global.d.ts +0 -25
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +0 -11
- 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/interface.d.ts +0 -253
- /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/interface.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/global.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/index.d.ts +0 -0
- /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/interface.d.ts +0 -0
|
@@ -85,75 +85,76 @@ export interface Uni {
|
|
|
85
85
|
* 获取隐私协议状态
|
|
86
86
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#getprivacysetting
|
|
87
87
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/privacy.html#getprivacysetting
|
|
88
|
-
* @uniPlatform
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
88
|
+
* @uniPlatform
|
|
89
|
+
{
|
|
90
|
+
"app": {
|
|
91
|
+
"android": {
|
|
92
|
+
"osVer": "5.0",
|
|
93
|
+
"uniVer": "4.31",
|
|
94
|
+
"uniUtsPlugin": "4.31",
|
|
95
|
+
"unixVer": "4.31"
|
|
96
|
+
},
|
|
97
|
+
"ios": {
|
|
98
|
+
"osVer": "12.0",
|
|
99
|
+
"uniVer": "4.31",
|
|
100
|
+
"uniUtsPlugin": "4.31",
|
|
101
|
+
"unixVer": "4.31",
|
|
102
|
+
"unixUtsPlugin": "4.31"
|
|
103
|
+
},
|
|
104
|
+
"harmony": {
|
|
105
|
+
"osVer": "5.0",
|
|
106
|
+
"uniVer": "x",
|
|
107
|
+
"unixVer": "4.61",
|
|
108
|
+
"unixVaporVer": "5.0"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"mp": {
|
|
112
|
+
"weixin": {
|
|
113
|
+
"hostVer": "√",
|
|
114
|
+
"uniVer": "√",
|
|
115
|
+
"unixVer": "4.41"
|
|
116
|
+
},
|
|
117
|
+
"alipay": {
|
|
118
|
+
"hostVer": "√",
|
|
119
|
+
"uniVer": "√",
|
|
120
|
+
"unixVer": "x"
|
|
121
|
+
},
|
|
122
|
+
"baidu": {
|
|
123
|
+
"hostVer": "√",
|
|
124
|
+
"uniVer": "√",
|
|
125
|
+
"unixVer": "x"
|
|
126
|
+
},
|
|
127
|
+
"toutiao": {
|
|
128
|
+
"hostVer": "√",
|
|
129
|
+
"uniVer": "√",
|
|
130
|
+
"unixVer": "x"
|
|
131
|
+
},
|
|
132
|
+
"lark": {
|
|
133
|
+
"hostVer": "√",
|
|
134
|
+
"uniVer": "√",
|
|
135
|
+
"unixVer": "x"
|
|
136
|
+
},
|
|
137
|
+
"qq": {
|
|
138
|
+
"hostVer": "√",
|
|
139
|
+
"uniVer": "√",
|
|
140
|
+
"unixVer": "x"
|
|
141
|
+
},
|
|
142
|
+
"kuaishou": {
|
|
143
|
+
"hostVer": "√",
|
|
144
|
+
"uniVer": "√",
|
|
145
|
+
"unixVer": "x"
|
|
146
|
+
},
|
|
147
|
+
"jd": {
|
|
148
|
+
"hostVer": "√",
|
|
149
|
+
"uniVer": "√",
|
|
150
|
+
"unixVer": "x"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"web": {
|
|
154
|
+
"uniVer": "x",
|
|
155
|
+
"unixVer": "x"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
157
158
|
* @example
|
|
158
159
|
```typescript
|
|
159
160
|
uni.getPrivacySetting({
|
|
@@ -167,9 +168,8 @@ export interface Uni {
|
|
|
167
168
|
console.log('complete')
|
|
168
169
|
}
|
|
169
170
|
})
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
*/
|
|
171
|
+
```
|
|
172
|
+
*/
|
|
173
173
|
getPrivacySetting(options: GetPrivacySettingOptions): void
|
|
174
174
|
|
|
175
175
|
/**
|
|
@@ -209,7 +209,14 @@ export interface Uni {
|
|
|
209
209
|
uni.resetPrivacyAuthorization()
|
|
210
210
|
```
|
|
211
211
|
*/
|
|
212
|
-
resetPrivacyAuthorization(): void
|
|
212
|
+
resetPrivacyAuthorization(): void
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* 设置隐私协议状态为同意
|
|
216
|
+
* @internal
|
|
217
|
+
*
|
|
218
|
+
*/
|
|
219
|
+
agreePrivacyAuthorization(): void
|
|
213
220
|
}
|
|
214
221
|
|
|
215
222
|
export type OnPrivacyAuthorizationChange = (callback: OnPrivacyAuthorizationChangeCallback) => number
|
|
@@ -258,7 +265,8 @@ export type GetPrivacySetting = (options: GetPrivacySettingOptions) => void
|
|
|
258
265
|
export type GetPrivacySettingSuccessCallback = (result: GetPrivacySettingSuccessResult) => void;
|
|
259
266
|
export type GetPrivacySettingFailCallback = (result: any) => void;
|
|
260
267
|
export type GetPrivacySettingCompleteCallback = (result: any) => void;
|
|
261
|
-
export type ResetPrivacyAuthorization = () => void
|
|
268
|
+
export type ResetPrivacyAuthorization = () => void;
|
|
269
|
+
export type AgreePrivacyAuthorization = () => void;
|
|
262
270
|
|
|
263
271
|
export type GetPrivacySettingSuccessResult = {
|
|
264
272
|
/**
|
|
@@ -334,56 +342,7 @@ export type GetPrivacySettingSuccessResult = {
|
|
|
334
342
|
}
|
|
335
343
|
}
|
|
336
344
|
*/
|
|
337
|
-
needAuthorization: boolean
|
|
338
|
-
/**
|
|
339
|
-
* 隐私授权协议的名称
|
|
340
|
-
*
|
|
341
|
-
* @uniPlatform {
|
|
342
|
-
* "mp": {
|
|
343
|
-
* "weixin": {
|
|
344
|
-
* "hostVer": "√",
|
|
345
|
-
* "uniVer": "√",
|
|
346
|
-
* "unixVer": "4.41"
|
|
347
|
-
* },
|
|
348
|
-
* "alipay": {
|
|
349
|
-
* "hostVer": "-",
|
|
350
|
-
* "uniVer": "-",
|
|
351
|
-
* "unixVer": "-"
|
|
352
|
-
* },
|
|
353
|
-
* "baidu": {
|
|
354
|
-
* "hostVer": "-",
|
|
355
|
-
* "uniVer": "-",
|
|
356
|
-
* "unixVer": "-"
|
|
357
|
-
* },
|
|
358
|
-
* "toutiao": {
|
|
359
|
-
* "hostVer": "-",
|
|
360
|
-
* "uniVer": "-",
|
|
361
|
-
* "unixVer": "-"
|
|
362
|
-
* },
|
|
363
|
-
* "lark": {
|
|
364
|
-
* "hostVer": "-",
|
|
365
|
-
* "uniVer": "-",
|
|
366
|
-
* "unixVer": "-"
|
|
367
|
-
* },
|
|
368
|
-
* "qq": {
|
|
369
|
-
* "hostVer": "-",
|
|
370
|
-
* "uniVer": "-",
|
|
371
|
-
* "unixVer": "-"
|
|
372
|
-
* },
|
|
373
|
-
* "kuaishou": {
|
|
374
|
-
* "hostVer": "-",
|
|
375
|
-
* "uniVer": "-",
|
|
376
|
-
* "unixVer": "-"
|
|
377
|
-
* },
|
|
378
|
-
* "jd": {
|
|
379
|
-
* "hostVer": "-",
|
|
380
|
-
* "uniVer": "-",
|
|
381
|
-
* "unixVer": "-"
|
|
382
|
-
* }
|
|
383
|
-
* }
|
|
384
|
-
* }
|
|
385
|
-
*/
|
|
386
|
-
privacyContractName?: string | null;
|
|
345
|
+
needAuthorization: boolean
|
|
387
346
|
}
|
|
388
347
|
|
|
389
348
|
export type GetPrivacySettingOptions = {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SetScreenBrightness as SetScreenBrightnessOrigin,
|
|
4
4
|
SetScreenBrightnessSuccess as SetScreenBrightnessSuccessOrigin,
|
|
5
|
+
ISetScreenBrightnessFail as ISetScreenBrightnessFailOrigin,
|
|
5
6
|
SetScreenBrightnessSuccessCallback as SetScreenBrightnessSuccessCallbackOrigin,
|
|
6
7
|
SetScreenBrightnessFail as SetScreenBrightnessFailOrigin,
|
|
7
8
|
SetScreenBrightnessFailCallback as SetScreenBrightnessFailCallbackOrigin,
|
|
@@ -10,6 +11,7 @@
|
|
|
10
11
|
SetScreenBrightnessOptions as SetScreenBrightnessOptionsOrigin,
|
|
11
12
|
GetScreenBrightness as GetScreenBrightnessOrigin,
|
|
12
13
|
GetScreenBrightnessSuccess as GetScreenBrightnessSuccessOrigin,
|
|
14
|
+
IGetScreenBrightnessFail as IGetScreenBrightnessFailOrigin,
|
|
13
15
|
GetScreenBrightnessSuccessCallback as GetScreenBrightnessSuccessCallbackOrigin,
|
|
14
16
|
GetScreenBrightnessFail as GetScreenBrightnessFailOrigin,
|
|
15
17
|
GetScreenBrightnessFailCallback as GetScreenBrightnessFailCallbackOrigin,
|
|
@@ -18,6 +20,7 @@
|
|
|
18
20
|
GetScreenBrightnessOptions as GetScreenBrightnessOptionsOrigin,
|
|
19
21
|
SetKeepScreenOn as SetKeepScreenOnOrigin,
|
|
20
22
|
SetKeepScreenOnSuccess as SetKeepScreenOnSuccessOrigin,
|
|
23
|
+
ISetKeepScreenOnFail as ISetKeepScreenOnFailOrigin,
|
|
21
24
|
SetKeepScreenOnSuccessCallback as SetKeepScreenOnSuccessCallbackOrigin,
|
|
22
25
|
SetKeepScreenOnFail as SetKeepScreenOnFailOrigin,
|
|
23
26
|
SetKeepScreenOnFailCallback as SetKeepScreenOnFailCallbackOrigin,
|
|
@@ -30,6 +33,7 @@
|
|
|
30
33
|
declare global {
|
|
31
34
|
type SetScreenBrightness = SetScreenBrightnessOrigin
|
|
32
35
|
type SetScreenBrightnessSuccess = SetScreenBrightnessSuccessOrigin
|
|
36
|
+
type ISetScreenBrightnessFail = ISetScreenBrightnessFailOrigin
|
|
33
37
|
type SetScreenBrightnessSuccessCallback = SetScreenBrightnessSuccessCallbackOrigin
|
|
34
38
|
type SetScreenBrightnessFail = SetScreenBrightnessFailOrigin
|
|
35
39
|
type SetScreenBrightnessFailCallback = SetScreenBrightnessFailCallbackOrigin
|
|
@@ -38,6 +42,7 @@
|
|
|
38
42
|
type SetScreenBrightnessOptions = SetScreenBrightnessOptionsOrigin
|
|
39
43
|
type GetScreenBrightness = GetScreenBrightnessOrigin
|
|
40
44
|
type GetScreenBrightnessSuccess = GetScreenBrightnessSuccessOrigin
|
|
45
|
+
type IGetScreenBrightnessFail = IGetScreenBrightnessFailOrigin
|
|
41
46
|
type GetScreenBrightnessSuccessCallback = GetScreenBrightnessSuccessCallbackOrigin
|
|
42
47
|
type GetScreenBrightnessFail = GetScreenBrightnessFailOrigin
|
|
43
48
|
type GetScreenBrightnessFailCallback = GetScreenBrightnessFailCallbackOrigin
|
|
@@ -46,6 +51,7 @@
|
|
|
46
51
|
type GetScreenBrightnessOptions = GetScreenBrightnessOptionsOrigin
|
|
47
52
|
type SetKeepScreenOn = SetKeepScreenOnOrigin
|
|
48
53
|
type SetKeepScreenOnSuccess = SetKeepScreenOnSuccessOrigin
|
|
54
|
+
type ISetKeepScreenOnFail = ISetKeepScreenOnFailOrigin
|
|
49
55
|
type SetKeepScreenOnSuccessCallback = SetKeepScreenOnSuccessCallbackOrigin
|
|
50
56
|
type SetKeepScreenOnFail = SetKeepScreenOnFailOrigin
|
|
51
57
|
type SetKeepScreenOnFailCallback = SetKeepScreenOnFailCallbackOrigin
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export {
|
|
3
3
|
SetScreenBrightness,
|
|
4
4
|
SetScreenBrightnessSuccess,
|
|
5
|
+
ISetScreenBrightnessFail,
|
|
5
6
|
SetScreenBrightnessSuccessCallback,
|
|
6
7
|
SetScreenBrightnessFail,
|
|
7
8
|
SetScreenBrightnessFailCallback,
|
|
@@ -10,6 +11,7 @@
|
|
|
10
11
|
SetScreenBrightnessOptions,
|
|
11
12
|
GetScreenBrightness,
|
|
12
13
|
GetScreenBrightnessSuccess,
|
|
14
|
+
IGetScreenBrightnessFail,
|
|
13
15
|
GetScreenBrightnessSuccessCallback,
|
|
14
16
|
GetScreenBrightnessFail,
|
|
15
17
|
GetScreenBrightnessFailCallback,
|
|
@@ -18,6 +20,7 @@
|
|
|
18
20
|
GetScreenBrightnessOptions,
|
|
19
21
|
SetKeepScreenOn,
|
|
20
22
|
SetKeepScreenOnSuccess,
|
|
23
|
+
ISetKeepScreenOnFail,
|
|
21
24
|
SetKeepScreenOnSuccessCallback,
|
|
22
25
|
SetKeepScreenOnFail,
|
|
23
26
|
SetKeepScreenOnFailCallback,
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export interface Uni {
|
|
2
2
|
/**
|
|
3
3
|
* 设置屏幕亮度。
|
|
4
|
+
* @param options 设置屏幕亮度的参数
|
|
5
|
+
*
|
|
4
6
|
* @tutorial https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
5
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/
|
|
7
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/brightness.html
|
|
6
8
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
7
9
|
*
|
|
8
10
|
* @uniPlatform {
|
|
@@ -75,8 +77,10 @@ export interface Uni {
|
|
|
75
77
|
setScreenBrightness(options : SetScreenBrightnessOptions) : void;
|
|
76
78
|
/**
|
|
77
79
|
* 获取屏幕亮度。
|
|
80
|
+
* @param options 获取屏幕亮度的参数
|
|
81
|
+
*
|
|
78
82
|
* @tutorial https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
79
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/
|
|
83
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/brightness.html
|
|
80
84
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
81
85
|
*
|
|
82
86
|
* @uniPlatform {
|
|
@@ -149,8 +153,10 @@ export interface Uni {
|
|
|
149
153
|
getScreenBrightness(options : GetScreenBrightnessOptions) : void;
|
|
150
154
|
/**
|
|
151
155
|
* 设置是否保持常亮状态。仅在当前应用生效,离开应用后设置失效。
|
|
156
|
+
* @param options 设置是否保持常亮状态的参数
|
|
157
|
+
*
|
|
152
158
|
* @tutorial https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
153
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/
|
|
159
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/brightness.html
|
|
154
160
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/brightness.html
|
|
155
161
|
*
|
|
156
162
|
* @uniPlatform {
|
|
@@ -225,8 +231,10 @@ export interface Uni {
|
|
|
225
231
|
|
|
226
232
|
export type SetScreenBrightness = (options : SetScreenBrightnessOptions) => void;
|
|
227
233
|
export type SetScreenBrightnessSuccess = {};
|
|
234
|
+
export interface ISetScreenBrightnessFail extends IUniError {
|
|
235
|
+
}
|
|
228
236
|
export type SetScreenBrightnessSuccessCallback = (result : SetScreenBrightnessSuccess) => void;
|
|
229
|
-
export type SetScreenBrightnessFail =
|
|
237
|
+
export type SetScreenBrightnessFail = ISetScreenBrightnessFail;
|
|
230
238
|
export type SetScreenBrightnessFailCallback = (result : SetScreenBrightnessFail) => void;
|
|
231
239
|
export type SetScreenBrightnessComplete = SetScreenBrightnessSuccess | SetScreenBrightnessFail;
|
|
232
240
|
export type SetScreenBrightnessCompleteCallback = (result : SetScreenBrightnessComplete) => void;
|
|
@@ -589,8 +597,10 @@ export type GetScreenBrightnessSuccess = {
|
|
|
589
597
|
*/
|
|
590
598
|
value : number
|
|
591
599
|
};
|
|
600
|
+
export interface IGetScreenBrightnessFail extends IUniError {
|
|
601
|
+
}
|
|
592
602
|
export type GetScreenBrightnessSuccessCallback = (result : GetScreenBrightnessSuccess) => void;
|
|
593
|
-
export type GetScreenBrightnessFail =
|
|
603
|
+
export type GetScreenBrightnessFail = IGetScreenBrightnessFail;
|
|
594
604
|
export type GetScreenBrightnessFailCallback = (result : GetScreenBrightnessFail) => void;
|
|
595
605
|
export type GetScreenBrightnessComplete = GetScreenBrightnessSuccess | GetScreenBrightnessFail;
|
|
596
606
|
export type GetScreenBrightnessCompleteCallback = (result : GetScreenBrightnessComplete) => void;
|
|
@@ -882,8 +892,10 @@ export type SetKeepScreenOnSuccess = {
|
|
|
882
892
|
*/
|
|
883
893
|
errMsg:string
|
|
884
894
|
};
|
|
895
|
+
export interface ISetKeepScreenOnFail extends IUniError {
|
|
896
|
+
}
|
|
885
897
|
export type SetKeepScreenOnSuccessCallback = (result : SetKeepScreenOnSuccess) => void;
|
|
886
|
-
export type SetKeepScreenOnFail =
|
|
898
|
+
export type SetKeepScreenOnFail = ISetKeepScreenOnFail;
|
|
887
899
|
export type SetKeepScreenOnFailCallback = (result : SetKeepScreenOnFail) => void;
|
|
888
900
|
export type SetKeepScreenOnComplete = SetKeepScreenOnSuccess | SetKeepScreenOnFail;
|
|
889
901
|
export type SetKeepScreenOnCompleteCallback = (result : SetKeepScreenOnComplete) => void;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
VibrateShortType as VibrateShortTypeOrigin,
|
|
4
|
+
VibrateShortSuccess as VibrateShortSuccessOrigin,
|
|
5
|
+
VibrateLongSuccess as VibrateLongSuccessOrigin,
|
|
6
|
+
VibrateErrorCode as VibrateErrorCodeOrigin,
|
|
7
|
+
IVibrateShortFail as IVibrateShortFailOrigin,
|
|
8
|
+
IVibrateLongFail as IVibrateLongFailOrigin,
|
|
9
|
+
VibrateShortFail as VibrateShortFailOrigin,
|
|
10
|
+
VibrateLongFail as VibrateLongFailOrigin,
|
|
11
|
+
VibrateShortSuccessCallback as VibrateShortSuccessCallbackOrigin,
|
|
12
|
+
VibrateLongSuccessCallback as VibrateLongSuccessCallbackOrigin,
|
|
13
|
+
VibrateShortFailCallback as VibrateShortFailCallbackOrigin,
|
|
14
|
+
VibrateLongFailCallback as VibrateLongFailCallbackOrigin,
|
|
15
|
+
VibrateShortComplete as VibrateShortCompleteOrigin,
|
|
16
|
+
VibrateLongComplete as VibrateLongCompleteOrigin,
|
|
17
|
+
VibrateShortCompleteCallback as VibrateShortCompleteCallbackOrigin,
|
|
18
|
+
VibrateLongCompleteCallback as VibrateLongCompleteCallbackOrigin,
|
|
19
|
+
VibrateShortOptions as VibrateShortOptionsOrigin,
|
|
20
|
+
VibrateLongOptions as VibrateLongOptionsOrigin,
|
|
21
|
+
VibrateShort as VibrateShortOrigin,
|
|
22
|
+
VibrateLong as VibrateLongOrigin,
|
|
23
|
+
Uni as UniOrigin
|
|
24
|
+
} from './interface'
|
|
25
|
+
|
|
26
|
+
declare global {
|
|
27
|
+
type VibrateShortType = VibrateShortTypeOrigin
|
|
28
|
+
type VibrateShortSuccess = VibrateShortSuccessOrigin
|
|
29
|
+
type VibrateLongSuccess = VibrateLongSuccessOrigin
|
|
30
|
+
type VibrateErrorCode = VibrateErrorCodeOrigin
|
|
31
|
+
type IVibrateShortFail = IVibrateShortFailOrigin
|
|
32
|
+
type IVibrateLongFail = IVibrateLongFailOrigin
|
|
33
|
+
type VibrateShortFail = VibrateShortFailOrigin
|
|
34
|
+
type VibrateLongFail = VibrateLongFailOrigin
|
|
35
|
+
type VibrateShortSuccessCallback = VibrateShortSuccessCallbackOrigin
|
|
36
|
+
type VibrateLongSuccessCallback = VibrateLongSuccessCallbackOrigin
|
|
37
|
+
type VibrateShortFailCallback = VibrateShortFailCallbackOrigin
|
|
38
|
+
type VibrateLongFailCallback = VibrateLongFailCallbackOrigin
|
|
39
|
+
type VibrateShortComplete = VibrateShortCompleteOrigin
|
|
40
|
+
type VibrateLongComplete = VibrateLongCompleteOrigin
|
|
41
|
+
type VibrateShortCompleteCallback = VibrateShortCompleteCallbackOrigin
|
|
42
|
+
type VibrateLongCompleteCallback = VibrateLongCompleteCallbackOrigin
|
|
43
|
+
type VibrateShortOptions = VibrateShortOptionsOrigin
|
|
44
|
+
type VibrateLongOptions = VibrateLongOptionsOrigin
|
|
45
|
+
type VibrateShort = VibrateShortOrigin
|
|
46
|
+
type VibrateLong = VibrateLongOrigin
|
|
47
|
+
interface Uni extends UniOrigin { }
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
export {
|
|
3
|
+
VibrateShortType,
|
|
4
|
+
VibrateShortSuccess,
|
|
5
|
+
VibrateLongSuccess,
|
|
6
|
+
VibrateErrorCode,
|
|
7
|
+
IVibrateShortFail,
|
|
8
|
+
IVibrateLongFail,
|
|
9
|
+
VibrateShortFail,
|
|
10
|
+
VibrateLongFail,
|
|
11
|
+
VibrateShortSuccessCallback,
|
|
12
|
+
VibrateLongSuccessCallback,
|
|
13
|
+
VibrateShortFailCallback,
|
|
14
|
+
VibrateLongFailCallback,
|
|
15
|
+
VibrateShortComplete,
|
|
16
|
+
VibrateLongComplete,
|
|
17
|
+
VibrateShortCompleteCallback,
|
|
18
|
+
VibrateLongCompleteCallback,
|
|
19
|
+
VibrateShortOptions,
|
|
20
|
+
VibrateLongOptions,
|
|
21
|
+
VibrateShort,
|
|
22
|
+
VibrateLong,
|
|
23
|
+
} from './interface'
|
|
24
|
+
|
|
@@ -0,0 +1,199 @@
|
|
|
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 IVibrateShortFail extends IUniError {
|
|
14
|
+
errCode : VibrateErrorCode
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface IVibrateLongFail extends IUniError {
|
|
18
|
+
errCode : VibrateErrorCode
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type VibrateShortFail = IVibrateShortFail
|
|
22
|
+
export type VibrateLongFail = IVibrateLongFail
|
|
23
|
+
export type VibrateShortSuccessCallback = (result : VibrateShortSuccess) => void
|
|
24
|
+
export type VibrateLongSuccessCallback = (result : VibrateLongSuccess) => void
|
|
25
|
+
export type VibrateShortFailCallback = (result : VibrateShortFail) => void
|
|
26
|
+
export type VibrateLongFailCallback = (result : VibrateLongFail) => void
|
|
27
|
+
export type VibrateShortComplete = VibrateShortSuccess | VibrateShortFail
|
|
28
|
+
export type VibrateLongComplete = VibrateLongSuccess | VibrateLongFail
|
|
29
|
+
export type VibrateShortCompleteCallback = (result : VibrateShortComplete) => void
|
|
30
|
+
export type VibrateLongCompleteCallback = (result : VibrateLongComplete) => void
|
|
31
|
+
|
|
32
|
+
export type VibrateShortOptions = {
|
|
33
|
+
type : VibrateShortType,
|
|
34
|
+
success ?: VibrateShortSuccessCallback,
|
|
35
|
+
fail ?: VibrateShortFailCallback,
|
|
36
|
+
complete ?: VibrateShortCompleteCallback
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type VibrateLongOptions = {
|
|
40
|
+
success ?: VibrateLongSuccessCallback,
|
|
41
|
+
fail ?: VibrateLongFailCallback,
|
|
42
|
+
complete ?: VibrateLongCompleteCallback
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type VibrateShort = (options : VibrateShortOptions) => void
|
|
46
|
+
export type VibrateLong = (options : VibrateLongOptions) => void
|
|
47
|
+
|
|
48
|
+
export interface Uni {
|
|
49
|
+
/**
|
|
50
|
+
* 使设备发生短时间的振动。
|
|
51
|
+
*
|
|
52
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/vibrate.html#vibrateshort
|
|
53
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/vibrate.html#vibrateshort
|
|
54
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/vibrate.html#vibrateshort
|
|
55
|
+
*
|
|
56
|
+
* @uniPlatform {
|
|
57
|
+
* "app": {
|
|
58
|
+
* "android": {
|
|
59
|
+
* "osVer": "5.0",
|
|
60
|
+
* "uniVer": "√",
|
|
61
|
+
* "unixVer": "5.08"
|
|
62
|
+
* },
|
|
63
|
+
* "ios": {
|
|
64
|
+
* "osVer": "12.0",
|
|
65
|
+
* "uniVer": "√",
|
|
66
|
+
* "unixVer": "5.08"
|
|
67
|
+
* },
|
|
68
|
+
* "harmony": {
|
|
69
|
+
* "osVer": "5.0.0",
|
|
70
|
+
* "uniVer": "5.08",
|
|
71
|
+
* "unixVer": "5.08",
|
|
72
|
+
* "unixvVer": "5.08"
|
|
73
|
+
* }
|
|
74
|
+
* },
|
|
75
|
+
* "web": {
|
|
76
|
+
* "uniVer": "√",
|
|
77
|
+
* "unixVer": "x"
|
|
78
|
+
* },
|
|
79
|
+
* "mp":{
|
|
80
|
+
* "weixin": {
|
|
81
|
+
* "hostVer": "√",
|
|
82
|
+
* "uniVer": "√",
|
|
83
|
+
* "unixVer": "4.41"
|
|
84
|
+
* },
|
|
85
|
+
* "alipay": {
|
|
86
|
+
* "hostVer": "√",
|
|
87
|
+
* "uniVer": "√",
|
|
88
|
+
* "unixVer": "x"
|
|
89
|
+
* },
|
|
90
|
+
* "baidu": {
|
|
91
|
+
* "hostVer": "√",
|
|
92
|
+
* "uniVer": "√",
|
|
93
|
+
* "unixVer": "x"
|
|
94
|
+
* },
|
|
95
|
+
* "toutiao": {
|
|
96
|
+
* "hostVer": "x",
|
|
97
|
+
* "uniVer": "x",
|
|
98
|
+
* "unixVer": "x"
|
|
99
|
+
* },
|
|
100
|
+
* "lark": {
|
|
101
|
+
* "hostVer": "x",
|
|
102
|
+
* "uniVer": "x",
|
|
103
|
+
* "unixVer": "x"
|
|
104
|
+
* },
|
|
105
|
+
* "qq": {
|
|
106
|
+
* "hostVer": "x",
|
|
107
|
+
* "uniVer": "x",
|
|
108
|
+
* "unixVer": "x"
|
|
109
|
+
* },
|
|
110
|
+
* "kuaishou": {
|
|
111
|
+
* "hostVer": "√",
|
|
112
|
+
* "uniVer": "√",
|
|
113
|
+
* "unixVer": "x"
|
|
114
|
+
* },
|
|
115
|
+
* "jd": {
|
|
116
|
+
* "hostVer": "x",
|
|
117
|
+
* "uniVer": "x",
|
|
118
|
+
* "unixVer": "x"
|
|
119
|
+
* }
|
|
120
|
+
* }
|
|
121
|
+
* }
|
|
122
|
+
*/
|
|
123
|
+
vibrateShort(options : VibrateShortOptions) : void
|
|
124
|
+
/**
|
|
125
|
+
* 使设备发生长时间的振动。
|
|
126
|
+
*
|
|
127
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/vibrate.html#vibratelong
|
|
128
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/vibrate.html#vibratelong
|
|
129
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/vibrate.html#vibratelong
|
|
130
|
+
*
|
|
131
|
+
* @uniPlatform {
|
|
132
|
+
* "app": {
|
|
133
|
+
* "android": {
|
|
134
|
+
* "osVer": "5.0",
|
|
135
|
+
* "uniVer": "√",
|
|
136
|
+
* "unixVer": "5.08"
|
|
137
|
+
* },
|
|
138
|
+
* "ios": {
|
|
139
|
+
* "osVer": "12.0",
|
|
140
|
+
* "uniVer": "√",
|
|
141
|
+
* "unixVer": "5.08"
|
|
142
|
+
* },
|
|
143
|
+
* "harmony": {
|
|
144
|
+
* "osVer": "5.0.0",
|
|
145
|
+
* "uniVer": "5.08",
|
|
146
|
+
* "unixVer": "5.08",
|
|
147
|
+
* "unixvVer": "5.08"
|
|
148
|
+
* }
|
|
149
|
+
* },
|
|
150
|
+
* "web": {
|
|
151
|
+
* "uniVer": "√",
|
|
152
|
+
* "unixVer": "x"
|
|
153
|
+
* },
|
|
154
|
+
* "mp":{
|
|
155
|
+
* "weixin": {
|
|
156
|
+
* "hostVer": "√",
|
|
157
|
+
* "uniVer": "√",
|
|
158
|
+
* "unixVer": "4.41"
|
|
159
|
+
* },
|
|
160
|
+
* "alipay": {
|
|
161
|
+
* "hostVer": "√",
|
|
162
|
+
* "uniVer": "√",
|
|
163
|
+
* "unixVer": "x"
|
|
164
|
+
* },
|
|
165
|
+
* "baidu": {
|
|
166
|
+
* "hostVer": "√",
|
|
167
|
+
* "uniVer": "√",
|
|
168
|
+
* "unixVer": "x"
|
|
169
|
+
* },
|
|
170
|
+
* "toutiao": {
|
|
171
|
+
* "hostVer": "x",
|
|
172
|
+
* "uniVer": "x",
|
|
173
|
+
* "unixVer": "x"
|
|
174
|
+
* },
|
|
175
|
+
* "lark": {
|
|
176
|
+
* "hostVer": "x",
|
|
177
|
+
* "uniVer": "x",
|
|
178
|
+
* "unixVer": "x"
|
|
179
|
+
* },
|
|
180
|
+
* "qq": {
|
|
181
|
+
* "hostVer": "x",
|
|
182
|
+
* "uniVer": "x",
|
|
183
|
+
* "unixVer": "x"
|
|
184
|
+
* },
|
|
185
|
+
* "kuaishou": {
|
|
186
|
+
* "hostVer": "√",
|
|
187
|
+
* "uniVer": "√",
|
|
188
|
+
* "unixVer": "x"
|
|
189
|
+
* },
|
|
190
|
+
* "jd": {
|
|
191
|
+
* "hostVer": "x",
|
|
192
|
+
* "uniVer": "x",
|
|
193
|
+
* "unixVer": "x"
|
|
194
|
+
* }
|
|
195
|
+
* }
|
|
196
|
+
* }
|
|
197
|
+
*/
|
|
198
|
+
vibrateLong(options : VibrateLongOptions) : void
|
|
199
|
+
}
|