PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / trunk
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler vtrunk
1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 All 49 releases
fluent-cart / assets / chunks / Model.js

Model.js in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler trunk, at assets/chunks/Model.js

2 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var d=a=>{throw TypeError(a)};var j=(a,i,t)=>i.has(a)||d("Cannot "+t);var m=(a,i,t)=>i.has(a)?d("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(a):i.set(a,t);var o=(a,i,t)=>(j(a,i,"access private method"),t);import{R as b}from"./Rest.js?ver=1.6.6";import{L as v,aB as u}from"./vue.esm-bundler.js?ver=1.6.6";var r,h,l,x,P,R;const c=class c{static init(i={}){var n;const t=new this(i);return typeof t.beforeInit=="function"&&t.beforeInit(),t.data=v(t.data),o(n=c,r,h).call(n,t)}};r=new WeakSet,h=function(i){return new Proxy(i,{get:(t,n,s)=>{var e;return o(e=c,r,l).call(e,t,n,s)},set:(t,n,s)=>{var e;return o(e=c,r,x).call(e,t,n,s)}})},l=function(i,t,n){var s,e;return o(s=c,r,P).call(s,i,t,n)||o(e=c,r,R).call(e,i,t,n)},x=function(i,t,n){const s=t.split("_").map(f=>u(f)).join(""),e=`set${u(s)}Attribute`;return e in i?i[e](t,n):i.data[t]=n,!0},P=function(i,t,n){if(t in i)return typeof i[t]=="function"?(...s)=>i[t].bind(n)(...s):i[t];if(t in i.data){const s=t.split("_").map(f=>u(f)).join(""),e=`get${u(s)}Attribute`;return e in i?i[e](i.data[t]):i.data[t]}},R=function(i,t,n){if(typeof t!="string")return;const s=t.substr(1);if(s in b)return(...e)=>b[s](...e)},m(c,r);let y=c;export{y as M};
2