@everymatrix/cashier-method-details 1.52.6 → 1.53.10
Sign up to get free protection for your applications and to get access to all the features.
- package/components/CashierConfirmModal-agjo7360.js +992 -0
- package/components/{CashierError-DHY1mLRH.js → CashierError-MwSUmltg.js} +413 -411
- package/components/{CashierHeader-Q8JuzuVk.js → CashierHeader-t-mKIY-_.js} +48 -48
- package/components/{CashierIframeRedirect-B4imEacT.js → CashierIframeRedirect-OvWRLGOx.js} +6 -6
- package/components/{CashierMethodDetails-C4cvK6HH.js → CashierMethodDetails-BcnSmVkq.js} +1395 -1413
- package/components/{CashierModal-DjGgvDJK.js → CashierModal-ClIRlRW4.js} +1 -1
- package/components/{CashierNotifications-BmUYtlED.js → CashierNotifications-Ip7CfQWs.js} +1 -1
- package/components/{CashierReceiptPage-C9uWZ4Ds.js → CashierReceiptPage-CIlcvMvB.js} +108 -109
- package/components/{CashierSpinner-BhJd9GIb.js → CashierSpinner-DjTQcN-x.js} +1 -1
- package/esnext/cashier-method-details.js +14 -0
- package/package.json +8 -17
- package/components/CashierConfirmModal-BeEK5pGj.cjs +0 -4
- package/components/CashierConfirmModal-Ccz0Sdnq.js +0 -1029
- package/components/CashierError-CjbdWO_N.cjs +0 -5
- package/components/CashierHeader-BENTNpJ3.cjs +0 -1
- package/components/CashierIframeRedirect-i5PAPezc.cjs +0 -1
- package/components/CashierMethodDetails-CVyHQgSh.cjs +0 -18
- package/components/CashierModal-Dh8HuQn-.cjs +0 -1
- package/components/CashierNotifications-C2D2LjK6.cjs +0 -1
- package/components/CashierReceiptPage-CQexnm0B.cjs +0 -1
- package/components/CashierSpinner-BYRAyXQ3.cjs +0 -1
- package/es2015/cashier-method-details.cjs +0 -1
- package/es2015/cashier-method-details.js +0 -16
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-BeEK5pGj.cjs");function y(i){e.append_styles(i,"svelte-fidj5e",".CashierSpinner{display:block;width:80px;height:80px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:var(--emw--color-primary, #7EC51E)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function g(i){let t;return{c(){t=e.element("div"),t.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"></circle></svg>',e.attr(t,"class","CashierSpinner")},m(s,l){e.insert(s,t,l),i[3](t)},p:e.noop,i:e.noop,o:e.noop,d(s){s&&e.detach(t),i[3](null)}}}function p(i,t,s){let{clientstyling:l=""}=t,{clientstylingurl:a=""}=t,r;const h=()=>{let n=document.createElement("style");n.innerHTML=l,r.appendChild(n)},u=()=>{let n=new URL(a),c=document.createElement("style");fetch(n.href).then(o=>o.text()).then(o=>{c.innerHTML=o,setTimeout(()=>{r.appendChild(c)},1)})};function f(n){e.binding_callbacks[n?"unshift":"push"](()=>{r=n,s(0,r)})}return i.$$set=n=>{"clientstyling"in n&&s(1,l=n.clientstyling),"clientstylingurl"in n&&s(2,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&3&&l&&r&&h(),i.$$.dirty&5&&a&&r&&u()},[r,l,a,f]}class d extends e.SvelteComponent{constructor(t){super(),e.init(this,t,p,g,e.safe_not_equal,{clientstyling:1,clientstylingurl:2},y)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(d,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=d;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let s=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierMethodDetails-CVyHQgSh.cjs")).then(e=>e.CashierMethodDetails_ce).then(({default:e})=>{!customElements.get("cashier-method-details")&&customElements.define("cashier-method-details",e.element)})}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
if (typeof window != "undefined") {
|
2
|
-
let n = function(e) {
|
3
|
-
return function(...s) {
|
4
|
-
try {
|
5
|
-
return e.apply(this, s);
|
6
|
-
} catch (t) {
|
7
|
-
if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
|
8
|
-
return !1;
|
9
|
-
throw t;
|
10
|
-
}
|
11
|
-
};
|
12
|
-
};
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierMethodDetails-C4cvK6HH.js").then((e) => e.C).then(({ default: e }) => {
|
14
|
-
!customElements.get("cashier-method-details") && customElements.define("cashier-method-details", e.element);
|
15
|
-
});
|
16
|
-
}
|