@everymatrix/cashier-page 1.50.302 → 1.50.304

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.
Files changed (208) hide show
  1. package/components/CashierCarousel-B0be6w9h.cjs +1 -0
  2. package/components/CashierCarousel-BRaLX-Gb.js +735 -0
  3. package/components/CashierCarousel-BSxRIpNj.js +708 -0
  4. package/components/CashierCarousel-BeZk1rCb.cjs +1 -0
  5. package/components/CashierCarousel-ByqeTnwt.js +732 -0
  6. package/components/CashierCarousel-CLl1dEO0.js +711 -0
  7. package/components/CashierCarousel-DQAxJCBU.js +732 -0
  8. package/components/CashierCarousel-DVLQpSbh.js +711 -0
  9. package/components/CashierCarousel-Dh5Q3q4o.cjs +1 -0
  10. package/components/CashierCarousel-DucLdPiP.cjs +1 -0
  11. package/components/CashierCarousel-dULKLWjD.js +735 -0
  12. package/components/CashierCarousel-jiScaw1m.js +708 -0
  13. package/components/CashierError-3f1WF4Nz.js +953 -0
  14. package/components/CashierError-B19WWS6q.js +849 -0
  15. package/components/CashierError-BgzGU74G.js +849 -0
  16. package/components/CashierError-CL9tcScj.js +849 -0
  17. package/components/CashierError-DHNTJSJJ.js +953 -0
  18. package/components/CashierError-DIHH8n-8.js +953 -0
  19. package/components/CashierError-DeqCZCJ8.cjs +1 -0
  20. package/components/CashierError-DhQtatzN.cjs +1 -0
  21. package/components/CashierError-DhWeAAJe.cjs +1 -0
  22. package/components/CashierError-anvOs15L.js +953 -0
  23. package/components/CashierError-nb2MHtLH.cjs +1 -0
  24. package/components/CashierError-ulLnVgQF.js +849 -0
  25. package/components/CashierHeader-CB44mVYO.js +491 -0
  26. package/components/CashierHeader-CmmEk0QP.cjs +1 -0
  27. package/components/CashierHeader-Cy_qPbpX.js +491 -0
  28. package/components/CashierHeader-DA_ReO25.cjs +1 -0
  29. package/components/CashierHeader-DEksQqYQ.js +477 -0
  30. package/components/CashierHeader-DwvRD5WU.js +477 -0
  31. package/components/CashierHeader-J44Qka8M.js +477 -0
  32. package/components/CashierHeader-NXvRux60.js +491 -0
  33. package/components/CashierHeader-TyBJcqgn.cjs +1 -0
  34. package/components/CashierHeader-jQ2-E617.js +477 -0
  35. package/components/CashierHeader-o6TvKgbA.js +491 -0
  36. package/components/CashierHeader-psrWKbwT.cjs +1 -0
  37. package/components/CashierIframeRedirect-B2Z4PPjN.js +393 -0
  38. package/components/CashierIframeRedirect-BUy5m6fN.js +387 -0
  39. package/components/CashierIframeRedirect-BqTuO6pY.cjs +1 -0
  40. package/components/CashierIframeRedirect-BsmtqsAi.js +393 -0
  41. package/components/CashierIframeRedirect-C2UcYLWG.cjs +1 -0
  42. package/components/CashierIframeRedirect-CB1_eaMN.cjs +1 -0
  43. package/components/CashierIframeRedirect-CiLUf-uu.js +393 -0
  44. package/components/CashierIframeRedirect-Cky3E9lZ.cjs +1 -0
  45. package/components/CashierIframeRedirect-CyY79191.js +387 -0
  46. package/components/CashierIframeRedirect-DBa9kngn.js +393 -0
  47. package/components/CashierIframeRedirect-DOCts-eZ.js +387 -0
  48. package/components/CashierIframeRedirect-lM7pHpa9.js +387 -0
  49. package/components/CashierMethodDetails-B-klrcoA.js +11831 -0
  50. package/components/CashierMethodDetails-BHGrCcE3.js +11768 -0
  51. package/components/CashierMethodDetails-BwVUOd4G.js +12211 -0
  52. package/components/CashierMethodDetails-C2ngl6Kr.cjs +248 -0
  53. package/components/CashierMethodDetails-CAgEzu_R.js +12211 -0
  54. package/components/CashierMethodDetails-CEt1JRHd.js +11758 -0
  55. package/components/CashierMethodDetails-DAWCQ0KF.js +12281 -0
  56. package/components/CashierMethodDetails-DT4GvTpz.cjs +238 -0
  57. package/components/CashierMethodDetails-DmHKHr2M.cjs +238 -0
  58. package/components/CashierMethodDetails-DnwlKMbV.js +12281 -0
  59. package/components/CashierMethodDetails-Dw-Bbj_A.cjs +248 -0
  60. package/components/CashierMethodDetails-jCkj4SrI.js +11821 -0
  61. package/components/CashierMethodsList-5vmnJcTu.cjs +1 -0
  62. package/components/CashierMethodsList-7It5quP2.js +993 -0
  63. package/components/CashierMethodsList-BHsMHpMS.js +993 -0
  64. package/components/CashierMethodsList-BvOniQPF.cjs +1 -0
  65. package/components/CashierMethodsList-BzQxrxu_.cjs +1 -0
  66. package/components/CashierMethodsList-Ciula3fP.js +979 -0
  67. package/components/CashierMethodsList-Cr1BX878.js +969 -0
  68. package/components/CashierMethodsList-Cy2Vsr78.js +955 -0
  69. package/components/CashierMethodsList-D1Iwn00t.js +979 -0
  70. package/components/CashierMethodsList-DvtnoNGH.cjs +1 -0
  71. package/components/CashierMethodsList-KXr3hScy.js +955 -0
  72. package/components/CashierMethodsList-u11i0SYf.js +969 -0
  73. package/components/CashierModal-4iF9ylQT.js +402 -0
  74. package/components/CashierModal-CXAlPPo9.js +402 -0
  75. package/components/CashierModal-CcawnfUI.cjs +1 -0
  76. package/components/CashierModal-CcbUfZmi.cjs +1 -0
  77. package/components/CashierModal-CevNAvJE.js +386 -0
  78. package/components/CashierModal-D8blw0Aq.js +402 -0
  79. package/components/CashierModal-DJ3Q9obn.js +402 -0
  80. package/components/CashierModal-DX7uS-co.js +386 -0
  81. package/components/CashierModal-DqcJreZv.cjs +1 -0
  82. package/components/CashierModal-DwEKUjMK.cjs +1 -0
  83. package/components/CashierModal-Ke9TZX5s.js +386 -0
  84. package/components/CashierModal-gkX0ZFqO.js +386 -0
  85. package/components/CashierNotifications-C2ND2S-i.cjs +1 -0
  86. package/components/CashierNotifications-CEtUWXTV.js +129 -0
  87. package/components/CashierNotifications-CLGdHeNX.cjs +1 -0
  88. package/components/CashierNotifications-CY2B13Wf.js +129 -0
  89. package/components/CashierNotifications-DU-Yhh1S.js +129 -0
  90. package/components/CashierNotifications-DUdujOt-.cjs +1 -0
  91. package/components/CashierNotifications-DWaVK9AS.js +129 -0
  92. package/components/CashierNotifications-DqEn1r7G.js +129 -0
  93. package/components/CashierNotifications-DquKOU8w.js +129 -0
  94. package/components/CashierNotifications-Du8trHf6.js +129 -0
  95. package/components/CashierNotifications-WS_5AwbR.js +129 -0
  96. package/components/CashierNotifications-wQG099OX.cjs +1 -0
  97. package/components/CashierPage-895aolw0.js +10288 -0
  98. package/components/CashierPage-BGZ8w8Pz.cjs +23 -0
  99. package/components/CashierPage-BU42FSzD.js +10307 -0
  100. package/components/CashierPage-Bmy89dKm.cjs +23 -0
  101. package/components/CashierPage-Bz6JgmrH.js +10235 -0
  102. package/components/CashierPage-CUNQ6Hgb.js +10386 -0
  103. package/components/CashierPage-Cafjnv9B.cjs +23 -0
  104. package/components/CashierPage-DENRlF7a.js +10386 -0
  105. package/components/CashierPage-DEYpTaJv.cjs +23 -0
  106. package/components/CashierPage-DYXRnLVw.js +10254 -0
  107. package/components/CashierPage-DlKzN6El.js +10333 -0
  108. package/components/CashierPage-adXic8iR.js +10333 -0
  109. package/components/CashierReceiptPage-BC0sGCoo.js +2247 -0
  110. package/components/CashierReceiptPage-BCh5OfiT.cjs +29 -0
  111. package/components/CashierReceiptPage-BJ8xDAwg.cjs +29 -0
  112. package/components/CashierReceiptPage-BQAHPwlF.js +2227 -0
  113. package/components/CashierReceiptPage-BjTVzjuc.js +2063 -0
  114. package/components/CashierReceiptPage-BksUdcR_.js +2227 -0
  115. package/components/CashierReceiptPage-CEkQXJO9.cjs +29 -0
  116. package/components/CashierReceiptPage-CGcmTBRp.js +2063 -0
  117. package/components/CashierReceiptPage-Cnk2ZhoC.js +2247 -0
  118. package/components/CashierReceiptPage-DNsdCwQQ.js +2043 -0
  119. package/components/CashierReceiptPage-DkwFQrzl.cjs +29 -0
  120. package/components/CashierReceiptPage-mvS7a_9t.js +2043 -0
  121. package/components/CashierSessionExpirationModal-B1wsB0hn.js +1228 -0
  122. package/components/CashierSessionExpirationModal-BrfbbbF-.js +1212 -0
  123. package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +2 -0
  124. package/components/CashierSessionExpirationModal-CY385n9R.js +1212 -0
  125. package/components/CashierSessionExpirationModal-Cb456WpL.cjs +2 -0
  126. package/components/CashierSessionExpirationModal-CggxTLwR.js +1228 -0
  127. package/components/CashierSessionExpirationModal-Ci7O7b8q.cjs +2 -0
  128. package/components/CashierSessionExpirationModal-DbCHp37b.js +1228 -0
  129. package/components/CashierSessionExpirationModal-Dh6WVVmN.js +1228 -0
  130. package/components/CashierSessionExpirationModal-IfrOHdOp.js +1212 -0
  131. package/components/CashierSessionExpirationModal-fEyfKO0q.cjs +2 -0
  132. package/components/CashierSessionExpirationModal-i5NfYzNE.js +1212 -0
  133. package/components/CashierSpinner-B4jftV9c.js +79 -0
  134. package/components/CashierSpinner-B9pVwSLe.cjs +1 -0
  135. package/components/CashierSpinner-BF0PvrCl.cjs +1 -0
  136. package/components/CashierSpinner-BWpfHKNE.js +79 -0
  137. package/components/CashierSpinner-Bnf97d_s.js +79 -0
  138. package/components/CashierSpinner-Bpe0d0oQ.js +79 -0
  139. package/components/CashierSpinner-BvhJgDvg.js +79 -0
  140. package/components/CashierSpinner-C9Ra-0IT.js +79 -0
  141. package/components/CashierSpinner-CKdmXXKt.cjs +1 -0
  142. package/components/CashierSpinner-D8aPduU7.cjs +1 -0
  143. package/components/CashierSpinner-DKwEf3F5.js +79 -0
  144. package/components/CashierSpinner-bOYmQpsr.js +79 -0
  145. package/components/CashierStepUp-4fnHnyQH.cjs +1 -0
  146. package/components/CashierStepUp-B3Ph1OSf.js +1161 -0
  147. package/components/CashierStepUp-BBevbM4u.js +1247 -0
  148. package/components/CashierStepUp-BHanSZTL.js +1207 -0
  149. package/components/CashierStepUp-BM3HMPnB.js +1207 -0
  150. package/components/CashierStepUp-CD1o66ys.js +1247 -0
  151. package/components/CashierStepUp-CKae09kD.js +1201 -0
  152. package/components/CashierStepUp-CNHvoNU1.js +1161 -0
  153. package/components/CashierStepUp-Ck0xq8Xm.js +1201 -0
  154. package/components/CashierStepUp-DIQ9DrxX.cjs +1 -0
  155. package/components/CashierStepUp-DNCtytYE.cjs +1 -0
  156. package/components/CashierStepUp-W3fEwrpY.cjs +1 -0
  157. package/components/CashierTransactionHistory-7IKHh5Ue.cjs +1 -0
  158. package/components/CashierTransactionHistory-B6FzMX9a.js +1415 -0
  159. package/components/CashierTransactionHistory-BDBrioGF.js +1465 -0
  160. package/components/CashierTransactionHistory-BSRmZpn2.cjs +1 -0
  161. package/components/CashierTransactionHistory-Bkqw8dMT.cjs +1 -0
  162. package/components/CashierTransactionHistory-CPiy3Ve7.cjs +1 -0
  163. package/components/CashierTransactionHistory-CoTFYN7l.js +1415 -0
  164. package/components/CashierTransactionHistory-DkPMVofl.js +1415 -0
  165. package/components/CashierTransactionHistory-DmpL_aM9.js +1465 -0
  166. package/components/CashierTransactionHistory-Dx1_CMgL.js +1465 -0
  167. package/components/CashierTransactionHistory-_uQpfmaM.js +1415 -0
  168. package/components/CashierTransactionHistory-wU9CBqA5.js +1465 -0
  169. package/components/CashierVerifications-6nL7t9_c.js +772 -0
  170. package/components/CashierVerifications-BZPBsrmc.cjs +1 -0
  171. package/components/CashierVerifications-Bu-KbeZF.cjs +1 -0
  172. package/components/CashierVerifications-C13f7cO5.js +772 -0
  173. package/components/CashierVerifications-C3vBxGTw.js +726 -0
  174. package/components/CashierVerifications-C5a6Ftq0.cjs +1 -0
  175. package/components/CashierVerifications-C8Sagh4Z.cjs +1 -0
  176. package/components/CashierVerifications-CA42knBf.js +722 -0
  177. package/components/CashierVerifications-CBtYGTLV.js +726 -0
  178. package/components/CashierVerifications-CJjMkvTK.js +722 -0
  179. package/components/CashierVerifications-DBNf-GSW.js +768 -0
  180. package/components/CashierVerifications-DWtVDzCS.js +768 -0
  181. package/components/TxnStatusIcon-82F260RX.cjs +1 -0
  182. package/components/TxnStatusIcon-B6x0tb9z.js +142 -0
  183. package/components/TxnStatusIcon-B99-DjyY.js +142 -0
  184. package/components/TxnStatusIcon-CbAbVQMV.js +142 -0
  185. package/components/TxnStatusIcon-CgTqMiw9.cjs +1 -0
  186. package/components/TxnStatusIcon-Cz1VK1dc.js +142 -0
  187. package/components/TxnStatusIcon-DL3aShWe.js +142 -0
  188. package/components/TxnStatusIcon-DZBTC4Ey.js +142 -0
  189. package/components/TxnStatusIcon-ObLzHWKw.cjs +1 -0
  190. package/components/TxnStatusIcon-T3_oGTiJ.js +142 -0
  191. package/components/TxnStatusIcon-_ohfqibs.js +142 -0
  192. package/components/TxnStatusIcon-oJqwYfUz.cjs +1 -0
  193. package/components/TxnTypeIcons-2TqkD6dM.cjs +1 -0
  194. package/components/TxnTypeIcons-5Ao_1BRX.js +101 -0
  195. package/components/TxnTypeIcons-62nf_qOS.js +101 -0
  196. package/components/TxnTypeIcons-CBQzs7Ln.cjs +1 -0
  197. package/components/TxnTypeIcons-CUIdqOm3.js +101 -0
  198. package/components/TxnTypeIcons-CaBjC4_W.cjs +1 -0
  199. package/components/TxnTypeIcons-Cv_QN0g3.js +101 -0
  200. package/components/TxnTypeIcons-DQoYoehg.js +101 -0
  201. package/components/TxnTypeIcons-Das9ahbE.js +101 -0
  202. package/components/TxnTypeIcons-DhQNGQt2.js +101 -0
  203. package/components/TxnTypeIcons-gD4j8VCB.js +101 -0
  204. package/components/TxnTypeIcons-mX1zqVBL.cjs +1 -0
  205. package/es2015/cashier-page.cjs +1 -1
  206. package/es2015/cashier-page.js +1 -1
  207. package/esnext/cashier-page.js +1 -1
  208. package/package.json +1 -1
