Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
陈庄旺
uni-app
提交
d94760a8
U
uni-app
项目概览
陈庄旺
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d94760a8
编写于
2月 10, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
wip(app): nvue
上级
a525c165
变更
21
隐藏空白更改
内联
并排
Showing
21 changed file
with
111 addition
and
681 deletion
+111
-681
packages/uni-app-plus/dist/uni-app-view.umd.js
packages/uni-app-plus/dist/uni-app-view.umd.js
+1
-1
packages/uni-app-plus/dist/uni.runtime.esm.js
packages/uni-app-plus/dist/uni.runtime.esm.js
+1
-4
packages/uni-app-plus/src/service/api/internal/global.ts
packages/uni-app-plus/src/service/api/internal/global.ts
+0
-4
packages/uni-app-vue/build.json
packages/uni-app-vue/build.json
+2
-2
packages/uni-app-vue/dist/nvue.runtime.esm.dev.js
packages/uni-app-vue/dist/nvue.runtime.esm.dev.js
+5
-145
packages/uni-app-vue/dist/nvue.runtime.esm.prod.js
packages/uni-app-vue/dist/nvue.runtime.esm.prod.js
+5
-145
packages/uni-app-vue/dist/vue.runtime.esm.dev.js
packages/uni-app-vue/dist/vue.runtime.esm.dev.js
+5
-157
packages/uni-app-vue/dist/vue.runtime.esm.prod.js
packages/uni-app-vue/dist/vue.runtime.esm.prod.js
+5
-157
packages/uni-app-vue/src/nvue/index.ts
packages/uni-app-vue/src/nvue/index.ts
+1
-2
packages/uni-app-vue/src/service/index.ts
packages/uni-app-vue/src/service/index.ts
+1
-2
packages/uni-cli-shared/src/json/app/pages/code.ts
packages/uni-cli-shared/src/json/app/pages/code.ts
+1
-2
packages/uni-mp-alipay/dist/uni.mp.esm.js
packages/uni-mp-alipay/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-baidu/dist/uni.mp.esm.js
packages/uni-mp-baidu/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-kuaishou/dist/uni.mp.esm.js
packages/uni-mp-kuaishou/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-lark/dist/uni.mp.esm.js
packages/uni-mp-lark/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-qq/dist/uni.mp.esm.js
packages/uni-mp-qq/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-toutiao/dist/uni.mp.esm.js
packages/uni-mp-toutiao/dist/uni.mp.esm.js
+7
-5
packages/uni-mp-weixin/dist/uni.mp.esm.js
packages/uni-mp-weixin/dist/uni.mp.esm.js
+7
-5
packages/uni-quickapp-webview/dist/uni.mp.esm.js
packages/uni-quickapp-webview/dist/uni.mp.esm.js
+7
-5
packages/uni-shared/dist/uni-shared.cjs.js
packages/uni-shared/dist/uni-shared.cjs.js
+14
-10
packages/uni-shared/dist/uni-shared.es.js
packages/uni-shared/dist/uni-shared.es.js
+14
-10
未找到文件。
packages/uni-app-plus/dist/uni-app-view.umd.js
浏览文件 @
d94760a8
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
packages/uni-app-plus/dist/uni.runtime.esm.js
浏览文件 @
d94760a8
...
...
@@ -16037,14 +16037,11 @@ function setStatusBarStyle(statusBarStyle) {
plus.navigator.setStatusBarStyle(statusBarStyle);
}
function restoreGlobal(new
Vue, new
Weex, newPlus, newSetTimeout, newClearTimeout, newSetInterval, newClearInterval) {
function restoreGlobal(newWeex, newPlus, newSetTimeout, newClearTimeout, newSetInterval, newClearInterval) {
// 确保部分全局变量 是 app-service 中的
// 若首页 nvue 初始化比 app-service 快,导致框架处于该 nvue 环境下
// plus 如果不用 app-service,资源路径会出问题
// 若首页 nvue 被销毁,如 redirectTo 或 reLaunch,则这些全局功能会损坏
// 设置 vue3
// @ts-ignore 最终vue会被替换为vue
vue = newVue;
if (plus !== newPlus) {
if ((process.env.NODE_ENV !== 'production')) {
console.log(`[restoreGlobal][${Date.now()}]`);
...
...
packages/uni-app-plus/src/service/api/internal/global.ts
浏览文件 @
d94760a8
...
...
@@ -4,7 +4,6 @@ import {
}
from
'
../../statusBar
'
export
function
restoreGlobal
(
newVue
:
unknown
,
newWeex
:
unknown
,
newPlus
:
unknown
,
newSetTimeout
:
unknown
,
...
...
@@ -17,9 +16,6 @@ export function restoreGlobal(
// plus 如果不用 app-service,资源路径会出问题
// 若首页 nvue 被销毁,如 redirectTo 或 reLaunch,则这些全局功能会损坏
// 设置 vue3
// @ts-ignore 最终__VUE__会被替换为vue
__VUE__
=
newVue
if
(
plus
!==
newPlus
)
{
if
(
__DEV__
)
{
console
.
log
(
`[restoreGlobal][
${
Date
.
now
()}
]`
)
...
...
packages/uni-app-vue/build.json
浏览文件 @
d94760a8
[
{
"input"
:
{
"src/service/index.ts"
:
[
"dist/
servic
e.runtime.esm.dev.js"
]
"src/service/index.ts"
:
[
"dist/
vu
e.runtime.esm.dev.js"
]
},
"output"
:
{
"freeze"
:
false
...
...
@@ -16,7 +16,7 @@
},
{
"input"
:
{
"src/service/index.ts"
:
[
"dist/
servic
e.runtime.esm.prod.js"
]
"src/service/index.ts"
:
[
"dist/
vu
e.runtime.esm.prod.js"
]
},
"output"
:
{
"freeze"
:
false
...
...
packages/uni-app-vue/dist/nvue.runtime.esm.dev.js
浏览文件 @
d94760a8
import
{
isString
,
isFunction
,
isPromise
,
getGlobalThis
,
extend
,
EMPTY_OBJ
,
isArray
,
NOOP
,
remove
,
isObject
,
toHandlerKey
,
camelize
,
capitalize
,
normalizeClass
,
normalizeStyle
,
isOn
,
NO
,
hasOwn
,
toNumber
,
hasChanged
,
isSet
,
isMap
,
isPlainObject
,
invokeArrayFns
,
isBuiltInDirective
,
isReservedProp
,
EMPTY_ARR
,
makeMap
,
isModelListener
,
hyphenate
,
def
,
toRawType
,
parseStringStyle
,
isGloballyWhitelisted
,
normalizeProps
,
toDisplayString
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
as
isShallow$1
,
isReactive
,
ReactiveEffect
,
ref
,
isProxy
,
shallowReadonly
,
proxyRefs
,
markRaw
,
computed
as
computed$1
,
EffectScope
,
track
,
isReadonly
,
reactive
,
shallowReactive
,
trigger
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
onScopeDispose
,
readonly
,
shallowRef
,
stop
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
import
{
isString
,
isFunction
,
isPromise
,
getGlobalThis
,
extend
,
EMPTY_OBJ
,
isArray
,
NOOP
,
remove
,
isObject
,
toHandlerKey
,
camelize
,
capitalize
,
normalizeClass
,
normalizeStyle
,
isOn
,
NO
,
hasOwn
,
toNumber
,
hasChanged
,
isSet
,
isMap
,
isPlainObject
,
invokeArrayFns
,
isBuiltInDirective
,
isReservedProp
,
EMPTY_ARR
,
makeMap
,
isModelListener
,
hyphenate
,
def
,
toRawType
,
parseStringStyle
,
isGloballyWhitelisted
}
from
'
@vue/shared
'
;
export
{
camelize
,
capitalize
,
hyphenate
,
normalizeClass
,
normalizeProps
,
normalizeStyle
,
toDisplayString
,
toHandlerKey
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
as
isShallow$1
,
isReactive
,
ReactiveEffect
,
ref
,
isProxy
,
shallowReadonly
,
proxyRefs
,
markRaw
,
computed
as
computed$1
,
EffectScope
,
track
,
isReadonly
,
reactive
,
shallowReactive
,
trigger
}
from
'
@vue/reactivity
'
;
export
{
EffectScope
,
ReactiveEffect
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
isShallow
,
markRaw
,
onScopeDispose
,
proxyRefs
,
reactive
,
readonly
,
ref
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
stop
,
toRaw
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
var
stack
=
[];
function
pushWarningContext
(
vnode
)
{
...
...
@@ -9710,146 +9712,4 @@ var createApp = function () {
return
app
;
};
var
Vue
=
{
__proto__
:
null
,
BaseTransition
:
BaseTransition
,
Comment
:
Comment
,
Fragment
:
Fragment
,
KeepAlive
:
KeepAlive
,
Static
:
Static
,
Suspense
:
Suspense
,
Teleport
:
Teleport
,
Text
:
Text
,
callWithAsyncErrorHandling
:
callWithAsyncErrorHandling
,
callWithErrorHandling
:
callWithErrorHandling
,
cloneVNode
:
cloneVNode
,
compatUtils
:
compatUtils
,
computed
:
computed
,
createApp
:
createApp
,
createBlock
:
createBlock
,
createCommentVNode
:
createCommentVNode
,
createElementBlock
:
createElementBlock
,
createElementVNode
:
createBaseVNode
,
createHydrationRenderer
:
createHydrationRenderer
,
createPropsRestProxy
:
createPropsRestProxy
,
createRenderer
:
createRenderer
,
createSlots
:
createSlots
,
createStaticVNode
:
createStaticVNode
,
createTextVNode
:
createTextVNode
,
createVNode
:
createVNode
,
defineAsyncComponent
:
defineAsyncComponent
,
defineComponent
:
defineComponent
,
defineEmits
:
defineEmits
,
defineExpose
:
defineExpose
,
defineProps
:
defineProps
,
get
devtools
()
{
return
devtools
;
},
getCurrentInstance
:
getCurrentInstance
,
getTransitionRawChildren
:
getTransitionRawChildren
,
guardReactiveProps
:
guardReactiveProps
,
h
:
h
,
handleError
:
handleError
,
initCustomFormatter
:
initCustomFormatter
,
inject
:
inject
,
injectHook
:
injectHook
,
get
isInSSRComponentSetup
()
{
return
isInSSRComponentSetup
;
},
isMemoSame
:
isMemoSame
,
isRuntimeOnly
:
isRuntimeOnly
,
isVNode
:
isVNode
,
mergeDefaults
:
mergeDefaults
,
mergeProps
:
mergeProps
,
nextTick
:
nextTick
,
onActivated
:
onActivated
,
onBeforeMount
:
onBeforeMount
,
onBeforeUnmount
:
onBeforeUnmount
,
onBeforeUpdate
:
onBeforeUpdate
,
onDeactivated
:
onDeactivated
,
onErrorCaptured
:
onErrorCaptured
,
onMounted
:
onMounted
,
onRenderTracked
:
onRenderTracked
,
onRenderTriggered
:
onRenderTriggered
,
onServerPrefetch
:
onServerPrefetch
,
onUnmounted
:
onUnmounted
,
onUpdated
:
onUpdated
,
openBlock
:
openBlock
,
popScopeId
:
popScopeId
,
provide
:
provide
,
pushScopeId
:
pushScopeId
,
queuePostFlushCb
:
queuePostFlushCb
,
registerRuntimeCompiler
:
registerRuntimeCompiler
,
render
:
render
,
renderList
:
renderList
,
renderSlot
:
renderSlot
,
resolveComponent
:
resolveComponent
,
resolveDirective
:
resolveDirective
,
resolveDynamicComponent
:
resolveDynamicComponent
,
resolveFilter
:
resolveFilter
,
resolveTransitionHooks
:
resolveTransitionHooks
,
setBlockTracking
:
setBlockTracking
,
setDevtoolsHook
:
setDevtoolsHook
,
setTransitionHooks
:
setTransitionHooks
,
ssrContextKey
:
ssrContextKey
,
toHandlers
:
toHandlers
,
transformVNodeArgs
:
transformVNodeArgs
,
useAttrs
:
useAttrs
,
useCssModule
:
useCssModule
,
useCssStyles
:
useCssStyles
,
useCssVars
:
useCssVars
,
useSSRContext
:
useSSRContext
,
useSlots
:
useSlots
,
useTransitionState
:
useTransitionState
,
version
:
version
,
warn
:
warn
,
watch
:
watch
,
watchEffect
:
watchEffect
,
watchPostEffect
:
watchPostEffect
,
watchSyncEffect
:
watchSyncEffect
,
withAsyncContext
:
withAsyncContext
,
withCtx
:
withCtx
,
withDefaults
:
withDefaults
,
withDirectives
:
withDirectives
,
withMemo
:
withMemo
,
withScopeId
:
withScopeId
,
camelize
:
camelize
,
capitalize
:
capitalize
,
hyphenate
:
hyphenate
,
normalizeClass
:
normalizeClass
,
normalizeProps
:
normalizeProps
,
normalizeStyle
:
normalizeStyle
,
toDisplayString
:
toDisplayString
,
toHandlerKey
:
toHandlerKey
,
EffectScope
:
EffectScope
,
ReactiveEffect
:
ReactiveEffect
,
customRef
:
customRef
,
effect
:
effect
,
effectScope
:
effectScope
,
getCurrentScope
:
getCurrentScope
,
isProxy
:
isProxy
,
isReactive
:
isReactive
,
isReadonly
:
isReadonly
,
isRef
:
isRef
,
isShallow
:
isShallow$1
,
markRaw
:
markRaw
,
onScopeDispose
:
onScopeDispose
,
proxyRefs
:
proxyRefs
,
reactive
:
reactive
,
readonly
:
readonly
,
ref
:
ref
,
shallowReactive
:
shallowReactive
,
shallowReadonly
:
shallowReadonly
,
shallowRef
:
shallowRef
,
stop
:
stop
,
toRaw
:
toRaw
,
toRef
:
toRef
,
toRefs
:
toRefs
,
triggerRef
:
triggerRef
,
unref
:
unref
};
exports
.
Vue
=
Vue
;
export
{
BaseTransition
,
Comment
,
Fragment
,
KeepAlive
,
Static
,
Suspense
,
Teleport
,
Text
,
callWithAsyncErrorHandling
,
callWithErrorHandling
,
cloneVNode
,
compatUtils
,
computed
,
createApp
,
createBlock
,
createCommentVNode
,
createElementBlock
,
createBaseVNode
as
createElementVNode
,
createHydrationRenderer
,
createPropsRestProxy
,
createRenderer
,
createSlots
,
createStaticVNode
,
createTextVNode
,
createVNode
,
defineAsyncComponent
,
defineComponent
,
defineEmits
,
defineExpose
,
defineProps
,
devtools
,
getCurrentInstance
,
getTransitionRawChildren
,
guardReactiveProps
,
h
,
handleError
,
initCustomFormatter
,
inject
,
injectHook
,
isInSSRComponentSetup
,
isMemoSame
,
isRuntimeOnly
,
isVNode
,
mergeDefaults
,
mergeProps
,
nextTick
,
onActivated
,
onBeforeMount
,
onBeforeUnmount
,
onBeforeUpdate
,
onDeactivated
,
onErrorCaptured
,
onMounted
,
onRenderTracked
,
onRenderTriggered
,
onServerPrefetch
,
onUnmounted
,
onUpdated
,
openBlock
,
popScopeId
,
provide
,
pushScopeId
,
queuePostFlushCb
,
registerRuntimeCompiler
,
render
,
renderList
,
renderSlot
,
resolveComponent
,
resolveDirective
,
resolveDynamicComponent
,
resolveFilter
,
resolveTransitionHooks
,
setBlockTracking
,
setDevtoolsHook
,
setTransitionHooks
,
ssrContextKey
,
toHandlers
,
transformVNodeArgs
,
useAttrs
,
useCssModule
,
useCssStyles
,
useCssVars
,
useSSRContext
,
useSlots
,
useTransitionState
,
version
,
warn
,
watch
,
watchEffect
,
watchPostEffect
,
watchSyncEffect
,
withAsyncContext
,
withCtx
,
withDefaults
,
withDirectives
,
withMemo
,
withScopeId
};
packages/uni-app-vue/dist/nvue.runtime.esm.prod.js
浏览文件 @
d94760a8
import
{
isString
,
isFunction
,
isPromise
,
EMPTY_OBJ
,
isArray
,
NOOP
,
remove
,
isObject
,
getGlobalThis
,
camelize
,
capitalize
,
normalizeClass
,
extend
,
normalizeStyle
,
isOn
,
toHandlerKey
,
hasOwn
,
toNumber
,
hasChanged
,
isSet
,
isMap
,
isPlainObject
,
invokeArrayFns
,
NO
,
isReservedProp
,
EMPTY_ARR
,
isModelListener
,
hyphenate
,
def
,
parseStringStyle
,
isGloballyWhitelisted
,
normalizeProps
,
toDisplayString
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
,
isReactive
,
ReactiveEffect
,
ref
,
isProxy
,
proxyRefs
,
markRaw
,
computed
as
computed$1
,
EffectScope
,
track
,
reactive
,
shallowReactive
,
trigger
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isReadonly
,
onScopeDispose
,
readonly
,
shallowReadonly
,
shallowRef
,
stop
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
import
{
isString
,
isFunction
,
isPromise
,
EMPTY_OBJ
,
isArray
,
NOOP
,
remove
,
isObject
,
getGlobalThis
,
camelize
,
capitalize
,
normalizeClass
,
extend
,
normalizeStyle
,
isOn
,
toHandlerKey
,
hasOwn
,
toNumber
,
hasChanged
,
isSet
,
isMap
,
isPlainObject
,
invokeArrayFns
,
NO
,
isReservedProp
,
EMPTY_ARR
,
isModelListener
,
hyphenate
,
def
,
parseStringStyle
,
isGloballyWhitelisted
}
from
'
@vue/shared
'
;
export
{
camelize
,
capitalize
,
hyphenate
,
normalizeClass
,
normalizeProps
,
normalizeStyle
,
toDisplayString
,
toHandlerKey
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
,
isReactive
,
ReactiveEffect
,
ref
,
isProxy
,
proxyRefs
,
markRaw
,
computed
as
computed$1
,
EffectScope
,
track
,
reactive
,
shallowReactive
,
trigger
}
from
'
@vue/reactivity
'
;
export
{
EffectScope
,
ReactiveEffect
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
isShallow
,
markRaw
,
onScopeDispose
,
proxyRefs
,
reactive
,
readonly
,
ref
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
stop
,
toRaw
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
var
stack
=
[];
function
warn
(
msg
)
{
...
...
@@ -7970,146 +7972,4 @@ var createApp = function () {
return
app
;
};
var
Vue
=
{
__proto__
:
null
,
BaseTransition
:
BaseTransition
,
Comment
:
Comment
,
Fragment
:
Fragment
,
KeepAlive
:
KeepAlive
,
Static
:
Static
,
Suspense
:
Suspense
,
Teleport
:
Teleport
,
Text
:
Text
,
callWithAsyncErrorHandling
:
callWithAsyncErrorHandling
,
callWithErrorHandling
:
callWithErrorHandling
,
cloneVNode
:
cloneVNode
,
compatUtils
:
compatUtils
,
computed
:
computed
,
createApp
:
createApp
,
createBlock
:
createBlock
,
createCommentVNode
:
createCommentVNode
,
createElementBlock
:
createElementBlock
,
createElementVNode
:
createBaseVNode
,
createHydrationRenderer
:
createHydrationRenderer
,
createPropsRestProxy
:
createPropsRestProxy
,
createRenderer
:
createRenderer
,
createSlots
:
createSlots
,
createStaticVNode
:
createStaticVNode
,
createTextVNode
:
createTextVNode
,
createVNode
:
createVNode
,
defineAsyncComponent
:
defineAsyncComponent
,
defineComponent
:
defineComponent
,
defineEmits
:
defineEmits
,
defineExpose
:
defineExpose
,
defineProps
:
defineProps
,
get
devtools
()
{
return
devtools
;
},
getCurrentInstance
:
getCurrentInstance
,
getTransitionRawChildren
:
getTransitionRawChildren
,
guardReactiveProps
:
guardReactiveProps
,
h
:
h
,
handleError
:
handleError
,
initCustomFormatter
:
initCustomFormatter
,
inject
:
inject
,
injectHook
:
injectHook
,
get
isInSSRComponentSetup
()
{
return
isInSSRComponentSetup
;
},
isMemoSame
:
isMemoSame
,
isRuntimeOnly
:
isRuntimeOnly
,
isVNode
:
isVNode
,
mergeDefaults
:
mergeDefaults
,
mergeProps
:
mergeProps
,
nextTick
:
nextTick
,
onActivated
:
onActivated
,
onBeforeMount
:
onBeforeMount
,
onBeforeUnmount
:
onBeforeUnmount
,
onBeforeUpdate
:
onBeforeUpdate
,
onDeactivated
:
onDeactivated
,
onErrorCaptured
:
onErrorCaptured
,
onMounted
:
onMounted
,
onRenderTracked
:
onRenderTracked
,
onRenderTriggered
:
onRenderTriggered
,
onServerPrefetch
:
onServerPrefetch
,
onUnmounted
:
onUnmounted
,
onUpdated
:
onUpdated
,
openBlock
:
openBlock
,
popScopeId
:
popScopeId
,
provide
:
provide
,
pushScopeId
:
pushScopeId
,
queuePostFlushCb
:
queuePostFlushCb
,
registerRuntimeCompiler
:
registerRuntimeCompiler
,
render
:
render
,
renderList
:
renderList
,
renderSlot
:
renderSlot
,
resolveComponent
:
resolveComponent
,
resolveDirective
:
resolveDirective
,
resolveDynamicComponent
:
resolveDynamicComponent
,
resolveFilter
:
resolveFilter
,
resolveTransitionHooks
:
resolveTransitionHooks
,
setBlockTracking
:
setBlockTracking
,
setDevtoolsHook
:
setDevtoolsHook
,
setTransitionHooks
:
setTransitionHooks
,
ssrContextKey
:
ssrContextKey
,
toHandlers
:
toHandlers
,
transformVNodeArgs
:
transformVNodeArgs
,
useAttrs
:
useAttrs
,
useCssModule
:
useCssModule
,
useCssStyles
:
useCssStyles
,
useCssVars
:
useCssVars
,
useSSRContext
:
useSSRContext
,
useSlots
:
useSlots
,
useTransitionState
:
useTransitionState
,
version
:
version
,
warn
:
warn
,
watch
:
watch
,
watchEffect
:
watchEffect
,
watchPostEffect
:
watchPostEffect
,
watchSyncEffect
:
watchSyncEffect
,
withAsyncContext
:
withAsyncContext
,
withCtx
:
withCtx
,
withDefaults
:
withDefaults
,
withDirectives
:
withDirectives
,
withMemo
:
withMemo
,
withScopeId
:
withScopeId
,
camelize
:
camelize
,
capitalize
:
capitalize
,
hyphenate
:
hyphenate
,
normalizeClass
:
normalizeClass
,
normalizeProps
:
normalizeProps
,
normalizeStyle
:
normalizeStyle
,
toDisplayString
:
toDisplayString
,
toHandlerKey
:
toHandlerKey
,
EffectScope
:
EffectScope
,
ReactiveEffect
:
ReactiveEffect
,
customRef
:
customRef
,
effect
:
effect
,
effectScope
:
effectScope
,
getCurrentScope
:
getCurrentScope
,
isProxy
:
isProxy
,
isReactive
:
isReactive
,
isReadonly
:
isReadonly
,
isRef
:
isRef
,
isShallow
:
isShallow
,
markRaw
:
markRaw
,
onScopeDispose
:
onScopeDispose
,
proxyRefs
:
proxyRefs
,
reactive
:
reactive
,
readonly
:
readonly
,
ref
:
ref
,
shallowReactive
:
shallowReactive
,
shallowReadonly
:
shallowReadonly
,
shallowRef
:
shallowRef
,
stop
:
stop
,
toRaw
:
toRaw
,
toRef
:
toRef
,
toRefs
:
toRefs
,
triggerRef
:
triggerRef
,
unref
:
unref
};
exports
.
Vue
=
Vue
;
export
{
BaseTransition
,
Comment
,
Fragment
,
KeepAlive
,
Static
,
Suspense
,
Teleport
,
Text
,
callWithAsyncErrorHandling
,
callWithErrorHandling
,
cloneVNode
,
compatUtils
,
computed
,
createApp
,
createBlock
,
createCommentVNode
,
createElementBlock
,
createBaseVNode
as
createElementVNode
,
createHydrationRenderer
,
createPropsRestProxy
,
createRenderer
,
createSlots
,
createStaticVNode
,
createTextVNode
,
createVNode
,
defineAsyncComponent
,
defineComponent
,
defineEmits
,
defineExpose
,
defineProps
,
devtools
,
getCurrentInstance
,
getTransitionRawChildren
,
guardReactiveProps
,
h
,
handleError
,
initCustomFormatter
,
inject
,
injectHook
,
isInSSRComponentSetup
,
isMemoSame
,
isRuntimeOnly
,
isVNode
,
mergeDefaults
,
mergeProps
,
nextTick
,
onActivated
,
onBeforeMount
,
onBeforeUnmount
,
onBeforeUpdate
,
onDeactivated
,
onErrorCaptured
,
onMounted
,
onRenderTracked
,
onRenderTriggered
,
onServerPrefetch
,
onUnmounted
,
onUpdated
,
openBlock
,
popScopeId
,
provide
,
pushScopeId
,
queuePostFlushCb
,
registerRuntimeCompiler
,
render
,
renderList
,
renderSlot
,
resolveComponent
,
resolveDirective
,
resolveDynamicComponent
,
resolveFilter
,
resolveTransitionHooks
,
setBlockTracking
,
setDevtoolsHook
,
setTransitionHooks
,
ssrContextKey
,
toHandlers
,
transformVNodeArgs
,
useAttrs
,
useCssModule
,
useCssStyles
,
useCssVars
,
useSSRContext
,
useSlots
,
useTransitionState
,
version
,
warn
,
watch
,
watchEffect
,
watchPostEffect
,
watchSyncEffect
,
withAsyncContext
,
withCtx
,
withDefaults
,
withDirectives
,
withMemo
,
withScopeId
};
packages/uni-app-vue/dist/
servic
e.runtime.esm.dev.js
→
packages/uni-app-vue/dist/
vu
e.runtime.esm.dev.js
浏览文件 @
d94760a8
import
{
isRootHook
,
UniInputElement
,
UniTextAreaElement
,
UniElement
,
UniTextNode
,
UniCommentNode
,
forcePatchProp
,
resolveOwnerEl
,
ATTR_V_OWNER_ID
,
ATTR_V_RENDERJS
,
JSON_PROTOCOL
}
from
'
@dcloudio/uni-shared
'
;
import
{
isString
,
isFunction
,
isPromise
,
getGlobalThis
,
extend
,
EMPTY_OBJ
,
isArray
,
NOOP
,
remove
,
isObject
,
toHandlerKey
,
camelize
,
capitalize
,
normalizeClass
,
normalizeStyle
,
isOn
,
NO
,
toNumber
,
invokeArrayFns
,
hyphenate
,
isHTMLTag
,
isSVGTag
,
hasChanged
,
isSet
,
isMap
,
isPlainObject
,
isBuiltInDirective
,
isReservedProp
,
EMPTY_ARR
,
makeMap
,
isModelListener
,
def
,
hasOwn
,
toRawType
,
isGloballyWhitelisted
,
normalizeProps
,
toDisplayString
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
as
isShallow$1
,
isReactive
,
ReactiveEffect
,
ref
,
isProxy
,
shallowReadonly
,
proxyRefs
,
markRaw
,
computed
as
computed$1
,
EffectScope
,
track
,
isReadonly
,
reactive
,
shallowReactive
,
trigger
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
onScopeDispose
,
readonly
,
shallowRef
,
stop
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
import
{
isString
,
isFunction
,
isPromise
,
getGlobalThis
,
extend
,
EMPTY_OBJ
,
isArray
,
NOOP
,
remove
,
isObject
,
toHandlerKey
,
camelize
,
capitalize
,
normalizeClass
,
normalizeStyle
,
isOn
,
NO
,
toNumber
,
invokeArrayFns
,
hyphenate
,
isHTMLTag
,
isSVGTag
,
hasChanged
,
isSet
,
isMap
,
isPlainObject
,
isBuiltInDirective
,
isReservedProp
,
EMPTY_ARR
,
makeMap
,
isModelListener
,
def
,
hasOwn
,
toRawType
,
isGloballyWhitelisted
}
from
'
@vue/shared
'
;
export
{
camelize
,
capitalize
,
normalizeClass
,
normalizeProps
,
normalizeStyle
,
toDisplayString
,
toHandlerKey
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
as
isShallow$1
,
isReactive
,
ReactiveEffect
,
ref
,
isProxy
,
shallowReadonly
,
proxyRefs
,
markRaw
,
computed
as
computed$1
,
EffectScope
,
track
,
isReadonly
,
reactive
,
shallowReactive
,
trigger
}
from
'
@vue/reactivity
'
;
export
{
EffectScope
,
ReactiveEffect
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
isShallow
,
markRaw
,
onScopeDispose
,
proxyRefs
,
reactive
,
readonly
,
ref
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
stop
,
toRaw
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
var
stack
=
[];
function
pushWarningContext
(
vnode
)
{
...
...
@@ -10372,158 +10374,4 @@ function onBeforeActivate() {}
function
onBeforeDeactivate
()
{}
var
Vue
=
{
__proto__
:
null
,
BaseTransition
:
BaseTransition
,
Comment
:
Comment
,
Fragment
:
Fragment
,
KeepAlive
:
KeepAlive
,
Static
:
Static
,
Suspense
:
Suspense
,
Teleport
:
Teleport
,
Text
:
Text
,
Transition
:
Transition
,
TransitionGroup
:
TransitionGroup
,
callWithAsyncErrorHandling
:
callWithAsyncErrorHandling
,
callWithErrorHandling
:
callWithErrorHandling
,
cloneVNode
:
cloneVNode
,
compatUtils
:
compatUtils
,
computed
:
computed
,
createApp
:
createApp
,
createBlock
:
createBlock
,
createComment
:
createComment
,
createCommentVNode
:
createCommentVNode
,
createElement
:
createElement
,
createElementBlock
:
createElementBlock
,
createElementVNode
:
createBaseVNode
,
createHydrationRenderer
:
createHydrationRenderer
,
createPropsRestProxy
:
createPropsRestProxy
,
createRenderer
:
createRenderer
,
createSSRApp
:
createSSRApp
,
createSlots
:
createSlots
,
createStaticVNode
:
createStaticVNode
,
createTextNode
:
createTextNode
,
createTextVNode
:
createTextVNode
,
createVNode
:
createVNode
,
createVueApp
:
createApp
,
defineAsyncComponent
:
defineAsyncComponent
,
defineComponent
:
defineComponent
,
defineEmits
:
defineEmits
,
defineExpose
:
defineExpose
,
defineProps
:
defineProps
,
get
devtools
()
{
return
devtools
;
},
getCurrentInstance
:
getCurrentInstance
,
getTransitionRawChildren
:
getTransitionRawChildren
,
guardReactiveProps
:
guardReactiveProps
,
h
:
h
,
handleError
:
handleError
,
initCustomFormatter
:
initCustomFormatter
,
inject
:
inject
,
injectHook
:
injectHook
,
get
isInSSRComponentSetup
()
{
return
isInSSRComponentSetup
;
},
isMemoSame
:
isMemoSame
,
isRuntimeOnly
:
isRuntimeOnly
,
isVNode
:
isVNode
,
mergeDefaults
:
mergeDefaults
,
mergeProps
:
mergeProps
,
nextTick
:
nextTick
,
onActivated
:
onActivated
,
onBeforeActivate
:
onBeforeActivate
,
onBeforeDeactivate
:
onBeforeDeactivate
,
onBeforeMount
:
onBeforeMount
,
onBeforeUnmount
:
onBeforeUnmount
,
onBeforeUpdate
:
onBeforeUpdate
,
onDeactivated
:
onDeactivated
,
onErrorCaptured
:
onErrorCaptured
,
onMounted
:
onMounted
,
onRenderTracked
:
onRenderTracked
,
onRenderTriggered
:
onRenderTriggered
,
onServerPrefetch
:
onServerPrefetch
,
onUnmounted
:
onUnmounted
,
onUpdated
:
onUpdated
,
openBlock
:
openBlock
,
popScopeId
:
popScopeId
,
provide
:
provide
,
pushScopeId
:
pushScopeId
,
queuePostFlushCb
:
queuePostFlushCb
,
registerRuntimeCompiler
:
registerRuntimeCompiler
,
render
:
render
,
renderList
:
renderList
,
renderSlot
:
renderSlot
,
resolveComponent
:
resolveComponent
,
resolveDirective
:
resolveDirective
,
resolveDynamicComponent
:
resolveDynamicComponent
,
resolveFilter
:
resolveFilter
,
resolveTransitionHooks
:
resolveTransitionHooks
,
setBlockTracking
:
setBlockTracking
,
setDevtoolsHook
:
setDevtoolsHook
,
setTransitionHooks
:
setTransitionHooks
,
ssrContextKey
:
ssrContextKey
,
ssrUtils
:
ssrUtils
,
toHandlers
:
toHandlers
,
transformVNodeArgs
:
transformVNodeArgs
,
useAttrs
:
useAttrs
,
useCssModule
:
useCssModule
,
useCssVars
:
useCssVars
,
useSSRContext
:
useSSRContext
,
useSlots
:
useSlots
,
useTransitionState
:
useTransitionState
,
vModelText
:
vModelText
,
vShow
:
vShow
,
version
:
version
,
warn
:
warn
,
watch
:
watch
,
watchEffect
:
watchEffect
,
watchPostEffect
:
watchPostEffect
,
watchSyncEffect
:
watchSyncEffect
,
withAsyncContext
:
withAsyncContext
,
withCtx
:
withCtx
,
withDefaults
:
withDefaults
,
withDirectives
:
withDirectives
,
withKeys
:
withKeys
,
withMemo
:
withMemo
,
withModifiers
:
withModifiers
,
withScopeId
:
withScopeId
,
camelize
:
camelize
,
capitalize
:
capitalize
,
normalizeClass
:
normalizeClass
,
normalizeProps
:
normalizeProps
,
normalizeStyle
:
normalizeStyle
,
toDisplayString
:
toDisplayString
,
toHandlerKey
:
toHandlerKey
,
EffectScope
:
EffectScope
,
ReactiveEffect
:
ReactiveEffect
,
customRef
:
customRef
,
effect
:
effect
,
effectScope
:
effectScope
,
getCurrentScope
:
getCurrentScope
,
isProxy
:
isProxy
,
isReactive
:
isReactive
,
isReadonly
:
isReadonly
,
isRef
:
isRef
,
isShallow
:
isShallow$1
,
markRaw
:
markRaw
,
onScopeDispose
:
onScopeDispose
,
proxyRefs
:
proxyRefs
,
reactive
:
reactive
,
readonly
:
readonly
,
ref
:
ref
,
shallowReactive
:
shallowReactive
,
shallowReadonly
:
shallowReadonly
,
shallowRef
:
shallowRef
,
stop
:
stop
,
toRaw
:
toRaw
,
toRef
:
toRef
,
toRefs
:
toRefs
,
triggerRef
:
triggerRef
,
unref
:
unref
};
exports
.
Vue
=
Vue
;
export
{
BaseTransition
,
Comment
,
Fragment
,
KeepAlive
,
Static
,
Suspense
,
Teleport
,
Text
,
Transition
,
TransitionGroup
,
callWithAsyncErrorHandling
,
callWithErrorHandling
,
cloneVNode
,
compatUtils
,
computed
,
createApp
,
createBlock
,
createComment
,
createCommentVNode
,
createElement
,
createElementBlock
,
createBaseVNode
as
createElementVNode
,
createHydrationRenderer
,
createPropsRestProxy
,
createRenderer
,
createSSRApp
,
createSlots
,
createStaticVNode
,
createTextNode
,
createTextVNode
,
createVNode
,
createApp
as
createVueApp
,
defineAsyncComponent
,
defineComponent
,
defineEmits
,
defineExpose
,
defineProps
,
devtools
,
getCurrentInstance
,
getTransitionRawChildren
,
guardReactiveProps
,
h
,
handleError
,
initCustomFormatter
,
inject
,
injectHook
,
isInSSRComponentSetup
,
isMemoSame
,
isRuntimeOnly
,
isVNode
,
mergeDefaults
,
mergeProps
,
nextTick
,
onActivated
,
onBeforeActivate
,
onBeforeDeactivate
,
onBeforeMount
,
onBeforeUnmount
,
onBeforeUpdate
,
onDeactivated
,
onErrorCaptured
,
onMounted
,
onRenderTracked
,
onRenderTriggered
,
onServerPrefetch
,
onUnmounted
,
onUpdated
,
openBlock
,
popScopeId
,
provide
,
pushScopeId
,
queuePostFlushCb
,
registerRuntimeCompiler
,
render
,
renderList
,
renderSlot
,
resolveComponent
,
resolveDirective
,
resolveDynamicComponent
,
resolveFilter
,
resolveTransitionHooks
,
setBlockTracking
,
setDevtoolsHook
,
setTransitionHooks
,
ssrContextKey
,
ssrUtils
,
toHandlers
,
transformVNodeArgs
,
useAttrs
,
useCssModule
,
useCssVars
,
useSSRContext
,
useSlots
,
useTransitionState
,
vModelText
,
vShow
,
version
,
warn
,
watch
,
watchEffect
,
watchPostEffect
,
watchSyncEffect
,
withAsyncContext
,
withCtx
,
withDefaults
,
withDirectives
,
withKeys
,
withMemo
,
withModifiers
,
withScopeId
};
packages/uni-app-vue/dist/
servic
e.runtime.esm.prod.js
→
packages/uni-app-vue/dist/
vu
e.runtime.esm.prod.js
浏览文件 @
d94760a8
import
{
isRootHook
,
UniInputElement
,
UniTextAreaElement
,
UniElement
,
UniTextNode
,
UniCommentNode
,
forcePatchProp
,
resolveOwnerEl
,
ATTR_V_OWNER_ID
,
ATTR_V_RENDERJS
,
JSON_PROTOCOL
}
from
'
@dcloudio/uni-shared
'
;
import
{
isString
,
isFunction
,
isPromise
,
EMPTY_OBJ
,
isArray
,
NOOP
,
remove
,
isObject
,
getGlobalThis
,
camelize
,
capitalize
,
normalizeClass
,
extend
,
normalizeStyle
,
isOn
,
toHandlerKey
,
toNumber
,
invokeArrayFns
,
hyphenate
,
hasChanged
,
isSet
,
isMap
,
isPlainObject
,
NO
,
isReservedProp
,
EMPTY_ARR
,
isModelListener
,
def
,
hasOwn
,
isGloballyWhitelisted
,
normalizeProps
,
toDisplayString
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
,
isReactive
,
ReactiveEffect
,
ref
,
isProxy
,
proxyRefs
,
markRaw
,
computed
as
computed$1
,
EffectScope
,
track
,
reactive
,
shallowReactive
,
trigger
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isReadonly
,
onScopeDispose
,
readonly
,
shallowReadonly
,
shallowRef
,
stop
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
import
{
isString
,
isFunction
,
isPromise
,
EMPTY_OBJ
,
isArray
,
NOOP
,
remove
,
isObject
,
getGlobalThis
,
camelize
,
capitalize
,
normalizeClass
,
extend
,
normalizeStyle
,
isOn
,
toHandlerKey
,
toNumber
,
invokeArrayFns
,
hyphenate
,
hasChanged
,
isSet
,
isMap
,
isPlainObject
,
NO
,
isReservedProp
,
EMPTY_ARR
,
isModelListener
,
def
,
hasOwn
,
isGloballyWhitelisted
}
from
'
@vue/shared
'
;
export
{
camelize
,
capitalize
,
normalizeClass
,
normalizeProps
,
normalizeStyle
,
toDisplayString
,
toHandlerKey
}
from
'
@vue/shared
'
;
import
{
pauseTracking
,
resetTracking
,
isRef
,
toRaw
,
isShallow
,
isReactive
,
ReactiveEffect
,
ref
,
isProxy
,
proxyRefs
,
markRaw
,
computed
as
computed$1
,
EffectScope
,
track
,
reactive
,
shallowReactive
,
trigger
}
from
'
@vue/reactivity
'
;
export
{
EffectScope
,
ReactiveEffect
,
customRef
,
effect
,
effectScope
,
getCurrentScope
,
isProxy
,
isReactive
,
isReadonly
,
isRef
,
isShallow
,
markRaw
,
onScopeDispose
,
proxyRefs
,
reactive
,
readonly
,
ref
,
shallowReactive
,
shallowReadonly
,
shallowRef
,
stop
,
toRaw
,
toRef
,
toRefs
,
triggerRef
,
unref
}
from
'
@vue/reactivity
'
;
var
stack
=
[];
function
warn
(
msg
)
{
...
...
@@ -8609,158 +8611,4 @@ function onBeforeActivate() {}
function
onBeforeDeactivate
()
{}
var
Vue
=
{
__proto__
:
null
,
BaseTransition
:
BaseTransition
,
Comment
:
Comment
,
Fragment
:
Fragment
,
KeepAlive
:
KeepAlive
,
Static
:
Static
,
Suspense
:
Suspense
,
Teleport
:
Teleport
,
Text
:
Text
,
Transition
:
Transition
,
TransitionGroup
:
TransitionGroup
,
callWithAsyncErrorHandling
:
callWithAsyncErrorHandling
,
callWithErrorHandling
:
callWithErrorHandling
,
cloneVNode
:
cloneVNode
,
compatUtils
:
compatUtils
,
computed
:
computed
,
createApp
:
createApp
,
createBlock
:
createBlock
,
createComment
:
createComment
,
createCommentVNode
:
createCommentVNode
,
createElement
:
createElement
,
createElementBlock
:
createElementBlock
,
createElementVNode
:
createBaseVNode
,
createHydrationRenderer
:
createHydrationRenderer
,
createPropsRestProxy
:
createPropsRestProxy
,
createRenderer
:
createRenderer
,
createSSRApp
:
createSSRApp
,
createSlots
:
createSlots
,
createStaticVNode
:
createStaticVNode
,
createTextNode
:
createTextNode
,
createTextVNode
:
createTextVNode
,
createVNode
:
createVNode
,
createVueApp
:
createApp
,
defineAsyncComponent
:
defineAsyncComponent
,
defineComponent
:
defineComponent
,
defineEmits
:
defineEmits
,
defineExpose
:
defineExpose
,
defineProps
:
defineProps
,
get
devtools
()
{
return
devtools
;
},
getCurrentInstance
:
getCurrentInstance
,
getTransitionRawChildren
:
getTransitionRawChildren
,
guardReactiveProps
:
guardReactiveProps
,
h
:
h
,
handleError
:
handleError
,
initCustomFormatter
:
initCustomFormatter
,
inject
:
inject
,
injectHook
:
injectHook
,
get
isInSSRComponentSetup
()
{
return
isInSSRComponentSetup
;
},
isMemoSame
:
isMemoSame
,
isRuntimeOnly
:
isRuntimeOnly
,
isVNode
:
isVNode
,
mergeDefaults
:
mergeDefaults
,
mergeProps
:
mergeProps
,
nextTick
:
nextTick
,
onActivated
:
onActivated
,
onBeforeActivate
:
onBeforeActivate
,
onBeforeDeactivate
:
onBeforeDeactivate
,
onBeforeMount
:
onBeforeMount
,
onBeforeUnmount
:
onBeforeUnmount
,
onBeforeUpdate
:
onBeforeUpdate
,
onDeactivated
:
onDeactivated
,
onErrorCaptured
:
onErrorCaptured
,
onMounted
:
onMounted
,
onRenderTracked
:
onRenderTracked
,
onRenderTriggered
:
onRenderTriggered
,
onServerPrefetch
:
onServerPrefetch
,
onUnmounted
:
onUnmounted
,
onUpdated
:
onUpdated
,
openBlock
:
openBlock
,
popScopeId
:
popScopeId
,
provide
:
provide
,
pushScopeId
:
pushScopeId
,
queuePostFlushCb
:
queuePostFlushCb
,
registerRuntimeCompiler
:
registerRuntimeCompiler
,
render
:
render
,
renderList
:
renderList
,
renderSlot
:
renderSlot
,
resolveComponent
:
resolveComponent
,
resolveDirective
:
resolveDirective
,
resolveDynamicComponent
:
resolveDynamicComponent
,
resolveFilter
:
resolveFilter
,
resolveTransitionHooks
:
resolveTransitionHooks
,
setBlockTracking
:
setBlockTracking
,
setDevtoolsHook
:
setDevtoolsHook
,
setTransitionHooks
:
setTransitionHooks
,
ssrContextKey
:
ssrContextKey
,
ssrUtils
:
ssrUtils
,
toHandlers
:
toHandlers
,
transformVNodeArgs
:
transformVNodeArgs
,
useAttrs
:
useAttrs
,
useCssModule
:
useCssModule
,
useCssVars
:
useCssVars
,
useSSRContext
:
useSSRContext
,
useSlots
:
useSlots
,
useTransitionState
:
useTransitionState
,
vModelText
:
vModelText
,
vShow
:
vShow
,
version
:
version
,
warn
:
warn
,
watch
:
watch
,
watchEffect
:
watchEffect
,
watchPostEffect
:
watchPostEffect
,
watchSyncEffect
:
watchSyncEffect
,
withAsyncContext
:
withAsyncContext
,
withCtx
:
withCtx
,
withDefaults
:
withDefaults
,
withDirectives
:
withDirectives
,
withKeys
:
withKeys
,
withMemo
:
withMemo
,
withModifiers
:
withModifiers
,
withScopeId
:
withScopeId
,
camelize
:
camelize
,
capitalize
:
capitalize
,
normalizeClass
:
normalizeClass
,
normalizeProps
:
normalizeProps
,
normalizeStyle
:
normalizeStyle
,
toDisplayString
:
toDisplayString
,
toHandlerKey
:
toHandlerKey
,
EffectScope
:
EffectScope
,
ReactiveEffect
:
ReactiveEffect
,
customRef
:
customRef
,
effect
:
effect
,
effectScope
:
effectScope
,
getCurrentScope
:
getCurrentScope
,
isProxy
:
isProxy
,
isReactive
:
isReactive
,
isReadonly
:
isReadonly
,
isRef
:
isRef
,
isShallow
:
isShallow
,
markRaw
:
markRaw
,
onScopeDispose
:
onScopeDispose
,
proxyRefs
:
proxyRefs
,
reactive
:
reactive
,
readonly
:
readonly
,
ref
:
ref
,
shallowReactive
:
shallowReactive
,
shallowReadonly
:
shallowReadonly
,
shallowRef
:
shallowRef
,
stop
:
stop
,
toRaw
:
toRaw
,
toRef
:
toRef
,
toRefs
:
toRefs
,
triggerRef
:
triggerRef
,
unref
:
unref
};
exports
.
Vue
=
Vue
;
export
{
BaseTransition
,
Comment
,
Fragment
,
KeepAlive
,
Static
,
Suspense
,
Teleport
,
Text
,
Transition
,
TransitionGroup
,
callWithAsyncErrorHandling
,
callWithErrorHandling
,
cloneVNode
,
compatUtils
,
computed
,
createApp
,
createBlock
,
createComment
,
createCommentVNode
,
createElement
,
createElementBlock
,
createBaseVNode
as
createElementVNode
,
createHydrationRenderer
,
createPropsRestProxy
,
createRenderer
,
createSSRApp
,
createSlots
,
createStaticVNode
,
createTextNode
,
createTextVNode
,
createVNode
,
createApp
as
createVueApp
,
defineAsyncComponent
,
defineComponent
,
defineEmits
,
defineExpose
,
defineProps
,
devtools
,
getCurrentInstance
,
getTransitionRawChildren
,
guardReactiveProps
,
h
,
handleError
,
initCustomFormatter
,
inject
,
injectHook
,
isInSSRComponentSetup
,
isMemoSame
,
isRuntimeOnly
,
isVNode
,
mergeDefaults
,
mergeProps
,
nextTick
,
onActivated
,
onBeforeActivate
,
onBeforeDeactivate
,
onBeforeMount
,
onBeforeUnmount
,
onBeforeUpdate
,
onDeactivated
,
onErrorCaptured
,
onMounted
,
onRenderTracked
,
onRenderTriggered
,
onServerPrefetch
,
onUnmounted
,
onUpdated
,
openBlock
,
popScopeId
,
provide
,
pushScopeId
,
queuePostFlushCb
,
registerRuntimeCompiler
,
render
,
renderList
,
renderSlot
,
resolveComponent
,
resolveDirective
,
resolveDynamicComponent
,
resolveFilter
,
resolveTransitionHooks
,
setBlockTracking
,
setDevtoolsHook
,
setTransitionHooks
,
ssrContextKey
,
ssrUtils
,
toHandlers
,
transformVNodeArgs
,
useAttrs
,
useCssModule
,
useCssVars
,
useSSRContext
,
useSlots
,
useTransitionState
,
vModelText
,
vShow
,
version
,
warn
,
watch
,
watchEffect
,
watchPostEffect
,
watchSyncEffect
,
withAsyncContext
,
withCtx
,
withDefaults
,
withDirectives
,
withKeys
,
withMemo
,
withModifiers
,
withScopeId
};
packages/uni-app-vue/src/nvue/index.ts
浏览文件 @
d94760a8
import
*
as
Vue
from
'
../../lib/nvue.runtime.esm
'
exports
.
Vue
=
Vue
export
*
from
'
../../lib/nvue.runtime.esm
'
packages/uni-app-vue/src/service/index.ts
浏览文件 @
d94760a8
import
*
as
Vue
from
'
../../lib/service.runtime.esm
'
exports
.
Vue
=
Vue
export
*
from
'
../../lib/service.runtime.esm
'
packages/uni-cli-shared/src/json/app/pages/code.ts
浏览文件 @
d94760a8
...
...
@@ -12,9 +12,8 @@ if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
}
`
export
const
restoreGlobalCode
=
`
import * as vue from 'vue'
if(uni.restoreGlobal){
uni.restoreGlobal(
vue,
weex,plus,setTimeout,clearTimeout,setInterval,clearInterval)
uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval)
}
`
...
...
packages/uni-mp-alipay/dist/uni.mp.esm.js
浏览文件 @
d94760a8
...
...
@@ -127,11 +127,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-baidu/dist/uni.mp.esm.js
浏览文件 @
d94760a8
...
...
@@ -195,11 +195,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-kuaishou/dist/uni.mp.esm.js
浏览文件 @
d94760a8
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-lark/dist/uni.mp.esm.js
浏览文件 @
d94760a8
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-qq/dist/uni.mp.esm.js
浏览文件 @
d94760a8
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-toutiao/dist/uni.mp.esm.js
浏览文件 @
d94760a8
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-mp-weixin/dist/uni.mp.esm.js
浏览文件 @
d94760a8
...
...
@@ -62,11 +62,13 @@ const invokeArrayFns = (fns, arg) => {
return
ret
;
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-quickapp-webview/dist/uni.mp.esm.js
浏览文件 @
d94760a8
...
...
@@ -190,11 +190,13 @@ class EventChannel {
}
}
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
eventChannels
=
{};
const
eventChannelStack
=
[];
...
...
packages/uni-shared/dist/uni-shared.cjs.js
浏览文件 @
d94760a8
...
...
@@ -701,11 +701,13 @@ function parseEventName(name) {
return
[
shared
.
hyphenate
(
name
.
slice
(
2
)),
options
];
}
const
EventModifierFlags
=
{
stop
:
1
,
prevent
:
1
<<
1
,
self
:
1
<<
2
,
};
const
EventModifierFlags
=
/*#__PURE__*/
(()
=>
{
return
{
stop
:
1
,
prevent
:
1
<<
1
,
self
:
1
<<
2
,
};
})();
function
encodeModifier
(
modifiers
)
{
let
flag
=
0
;
if
(
modifiers
.
includes
(
'
stop
'
))
{
...
...
@@ -1280,11 +1282,13 @@ const UniLifecycleHooks = [
ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED
,
ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED
,
];
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
E
=
function
()
{
// Keep this empty so it's easier to inherit from
...
...
packages/uni-shared/dist/uni-shared.es.js
浏览文件 @
d94760a8
...
...
@@ -697,11 +697,13 @@ function parseEventName(name) {
return
[
hyphenate
(
name
.
slice
(
2
)),
options
];
}
const
EventModifierFlags
=
{
stop
:
1
,
prevent
:
1
<<
1
,
self
:
1
<<
2
,
};
const
EventModifierFlags
=
/*#__PURE__*/
(()
=>
{
return
{
stop
:
1
,
prevent
:
1
<<
1
,
self
:
1
<<
2
,
};
})();
function
encodeModifier
(
modifiers
)
{
let
flag
=
0
;
if
(
modifiers
.
includes
(
'
stop
'
))
{
...
...
@@ -1276,11 +1278,13 @@ const UniLifecycleHooks = [
ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED
,
ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED
,
];
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
const
MINI_PROGRAM_PAGE_RUNTIME_HOOKS
=
/*#__PURE__*/
(()
=>
{
return
{
onPageScroll
:
1
,
onShareAppMessage
:
1
<<
1
,
onShareTimeline
:
1
<<
2
,
};
})();
const
E
=
function
()
{
// Keep this empty so it's easier to inherit from
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录