提交 c95eb25b 编写于 作者: fxy060608's avatar fxy060608

chore: bump vite from 4.1.1 to 4.1.3

上级 8c475008
......@@ -87,7 +87,7 @@
"terser": "^5.4.0",
"ts-jest": "^29.0.3",
"typescript": "^4.9.5",
"vite": "4.1.1",
"vite": "4.1.3",
"vue": "3.2.47",
"vue-router": "^4.1.6",
"yorkie": "^2.0.0"
......
......@@ -19,7 +19,7 @@
},
"devDependencies": {
"@dcloudio/vite-plugin-uni": "../../vite-plugin-uni",
"vite": "^4.1.0"
"vite": "^4.0.0"
},
"resolutions": {
"@dcloudio/uni-app-vite": "../../uni-app-vite"
......
......@@ -21,6 +21,6 @@
"compression": "^1.7.4",
"cypress": "^10.7.0",
"serve-static": "^1.15.0",
"vite": "^4.1.0"
"vite": "^4.0.0"
}
}
......@@ -19,7 +19,7 @@ declare module '@vue/runtime-core' {
type LifecycleHook = Function[] | null
type UniLifecycleHookInstance = {
[name in typeof UniLifecycleHooks[number]]: LifecycleHook
[name in (typeof UniLifecycleHooks)[number]]: LifecycleHook
}
interface ComponentInternalInstance extends UniLifecycleHookInstance {
__isUnload: boolean
......
import { isArray, hasOwn as hasOwn$1, isString, isPlainObject, isObject as isObject$1, toRawType, capitalize, makeMap, isFunction, isPromise, extend, remove, toTypeString } from '@vue/shared';
import { LINEFEED, parseNVueDataset, once, I18N_JSON_DELIMITERS, Emitter, resolveComponentInstance, normalizeStyles, addLeadingSlash, invokeArrayFns, removeLeadingSlash, ON_RESIZE, ON_APP_ENTER_FOREGROUND, ON_APP_ENTER_BACKGROUND, ON_SHOW, ON_HIDE, ON_PAGE_SCROLL, ON_REACH_BOTTOM, SCHEME_RE, DATA_RE, cacheStringFunction, formatLog, parseQuery, ON_ERROR, callOptions, ON_UNHANDLE_REJECTION, ON_PAGE_NOT_FOUND, PRIMARY_COLOR, getLen, ON_THEME_CHANGE, TABBAR_HEIGHT, NAVBAR_HEIGHT, sortObject, OFF_THEME_CHANGE, ON_KEYBOARD_HEIGHT_CHANGE, normalizeTabBarStyles, ON_NAVIGATION_BAR_BUTTON_TAP, stringifyQuery as stringifyQuery$1, debounce, ON_PULL_DOWN_REFRESH, ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED, ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED, ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED, ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED, ON_BACK_PRESS, UniNode, NODE_TYPE_PAGE, ACTION_TYPE_PAGE_CREATE, ACTION_TYPE_PAGE_CREATED, ACTION_TYPE_PAGE_SCROLL, ACTION_TYPE_INSERT, ACTION_TYPE_CREATE, ACTION_TYPE_REMOVE, ACTION_TYPE_ADD_EVENT, ACTION_TYPE_ADD_WXS_EVENT, ACTION_TYPE_REMOVE_EVENT, ACTION_TYPE_SET_ATTRIBUTE, ACTION_TYPE_REMOVE_ATTRIBUTE, ACTION_TYPE_SET_TEXT, ON_READY, ON_UNLOAD, EventChannel, ON_REACH_BOTTOM_DISTANCE, parseUrl, onCreateVueApp, ON_TAB_ITEM_TAP, ON_LAUNCH, ACTION_TYPE_EVENT, createUniEvent, ON_WXS_INVOKE_CALL_METHOD, WEB_INVOKE_APPSERVICE } from '@dcloudio/uni-shared';
import { LINEFEED, parseNVueDataset, once, I18N_JSON_DELIMITERS, Emitter, normalizeStyles, addLeadingSlash, resolveComponentInstance, invokeArrayFns, removeLeadingSlash, ON_RESIZE, ON_APP_ENTER_FOREGROUND, ON_APP_ENTER_BACKGROUND, ON_SHOW, ON_HIDE, ON_PAGE_SCROLL, ON_REACH_BOTTOM, SCHEME_RE, DATA_RE, cacheStringFunction, formatLog, parseQuery, ON_ERROR, callOptions, ON_UNHANDLE_REJECTION, ON_PAGE_NOT_FOUND, PRIMARY_COLOR, getLen, ON_THEME_CHANGE, TABBAR_HEIGHT, NAVBAR_HEIGHT, sortObject, OFF_THEME_CHANGE, ON_KEYBOARD_HEIGHT_CHANGE, normalizeTabBarStyles, ON_NAVIGATION_BAR_BUTTON_TAP, stringifyQuery as stringifyQuery$1, debounce, ON_PULL_DOWN_REFRESH, ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED, ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED, ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED, ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED, ON_BACK_PRESS, UniNode, NODE_TYPE_PAGE, ACTION_TYPE_PAGE_CREATE, ACTION_TYPE_PAGE_CREATED, ACTION_TYPE_PAGE_SCROLL, ACTION_TYPE_INSERT, ACTION_TYPE_CREATE, ACTION_TYPE_REMOVE, ACTION_TYPE_ADD_EVENT, ACTION_TYPE_ADD_WXS_EVENT, ACTION_TYPE_REMOVE_EVENT, ACTION_TYPE_SET_ATTRIBUTE, ACTION_TYPE_REMOVE_ATTRIBUTE, ACTION_TYPE_SET_TEXT, ON_READY, ON_UNLOAD, EventChannel, ON_REACH_BOTTOM_DISTANCE, parseUrl, onCreateVueApp, ON_TAB_ITEM_TAP, ON_LAUNCH, ACTION_TYPE_EVENT, createUniEvent, ON_WXS_INVOKE_CALL_METHOD, WEB_INVOKE_APPSERVICE } from '@dcloudio/uni-shared';
import { ref, createVNode, render, injectHook, queuePostFlushCb, getCurrentInstance, onMounted, nextTick, onBeforeUnmount } from 'vue';
/*
......@@ -19590,230 +19590,230 @@ const preloadPage = defineAsyncApi(API_PRELOAD_PAGE, ({ url }, { resolve }) => {
var uni$1 = {
__proto__: null,
sendHostEvent: sendHostEvent,
navigateToMiniProgram: navigateToMiniProgram,
onHostEventReceive: onHostEventReceive,
onNativeEventReceive: onNativeEventReceive,
$emit: $emit,
$off: $off,
$on: $on,
$once: $once,
__log__: __log__,
initUTSProxyClass: initUTSProxyClass,
initUTSProxyFunction: initUTSProxyFunction,
initUTSIndexClassName: initUTSIndexClassName,
initUTSClassName: initUTSClassName,
initUTSPackageName: initUTSPackageName,
requireUTSPlugin: requireUTSPlugin,
registerUTSPlugin: registerUTSPlugin,
navigateTo: navigateTo,
reLaunch: reLaunch,
switchTab: switchTab,
upx2px: upx2px,
addInterceptor: addInterceptor,
removeInterceptor: removeInterceptor,
interceptors: interceptors,
addPhoneContact: addPhoneContact,
arrayBufferToBase64: arrayBufferToBase64,
base64ToArrayBuffer: base64ToArrayBuffer,
canIUse: canIUse,
canvasGetImageData: canvasGetImageData,
canvasPutImageData: canvasPutImageData,
canvasToTempFilePath: canvasToTempFilePath,
checkIsSoterEnrolledInDevice: checkIsSoterEnrolledInDevice,
checkIsSupportSoterAuthentication: checkIsSupportSoterAuthentication,
chooseImage: chooseImage,
chooseLocation: chooseLocation,
chooseVideo: chooseVideo,
clearStorage: clearStorage,
clearStorageSync: clearStorageSync,
closeAuthView: closeAuthView,
closeBLEConnection: closeBLEConnection,
closeBluetoothAdapter: closeBluetoothAdapter,
closePreviewImage: closePreviewImage,
closeSocket: closeSocket,
compressImage: compressImage,
compressVideo: compressVideo,
configMTLS: configMTLS,
connectSocket: connectSocket,
createAnimation: createAnimation,
createBLEConnection: createBLEConnection,
createCanvasContext: createCanvasContext,
createFullScreenVideoAd: createFullScreenVideoAd,
createInnerAudioContext: createInnerAudioContext,
createInteractiveAd: createInteractiveAd,
createIntersectionObserver: createIntersectionObserver,
createInterstitialAd: createInterstitialAd,
createLivePusherContext: createLivePusherContext,
createMapContext: createMapContext,
createMediaQueryObserver: createMediaQueryObserver,
createPushMessage: createPushMessage,
createRewardedVideoAd: createRewardedVideoAd,
createSelectorQuery: createSelectorQuery,
createVideoContext: createVideoContext,
createMapContext: createMapContext,
createAnimation: createAnimation,
onWindowResize: onWindowResize,
offWindowResize: offWindowResize,
onTabBarMidButtonTap: onTabBarMidButtonTap,
createCanvasContext: createCanvasContext,
canvasGetImageData: canvasGetImageData,
canvasPutImageData: canvasPutImageData,
canvasToTempFilePath: canvasToTempFilePath,
getSelectedTextRange: getSelectedTextRange,
getLocale: getLocale,
setLocale: setLocale,
$on: $on,
$off: $off,
$once: $once,
$emit: $emit,
onCreateVueApp: onCreateVueApp,
onLocaleChange: onLocaleChange,
setPageMeta: setPageMeta,
downloadFile: downloadFile,
getAppAuthorizeSetting: getAppAuthorizeSetting,
getAppBaseInfo: getAppBaseInfo,
getBLEDeviceCharacteristics: getBLEDeviceCharacteristics,
getBLEDeviceRSSI: getBLEDeviceRSSI,
getBLEDeviceServices: getBLEDeviceServices,
getBackgroundAudioManager: getBackgroundAudioManager,
getBeacons: getBeacons,
getBluetoothAdapterState: getBluetoothAdapterState,
getBluetoothDevices: getBluetoothDevices,
getCheckBoxState: getCheckBoxState,
getClipboardData: getClipboardData,
getConnectedBluetoothDevices: getConnectedBluetoothDevices,
getDeviceInfo: getDeviceInfo,
getEnterOptionsSync: getEnterOptionsSync,
getFileInfo: getFileInfo$1,
getImageInfo: getImageInfo,
getLaunchOptionsSync: getLaunchOptionsSync,
getLocale: getLocale,
getLocation: getLocation,
getNetworkType: getNetworkType,
getProvider: getProvider,
getPushClientId: getPushClientId,
onPushMessage: onPushMessage,
offPushMessage: offPushMessage,
onAppHide: onAppHide,
onAppShow: onAppShow,
onError: onError,
onPageNotFound: onPageNotFound,
onUnhandledRejection: onUnhandledRejection,
getRecorderManager: getRecorderManager,
getSavedFileInfo: getSavedFileInfo,
getSavedFileList: getSavedFileList,
getScreenBrightness: getScreenBrightness,
getSelectedTextRange: getSelectedTextRange,
getStorage: getStorage,
getStorageInfo: getStorageInfo,
getStorageInfoSync: getStorageInfoSync,
getStorageSync: getStorageSync,
getSubNVueById: getSubNVueById,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync,
getSystemSetting: getSystemSetting,
getUniverifyManager: getUniverifyManager,
getUserInfo: getUserInfo,
getUserProfile: getUserProfile,
getVideoInfo: getVideoInfo,
getWindowInfo: getWindowInfo,
hideKeyboard: hideKeyboard,
hideLoading: hideLoading,
hideNavigationBarLoading: hideNavigationBarLoading,
hideTabBar: hideTabBar,
hideTabBarRedDot: hideTabBarRedDot,
hideToast: hideToast,
initUTSClassName: initUTSClassName,
initUTSIndexClassName: initUTSIndexClassName,
initUTSPackageName: initUTSPackageName,
initUTSProxyClass: initUTSProxyClass,
initUTSProxyFunction: initUTSProxyFunction,
interceptors: interceptors,
invokePushCallback: invokePushCallback,
loadFontFace: loadFontFace,
login: login,
makePhoneCall: makePhoneCall,
navigateBack: navigateBack,
navigateTo: navigateTo,
navigateToMiniProgram: navigateToMiniProgram,
notifyBLECharacteristicValueChange: notifyBLECharacteristicValueChange,
offAccelerometerChange: offAccelerometerChange,
offAppHide: offAppHide,
offAppShow: offAppShow,
offCompassChange: offCompassChange,
offError: offError,
offKeyboardHeightChange: offKeyboardHeightChange,
offLocationChange: offLocationChange,
offLocationChangeError: offLocationChangeError,
offNetworkStatusChange: offNetworkStatusChange,
offPageNotFound: offPageNotFound,
offPushMessage: offPushMessage,
offThemeChange: offThemeChange,
offUnhandledRejection: offUnhandledRejection,
invokePushCallback: invokePushCallback,
setStorageSync: setStorageSync,
setStorage: setStorage,
getStorageSync: getStorageSync,
getStorage: getStorage,
removeStorageSync: removeStorageSync,
removeStorage: removeStorage,
clearStorageSync: clearStorageSync,
clearStorage: clearStorage,
getStorageInfoSync: getStorageInfoSync,
getStorageInfo: getStorageInfo,
getFileInfo: getFileInfo$1,
saveFile: saveFile,
getSavedFileList: getSavedFileList,
getSavedFileInfo: getSavedFileInfo,
removeSavedFile: removeSavedFile,
openDocument: openDocument,
canIUse: canIUse,
weexGetSystemInfoSync: weexGetSystemInfoSync,
getDeviceInfo: getDeviceInfo,
getAppBaseInfo: getAppBaseInfo,
getSystemInfoSync: getSystemInfoSync,
getSystemInfo: getSystemInfo,
onCompassChange: onCompassChange,
offCompassChange: offCompassChange,
startCompass: startCompass,
stopCompass: stopCompass,
vibrateShort: vibrateShort,
vibrateLong: vibrateLong,
offWindowResize: offWindowResize,
onAccelerometerChange: onAccelerometerChange,
offAccelerometerChange: offAccelerometerChange,
startAccelerometer: startAccelerometer,
stopAccelerometer: stopAccelerometer,
onBluetoothDeviceFound: onBluetoothDeviceFound,
onBluetoothAdapterStateChange: onBluetoothAdapterStateChange,
onBLEConnectionStateChange: onBLEConnectionStateChange,
onAppHide: onAppHide,
onAppShow: onAppShow,
onBLECharacteristicValueChange: onBLECharacteristicValueChange,
openBluetoothAdapter: openBluetoothAdapter,
closeBluetoothAdapter: closeBluetoothAdapter,
getBluetoothAdapterState: getBluetoothAdapterState,
startBluetoothDevicesDiscovery: startBluetoothDevicesDiscovery,
stopBluetoothDevicesDiscovery: stopBluetoothDevicesDiscovery,
getBluetoothDevices: getBluetoothDevices,
getConnectedBluetoothDevices: getConnectedBluetoothDevices,
createBLEConnection: createBLEConnection,
closeBLEConnection: closeBLEConnection,
getBLEDeviceServices: getBLEDeviceServices,
getBLEDeviceCharacteristics: getBLEDeviceCharacteristics,
notifyBLECharacteristicValueChange: notifyBLECharacteristicValueChange,
readBLECharacteristicValue: readBLECharacteristicValue,
writeBLECharacteristicValue: writeBLECharacteristicValue,
setBLEMTU: setBLEMTU,
getBLEDeviceRSSI: getBLEDeviceRSSI,
onBeaconUpdate: onBeaconUpdate,
onBLEConnectionStateChange: onBLEConnectionStateChange,
onBeaconServiceChange: onBeaconServiceChange,
getBeacons: getBeacons,
startBeaconDiscovery: startBeaconDiscovery,
stopBeaconDiscovery: stopBeaconDiscovery,
makePhoneCall: makePhoneCall,
addPhoneContact: addPhoneContact,
getClipboardData: getClipboardData,
setClipboardData: setClipboardData,
onBeaconUpdate: onBeaconUpdate,
onBluetoothAdapterStateChange: onBluetoothAdapterStateChange,
onBluetoothDeviceFound: onBluetoothDeviceFound,
onCompassChange: onCompassChange,
onCreateVueApp: onCreateVueApp,
onError: onError,
onHostEventReceive: onHostEventReceive,
onKeyboardHeightChange: onKeyboardHeightChange,
onLocaleChange: onLocaleChange,
onLocationChange: onLocationChange,
onLocationChangeError: onLocationChangeError,
onNativeEventReceive: onNativeEventReceive,
onNetworkStatusChange: onNetworkStatusChange,
offNetworkStatusChange: offNetworkStatusChange,
getNetworkType: getNetworkType,
checkIsSupportSoterAuthentication: checkIsSupportSoterAuthentication,
checkIsSoterEnrolledInDevice: checkIsSoterEnrolledInDevice,
startSoterAuthentication: startSoterAuthentication,
scanCode: scanCode,
onPageNotFound: onPageNotFound,
onPushMessage: onPushMessage,
onSocketClose: onSocketClose,
onSocketError: onSocketError,
onSocketMessage: onSocketMessage,
onSocketOpen: onSocketOpen,
onTabBarMidButtonTap: onTabBarMidButtonTap,
onThemeChange: onThemeChange,
offThemeChange: offThemeChange,
getScreenBrightness: getScreenBrightness,
setScreenBrightness: setScreenBrightness,
setKeepScreenOn: setKeepScreenOn,
getWindowInfo: getWindowInfo,
getSystemSetting: getSystemSetting,
getAppAuthorizeSetting: getAppAuthorizeSetting,
onUnhandledRejection: onUnhandledRejection,
onWindowResize: onWindowResize,
openAppAuthorizeSetting: openAppAuthorizeSetting,
getImageInfo: getImageInfo,
getVideoInfo: getVideoInfo,
openBluetoothAdapter: openBluetoothAdapter,
openDocument: openDocument,
openLocation: openLocation,
pageScrollTo: pageScrollTo,
preLogin: preLogin,
preloadPage: preloadPage,
previewImage: previewImage,
closePreviewImage: closePreviewImage,
getRecorderManager: getRecorderManager,
saveVideoToPhotosAlbum: saveVideoToPhotosAlbum,
saveImageToPhotosAlbum: saveImageToPhotosAlbum,
compressImage: compressImage,
compressVideo: compressVideo,
chooseImage: chooseImage,
chooseVideo: chooseVideo,
showKeyboard: showKeyboard,
hideKeyboard: hideKeyboard,
onKeyboardHeightChange: onKeyboardHeightChange,
offKeyboardHeightChange: offKeyboardHeightChange,
downloadFile: downloadFile,
reLaunch: reLaunch,
readBLECharacteristicValue: readBLECharacteristicValue,
redirectTo: redirectTo,
registerRuntime: registerRuntime,
registerUTSPlugin: registerUTSPlugin,
removeInterceptor: removeInterceptor,
removeSavedFile: removeSavedFile,
removeStorage: removeStorage,
removeStorageSync: removeStorageSync,
removeTabBarBadge: removeTabBarBadge,
request: request,
configMTLS: configMTLS,
connectSocket: connectSocket,
requestPayment: requestPayment,
requireGlobal: requireGlobal,
requireNativePlugin: requireNativePlugin,
requireUTSPlugin: requireUTSPlugin,
restoreGlobal: restoreGlobal,
saveFile: saveFile,
saveImageToPhotosAlbum: saveImageToPhotosAlbum,
saveVideoToPhotosAlbum: saveVideoToPhotosAlbum,
scanCode: scanCode,
sendHostEvent: sendHostEvent,
sendNativeEvent: sendNativeEvent,
sendSocketMessage: sendSocketMessage,
closeSocket: closeSocket,
onSocketOpen: onSocketOpen,
onSocketError: onSocketError,
onSocketMessage: onSocketMessage,
onSocketClose: onSocketClose,
uploadFile: uploadFile,
createInnerAudioContext: createInnerAudioContext,
getBackgroundAudioManager: getBackgroundAudioManager,
createLivePusherContext: createLivePusherContext,
getLocation: getLocation,
chooseLocation: chooseLocation,
openLocation: openLocation,
startLocationUpdate: startLocationUpdate,
stopLocationUpdate: stopLocationUpdate,
onLocationChange: onLocationChange,
offLocationChange: offLocationChange,
onLocationChangeError: onLocationChangeError,
offLocationChangeError: offLocationChangeError,
showModal: showModal,
showActionSheet: showActionSheet,
showLoading: showLoading,
showToast: showToast,
hideToast: hideToast,
hideLoading: hideLoading,
startPullDownRefresh: startPullDownRefresh,
stopPullDownRefresh: stopPullDownRefresh,
loadFontFace: loadFontFace,
pageScrollTo: pageScrollTo,
setNavigationBarTitle: setNavigationBarTitle,
showNavigationBarLoading: showNavigationBarLoading,
hideNavigationBarLoading: hideNavigationBarLoading,
setBLEMTU: setBLEMTU,
setClipboardData: setClipboardData,
setKeepScreenOn: setKeepScreenOn,
setLocale: setLocale,
setNavigationBarColor: setNavigationBarColor,
setNavigationBarTitle: setNavigationBarTitle,
setPageMeta: setPageMeta,
setScreenBrightness: setScreenBrightness,
setStorage: setStorage,
setStorageSync: setStorageSync,
setTabBarBadge: setTabBarBadge,
setTabBarItem: setTabBarItem,
setTabBarStyle: setTabBarStyle,
hideTabBar: hideTabBar,
share: share,
shareWithSystem: shareWithSystem,
showActionSheet: showActionSheet,
showKeyboard: showKeyboard,
showLoading: showLoading,
showModal: showModal,
showNavigationBarLoading: showNavigationBarLoading,
showTabBar: showTabBar,
showTabBarRedDot: showTabBarRedDot,
removeTabBarBadge: removeTabBarBadge,
hideTabBarRedDot: hideTabBarRedDot,
getSubNVueById: getSubNVueById,
restoreGlobal: restoreGlobal,
requireGlobal: requireGlobal,
showToast: showToast,
startAccelerometer: startAccelerometer,
startBeaconDiscovery: startBeaconDiscovery,
startBluetoothDevicesDiscovery: startBluetoothDevicesDiscovery,
startCompass: startCompass,
startLocationUpdate: startLocationUpdate,
startPullDownRefresh: startPullDownRefresh,
startSoterAuthentication: startSoterAuthentication,
stopAccelerometer: stopAccelerometer,
stopBeaconDiscovery: stopBeaconDiscovery,
stopBluetoothDevicesDiscovery: stopBluetoothDevicesDiscovery,
stopCompass: stopCompass,
stopLocationUpdate: stopLocationUpdate,
stopPullDownRefresh: stopPullDownRefresh,
switchTab: switchTab,
syncDataToGlobal: syncDataToGlobal,
getProvider: getProvider,
login: login,
getUserInfo: getUserInfo,
getUserProfile: getUserProfile,
preLogin: preLogin,
closeAuthView: closeAuthView,
getCheckBoxState: getCheckBoxState,
getUniverifyManager: getUniverifyManager,
createPushMessage: createPushMessage,
registerRuntime: registerRuntime,
share: share,
shareWithSystem: shareWithSystem,
requestPayment: requestPayment,
requireNativePlugin: requireNativePlugin,
sendNativeEvent: sendNativeEvent,
createRewardedVideoAd: createRewardedVideoAd,
createFullScreenVideoAd: createFullScreenVideoAd,
createInterstitialAd: createInterstitialAd,
createInteractiveAd: createInteractiveAd,
navigateBack: navigateBack,
redirectTo: redirectTo,
unPreloadPage: unPreloadPage,
preloadPage: preloadPage
uploadFile: uploadFile,
upx2px: upx2px,
vibrateLong: vibrateLong,
vibrateShort: vibrateShort,
weexGetSystemInfoSync: weexGetSystemInfoSync,
writeBLECharacteristicValue: writeBLECharacteristicValue
};
const UniServiceJSBridge$1 = /*#__PURE__*/ extend(ServiceJSBridge, {
......
......@@ -39,7 +39,7 @@
"esbuild": "^0.16.14",
"postcss": "^8.4.21",
"rollup": "^3.7.0",
"vite": "^4.1.0",
"vite": "^4.0.0",
"vue": "3.2.47"
}
}
......@@ -50,7 +50,7 @@ type onNavigationBarSearchInputFocusChangedHook = (
const createHook =
<T extends Function = () => any>(
lifecycle: typeof UniLifecycleHooks[number]
lifecycle: (typeof UniLifecycleHooks)[number]
) =>
(
hook: T,
......
......@@ -33,7 +33,7 @@ type ConsoleMethod = 'warn' | 'error'
function overridedConsole(
name: ConsoleMethod,
oldFn: (...args: any[]) => any,
char: typeof ZERO_WIDTH_CHAR[ZERO_WIDTH_CHAR_KEY]
char: (typeof ZERO_WIDTH_CHAR)[ZERO_WIDTH_CHAR_KEY]
) {
console[name] = function (...args) {
oldFn.apply(
......
......@@ -30,7 +30,7 @@ export function getNVueStyleCompiler(manifestJson: Record<string, any>) {
const flexDirs = ['row', 'row-reverse', 'column', 'column-reverse'] as const
type FlexDir = typeof flexDirs[number]
type FlexDir = (typeof flexDirs)[number]
export function getNVueFlexDirection(manifestJson: Record<string, any>) {
let flexDir: FlexDir = 'column'
......
......@@ -46,5 +46,5 @@ function rewriteReadFileSync() {
return preCss(content)
}
return content
}) as typeof fs['readFileSync']
}) as (typeof fs)['readFileSync']
}
......@@ -1532,14 +1532,6 @@ const getLocale = /* @__PURE__ */ defineSyncApi(
return useI18n().getLocale();
}
);
const API_CAN_I_USE = "canIUse";
const CanIUseProtocol = [
{
name: "schema",
type: String,
required: true
}
];
const API_GET_STORAGE = "getStorage";
const GetStorageProtocol = {
key: {
......@@ -1662,37 +1654,7 @@ const RequestOptions = {
}
}
};
const FRONT_COLORS = ["#ffffff", "#000000"];
const API_SET_NAVIGATION_BAR_COLOR = "setNavigationBarColor";
const SetNavigationBarColorOptions = {
formatArgs: {
animation(animation2, params) {
if (!animation2) {
animation2 = { duration: 0, timingFunc: "linear" };
}
params.animation = {
duration: animation2.duration || 0,
timingFunc: animation2.timingFunc || "linear"
};
}
}
};
const SetNavigationBarColorProtocol = {
frontColor: {
type: String,
required: true,
validator(frontColor) {
if (FRONT_COLORS.indexOf(frontColor) === -1) {
return `invalid frontColor "${frontColor}"`;
}
}
},
backgroundColor: {
type: String,
required: true
},
animation: Object
};
const API_SET_NAVIGATION_BAR_TITLE = "setNavigationBarTitle";
const SetNavigationBarTitleProtocol = {
title: {
......@@ -7551,26 +7513,6 @@ function useTabBar() {
}
return tabBar;
}
const cssVar = true;
const cssEnv = true;
const cssConstant = true;
const cssBackdropFilter = true;
const SCHEMA_CSS = {
"css.var": cssVar,
"css.env": cssEnv,
"css.constant": cssConstant,
"css.backdrop-filter": cssBackdropFilter
};
/* @__PURE__ */ defineSyncApi(
API_CAN_I_USE,
(schema) => {
if (shared.hasOwn(SCHEMA_CSS, schema)) {
return SCHEMA_CSS[schema];
}
return true;
},
CanIUseProtocol
);
const envMethod = /* @__PURE__ */ (() => "env")();
function normalizeWindowBottom(windowBottom) {
return envMethod ? `calc(${windowBottom}px + ${envMethod}(safe-area-inset-bottom))` : `${windowBottom}px`;
......@@ -11151,44 +11093,6 @@ function setNavigationBar(pageMeta, type, args, resolve, reject) {
}
resolve();
}
/* @__PURE__ */ defineAsyncApi(
API_SET_NAVIGATION_BAR_COLOR,
(args, { resolve, reject }) => {
setNavigationBar(
getCurrentPageMeta(),
API_SET_NAVIGATION_BAR_COLOR,
args,
resolve,
reject
);
},
SetNavigationBarColorProtocol,
SetNavigationBarColorOptions
);
/* @__PURE__ */ defineAsyncApi(
API_SHOW_NAVIGATION_BAR_LOADING,
(args, { resolve, reject }) => {
setNavigationBar(
getCurrentPageMeta(),
API_SHOW_NAVIGATION_BAR_LOADING,
args || {},
resolve,
reject
);
}
);
/* @__PURE__ */ defineAsyncApi(
API_HIDE_NAVIGATION_BAR_LOADING,
(args, { resolve, reject }) => {
setNavigationBar(
getCurrentPageMeta(),
API_HIDE_NAVIGATION_BAR_LOADING,
args || {},
resolve,
reject
);
}
);
const setNavigationBarTitle = /* @__PURE__ */ defineAsyncApi(
API_SET_NAVIGATION_BAR_TITLE,
(args, { resolve, reject }) => {
......@@ -11377,7 +11281,7 @@ function useTabBarStyle(tabBar2) {
let backgroundColor = tabBar2.backgroundColor;
const blurEffect = tabBar2.blurEffect;
if (!backgroundColor) {
if (cssBackdropFilter && blurEffect && blurEffect !== "none") {
if (blurEffect && blurEffect !== "none") {
backgroundColor = BLUR_EFFECT_COLORS[blurEffect];
}
}
......
......@@ -185,8 +185,8 @@ function callSocketTask(
reject: Function
) {
const fn = socketTask[method] as
| typeof socketTask['send']
| typeof socketTask['close']
| (typeof socketTask)['send']
| (typeof socketTask)['close']
if (isFunction(fn)) {
fn.call(
socketTask,
......
......@@ -1233,15 +1233,15 @@ function offKeyboardHeightChange() {
var shims = /*#__PURE__*/Object.freeze({
__proto__: null,
createIntersectionObserver: createIntersectionObserver,
createSelectorQuery: createSelectorQuery,
getProvider: getProvider,
setStorageSync: setStorageSync,
getStorageSync: getStorageSync,
removeStorageSync: removeStorageSync,
startGyroscope: startGyroscope,
createSelectorQuery: createSelectorQuery,
createIntersectionObserver: createIntersectionObserver,
offKeyboardHeightChange: offKeyboardHeightChange,
onKeyboardHeightChange: onKeyboardHeightChange,
offKeyboardHeightChange: offKeyboardHeightChange
removeStorageSync: removeStorageSync,
setStorageSync: setStorageSync,
startGyroscope: startGyroscope
});
function handleNetworkInfo(fromRes, toRes) {
......@@ -1689,57 +1689,57 @@ const chooseAddress = {
var protocols = /*#__PURE__*/Object.freeze({
__proto__: null,
returnValue: returnValue,
request: request,
setNavigationBarColor: setNavigationBarColor,
setNavigationBarTitle: setNavigationBarTitle,
showModal: showModal,
showToast: showToast,
showActionSheet: showActionSheet,
showLoading: showLoading,
uploadFile: uploadFile,
downloadFile: downloadFile,
getFileInfo: getFileInfo,
compressImage: compressImage,
canvasToTempFilePath: canvasToTempFilePath,
chooseAddress: chooseAddress,
chooseImage: chooseImage,
chooseVideo: chooseVideo,
closeBLEConnection: closeBLEConnection,
compressImage: compressImage,
connectSocket: connectSocket,
chooseImage: chooseImage,
previewImage: previewImage,
saveFile: saveFile,
getSavedFileInfo: getSavedFileInfo,
getSavedFileList: getSavedFileList,
removeSavedFile: removeSavedFile,
createBLEConnection: createBLEConnection,
downloadFile: downloadFile,
getBLEDeviceServices: getBLEDeviceServices,
getClipboardData: getClipboardData,
getFileInfo: getFileInfo,
getLocation: getLocation,
openLocation: openLocation,
getNetworkType: getNetworkType,
onNetworkStatusChange: onNetworkStatusChange,
stopAccelerometer: stopAccelerometer,
stopCompass: stopCompass,
scanCode: scanCode,
setClipboardData: setClipboardData,
getClipboardData: getClipboardData,
pageScrollTo: pageScrollTo,
login: login,
getUserInfo: getUserInfo,
requestPayment: requestPayment,
getBLEDeviceServices: getBLEDeviceServices,
createBLEConnection: createBLEConnection,
closeBLEConnection: closeBLEConnection,
onBLEConnectionStateChange: onBLEConnectionStateChange,
makePhoneCall: makePhoneCall,
stopGyroscope: stopGyroscope,
getSavedFileInfo: getSavedFileInfo,
getSavedFileList: getSavedFileList,
getScreenBrightness: getScreenBrightness,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync,
canvasToTempFilePath: canvasToTempFilePath,
setScreenBrightness: setScreenBrightness,
getScreenBrightness: getScreenBrightness,
showShareMenu: showShareMenu,
getUserInfo: getUserInfo,
hideHomeButton: hideHomeButton,
login: login,
makePhoneCall: makePhoneCall,
navigateTo: navigateTo,
onBLEConnectionStateChange: onBLEConnectionStateChange,
onNetworkStatusChange: onNetworkStatusChange,
openLocation: openLocation,
pageScrollTo: pageScrollTo,
previewImage: previewImage,
redirectTo: redirectTo,
removeSavedFile: removeSavedFile,
request: request,
requestPayment: requestPayment,
returnValue: returnValue,
saveFile: saveFile,
saveImageToPhotosAlbum: saveImageToPhotosAlbum,
saveVideoToPhotosAlbum: saveVideoToPhotosAlbum,
chooseAddress: chooseAddress,
redirectTo: redirectTo,
navigateTo: navigateTo
scanCode: scanCode,
setClipboardData: setClipboardData,
setNavigationBarColor: setNavigationBarColor,
setNavigationBarTitle: setNavigationBarTitle,
setScreenBrightness: setScreenBrightness,
showActionSheet: showActionSheet,
showLoading: showLoading,
showModal: showModal,
showShareMenu: showShareMenu,
showToast: showToast,
stopAccelerometer: stopAccelerometer,
stopCompass: stopCompass,
stopGyroscope: stopGyroscope,
uploadFile: uploadFile
});
var index = initUni(shims, protocols);
......
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, isUniLifecycleHook, ON_READY, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, customizeEvent, addLeadingSlash, stringifyQuery, ON_BACK_PRESS } from '@dcloudio/uni-shared';
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, isUniLifecycleHook, ON_READY, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, customizeEvent, addLeadingSlash, stringifyQuery, ON_BACK_PRESS } from '@dcloudio/uni-shared';
import { ref, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, getExposeProxy, EMPTY_OBJ, isRef, setTemplateRef, devtoolsComponentAdded, pruneComponentPropsCache } from 'vue';
import { isArray, hasOwn, capitalize, isFunction, extend, isPlainObject, isString } from '@vue/shared';
import { isArray, capitalize, hasOwn, isFunction, extend, isPlainObject, isString } from '@vue/shared';
import { normalizeLocale, LOCALE_EN } from '@dcloudio/uni-i18n';
const MP_METHODS = [
......
......@@ -1187,10 +1187,10 @@ function createVideoContext(videoId) {
var shims = /*#__PURE__*/Object.freeze({
__proto__: null,
getProvider: getProvider,
requestPayment: requestPayment,
createIntersectionObserver: createIntersectionObserver,
createVideoContext: createVideoContext
createVideoContext: createVideoContext,
getProvider: getProvider,
requestPayment: requestPayment
});
function createTodoMethod(contextName, methodName) {
......@@ -1279,22 +1279,22 @@ const getAccountInfoSync = {
var protocols = /*#__PURE__*/Object.freeze({
__proto__: null,
returnValue: returnValue,
request: request,
connectSocket: connectSocket,
getRecorderManager: getRecorderManager,
getAccountInfoSync: getAccountInfoSync,
getBackgroundAudioManager: getBackgroundAudioManager,
scanCode: scanCode,
navigateToMiniProgram: navigateToMiniProgram,
navigateBackMiniProgram: navigateBackMiniProgram,
showShareMenu: showShareMenu,
getRecorderManager: getRecorderManager,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync,
login: login,
getAccountInfoSync: getAccountInfoSync,
redirectTo: redirectTo,
navigateBackMiniProgram: navigateBackMiniProgram,
navigateTo: navigateTo,
navigateToMiniProgram: navigateToMiniProgram,
previewImage: previewImage,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync
redirectTo: redirectTo,
request: request,
returnValue: returnValue,
scanCode: scanCode,
showShareMenu: showShareMenu
});
var index = initUni(shims, protocols);
......
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, ON_INIT, customizeEvent } from '@dcloudio/uni-shared';
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, ON_INIT, customizeEvent } from '@dcloudio/uni-shared';
import { isArray, hasOwn, isFunction, extend, hyphenate, isPlainObject, isObject } from '@vue/shared';
import { ref, nextTick, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, devtoolsComponentAdded, getExposeProxy, pruneComponentPropsCache } from 'vue';
import { normalizeLocale, LOCALE_EN } from '@dcloudio/uni-i18n';
......@@ -1040,12 +1040,12 @@ function parse$1(componentOptions) {
var parseComponentOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
mocks: mocks,
isPage: isPage,
initRelation: initRelation,
parse: parse$1,
handleLink: handleLink,
initLifetimes: initLifetimes
initLifetimes: initLifetimes,
initRelation: initRelation,
isPage: isPage,
mocks: mocks,
parse: parse$1
});
function parse(pageOptions) {
......@@ -1078,12 +1078,12 @@ function parse(pageOptions) {
var parsePageOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
parse: parse,
handleLink: handleLink,
initLifetimes: initLifetimes,
mocks: mocks,
initRelation: initRelation,
isPage: isPage,
initRelation: initRelation
mocks: mocks,
parse: parse
});
const createApp = initCreateApp(parseAppOptions);
......
......@@ -1179,11 +1179,11 @@ const requestPayment = {
var protocols = /*#__PURE__*/Object.freeze({
__proto__: null,
redirectTo: redirectTo,
navigateTo: navigateTo,
previewImage: previewImage,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync,
navigateTo: navigateTo,
previewImage: previewImage,
redirectTo: redirectTo,
requestPayment: requestPayment
});
......
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { isArray, hasOwn, isFunction, extend, hyphenate, isPlainObject, isObject } from '@vue/shared';
import { ref, nextTick, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, devtoolsComponentAdded, getExposeProxy, pruneComponentPropsCache } from 'vue';
import { normalizeLocale, LOCALE_EN } from '@dcloudio/uni-i18n';
......@@ -944,11 +944,11 @@ function handleLink(event) {
var baseParseOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
mocks: mocks,
isPage: isPage,
initRelation: initRelation,
handleLink: handleLink,
initLifetimes: initLifetimes
initLifetimes: initLifetimes,
initRelation: initRelation,
isPage: isPage,
mocks: mocks
});
function parse$1(pageOptions) {
......
......@@ -1235,22 +1235,22 @@ const getFileInfo = {
var protocols = /*#__PURE__*/Object.freeze({
__proto__: null,
chooseImage: chooseImage,
connectSocket: connectSocket,
chooseVideo: chooseVideo,
scanCode: scanCode,
startAccelerometer: startAccelerometer,
showToast: showToast,
showLoading: showLoading,
showActionSheet: showActionSheet,
login: login,
getUserInfo: getUserInfo,
requestPayment: requestPayment,
connectSocket: connectSocket,
getFileInfo: getFileInfo,
redirectTo: redirectTo,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync,
getUserInfo: getUserInfo,
login: login,
navigateTo: navigateTo,
previewImage: previewImage,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync
redirectTo: redirectTo,
requestPayment: requestPayment,
scanCode: scanCode,
showActionSheet: showActionSheet,
showLoading: showLoading,
showToast: showToast,
startAccelerometer: startAccelerometer
});
var uni = initUni(shims, protocols);
......
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { isArray, hasOwn, isFunction, extend, isPlainObject, isObject } from '@vue/shared';
import { devtoolsComponentRemoved, devtoolsComponentAdded, ref, nextTick, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, getExposeProxy, pruneComponentPropsCache } from 'vue';
import { normalizeLocale, LOCALE_EN } from '@dcloudio/uni-i18n';
......@@ -992,13 +992,13 @@ function parse(componentOptions, { handleLink }) {
var parseComponentOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
mocks: mocks,
isPage: isPage,
instances: instances,
initRelation: initRelation,
handleLink: handleLink,
parse: parse,
initLifetimes: initLifetimes$1
initLifetimes: initLifetimes$1,
initRelation: initRelation,
instances: instances,
isPage: isPage,
mocks: mocks,
parse: parse
});
function initLifetimes(lifetimesOptions) {
......@@ -1034,12 +1034,12 @@ function initLifetimes(lifetimesOptions) {
var parsePageOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
mocks: mocks,
isPage: isPage,
initRelation: initRelation,
handleLink: handleLink,
parse: parse,
initLifetimes: initLifetimes
initLifetimes: initLifetimes,
initRelation: initRelation,
isPage: isPage,
mocks: mocks,
parse: parse
});
const createApp = initCreateApp();
......
......@@ -1173,18 +1173,18 @@ function canvasToTempFilePath(canvasId, context) {
var shims = /*#__PURE__*/Object.freeze({
__proto__: null,
getProvider: getProvider,
canvasToTempFilePath: canvasToTempFilePath,
createCanvasContext: createCanvasContext,
canvasToTempFilePath: canvasToTempFilePath
getProvider: getProvider
});
var protocols = /*#__PURE__*/Object.freeze({
__proto__: null,
redirectTo: redirectTo,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync,
navigateTo: navigateTo,
previewImage: previewImage,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync
redirectTo: redirectTo
});
var index = initUni(shims, protocols);
......
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { isArray, hasOwn, isFunction, extend, isPlainObject, isObject } from '@vue/shared';
import { ref, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, devtoolsComponentAdded, getExposeProxy, pruneComponentPropsCache } from 'vue';
import { normalizeLocale, LOCALE_EN } from '@dcloudio/uni-i18n';
......@@ -855,11 +855,11 @@ function handleLink(event) {
var parseOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
mocks: mocks,
isPage: isPage,
initRelation: initRelation,
handleLink: handleLink,
initLifetimes: initLifetimes
initLifetimes: initLifetimes,
initRelation: initRelation,
isPage: isPage,
mocks: mocks
});
const createApp = initCreateApp();
......
......@@ -1235,22 +1235,22 @@ const getFileInfo = {
var protocols = /*#__PURE__*/Object.freeze({
__proto__: null,
chooseImage: chooseImage,
connectSocket: connectSocket,
chooseVideo: chooseVideo,
scanCode: scanCode,
startAccelerometer: startAccelerometer,
showToast: showToast,
showLoading: showLoading,
showActionSheet: showActionSheet,
login: login,
getUserInfo: getUserInfo,
requestPayment: requestPayment,
connectSocket: connectSocket,
getFileInfo: getFileInfo,
redirectTo: redirectTo,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync,
getUserInfo: getUserInfo,
login: login,
navigateTo: navigateTo,
previewImage: previewImage,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync
redirectTo: redirectTo,
requestPayment: requestPayment,
scanCode: scanCode,
showActionSheet: showActionSheet,
showLoading: showLoading,
showToast: showToast,
startAccelerometer: startAccelerometer
});
var index = initUni(shims, protocols);
......
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { isArray, hasOwn, isFunction, extend, isPlainObject, isObject } from '@vue/shared';
import { ref, nextTick, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, devtoolsComponentAdded, getExposeProxy, pruneComponentPropsCache } from 'vue';
import { normalizeLocale, LOCALE_EN } from '@dcloudio/uni-i18n';
......@@ -1011,13 +1011,13 @@ function parse(componentOptions, { handleLink }) {
var parseComponentOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
mocks: mocks,
isPage: isPage,
instances: instances,
initRelation: initRelation,
handleLink: handleLink,
parse: parse,
initLifetimes: initLifetimes$1
initLifetimes: initLifetimes$1,
initRelation: initRelation,
instances: instances,
isPage: isPage,
mocks: mocks,
parse: parse
});
function initLifetimes(lifetimesOptions) {
......@@ -1053,12 +1053,12 @@ function initLifetimes(lifetimesOptions) {
var parsePageOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
mocks: mocks,
isPage: isPage,
initRelation: initRelation,
handleLink: handleLink,
parse: parse,
initLifetimes: initLifetimes
initLifetimes: initLifetimes,
initRelation: initRelation,
isPage: isPage,
mocks: mocks,
parse: parse
});
const createApp = initCreateApp();
......
......@@ -1259,8 +1259,8 @@ const shareVideoMessage = host && host.env === 'SAAASDK'
var shims = /*#__PURE__*/Object.freeze({
__proto__: null,
getProvider: getProvider,
createSelectorQuery: createSelectorQuery,
getProvider: getProvider,
shareVideoMessage: shareVideoMessage
});
......@@ -1281,15 +1281,15 @@ const compressImage = {
var protocols = /*#__PURE__*/Object.freeze({
__proto__: null,
compressImage: compressImage,
redirectTo: redirectTo,
previewImage: previewImage,
getAppAuthorizeSetting: getAppAuthorizeSetting,
getAppBaseInfo: getAppBaseInfo,
getDeviceInfo: getDeviceInfo,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync,
showActionSheet: showActionSheet,
getDeviceInfo: getDeviceInfo,
getAppBaseInfo: getAppBaseInfo,
getWindowInfo: getWindowInfo,
getAppAuthorizeSetting: getAppAuthorizeSetting
previewImage: previewImage,
redirectTo: redirectTo,
showActionSheet: showActionSheet
});
const wx$1 = initWx();
......
import { SLOT_DEFAULT_NAME, invokeArrayFns, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { SLOT_DEFAULT_NAME, invokeArrayFns, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { isArray, hasOwn, isFunction, extend, isPlainObject, isObject } from '@vue/shared';
import { ref, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, devtoolsComponentAdded, getExposeProxy, pruneComponentPropsCache } from 'vue';
import { normalizeLocale, LOCALE_EN } from '@dcloudio/uni-i18n';
......@@ -877,11 +877,11 @@ function handleLink(event) {
var parseOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
mocks: mocks,
isPage: isPage,
initRelation: initRelation,
handleLink: handleLink,
initLifetimes: initLifetimes
initLifetimes: initLifetimes,
initRelation: initRelation,
isPage: isPage,
mocks: mocks
});
const createApp = initCreateApp();
......
......@@ -1172,11 +1172,11 @@ var shims = /*#__PURE__*/Object.freeze({
var protocols = /*#__PURE__*/Object.freeze({
__proto__: null,
redirectTo: redirectTo,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync,
navigateTo: navigateTo,
previewImage: previewImage,
getSystemInfo: getSystemInfo,
getSystemInfoSync: getSystemInfoSync
redirectTo: redirectTo
});
var index = initUni(shims, protocols);
......
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { SLOT_DEFAULT_NAME, EventChannel, invokeArrayFns, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, ON_LOAD, ON_SHOW, ON_HIDE, ON_UNLOAD, ON_RESIZE, ON_TAB_ITEM_TAP, ON_REACH_BOTTOM, ON_PULL_DOWN_REFRESH, ON_ADD_TO_FAVORITES, isUniLifecycleHook, ON_READY, once, ON_LAUNCH, ON_ERROR, ON_THEME_CHANGE, ON_PAGE_NOT_FOUND, ON_UNHANDLE_REJECTION, addLeadingSlash, stringifyQuery, customizeEvent } from '@dcloudio/uni-shared';
import { isArray, hasOwn, isFunction, extend, isPlainObject, isObject } from '@vue/shared';
import { ref, nextTick, findComponentPropsData, toRaw, updateProps, hasQueueJob, invalidateJob, devtoolsComponentAdded, getExposeProxy, pruneComponentPropsCache } from 'vue';
import { normalizeLocale, LOCALE_EN } from '@dcloudio/uni-i18n';
......@@ -995,22 +995,22 @@ function handleLink({ detail: { nodeId, webviewId }, }) {
var parseComponentOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
initRelation: initRelation,
handleLink: handleLink,
mocks: mocks,
initLifetimes: initLifetimes$1,
initRelation: initRelation,
isPage: isPage,
parse: parse,
initLifetimes: initLifetimes$1
mocks: mocks,
parse: parse
});
var parsePageOptions = /*#__PURE__*/Object.freeze({
__proto__: null,
mocks: mocks,
isPage: isPage,
initRelation: initRelation,
handleLink: handleLink,
parse: parse,
initLifetimes: initLifetimes
initLifetimes: initLifetimes,
initRelation: initRelation,
isPage: isPage,
mocks: mocks,
parse: parse
});
const createApp = initCreateApp();
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册