@smallwebco/tinypivot-vue 1.0.66 → 1.0.67

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.
@@ -307,7 +307,7 @@ ${n.map(t=>{const a=t.columns.filter(o=>o.name==="id"||o.name.endsWith("_id")||o
307
307
  `)}const pn={type:"free",isValid:!0,features:{pivot:!0,advancedAggregations:!1,percentageMode:!1,sessionPersistence:!1,noWatermark:!1,charts:!1,aiAnalyst:!1}},ai={type:"free",isValid:!1,features:{pivot:!0,advancedAggregations:!1,percentageMode:!1,sessionPersistence:!1,noWatermark:!1,charts:!1,aiAnalyst:!1}},Il={type:"free",isValid:!0,features:{pivot:!0,advancedAggregations:!0,percentageMode:!0,sessionPersistence:!0,noWatermark:!1,charts:!0,aiAnalyst:!0}},mn=`-----BEGIN PUBLIC KEY-----
308
308
  MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE436rfGofder4lfo4UHsRF2M88Gs0
309
309
  zLsikg2H9GMkL8hLGuOtnGMpVfLRlc7cD8FdkPBBRgiQ8UFnG8hm+nMIug==
310
- -----END PUBLIC KEY-----`;function _i(n){let e=n.replace(/-/g,"+").replace(/_/g,"/");for(;e.length%4;)e+="=";const t=atob(e),a=new Uint8Array(t.length);for(let i=0;i<t.length;i++)a[i]=t.charCodeAt(i);return a}function xn(n){if(n[0]!==48)throw new Error("Invalid DER signature");let e=2;if(n[e]!==2)throw new Error("Invalid DER signature");e++;const t=n[e];e++;let a=n.slice(e,e+t);if(e+=t,n[e]!==2)throw new Error("Invalid DER signature");e++;const i=n[e];e++;let s=n.slice(e,e+i);a.length===33&&a[0]===0&&(a=a.slice(1)),s.length===33&&s[0]===0&&(s=s.slice(1));const r=new Uint8Array(32),o=new Uint8Array(32);r.set(a,32-a.length),o.set(s,32-s.length);const c=new Uint8Array(64);return c.set(r,0),c.set(o,32),c}async function Vl(n,e,t){const{p256:a}=await Promise.resolve().then(()=>qp),i=t.slice(26);return a.verify(n,e,i)}async function zl(n){const{sha256:e}=await Promise.resolve().then(()=>Zp),t=new TextEncoder().encode(n),a=e(t);return Array.from(a).map(i=>i.toString(16).padStart(2,"0")).join("").toUpperCase()}let Wt;async function Oi(){var n,e;if(Wt!==void 0)return Wt;if((n=globalThis.crypto)!=null&&n.subtle)return Wt=globalThis.crypto.subtle,Wt;try{const a=(e=(await Promise.resolve().then(()=>Kp)).webcrypto)==null?void 0:e.subtle;if(a)return Wt=a,Wt}catch{}return Wt=null,null}let bn=!1;function vn(){bn||(bn=!0,console.info(`[TinyPivot] crypto.subtle is not available — using pure JS crypto fallback.
310
+ -----END PUBLIC KEY-----`;function _i(n){let e=n.replace(/-/g,"+").replace(/_/g,"/");for(;e.length%4;)e+="=";const t=atob(e),a=new Uint8Array(t.length);for(let i=0;i<t.length;i++)a[i]=t.charCodeAt(i);return a}function xn(n){if(n[0]!==48)throw new Error("Invalid DER signature");let e=2;if(n[e]!==2)throw new Error("Invalid DER signature");e++;const t=n[e];e++;let a=n.slice(e,e+t);if(e+=t,n[e]!==2)throw new Error("Invalid DER signature");e++;const i=n[e];e++;let s=n.slice(e,e+i);a.length===33&&a[0]===0&&(a=a.slice(1)),s.length===33&&s[0]===0&&(s=s.slice(1));const r=new Uint8Array(32),o=new Uint8Array(32);r.set(a,32-a.length),o.set(s,32-s.length);const c=new Uint8Array(64);return c.set(r,0),c.set(o,32),c}async function Vl(n,e,t){const{p256:a}=await Promise.resolve().then(()=>qp),i=t.slice(26);return a.verify(n,e,i,{prehash:!0})}async function zl(n){const{sha256:e}=await Promise.resolve().then(()=>Zp),t=new TextEncoder().encode(n),a=e(t);return Array.from(a).map(i=>i.toString(16).padStart(2,"0")).join("").toUpperCase()}let Wt;async function Oi(){var n,e;if(Wt!==void 0)return Wt;if((n=globalThis.crypto)!=null&&n.subtle)return Wt=globalThis.crypto.subtle,Wt;try{const a=(e=(await Promise.resolve().then(()=>Kp)).webcrypto)==null?void 0:e.subtle;if(a)return Wt=a,Wt}catch{}return Wt=null,null}let bn=!1;function vn(){bn||(bn=!0,console.info(`[TinyPivot] crypto.subtle is not available — using pure JS crypto fallback.
311
311
  This typically happens when serving over plain HTTP. For best performance, consider:
312
312
  1. Serve your app over HTTPS (recommended for production)
313
313
  2. Access via localhost (e.g. http://localhost:3000)