wevu 7.0.0 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/defineProperty.mjs +1 -1
- package/dist/dev/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPrimitive.mjs +1 -1
- package/dist/dev/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPropertyKey.mjs +1 -1
- package/dist/dev/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/typeof.mjs +1 -1
- package/dist/dev/package.mjs +1 -1
- package/dist/dev/reactivity/core.mjs +1 -1
- package/dist/dev/reactivity/ref.mjs +1 -1
- package/dist/dev/router/backNavigation.mjs +1 -1
- package/dist/dev/router/createRouter.mjs +55 -14
- package/dist/dev/router/createRouter.mjs.map +1 -1
- package/dist/dev/router/initialNavigation.mjs +131 -5
- package/dist/dev/router/initialNavigation.mjs.map +1 -1
- package/dist/dev/router/navigationApi.mjs +1 -1
- package/dist/dev/router/navigationResult.mjs +1 -1
- package/dist/dev/router/navigationTarget.mjs +2 -2
- package/dist/dev/router/navigationTargetHelpers.mjs +1 -1
- package/dist/dev/router/types.mjs.map +1 -1
- package/dist/dev/router/useRoute.mjs +13 -0
- package/dist/dev/router/useRoute.mjs.map +1 -1
- package/dist/dev/router.mjs +1 -1
- package/dist/dev/routerInternal/snapshots.mjs +3 -1
- package/dist/dev/routerInternal/snapshots.mjs.map +1 -1
- package/dist/dev/runtime/register/component/lifecycle.mjs +13 -55
- package/dist/dev/runtime/register/component/lifecycle.mjs.map +1 -1
- package/dist/dev/runtime/register/component/registerDefinition.mjs +19 -21
- package/dist/dev/runtime/register/component/registerDefinition.mjs.map +1 -1
- package/dist/package.mjs +1 -1
- package/dist/reactivity/core.mjs +1 -1
- package/dist/reactivity/ref.mjs +1 -1
- package/dist/reactivity/watch.mjs +1 -1
- package/dist/router/backNavigation.mjs +1 -1
- package/dist/router/createRouter.mjs +1 -1
- package/dist/router/initialNavigation.mjs +1 -1
- package/dist/router/navigationApi.mjs +1 -1
- package/dist/router/navigationResult.mjs +1 -1
- package/dist/router/navigationTarget.mjs +1 -1
- package/dist/router/navigationTargetHelpers.mjs +1 -1
- package/dist/router/types.d.mts +10 -1
- package/dist/router/useRoute.mjs +1 -1
- package/dist/router.d.mts +2 -2
- package/dist/router.mjs +1 -1
- package/dist/routerInternal/matching.mjs +1 -1
- package/dist/routerInternal/path.mjs +1 -1
- package/dist/routerInternal/records.mjs +1 -1
- package/dist/routerInternal/snapshots.mjs +1 -1
- package/dist/runtime/app/setData/scheduler.mjs +1 -1
- package/dist/runtime/defaults.mjs +1 -1
- package/dist/runtime/define/initialComputed.mjs +1 -1
- package/dist/runtime/define/optionsApi.mjs +1 -1
- package/dist/runtime/define/scopedSlotOptions.mjs +1 -1
- package/dist/runtime/pageLayout.mjs +1 -1
- package/dist/runtime/pageScroll.mjs +1 -1
- package/dist/runtime/register/component/lifecycle/platform.mjs +1 -1
- package/dist/runtime/register/component/lifecycle.mjs +1 -1
- package/dist/runtime/register/component/methods.mjs +1 -1
- package/dist/runtime/register/component/props.mjs +1 -1
- package/dist/runtime/register/component/registerDefinition.mjs +1 -1
- package/dist/runtime/register/inline.mjs +1 -1
- package/dist/runtime/register/runtimeInstance/methodBridge.mjs +1 -1
- package/dist/runtime/register/runtimeInstance.mjs +1 -1
- package/dist/runtime/scopedSlots.mjs +1 -1
- package/dist/runtime/setupTracking.mjs +1 -1
- package/dist/runtime/templateRefs.mjs +1 -1
- package/dist/runtime/vueCompat/router.mjs +1 -1
- package/dist/store/define/setupStyle.mjs +1 -1
- package/package.json +6 -6
- /package/dist/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/defineProperty.mjs +0 -0
- /package/dist/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPrimitive.mjs +0 -0
- /package/dist/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPropertyKey.mjs +0 -0
- /package/dist/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/typeof.mjs +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{effect as e}from"../../reactivity/core.mjs";import{touchReactive as t}from"../../reactivity/reactive/patch.mjs";import{isReactive as n}from"../../reactivity/reactive.mjs";import{isRef as r}from"../../reactivity/ref.mjs";import{wrapAction as i}from"../actions.mjs";import{cloneDeep as a,resetObject as o}from"../utils.mjs";import{createBaseApi as s}from"../base.mjs";import{createSafeNotifier as c,isTrackableRef as l,snapshotValue as u}from"./shared.mjs";function d(d,f,p){var m;let h=f(),g=()=>{},_=new Map;Object.keys(h).forEach(e=>{let t=h[e];typeof t==`function`||e.startsWith(`$`)||r(t)
|
|
1
|
+
import{effect as e}from"../../reactivity/core.mjs";import{touchReactive as t}from"../../reactivity/reactive/patch.mjs";import{isReactive as n}from"../../reactivity/reactive.mjs";import{isRef as r}from"../../reactivity/ref.mjs";import{wrapAction as i}from"../actions.mjs";import{cloneDeep as a,resetObject as o}from"../utils.mjs";import{createBaseApi as s}from"../base.mjs";import{createSafeNotifier as c,isTrackableRef as l,snapshotValue as u}from"./shared.mjs";function d(d,f,p){var m;let h=f(),g=()=>{},_=new Map;Object.keys(h).forEach(e=>{let t=h[e];typeof t==`function`||e.startsWith(`$`)||(!r(t)||l(t))&&_.set(e,u(t))});let v={},y=s(d,void 0,e=>g(e),()=>{_.forEach((e,t)=>{let i=v[t];if(l(i)){try{i.value=a(e)}catch(e){}return}if(n(i)){o(i,e);return}r(i)||(v[t]=a(e))}),g(`patch object`)}),b=!1,x=y.api.$patch;if(y.api.$patch=e=>{b=!0;try{x(e)}finally{b=!1}},typeof y.api.$reset==`function`){let e=y.api.$reset;y.api.$reset=()=>{b=!0;try{e()}finally{b=!1}}}v={...h},g=c(d,y.subs,()=>v);for(let e of Object.getOwnPropertyNames(y.api)){let t=Object.getOwnPropertyDescriptor(y.api,e);t&&(e===`$state`?Object.defineProperty(v,e,{enumerable:t.enumerable,configurable:t.configurable,get(){return y.api.$state},set(e){b=!0;try{y.api.$state=e}finally{b=!1}}}):Object.defineProperty(v,e,t))}let S=[];Object.keys(h).forEach(e=>{let t=h[e];if(typeof t==`function`&&!e.startsWith(`$`)){v[e]=i(v,e,t,y.actionSubs);return}if(l(t)){S.push(t);return}if(n(t)){S.push(t);return}if(!r(t)&&!e.startsWith(`$`)){let n=t;Object.defineProperty(v,e,{enumerable:!0,configurable:!0,get(){return n},set(e){n=e,b||g(`direct`)}})}});let C=!1;if(S.length>0){let n=!1;e(()=>{if(S.forEach(e=>{l(e)?e.value:t(e)}),!n){n=!0;return}if(!(b||C)){C=!0;try{g(`direct`)}finally{C=!1}}})}let w=(m=p==null?void 0:p._plugins)==null?[]:m;for(let e of w)try{e({store:v})}catch(e){}return v}export{d as createSetupStyleStore};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wevu",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.2",
|
|
5
5
|
"description": "Vue 3 风格的小程序运行时,包含响应式、diff+setData 与轻量状态管理",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -271,12 +271,12 @@
|
|
|
271
271
|
}
|
|
272
272
|
},
|
|
273
273
|
"dependencies": {
|
|
274
|
-
"
|
|
275
|
-
"@weapp-core/constants": "0.2.0",
|
|
276
|
-
"@wevu/web-apis": "1.2.38",
|
|
274
|
+
"@weapp-core/constants": "0.2.1",
|
|
277
275
|
"@weapp-core/shared": "3.2.0",
|
|
278
|
-
"@wevu/
|
|
279
|
-
"@wevu/
|
|
276
|
+
"@wevu/api": "0.3.0",
|
|
277
|
+
"@wevu/compiler": "7.0.2",
|
|
278
|
+
"@wevu/web-apis": "1.2.39",
|
|
279
|
+
"vue": "^3.5.42"
|
|
280
280
|
},
|
|
281
281
|
"scripts": {
|
|
282
282
|
"dev": "tsdown -w",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|