@virid/vue 0.1.1 → 0.1.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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @virid/vue v0.
|
|
2
|
+
* @virid/vue v0.1.1
|
|
3
3
|
* Vue adapter for virid, projecting logic sovereignty to reactive UI
|
|
4
4
|
*/
|
|
5
5
|
var y=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var K=Object.prototype.hasOwnProperty;var J=(t,e,r)=>e in t?y(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var s=(t,e)=>y(t,"name",{value:e,configurable:!0});var z=(t,e)=>{for(var r in e)y(t,r,{get:e[r],enumerable:!0})},Y=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of F(e))!K.call(t,i)&&i!==r&&y(t,i,{get:()=>e[i],enumerable:!(o=W(e,i))||o.enumerable});return t};var B=t=>Y(y({},"__esModule",{value:!0}),t);var M=(t,e,r)=>J(t,typeof e!="symbol"?e+"":e,r);var se={};z(se,{Env:()=>oe,Inherit:()=>re,Listener:()=>ne,OnHook:()=>ee,Project:()=>Z,Responsive:()=>G,Use:()=>te,VuePlugin:()=>ie,Watch:()=>X,useController:()=>H});module.exports=B(se);var P=require("@virid/core"),l={...P.VIRID_METADATA,RESPONSIVE:"virid:vue:responsive",LIFE_CIRCLE:"virid:vue:life-circle",HOOK:"virid:vue:hook",LISTENER:"virid:vue:listener",INHERIT:"virid:vue:inherit",ATTR:"virid:vue:attr",PROJECT:"virid:vue:project",WATCH:"virid:vue:watch"};var d=require("vue"),E=require("@virid/core");var A=null;function T(t){let e=s(r=>(r&&O(r),r),"bindResponsiveHook");t.addActivationHook(e),A=t}s(T,"activateApp");var g=new Proxy({},{get(t,e){return(...r)=>{if(!A)return console.warn(`[Virid Vue] App method "${String(e)}" called before initialization.`),e==="register"?()=>{console.warn("[Virid Vue] Cleanup ignored: source listener was never registered.")}:void 0;let o=A[e];if(typeof o=="function")return o.apply(A,r)}}});var v=require("@virid/core");var x=new WeakMap;function I(t,e,r=""){if(t===null||typeof t!="object"&&typeof t!="function")return t;if(x.has(t))return x.get(t);let o=new Proxy(t,{get(i,n,c){let u=Reflect.get(i,n,c),f=r?`${r}.${String(n)}`:String(n);return typeof u=="function"?(...p)=>{if(!q(i,n)){let m=["[Virid Shield] Rejected",`Method: ${e}....${f}()`,"Reason: Unauthorized access to unsafe method."].join(`
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @virid/vue v0.
|
|
2
|
+
* @virid/vue v0.1.1
|
|
3
3
|
* Vue adapter for virid, projecting logic sovereignty to reactive UI
|
|
4
4
|
*/
|
|
5
5
|
var C=Object.defineProperty;var N=(t,e,r)=>e in t?C(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var i=(t,e)=>C(t,"name",{value:e,configurable:!0});var x=(t,e,r)=>N(t,typeof e!="symbol"?e+"":e,r);import{VIRID_METADATA as U}from"@virid/core";var l={...U,RESPONSIVE:"virid:vue:responsive",LIFE_CIRCLE:"virid:vue:life-circle",HOOK:"virid:vue:hook",LISTENER:"virid:vue:listener",INHERIT:"virid:vue:inherit",ATTR:"virid:vue:attr",PROJECT:"virid:vue:project",WATCH:"virid:vue:watch"};import{watch as F,computed as S,ref as M,shallowReactive as K,onMounted as J,onUnmounted as z,onUpdated as Y,onActivated as B,onDeactivated as q,shallowRef as P}from"vue";import{MessageWriter as R,EventMessage as Q,SingleMessage as X}from"@virid/core";var v=null;function w(t){let e=i(r=>(r&&I(r),r),"bindResponsiveHook");t.addActivationHook(e),v=t}i(w,"activateApp");var b=new Proxy({},{get(t,e){return(...r)=>{if(!v)return console.warn(`[Virid Vue] App method "${String(e)}" called before initialization.`),e==="register"?()=>{console.warn("[Virid Vue] Cleanup ignored: source listener was never registered.")}:void 0;let o=v[e];if(typeof o=="function")return o.apply(v,r)}}});import{MessageWriter as _}from"@virid/core";var O=new WeakMap;function g(t,e,r=""){if(t===null||typeof t!="object"&&typeof t!="function")return t;if(O.has(t))return O.get(t);let o=new Proxy(t,{get(s,n,c){let u=Reflect.get(s,n,c),f=r?`${r}.${String(n)}`:String(n);return typeof u=="function"?(...d)=>{if(!W(s,n)){let h=["[Virid Shield] Rejected",`Method: ${e}....${f}()`,"Reason: Unauthorized access to unsafe method."].join(`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virid/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"description": "Vue adapter for virid, projecting logic sovereignty to reactive UI",
|
|
6
6
|
"author": "Ailrid",
|
|
7
7
|
"license": "Apache 2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"vue": "^3.4.0",
|
|
39
|
-
"@virid/core": "0.1.
|
|
39
|
+
"@virid/core": "0.1.2"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsup --config tsup.config.ts",
|