@everymatrix/cashier-method-details 1.74.8 → 1.74.10
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/components/{CashierConfirmModal-mBbcNR6k.js → CashierConfirmModal-BWIW81mB.js} +91 -91
- package/components/{CashierConfirmModal-CptRwG7E.cjs → CashierConfirmModal-BpvE1Wx6.cjs} +1 -1
- package/components/{CashierConfirmModal-DHQhXBLq.js → CashierConfirmModal-DMfIxlzo.js} +52 -52
- package/components/{CashierError-F-JdF-yR.js → CashierError-B0qGY6Wi.js} +845 -843
- package/components/CashierError-CUhtZvcE.cjs +18 -0
- package/components/{CashierError-CxC9JUxE.js → CashierError-DoZe5cfh.js} +844 -842
- package/components/{CashierMethodDetails-BYUtOrl-.cjs → CashierMethodDetails-BfH-RbrN.cjs} +5 -5
- package/components/{CashierMethodDetails-CFo6ZuQl.js → CashierMethodDetails-CjC76kcH.js} +498 -514
- package/components/{CashierMethodDetails-DLTg6RpP.js → CashierMethodDetails-dvMrG2uJ.js} +507 -523
- package/components/{CashierNotifications-BdfHI3lV.js → CashierNotifications-BcL2GzJF.js} +7 -7
- package/components/{CashierNotifications-Dt9Itbd7.cjs → CashierNotifications-CXmrjPcN.cjs} +1 -1
- package/components/{CashierNotifications-mhxDKO1J.js → CashierNotifications-DFrPFNQu.js} +7 -7
- package/components/{CashierReceiptPage-L8-ZgSVM.cjs → CashierReceiptPage-Bwu64AsC.cjs} +1 -1
- package/components/{CashierReceiptPage-CrP-r8ja.js → CashierReceiptPage-D2PHvmZG.js} +7 -7
- package/components/{CashierReceiptPage-CfgCGXm-.js → CashierReceiptPage-ccQMDo3k.js} +7 -7
- package/components/{CashierSpinner-DBOsp-ou.cjs → CashierSpinner-C74evWKy.cjs} +1 -1
- package/components/{CashierSpinner-BjBxLMiY.js → CashierSpinner-CfotkcDR.js} +8 -8
- package/components/{CashierSpinner-Rar1657O.js → CashierSpinner-tQuxlMdI.js} +8 -8
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
- package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
- package/stencil/{ui-image-BW8AeEVd.js → ui-image-CYuYAlOX.js} +1 -1
- package/stencil/{ui-image-CX3MBBZL.js → ui-image-D3_FGUyo.js} +1 -1
- package/stencil/{ui-image-BMiZteNE.cjs → ui-image-DJWD4G-S.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/components/CashierError-DnIbQhz-.cjs +0 -18
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,8 +1,8 @@
|
|
1
|
-
import { S as C, b as v, f as d, c as _, a as k, d as N, g as h,
|
1
|
+
import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, z as b, h as z, j as S, k as E, l as f, B as L, A as p, n as x, v as M, D as T } from "./CashierConfirmModal-BWIW81mB.js";
|
2
2
|
function B(n) {
|
3
3
|
N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
4
4
|
}
|
5
|
-
function
|
5
|
+
function H(n) {
|
6
6
|
let t, s, r, u, l, a, i, m;
|
7
7
|
return {
|
8
8
|
c() {
|
@@ -42,7 +42,7 @@ function F(n) {
|
|
42
42
|
}
|
43
43
|
};
|
44
44
|
}
|
45
|
-
function
|
45
|
+
function R(n, t, s) {
|
46
46
|
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
47
47
|
const m = () => {
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
@@ -81,13 +81,13 @@ function H(n, t, s) {
|
|
81
81
|
w
|
82
82
|
];
|
83
83
|
}
|
84
|
-
class
|
84
|
+
class U extends C {
|
85
85
|
constructor(t) {
|
86
86
|
super(), v(
|
87
87
|
this,
|
88
88
|
t,
|
89
|
+
R,
|
89
90
|
H,
|
90
|
-
F,
|
91
91
|
k,
|
92
92
|
{
|
93
93
|
text: 0,
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
124
124
|
}
|
125
125
|
}
|
126
|
-
_(
|
126
|
+
_(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
127
127
|
export {
|
128
|
-
|
128
|
+
U as default
|
129
129
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-BpvE1Wx6.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { S as C, b as v, f as d, c as _, a as k, d as N, g as h,
|
1
|
+
import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, z as b, h as z, j as S, k as E, l as f, B as L, A as p, n as x, v as M, D as T } from "./CashierConfirmModal-DMfIxlzo.js";
|
2
2
|
function B(n) {
|
3
3
|
N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
4
4
|
}
|
5
|
-
function
|
5
|
+
function H(n) {
|
6
6
|
let t, s, r, u, l, a, i, m;
|
7
7
|
return {
|
8
8
|
c() {
|
@@ -42,7 +42,7 @@ function F(n) {
|
|
42
42
|
}
|
43
43
|
};
|
44
44
|
}
|
45
|
-
function
|
45
|
+
function R(n, t, s) {
|
46
46
|
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
47
47
|
const m = () => {
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
@@ -81,13 +81,13 @@ function H(n, t, s) {
|
|
81
81
|
w
|
82
82
|
];
|
83
83
|
}
|
84
|
-
class
|
84
|
+
class U extends C {
|
85
85
|
constructor(t) {
|
86
86
|
super(), v(
|
87
87
|
this,
|
88
88
|
t,
|
89
|
+
R,
|
89
90
|
H,
|
90
|
-
F,
|
91
91
|
k,
|
92
92
|
{
|
93
93
|
text: 0,
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
124
124
|
}
|
125
125
|
}
|
126
|
-
_(
|
126
|
+
_(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
127
127
|
export {
|
128
|
-
|
128
|
+
U as default
|
129
129
|
};
|