@everymatrix/cashier-method-details 1.53.11 → 1.54.0
Sign up to get free protection for your applications and to get access to all the features.
- package/components/CashierConfirmModal-BCFrtc41.js +1029 -0
- package/components/CashierConfirmModal-BPOCBgWd.cjs +4 -0
- package/components/CashierError-DJht4oPb.cjs +5 -0
- package/components/{CashierError-MwSUmltg.js → CashierError-DsrAZ7IP.js} +16 -16
- package/components/{CashierHeader-t-mKIY-_.js → CashierHeader-BQ4XCSyP.js} +2 -2
- package/components/CashierHeader-GmZvyCGt.cjs +1 -0
- package/components/{CashierIframeRedirect-OvWRLGOx.js → CashierIframeRedirect-BURzxRqb.js} +6 -6
- package/components/CashierIframeRedirect-DmTcvobN.cjs +1 -0
- package/components/{CashierMethodDetails-BcnSmVkq.js → CashierMethodDetails-DH9kVsIF.js} +887 -869
- package/components/CashierMethodDetails-Dnhdtcto.cjs +18 -0
- package/components/CashierModal-D7FMZ2Gy.cjs +1 -0
- package/components/{CashierModal-ClIRlRW4.js → CashierModal-DcNl8u1M.js} +1 -1
- package/components/{CashierNotifications-Ip7CfQWs.js → CashierNotifications-BOc2VfCm.js} +1 -1
- package/components/CashierNotifications-a_yYbXof.cjs +1 -0
- package/components/{CashierReceiptPage-CIlcvMvB.js → CashierReceiptPage-B-bW-hmW.js} +109 -108
- package/components/CashierReceiptPage-RF2yM8w0.cjs +1 -0
- package/components/{CashierSpinner-DjTQcN-x.js → CashierSpinner-BhoNpvFz.js} +1 -1
- package/components/CashierSpinner-spPx3NOj.cjs +1 -0
- package/es2015/cashier-method-details.cjs +1 -0
- package/es2015/cashier-method-details.js +16 -0
- package/package.json +16 -12
- package/components/CashierConfirmModal-agjo7360.js +0 -992
- package/esnext/cashier-method-details.js +0 -14
@@ -1,4 +1,4 @@
|
|
1
|
-
import { S as y, b as g, f as d, c as m, a as p, d as k, g as C, j as x, k as S, n as c, v as _, C as v } from "./CashierConfirmModal-
|
1
|
+
import { S as y, b as g, f as d, c as m, a as p, d as k, g as C, j as x, k as S, n as c, v as _, C as v } from "./CashierConfirmModal-BCFrtc41.js";
|
2
2
|
function b(n) {
|
3
3
|
k(n, "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}}");
|
4
4
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-BPOCBgWd.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;
|
@@ -0,0 +1 @@
|
|
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-Dnhdtcto.cjs")).then(e=>e.CashierMethodDetails_ce).then(({default:e})=>{!customElements.get("cashier-method-details")&&customElements.define("cashier-method-details",e.element)})}
|
@@ -0,0 +1,16 @@
|
|
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-DH9kVsIF.js").then((e) => e.C).then(({ default: e }) => {
|
14
|
+
!customElements.get("cashier-method-details") && customElements.define("cashier-method-details", e.element);
|
15
|
+
});
|
16
|
+
}
|
package/package.json
CHANGED
@@ -1,26 +1,30 @@
|
|
1
|
-
|
2
1
|
{
|
3
2
|
"name": "@everymatrix/cashier-method-details",
|
4
|
-
"version": "1.
|
3
|
+
"version": "1.54.0",
|
5
4
|
"type": "module",
|
6
|
-
"main": "
|
7
|
-
"module": "
|
5
|
+
"main": "es2015/cashier-method-details.cjs",
|
6
|
+
"module": "es2015/cashier-method-details.js",
|
8
7
|
"exports": {
|
9
8
|
".": {
|
10
|
-
"import": "./
|
9
|
+
"import": "./es2015/cashier-method-details.js",
|
10
|
+
"require": "./es2015/cashier-method-details.cjs"
|
11
11
|
},
|
12
|
-
"./es2015/cashier-method-details.cjs": "./es2015/cashier-method-details.cjs"
|
13
|
-
"./es2015/cashier-method-details.js": "./es2015/cashier-method-details.js"
|
12
|
+
"./es2015/cashier-method-details.cjs": "./es2015/cashier-method-details.cjs"
|
14
13
|
},
|
15
14
|
"files": [
|
16
|
-
"components/",
|
17
15
|
"es2015/",
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"esnext/"
|
16
|
+
"components",
|
17
|
+
"stencil"
|
21
18
|
],
|
22
19
|
"publishConfig": {
|
23
20
|
"access": "public"
|
21
|
+
},
|
22
|
+
"dependencies": {
|
23
|
+
"@everymatrix/cashier-iframe-redirect": "1.45.7",
|
24
|
+
"@everymatrix/cashier-receipt-page": "1.45.7",
|
25
|
+
"@everymatrix/cashier-confirm-modal": "1.45.7",
|
26
|
+
"@everymatrix/cashier-notifications": "1.45.7",
|
27
|
+
"@everymatrix/cashier-error": "1.45.7",
|
28
|
+
"@everymatrix/cashier-modal": "1.45.7"
|
24
29
|
}
|
25
30
|
}
|
26
|
-
|