@everymatrix/cashier-receipt-page 1.65.0 → 1.65.2
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/{CashierError-BZt55ntW.js → CashierError--iQyDOCf.js} +875 -871
- package/components/{CashierError-BwvKt8M_.js → CashierError-BGIOz80J.js} +845 -841
- package/components/CashierError-Bp_9Mivw.cjs +5 -0
- package/components/{CashierReceiptPage-CixdT-i1.js → CashierReceiptPage-Cbol4ura.js} +29 -29
- package/components/{CashierReceiptPage-CKPySAfc.cjs → CashierReceiptPage-CvoL0y2s.cjs} +1 -1
- package/components/{CashierReceiptPage-B9pwPXSa.js → CashierReceiptPage-DUcNit2N.js} +24 -24
- package/es2015/cashier-receipt-page.cjs +1 -1
- package/es2015/cashier-receipt-page.js +1 -1
- package/esnext/cashier-receipt-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BEnqZAxL.js +558 -0
- package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
- package/stencil/index-97d17652-WK_DbPS4.js +542 -0
- package/stencil/{ui-image-DzutkFSv.cjs → ui-image-CMb1eK44.cjs} +1 -1
- package/stencil/{ui-image-BmTbGz5h.js → ui-image-CQQDA5b0.js} +1 -1
- package/stencil/{ui-image-CFddgpOe.js → ui-image-CmwNU-jf.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-7wF4sIlr.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DQE3WxuL.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-kIlLPkYB.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
- package/stencil/{ui-image_2-Db7N7hzA.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-oohpKuRS.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-CJHJWEhi.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CashierError-E3Zsipq1.cjs +0 -18
- package/stencil/index-97d17652-BzQXAkmg.js +0 -558
- package/stencil/index-97d17652-DYGS0vqJ.cjs +0 -1
- package/stencil/index-97d17652-mbOyENH9.js +0 -542
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ke, i as Ee, $ as Le, c as Ne, g as Me, b as Be, S as De, d as Ze, s as Se, f as W, e as Re, h as
|
|
1
|
+
import { a as ke, i as Ee, $ as Le, c as Ne, g as Me, b as Be, S as De, d as Ze, s as Se, f as W, e as Re, n as ae, h as y, j as S, k as N, l as k, m as _, o as re, p as J, q as xe, r as Qe, t as ve, u as ee, v as le, w as te, x as V, y as me, z as Ue, A as Ge, B as Ce, C as Oe } from "./CashierError-BGIOz80J.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
3
|
let f = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = f(customElements.define), import("./CashierError-
|
|
14
|
+
customElements.define = f(customElements.define), import("./CashierError-BGIOz80J.js").then((e) => e.D).then(({ default: e }) => {
|
|
15
15
|
!customElements.get("cashier-error") && customElements.define("cashier-error", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -692,7 +692,7 @@ var we = { exports: {} };
|
|
|
692
692
|
});
|
|
693
693
|
})(we);
|
|
694
694
|
var $e = we.exports;
|
|
695
|
-
const et = /* @__PURE__ */ Me($e), { document: tt } =
|
|
695
|
+
const et = /* @__PURE__ */ Me($e), { document: tt } = Ce;
|
|
696
696
|
function nt(f) {
|
|
697
697
|
Re(f, "svelte-n81r8p", ".CashierReceiptPageWidget{height:100%}.CashierReceiptPage{border-radius:var(--mmw--border-radius-medium-plus, 6px);background:var(--emw--color-background, #fff);padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--mmw--color-grey-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--mmw--color-grey-10, #111)}.CashierErrorText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--mmw--color-grey-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.PrimaryButton{color:var(--emw--color-white, #FFF);border:none;background:var(--emw--color-primary, #7EC51E);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 5px);height:36px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:var(--emw--spacing-large, 20px) 0;width:100%}.PrimaryButton:hover{background:var(--emw--color-hover, #71B11B)}.PrimaryButton:active{background:var(--emw--color-active, #5C950F)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}");
|
|
698
698
|
}
|
|
@@ -810,16 +810,16 @@ function ft(f) {
|
|
|
810
810
|
);
|
|
811
811
|
return {
|
|
812
812
|
c() {
|
|
813
|
-
e = k("div"), D && D.c(), t = _(), X && X.c(), n = _(), i = k("div"), s = k("img"), m = _(), l = k("div"), T = k("h2"), M =
|
|
813
|
+
e = k("div"), D && D.c(), t = _(), X && X.c(), n = _(), i = k("div"), s = k("img"), m = _(), l = k("div"), T = k("h2"), M = te(
|
|
814
814
|
/*title*/
|
|
815
815
|
f[13]
|
|
816
|
-
), B = _(), Z = k("div"), b =
|
|
816
|
+
), B = _(), Z = k("div"), b = te(
|
|
817
817
|
/*subTitle*/
|
|
818
818
|
f[12]
|
|
819
|
-
), H = _(), v = k("div"), x =
|
|
819
|
+
), H = _(), v = k("div"), x = te(
|
|
820
820
|
/*text*/
|
|
821
821
|
f[14]
|
|
822
|
-
), O = _(), z && z.c(), q = _(), E && E.c(), h = _(), K = k("button"), j =
|
|
822
|
+
), O = _(), z && z.c(), q = _(), E && E.c(), h = _(), K = k("button"), j = te(F), J(e, "class", "HeaderButtonContainer"), re(s.src, o = /*statusImageUrl*/
|
|
823
823
|
f[15]) || J(s, "src", o), J(s, "class", "StatusLogo"), J(T, "class", "Title"), J(Z, "class", "SubTitle"), J(l, "class", "TitleWrapper"), J(i, "class", "ReceiptWrapper"), J(v, "class", "Text"), J(K, "class", "PrimaryButton");
|
|
824
824
|
},
|
|
825
825
|
m(p, a) {
|
|
@@ -838,17 +838,17 @@ function ft(f) {
|
|
|
838
838
|
p[1] !== "false" ? X ? X.p(p, a) : (X = Xe(p), X.c(), X.m(e, null)) : X && (X.d(1), X = null), a[0] & /*statusImageUrl*/
|
|
839
839
|
32768 && !re(s.src, o = /*statusImageUrl*/
|
|
840
840
|
p[15]) && J(s, "src", o), a[0] & /*title*/
|
|
841
|
-
8192 &&
|
|
841
|
+
8192 && ee(
|
|
842
842
|
M,
|
|
843
843
|
/*title*/
|
|
844
844
|
p[13]
|
|
845
845
|
), a[0] & /*subTitle*/
|
|
846
|
-
4096 &&
|
|
846
|
+
4096 && ee(
|
|
847
847
|
b,
|
|
848
848
|
/*subTitle*/
|
|
849
849
|
p[12]
|
|
850
850
|
), a[0] & /*text*/
|
|
851
|
-
16384 &&
|
|
851
|
+
16384 && ee(
|
|
852
852
|
x,
|
|
853
853
|
/*text*/
|
|
854
854
|
p[14]
|
|
@@ -856,7 +856,7 @@ function ft(f) {
|
|
|
856
856
|
p[10].referenceId ? z ? z.p(p, a) : (z = be(p), z.c(), z.m(q.parentNode, q)) : z && (z.d(1), z = null), /*receiptFields*/
|
|
857
857
|
p[11].length ? E ? E.p(p, a) : (E = ye(p), E.c(), E.m(h.parentNode, h)) : E && (E.d(1), E = null), a[0] & /*$_*/
|
|
858
858
|
524288 && F !== (F = /*$_*/
|
|
859
|
-
p[19]("close") + "") &&
|
|
859
|
+
p[19]("close") + "") && ee(j, F);
|
|
860
860
|
},
|
|
861
861
|
d(p) {
|
|
862
862
|
p && (y(e), y(n), y(i), y(H), y(v), y(O), y(q), y(h), y(K)), D && D.d(), X && X.d(), z && z.d(p), E && E.d(p), I = !1, $();
|
|
@@ -880,7 +880,7 @@ function he(f) {
|
|
|
880
880
|
let B = M(f), Z = B(f);
|
|
881
881
|
return {
|
|
882
882
|
c() {
|
|
883
|
-
e = k("div"), Z.c(), t = _(), n = k("span"), s =
|
|
883
|
+
e = k("div"), Z.c(), t = _(), n = k("span"), s = te(i), o = _(), m = k("span"), T = te(l), J(e, "slot", "icon"), J(n, "slot", "title"), J(n, "class", "CashierErrorTitle"), J(m, "slot", "text"), J(m, "class", "CashierErrorText");
|
|
884
884
|
},
|
|
885
885
|
m(b, H) {
|
|
886
886
|
N(b, e, H), Z.m(e, null), N(b, t, H), N(b, n, H), S(n, s), N(b, o, H), N(b, m, H), S(m, T);
|
|
@@ -888,9 +888,9 @@ function he(f) {
|
|
|
888
888
|
p(b, H) {
|
|
889
889
|
B === (B = M(b)) && Z ? Z.p(b, H) : (Z.d(1), Z = B(b), Z && (Z.c(), Z.m(e, null))), H[0] & /*$_*/
|
|
890
890
|
524288 && i !== (i = /*$_*/
|
|
891
|
-
b[19]("receipt.maintenance.title") + "") &&
|
|
891
|
+
b[19]("receipt.maintenance.title") + "") && ee(s, i), H[0] & /*$_*/
|
|
892
892
|
524288 && l !== (l = /*$_*/
|
|
893
|
-
b[19]("receipt.maintenance.text") + "") &&
|
|
893
|
+
b[19]("receipt.maintenance.text") + "") && ee(T, l);
|
|
894
894
|
},
|
|
895
895
|
d(b) {
|
|
896
896
|
b && (y(e), y(t), y(n), y(o), y(m)), Z.d();
|
|
@@ -984,7 +984,7 @@ function be(f) {
|
|
|
984
984
|
), n;
|
|
985
985
|
return {
|
|
986
986
|
c() {
|
|
987
|
-
e = k("div"), n =
|
|
987
|
+
e = k("div"), n = te(t), J(e, "class", "Reference");
|
|
988
988
|
},
|
|
989
989
|
m(i, s) {
|
|
990
990
|
N(i, e, s), S(e, n);
|
|
@@ -997,7 +997,7 @@ function be(f) {
|
|
|
997
997
|
/*txnInfo*/
|
|
998
998
|
i[10].referenceId
|
|
999
999
|
) }
|
|
1000
|
-
}) + "") &&
|
|
1000
|
+
}) + "") && ee(n, t);
|
|
1001
1001
|
},
|
|
1002
1002
|
d(i) {
|
|
1003
1003
|
i && y(e);
|
|
@@ -1040,7 +1040,7 @@ function ye(f) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
},
|
|
1042
1042
|
d(i) {
|
|
1043
|
-
i && y(e),
|
|
1043
|
+
i && y(e), Ue(n, i);
|
|
1044
1044
|
}
|
|
1045
1045
|
};
|
|
1046
1046
|
}
|
|
@@ -1051,7 +1051,7 @@ function ct(f) {
|
|
|
1051
1051
|
), n;
|
|
1052
1052
|
return {
|
|
1053
1053
|
c() {
|
|
1054
|
-
e = k("span"), n =
|
|
1054
|
+
e = k("span"), n = te(t), J(e, "class", "Label");
|
|
1055
1055
|
},
|
|
1056
1056
|
m(i, s) {
|
|
1057
1057
|
N(i, e, s), S(e, n);
|
|
@@ -1059,7 +1059,7 @@ function ct(f) {
|
|
|
1059
1059
|
p(i, s) {
|
|
1060
1060
|
s[0] & /*receiptFields*/
|
|
1061
1061
|
2048 && t !== (t = /*field*/
|
|
1062
|
-
i[46].defaultValue + "") &&
|
|
1062
|
+
i[46].defaultValue + "") && ee(n, t);
|
|
1063
1063
|
},
|
|
1064
1064
|
d(i) {
|
|
1065
1065
|
i && y(e);
|
|
@@ -1076,7 +1076,7 @@ function ot(f) {
|
|
|
1076
1076
|
), m, l;
|
|
1077
1077
|
return {
|
|
1078
1078
|
c() {
|
|
1079
|
-
e = k("span"), n =
|
|
1079
|
+
e = k("span"), n = te(t), i = _(), s = k("a"), m = te(o), J(s, "href", l = /*field*/
|
|
1080
1080
|
f[46].defaultValue), J(s, "target", "_blank"), J(s, "rel", "noopener noreferrer");
|
|
1081
1081
|
},
|
|
1082
1082
|
m(T, M) {
|
|
@@ -1085,9 +1085,9 @@ function ot(f) {
|
|
|
1085
1085
|
p(T, M) {
|
|
1086
1086
|
M[0] & /*receiptFields*/
|
|
1087
1087
|
2048 && t !== (t = /*field*/
|
|
1088
|
-
T[46].description + "") &&
|
|
1088
|
+
T[46].description + "") && ee(n, t), M[0] & /*receiptFields*/
|
|
1089
1089
|
2048 && o !== (o = /*field*/
|
|
1090
|
-
T[46].Name + "") &&
|
|
1090
|
+
T[46].Name + "") && ee(m, o), M[0] & /*receiptFields*/
|
|
1091
1091
|
2048 && l !== (l = /*field*/
|
|
1092
1092
|
T[46].defaultValue) && J(s, "href", l);
|
|
1093
1093
|
},
|
|
@@ -1157,7 +1157,7 @@ function At(f) {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
return {
|
|
1159
1159
|
c() {
|
|
1160
|
-
e = k("div"), t = k("div"), i =
|
|
1160
|
+
e = k("div"), t = k("div"), i = te(n), J(e, "class", "QRCode");
|
|
1161
1161
|
},
|
|
1162
1162
|
m(l, T) {
|
|
1163
1163
|
N(l, e, T), S(e, t), S(t, i), f[29](t), s || (o = le(e, "click", m), s = !0);
|
|
@@ -1165,7 +1165,7 @@ function At(f) {
|
|
|
1165
1165
|
p(l, T) {
|
|
1166
1166
|
f = l, T[0] & /*receiptFields*/
|
|
1167
1167
|
2048 && n !== (n = /*field*/
|
|
1168
|
-
f[46].defaultValue + "") &&
|
|
1168
|
+
f[46].defaultValue + "") && ee(i, n);
|
|
1169
1169
|
},
|
|
1170
1170
|
d(l) {
|
|
1171
1171
|
l && y(e), f[29](null), s = !1, o();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierReceiptPage-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierReceiptPage-CvoL0y2s.cjs")).then(({default:t})=>{!customElements.get("cashier-receipt-page")&&customElements.define("cashier-receipt-page",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierReceiptPage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierReceiptPage-Cbol4ura.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("cashier-receipt-page") && customElements.define("cashier-receipt-page", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|