@@ -0,0 +1,129 @@
1
+ import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierPage-adXic8iR.js";
2
+ function H(n) {
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
+ }
5
+ function R(n) {
6
+ let t, s, r, u, l, a, i, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ n[0]
12
+ ), u = E(), l = h("button"), a = x(
13
+ /*button*/
14
+ n[1]
15
+ ), L(t, "class", "CashierNotifications");
16
+ },
17
+ m(o, c) {
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ n[3]
23
+ ), i = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && k(t), n[6](null), i = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(n, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, i.appendChild(e);
52
+ }, c = () => {
53
+ let e = new URL(a), y = document.createElement("style");
54
+ fetch(e.href).then((g) => g.text()).then((g) => {
55
+ y.innerHTML = g, setTimeout(
56
+ () => {
57
+ i.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ M[e ? "unshift" : "push"](() => {
65
+ i = e, s(2, i);
66
+ });
67
+ }
68
+ return n.$$set = (e) => {
69
+ "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
+ }, n.$$.update = () => {
71
+ n.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && i && c();
74
+ }, [
75
+ r,
76
+ u,
77
+ i,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class q extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ q as default
129
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-Cafjnv9B.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),g=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{l.appendChild(g)},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 h extends t.SvelteComponent{constructor(e){super(),t.init$1(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(h,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=h;
@@ -0,0 +1,129 @@
1
+ import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierPage-DlKzN6El.js";
2
+ function H(n) {
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
+ }
5
+ function R(n) {
6
+ let t, s, r, u, l, a, i, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ n[0]
12
+ ), u = E(), l = h("button"), a = x(
13
+ /*button*/
14
+ n[1]
15
+ ), L(t, "class", "CashierNotifications");
16
+ },
17
+ m(o, c) {
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ n[3]
23
+ ), i = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && k(t), n[6](null), i = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(n, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, i.appendChild(e);
52
+ }, c = () => {
53
+ let e = new URL(a), y = document.createElement("style");
54
+ fetch(e.href).then((g) => g.text()).then((g) => {
55
+ y.innerHTML = g, setTimeout(
56
+ () => {
57
+ i.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ M[e ? "unshift" : "push"](() => {
65
+ i = e, s(2, i);
66
+ });
67
+ }
68
+ return n.$$set = (e) => {
69
+ "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
+ }, n.$$.update = () => {
71
+ n.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && i && c();
74
+ }, [
75
+ r,
76
+ u,
77
+ i,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class q extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ q as default
129
+ };
@@ -0,0 +1,129 @@
1
+ import { S as C, b as v, s as _, f as d, c as k, y as b, e as N, v as p, k as z, l as f, z as S, m as h, w as x, n as E, o as L, x as M, A as T } from "./CashierPage-CUNQ6Hgb.js";
2
+ function H(n) {
3
+ k(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
+ }
5
+ function R(n) {
6
+ let t, s, r, u, l, a, i, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ n[0]
12
+ ), u = E(), l = h("button"), a = x(
13
+ /*button*/
14
+ n[1]
15
+ ), L(t, "class", "CashierNotifications");
16
+ },
17
+ m(o, c) {
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ n[3]
23
+ ), i = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && N(t), n[6](null), i = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(n, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, i.appendChild(e);
52
+ }, c = () => {
53
+ let e = new URL(a), y = document.createElement("style");
54
+ fetch(e.href).then((g) => g.text()).then((g) => {
55
+ y.innerHTML = g, setTimeout(
56
+ () => {
57
+ i.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ M[e ? "unshift" : "push"](() => {
65
+ i = e, s(2, i);
66
+ });
67
+ }
68
+ return n.$$set = (e) => {
69
+ "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
+ }, n.$$.update = () => {
71
+ n.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && i && c();
74
+ }, [
75
+ r,
76
+ u,
77
+ i,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class q extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ q as default
129
+ };
@@ -0,0 +1,129 @@
1
+ import { S as C, b as v, s as _, f as d, c as k, y as b, e as N, v as p, k as z, l as f, z as S, m as h, w as x, n as E, o as L, x as M, A as T } from "./CashierPage-895aolw0.js";
2
+ function H(n) {
3
+ k(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
+ }
5
+ function R(n) {
6
+ let t, s, r, u, l, a, i, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ n[0]
12
+ ), u = E(), l = h("button"), a = x(
13
+ /*button*/
14
+ n[1]
15
+ ), L(t, "class", "CashierNotifications");
16
+ },
17
+ m(o, c) {
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ n[3]
23
+ ), i = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && N(t), n[6](null), i = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(n, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, i.appendChild(e);
52
+ }, c = () => {
53
+ let e = new URL(a), y = document.createElement("style");
54
+ fetch(e.href).then((g) => g.text()).then((g) => {
55
+ y.innerHTML = g, setTimeout(
56
+ () => {
57
+ i.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ M[e ? "unshift" : "push"](() => {
65
+ i = e, s(2, i);
66
+ });
67
+ }
68
+ return n.$$set = (e) => {
69
+ "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
+ }, n.$$.update = () => {
71
+ n.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && i && c();
74
+ }, [
75
+ r,
76
+ u,
77
+ i,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class q extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ q as default
129
+ };
@@ -0,0 +1,129 @@
1
+ import { S as C, b as v, s as _, f as d, c as k, y as b, e as N, v as p, k as z, l as f, z as S, m as h, w as x, n as E, o as L, x as M, A as T } from "./CashierPage-BU42FSzD.js";
2
+ function H(n) {
3
+ k(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
+ }
5
+ function R(n) {
6
+ let t, s, r, u, l, a, i, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ n[0]
12
+ ), u = E(), l = h("button"), a = x(
13
+ /*button*/
14
+ n[1]
15
+ ), L(t, "class", "CashierNotifications");
16
+ },
17
+ m(o, c) {
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ n[3]
23
+ ), i = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && N(t), n[6](null), i = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(n, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, i.appendChild(e);
52
+ }, c = () => {
53
+ let e = new URL(a), y = document.createElement("style");
54
+ fetch(e.href).then((g) => g.text()).then((g) => {
55
+ y.innerHTML = g, setTimeout(
56
+ () => {
57
+ i.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ M[e ? "unshift" : "push"](() => {
65
+ i = e, s(2, i);
66
+ });
67
+ }
68
+ return n.$$set = (e) => {
69
+ "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
+ }, n.$$.update = () => {
71
+ n.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && i && c();
74
+ }, [
75
+ r,
76
+ u,
77
+ i,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class q extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ q as default
129
+ };