@dcloudio/uni-app
Advanced tools
Comparing version 3.0.0-alpha-3000020210524001 to 3.0.0-alpha-3000020210528001
@@ -79,2 +79,6 @@ 'use strict'; | ||
function resolveEasycom(component, easycom) { | ||
return shared.isString(component) ? easycom : component; | ||
} | ||
// @ts-ignore | ||
@@ -159,3 +163,4 @@ // App and Page | ||
exports.onUnload = onUnload; | ||
exports.resolveEasycom = resolveEasycom; | ||
exports.shallowSsrRef = shallowSsrRef; | ||
exports.ssrRef = ssrRef; |
@@ -53,2 +53,4 @@ import { ComponentInternalInstance } from 'vue'; | ||
export declare function resolveEasycom(component: unknown, easycom: unknown): unknown; | ||
export declare const shallowSsrRef: SSRRef; | ||
@@ -55,0 +57,0 @@ |
import { shallowRef, ref, getCurrentInstance, isInSSRComponentSetup, injectHook } from 'vue'; | ||
import { hasOwn } from '@vue/shared'; | ||
import { hasOwn, isString } from '@vue/shared'; | ||
@@ -44,2 +44,6 @@ const sanitise = (val) => (val && JSON.parse(JSON.stringify(val))) || val; | ||
function resolveEasycom(component, easycom) { | ||
return isString(component) ? easycom : component; | ||
} | ||
// @ts-ignore | ||
@@ -100,2 +104,2 @@ // App and Page | ||
export { getSsrGlobalData, onAddToFavorites, onBackPress, onError, onHide, onLaunch, onNavigationBarButtonTap, onNavigationBarSearchInputChanged, onNavigationBarSearchInputClicked, onNavigationBarSearchInputConfirmed, onNavigationBarSearchInputFocusChanged, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, shallowSsrRef, ssrRef }; | ||
export { getSsrGlobalData, onAddToFavorites, onBackPress, onError, onHide, onLaunch, onNavigationBarButtonTap, onNavigationBarSearchInputChanged, onNavigationBarSearchInputClicked, onNavigationBarSearchInputConfirmed, onNavigationBarSearchInputFocusChanged, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, resolveEasycom, shallowSsrRef, ssrRef }; |
{ | ||
"name": "@dcloudio/uni-app", | ||
"version": "3.0.0-alpha-3000020210524001", | ||
"version": "3.0.0-alpha-3000020210528001", | ||
"description": "@dcloudio/uni-app", | ||
@@ -21,3 +21,3 @@ "main": "./dist/uni-app.cjs.js", | ||
}, | ||
"gitHead": "9980ff973ec932498384e9021b4b66ee4f4d269c" | ||
"gitHead": "0eff378978e778420c7d2bfc9b039a387d15aac9" | ||
} |
26844
288