@tarojs/taro-h5 4.0.10 → 4.0.11
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/dist/api/ad/index.d.ts +3 -2
- package/dist/api/ad/index.js.map +1 -1
- package/dist/api/ai/facial.d.ts +4 -3
- package/dist/api/ai/facial.js.map +1 -1
- package/dist/api/ai/index.d.ts +3 -3
- package/dist/api/ai/inference.d.ts +3 -2
- package/dist/api/ai/inference.js.map +1 -1
- package/dist/api/ai/visual.d.ts +3 -2
- package/dist/api/ai/visual.js.map +1 -1
- package/dist/api/alipay/index.d.ts +3 -2
- package/dist/api/alipay/index.js.map +1 -1
- package/dist/api/base/crypto.d.ts +2 -1
- package/dist/api/base/crypto.js.map +1 -1
- package/dist/api/base/debug.d.ts +4 -3
- package/dist/api/base/debug.js.map +1 -1
- package/dist/api/base/index.d.ts +11 -10
- package/dist/api/base/index.js.map +1 -1
- package/dist/api/base/performance.d.ts +6 -5
- package/dist/api/base/performance.js.map +1 -1
- package/dist/api/base/system.d.ts +14 -14
- package/dist/api/base/system.js.map +1 -1
- package/dist/api/base/update.d.ts +3 -2
- package/dist/api/base/update.js.map +1 -1
- package/dist/api/base/weapp/app-event.d.ts +19 -19
- package/dist/api/base/weapp/app-event.js.map +1 -1
- package/dist/api/base/weapp/life-cycle.d.ts +3 -3
- package/dist/api/base/weapp/life-cycle.js.map +1 -1
- package/dist/api/canvas/CanvasContext.d.ts +10 -4
- package/dist/api/canvas/CanvasContext.js.map +1 -1
- package/dist/api/canvas/canvasGetImageData.d.ts +2 -2
- package/dist/api/canvas/canvasGetImageData.js.map +1 -1
- package/dist/api/canvas/canvasPutImageData.d.ts +2 -2
- package/dist/api/canvas/canvasPutImageData.js.map +1 -1
- package/dist/api/canvas/canvasToTempFilePath.d.ts +2 -2
- package/dist/api/canvas/canvasToTempFilePath.js.map +1 -1
- package/dist/api/canvas/createCanvasContext.d.ts +2 -2
- package/dist/api/canvas/createCanvasContext.js.map +1 -1
- package/dist/api/canvas/index.d.ts +6 -5
- package/dist/api/canvas/index.js.map +1 -1
- package/dist/api/cloud/index.d.ts +2 -2
- package/dist/api/cloud/index.js.map +1 -1
- package/dist/api/data-analysis/index.d.ts +5 -4
- package/dist/api/data-analysis/index.js.map +1 -1
- package/dist/api/device/accelerometer.d.ts +5 -5
- package/dist/api/device/accelerometer.js.map +1 -1
- package/dist/api/device/accessibility.d.ts +2 -1
- package/dist/api/device/accessibility.js.map +1 -1
- package/dist/api/device/battery.d.ts +3 -3
- package/dist/api/device/battery.js.map +1 -1
- package/dist/api/device/bluetooth-ble.d.ts +17 -16
- package/dist/api/device/bluetooth-ble.js.map +1 -1
- package/dist/api/device/bluetooth-peripheral.d.ts +4 -3
- package/dist/api/device/bluetooth-peripheral.js.map +1 -1
- package/dist/api/device/bluetooth.d.ts +14 -13
- package/dist/api/device/bluetooth.js.map +1 -1
- package/dist/api/device/calendar.d.ts +3 -3
- package/dist/api/device/calendar.js.map +1 -1
- package/dist/api/device/clipboard.d.ts +3 -3
- package/dist/api/device/clipboard.js.map +1 -1
- package/dist/api/device/compass.d.ts +5 -5
- package/dist/api/device/compass.js.map +1 -1
- package/dist/api/device/contact.d.ts +3 -2
- package/dist/api/device/contact.js.map +1 -1
- package/dist/api/device/crypto.d.ts +2 -1
- package/dist/api/device/crypto.js.map +1 -1
- package/dist/api/device/gyroscope.d.ts +5 -4
- package/dist/api/device/gyroscope.js.map +1 -1
- package/dist/api/device/iBeacon.d.ts +8 -7
- package/dist/api/device/iBeacon.js.map +1 -1
- package/dist/api/device/index.d.ts +24 -24
- package/dist/api/device/keyboard.d.ts +5 -4
- package/dist/api/device/keyboard.js.map +1 -1
- package/dist/api/device/memory.d.ts +3 -2
- package/dist/api/device/memory.js.map +1 -1
- package/dist/api/device/motion.d.ts +5 -5
- package/dist/api/device/motion.js.map +1 -1
- package/dist/api/device/network.d.ts +7 -7
- package/dist/api/device/network.js.map +1 -1
- package/dist/api/device/nfc.d.ts +8 -7
- package/dist/api/device/nfc.js.map +1 -1
- package/dist/api/device/phone.d.ts +2 -2
- package/dist/api/device/phone.js.map +1 -1
- package/dist/api/device/scan.d.ts +2 -1
- package/dist/api/device/scan.js.map +1 -1
- package/dist/api/device/screen.d.ts +10 -9
- package/dist/api/device/screen.js.map +1 -1
- package/dist/api/device/sms.d.ts +2 -1
- package/dist/api/device/sms.js.map +1 -1
- package/dist/api/device/vibrate.d.ts +3 -3
- package/dist/api/device/vibrate.js.map +1 -1
- package/dist/api/device/wifi.d.ts +13 -12
- package/dist/api/device/wifi.js.map +1 -1
- package/dist/api/ext/index.d.ts +3 -2
- package/dist/api/ext/index.js.map +1 -1
- package/dist/api/files/index.d.ts +9 -8
- package/dist/api/files/index.js.map +1 -1
- package/dist/api/framework/index.d.ts +3 -3
- package/dist/api/framework/index.js.map +1 -1
- package/dist/api/index.d.ts +25 -25
- package/dist/api/location/chooseLocation.d.ts +2 -3
- package/dist/api/location/chooseLocation.js.map +1 -1
- package/dist/api/location/getLocation.d.ts +2 -2
- package/dist/api/location/getLocation.js.map +1 -1
- package/dist/api/location/index.d.ts +8 -7
- package/dist/api/location/index.js.map +1 -1
- package/dist/api/location/locationChange.d.ts +7 -6
- package/dist/api/location/locationChange.js.map +1 -1
- package/dist/api/location/utils.d.ts +2 -1
- package/dist/api/location/utils.js.map +1 -1
- package/dist/api/media/audio/InnerAudioContext.d.ts +3 -3
- package/dist/api/media/audio/InnerAudioContext.js.map +1 -1
- package/dist/api/media/audio/index.d.ts +10 -10
- package/dist/api/media/audio/index.js.map +1 -1
- package/dist/api/media/background-audio/BackgroundAudioManager.d.ts +3 -3
- package/dist/api/media/background-audio/BackgroundAudioManager.js.map +1 -1
- package/dist/api/media/background-audio/index.d.ts +11 -10
- package/dist/api/media/background-audio/index.js.map +1 -1
- package/dist/api/media/camera.d.ts +2 -1
- package/dist/api/media/camera.js.map +1 -1
- package/dist/api/media/image/chooseImage.d.ts +2 -2
- package/dist/api/media/image/chooseImage.js.map +1 -1
- package/dist/api/media/image/getImageInfo.d.ts +2 -2
- package/dist/api/media/image/getImageInfo.js.map +1 -1
- package/dist/api/media/image/index.d.ts +10 -10
- package/dist/api/media/image/index.js.map +1 -1
- package/dist/api/media/image/previewImage.d.ts +2 -2
- package/dist/api/media/image/previewImage.js.map +1 -1
- package/dist/api/media/image/saveImageToPhotosAlbum.d.ts +2 -2
- package/dist/api/media/image/saveImageToPhotosAlbum.js.map +1 -1
- package/dist/api/media/index.d.ts +12 -12
- package/dist/api/media/live.d.ts +3 -2
- package/dist/api/media/live.js.map +1 -1
- package/dist/api/media/map.d.ts +2 -1
- package/dist/api/media/map.js.map +1 -1
- package/dist/api/media/media-recorder.d.ts +2 -1
- package/dist/api/media/media-recorder.js.map +1 -1
- package/dist/api/media/recorder.d.ts +4 -3
- package/dist/api/media/recorder.js.map +1 -1
- package/dist/api/media/video/chooseMedia.d.ts +2 -2
- package/dist/api/media/video/chooseMedia.js.map +1 -1
- package/dist/api/media/video/chooseVideo.d.ts +2 -2
- package/dist/api/media/video/chooseVideo.js.map +1 -1
- package/dist/api/media/video/getVideoInfo.d.ts +2 -3
- package/dist/api/media/video/getVideoInfo.js.map +1 -1
- package/dist/api/media/video/index.d.ts +8 -8
- package/dist/api/media/video/index.js.map +1 -1
- package/dist/api/media/video/saveVideoToPhotosAlbum.d.ts +2 -2
- package/dist/api/media/video/saveVideoToPhotosAlbum.js.map +1 -1
- package/dist/api/media/video-decoder.d.ts +2 -1
- package/dist/api/media/video-decoder.js.map +1 -1
- package/dist/api/media/video-processing.d.ts +2 -1
- package/dist/api/media/video-processing.js.map +1 -1
- package/dist/api/media/voip.d.ts +17 -16
- package/dist/api/media/voip.js.map +1 -1
- package/dist/api/navigate/index.d.ts +6 -5
- package/dist/api/navigate/index.js.map +1 -1
- package/dist/api/network/download.d.ts +2 -2
- package/dist/api/network/download.js.map +1 -1
- package/dist/api/network/index.d.ts +7 -7
- package/dist/api/network/mdns.d.ts +11 -10
- package/dist/api/network/mdns.js.map +1 -1
- package/dist/api/network/request/index.d.ts +4 -6
- package/dist/api/network/request/index.js.map +1 -1
- package/dist/api/network/tcp.d.ts +2 -1
- package/dist/api/network/tcp.js.map +1 -1
- package/dist/api/network/udp.d.ts +2 -1
- package/dist/api/network/udp.js.map +1 -1
- package/dist/api/network/upload.d.ts +2 -2
- package/dist/api/network/upload.js.map +1 -1
- package/dist/api/network/utils.d.ts +5 -4
- package/dist/api/network/utils.js.map +1 -1
- package/dist/api/network/websocket/index.d.ts +9 -9
- package/dist/api/network/websocket/index.js.map +1 -1
- package/dist/api/network/websocket/socketTask.d.ts +2 -2
- package/dist/api/network/websocket/socketTask.js.map +1 -1
- package/dist/api/open-api/account.d.ts +2 -1
- package/dist/api/open-api/account.js.map +1 -1
- package/dist/api/open-api/address.d.ts +2 -1
- package/dist/api/open-api/address.js.map +1 -1
- package/dist/api/open-api/authorize.d.ts +3 -2
- package/dist/api/open-api/authorize.js.map +1 -1
- package/dist/api/open-api/card.d.ts +3 -2
- package/dist/api/open-api/card.js.map +1 -1
- package/dist/api/open-api/channels-live.d.ts +9 -8
- package/dist/api/open-api/channels-live.js.map +1 -1
- package/dist/api/open-api/customer-service.d.ts +2 -1
- package/dist/api/open-api/customer-service.js.map +1 -1
- package/dist/api/open-api/device-voip.d.ts +3 -2
- package/dist/api/open-api/device-voip.js.map +1 -1
- package/dist/api/open-api/facial.d.ts +5 -4
- package/dist/api/open-api/facial.js.map +1 -1
- package/dist/api/open-api/favorites.d.ts +3 -2
- package/dist/api/open-api/favorites.js.map +1 -1
- package/dist/api/open-api/group.d.ts +2 -1
- package/dist/api/open-api/group.js.map +1 -1
- package/dist/api/open-api/index.d.ts +21 -21
- package/dist/api/open-api/invoice.d.ts +3 -2
- package/dist/api/open-api/invoice.js.map +1 -1
- package/dist/api/open-api/license-plate.d.ts +2 -1
- package/dist/api/open-api/license-plate.js.map +1 -1
- package/dist/api/open-api/login.d.ts +4 -3
- package/dist/api/open-api/login.js.map +1 -1
- package/dist/api/open-api/my-miniprogram.d.ts +2 -1
- package/dist/api/open-api/my-miniprogram.js.map +1 -1
- package/dist/api/open-api/privacy.d.ts +5 -4
- package/dist/api/open-api/privacy.js.map +1 -1
- package/dist/api/open-api/red-package.d.ts +2 -1
- package/dist/api/open-api/red-package.js.map +1 -1
- package/dist/api/open-api/settings.d.ts +3 -2
- package/dist/api/open-api/settings.js.map +1 -1
- package/dist/api/open-api/soter.d.ts +4 -3
- package/dist/api/open-api/soter.js.map +1 -1
- package/dist/api/open-api/subscribe-message.d.ts +3 -2
- package/dist/api/open-api/subscribe-message.js.map +1 -1
- package/dist/api/open-api/user-info.d.ts +3 -2
- package/dist/api/open-api/user-info.js.map +1 -1
- package/dist/api/open-api/werun.d.ts +3 -2
- package/dist/api/open-api/werun.js.map +1 -1
- package/dist/api/payment/index.d.ts +4 -3
- package/dist/api/payment/index.js.map +1 -1
- package/dist/api/qq/index.d.ts +10 -9
- package/dist/api/qq/index.js.map +1 -1
- package/dist/api/route/index.d.ts +1 -1
- package/dist/api/route/index.js.map +1 -1
- package/dist/api/share/index.d.ts +11 -10
- package/dist/api/share/index.js.map +1 -1
- package/dist/api/storage/background-fetch.d.ts +5 -4
- package/dist/api/storage/background-fetch.js.map +1 -1
- package/dist/api/storage/cache-manager.d.ts +2 -1
- package/dist/api/storage/cache-manager.js.map +1 -1
- package/dist/api/storage/index.d.ts +19 -19
- package/dist/api/storage/index.js.map +1 -1
- package/dist/api/swan/index.d.ts +22 -21
- package/dist/api/swan/index.js.map +1 -1
- package/dist/api/taro.d.ts +1 -3
- package/dist/api/taro.js.map +1 -1
- package/dist/api/ui/animation/index.d.ts +2 -2
- package/dist/api/ui/animation/index.js.map +1 -1
- package/dist/api/ui/animation/worklet.js.map +1 -1
- package/dist/api/ui/background.d.ts +3 -2
- package/dist/api/ui/background.js.map +1 -1
- package/dist/api/ui/custom-component.d.ts +2 -1
- package/dist/api/ui/custom-component.js.map +1 -1
- package/dist/api/ui/fonts.d.ts +2 -2
- package/dist/api/ui/fonts.js.map +1 -1
- package/dist/api/ui/index.d.ts +13 -13
- package/dist/api/ui/interaction/actionSheet.d.ts +2 -1
- package/dist/api/ui/interaction/actionSheet.js.map +1 -1
- package/dist/api/ui/interaction/index.d.ts +0 -1
- package/dist/api/ui/interaction/index.js.map +1 -1
- package/dist/api/ui/interaction/modal.d.ts +2 -1
- package/dist/api/ui/interaction/modal.js.map +1 -1
- package/dist/api/ui/interaction/toast.d.ts +2 -1
- package/dist/api/ui/interaction/toast.js.map +1 -1
- package/dist/api/ui/menu.d.ts +2 -1
- package/dist/api/ui/menu.js.map +1 -1
- package/dist/api/ui/navigation-bar/index.d.ts +6 -6
- package/dist/api/ui/navigation-bar/index.js.map +1 -1
- package/dist/api/ui/pull-down-refresh.d.ts +3 -3
- package/dist/api/ui/pull-down-refresh.js.map +1 -1
- package/dist/api/ui/scroll/index.d.ts +2 -2
- package/dist/api/ui/scroll/index.js.map +1 -1
- package/dist/api/ui/sticky.d.ts +2 -1
- package/dist/api/ui/sticky.js.map +1 -1
- package/dist/api/ui/tab-bar.d.ts +12 -11
- package/dist/api/ui/tab-bar.js.map +1 -1
- package/dist/api/ui/window.d.ts +5 -5
- package/dist/api/ui/window.js.map +1 -1
- package/dist/api/worker/index.d.ts +2 -1
- package/dist/api/worker/index.js.map +1 -1
- package/dist/api/wxml/IntersectionObserver.d.ts +2 -3
- package/dist/api/wxml/IntersectionObserver.js.map +1 -1
- package/dist/api/wxml/MediaQueryObserver.d.ts +4 -2
- package/dist/api/wxml/MediaQueryObserver.js.map +1 -1
- package/dist/api/wxml/index.d.ts +5 -6
- package/dist/api/wxml/index.js.map +1 -1
- package/dist/api/wxml/nodesRef.d.ts +3 -3
- package/dist/api/wxml/nodesRef.js.map +1 -1
- package/dist/api/wxml/selectorQuery.d.ts +3 -4
- package/dist/api/wxml/selectorQuery.js.map +1 -1
- package/dist/index.cjs.d.ts +907 -0
- package/dist/index.cjs.js +27 -27
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.d.ts +907 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -1
- package/dist/utils/animation.d.ts +3 -2
- package/dist/utils/animation.js.map +1 -1
- package/dist/utils/handler.d.ts +3 -3
- package/dist/utils/handler.js.map +1 -1
- package/dist/utils/helper.d.ts +2 -1
- package/dist/utils/helper.js.map +1 -1
- package/dist/utils/index.d.ts +17 -16
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/valid.d.ts +2 -1
- package/dist/utils/valid.js.map +1 -1
- package/package.json +11 -11
- package/dist/api/media/EditorContext.d.ts +0 -17
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const openCustomerServiceChat: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
export { openCustomerServiceChat };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-service.js","sources":["../../../src/api/open-api/customer-service.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"customer-service.js","sources":["../../../src/api/open-api/customer-service.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 微信客服\nexport const openCustomerServiceChat = /* @__PURE__ */ temporarilyNotSupport('openCustomerServiceChat')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,uBAAuB,mBAAmB,qBAAqB,CAAC,yBAAyB;;;;"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const requestDeviceVoIP: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const getDeviceVoIPList: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
export { requestDeviceVoIP, getDeviceVoIPList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-voip.js","sources":["../../../src/api/open-api/device-voip.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"device-voip.js","sources":["../../../src/api/open-api/device-voip.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 设备(组)音视频通话\nexport const requestDeviceVoIP = /* @__PURE__ */ temporarilyNotSupport('requestDeviceVoIP')\nexport const getDeviceVoIPList = /* @__PURE__ */ temporarilyNotSupport('getDeviceVoIPList')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,iBAAiB,mBAAmB,qBAAqB,CAAC,mBAAmB,EAAC;AAC9E,MAAA,iBAAiB,mBAAmB,qBAAqB,CAAC,mBAAmB;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare const checkIsSupportFacialRecognition: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const startFacialRecognitionVerify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
declare const startFacialRecognitionVerifyAndUploadVideo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
4
|
+
declare const faceVerifyForPay: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
5
|
+
export { checkIsSupportFacialRecognition, startFacialRecognitionVerify, startFacialRecognitionVerifyAndUploadVideo, faceVerifyForPay };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facial.js","sources":["../../../src/api/open-api/facial.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"facial.js","sources":["../../../src/api/open-api/facial.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 过往接口\nexport const checkIsSupportFacialRecognition = /* @__PURE__ */ temporarilyNotSupport('checkIsSupportFacialRecognition')\nexport const startFacialRecognitionVerify = /* @__PURE__ */ temporarilyNotSupport('startFacialRecognitionVerify')\nexport const startFacialRecognitionVerifyAndUploadVideo = /* @__PURE__ */ temporarilyNotSupport('startFacialRecognitionVerifyAndUploadVideo')\nexport const faceVerifyForPay = /* @__PURE__ */ temporarilyNotSupport('faceVerifyForPay')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,+BAA+B,mBAAmB,qBAAqB,CAAC,iCAAiC,EAAC;AAC1G,MAAA,4BAA4B,mBAAmB,qBAAqB,CAAC,8BAA8B,EAAC;AACpG,MAAA,0CAA0C,mBAAmB,qBAAqB,CAAC,4CAA4C,EAAC;AAChI,MAAA,gBAAgB,mBAAmB,qBAAqB,CAAC,kBAAkB;;;;"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const addVideoToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const addFileToFavorites: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
export { addVideoToFavorites, addFileToFavorites };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"favorites.js","sources":["../../../src/api/open-api/favorites.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"favorites.js","sources":["../../../src/api/open-api/favorites.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 收藏\nexport const addVideoToFavorites = /* @__PURE__ */ temporarilyNotSupport('addVideoToFavorites')\nexport const addFileToFavorites = /* @__PURE__ */ temporarilyNotSupport('addFileToFavorites')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,mBAAmB,mBAAmB,qBAAqB,CAAC,qBAAqB,EAAC;AAClF,MAAA,kBAAkB,mBAAmB,qBAAqB,CAAC,oBAAoB;;;;"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const getGroupEnterInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
export { getGroupEnterInfo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.js","sources":["../../../src/api/open-api/group.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"group.js","sources":["../../../src/api/open-api/group.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 微信群\nexport const getGroupEnterInfo = /* @__PURE__ */ temporarilyNotSupport('getGroupEnterInfo')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,iBAAiB,mBAAmB,qBAAqB,CAAC,mBAAmB;;;;"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
1
|
+
export * from "./account.js";
|
|
2
|
+
export * from "./address.js";
|
|
3
|
+
export * from "./authorize.js";
|
|
4
|
+
export * from "./card.js";
|
|
5
|
+
export * from "./channels-live.js";
|
|
6
|
+
export * from "./customer-service.js";
|
|
7
|
+
export * from "./device-voip.js";
|
|
8
|
+
export * from "./facial.js";
|
|
9
|
+
export * from "./favorites.js";
|
|
10
|
+
export * from "./group.js";
|
|
11
|
+
export * from "./invoice.js";
|
|
12
|
+
export * from "./license-plate.js";
|
|
13
|
+
export * from "./login.js";
|
|
14
|
+
export * from "./my-miniprogram.js";
|
|
15
|
+
export * from "./privacy.js";
|
|
16
|
+
export * from "./red-package.js";
|
|
17
|
+
export * from "./settings.js";
|
|
18
|
+
export * from "./soter.js";
|
|
19
|
+
export * from "./subscribe-message.js";
|
|
20
|
+
export * from "./user-info.js";
|
|
21
|
+
export * from "./werun.js";
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const chooseInvoiceTitle: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const chooseInvoice: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
export { chooseInvoiceTitle, chooseInvoice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.js","sources":["../../../src/api/open-api/invoice.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"invoice.js","sources":["../../../src/api/open-api/invoice.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 发票\nexport const chooseInvoiceTitle = /* @__PURE__ */ temporarilyNotSupport('chooseInvoiceTitle')\nexport const chooseInvoice = /* @__PURE__ */ temporarilyNotSupport('chooseInvoice')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,kBAAkB,mBAAmB,qBAAqB,CAAC,oBAAoB,EAAC;AAChF,MAAA,aAAa,mBAAmB,qBAAqB,CAAC,eAAe;;;;"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const chooseLicensePlate: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
export { chooseLicensePlate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-plate.js","sources":["../../../src/api/open-api/license-plate.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"license-plate.js","sources":["../../../src/api/open-api/license-plate.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 车牌\nexport const chooseLicensePlate = /* @__PURE__ */ temporarilyNotSupport('chooseLicensePlate')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,kBAAkB,mBAAmB,qBAAqB,CAAC,oBAAoB;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const pluginLogin: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const login: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
declare const checkSession: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
4
|
+
export { pluginLogin, login, checkSession };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.js","sources":["../../../src/api/open-api/login.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"login.js","sources":["../../../src/api/open-api/login.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 帐号信息\nexport const pluginLogin = /* @__PURE__ */ temporarilyNotSupport('pluginLogin')\nexport const login = /* @__PURE__ */ temporarilyNotSupport('login')\nexport const checkSession = /* @__PURE__ */ temporarilyNotSupport('checkSession')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,WAAW,mBAAmB,qBAAqB,CAAC,aAAa,EAAC;AAClE,MAAA,KAAK,mBAAmB,qBAAqB,CAAC,OAAO,EAAC;AACtD,MAAA,YAAY,mBAAmB,qBAAqB,CAAC,cAAc;;;;"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const checkIsAddedToMyMiniProgram: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
export { checkIsAddedToMyMiniProgram };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"my-miniprogram.js","sources":["../../../src/api/open-api/my-miniprogram.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"my-miniprogram.js","sources":["../../../src/api/open-api/my-miniprogram.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 我的小程序\nexport const checkIsAddedToMyMiniProgram = /* @__PURE__ */ temporarilyNotSupport('checkIsAddedToMyMiniProgram')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,2BAA2B,mBAAmB,qBAAqB,CAAC,6BAA6B;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare const requirePrivacyAuthorize: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const openPrivacyContract: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
declare const onNeedPrivacyAuthorization: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
4
|
+
declare const getPrivacySetting: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
5
|
+
export { requirePrivacyAuthorize, openPrivacyContract, onNeedPrivacyAuthorization, getPrivacySetting };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privacy.js","sources":["../../../src/api/open-api/privacy.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"privacy.js","sources":["../../../src/api/open-api/privacy.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 隐私信息授权\nexport const requirePrivacyAuthorize = /* @__PURE__ */ temporarilyNotSupport('requirePrivacyAuthorize')\nexport const openPrivacyContract = /* @__PURE__ */ temporarilyNotSupport('openPrivacyContract')\nexport const onNeedPrivacyAuthorization = /* @__PURE__ */ temporarilyNotSupport('onNeedPrivacyAuthorization')\nexport const getPrivacySetting = /* @__PURE__ */ temporarilyNotSupport('getPrivacySetting')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,uBAAuB,mBAAmB,qBAAqB,CAAC,yBAAyB,EAAC;AAC1F,MAAA,mBAAmB,mBAAmB,qBAAqB,CAAC,qBAAqB,EAAC;AAClF,MAAA,0BAA0B,mBAAmB,qBAAqB,CAAC,4BAA4B,EAAC;AAChG,MAAA,iBAAiB,mBAAmB,qBAAqB,CAAC,mBAAmB;;;;"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const showRedPackage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
export { showRedPackage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"red-package.js","sources":["../../../src/api/open-api/red-package.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"red-package.js","sources":["../../../src/api/open-api/red-package.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 微信红包\nexport const showRedPackage = /* @__PURE__ */ temporarilyNotSupport('showRedPackage')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,cAAc,mBAAmB,qBAAqB,CAAC,gBAAgB;;;;"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const openSetting: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const getSetting: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
export { openSetting, getSetting };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sources":["../../../src/api/open-api/settings.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"settings.js","sources":["../../../src/api/open-api/settings.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 设置\nexport const openSetting = /* @__PURE__ */ temporarilyNotSupport('openSetting')\nexport const getSetting = /* @__PURE__ */ temporarilyNotSupport('getSetting')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,WAAW,mBAAmB,qBAAqB,CAAC,aAAa,EAAC;AAClE,MAAA,UAAU,mBAAmB,qBAAqB,CAAC,YAAY;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const startSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const checkIsSupportSoterAuthentication: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
declare const checkIsSoterEnrolledInDevice: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
4
|
+
export { startSoterAuthentication, checkIsSupportSoterAuthentication, checkIsSoterEnrolledInDevice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"soter.js","sources":["../../../src/api/open-api/soter.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"soter.js","sources":["../../../src/api/open-api/soter.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 生物认证\nexport const startSoterAuthentication = /* @__PURE__ */ temporarilyNotSupport('startSoterAuthentication')\nexport const checkIsSupportSoterAuthentication = /* @__PURE__ */ temporarilyNotSupport('checkIsSupportSoterAuthentication')\nexport const checkIsSoterEnrolledInDevice = /* @__PURE__ */ temporarilyNotSupport('checkIsSoterEnrolledInDevice')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,wBAAwB,mBAAmB,qBAAqB,CAAC,0BAA0B,EAAC;AAC5F,MAAA,iCAAiC,mBAAmB,qBAAqB,CAAC,mCAAmC,EAAC;AAC9G,MAAA,4BAA4B,mBAAmB,qBAAqB,CAAC,8BAA8B;;;;"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const requestSubscribeMessage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const requestSubscribeDeviceMessage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
export { requestSubscribeMessage, requestSubscribeDeviceMessage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribe-message.js","sources":["../../../src/api/open-api/subscribe-message.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"subscribe-message.js","sources":["../../../src/api/open-api/subscribe-message.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 订阅消息\nexport const requestSubscribeMessage = /* @__PURE__ */ temporarilyNotSupport('requestSubscribeMessage')\n// 订阅设备消息\nexport const requestSubscribeDeviceMessage = /* @__PURE__ */ temporarilyNotSupport('requestSubscribeDeviceMessage')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,uBAAuB,mBAAmB,qBAAqB,CAAC,yBAAyB,EAAC;AACvG;AACa,MAAA,6BAA6B,mBAAmB,qBAAqB,CAAC,+BAA+B;;;;"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const getUserProfile: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const getUserInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
export { getUserProfile, getUserInfo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-info.js","sources":["../../../src/api/open-api/user-info.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"user-info.js","sources":["../../../src/api/open-api/user-info.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 用户信息\nexport const getUserProfile = /* @__PURE__ */ temporarilyNotSupport('getUserProfile')\nexport const getUserInfo = /* @__PURE__ */ temporarilyNotSupport('getUserInfo')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,cAAc,mBAAmB,qBAAqB,CAAC,gBAAgB,EAAC;AACxE,MAAA,WAAW,mBAAmB,qBAAqB,CAAC,aAAa;;;;"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const shareToWeRun: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const getWeRunData: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
export { shareToWeRun, getWeRunData };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"werun.js","sources":["../../../src/api/open-api/werun.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"werun.js","sources":["../../../src/api/open-api/werun.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 微信运动\nexport const shareToWeRun = /* @__PURE__ */ temporarilyNotSupport('shareToWeRun')\nexport const getWeRunData = /* @__PURE__ */ temporarilyNotSupport('getWeRunData')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,YAAY,mBAAmB,qBAAqB,CAAC,cAAc,EAAC;AACpE,MAAA,YAAY,mBAAmB,qBAAqB,CAAC,cAAc;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const requestPayment: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const requestPluginPayment: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
declare const requestOrderPayment: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
4
|
+
export { requestPayment, requestPluginPayment, requestOrderPayment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/api/payment/index.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/api/payment/index.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 支付\nexport const requestPayment = /* @__PURE__ */ temporarilyNotSupport('requestPayment')\nexport const requestPluginPayment = /* @__PURE__ */ temporarilyNotSupport('requestPluginPayment')\nexport const requestOrderPayment = /* @__PURE__ */ temporarilyNotSupport('requestOrderPayment')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,cAAc,mBAAmB,qBAAqB,CAAC,gBAAgB,EAAC;AACxE,MAAA,oBAAoB,mBAAmB,qBAAqB,CAAC,sBAAsB,EAAC;AACpF,MAAA,mBAAmB,mBAAmB,qBAAqB,CAAC,qBAAqB;;;;"}
|
package/dist/api/qq/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
declare const openQzonePublish: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const getQQRunData: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
declare const setOfficialDress: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
4
|
+
declare const setCustomDress: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
5
|
+
declare const updateQQApp: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
6
|
+
declare const addRecentColorSign: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
7
|
+
declare const getGuildInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
8
|
+
declare const applyAddToMyApps: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
9
|
+
declare const isAddedToMyApps: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
10
|
+
export { openQzonePublish, getQQRunData, setOfficialDress, setCustomDress, updateQQApp, addRecentColorSign, getGuildInfo, applyAddToMyApps, isAddedToMyApps };
|
package/dist/api/qq/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/api/qq/index.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/api/qq/index.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 打开手Q说说发表界面\nexport const openQzonePublish = /* @__PURE__ */ temporarilyNotSupport('openQzonePublish')\nexport const getQQRunData = /* @__PURE__ */ temporarilyNotSupport('getQQRunData')\nexport const setOfficialDress = /* @__PURE__ */ temporarilyNotSupport('setOfficialDress')\nexport const setCustomDress = /* @__PURE__ */ temporarilyNotSupport('setCustomDress')\nexport const updateQQApp = /* @__PURE__ */ temporarilyNotSupport('updateQQApp')\nexport const addRecentColorSign = /* @__PURE__ */ temporarilyNotSupport('addRecentColorSign')\nexport const getGuildInfo = /* @__PURE__ */ temporarilyNotSupport('getGuildInfo')\nexport const applyAddToMyApps = /* @__PURE__ */ temporarilyNotSupport('applyAddToMyApps')\nexport const isAddedToMyApps = /* @__PURE__ */ temporarilyNotSupport('isAddedToMyApps')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,gBAAgB,mBAAmB,qBAAqB,CAAC,kBAAkB,EAAC;AAC5E,MAAA,YAAY,mBAAmB,qBAAqB,CAAC,cAAc,EAAC;AACpE,MAAA,gBAAgB,mBAAmB,qBAAqB,CAAC,kBAAkB,EAAC;AAC5E,MAAA,cAAc,mBAAmB,qBAAqB,CAAC,gBAAgB,EAAC;AACxE,MAAA,WAAW,mBAAmB,qBAAqB,CAAC,aAAa,EAAC;AAClE,MAAA,kBAAkB,mBAAmB,qBAAqB,CAAC,oBAAoB,EAAC;AAChF,MAAA,YAAY,mBAAmB,qBAAqB,CAAC,cAAc,EAAC;AACpE,MAAA,gBAAgB,mBAAmB,qBAAqB,CAAC,kBAAkB,EAAC;AAC5E,MAAA,eAAe,mBAAmB,qBAAqB,CAAC,iBAAiB;;;;"}
|
|
@@ -3,5 +3,5 @@ declare const router: {
|
|
|
3
3
|
getRouteContext: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
4
4
|
removeRouteBuilder: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
5
5
|
};
|
|
6
|
-
export { navigateBack, navigateTo, redirectTo, reLaunch, switchTab
|
|
6
|
+
export { navigateBack, navigateTo, redirectTo, reLaunch, switchTab } from '@tarojs/router';
|
|
7
7
|
export { router };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/api/route/index.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/api/route/index.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\nconst router = {\n addRouteBuilder: /* @__PURE__ */ temporarilyNotSupport('addRouteBuilder'),\n getRouteContext: /* @__PURE__ */ temporarilyNotSupport('getRouteContext'),\n removeRouteBuilder: /* @__PURE__ */ temporarilyNotSupport('removeRouteBuilder')\n}\n\n// 路由\nexport {\n navigateBack,\n navigateTo,\n redirectTo,\n reLaunch,\n switchTab,\n} from '@tarojs/router'\n\nexport {\n router\n}\n\n// FIXME 方法导出类型未对齐,后续修复\n"],"names":[],"mappings":";;;AAEA,MAAM,MAAM,GAAG;AACb,IAAA,eAAe,kBAAkB,qBAAqB,CAAC,iBAAiB,CAAC;AACzE,IAAA,eAAe,kBAAkB,qBAAqB,CAAC,iBAAiB,CAAC;AACzE,IAAA,kBAAkB,kBAAkB,qBAAqB,CAAC,oBAAoB,CAAC;EAChF;AAeD;;;;"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
/** 更新转发属性 */
|
|
2
|
-
|
|
2
|
+
declare const updateShareMenu: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
3
|
/** 显示当前页面的转发按钮 */
|
|
4
|
-
|
|
4
|
+
declare const showShareMenu: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
5
5
|
/** 打开分享图片弹窗,可以将图片发送给朋友、收藏或下载 */
|
|
6
|
-
|
|
6
|
+
declare const showShareImageMenu: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
7
7
|
/** 转发视频到聊天 */
|
|
8
|
-
|
|
8
|
+
declare const shareVideoMessage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
9
9
|
/** 转发文件到聊天 */
|
|
10
|
-
|
|
10
|
+
declare const shareFileMessage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
11
11
|
/** 监听用户点击右上角菜单的「复制链接」按钮时触发的事件 */
|
|
12
|
-
|
|
12
|
+
declare const onCopyUrl: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
13
13
|
/** 移除用户点击右上角菜单的「复制链接」按钮时触发的事件的监听函数 */
|
|
14
|
-
|
|
14
|
+
declare const offCopyUrl: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
15
15
|
/** 隐藏当前页面的转发按钮 */
|
|
16
|
-
|
|
16
|
+
declare const hideShareMenu: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
17
17
|
/** 获取转发详细信息 */
|
|
18
|
-
|
|
18
|
+
declare const getShareInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
19
19
|
/** 验证私密消息。 */
|
|
20
|
-
|
|
20
|
+
declare const authPrivateMessage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
21
|
+
export { updateShareMenu, showShareMenu, showShareImageMenu, shareVideoMessage, shareFileMessage, onCopyUrl, offCopyUrl, hideShareMenu, getShareInfo, authPrivateMessage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/api/share/index.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/api/share/index.ts"],"sourcesContent":["import { permanentlyNotSupport, temporarilyNotSupport } from '../../utils'\n\n// 转发\n\n/** 更新转发属性 */\nexport const updateShareMenu = /* @__PURE__ */ temporarilyNotSupport('updateShareMenu')\n\n/** 显示当前页面的转发按钮 */\nexport const showShareMenu = /* @__PURE__ */ temporarilyNotSupport('showShareMenu')\n\n/** 打开分享图片弹窗,可以将图片发送给朋友、收藏或下载 */\nexport const showShareImageMenu = /* @__PURE__ */ temporarilyNotSupport('showShareImageMenu')\n\n/** 转发视频到聊天 */\nexport const shareVideoMessage = /* @__PURE__ */ temporarilyNotSupport('shareVideoMessage')\n\n/** 转发文件到聊天 */\nexport const shareFileMessage = /* @__PURE__ */ temporarilyNotSupport('shareFileMessage')\n\n/** 监听用户点击右上角菜单的「复制链接」按钮时触发的事件 */\nexport const onCopyUrl = /* @__PURE__ */ temporarilyNotSupport('onCopyUrl')\n\n/** 移除用户点击右上角菜单的「复制链接」按钮时触发的事件的监听函数 */\nexport const offCopyUrl = /* @__PURE__ */ temporarilyNotSupport('offCopyUrl')\n\n/** 隐藏当前页面的转发按钮 */\nexport const hideShareMenu = /* @__PURE__ */ temporarilyNotSupport('hideShareMenu')\n\n/** 获取转发详细信息 */\nexport const getShareInfo = /* @__PURE__ */ temporarilyNotSupport('getShareInfo')\n\n/** 验证私密消息。 */\nexport const authPrivateMessage = /* @__PURE__ */ permanentlyNotSupport('authPrivateMessage')\n"],"names":[],"mappings":";;AAEA;AAEA;AACa,MAAA,eAAe,mBAAmB,qBAAqB,CAAC,iBAAiB,EAAC;AAEvF;AACa,MAAA,aAAa,mBAAmB,qBAAqB,CAAC,eAAe,EAAC;AAEnF;AACa,MAAA,kBAAkB,mBAAmB,qBAAqB,CAAC,oBAAoB,EAAC;AAE7F;AACa,MAAA,iBAAiB,mBAAmB,qBAAqB,CAAC,mBAAmB,EAAC;AAE3F;AACa,MAAA,gBAAgB,mBAAmB,qBAAqB,CAAC,kBAAkB,EAAC;AAEzF;AACa,MAAA,SAAS,mBAAmB,qBAAqB,CAAC,WAAW,EAAC;AAE3E;AACa,MAAA,UAAU,mBAAmB,qBAAqB,CAAC,YAAY,EAAC;AAE7E;AACa,MAAA,aAAa,mBAAmB,qBAAqB,CAAC,eAAe,EAAC;AAEnF;AACa,MAAA,YAAY,mBAAmB,qBAAqB,CAAC,cAAc,EAAC;AAEjF;AACa,MAAA,kBAAkB,mBAAmB,qBAAqB,CAAC,oBAAoB;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare const setBackgroundFetchToken: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const onBackgroundFetchData: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
declare const getBackgroundFetchToken: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
4
|
+
declare const getBackgroundFetchData: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
5
|
+
export { setBackgroundFetchToken, onBackgroundFetchData, getBackgroundFetchToken, getBackgroundFetchData };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-fetch.js","sources":["../../../src/api/storage/background-fetch.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"background-fetch.js","sources":["../../../src/api/storage/background-fetch.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 周期性更新\nexport const setBackgroundFetchToken = /* @__PURE__ */ temporarilyNotSupport('setBackgroundFetchToken')\nexport const onBackgroundFetchData = /* @__PURE__ */ temporarilyNotSupport('onBackgroundFetchData')\nexport const getBackgroundFetchToken = /* @__PURE__ */ temporarilyNotSupport('getBackgroundFetchToken')\nexport const getBackgroundFetchData = /* @__PURE__ */ temporarilyNotSupport('getBackgroundFetchData')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,uBAAuB,mBAAmB,qBAAqB,CAAC,yBAAyB,EAAC;AAC1F,MAAA,qBAAqB,mBAAmB,qBAAqB,CAAC,uBAAuB,EAAC;AACtF,MAAA,uBAAuB,mBAAmB,qBAAqB,CAAC,yBAAyB,EAAC;AAC1F,MAAA,sBAAsB,mBAAmB,qBAAqB,CAAC,wBAAwB;;;;"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const createCacheManager: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
export { createCacheManager };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-manager.js","sources":["../../../src/api/storage/cache-manager.ts"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"cache-manager.js","sources":["../../../src/api/storage/cache-manager.ts"],"sourcesContent":["import { temporarilyNotSupport } from '../../utils'\n\n// 周期性更新\nexport const createCacheManager = /* @__PURE__ */ temporarilyNotSupport('createCacheManager')\n"],"names":[],"mappings":";;AAEA;AACa,MAAA,kBAAkB,mBAAmB,qBAAqB,CAAC,oBAAoB;;;;"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/// <reference types="types/api" />
|
|
2
1
|
import Taro from '@tarojs/api';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export
|
|
20
|
-
export * from
|
|
2
|
+
declare const setStorageSync: typeof Taro.setStorageSync;
|
|
3
|
+
declare const setStorage: typeof Taro.setStorage;
|
|
4
|
+
declare const revokeBufferURL: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
5
|
+
declare const removeStorageSync: typeof Taro.removeStorageSync;
|
|
6
|
+
declare const removeStorage: typeof Taro.removeStorage;
|
|
7
|
+
declare const getStorageSync: typeof Taro.getStorageSync;
|
|
8
|
+
declare const getStorageInfoSync: typeof Taro.getStorageInfoSync;
|
|
9
|
+
declare const getStorageInfo: typeof Taro.getStorageInfo;
|
|
10
|
+
declare const getStorage: typeof Taro.getStorage;
|
|
11
|
+
declare const createBufferURL: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
12
|
+
declare const clearStorageSync: typeof Taro.clearStorageSync;
|
|
13
|
+
declare const clearStorage: typeof Taro.clearStorage;
|
|
14
|
+
declare const batchSetStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
15
|
+
declare const batchSetStorage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
16
|
+
declare const batchGetStorageSync: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
17
|
+
declare const batchGetStorage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
18
|
+
export { setStorageSync, setStorage, revokeBufferURL, removeStorageSync, removeStorage, getStorageSync, getStorageInfoSync, getStorageInfo, getStorage, createBufferURL, clearStorageSync, clearStorage, batchSetStorageSync, batchSetStorage, batchGetStorageSync, batchGetStorage };
|
|
19
|
+
export * from "./background-fetch.js";
|
|
20
|
+
export * from "./cache-manager.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/api/storage/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAKA,SAAS,OAAO,CAAE,GAAG,EAAA;AACnB,IAAA,IAAI,IAAI,CAAA;AACR,IAAA,IAAI;AACF,QAAA,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;KACnD;AAAC,IAAA,OAAO,CAAC,EAAE,GAAE;;AAGd,IAAA,IAAI,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE;QACnE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAA;KACzC;SAAM;AACL,QAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAA;KACzB;AACH,CAAC;AAED;AACa,MAAA,cAAc,GAA+B,CAAC,GAAG,EAAE,IAAI,GAAG,EAAE,KAAI;AAC3E,IAAA,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;AAC3B,QAAA,OAAO,CAAC,KAAK,CAAC,iBAAiB,CAAC;AAC9B,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,OAAO,EAAE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;KACH;AACH,EAAC;AAEY,MAAA,eAAe,mBAAmB,qBAAqB,CAAC,iBAAiB,EAAC;AAEhF,MAAM,gBAAgB,GAAiC,MAAK;IACjE,YAAY,CAAC,KAAK,EAAE,CAAA;AACtB,EAAC;AAEM,MAAM,YAAY,GAA6B,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAI;AACzF,IAAA,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;AACnF,IAAA,gBAAgB,EAAE,CAAA;AAClB,IAAA,OAAO,MAAM,CAAC,OAAO,EAAE,CAAA;AACzB,EAAC;AAEY,MAAA,mBAAmB,mBAAmB,qBAAqB,CAAC,qBAAqB,EAAC;AAClF,MAAA,eAAe,mBAAmB,qBAAqB,CAAC,iBAAiB,EAAC;AAC1E,MAAA,mBAAmB,mBAAmB,qBAAqB,CAAC,qBAAqB,EAAC;AAClF,MAAA,eAAe,mBAAmB,qBAAqB,CAAC,iBAAiB;;;;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/api/storage/index.ts"],"sourcesContent":["import Taro from '@tarojs/api'\n\nimport { getParameterError, shouldBeObject, temporarilyNotSupport } from '../../utils'\nimport { MethodHandler } from '../../utils/handler'\n\nfunction getItem (key) {\n let item\n try {\n item = JSON.parse(localStorage.getItem(key) || '')\n } catch (e) {} // eslint-disable-line no-empty\n\n // 只返回使用 Taro.setStorage API 存储的数据\n if (item && typeof item === 'object' && item.hasOwnProperty('data')) {\n return { result: true, data: item.data }\n } else {\n return { result: false }\n }\n}\n\n// 数据缓存\nexport const setStorageSync: typeof Taro.setStorageSync = (key, data = '') => {\n if (typeof key !== 'string') {\n console.error(getParameterError({\n name: 'setStorage',\n correct: 'String',\n wrong: key\n }))\n return\n }\n\n const type = typeof data\n let obj = {}\n\n if (type === 'symbol') {\n obj = { data: '' }\n } else {\n obj = { data }\n }\n localStorage.setItem(key, JSON.stringify(obj))\n}\n\nexport const setStorage: typeof Taro.setStorage = (options) => {\n // options must be an Object\n const isObject = shouldBeObject(options)\n if (!isObject.flag) {\n const res = { errMsg: `setStorage:fail ${isObject.msg}` }\n console.error(res.errMsg)\n return Promise.reject(res)\n }\n\n const { key, data, success, fail, complete } = options\n const handle = new MethodHandler({ name: 'setStorage', success, fail, complete })\n\n if (typeof key !== 'string') {\n return handle.fail({\n errMsg: getParameterError({\n para: 'key',\n correct: 'String',\n wrong: key\n })\n })\n }\n\n setStorageSync(key, data)\n return handle.success()\n}\n\nexport const revokeBufferURL = /* @__PURE__ */ temporarilyNotSupport('revokeBufferURL')\n\nexport const removeStorageSync: typeof Taro.removeStorageSync = (key: string) => {\n if (typeof key !== 'string') {\n console.error(getParameterError({\n name: 'removeStorage',\n correct: 'String',\n wrong: key\n }))\n return\n }\n\n localStorage.removeItem(key)\n}\n\nexport const removeStorage: typeof Taro.removeStorage = (options: Taro.removeStorage.Option) => {\n // options must be an Object\n const isObject = shouldBeObject(options)\n if (!isObject.flag) {\n const res = { errMsg: `removeStorage:fail ${isObject.msg}` }\n console.error(res.errMsg)\n return Promise.reject(res)\n }\n const { key, success, fail, complete } = options\n const handle = new MethodHandler({ name: 'removeStorage', success, fail, complete })\n\n if (typeof key !== 'string') {\n return handle.fail({\n errMsg: getParameterError({\n para: 'key',\n correct: 'String',\n wrong: key\n })\n })\n }\n\n removeStorageSync(key)\n return handle.success()\n}\n\nexport const getStorageSync: typeof Taro.getStorageSync = (key) => {\n if (typeof key !== 'string') {\n console.error(getParameterError({\n name: 'getStorageSync',\n correct: 'String',\n wrong: key\n }))\n return\n }\n\n const res = getItem(key)\n if (res.result) return res.data\n\n return ''\n}\n\nexport const getStorageInfoSync: typeof Taro.getStorageInfoSync = () => {\n const res: Taro.getStorageInfoSync.Option = {\n keys: Object.keys(localStorage),\n limitSize: NaN,\n currentSize: NaN\n }\n return res\n}\n\nexport const getStorageInfo: typeof Taro.getStorageInfo = ({ success, fail, complete } = {}) => {\n const handle = new MethodHandler<Taro.getStorageInfo.SuccessCallbackOption>({ name: 'getStorageInfo', success, fail, complete })\n return handle.success(getStorageInfoSync())\n}\n\nexport const getStorage: typeof Taro.getStorage = <T>(options) => {\n // options must be an Object\n const isObject = shouldBeObject(options)\n if (!isObject.flag) {\n const res = { errMsg: `getStorage:fail ${isObject.msg}` }\n console.error(res.errMsg)\n return Promise.reject(res)\n }\n\n const { key, success, fail, complete } = options\n const handle = new MethodHandler<Taro.getStorage.SuccessCallbackResult<T>>({ name: 'getStorage', success, fail, complete })\n\n if (typeof key !== 'string') {\n return handle.fail({\n errMsg: getParameterError({\n para: 'key',\n correct: 'String',\n wrong: key\n })\n })\n }\n\n const { result, data } = getItem(key)\n if (result) {\n return handle.success({ data })\n } else {\n return handle.fail({\n errMsg: 'data not found'\n })\n }\n}\n\nexport const createBufferURL = /* @__PURE__ */ temporarilyNotSupport('createBufferURL')\n\nexport const clearStorageSync: typeof Taro.clearStorageSync = () => {\n localStorage.clear()\n}\n\nexport const clearStorage: typeof Taro.clearStorage = ({ success, fail, complete } = {}) => {\n const handle = new MethodHandler({ name: 'clearStorage', success, fail, complete })\n clearStorageSync()\n return handle.success()\n}\n\nexport const batchSetStorageSync = /* @__PURE__ */ temporarilyNotSupport('batchSetStorageSync')\nexport const batchSetStorage = /* @__PURE__ */ temporarilyNotSupport('batchSetStorage')\nexport const batchGetStorageSync = /* @__PURE__ */ temporarilyNotSupport('batchGetStorageSync')\nexport const batchGetStorage = /* @__PURE__ */ temporarilyNotSupport('batchGetStorage')\n\nexport * from './background-fetch'\nexport * from './cache-manager'\n"],"names":[],"mappings":";;;;;AAKA,SAAS,OAAO,CAAE,GAAG,EAAA;AACnB,IAAA,IAAI,IAAI,CAAA;AACR,IAAA,IAAI;AACF,QAAA,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EA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AAC,iBAAiB;;;;"}
|
package/dist/api/swan/index.d.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
declare const setPageInfo: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
2
|
+
declare const ocrIdCard: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
3
|
+
declare const ocrBankCard: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
4
|
+
declare const ocrDrivingLicense: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
5
|
+
declare const ocrVehicleLicense: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
6
|
+
declare const textReview: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
7
|
+
declare const textToAudio: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
8
|
+
declare const imageAudit: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
9
|
+
declare const advancedGeneralIdentify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
10
|
+
declare const objectDetectIdentify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
11
|
+
declare const carClassify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
12
|
+
declare const dishClassify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
13
|
+
declare const logoClassify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
14
|
+
declare const animalClassify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
15
|
+
declare const plantClassify: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
16
|
+
declare const getSwanId: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
17
|
+
declare const requestPolymerPayment: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
18
|
+
declare const navigateToSmartGameProgram: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
19
|
+
declare const navigateToSmartProgram: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
20
|
+
declare const navigateBackSmartProgram: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
21
|
+
declare const preloadSubPackage: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
22
|
+
export { setPageInfo, ocrIdCard, ocrBankCard, ocrDrivingLicense, ocrVehicleLicense, textReview, textToAudio, imageAudit, advancedGeneralIdentify, objectDetectIdentify, carClassify, dishClassify, logoClassify, animalClassify, plantClassify, getSwanId, requestPolymerPayment, navigateToSmartGameProgram, navigateToSmartProgram, navigateBackSmartProgram, preloadSubPackage };
|