@everymatrix/cashier-page 1.89.100 → 1.89.102
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-CbEfmBWG.js → CashierError-BTQVXP-0.js} +322 -242
- package/components/{CashierError-BadEP4Hf.js → CashierError-D0vY7Wlk.js} +322 -242
- package/components/CashierError-DDQmcXZG.cjs +1 -0
- package/components/{CashierMethodDetails-C1YivsY0.js → CashierMethodDetails-Btmaq1-9.js} +110 -110
- package/components/{CashierMethodDetails-Bpr9Q04a.cjs → CashierMethodDetails-Dbnc7shQ.cjs} +4 -4
- package/components/{CashierMethodDetails-Dm0LrfPv.js → CashierMethodDetails-DnLloOGQ.js} +111 -111
- package/components/{CashierMethodsList-BQyTMxwJ.cjs → CashierMethodsList-CGPx40po.cjs} +1 -1
- package/components/{CashierMethodsList-BgT8GtZO.js → CashierMethodsList-CReSXWdx.js} +1 -1
- package/components/{CashierMethodsList-Becd-_0j.js → CashierMethodsList-CuJPHIHU.js} +1 -1
- package/components/{CashierPage-B-8PEr0a.js → CashierPage-B9MuiEuN.js} +486 -501
- package/components/{CashierPage-BvBfbCf3.cjs → CashierPage-BsE2ZMrd.cjs} +1 -1
- package/components/{CashierPage-DpttN4Et.js → CashierPage-CqokTEHt.js} +1083 -1098
- package/components/CashierReceiptPage-CCTAfU-P.cjs +26 -0
- package/components/{CashierReceiptPage-CQ6d-Cj-.js → CashierReceiptPage-CcnHFz9U.js} +120 -123
- package/components/{CashierReceiptPage-COp3NsUw.js → CashierReceiptPage-oNKyLl1c.js} +112 -115
- package/components/{CashierSessionExpirationModal-CwFxQe0o.cjs → CashierSessionExpirationModal-C9VLtqwk.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-v2UJ63eL.js → CashierSessionExpirationModal-CakNFSKm.js} +2 -2
- package/components/{CashierSessionExpirationModal-B4o06oWl.js → CashierSessionExpirationModal-D-saBC_R.js} +2 -2
- package/components/{CashierTransactionHistory-d_VQTD25.js → CashierTransactionHistory-BsNGnILx.js} +2 -2
- package/components/{CashierTransactionHistory-CsBXpcL2.js → CashierTransactionHistory-C8JveduT.js} +2 -2
- package/components/{CashierTransactionHistory-DKbhA_Rk.cjs → CashierTransactionHistory-DDr_nMdn.cjs} +1 -1
- package/components/{CashierVerifications-D7ImXlXI.js → CashierVerifications-BBCRIeej.js} +1 -1
- package/components/{CashierVerifications-CaqLtBnF.cjs → CashierVerifications-BrMcnmHj.cjs} +1 -1
- package/components/{CashierVerifications-DCEd6r59.js → CashierVerifications-ByJreZO5.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierError-CfXNs5SO.cjs +0 -1
- package/components/CashierReceiptPage-pHomkDwd.cjs +0 -28
|
@@ -14,8 +14,8 @@ var z1 = (i, e, t) => new Promise((n, a) => {
|
|
|
14
14
|
}, u = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(s, o);
|
|
15
15
|
u((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { ac as ae, a as oe, i as se, $ as re, S as le, b as ce, s as ue, f as L, c as pe, G as p1, e as h, k as
|
|
18
|
-
import { d as B1, u as Me, a as E1 } from "./CashierMethodDetails-
|
|
17
|
+
import { ac as ae, a as oe, i as se, $ as re, S as le, b as ce, s as ue, f as L, c as pe, G as p1, e as h, k as b, m as C, o as l, p as de, q as fe, O as me, U as Ce, y as A1, N as j1, g as Z1, a6 as ge, t as he, a7 as be, l as c, n as _, ad as we, L as ye, ae as ve, v as R, w as S, A as T, a2 as _e, x as S1, r as P1, Z as D1, a4 as te, X as E, z as V1, B as ke, C as Te, D as Re, E as Se, F as xe } from "./CashierCarousel-CXoovlrR.js";
|
|
18
|
+
import { d as B1, u as Me, a as E1 } from "./CashierMethodDetails-Btmaq1-9.js";
|
|
19
19
|
function N1(i, { delay: e = 0, duration: t = 400, easing: n = ae } = {}) {
|
|
20
20
|
const a = +getComputedStyle(i).opacity;
|
|
21
21
|
return {
|
|
@@ -365,10 +365,7 @@ const K1 = {
|
|
|
365
365
|
<path d="M20.9099 12.4008C20.8843 12.5256 20.8459 12.6472 20.8299 12.772C20.8107 12.8872 20.7659 12.9576 20.6283 12.948C20.4523 12.9384 20.2763 12.9448 20.1035 12.9448C20.0107 12.9448 19.9691 12.9864 19.9563 13.0792C19.9019 13.4792 19.8443 13.876 19.7867 14.2728C19.7387 14.6024 19.6843 14.932 19.6331 15.2648C19.5147 15.2776 19.3995 15.2968 19.2843 15.3C19.1659 15.3032 19.0443 15.2904 18.9323 15.2808C18.8619 14.9896 18.9195 14.7176 18.9579 14.452C19.0219 13.9976 19.0923 13.54 19.1691 13.0888C19.1883 12.9736 19.1435 12.9512 19.0539 12.9512C18.8427 12.9512 18.6315 12.9512 18.4139 12.9512C18.3563 12.7016 18.4331 12.4744 18.4907 12.2472C18.5003 12.2184 18.5771 12.1832 18.6251 12.1832C19.3419 12.1768 20.0587 12.1768 20.7755 12.18C20.8203 12.18 20.8715 12.2184 20.9163 12.2408C20.9099 12.292 20.9099 12.3464 20.9099 12.4008Z" fill="#0F4D00"/>
|
|
366
366
|
<path d="M11.6587 15.2872C11.7579 15.172 11.8347 15.0888 11.9051 14.9992C11.9979 14.884 12.0939 14.7656 12.1707 14.6376C12.2155 14.5672 12.2571 14.5512 12.3307 14.5512C12.8363 14.5544 13.3387 14.5576 13.8443 14.548C13.9275 14.5448 14.0299 14.5064 14.0939 14.4488C14.2155 14.3464 14.1643 14.1736 14.0075 14.1352C13.9627 14.1224 13.9083 14.1224 13.8603 14.1224C13.4315 14.1224 13.0027 14.1224 12.5771 14.1224C12.5291 14.1224 12.4779 14.1224 12.4107 14.1224C12.4235 14.036 12.4363 13.9688 12.4395 13.8984C12.4523 13.7736 12.4619 13.6488 12.4715 13.524C12.4811 13.4056 12.5355 13.3544 12.6635 13.3576C13.0315 13.3672 13.4027 13.364 13.7739 13.3608C13.8571 13.3608 13.9435 13.3544 14.0299 13.3352C14.1515 13.3096 14.2155 13.2232 14.2027 13.1016C14.1931 12.9768 14.1035 12.948 13.9915 12.9448C13.5339 12.9416 13.0731 12.9352 12.6123 12.9416C12.4971 12.9416 12.4299 12.9 12.3819 12.8008C12.3019 12.644 12.2123 12.4904 12.1259 12.3368C12.1035 12.2984 12.0907 12.2568 12.0747 12.2184C12.1195 12.2024 12.1643 12.1736 12.2091 12.1736C12.6827 12.1704 13.1563 12.1704 13.6267 12.1704C13.8603 12.1704 14.0971 12.1768 14.3307 12.1768C14.6795 12.1768 15.0123 12.4008 15.0539 12.7944C15.0795 13.0312 14.8491 13.428 14.5995 13.5496C14.5547 13.572 14.5131 13.5944 14.4491 13.6296C14.5227 13.6744 14.5739 13.7096 14.6315 13.7384C14.9387 13.8952 14.9867 14.0968 14.9515 14.4168C14.8939 14.9128 14.4331 15.2584 13.9691 15.2744C13.2523 15.2968 12.5355 15.2968 11.8219 15.3032C11.7771 15.3032 11.7323 15.2968 11.6587 15.2872Z" fill="#0F4D00"/>
|
|
367
367
|
</svg>
|
|
368
|
-
|
|
369
|
-
SportsButton: `<svg width="24" height="22" viewBox="0 0 24 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
370
|
-
<path d="M9.96379 19.4905L10.2758 18.0345C10.3278 17.8092 10.4361 17.6228 10.6008 17.4755C10.7655 17.3282 10.9691 17.2372 11.2118 17.2025L14.4358 16.9425C14.6611 16.9078 14.8691 16.9512 15.0598 17.0725C15.2505 17.1938 15.3891 17.3585 15.4758 17.5665L15.8918 18.5545C16.5678 18.1558 17.1745 17.6748 17.7118 17.1115C18.2491 16.5482 18.6998 15.9198 19.0638 15.2265L18.7518 15.0705C18.5611 14.9318 18.4225 14.7628 18.3358 14.5635C18.2491 14.3642 18.2318 14.1518 18.2838 13.9265L19.0118 10.7545C19.0638 10.5465 19.1721 10.3732 19.3368 10.2345C19.5015 10.0958 19.6878 10.0092 19.8958 9.97452C19.8091 9.54118 19.7008 9.12085 19.5708 8.71352C19.4408 8.30618 19.2718 7.91185 19.0638 7.53052C18.9078 7.61718 18.7388 7.65618 18.5568 7.64752C18.3748 7.63885 18.2145 7.58252 18.0758 7.47852L15.3198 5.81452C15.1291 5.69318 14.9905 5.52852 14.9038 5.32052C14.8171 5.11252 14.7998 4.89585 14.8518 4.67052L15.0598 3.78652C14.5225 3.54385 13.9721 3.36185 13.4088 3.24052C12.8455 3.11918 12.2691 3.05852 11.6798 3.05852C11.4371 3.05852 11.1858 3.07152 10.9258 3.09752C10.6658 3.12352 10.4145 3.16252 10.1718 3.21452L10.9518 4.98252C11.0385 5.19052 11.0601 5.40718 11.0168 5.63252C10.9735 5.85785 10.8651 6.03985 10.6918 6.17852L8.24779 8.31052C8.07445 8.46652 7.87079 8.55318 7.63679 8.57052C7.40279 8.58785 7.19045 8.53585 6.99979 8.41452L4.60779 6.95852C4.20912 7.61718 3.90145 8.32352 3.68479 9.07752C3.46812 9.83152 3.35979 10.5985 3.35979 11.3785C3.35979 11.6558 3.39445 12.1065 3.46379 12.7305L5.75179 12.5225C5.99445 12.4878 6.21545 12.5268 6.41479 12.6395C6.61412 12.7522 6.75712 12.9212 6.84379 13.1465L8.09179 16.1105C8.17845 16.3185 8.20012 16.5352 8.15679 16.7605C8.11345 16.9858 8.00512 17.1678 7.83179 17.3065L6.84379 18.1385C7.31179 18.4852 7.81012 18.7712 8.33879 18.9965C8.86745 19.2218 9.40912 19.3865 9.96379 19.4905ZM11.8358 15.0185C11.6105 15.0532 11.4025 15.0098 11.2118 14.8885C11.0211 14.7672 10.8825 14.6025 10.7958 14.3945L9.39179 11.1705C9.30512 10.9625 9.29212 10.7458 9.35279 10.5205C9.41345 10.2952 9.53045 10.1132 9.70379 9.97452L12.3558 7.73852C12.5118 7.58252 12.7025 7.49585 12.9278 7.47852C13.1531 7.46118 13.3611 7.51318 13.5518 7.63452L16.4638 9.35052C16.6545 9.47185 16.8018 9.63652 16.9058 9.84452C17.0098 10.0525 17.0358 10.2692 16.9838 10.4945L16.1518 13.8745C16.0998 14.0998 15.9958 14.2862 15.8398 14.4335C15.6838 14.5808 15.4931 14.6718 15.2678 14.7065L11.8358 15.0185ZM11.6798 21.7785C10.2411 21.7785 8.88912 21.5055 7.62379 20.9595C6.35845 20.4135 5.25779 19.6725 4.32179 18.7365C3.38579 17.8005 2.64479 16.6998 2.09879 15.4345C1.55279 14.1692 1.27979 12.8172 1.27979 11.3785C1.27979 9.93985 1.55279 8.58785 2.09879 7.32252C2.64479 6.05718 3.38579 4.95652 4.32179 4.02052C5.25779 3.08452 6.35845 2.34352 7.62379 1.79752C8.88912 1.25152 10.2411 0.978516 11.6798 0.978516C13.1185 0.978516 14.4705 1.25152 15.7358 1.79752C17.0011 2.34352 18.1018 3.08452 19.0378 4.02052C19.9738 4.95652 20.7148 6.05718 21.2608 7.32252C21.8068 8.58785 22.0798 9.93985 22.0798 11.3785C22.0798 12.8172 21.8068 14.1692 21.2608 15.4345C20.7148 16.6998 19.9738 17.8005 19.0378 18.7365C18.1018 19.6725 17.0011 20.4135 15.7358 20.9595C14.4705 21.5055 13.1185 21.7785 11.6798 21.7785Z" />
|
|
371
|
-
</svg>`
|
|
368
|
+
`
|
|
372
369
|
};
|
|
373
370
|
function Ie(i) {
|
|
374
371
|
pe(i, "svelte-nkabfs", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-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(--emw--color-gray-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(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-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(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.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)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}');
|
|
@@ -407,17 +404,17 @@ function ze(i) {
|
|
|
407
404
|
let p = u(i), f = p && p(i);
|
|
408
405
|
return {
|
|
409
406
|
c() {
|
|
410
|
-
s && s.c(), e = _(), t =
|
|
407
|
+
s && s.c(), e = _(), t = C("div"), o && o.c(), a = _(), f && f.c(), l(t, "class", "CashierReceiptPage");
|
|
411
408
|
},
|
|
412
409
|
m(d, g) {
|
|
413
|
-
s && s.m(d, g),
|
|
410
|
+
s && s.m(d, g), b(d, e, g), b(d, t, g), o && o.m(t, null), c(t, a), f && f.m(t, null);
|
|
414
411
|
},
|
|
415
412
|
p(d, g) {
|
|
416
413
|
/*copied*/
|
|
417
414
|
d[23] ? s ? (s.p(d, g), g[0] & /*copied*/
|
|
418
415
|
8388608 && Z1(s, 1)) : (s = G1(d), s.c(), Z1(s, 1), s.m(e.parentNode, e)) : s && (ge(), he(s, 1, 1, () => {
|
|
419
416
|
s = null;
|
|
420
|
-
}),
|
|
417
|
+
}), be()), g[0] & /*showverifications, displayVerifications*/
|
|
421
418
|
4194816 && (n = j1(
|
|
422
419
|
/*userAgent*/
|
|
423
420
|
d[25]
|
|
@@ -434,10 +431,10 @@ function Ae(i) {
|
|
|
434
431
|
let e;
|
|
435
432
|
return {
|
|
436
433
|
c() {
|
|
437
|
-
e =
|
|
434
|
+
e = C("div"), e.innerHTML = '<div class="Spinner"></div>', l(e, "class", "LoadingOverlay");
|
|
438
435
|
},
|
|
439
436
|
m(t, n) {
|
|
440
|
-
|
|
437
|
+
b(t, e, n);
|
|
441
438
|
},
|
|
442
439
|
p: p1,
|
|
443
440
|
d(t) {
|
|
@@ -452,10 +449,10 @@ function G1(i) {
|
|
|
452
449
|
), n, a, s, o;
|
|
453
450
|
return {
|
|
454
451
|
c() {
|
|
455
|
-
e =
|
|
452
|
+
e = C("div"), n = S(t), l(e, "class", "CopyTooltip");
|
|
456
453
|
},
|
|
457
454
|
m(u, p) {
|
|
458
|
-
|
|
455
|
+
b(u, e, p), c(e, n), o = !0;
|
|
459
456
|
},
|
|
460
457
|
p(u, p) {
|
|
461
458
|
(!o || p[0] & /*$_*/
|
|
@@ -468,7 +465,7 @@ function G1(i) {
|
|
|
468
465
|
}), o = !0);
|
|
469
466
|
},
|
|
470
467
|
o(u) {
|
|
471
|
-
a && a.invalidate(), u && (s =
|
|
468
|
+
a && a.invalidate(), u && (s = we(e, N1, { duration: 1e3 })), o = !1;
|
|
472
469
|
},
|
|
473
470
|
d(u) {
|
|
474
471
|
u && h(e), u && s && s.end();
|
|
@@ -479,7 +476,7 @@ function q1(i) {
|
|
|
479
476
|
let e;
|
|
480
477
|
return {
|
|
481
478
|
c() {
|
|
482
|
-
e =
|
|
479
|
+
e = C("cashier-verifications"), T(
|
|
483
480
|
e,
|
|
484
481
|
"lang",
|
|
485
482
|
/*lang*/
|
|
@@ -517,7 +514,7 @@ function q1(i) {
|
|
|
517
514
|
);
|
|
518
515
|
},
|
|
519
516
|
m(t, n) {
|
|
520
|
-
|
|
517
|
+
b(t, e, n);
|
|
521
518
|
},
|
|
522
519
|
p(t, n) {
|
|
523
520
|
n[0] & /*lang*/
|
|
@@ -577,7 +574,7 @@ function je(i) {
|
|
|
577
574
|
);
|
|
578
575
|
return {
|
|
579
576
|
c() {
|
|
580
|
-
e =
|
|
577
|
+
e = C("cashier-error"), t && t.c(), T(
|
|
581
578
|
e,
|
|
582
579
|
"assetsurl",
|
|
583
580
|
/*assetsurl*/
|
|
@@ -610,7 +607,7 @@ function je(i) {
|
|
|
610
607
|
);
|
|
611
608
|
},
|
|
612
609
|
m(n, a) {
|
|
613
|
-
|
|
610
|
+
b(n, e, a), t && t.m(e, null);
|
|
614
611
|
},
|
|
615
612
|
p(n, a) {
|
|
616
613
|
/*errorResponseCode*/
|
|
@@ -662,7 +659,7 @@ function Ze(i) {
|
|
|
662
659
|
let e, t, n, a, s, o = (
|
|
663
660
|
/*$_*/
|
|
664
661
|
i[24]("amount") + ""
|
|
665
|
-
), u, p, f, d, g, k, y,
|
|
662
|
+
), u, p, f, d, g, k, y, w = (
|
|
666
663
|
/*$_*/
|
|
667
664
|
i[24]("status") + ""
|
|
668
665
|
), B, U, Z, V = (
|
|
@@ -675,7 +672,7 @@ function Ze(i) {
|
|
|
675
672
|
), a1, d1, O, o1 = (
|
|
676
673
|
/*txnInfo*/
|
|
677
674
|
i[15].referenceId + ""
|
|
678
|
-
), f1,
|
|
675
|
+
), f1, m1, q, J, x = (
|
|
679
676
|
/*$_*/
|
|
680
677
|
i[24]("payemntMethod") + ""
|
|
681
678
|
), y1, x1, D, s1, v1, A, $, e1 = (
|
|
@@ -684,23 +681,23 @@ function Ze(i) {
|
|
|
684
681
|
), r1, l1, _1, c1 = B1(
|
|
685
682
|
/*txnInfo*/
|
|
686
683
|
i[15].time
|
|
687
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "",
|
|
688
|
-
function R1(
|
|
684
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "", C1, t1, n1, g1, Q, k1, u1, h1, T1;
|
|
685
|
+
function R1(m, v) {
|
|
689
686
|
if (
|
|
690
687
|
/*txnStatus*/
|
|
691
|
-
|
|
688
|
+
m[21] === "success"
|
|
692
689
|
)
|
|
693
690
|
return Ne;
|
|
694
691
|
if (
|
|
695
692
|
/*txnStatus*/
|
|
696
|
-
|
|
693
|
+
m[21] === "pending"
|
|
697
694
|
)
|
|
698
695
|
return Ee;
|
|
699
696
|
if (
|
|
700
697
|
/*txnStatus*/
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
698
|
+
m[21] === "failed" || /*txnStatus*/
|
|
699
|
+
m[21] === "rejected" || /*txnStatus*/
|
|
700
|
+
m[21] === "canceled"
|
|
704
701
|
)
|
|
705
702
|
return Ve;
|
|
706
703
|
}
|
|
@@ -708,29 +705,29 @@ function Ze(i) {
|
|
|
708
705
|
/*displayedButtons*/
|
|
709
706
|
i[12].length > 0 && X1(i)
|
|
710
707
|
);
|
|
711
|
-
function M1(
|
|
708
|
+
function M1(m, v) {
|
|
712
709
|
return (
|
|
713
710
|
/*txnInfo*/
|
|
714
|
-
|
|
711
|
+
m[15].type ? Ke : Ye
|
|
715
712
|
);
|
|
716
713
|
}
|
|
717
|
-
let
|
|
714
|
+
let b1 = M1(i), K = b1(i), j = (
|
|
718
715
|
/*receiptFields*/
|
|
719
716
|
i[16].length && $1(i)
|
|
720
717
|
);
|
|
721
718
|
return {
|
|
722
719
|
c() {
|
|
723
|
-
e =
|
|
720
|
+
e = C("div"), I && I.c(), t = _(), n = C("div"), a = C("div"), s = C("p"), u = S(o), p = _(), f = C("span"), d = S(
|
|
724
721
|
/*amount*/
|
|
725
722
|
i[17]
|
|
726
|
-
), g = _(), k =
|
|
723
|
+
), g = _(), k = C("div"), y = C("p"), B = S(w), U = _(), Z = C("span"), N = S(V), i1 = _(), M = C("div"), H = C("p"), a1 = S(X), d1 = _(), O = C("span"), f1 = S(o1), m1 = _(), q = C("div"), J = C("p"), y1 = S(x), x1 = _(), D = C("span"), s1 = S(
|
|
727
724
|
/*paymentmethod*/
|
|
728
725
|
i[0]
|
|
729
|
-
), v1 = _(), A =
|
|
726
|
+
), v1 = _(), A = C("div"), $ = C("p"), r1 = S(e1), l1 = _(), _1 = C("span"), C1 = S(c1), t1 = _(), n1 = C("div"), z && z.c(), g1 = _(), Q = C("button"), K.c(), k1 = _(), j && j.c(), u1 = P1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(k, "class", Y = `Status ${/*txnStatus*/
|
|
730
727
|
i[21]}`), l(O, "class", "TxnIdText"), l(M, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(n1, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
|
|
731
728
|
},
|
|
732
|
-
m(
|
|
733
|
-
|
|
729
|
+
m(m, v) {
|
|
730
|
+
b(m, e, v), I && I.m(e, null), b(m, t, v), b(m, n, v), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, g), c(n, k), c(k, y), c(y, B), c(k, U), c(k, Z), c(Z, N), c(n, i1), c(n, M), c(M, H), c(H, a1), c(M, d1), c(M, O), c(O, f1), c(n, m1), c(n, q), c(q, J), c(J, y1), c(q, x1), c(q, D), c(D, s1), c(n, v1), c(n, A), c(A, $), c($, r1), c(A, l1), c(A, _1), c(_1, C1), b(m, t1, v), b(m, n1, v), z && z.m(n1, null), b(m, g1, v), b(m, Q, v), K.m(Q, null), b(m, k1, v), j && j.m(m, v), b(m, u1, v), h1 || (T1 = [
|
|
734
731
|
S1(
|
|
735
732
|
O,
|
|
736
733
|
"click",
|
|
@@ -745,44 +742,44 @@ function Ze(i) {
|
|
|
745
742
|
)
|
|
746
743
|
], h1 = !0);
|
|
747
744
|
},
|
|
748
|
-
p(
|
|
749
|
-
G === (G = R1(
|
|
745
|
+
p(m, v) {
|
|
746
|
+
G === (G = R1(m)) && I ? I.p(m, v) : (I && I.d(1), I = G && G(m), I && (I.c(), I.m(e, null))), v[0] & /*$_*/
|
|
750
747
|
16777216 && o !== (o = /*$_*/
|
|
751
|
-
|
|
748
|
+
m[24]("amount") + "") && R(u, o), v[0] & /*amount*/
|
|
752
749
|
131072 && R(
|
|
753
750
|
d,
|
|
754
751
|
/*amount*/
|
|
755
|
-
|
|
752
|
+
m[17]
|
|
756
753
|
), v[0] & /*$_*/
|
|
757
|
-
16777216 &&
|
|
758
|
-
|
|
754
|
+
16777216 && w !== (w = /*$_*/
|
|
755
|
+
m[24]("status") + "") && R(B, w), v[0] & /*$_, txnStatus*/
|
|
759
756
|
18874368 && V !== (V = /*$_*/
|
|
760
|
-
|
|
761
|
-
|
|
757
|
+
m[24](`${/*txnStatus*/
|
|
758
|
+
m[21]}`) + "") && R(N, V), v[0] & /*txnStatus*/
|
|
762
759
|
2097152 && Y !== (Y = `Status ${/*txnStatus*/
|
|
763
|
-
|
|
760
|
+
m[21]}`) && l(k, "class", Y), v[0] & /*$_*/
|
|
764
761
|
16777216 && X !== (X = /*$_*/
|
|
765
|
-
|
|
762
|
+
m[24]("transactionId") + "") && R(a1, X), v[0] & /*txnInfo*/
|
|
766
763
|
32768 && o1 !== (o1 = /*txnInfo*/
|
|
767
|
-
|
|
764
|
+
m[15].referenceId + "") && R(f1, o1), v[0] & /*$_*/
|
|
768
765
|
16777216 && x !== (x = /*$_*/
|
|
769
|
-
|
|
766
|
+
m[24]("payemntMethod") + "") && R(y1, x), v[0] & /*paymentmethod*/
|
|
770
767
|
1 && R(
|
|
771
768
|
s1,
|
|
772
769
|
/*paymentmethod*/
|
|
773
|
-
|
|
770
|
+
m[0]
|
|
774
771
|
), v[0] & /*$_*/
|
|
775
772
|
16777216 && e1 !== (e1 = /*$_*/
|
|
776
|
-
|
|
773
|
+
m[24]("paymentTime") + "") && R(r1, e1), v[0] & /*txnInfo*/
|
|
777
774
|
32768 && c1 !== (c1 = B1(
|
|
778
775
|
/*txnInfo*/
|
|
779
|
-
|
|
780
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "") && R(
|
|
781
|
-
|
|
782
|
-
|
|
776
|
+
m[15].time
|
|
777
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "") && R(C1, c1), /*displayedButtons*/
|
|
778
|
+
m[12].length > 0 ? z ? z.p(m, v) : (z = X1(m), z.c(), z.m(n1, null)) : z && (z.d(1), z = null), b1 === (b1 = M1(m)) && K ? K.p(m, v) : (K.d(1), K = b1(m), K && (K.c(), K.m(Q, null))), /*receiptFields*/
|
|
779
|
+
m[16].length ? j ? j.p(m, v) : (j = $1(m), j.c(), j.m(u1.parentNode, u1)) : j && (j.d(1), j = null);
|
|
783
780
|
},
|
|
784
|
-
d(
|
|
785
|
-
|
|
781
|
+
d(m) {
|
|
782
|
+
m && (h(e), h(t), h(n), h(t1), h(n1), h(g1), h(Q), h(k1), h(u1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), h1 = !1, _e(T1);
|
|
786
783
|
}
|
|
787
784
|
};
|
|
788
785
|
}
|
|
@@ -796,10 +793,10 @@ function Q1(i) {
|
|
|
796
793
|
), f;
|
|
797
794
|
return {
|
|
798
795
|
c() {
|
|
799
|
-
e =
|
|
796
|
+
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = C("span"), s = S(a), o = _(), u = C("span"), f = S(p), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(u, "slot", "text"), l(u, "class", "CashierErrorText");
|
|
800
797
|
},
|
|
801
798
|
m(d, g) {
|
|
802
|
-
|
|
799
|
+
b(d, e, g), b(d, t, g), b(d, n, g), c(n, s), b(d, o, g), b(d, u, g), c(u, f);
|
|
803
800
|
},
|
|
804
801
|
p(d, g) {
|
|
805
802
|
g[0] & /*$_*/
|
|
@@ -825,22 +822,22 @@ function Ve(i) {
|
|
|
825
822
|
), y;
|
|
826
823
|
return {
|
|
827
824
|
c() {
|
|
828
|
-
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = _(), o =
|
|
825
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = _(), o = C("div"), u = C("h3"), f = S(p), d = _(), g = C("p"), y = S(k), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
|
|
829
826
|
},
|
|
830
|
-
m(
|
|
831
|
-
w
|
|
827
|
+
m(w, B) {
|
|
828
|
+
b(w, e, B), c(e, t), c(e, n), c(e, a), b(w, s, B), b(w, o, B), c(o, u), c(u, f), c(o, d), c(o, g), c(g, y);
|
|
832
829
|
},
|
|
833
|
-
p(
|
|
830
|
+
p(w, B) {
|
|
834
831
|
B[0] & /*$_, txnInfo*/
|
|
835
832
|
16809984 && p !== (p = /*$_*/
|
|
836
|
-
|
|
837
|
-
|
|
833
|
+
w[24](`${/*txnInfo*/
|
|
834
|
+
w[15].type.toLowerCase()}.fail.title`) + "") && R(f, p), B[0] & /*$_, txnInfo*/
|
|
838
835
|
16809984 && k !== (k = /*$_*/
|
|
839
|
-
|
|
840
|
-
|
|
836
|
+
w[24](`${/*txnInfo*/
|
|
837
|
+
w[15].type.toLowerCase()}.fail.text`) + "") && R(y, k);
|
|
841
838
|
},
|
|
842
|
-
d(
|
|
843
|
-
|
|
839
|
+
d(w) {
|
|
840
|
+
w && (h(e), h(s), h(o));
|
|
844
841
|
}
|
|
845
842
|
};
|
|
846
843
|
}
|
|
@@ -849,7 +846,7 @@ function Ee(i) {
|
|
|
849
846
|
/*$_*/
|
|
850
847
|
i[24](`${/*txnInfo*/
|
|
851
848
|
i[15].type.toLowerCase()}.pending.title`) + ""
|
|
852
|
-
), g, k, y,
|
|
849
|
+
), g, k, y, w = (
|
|
853
850
|
/*$_*/
|
|
854
851
|
i[24](`${/*txnInfo*/
|
|
855
852
|
i[15].type.toLowerCase()}.pending.text`) + ""
|
|
@@ -859,10 +856,10 @@ function Ee(i) {
|
|
|
859
856
|
), N, Y, i1;
|
|
860
857
|
return {
|
|
861
858
|
c() {
|
|
862
|
-
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), u = _(), p =
|
|
859
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), u = _(), p = C("div"), f = C("h3"), g = S(d), k = _(), y = C("p"), B = S(w), U = _(), Z = C("button"), N = S(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
|
|
863
860
|
},
|
|
864
861
|
m(M, H) {
|
|
865
|
-
|
|
862
|
+
b(M, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), b(M, u, H), b(M, p, H), c(p, f), c(f, g), c(p, k), c(p, y), c(y, B), b(M, U, H), b(M, Z, H), c(Z, N), Y || (i1 = S1(
|
|
866
863
|
Z,
|
|
867
864
|
"click",
|
|
868
865
|
/*getPaymentInfo*/
|
|
@@ -874,9 +871,9 @@ function Ee(i) {
|
|
|
874
871
|
16809984 && d !== (d = /*$_*/
|
|
875
872
|
M[24](`${/*txnInfo*/
|
|
876
873
|
M[15].type.toLowerCase()}.pending.title`) + "") && R(g, d), H[0] & /*$_, txnInfo*/
|
|
877
|
-
16809984 &&
|
|
874
|
+
16809984 && w !== (w = /*$_*/
|
|
878
875
|
M[24](`${/*txnInfo*/
|
|
879
|
-
M[15].type.toLowerCase()}.pending.text`) + "") && R(B,
|
|
876
|
+
M[15].type.toLowerCase()}.pending.text`) + "") && R(B, w), H[0] & /*$_*/
|
|
880
877
|
16777216 && V !== (V = /*$_*/
|
|
881
878
|
M[24]("refreshButton") + "") && R(N, V);
|
|
882
879
|
},
|
|
@@ -897,16 +894,16 @@ function Ne(i) {
|
|
|
897
894
|
), k;
|
|
898
895
|
return {
|
|
899
896
|
c() {
|
|
900
|
-
e = E("svg"), t = E("circle"), n = E("path"), a = _(), s =
|
|
897
|
+
e = E("svg"), t = E("circle"), n = E("path"), a = _(), s = C("div"), o = C("h3"), p = S(u), f = _(), d = C("p"), k = S(g), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
|
|
901
898
|
},
|
|
902
|
-
m(y,
|
|
903
|
-
|
|
899
|
+
m(y, w) {
|
|
900
|
+
b(y, e, w), c(e, t), c(e, n), b(y, a, w), b(y, s, w), c(s, o), c(o, p), c(s, f), c(s, d), c(d, k);
|
|
904
901
|
},
|
|
905
|
-
p(y,
|
|
906
|
-
|
|
902
|
+
p(y, w) {
|
|
903
|
+
w[0] & /*$_, txnInfo*/
|
|
907
904
|
16809984 && u !== (u = /*$_*/
|
|
908
905
|
y[24](`${/*txnInfo*/
|
|
909
|
-
y[15].type.toLowerCase()}.success.title`) + "") && R(p, u),
|
|
906
|
+
y[15].type.toLowerCase()}.success.title`) + "") && R(p, u), w[0] & /*$_, txnInfo*/
|
|
910
907
|
16809984 && g !== (g = /*$_*/
|
|
911
908
|
y[24](`${/*txnInfo*/
|
|
912
909
|
y[15].type.toLowerCase()}.success.text`) + "") && R(k, g);
|
|
@@ -932,7 +929,7 @@ function X1(i) {
|
|
|
932
929
|
m(a, s) {
|
|
933
930
|
for (let o = 0; o < n.length; o += 1)
|
|
934
931
|
n[o] && n[o].m(a, s);
|
|
935
|
-
|
|
932
|
+
b(a, e, s);
|
|
936
933
|
},
|
|
937
934
|
p(a, s) {
|
|
938
935
|
if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
@@ -975,20 +972,20 @@ function J1(i) {
|
|
|
975
972
|
}
|
|
976
973
|
return {
|
|
977
974
|
c() {
|
|
978
|
-
e =
|
|
975
|
+
e = C("button"), t = C("div"), a = _(), o = S(s), u = _(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
|
|
979
976
|
i[73].type} GoToButton`);
|
|
980
977
|
},
|
|
981
|
-
m(y,
|
|
982
|
-
|
|
978
|
+
m(y, w) {
|
|
979
|
+
b(y, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), f || (d = S1(e, "click", g), f = !0);
|
|
983
980
|
},
|
|
984
|
-
p(y,
|
|
981
|
+
p(y, w) {
|
|
985
982
|
var B;
|
|
986
|
-
i = y,
|
|
983
|
+
i = y, w[0] & /*displayedButtons*/
|
|
987
984
|
4096 && n !== (n = ((B = U1[`${/*btn*/
|
|
988
|
-
i[73].type}`]) != null ? B : "") + "") && (t.innerHTML = n),
|
|
985
|
+
i[73].type}`]) != null ? B : "") + "") && (t.innerHTML = n), w[0] & /*$_, displayedButtons*/
|
|
989
986
|
16781312 && s !== (s = /*$_*/
|
|
990
987
|
i[24](`${/*btn*/
|
|
991
|
-
i[73].translationKey}`) + "") && R(o, s),
|
|
988
|
+
i[73].translationKey}`) + "") && R(o, s), w[0] & /*displayedButtons*/
|
|
992
989
|
4096 && p !== (p = `${/*btn*/
|
|
993
990
|
i[73].type} GoToButton`) && l(e, "class", p);
|
|
994
991
|
},
|
|
@@ -1007,7 +1004,7 @@ function Ye(i) {
|
|
|
1007
1004
|
t = S(e);
|
|
1008
1005
|
},
|
|
1009
1006
|
m(n, a) {
|
|
1010
|
-
|
|
1007
|
+
b(n, t, a);
|
|
1011
1008
|
},
|
|
1012
1009
|
p(n, a) {
|
|
1013
1010
|
a[0] & /*$_*/
|
|
@@ -1030,7 +1027,7 @@ function Ke(i) {
|
|
|
1030
1027
|
t = S(e);
|
|
1031
1028
|
},
|
|
1032
1029
|
m(n, a) {
|
|
1033
|
-
|
|
1030
|
+
b(n, t, a);
|
|
1034
1031
|
},
|
|
1035
1032
|
p(n, a) {
|
|
1036
1033
|
a[0] & /*$_, txnInfo*/
|
|
@@ -1059,7 +1056,7 @@ function $1(i) {
|
|
|
1059
1056
|
m(a, s) {
|
|
1060
1057
|
for (let o = 0; o < n.length; o += 1)
|
|
1061
1058
|
n[o] && n[o].m(a, s);
|
|
1062
|
-
|
|
1059
|
+
b(a, e, s);
|
|
1063
1060
|
},
|
|
1064
1061
|
p(a, s) {
|
|
1065
1062
|
if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
@@ -1090,10 +1087,10 @@ function Ue(i) {
|
|
|
1090
1087
|
), n;
|
|
1091
1088
|
return {
|
|
1092
1089
|
c() {
|
|
1093
|
-
e =
|
|
1090
|
+
e = C("span"), n = S(t), l(e, "class", "Label");
|
|
1094
1091
|
},
|
|
1095
1092
|
m(a, s) {
|
|
1096
|
-
|
|
1093
|
+
b(a, e, s), c(e, n);
|
|
1097
1094
|
},
|
|
1098
1095
|
p(a, s) {
|
|
1099
1096
|
s[0] & /*receiptFields*/
|
|
@@ -1118,11 +1115,11 @@ function Fe(i) {
|
|
|
1118
1115
|
), u, p;
|
|
1119
1116
|
return {
|
|
1120
1117
|
c() {
|
|
1121
|
-
e =
|
|
1118
|
+
e = C("span"), n = S(t), a = _(), s = C("a"), u = S(o), l(s, "href", p = /*field*/
|
|
1122
1119
|
i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
|
|
1123
1120
|
},
|
|
1124
1121
|
m(f, d) {
|
|
1125
|
-
|
|
1122
|
+
b(f, e, d), c(e, n), c(e, a), c(e, s), c(s, u);
|
|
1126
1123
|
},
|
|
1127
1124
|
p(f, d) {
|
|
1128
1125
|
d[0] & /*receiptFields*/
|
|
@@ -1142,12 +1139,12 @@ function Ge(i) {
|
|
|
1142
1139
|
let e, t, n;
|
|
1143
1140
|
return {
|
|
1144
1141
|
c() {
|
|
1145
|
-
e =
|
|
1142
|
+
e = C("img"), V1(e.src, t = /*field*/
|
|
1146
1143
|
i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1147
1144
|
i[70].description), l(e, "alt", "");
|
|
1148
1145
|
},
|
|
1149
1146
|
m(a, s) {
|
|
1150
|
-
|
|
1147
|
+
b(a, e, s);
|
|
1151
1148
|
},
|
|
1152
1149
|
p(a, s) {
|
|
1153
1150
|
s[0] & /*receiptFields*/
|
|
@@ -1168,10 +1165,10 @@ function qe(i) {
|
|
|
1168
1165
|
);
|
|
1169
1166
|
return {
|
|
1170
1167
|
c() {
|
|
1171
|
-
e =
|
|
1168
|
+
e = C("span");
|
|
1172
1169
|
},
|
|
1173
1170
|
m(n, a) {
|
|
1174
|
-
|
|
1171
|
+
b(n, e, a), e.innerHTML = t;
|
|
1175
1172
|
},
|
|
1176
1173
|
p(n, a) {
|
|
1177
1174
|
a[0] & /*receiptFields*/
|
|
@@ -1199,10 +1196,10 @@ function Qe(i) {
|
|
|
1199
1196
|
}
|
|
1200
1197
|
return {
|
|
1201
1198
|
c() {
|
|
1202
|
-
e =
|
|
1199
|
+
e = C("div"), t = C("div"), a = S(n), l(e, "class", "QRCode");
|
|
1203
1200
|
},
|
|
1204
1201
|
m(p, f) {
|
|
1205
|
-
|
|
1202
|
+
b(p, e, f), c(e, t), c(t, a), i[47](t), s || (o = S1(e, "click", u), s = !0);
|
|
1206
1203
|
},
|
|
1207
1204
|
p(p, f) {
|
|
1208
1205
|
i = p, f[0] & /*receiptFields*/
|
|
@@ -1242,10 +1239,10 @@ function ee(i) {
|
|
|
1242
1239
|
let a = n(i), s = a(i);
|
|
1243
1240
|
return {
|
|
1244
1241
|
c() {
|
|
1245
|
-
e =
|
|
1242
|
+
e = C("div"), s.c(), t = _(), l(e, "class", "ReceiptField");
|
|
1246
1243
|
},
|
|
1247
1244
|
m(o, u) {
|
|
1248
|
-
|
|
1245
|
+
b(o, e, u), s.m(e, null), c(e, t);
|
|
1249
1246
|
},
|
|
1250
1247
|
p(o, u) {
|
|
1251
1248
|
a === (a = n(o)) && s ? s.p(o, u) : (s.d(1), s = a(o), s && (s.c(), s.m(e, t)));
|
|
@@ -1266,10 +1263,10 @@ function Xe(i) {
|
|
|
1266
1263
|
let n = t(i), a = n(i);
|
|
1267
1264
|
return {
|
|
1268
1265
|
c() {
|
|
1269
|
-
e =
|
|
1266
|
+
e = C("div"), a.c(), l(e, "class", "CashierReceiptPageWidget");
|
|
1270
1267
|
},
|
|
1271
1268
|
m(s, o) {
|
|
1272
|
-
|
|
1269
|
+
b(s, e, o), a.m(e, null), i[49](e);
|
|
1273
1270
|
},
|
|
1274
1271
|
p(s, o) {
|
|
1275
1272
|
n === (n = t(s)) && a ? a.p(s, o) : (a.d(1), a = n(s), a && (a.c(), a.m(e, null)));
|
|
@@ -1285,7 +1282,7 @@ let Je = "_blank";
|
|
|
1285
1282
|
function $e(i, e, t) {
|
|
1286
1283
|
let n;
|
|
1287
1284
|
de(i, xe, (r) => t(24, n = r)), B1.extend(Me);
|
|
1288
|
-
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: f } = e, { assetsurl: d = "" } = e, { customerid: g } = e, { transactionid: k } = e, { currencydecimals: y = "0" } = e, { type:
|
|
1285
|
+
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: f } = e, { assetsurl: d = "" } = e, { customerid: g } = e, { transactionid: k } = e, { currencydecimals: y = "0" } = e, { type: w } = e, { clientstyling: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: N = "" } = e, Y = !1, i1, { customsucceessbuttons: M = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: a1 = "" } = e, { currencyposition: d1 = "" } = e, { userroles: O = "" } = e, { windowsize: o1 } = e, { p2p: f1 = "false" } = e, m1 = [], q = [];
|
|
1289
1286
|
var J;
|
|
1290
1287
|
(function(r) {
|
|
1291
1288
|
r.Success = "Success", r.Maintenance = "Maintenance";
|
|
@@ -1318,7 +1315,7 @@ function $e(i, e, t) {
|
|
|
1318
1315
|
[["QR", 20], x.QRCode]
|
|
1319
1316
|
].reduce(y1, []));
|
|
1320
1317
|
let D, s1 = [], v1, A, $ = [], e1, r1, l1 = "", _1 = window.navigator.userAgent, c1 = !1;
|
|
1321
|
-
const
|
|
1318
|
+
const C1 = {
|
|
1322
1319
|
promotions: {
|
|
1323
1320
|
event: "Cashier:goToPromotions",
|
|
1324
1321
|
translationKey: "goToPromotions",
|
|
@@ -1375,13 +1372,13 @@ function $e(i, e, t) {
|
|
|
1375
1372
|
type: "CloseButton"
|
|
1376
1373
|
}
|
|
1377
1374
|
}, t1 = (r) => {
|
|
1378
|
-
t(12,
|
|
1379
|
-
|
|
1375
|
+
t(12, m1 = []), r.split(",").forEach((F) => {
|
|
1376
|
+
C1[F.trim()] && m1.push(C1[F.trim()]);
|
|
1380
1377
|
});
|
|
1381
1378
|
}, n1 = () => {
|
|
1382
1379
|
Le(o);
|
|
1383
1380
|
};
|
|
1384
|
-
fe(() => (window.addEventListener("message", g1, !1),
|
|
1381
|
+
fe(() => (window.addEventListener("message", g1, !1), me(u, a1, d1, y), () => {
|
|
1385
1382
|
window.removeEventListener("message", g1);
|
|
1386
1383
|
}));
|
|
1387
1384
|
const g1 = (r) => {
|
|
@@ -1437,14 +1434,14 @@ function $e(i, e, t) {
|
|
|
1437
1434
|
amount: (H1 = W.Transaction.Amounts[0]) == null ? void 0 : H1.Amount,
|
|
1438
1435
|
currency: (I1 = W.Transaction.Amounts[0]) == null ? void 0 : I1.Currency,
|
|
1439
1436
|
time: W.Transaction.Status.Created
|
|
1440
|
-
}), t(16, s1 = W.ReceiptInfo && W.ReceiptInfo.ReceiptFields ? W.ReceiptInfo.ReceiptFields.map((
|
|
1441
|
-
type: x1.get(
|
|
1442
|
-
name:
|
|
1443
|
-
description:
|
|
1444
|
-
defaultValue:
|
|
1445
|
-
useCopyButton:
|
|
1446
|
-
usePrintButton:
|
|
1447
|
-
})) : []), W.ReceiptInfo && W.ReceiptInfo.ReceiptFields && !N && t(0, N = s1[0].defaultValue), n(Be(D.status, D.type), { values: { errorText: D.message } }), t(17, v1 =
|
|
1437
|
+
}), t(16, s1 = W.ReceiptInfo && W.ReceiptInfo.ReceiptFields ? W.ReceiptInfo.ReceiptFields.map((w1) => ({
|
|
1438
|
+
type: x1.get(w1.Type),
|
|
1439
|
+
name: w1.Name,
|
|
1440
|
+
description: w1.Description,
|
|
1441
|
+
defaultValue: w1.DefaultValue,
|
|
1442
|
+
useCopyButton: w1.UseCopyButton,
|
|
1443
|
+
usePrintButton: w1.UsePrintButton
|
|
1444
|
+
})) : []), W.ReceiptInfo && W.ReceiptInfo.ReceiptFields && !N && t(0, N = s1[0].defaultValue), n(Be(D.status, D.type), { values: { errorText: D.message } }), t(17, v1 = Ce(Number(D.amount), D.currency)), D.status) {
|
|
1448
1445
|
case "Voided":
|
|
1449
1446
|
case "Success":
|
|
1450
1447
|
t1(M || "casino, livecasino, tournaments"), t(21, l1 = "success"), E1(
|
|
@@ -1512,13 +1509,13 @@ function $e(i, e, t) {
|
|
|
1512
1509
|
}
|
|
1513
1510
|
}), M1 = () => {
|
|
1514
1511
|
O.length > 0 && (q = O.split(","));
|
|
1515
|
-
},
|
|
1512
|
+
}, b1 = (r) => z(r), K = (r) => T1(r.event);
|
|
1516
1513
|
function j(r) {
|
|
1517
1514
|
A1[r ? "unshift" : "push"](() => {
|
|
1518
1515
|
$[$.length] = r, t(18, $);
|
|
1519
1516
|
});
|
|
1520
1517
|
}
|
|
1521
|
-
const
|
|
1518
|
+
const m = (r) => {
|
|
1522
1519
|
R1(r.description);
|
|
1523
1520
|
};
|
|
1524
1521
|
function v(r) {
|
|
@@ -1527,7 +1524,7 @@ function $e(i, e, t) {
|
|
|
1527
1524
|
});
|
|
1528
1525
|
}
|
|
1529
1526
|
return i.$$set = (r) => {
|
|
1530
|
-
"endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, u = r.local), "showerrors" in r && t(32, p = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, d = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, k = r.transactionid), "currencydecimals" in r && t(34, y = r.currencydecimals), "type" in r && t(35,
|
|
1527
|
+
"endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, u = r.local), "showerrors" in r && t(32, p = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, d = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, k = r.transactionid), "currencydecimals" in r && t(34, y = r.currencydecimals), "type" in r && t(35, w = r.type), "clientstyling" in r && t(7, B = r.clientstyling), "clientstylingurl" in r && t(8, U = r.clientstylingurl), "mbsource" in r && t(36, Z = r.mbsource), "showverifications" in r && t(9, V = r.showverifications), "paymentmethod" in r && t(0, N = r.paymentmethod), "customsucceessbuttons" in r && t(37, M = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, H = r.custompendingbuttons), "customfailedbuttons" in r && t(39, X = r.customfailedbuttons), "currencysymbol" in r && t(40, a1 = r.currencysymbol), "currencyposition" in r && t(41, d1 = r.currencyposition), "userroles" in r && t(42, O = r.userroles), "windowsize" in r && t(43, o1 = r.windowsize), "p2p" in r && t(44, f1 = r.p2p);
|
|
1531
1528
|
}, i.$$.update = () => {
|
|
1532
1529
|
i.$$.dirty[1] & /*userroles*/
|
|
1533
1530
|
2048 && O && M1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
@@ -1552,7 +1549,7 @@ function $e(i, e, t) {
|
|
|
1552
1549
|
V,
|
|
1553
1550
|
A,
|
|
1554
1551
|
Y,
|
|
1555
|
-
|
|
1552
|
+
m1,
|
|
1556
1553
|
J,
|
|
1557
1554
|
x,
|
|
1558
1555
|
D,
|
|
@@ -1575,7 +1572,7 @@ function $e(i, e, t) {
|
|
|
1575
1572
|
p,
|
|
1576
1573
|
k,
|
|
1577
1574
|
y,
|
|
1578
|
-
|
|
1575
|
+
w,
|
|
1579
1576
|
Z,
|
|
1580
1577
|
M,
|
|
1581
1578
|
H,
|
|
@@ -1585,10 +1582,10 @@ function $e(i, e, t) {
|
|
|
1585
1582
|
O,
|
|
1586
1583
|
o1,
|
|
1587
1584
|
f1,
|
|
1588
|
-
|
|
1585
|
+
b1,
|
|
1589
1586
|
K,
|
|
1590
1587
|
j,
|
|
1591
|
-
|
|
1588
|
+
m,
|
|
1592
1589
|
v
|
|
1593
1590
|
];
|
|
1594
1591
|
}
|