@everymatrix/cashier-page-nd 1.69.80

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 (75) hide show
  1. package/components/CashierCarousel-BRCPA28j.js +5469 -0
  2. package/components/CashierCarousel-BrO7Jjq7.cjs +23 -0
  3. package/components/CashierCarousel-DIW7ewty.js +5432 -0
  4. package/components/CashierError-2l9bXeE4.js +438 -0
  5. package/components/CashierError-CDQHYcyq.cjs +1 -0
  6. package/components/CashierError-CaZfsv_b.js +438 -0
  7. package/components/CashierHeader-BIvpeMbT.js +397 -0
  8. package/components/CashierHeader-CRdaTXXF.js +397 -0
  9. package/components/CashierHeader-CYloyBeJ.cjs +1 -0
  10. package/components/CashierIframeRedirect-CYbcbdD6.js +398 -0
  11. package/components/CashierIframeRedirect-Cdt_4X-f.js +398 -0
  12. package/components/CashierIframeRedirect-DHwRIV5D.cjs +1 -0
  13. package/components/CashierMethodDetails-CmHvEe-1.js +8998 -0
  14. package/components/CashierMethodDetails-Crc38ib5.js +8977 -0
  15. package/components/CashierMethodDetails-DdksHLNn.cjs +85 -0
  16. package/components/CashierMethodsList-BXhWqHwQ.js +733 -0
  17. package/components/CashierMethodsList-CXLOO8AC.cjs +1 -0
  18. package/components/CashierMethodsList-CiYrKrpc.js +745 -0
  19. package/components/CashierModal-8fVxVksu.cjs +1 -0
  20. package/components/CashierModal-Bf-5kofx.js +268 -0
  21. package/components/CashierModal-DYVVV-kg.js +268 -0
  22. package/components/CashierNotifications-BW_5BkiD.js +129 -0
  23. package/components/CashierNotifications-C3_w1GoO.js +129 -0
  24. package/components/CashierNotifications-DPPdTfhe.cjs +1 -0
  25. package/components/CashierPage-CD1jfPWY.js +2724 -0
  26. package/components/CashierPage-CwhswjBN.cjs +1 -0
  27. package/components/CashierPage-EE5oS0EE.js +2724 -0
  28. package/components/CashierReceiptPage-Cdpi_dhQ.js +1720 -0
  29. package/components/CashierReceiptPage-CtcB2_3R.cjs +26 -0
  30. package/components/CashierReceiptPage-DcrR4cFI.js +1724 -0
  31. package/components/CashierSessionExpirationModal-BAazKpCR.cjs +2 -0
  32. package/components/CashierSessionExpirationModal-BuRX5Ibg.js +1184 -0
  33. package/components/CashierSessionExpirationModal-DbZJRvvF.js +1184 -0
  34. package/components/CashierSpinner-CmkhBExd.cjs +1 -0
  35. package/components/CashierSpinner-DTePmdlJ.js +78 -0
  36. package/components/CashierSpinner-DsjTlCAT.js +78 -0
  37. package/components/CashierTransactionHistory-BW7qdJ8o.js +1305 -0
  38. package/components/CashierTransactionHistory-DGxSVtrZ.js +1305 -0
  39. package/components/CashierTransactionHistory-Dz-EIYCr.cjs +1 -0
  40. package/components/CashierVerifications-BPvYz1I1.js +597 -0
  41. package/components/CashierVerifications-CkX6-wMt.cjs +1 -0
  42. package/components/CashierVerifications-Dzg3GMUR.js +601 -0
  43. package/components/TxnStatusIcon-CacWIjyU.js +142 -0
  44. package/components/TxnStatusIcon-CluG8nB2.cjs +1 -0
  45. package/components/TxnStatusIcon-DEE4mf59.js +142 -0
  46. package/components/TxnTypeIcons-CCHGRfM4.js +101 -0
  47. package/components/TxnTypeIcons-Dwq4VQE8.js +101 -0
  48. package/components/TxnTypeIcons-DzkNiw5U.cjs +1 -0
  49. package/es2015/cashier-page.cjs +1 -0
  50. package/es2015/cashier-page.js +16 -0
  51. package/esnext/cashier-page.js +14 -0
  52. package/package.json +26 -0
  53. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  54. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  55. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  56. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  57. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  58. package/stencil/index-b2193545-B8kMF2bI.cjs +1 -0
  59. package/stencil/index-b2193545-BoSqyMpB.js +519 -0
  60. package/stencil/index-b2193545-D4dOaNlR.js +503 -0
  61. package/stencil/ui-image-BWJXFWH1.js +25 -0
  62. package/stencil/ui-image-ByEXiBzx.cjs +1 -0
  63. package/stencil/ui-image-DIEeZy5u.js +7 -0
  64. package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +39 -0
  65. package/stencil/ui-image-b7b48fe5-D6iig_uN.js +39 -0
  66. package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +1 -0
  67. package/stencil/ui-image_2-Bm97-wkj.js +157 -0
  68. package/stencil/ui-image_2-DdFjzzNO.cjs +55 -0
  69. package/stencil/ui-image_2-qO3reSlr.js +157 -0
  70. package/stencil/ui-skeleton-4-zrLsIW.js +11 -0
  71. package/stencil/ui-skeleton-9boHSjtG.js +29 -0
  72. package/stencil/ui-skeleton-_yJvAdAL.cjs +1 -0
  73. package/stencil/ui-skeleton-ae35c6f2-8tYGV8SR.js +155 -0
  74. package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +55 -0
  75. package/stencil/ui-skeleton-ae35c6f2-IN_dPA5_.js +155 -0
@@ -0,0 +1,129 @@
1
+ import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-DIW7ewty.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 = S(), 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 = E(
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 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-BrO7Jjq7.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$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(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;