@dcloudio/uni-app-x 0.7.111 → 0.7.113
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/package.json +1 -1
- package/types/dom2-internal/UniNativeView.d.ts +1 -0
- package/types/dom2-internal/UniPage.d.ts +16 -0
- package/types/dom2-internal/sharedData.d.ts +9 -14
- package/types/native/CSSStyleDeclaration.d.ts +172 -172
- package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
- package/types/native/DrawableContext.d.ts +1893 -1893
- package/types/native/IUniElement.d.ts +7468 -7461
- package/types/native/IUniNativeViewElement.d.ts +327 -327
- package/types/native/SnapshotOptions.d.ts +337 -62
- package/types/native/UniPage.d.ts +1305 -1305
- package/types/native/UniResizeObserver.d.ts +749 -749
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
- package/types/native/UniSwiperChangeEvent.d.ts +58 -58
- package/types/page.d.ts +3154 -3112
- 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-actionSheet/utssdk/interface.d.ts +1672 -911
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
- package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
- package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
- package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
- package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
- package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
- package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
- package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
- package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
- package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
- package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
- package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
- package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
- package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
- package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
- package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
- package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
- package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
- package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
- package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
- package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
- package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
- package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
- package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
- package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
- package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
- package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
- package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
- package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
- package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
- package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
- package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
- package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
- package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
- package/types/uni/uts-plugin-component/global.d.ts +79 -0
- package/types/uni/uts-plugin-component/index.d.ts +79 -0
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
- package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
- package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
- package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
- package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
- package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
- package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
- package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
- package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
- package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
- package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
- package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
- package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
- package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
- package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
- package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
- package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
- package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
- package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
- package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
- package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
- package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
- package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
- package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
- package/types/vue/LifeCycle.d.ts +865 -854
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* uni.setStorage成功回调参数
|
|
3
|
-
*/
|
|
4
|
-
export type SetStorageSuccess = {
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* uni.setStorage成功回调函数定义
|
|
10
|
-
*/
|
|
11
|
-
export type SetStorageSuccessCallback = (res: SetStorageSuccess) => void
|
|
12
|
-
/**
|
|
13
|
-
* uni.setStorage失败回调函数定义
|
|
14
|
-
*/
|
|
15
|
-
export type SetStorageFailCallback = (res: UniError) => void
|
|
16
|
-
/**
|
|
17
|
-
* uni.setStorage完成回调函数定义
|
|
18
|
-
*/
|
|
19
|
-
export type SetStorageCompleteCallback = (res: any) => void
|
|
20
|
-
/**
|
|
21
|
-
* uni.setStorage参数定义
|
|
22
|
-
*/
|
|
23
|
-
export type SetStorageOptions = {
|
|
24
|
-
/**
|
|
25
|
-
* 本地存储中的指定的 key
|
|
26
|
-
*/
|
|
27
|
-
key: string,
|
|
28
|
-
/**
|
|
29
|
-
* 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
|
|
30
|
-
*/
|
|
31
|
-
data: any,
|
|
32
|
-
/**
|
|
33
|
-
* 接口调用成功的回调函数
|
|
34
|
-
*/
|
|
35
|
-
success?: SetStorageSuccessCallback | null,
|
|
36
|
-
/**
|
|
37
|
-
* 接口调用失败的回调函数
|
|
38
|
-
*/
|
|
39
|
-
fail?: SetStorageFailCallback | null,
|
|
40
|
-
/**
|
|
41
|
-
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
42
|
-
*/
|
|
43
|
-
complete?: SetStorageCompleteCallback | null
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export type SetStorage = (options: SetStorageOptions) => void
|
|
47
|
-
|
|
48
|
-
export type SetStorageSync = (key: string, data: any) => void
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* uni.getStorage成功回调参数
|
|
53
|
-
*/
|
|
54
|
-
export type GetStorageSuccess = {
|
|
55
|
-
/**
|
|
56
|
-
* key 对应的内容
|
|
57
|
-
*/
|
|
58
|
-
data: any | null
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* uni.getStorage成功回调函数定义
|
|
63
|
-
*/
|
|
64
|
-
export type GetStorageSuccessCallback = (res: GetStorageSuccess) => void
|
|
65
|
-
/**
|
|
66
|
-
* uni.getStorage失败回调函数定义
|
|
67
|
-
*/
|
|
68
|
-
export type GetStorageFailCallback = (res: UniError) => void
|
|
69
|
-
/**
|
|
70
|
-
* uni.getStorage完成回调函数定义
|
|
71
|
-
*/
|
|
72
|
-
export type GetStorageCompleteCallback = (res: any) => void
|
|
73
|
-
/**
|
|
74
|
-
* uni.getStorage参数定义
|
|
75
|
-
*/
|
|
76
|
-
export type GetStorageOptions = {
|
|
77
|
-
/**
|
|
78
|
-
* 本地存储中的指定的 key
|
|
79
|
-
*/
|
|
80
|
-
key: string,
|
|
81
|
-
/**
|
|
82
|
-
* 接口调用成功的回调函数
|
|
83
|
-
*/
|
|
84
|
-
success?: GetStorageSuccessCallback | null,
|
|
85
|
-
/**
|
|
86
|
-
* 接口调用失败的回调函数
|
|
87
|
-
*/
|
|
88
|
-
fail?: GetStorageFailCallback | null,
|
|
89
|
-
/**
|
|
90
|
-
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
91
|
-
*/
|
|
92
|
-
complete?: GetStorageCompleteCallback | null
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
export type GetStorage = (options: GetStorageOptions) => void
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
export type GetStorageSync = (key: string) => any | null
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* uni.getStorageInfo成功回调参数
|
|
104
|
-
*/
|
|
105
|
-
export type GetStorageInfoSuccess = {
|
|
106
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* uni.setStorage成功回调参数
|
|
3
|
+
*/
|
|
4
|
+
export type SetStorageSuccess = {
|
|
5
|
+
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* uni.setStorage成功回调函数定义
|
|
10
|
+
*/
|
|
11
|
+
export type SetStorageSuccessCallback = (res: SetStorageSuccess) => void
|
|
12
|
+
/**
|
|
13
|
+
* uni.setStorage失败回调函数定义
|
|
14
|
+
*/
|
|
15
|
+
export type SetStorageFailCallback = (res: UniError) => void
|
|
16
|
+
/**
|
|
17
|
+
* uni.setStorage完成回调函数定义
|
|
18
|
+
*/
|
|
19
|
+
export type SetStorageCompleteCallback = (res: any) => void
|
|
20
|
+
/**
|
|
21
|
+
* uni.setStorage参数定义
|
|
22
|
+
*/
|
|
23
|
+
export type SetStorageOptions = {
|
|
24
|
+
/**
|
|
25
|
+
* 本地存储中的指定的 key
|
|
26
|
+
*/
|
|
27
|
+
key: string,
|
|
28
|
+
/**
|
|
29
|
+
* 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
|
|
30
|
+
*/
|
|
31
|
+
data: any,
|
|
32
|
+
/**
|
|
33
|
+
* 接口调用成功的回调函数
|
|
34
|
+
*/
|
|
35
|
+
success?: SetStorageSuccessCallback | null,
|
|
36
|
+
/**
|
|
37
|
+
* 接口调用失败的回调函数
|
|
38
|
+
*/
|
|
39
|
+
fail?: SetStorageFailCallback | null,
|
|
40
|
+
/**
|
|
41
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
42
|
+
*/
|
|
43
|
+
complete?: SetStorageCompleteCallback | null
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type SetStorage = (options: SetStorageOptions) => void
|
|
47
|
+
|
|
48
|
+
export type SetStorageSync = (key: string, data: any) => void
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* uni.getStorage成功回调参数
|
|
53
|
+
*/
|
|
54
|
+
export type GetStorageSuccess = {
|
|
55
|
+
/**
|
|
56
|
+
* key 对应的内容
|
|
57
|
+
*/
|
|
58
|
+
data: any | null
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* uni.getStorage成功回调函数定义
|
|
63
|
+
*/
|
|
64
|
+
export type GetStorageSuccessCallback = (res: GetStorageSuccess) => void
|
|
65
|
+
/**
|
|
66
|
+
* uni.getStorage失败回调函数定义
|
|
67
|
+
*/
|
|
68
|
+
export type GetStorageFailCallback = (res: UniError) => void
|
|
69
|
+
/**
|
|
70
|
+
* uni.getStorage完成回调函数定义
|
|
71
|
+
*/
|
|
72
|
+
export type GetStorageCompleteCallback = (res: any) => void
|
|
73
|
+
/**
|
|
74
|
+
* uni.getStorage参数定义
|
|
75
|
+
*/
|
|
76
|
+
export type GetStorageOptions = {
|
|
77
|
+
/**
|
|
78
|
+
* 本地存储中的指定的 key
|
|
79
|
+
*/
|
|
80
|
+
key: string,
|
|
81
|
+
/**
|
|
82
|
+
* 接口调用成功的回调函数
|
|
83
|
+
*/
|
|
84
|
+
success?: GetStorageSuccessCallback | null,
|
|
85
|
+
/**
|
|
86
|
+
* 接口调用失败的回调函数
|
|
87
|
+
*/
|
|
88
|
+
fail?: GetStorageFailCallback | null,
|
|
89
|
+
/**
|
|
90
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
91
|
+
*/
|
|
92
|
+
complete?: GetStorageCompleteCallback | null
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
export type GetStorage = (options: GetStorageOptions) => void
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
export type GetStorageSync = (key: string) => any | null
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* uni.getStorageInfo成功回调参数
|
|
104
|
+
*/
|
|
105
|
+
export type GetStorageInfoSuccess = {
|
|
106
|
+
/**
|
|
107
107
|
* 当前 storage 中所有的 key
|
|
108
108
|
* @uniPlatform {
|
|
109
109
|
* "mp": {
|
|
@@ -149,9 +149,9 @@ export type GetStorageInfoSuccess = {
|
|
|
149
149
|
* }
|
|
150
150
|
* }
|
|
151
151
|
* }
|
|
152
|
-
*/
|
|
153
|
-
keys: Array<string>,
|
|
154
|
-
/**
|
|
152
|
+
*/
|
|
153
|
+
keys: Array<string>,
|
|
154
|
+
/**
|
|
155
155
|
* 当前占用的空间大小, 单位:kb
|
|
156
156
|
* @uniPlatform {
|
|
157
157
|
* "mp": {
|
|
@@ -197,9 +197,9 @@ export type GetStorageInfoSuccess = {
|
|
|
197
197
|
* }
|
|
198
198
|
* }
|
|
199
199
|
* }
|
|
200
|
-
*/
|
|
201
|
-
currentSize: number,
|
|
202
|
-
/**
|
|
200
|
+
*/
|
|
201
|
+
currentSize: number,
|
|
202
|
+
/**
|
|
203
203
|
* 限制的空间大小, 单位:kb
|
|
204
204
|
* @uniPlatform {
|
|
205
205
|
* "mp": {
|
|
@@ -245,11 +245,11 @@ export type GetStorageInfoSuccess = {
|
|
|
245
245
|
* }
|
|
246
246
|
* }
|
|
247
247
|
* }
|
|
248
|
-
*/
|
|
249
|
-
limitSize: number,
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
248
|
+
*/
|
|
249
|
+
limitSize: number,
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
253
|
* uni.getStorageInfo成功回调函数定义
|
|
254
254
|
* @uniPlatform {
|
|
255
255
|
* "mp": {
|
|
@@ -295,9 +295,9 @@ export type GetStorageInfoSuccess = {
|
|
|
295
295
|
* }
|
|
296
296
|
* }
|
|
297
297
|
* }
|
|
298
|
-
*/
|
|
299
|
-
export type GetStorageInfoSuccessCallback = (res: GetStorageInfoSuccess) => void
|
|
300
|
-
/**
|
|
298
|
+
*/
|
|
299
|
+
export type GetStorageInfoSuccessCallback = (res: GetStorageInfoSuccess) => void
|
|
300
|
+
/**
|
|
301
301
|
* uni.getStorageInfo失败回调函数定义
|
|
302
302
|
* @uniPlatform {
|
|
303
303
|
* "mp": {
|
|
@@ -343,9 +343,9 @@ export type GetStorageInfoSuccessCallback = (res: GetStorageInfoSuccess) => void
|
|
|
343
343
|
* }
|
|
344
344
|
* }
|
|
345
345
|
* }
|
|
346
|
-
*/
|
|
347
|
-
export type GetStorageInfoFailCallback = (res: UniError) => void
|
|
348
|
-
/**
|
|
346
|
+
*/
|
|
347
|
+
export type GetStorageInfoFailCallback = (res: UniError) => void
|
|
348
|
+
/**
|
|
349
349
|
* uni.getStorageInfo完成回调函数定义
|
|
350
350
|
* @uniPlatform {
|
|
351
351
|
* "mp": {
|
|
@@ -391,13 +391,13 @@ export type GetStorageInfoFailCallback = (res: UniError) => void
|
|
|
391
391
|
* }
|
|
392
392
|
* }
|
|
393
393
|
* }
|
|
394
|
-
*/
|
|
395
|
-
export type GetStorageInfoCompleteCallback = (res: any) => void
|
|
396
|
-
/**
|
|
397
|
-
* uni.getStorageInfo参数定义
|
|
398
|
-
*/
|
|
399
|
-
export type GetStorageInfoOptions = {
|
|
400
|
-
/**
|
|
394
|
+
*/
|
|
395
|
+
export type GetStorageInfoCompleteCallback = (res: any) => void
|
|
396
|
+
/**
|
|
397
|
+
* uni.getStorageInfo参数定义
|
|
398
|
+
*/
|
|
399
|
+
export type GetStorageInfoOptions = {
|
|
400
|
+
/**
|
|
401
401
|
* 接口调用成功的回调函数
|
|
402
402
|
* @uniPlatform {
|
|
403
403
|
* "mp": {
|
|
@@ -443,9 +443,9 @@ export type GetStorageInfoOptions = {
|
|
|
443
443
|
* }
|
|
444
444
|
* }
|
|
445
445
|
* }
|
|
446
|
-
*/
|
|
447
|
-
success?: GetStorageInfoSuccessCallback | null,
|
|
448
|
-
/**
|
|
446
|
+
*/
|
|
447
|
+
success?: GetStorageInfoSuccessCallback | null,
|
|
448
|
+
/**
|
|
449
449
|
* 接口调用失败的回调函数
|
|
450
450
|
* @uniPlatform {
|
|
451
451
|
* "mp": {
|
|
@@ -491,9 +491,9 @@ export type GetStorageInfoOptions = {
|
|
|
491
491
|
* }
|
|
492
492
|
* }
|
|
493
493
|
* }
|
|
494
|
-
*/
|
|
495
|
-
fail?: GetStorageInfoFailCallback | null,
|
|
496
|
-
/**
|
|
494
|
+
*/
|
|
495
|
+
fail?: GetStorageInfoFailCallback | null,
|
|
496
|
+
/**
|
|
497
497
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
498
498
|
* @uniPlatform {
|
|
499
499
|
* "mp": {
|
|
@@ -539,22 +539,22 @@ export type GetStorageInfoOptions = {
|
|
|
539
539
|
* }
|
|
540
540
|
* }
|
|
541
541
|
* }
|
|
542
|
-
*/
|
|
543
|
-
complete?: GetStorageInfoCompleteCallback | null
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
export type GetStorageInfo = (options: GetStorageInfoOptions) => void
|
|
548
|
-
|
|
549
|
-
export type GetStorageInfoSync = () => GetStorageInfoSuccess
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* uni.removeStorage成功回调参数
|
|
553
|
-
*/
|
|
554
|
-
export type RemoveStorageSuccess = {
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
/**
|
|
542
|
+
*/
|
|
543
|
+
complete?: GetStorageInfoCompleteCallback | null
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
export type GetStorageInfo = (options: GetStorageInfoOptions) => void
|
|
548
|
+
|
|
549
|
+
export type GetStorageInfoSync = () => GetStorageInfoSuccess
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* uni.removeStorage成功回调参数
|
|
553
|
+
*/
|
|
554
|
+
export type RemoveStorageSuccess = {
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
558
|
* uni.removeStorage成功回调函数定义
|
|
559
559
|
* @uniPlatform {
|
|
560
560
|
* "mp": {
|
|
@@ -600,9 +600,9 @@ export type RemoveStorageSuccess = {
|
|
|
600
600
|
* }
|
|
601
601
|
* }
|
|
602
602
|
* }
|
|
603
|
-
*/
|
|
604
|
-
export type RemoveStorageSuccessCallback = (res: RemoveStorageSuccess) => void
|
|
605
|
-
/**
|
|
603
|
+
*/
|
|
604
|
+
export type RemoveStorageSuccessCallback = (res: RemoveStorageSuccess) => void
|
|
605
|
+
/**
|
|
606
606
|
* uni.removeStorage失败回调函数定义
|
|
607
607
|
* @uniPlatform {
|
|
608
608
|
* "mp": {
|
|
@@ -648,9 +648,9 @@ export type RemoveStorageSuccessCallback = (res: RemoveStorageSuccess) => void
|
|
|
648
648
|
* }
|
|
649
649
|
* }
|
|
650
650
|
* }
|
|
651
|
-
*/
|
|
652
|
-
export type RemoveStorageFailCallback = (res: UniError) => void
|
|
653
|
-
/**
|
|
651
|
+
*/
|
|
652
|
+
export type RemoveStorageFailCallback = (res: UniError) => void
|
|
653
|
+
/**
|
|
654
654
|
* uni.removeStorage完成回调函数定义
|
|
655
655
|
* @uniPlatform {
|
|
656
656
|
* "mp": {
|
|
@@ -696,13 +696,13 @@ export type RemoveStorageFailCallback = (res: UniError) => void
|
|
|
696
696
|
* }
|
|
697
697
|
* }
|
|
698
698
|
* }
|
|
699
|
-
*/
|
|
700
|
-
export type RemoveStorageCompleteCallback = (res: any) => void
|
|
701
|
-
/**
|
|
702
|
-
* uni.removeStorage参数定义
|
|
703
|
-
*/
|
|
704
|
-
export type RemoveStorageOptions = {
|
|
705
|
-
/**
|
|
699
|
+
*/
|
|
700
|
+
export type RemoveStorageCompleteCallback = (res: any) => void
|
|
701
|
+
/**
|
|
702
|
+
* uni.removeStorage参数定义
|
|
703
|
+
*/
|
|
704
|
+
export type RemoveStorageOptions = {
|
|
705
|
+
/**
|
|
706
706
|
* 本地存储中的指定的 key
|
|
707
707
|
* @uniPlatform {
|
|
708
708
|
* "mp": {
|
|
@@ -748,9 +748,9 @@ export type RemoveStorageOptions = {
|
|
|
748
748
|
* }
|
|
749
749
|
* }
|
|
750
750
|
* }
|
|
751
|
-
*/
|
|
752
|
-
key: string,
|
|
753
|
-
/**
|
|
751
|
+
*/
|
|
752
|
+
key: string,
|
|
753
|
+
/**
|
|
754
754
|
* 接口调用的回调函数
|
|
755
755
|
* @uniPlatform {
|
|
756
756
|
* "mp": {
|
|
@@ -796,9 +796,9 @@ export type RemoveStorageOptions = {
|
|
|
796
796
|
* }
|
|
797
797
|
* }
|
|
798
798
|
* }
|
|
799
|
-
*/
|
|
800
|
-
success?: RemoveStorageSuccessCallback | null,
|
|
801
|
-
/**
|
|
799
|
+
*/
|
|
800
|
+
success?: RemoveStorageSuccessCallback | null,
|
|
801
|
+
/**
|
|
802
802
|
* 接口调用失败的回调函数
|
|
803
803
|
* @uniPlatform {
|
|
804
804
|
* "mp": {
|
|
@@ -844,9 +844,9 @@ export type RemoveStorageOptions = {
|
|
|
844
844
|
* }
|
|
845
845
|
* }
|
|
846
846
|
* }
|
|
847
|
-
*/
|
|
848
|
-
fail?: RemoveStorageFailCallback | null,
|
|
849
|
-
/**
|
|
847
|
+
*/
|
|
848
|
+
fail?: RemoveStorageFailCallback | null,
|
|
849
|
+
/**
|
|
850
850
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
851
851
|
* @uniPlatform {
|
|
852
852
|
* "mp": {
|
|
@@ -892,24 +892,24 @@ export type RemoveStorageOptions = {
|
|
|
892
892
|
* }
|
|
893
893
|
* }
|
|
894
894
|
* }
|
|
895
|
-
*/
|
|
896
|
-
complete?: RemoveStorageCompleteCallback | null
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
export type RemoveStorage = (options: RemoveStorageOptions) => void
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
export type RemoveStorageSync = (key: string) => void
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* uni.clearStorage 成功返回数据结构
|
|
907
|
-
*/
|
|
908
|
-
export type ClearStorageSuccess = {
|
|
909
|
-
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
/**
|
|
895
|
+
*/
|
|
896
|
+
complete?: RemoveStorageCompleteCallback | null
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
export type RemoveStorage = (options: RemoveStorageOptions) => void
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
export type RemoveStorageSync = (key: string) => void
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* uni.clearStorage 成功返回数据结构
|
|
907
|
+
*/
|
|
908
|
+
export type ClearStorageSuccess = {
|
|
909
|
+
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
913
|
* uni.clearStorage 成功回调函数定义
|
|
914
914
|
* @uniPlatform {
|
|
915
915
|
* "mp": {
|
|
@@ -955,9 +955,9 @@ export type ClearStorageSuccess = {
|
|
|
955
955
|
* }
|
|
956
956
|
* }
|
|
957
957
|
* }
|
|
958
|
-
*/
|
|
959
|
-
export type ClearStorageSuccessCallback = (res: ClearStorageSuccess) => void
|
|
960
|
-
/**
|
|
958
|
+
*/
|
|
959
|
+
export type ClearStorageSuccessCallback = (res: ClearStorageSuccess) => void
|
|
960
|
+
/**
|
|
961
961
|
* uni.clearStorage 失败回调函数定义
|
|
962
962
|
* @uniPlatform {
|
|
963
963
|
* "mp": {
|
|
@@ -1003,9 +1003,9 @@ export type ClearStorageSuccessCallback = (res: ClearStorageSuccess) => void
|
|
|
1003
1003
|
* }
|
|
1004
1004
|
* }
|
|
1005
1005
|
* }
|
|
1006
|
-
*/
|
|
1007
|
-
export type ClearStorageFailCallback = (res: UniError) => void
|
|
1008
|
-
/**
|
|
1006
|
+
*/
|
|
1007
|
+
export type ClearStorageFailCallback = (res: UniError) => void
|
|
1008
|
+
/**
|
|
1009
1009
|
* uni.clearStorage 完成回调函数定义
|
|
1010
1010
|
* @uniPlatform {
|
|
1011
1011
|
* "mp": {
|
|
@@ -1051,14 +1051,14 @@ export type ClearStorageFailCallback = (res: UniError) => void
|
|
|
1051
1051
|
* }
|
|
1052
1052
|
* }
|
|
1053
1053
|
* }
|
|
1054
|
-
*/
|
|
1055
|
-
export type ClearStorageCompleteCallback = (res: any) => void
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* uni.removeStorage参数定义
|
|
1059
|
-
*/
|
|
1060
|
-
export type ClearStorageOptions = {
|
|
1061
|
-
/**
|
|
1054
|
+
*/
|
|
1055
|
+
export type ClearStorageCompleteCallback = (res: any) => void
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* uni.removeStorage参数定义
|
|
1059
|
+
*/
|
|
1060
|
+
export type ClearStorageOptions = {
|
|
1061
|
+
/**
|
|
1062
1062
|
* 接口调用的回调函数
|
|
1063
1063
|
* @uniPlatform {
|
|
1064
1064
|
* "mp": {
|
|
@@ -1104,9 +1104,9 @@ export type ClearStorageOptions = {
|
|
|
1104
1104
|
* }
|
|
1105
1105
|
* }
|
|
1106
1106
|
* }
|
|
1107
|
-
*/
|
|
1108
|
-
success?: ClearStorageSuccessCallback | null,
|
|
1109
|
-
/**
|
|
1107
|
+
*/
|
|
1108
|
+
success?: ClearStorageSuccessCallback | null,
|
|
1109
|
+
/**
|
|
1110
1110
|
* 接口调用失败的回调函数
|
|
1111
1111
|
* @uniPlatform {
|
|
1112
1112
|
* "mp": {
|
|
@@ -1152,9 +1152,9 @@ export type ClearStorageOptions = {
|
|
|
1152
1152
|
* }
|
|
1153
1153
|
* }
|
|
1154
1154
|
* }
|
|
1155
|
-
*/
|
|
1156
|
-
fail?: ClearStorageFailCallback | null,
|
|
1157
|
-
/**
|
|
1155
|
+
*/
|
|
1156
|
+
fail?: ClearStorageFailCallback | null,
|
|
1157
|
+
/**
|
|
1158
1158
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
1159
1159
|
* @uniPlatform {
|
|
1160
1160
|
* "mp": {
|
|
@@ -1200,24 +1200,24 @@ export type ClearStorageOptions = {
|
|
|
1200
1200
|
* }
|
|
1201
1201
|
* }
|
|
1202
1202
|
* }
|
|
1203
|
-
*/
|
|
1204
|
-
complete?: ClearStorageCompleteCallback | null
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
export type ClearStorage = (option?: ClearStorageOptions | null) => void
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
export type ClearStorageSync = () => void
|
|
1211
|
-
|
|
1212
|
-
export interface Uni {
|
|
1213
|
-
/**
|
|
1214
|
-
* uni.setStorage函数定义
|
|
1215
|
-
* 将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。
|
|
1216
|
-
*
|
|
1217
|
-
* @param {SetStorageOptions} options
|
|
1218
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstorage
|
|
1219
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
|
|
1220
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
|
|
1203
|
+
*/
|
|
1204
|
+
complete?: ClearStorageCompleteCallback | null
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
export type ClearStorage = (option?: ClearStorageOptions | null) => void
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
export type ClearStorageSync = () => void
|
|
1211
|
+
|
|
1212
|
+
export interface Uni {
|
|
1213
|
+
/**
|
|
1214
|
+
* uni.setStorage函数定义
|
|
1215
|
+
* 将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。
|
|
1216
|
+
*
|
|
1217
|
+
* @param {SetStorageOptions} options
|
|
1218
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstorage
|
|
1219
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
|
|
1220
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
|
|
1221
1221
|
* @uniPlatform {
|
|
1222
1222
|
* "app": {
|
|
1223
1223
|
* "android": {
|
|
@@ -1234,7 +1234,7 @@ export interface Uni {
|
|
|
1234
1234
|
* "osVer": "3.0",
|
|
1235
1235
|
* "uniVer": "4.23",
|
|
1236
1236
|
* "unixVer": "4.61",
|
|
1237
|
-
* "
|
|
1237
|
+
* "unixVaporVer": "5.0"
|
|
1238
1238
|
* }
|
|
1239
1239
|
* },
|
|
1240
1240
|
* "mp": {
|
|
@@ -1283,21 +1283,21 @@ export interface Uni {
|
|
|
1283
1283
|
* "uniVer": "√",
|
|
1284
1284
|
* "unixVer": "4.0"
|
|
1285
1285
|
* }
|
|
1286
|
-
* }
|
|
1287
|
-
* @uniVersion 2.0.3
|
|
1286
|
+
* }
|
|
1287
|
+
* @uniVersion 2.0.3
|
|
1288
1288
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
1289
1289
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.setStorage.html
|
|
1290
|
-
*/
|
|
1291
|
-
setStorage(options: SetStorageOptions): void,
|
|
1292
|
-
/**
|
|
1293
|
-
* uni.setStorageSync函数定义
|
|
1294
|
-
* 将 data 存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个同步接口。
|
|
1295
|
-
*
|
|
1296
|
-
* @param {string} key 本地storage存储中的指定的 key
|
|
1297
|
-
* @param {any} data 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
|
|
1298
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstoragesync
|
|
1299
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
|
|
1300
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
|
|
1290
|
+
*/
|
|
1291
|
+
setStorage(options: SetStorageOptions): void,
|
|
1292
|
+
/**
|
|
1293
|
+
* uni.setStorageSync函数定义
|
|
1294
|
+
* 将 data 存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个同步接口。
|
|
1295
|
+
*
|
|
1296
|
+
* @param {string} key 本地storage存储中的指定的 key
|
|
1297
|
+
* @param {any} data 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
|
|
1298
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstoragesync
|
|
1299
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
|
|
1300
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
|
|
1301
1301
|
* @uniPlatform {
|
|
1302
1302
|
* "app": {
|
|
1303
1303
|
* "android": {
|
|
@@ -1314,7 +1314,7 @@ export interface Uni {
|
|
|
1314
1314
|
* "osVer": "3.0",
|
|
1315
1315
|
* "uniVer": "4.23",
|
|
1316
1316
|
* "unixVer": "4.61",
|
|
1317
|
-
* "
|
|
1317
|
+
* "unixVaporVer": "5.0"
|
|
1318
1318
|
* }
|
|
1319
1319
|
* },
|
|
1320
1320
|
* "mp": {
|
|
@@ -1363,20 +1363,20 @@ export interface Uni {
|
|
|
1363
1363
|
* "uniVer": "√",
|
|
1364
1364
|
* "unixVer": "4.0"
|
|
1365
1365
|
* }
|
|
1366
|
-
* }
|
|
1367
|
-
* @uniVersion 2.0.3
|
|
1366
|
+
* }
|
|
1367
|
+
* @uniVersion 2.0.3
|
|
1368
1368
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
1369
1369
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.setStorageSync.html
|
|
1370
|
-
*/
|
|
1371
|
-
setStorageSync(key: string, data: any): void,
|
|
1372
|
-
/**
|
|
1373
|
-
* uni.getStorage函数定义
|
|
1374
|
-
* 从本地存储中异步获取指定 key 对应的内容。
|
|
1375
|
-
*
|
|
1376
|
-
* @param {GetStorageOptions} options
|
|
1377
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorage
|
|
1378
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
|
|
1379
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
|
|
1370
|
+
*/
|
|
1371
|
+
setStorageSync(key: string, data: any): void,
|
|
1372
|
+
/**
|
|
1373
|
+
* uni.getStorage函数定义
|
|
1374
|
+
* 从本地存储中异步获取指定 key 对应的内容。
|
|
1375
|
+
*
|
|
1376
|
+
* @param {GetStorageOptions} options
|
|
1377
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorage
|
|
1378
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
|
|
1379
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
|
|
1380
1380
|
* @uniPlatform {
|
|
1381
1381
|
* "app": {
|
|
1382
1382
|
* "android": {
|
|
@@ -1393,7 +1393,7 @@ export interface Uni {
|
|
|
1393
1393
|
* "osVer": "3.0",
|
|
1394
1394
|
* "uniVer": "4.23",
|
|
1395
1395
|
* "unixVer": "4.61",
|
|
1396
|
-
* "
|
|
1396
|
+
* "unixVaporVer": "5.0"
|
|
1397
1397
|
* }
|
|
1398
1398
|
* },
|
|
1399
1399
|
* "mp": {
|
|
@@ -1442,20 +1442,20 @@ export interface Uni {
|
|
|
1442
1442
|
* "uniVer": "√",
|
|
1443
1443
|
* "unixVer": "4.0"
|
|
1444
1444
|
* }
|
|
1445
|
-
* }
|
|
1446
|
-
* @uniVersion 2.0.3
|
|
1445
|
+
* }
|
|
1446
|
+
* @uniVersion 2.0.3
|
|
1447
1447
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
1448
1448
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.getStorage.html
|
|
1449
|
-
*/
|
|
1450
|
-
getStorage(options: GetStorageOptions): void,
|
|
1451
|
-
/**
|
|
1452
|
-
* uni.getStorageSync函数定义
|
|
1453
|
-
* 从本地存储中同步获取指定 key 对应的内容。
|
|
1454
|
-
*
|
|
1455
|
-
* @param {string} key 本地存储中的指定的 key
|
|
1456
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstoragesync
|
|
1457
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
|
|
1458
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
|
|
1449
|
+
*/
|
|
1450
|
+
getStorage(options: GetStorageOptions): void,
|
|
1451
|
+
/**
|
|
1452
|
+
* uni.getStorageSync函数定义
|
|
1453
|
+
* 从本地存储中同步获取指定 key 对应的内容。
|
|
1454
|
+
*
|
|
1455
|
+
* @param {string} key 本地存储中的指定的 key
|
|
1456
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstoragesync
|
|
1457
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
|
|
1458
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
|
|
1459
1459
|
* @uniPlatform {
|
|
1460
1460
|
* "app": {
|
|
1461
1461
|
* "android": {
|
|
@@ -1472,7 +1472,7 @@ export interface Uni {
|
|
|
1472
1472
|
* "osVer": "3.0",
|
|
1473
1473
|
* "uniVer": "4.23",
|
|
1474
1474
|
* "unixVer": "4.61",
|
|
1475
|
-
* "
|
|
1475
|
+
* "unixVaporVer": "5.0"
|
|
1476
1476
|
* }
|
|
1477
1477
|
* },
|
|
1478
1478
|
* "mp": {
|
|
@@ -1521,20 +1521,20 @@ export interface Uni {
|
|
|
1521
1521
|
* "uniVer": "√",
|
|
1522
1522
|
* "unixVer": "4.0"
|
|
1523
1523
|
* }
|
|
1524
|
-
* }
|
|
1525
|
-
* @uniVersion 2.0.3
|
|
1524
|
+
* }
|
|
1525
|
+
* @uniVersion 2.0.3
|
|
1526
1526
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
1527
1527
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.getStorageSync.html
|
|
1528
|
-
*/
|
|
1529
|
-
getStorageSync(key: string): any | null,
|
|
1530
|
-
/**
|
|
1531
|
-
* uni.getStorageInfo函数定义
|
|
1532
|
-
* 异步获取当前 storage 的相关信息。
|
|
1533
|
-
*
|
|
1534
|
-
* @param {GetStorageInfoOptions} options
|
|
1535
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfo
|
|
1536
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
|
|
1537
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
|
|
1528
|
+
*/
|
|
1529
|
+
getStorageSync(key: string): any | null,
|
|
1530
|
+
/**
|
|
1531
|
+
* uni.getStorageInfo函数定义
|
|
1532
|
+
* 异步获取当前 storage 的相关信息。
|
|
1533
|
+
*
|
|
1534
|
+
* @param {GetStorageInfoOptions} options
|
|
1535
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfo
|
|
1536
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
|
|
1537
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
|
|
1538
1538
|
* @uniPlatform {
|
|
1539
1539
|
* "app": {
|
|
1540
1540
|
* "android": {
|
|
@@ -1551,7 +1551,7 @@ export interface Uni {
|
|
|
1551
1551
|
* "osVer": "3.0",
|
|
1552
1552
|
* "uniVer": "4.23",
|
|
1553
1553
|
* "unixVer": "4.61",
|
|
1554
|
-
* "
|
|
1554
|
+
* "unixVaporVer": "5.0"
|
|
1555
1555
|
* }
|
|
1556
1556
|
* },
|
|
1557
1557
|
* "mp": {
|
|
@@ -1600,20 +1600,20 @@ export interface Uni {
|
|
|
1600
1600
|
* "uniVer": "√",
|
|
1601
1601
|
* "unixVer": "4.0"
|
|
1602
1602
|
* }
|
|
1603
|
-
* }
|
|
1604
|
-
* @uniVersion 2.0.3
|
|
1603
|
+
* }
|
|
1604
|
+
* @uniVersion 2.0.3
|
|
1605
1605
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
1606
1606
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.getStorageInfo.html
|
|
1607
|
-
*/
|
|
1608
|
-
getStorageInfo(options: GetStorageInfoOptions): void,
|
|
1609
|
-
/**
|
|
1610
|
-
* uni.getStorageInfoSync函数定义
|
|
1611
|
-
* 同步获取当前 storage 的相关信息。
|
|
1612
|
-
*
|
|
1613
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfosync
|
|
1614
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
|
|
1615
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
|
|
1616
|
-
*
|
|
1607
|
+
*/
|
|
1608
|
+
getStorageInfo(options: GetStorageInfoOptions): void,
|
|
1609
|
+
/**
|
|
1610
|
+
* uni.getStorageInfoSync函数定义
|
|
1611
|
+
* 同步获取当前 storage 的相关信息。
|
|
1612
|
+
*
|
|
1613
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfosync
|
|
1614
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
|
|
1615
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
|
|
1616
|
+
*
|
|
1617
1617
|
* @uniPlatform {
|
|
1618
1618
|
* "app": {
|
|
1619
1619
|
* "android": {
|
|
@@ -1630,7 +1630,7 @@ export interface Uni {
|
|
|
1630
1630
|
* "osVer": "3.0",
|
|
1631
1631
|
* "uniVer": "4.23",
|
|
1632
1632
|
* "unixVer": "4.61",
|
|
1633
|
-
* "
|
|
1633
|
+
* "unixVaporVer": "5.0"
|
|
1634
1634
|
* }
|
|
1635
1635
|
* },
|
|
1636
1636
|
* "mp": {
|
|
@@ -1679,22 +1679,22 @@ export interface Uni {
|
|
|
1679
1679
|
* "uniVer": "√",
|
|
1680
1680
|
* "unixVer": "4.0"
|
|
1681
1681
|
* }
|
|
1682
|
-
* }
|
|
1683
|
-
* @uniVersion 2.0.3
|
|
1682
|
+
* }
|
|
1683
|
+
* @uniVersion 2.0.3
|
|
1684
1684
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
1685
1685
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.getStorageInfoSync.html
|
|
1686
|
-
*/
|
|
1687
|
-
getStorageInfoSync(): GetStorageInfoSuccess,
|
|
1688
|
-
/**
|
|
1689
|
-
* uni.removeStorage函数定义
|
|
1690
|
-
* 从本地存储中异步移除指定 key。
|
|
1691
|
-
*
|
|
1692
|
-
* @param {RemoveStorageOptions} options
|
|
1693
|
-
*
|
|
1694
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestorage
|
|
1695
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
|
|
1696
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
|
|
1697
|
-
*
|
|
1686
|
+
*/
|
|
1687
|
+
getStorageInfoSync(): GetStorageInfoSuccess,
|
|
1688
|
+
/**
|
|
1689
|
+
* uni.removeStorage函数定义
|
|
1690
|
+
* 从本地存储中异步移除指定 key。
|
|
1691
|
+
*
|
|
1692
|
+
* @param {RemoveStorageOptions} options
|
|
1693
|
+
*
|
|
1694
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestorage
|
|
1695
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
|
|
1696
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
|
|
1697
|
+
*
|
|
1698
1698
|
* @uniPlatform {
|
|
1699
1699
|
* "app": {
|
|
1700
1700
|
* "android": {
|
|
@@ -1711,7 +1711,7 @@ export interface Uni {
|
|
|
1711
1711
|
* "osVer": "3.0",
|
|
1712
1712
|
* "uniVer": "4.23",
|
|
1713
1713
|
* "unixVer": "4.61",
|
|
1714
|
-
* "
|
|
1714
|
+
* "unixVaporVer": "5.0"
|
|
1715
1715
|
* }
|
|
1716
1716
|
* },
|
|
1717
1717
|
* "mp": {
|
|
@@ -1760,22 +1760,22 @@ export interface Uni {
|
|
|
1760
1760
|
* "uniVer": "√",
|
|
1761
1761
|
* "unixVer": "4.0"
|
|
1762
1762
|
* }
|
|
1763
|
-
* }
|
|
1764
|
-
* @uniVersion 2.0.3
|
|
1763
|
+
* }
|
|
1764
|
+
* @uniVersion 2.0.3
|
|
1765
1765
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
1766
1766
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.removeStorage.html
|
|
1767
|
-
*/
|
|
1768
|
-
removeStorage(options: RemoveStorageOptions): void,
|
|
1769
|
-
/**
|
|
1770
|
-
* uni.removeStorageSync函数定义
|
|
1771
|
-
* 从本地存储中同步移除指定 key。
|
|
1772
|
-
*
|
|
1773
|
-
* @param {string} key 本地存储中的指定的 key
|
|
1774
|
-
*
|
|
1775
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestoragesync
|
|
1776
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
|
|
1777
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
|
|
1778
|
-
*
|
|
1767
|
+
*/
|
|
1768
|
+
removeStorage(options: RemoveStorageOptions): void,
|
|
1769
|
+
/**
|
|
1770
|
+
* uni.removeStorageSync函数定义
|
|
1771
|
+
* 从本地存储中同步移除指定 key。
|
|
1772
|
+
*
|
|
1773
|
+
* @param {string} key 本地存储中的指定的 key
|
|
1774
|
+
*
|
|
1775
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestoragesync
|
|
1776
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
|
|
1777
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
|
|
1778
|
+
*
|
|
1779
1779
|
* @uniPlatform {
|
|
1780
1780
|
* "app": {
|
|
1781
1781
|
* "android": {
|
|
@@ -1792,7 +1792,7 @@ export interface Uni {
|
|
|
1792
1792
|
* "osVer": "3.0",
|
|
1793
1793
|
* "uniVer": "4.23",
|
|
1794
1794
|
* "unixVer": "4.61",
|
|
1795
|
-
* "
|
|
1795
|
+
* "unixVaporVer": "5.0"
|
|
1796
1796
|
* }
|
|
1797
1797
|
* },
|
|
1798
1798
|
* "mp": {
|
|
@@ -1841,20 +1841,20 @@ export interface Uni {
|
|
|
1841
1841
|
* "uniVer": "√",
|
|
1842
1842
|
* "unixVer": "4.0"
|
|
1843
1843
|
* }
|
|
1844
|
-
* }
|
|
1845
|
-
* @uniVersion 2.0.3
|
|
1844
|
+
* }
|
|
1845
|
+
* @uniVersion 2.0.3
|
|
1846
1846
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
1847
1847
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.removeStorageSync.html
|
|
1848
|
-
*/
|
|
1849
|
-
removeStorageSync(key: string): void,
|
|
1850
|
-
/**
|
|
1851
|
-
* uni.clearStorage函数定义
|
|
1852
|
-
* 清除本地数据存储。
|
|
1853
|
-
*
|
|
1854
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstorage
|
|
1855
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
|
|
1856
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
|
|
1857
|
-
*
|
|
1848
|
+
*/
|
|
1849
|
+
removeStorageSync(key: string): void,
|
|
1850
|
+
/**
|
|
1851
|
+
* uni.clearStorage函数定义
|
|
1852
|
+
* 清除本地数据存储。
|
|
1853
|
+
*
|
|
1854
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstorage
|
|
1855
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
|
|
1856
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
|
|
1857
|
+
*
|
|
1858
1858
|
* @uniPlatform {
|
|
1859
1859
|
* "app": {
|
|
1860
1860
|
* "android": {
|
|
@@ -1871,7 +1871,7 @@ export interface Uni {
|
|
|
1871
1871
|
* "osVer": "3.0",
|
|
1872
1872
|
* "uniVer": "4.23",
|
|
1873
1873
|
* "unixVer": "4.61",
|
|
1874
|
-
* "
|
|
1874
|
+
* "unixVaporVer": "5.0"
|
|
1875
1875
|
* }
|
|
1876
1876
|
* },
|
|
1877
1877
|
* "mp": {
|
|
@@ -1920,20 +1920,20 @@ export interface Uni {
|
|
|
1920
1920
|
* "uniVer": "√",
|
|
1921
1921
|
* "unixVer": "4.0"
|
|
1922
1922
|
* }
|
|
1923
|
-
* }
|
|
1924
|
-
* @uniVersion 2.0.3
|
|
1923
|
+
* }
|
|
1924
|
+
* @uniVersion 2.0.3
|
|
1925
1925
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
1926
1926
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.clearStorage.html
|
|
1927
|
-
*/
|
|
1928
|
-
clearStorage(option?: ClearStorageOptions | null): void,
|
|
1929
|
-
/**
|
|
1930
|
-
* uni.clearStorageSync函数定义
|
|
1931
|
-
* 清除本地数据存储。
|
|
1932
|
-
*
|
|
1933
|
-
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstoragesync
|
|
1934
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
|
|
1935
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
|
|
1936
|
-
*
|
|
1927
|
+
*/
|
|
1928
|
+
clearStorage(option?: ClearStorageOptions | null): void,
|
|
1929
|
+
/**
|
|
1930
|
+
* uni.clearStorageSync函数定义
|
|
1931
|
+
* 清除本地数据存储。
|
|
1932
|
+
*
|
|
1933
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstoragesync
|
|
1934
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
|
|
1935
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
|
|
1936
|
+
*
|
|
1937
1937
|
* @uniPlatform {
|
|
1938
1938
|
* "app": {
|
|
1939
1939
|
* "android": {
|
|
@@ -1950,7 +1950,7 @@ export interface Uni {
|
|
|
1950
1950
|
* "osVer": "3.0",
|
|
1951
1951
|
* "uniVer": "4.23",
|
|
1952
1952
|
* "unixVer": "4.61",
|
|
1953
|
-
* "
|
|
1953
|
+
* "unixVaporVer": "5.0"
|
|
1954
1954
|
* }
|
|
1955
1955
|
* },
|
|
1956
1956
|
* "mp": {
|
|
@@ -1999,10 +1999,10 @@ export interface Uni {
|
|
|
1999
1999
|
* "uniVer": "√",
|
|
2000
2000
|
* "unixVer": "4.0"
|
|
2001
2001
|
* }
|
|
2002
|
-
* }
|
|
2003
|
-
* @uniVersion 2.0.3
|
|
2002
|
+
* }
|
|
2003
|
+
* @uniVersion 2.0.3
|
|
2004
2004
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
2005
2005
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.clearStorageSync.html
|
|
2006
|
-
*/
|
|
2007
|
-
clearStorageSync(): void
|
|
2008
|
-
}
|
|
2006
|
+
*/
|
|
2007
|
+
clearStorageSync(): void
|
|
2008
|
+
}
|