@everymatrix/cashier-page 1.98.28 → 1.98.30

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 (217) hide show
  1. package/components/{CashierCarousel-CIrhQ1F1.js → CashierCarousel-3bBExAfX.js} +160 -136
  2. package/components/{CashierCarousel-CibDHVzx.js → CashierCarousel-C0iOhcfu.js} +166 -142
  3. package/components/CashierCarousel-DACE1tKH.cjs +1 -0
  4. package/components/{CashierError-ulLnVgQF.js → CashierError-C2laBAxm.js} +282 -178
  5. package/components/{CashierError-BgzGU74G.js → CashierError-CE7_mcoB.js} +282 -178
  6. package/components/{CashierError-DhQtatzN.cjs → CashierError-D5O8VRb7.cjs} +1 -1
  7. package/components/{CashierHeader-CnMNnCMA.js → CashierHeader-C1q5WV57.js} +144 -130
  8. package/components/CashierHeader-CHEzsRF0.cjs +1 -0
  9. package/components/{CashierHeader-CyXIVUoS.js → CashierHeader-Dm7TURe3.js} +144 -130
  10. package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-C77nD3AG.js} +38 -32
  11. package/components/{CashierIframeRedirect-DOCts-eZ.js → CashierIframeRedirect-CbkM19jX.js} +38 -32
  12. package/components/CashierIframeRedirect-CnDLsDYN.cjs +1 -0
  13. package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-CmCUjtZZ.js} +1500 -1304
  14. package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-DcHxycYB.cjs} +4 -4
  15. package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-g-EHhr4t.js} +1345 -1149
  16. package/components/CashierMethodsList-BaUQBBIX.cjs +1 -0
  17. package/components/{CashierMethodsList-7ACO_YE6.js → CashierMethodsList-DgEtoxRa.js} +152 -128
  18. package/components/{CashierMethodsList-Cr1BX878.js → CashierMethodsList-kwzWzUdM.js} +136 -112
  19. package/components/{CashierModal-Ke9TZX5s.js → CashierModal-Bpf1W4TW.js} +2 -2
  20. package/components/{CashierModal-BdpiH2_j.cjs → CashierModal-D8_Y0ZU6.cjs} +1 -1
  21. package/components/{CashierModal-4iF9ylQT.js → CashierModal-DfBiGe-Y.js} +2 -2
  22. package/components/{CashierNotifications-DOZcnn7M.js → CashierNotifications-CXsZaMzr.js} +1 -1
  23. package/components/{CashierNotifications-BVJkJQAP.js → CashierNotifications-LH8DhGDl.js} +1 -1
  24. package/components/{CashierNotifications-B_kxAZOz.cjs → CashierNotifications-ZtPfOc6V.cjs} +1 -1
  25. package/components/CashierPage-BOWMSZ9v.cjs +23 -0
  26. package/components/{CashierPage-Bz6JgmrH.js → CashierPage-CiyPlHzj.js} +715 -616
  27. package/components/{CashierPage-DmYelgiN.js → CashierPage-DdCmt2zp.js} +972 -871
  28. package/components/{CashierReceiptPage-D5PB-1VI.js → CashierReceiptPage-A54bEgRe.js} +567 -381
  29. package/components/{CashierReceiptPage-CEQajL7m.js → CashierReceiptPage-BHkIMd6B.js} +470 -284
  30. package/components/{CashierReceiptPage-2-P4gA2W.cjs → CashierReceiptPage-CeVo2qP_.cjs} +2 -2
  31. package/components/{CashierSessionExpirationModal-CePJRUlu.js → CashierSessionExpirationModal-C8EUenjL.js} +141 -125
  32. package/components/CashierSessionExpirationModal-CT28y-Dy.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-BZyLc1_S.js → CashierSessionExpirationModal-DqUoBpXM.js} +141 -125
  34. package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-B3ab9--E.js} +2 -2
  35. package/components/{CashierSpinner-BF0PvrCl.cjs → CashierSpinner-DTiIwXJs.cjs} +1 -1
  36. package/components/{CashierSpinner-CB2IDF99.js → CashierSpinner-xkYSSmKN.js} +2 -2
  37. package/components/CashierStepUp-C4aK_vrD.cjs +1 -0
  38. package/components/{CashierStepUp-Ck0xq8Xm.js → CashierStepUp-CgG4aO_s.js} +371 -325
  39. package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-DNo6sy36.js} +397 -351
  40. package/components/CashierTransactionHistory-2O9iJlJI.cjs +1 -0
  41. package/components/{CashierTransactionHistory-D5wsFJEM.js → CashierTransactionHistory-Ca3FNiKJ.js} +522 -472
  42. package/components/{CashierTransactionHistory-CoTFYN7l.js → CashierTransactionHistory-oApbxEt2.js} +494 -444
  43. package/components/CashierVerifications-CcDH-3z5.cjs +1 -0
  44. package/components/{CashierVerifications-BEFmSXtj.js → CashierVerifications-CzTI2EZ4.js} +245 -199
  45. package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-DR7dYjc4.js} +256 -210
  46. package/components/{TxnStatusIcon-Bw8L-eXX.js → TxnStatusIcon-Clv1k2Ma.js} +1 -1
  47. package/components/{TxnStatusIcon-8ewM4ccO.js → TxnStatusIcon-DPf3O_DU.js} +1 -1
  48. package/components/{TxnStatusIcon-CgTqMiw9.cjs → TxnStatusIcon-i-LsiwNC.cjs} +1 -1
  49. package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-36d9TALW.js} +1 -1
  50. package/components/{TxnTypeIcons-2TqkD6dM.cjs → TxnTypeIcons-D4tuuQoe.cjs} +1 -1
  51. package/components/{TxnTypeIcons-5Ao_1BRX.js → TxnTypeIcons-DYUOz_RG.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-BSgX_-9d.cjs +0 -1
  57. package/components/CashierCarousel-BSxRIpNj.js +0 -708
  58. package/components/CashierCarousel-BnsrLQLz.cjs +0 -1
  59. package/components/CashierCarousel-BsryNC67.js +0 -711
  60. package/components/CashierCarousel-CLl1dEO0.js +0 -711
  61. package/components/CashierCarousel-D0dDvgaj.js +0 -708
  62. package/components/CashierCarousel-DVLQpSbh.js +0 -711
  63. package/components/CashierCarousel-Dh5Q3q4o.cjs +0 -1
  64. package/components/CashierCarousel-DucLdPiP.cjs +0 -1
  65. package/components/CashierCarousel-jiScaw1m.js +0 -708
  66. package/components/CashierError-B19WWS6q.js +0 -849
  67. package/components/CashierError-C9QJqSOU.cjs +0 -1
  68. package/components/CashierError-CJMwmI7N.js +0 -849
  69. package/components/CashierError-CL9tcScj.js +0 -849
  70. package/components/CashierError-CpI-ZvDt.js +0 -849
  71. package/components/CashierError-DY-spTTl.js +0 -849
  72. package/components/CashierError-f4ZqXuJH.js +0 -849
  73. package/components/CashierError-mFSpkELc.cjs +0 -1
  74. package/components/CashierError-nb2MHtLH.cjs +0 -1
  75. package/components/CashierHeader-9Jv4Zu9U.cjs +0 -1
  76. package/components/CashierHeader-CmmEk0QP.cjs +0 -1
  77. package/components/CashierHeader-DA_ReO25.cjs +0 -1
  78. package/components/CashierHeader-DEksQqYQ.js +0 -477
  79. package/components/CashierHeader-DwvRD5WU.js +0 -477
  80. package/components/CashierHeader-J44Qka8M.js +0 -477
  81. package/components/CashierHeader-SrIA_1me.cjs +0 -1
  82. package/components/CashierHeader-TK2-BiHl.js +0 -477
  83. package/components/CashierHeader-jQ2-E617.js +0 -477
  84. package/components/CashierHeader-vy8HyWPz.js +0 -477
  85. package/components/CashierIframeRedirect-5s9ZtG-5.cjs +0 -1
  86. package/components/CashierIframeRedirect-BseB9TAg.js +0 -387
  87. package/components/CashierIframeRedirect-C2UcYLWG.cjs +0 -1
  88. package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
  89. package/components/CashierIframeRedirect-CTHqad7Z.js +0 -387
  90. package/components/CashierIframeRedirect-CyY79191.js +0 -387
  91. package/components/CashierIframeRedirect-DdKFPBSa.js +0 -387
  92. package/components/CashierIframeRedirect-Dhu2OC9A.js +0 -387
  93. package/components/CashierIframeRedirect-N8QJeLeb.cjs +0 -1
  94. package/components/CashierIframeRedirect-lM7pHpa9.js +0 -387
  95. package/components/CashierMethodDetails-BWknB3e7.js +0 -11385
  96. package/components/CashierMethodDetails-C38oxecJ.js +0 -11821
  97. package/components/CashierMethodDetails-CEt1JRHd.js +0 -11758
  98. package/components/CashierMethodDetails-CR-B6W_o.js +0 -11758
  99. package/components/CashierMethodDetails-CoVztEid.cjs +0 -238
  100. package/components/CashierMethodDetails-D0FWPJ2H.js +0 -11336
  101. package/components/CashierMethodDetails-DT4GvTpz.cjs +0 -238
  102. package/components/CashierMethodDetails-DVnlD9Uk.cjs +0 -85
  103. package/components/CashierMethodDetails-jCkj4SrI.js +0 -11821
  104. package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
  105. package/components/CashierMethodsList-BxvD9zAR.js +0 -969
  106. package/components/CashierMethodsList-BzQxrxu_.cjs +0 -1
  107. package/components/CashierMethodsList-CMaD5FXj.js +0 -955
  108. package/components/CashierMethodsList-C_ldRYq_.js +0 -969
  109. package/components/CashierMethodsList-Cy2Vsr78.js +0 -955
  110. package/components/CashierMethodsList-DR3WLcjt.cjs +0 -1
  111. package/components/CashierMethodsList-DYRS6KJx.cjs +0 -1
  112. package/components/CashierMethodsList-KXr3hScy.js +0 -955
  113. package/components/CashierMethodsList-u11i0SYf.js +0 -969
  114. package/components/CashierModal-B-UWvltM.js +0 -386
  115. package/components/CashierModal-BitlQX-o.cjs +0 -1
  116. package/components/CashierModal-C0Xof_AE.js +0 -402
  117. package/components/CashierModal-CcawnfUI.cjs +0 -1
  118. package/components/CashierModal-CevNAvJE.js +0 -386
  119. package/components/CashierModal-DJ3Q9obn.js +0 -402
  120. package/components/CashierModal-Dsi_oVHh.js +0 -402
  121. package/components/CashierModal-DwEKUjMK.cjs +0 -1
  122. package/components/CashierModal-aBGB4ejQ.js +0 -386
  123. package/components/CashierNotifications-BanZGIkE.js +0 -129
  124. package/components/CashierNotifications-C2ND2S-i.cjs +0 -1
  125. package/components/CashierNotifications-CY2B13Wf.js +0 -129
  126. package/components/CashierNotifications-CyCI6ksG.js +0 -129
  127. package/components/CashierNotifications-DnmlBB_Q.cjs +0 -1
  128. package/components/CashierNotifications-DquKOU8w.js +0 -129
  129. package/components/CashierNotifications-Du8trHf6.js +0 -129
  130. package/components/CashierNotifications-WS_5AwbR.js +0 -129
  131. package/components/CashierNotifications-wQG099OX.cjs +0 -1
  132. package/components/CashierPage-895aolw0.js +0 -10288
  133. package/components/CashierPage-BKglURO0.js +0 -10233
  134. package/components/CashierPage-BU42FSzD.js +0 -10307
  135. package/components/CashierPage-BkADSeGN.cjs +0 -23
  136. package/components/CashierPage-Bmy89dKm.cjs +0 -23
  137. package/components/CashierPage-Cdtyq0lf.js +0 -10307
  138. package/components/CashierPage-DEYpTaJv.cjs +0 -23
  139. package/components/CashierPage-DYXRnLVw.js +0 -10254
  140. package/components/CashierPage-TRzKwGkj.cjs +0 -23
  141. package/components/CashierPage-mGP6lkFv.js +0 -10254
  142. package/components/CashierReceiptPage-B3cqHXqT.js +0 -2043
  143. package/components/CashierReceiptPage-BCh5OfiT.cjs +0 -29
  144. package/components/CashierReceiptPage-BjTVzjuc.js +0 -2063
  145. package/components/CashierReceiptPage-BoZ2EpUX.cjs +0 -29
  146. package/components/CashierReceiptPage-CGcmTBRp.js +0 -2063
  147. package/components/CashierReceiptPage-DNsdCwQQ.js +0 -2043
  148. package/components/CashierReceiptPage-DWyirru6.js +0 -2063
  149. package/components/CashierReceiptPage-DkwFQrzl.cjs +0 -29
  150. package/components/CashierReceiptPage-mvS7a_9t.js +0 -2043
  151. package/components/CashierSessionExpirationModal-15tJe60J.cjs +0 -2
  152. package/components/CashierSessionExpirationModal-B0TYP3cY.cjs +0 -2
  153. package/components/CashierSessionExpirationModal-BrfbbbF-.js +0 -1212
  154. package/components/CashierSessionExpirationModal-BrhADqF1.js +0 -1212
  155. package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
  156. package/components/CashierSessionExpirationModal-CY385n9R.js +0 -1212
  157. package/components/CashierSessionExpirationModal-Cb456WpL.cjs +0 -2
  158. package/components/CashierSessionExpirationModal-DXVLX-Ja.js +0 -1212
  159. package/components/CashierSessionExpirationModal-IfrOHdOp.js +0 -1212
  160. package/components/CashierSessionExpirationModal-i5NfYzNE.js +0 -1212
  161. package/components/CashierSpinner-BQv2AMHG.js +0 -79
  162. package/components/CashierSpinner-Bpe0d0oQ.js +0 -79
  163. package/components/CashierSpinner-BvhJgDvg.js +0 -79
  164. package/components/CashierSpinner-CFUNSysS.js +0 -79
  165. package/components/CashierSpinner-CKdmXXKt.cjs +0 -1
  166. package/components/CashierSpinner-D6D1AmR0.cjs +0 -1
  167. package/components/CashierSpinner-DrZub22H.js +0 -79
  168. package/components/CashierSpinner-bOYmQpsr.js +0 -79
  169. package/components/CashierSpinner-mcvtpHVb.cjs +0 -1
  170. package/components/CashierStepUp-4fnHnyQH.cjs +0 -1
  171. package/components/CashierStepUp-CKae09kD.js +0 -1201
  172. package/components/CashierStepUp-CNHvoNU1.js +0 -1161
  173. package/components/CashierStepUp-CVfdA9uX.js +0 -1201
  174. package/components/CashierStepUp-ChUBdlnk.cjs +0 -1
  175. package/components/CashierStepUp-Cj8xEgHC.js +0 -1264
  176. package/components/CashierStepUp-DH4pCg7V.cjs +0 -1
  177. package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
  178. package/components/CashierStepUp-DfYWcQde.js +0 -1161
  179. package/components/CashierStepUp-iS4DfmUJ.js +0 -1304
  180. package/components/CashierTransactionHistory-B6FzMX9a.js +0 -1415
  181. package/components/CashierTransactionHistory-B9a9qQjo.js +0 -1415
  182. package/components/CashierTransactionHistory-BSRmZpn2.cjs +0 -1
  183. package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
  184. package/components/CashierTransactionHistory-C8SSHcED.js +0 -1415
  185. package/components/CashierTransactionHistory-C9q1W_66.js +0 -1415
  186. package/components/CashierTransactionHistory-DkPMVofl.js +0 -1415
  187. package/components/CashierTransactionHistory-DrZj3C3r.cjs +0 -1
  188. package/components/CashierTransactionHistory-_uQpfmaM.js +0 -1415
  189. package/components/CashierTransactionHistory-veYBG-Kr.cjs +0 -1
  190. package/components/CashierVerifications-BI_yu8fO.js +0 -722
  191. package/components/CashierVerifications-BUuzc2KV.cjs +0 -1
  192. package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
  193. package/components/CashierVerifications-Bu-KbeZF.cjs +0 -1
  194. package/components/CashierVerifications-Bu0ALHD1.js +0 -722
  195. package/components/CashierVerifications-C3vBxGTw.js +0 -726
  196. package/components/CashierVerifications-CBtYGTLV.js +0 -726
  197. package/components/CashierVerifications-CJjMkvTK.js +0 -722
  198. package/components/CashierVerifications-D692oxDO.js +0 -726
  199. package/components/CashierVerifications-nyuz_0L4.cjs +0 -1
  200. package/components/TxnStatusIcon-B6x0tb9z.js +0 -142
  201. package/components/TxnStatusIcon-B99-DjyY.js +0 -142
  202. package/components/TxnStatusIcon-BO-jJSDC.js +0 -142
  203. package/components/TxnStatusIcon-CspMEKjU.cjs +0 -1
  204. package/components/TxnStatusIcon-DKI_hVK8.cjs +0 -1
  205. package/components/TxnStatusIcon-ObLzHWKw.cjs +0 -1
  206. package/components/TxnStatusIcon-T3_oGTiJ.js +0 -142
  207. package/components/TxnStatusIcon-_ohfqibs.js +0 -142
  208. package/components/TxnStatusIcon-xhjNtEZS.js +0 -142
  209. package/components/TxnTypeIcons-BL543vM-.js +0 -101
  210. package/components/TxnTypeIcons-BxLbK2qP.cjs +0 -1
  211. package/components/TxnTypeIcons-CM9KOumw.js +0 -101
  212. package/components/TxnTypeIcons-Cv_QN0g3.js +0 -101
  213. package/components/TxnTypeIcons-DFX30GCY.js +0 -101
  214. package/components/TxnTypeIcons-Dv_tv357.js +0 -101
  215. package/components/TxnTypeIcons-SOn0rg4y.cjs +0 -1
  216. package/components/TxnTypeIcons-gD4j8VCB.js +0 -101
  217. package/components/TxnTypeIcons-mX1zqVBL.cjs +0 -1
@@ -1,1415 +0,0 @@
1
- import { a as at, $ as it, i as nt, S as lt, b as rt, s as ot, f as z, c as ct, e as A, t as Y, g as F, a7 as ye, a8 as Te, k as I, m as h, o as m, p as ut, M as te, q as mt, D as $, E as Se, v as S, L as ee, l as r, n as H, w, y as M, O as K, x as dt, ac as ft, ab as Pe, H as Qe, ad as Ke, z as Ie, r as $e, ae as De, J as Fe, Q as ke, af as et, ag as tt, ah as st, A as pt, B as ht } from "./CashierPage-DmYelgiN.js";
2
- import { s as vt, a as gt, b as xt } from "./CashierHeader-CnMNnCMA.js";
3
- import "../stencil/ui-image-CNaRr0ax.js";
4
- import { T as yt } from "./TxnTypeIcons-DFX30GCY.js";
5
- import { T as Tt } from "./TxnStatusIcon-BO-jJSDC.js";
6
- nt({
7
- fallbackLocale: "en"
8
- });
9
- function Me(a, e) {
10
- at(a, e);
11
- }
12
- function _t(a) {
13
- it.set(a);
14
- }
15
- const Ne = {
16
- en: {
17
- transactionHistoryTitle: "Transaction History",
18
- transactionCodeTitle: "ID",
19
- transactionDateTitle: "Date",
20
- transactionDateTimeTitle: "Date",
21
- transactionTypeTitle: "Type",
22
- transactionStatusTitle: "Status",
23
- transactionStatusIconTitle: "Status",
24
- transactionTypeIconTitle: "Type",
25
- copyTransactionId: "Transaction Id copied to clipboard",
26
- transactionAmountTitle: "Amount",
27
- transactionPaymentMethodTitle: "Payment Method",
28
- transactionRejectionNoteTitle: "Rejection Note",
29
- transactionStatus: {
30
- Authorized: "Authorized",
31
- Success: "Success",
32
- Failed: "Failed",
33
- Rejected: "Rejected",
34
- Pending: "Pending"
35
- },
36
- transactionType: {
37
- Deposit: "Deposit",
38
- Withdraw: "Withdraw"
39
- }
40
- },
41
- tr: {
42
- transactionHistoryTitle: "İşlem Geçmişi",
43
- transactionIdTitle: "İşlem ID'si",
44
- transactionDateTitle: "Tarih",
45
- transactionDateTimeTitle: "Tarih",
46
- transactionTypeTitle: "Tip",
47
- transactionStatusTitle: "Durum",
48
- transactionStatusIconTitle: "Durum",
49
- transactionTypeIconTitle: "Tip",
50
- transactionAmountTitle: "Tutar",
51
- transactionRejectionNoteTitle: "Reddetme Notu",
52
- transactionPaymentMethodTitle: "Ödeme Yöntemi",
53
- copyTransactionId: "İşlem ID’si kopyalandı",
54
- transactionStatus: {
55
- Authorized: "Onaylandı",
56
- Success: "Başarılı",
57
- Failed: "Başarısız",
58
- Rejected: "Reddedildi",
59
- Pending: "Beklemede"
60
- },
61
- transactionType: {
62
- Deposit: "Para Yatır",
63
- Withdraw: "Çekim"
64
- }
65
- },
66
- fr: {
67
- transactionHistoryTitle: "Historique des transactions",
68
- transactionCodeTitle: "ID",
69
- transactionDateTitle: "Date",
70
- transactionDateTimeTitle: "Date",
71
- transactionTypeTitle: "Type",
72
- transactionStatusTitle: "Statut",
73
- transactionStatusIconTitle: "Statut",
74
- transactionTypeIconTitle: "Type",
75
- copyTransactionId: "ID de transaction copié dans le presse-papiers",
76
- transactionAmountTitle: "Montant",
77
- transactionPaymentMethodTitle: "Moyen de paiement",
78
- transactionRejectionNoteTitle: "Motif du rejet",
79
- transactionStatus: {
80
- Authorized: "Autorisé",
81
- Success: "Succès",
82
- Failed: "Échec",
83
- Rejected: "Rejeté",
84
- Pending: "En attente"
85
- },
86
- transactionType: {
87
- Deposit: "Dépôt",
88
- Withdraw: "Retrait"
89
- }
90
- },
91
- da: {
92
- transactionHistoryTitle: "Transaktionshistorik",
93
- transactionCodeTitle: "ID",
94
- transactionDateTitle: "Dato",
95
- transactionDateTimeTitle: "Dato",
96
- transactionTypeTitle: "Type",
97
- transactionStatusTitle: "Status",
98
- transactionStatusIconTitle: "Status",
99
- transactionTypeIconTitle: "Type",
100
- copyTransactionId: "Transaktions-ID kopieret til udklipsholder",
101
- transactionAmountTitle: "Beløb",
102
- transactionPaymentMethodTitle: "Betalingsmetode",
103
- transactionRejectionNoteTitle: "Afvisningsnotat",
104
- transactionStatus: {
105
- Authorized: "Godkendt",
106
- Success: "Succes",
107
- Failed: "Mislykkedes",
108
- Rejected: "Afvist",
109
- Pending: "Afventer"
110
- },
111
- transactionType: {
112
- Deposit: "Indbetaling",
113
- Withdraw: "Udbetaling"
114
- }
115
- },
116
- de: {
117
- transactionHistoryTitle: "Transaktionsverlauf",
118
- transactionCodeTitle: "ID",
119
- transactionDateTitle: "Datum",
120
- transactionDateTimeTitle: "Datum",
121
- transactionTypeTitle: "Typ",
122
- transactionStatusTitle: "Status",
123
- transactionStatusIconTitle: "Status",
124
- transactionTypeIconTitle: "Typ",
125
- copyTransactionId: "Transaktions-ID in die Zwischenablage kopiert",
126
- transactionAmountTitle: "Betrag",
127
- transactionPaymentMethodTitle: "Zahlungsmethode",
128
- transactionRejectionNoteTitle: "Ablehnungsnotiz",
129
- transactionStatus: {
130
- Authorized: "Autorisiert",
131
- Success: "Erfolgreich",
132
- Failed: "Fehlgeschlagen",
133
- Rejected: "Abgelehnt",
134
- Pending: "Ausstehend"
135
- },
136
- transactionType: {
137
- Deposit: "Einzahlung",
138
- Withdraw: "Auszahlung"
139
- }
140
- },
141
- nl: {
142
- transactionHistoryTitle: "Transactiegeschiedenis",
143
- transactionCodeTitle: "ID",
144
- transactionDateTitle: "Datum",
145
- transactionDateTimeTitle: "Datum",
146
- transactionTypeTitle: "Type",
147
- transactionStatusTitle: "Status",
148
- transactionStatusIconTitle: "Status",
149
- transactionTypeIconTitle: "Type",
150
- copyTransactionId: "Transactie-ID gekopieerd naar klembord",
151
- transactionAmountTitle: "Bedrag",
152
- transactionPaymentMethodTitle: "Betaalmethode",
153
- transactionRejectionNoteTitle: "Afwijzingsnotitie",
154
- transactionStatus: {
155
- Authorized: "Geautoriseerd",
156
- Success: "Geslaagd",
157
- Failed: "Mislukt",
158
- Rejected: "Afgewezen",
159
- Pending: "In behandeling"
160
- },
161
- transactionType: {
162
- Deposit: "Storting",
163
- Withdraw: "Opname"
164
- }
165
- }
166
- };
167
- function qt(a) {
168
- ct(a, "svelte-1xsmrqu", '.svelte-1xsmrqu.svelte-1xsmrqu,.svelte-1xsmrqu.svelte-1xsmrqu::before,.svelte-1xsmrqu.svelte-1xsmrqu::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1xsmrqu.svelte-1xsmrqu{width:50%;max-width:400px;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, rgba(249, 196, 5, 0.6078431373));transform:translateX(-50%);color:var(--emw--color-typography-button, #000000);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:2;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%;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.2)}.CashierTransactionHistoryContainer.svelte-1xsmrqu.svelte-1xsmrqu{position:relative;width:calc(100% - 20px);margin:auto}.CashierTransactionHistory.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;position:relative;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1xsmrqu thead tr.svelte-1xsmrqu{color:var(--emw--color-primary, #F9C405);font-size:12px;height:50px;background-color:rgba(255, 255, 255, 0.05)}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:12px;font-weight:200}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu:not(:last-child):not(.Expanded){border-bottom:1px solid rgba(232, 233, 235, 0.2117647059)}.CashierTransactionHistory.svelte-1xsmrqu .TypeIcon.svelte-1xsmrqu{display:flex}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon svg.svelte-1xsmrqu{flex:0 0 auto;width:18px;height:18px}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon span.svelte-1xsmrqu{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;width:80px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{max-width:250px;vertical-align:middle;height:40px;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu td:last-child .CashierTransactionHistoryStatusText.svelte-1xsmrqu{width:calc(100% - var(--emw--spacing-2x-small-plus, 6px) * 3 - 5px);display:block}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:first-child{text-align:left;border-radius:10px 0 0 10px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:last-child{border-radius:0 10px 10px 0}.CashierTransactionHistory.svelte-1xsmrqu td .ExpandedContent.svelte-1xsmrqu{line-height:100%}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu{position:relative}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu:not(.ExpandedRow):not(.CashierTransactionHistoryHeader):not(.AllowExpand):hover{background:var(--emw--color-gray-50, #F7F8FA)}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1xsmrqu .CopyTooltip.svelte-1xsmrqu{width:100%}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:has(.Code){max-width:135px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1xsmrqu .CashierTransactionHistoryWrapper.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.column-TypeIcon.svelte-1xsmrqu:first-child{width:40px;text-align:left}.CashierTransactionHistory.svelte-1xsmrqu td.column-Code.svelte-1xsmrqu:first-child{max-width:60px;text-align:left}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{table-layout:fixed}.CashierTransactionHistory.svelte-1xsmrqu table td.svelte-1xsmrqu{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));width:100%;box-sizing:border-box;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:10px;z-index:1}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-black, #000000) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 60%, var(--emw--color-white, #f5f5f5) 95%);opacity:0.2}.CashierTransactionHistoryTitle.svelte-1xsmrqu.svelte-1xsmrqu{display:none;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.Code.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;line-height:inherit;display:inline}.StatusIcon.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-x-small, 6px)}.StatusIcon.svelte-1xsmrqu .StatusIconText.svelte-1xsmrqu{width:100px}.CashierTransactionHistoryStatus.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;gap:5px}.Amount.Withdraw.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"-"}.Amount.Deposit.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"+"}.Amount.Deposit.Success.svelte-1xsmrqu.svelte-1xsmrqu{color:var(--emw--color-primary-dark, #4b975d)}.CashierTransactionHistoryStatusText.svelte-1xsmrqu.svelte-1xsmrqu{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1xsmrqu.svelte-1xsmrqu{width:100%;overflow:auto}.CashierTransactionHistoryIcon.svelte-1xsmrqu.svelte-1xsmrqu{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}.TransactionHistoryRow.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer}.ShortHistory.svelte-1xsmrqu .CashierTransactionHistoryTitle.svelte-1xsmrqu{display:inline-block;margin:10px;font-weight:500}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu{cursor:auto}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu:hover{background:unset}.ExpandedContent.svelte-1xsmrqu.svelte-1xsmrqu{padding:var(--emw--spacing-large, 30px) var(--emw--spacing-small, 12px);position:relative;display:flex;flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.ExpandedContent.svelte-1xsmrqu .DetailsLogo.svelte-1xsmrqu{width:65px;position:absolute;top:var(--emw--spacing-large, 30px);right:var(--emw--spacing-small, 12px)}.StaticDetails.svelte-1xsmrqu.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;gap:var(--emw--spacing-small, 12px);width:100%}.StaticDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);padding-right:6px}.StaticDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 12px);font-weight:200;white-space:normal;overflow-wrap:break-word;max-width:100%;word-break:normal}.DetailsRow.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;flex-wrap:wrap;word-break:normal;overflow-wrap:break-word;white-space:normal}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code){max-width:250px}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code):hover{background:rgba(255, 255, 255, 0.2);border-radius:10px}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu{display:inline-flex;gap:6px;align-items:center;cursor:pointer;border-radius:var(--mmw--border-radius-medium-plus, 6px);padding:4px 6px;max-width:60%}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu:hover{background:var(--emw--color-primary, rgba(249, 196, 5, 0.4117647059))}.CopyCode.svelte-1xsmrqu span.svelte-1xsmrqu{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.CopyCode.svelte-1xsmrqu svg.svelte-1xsmrqu{flex-shrink:0}');
169
- }
170
- function Ee(a, e, s) {
171
- const t = a.slice();
172
- return t[45] = e[s], t[47] = s, t;
173
- }
174
- function Le(a, e, s) {
175
- const t = a.slice();
176
- return t[48] = e[s][0], t[49] = e[s][1], t;
177
- }
178
- function Be(a, e, s) {
179
- const t = a.slice();
180
- return t[52] = e[s], t[47] = s, t;
181
- }
182
- function Oe(a, e, s) {
183
- const t = a.slice();
184
- return t[52] = e[s], t[47] = s, t;
185
- }
186
- function wt(a) {
187
- let e;
188
- return {
189
- c() {
190
- e = h("cashier-spinner"), K(
191
- e,
192
- "clientstylingurl",
193
- /*clientstylingurl*/
194
- a[1]
195
- ), K(
196
- e,
197
- "clientstyling",
198
- /*clientstyling*/
199
- a[0]
200
- ), K(e, "class", "svelte-1xsmrqu");
201
- },
202
- m(s, t) {
203
- I(s, e, t);
204
- },
205
- p(s, t) {
206
- t[0] & /*clientstylingurl*/
207
- 2 && K(
208
- e,
209
- "clientstylingurl",
210
- /*clientstylingurl*/
211
- s[1]
212
- ), t[0] & /*clientstyling*/
213
- 1 && K(
214
- e,
215
- "clientstyling",
216
- /*clientstyling*/
217
- s[0]
218
- );
219
- },
220
- i: M,
221
- o: M,
222
- d(s) {
223
- s && A(e);
224
- }
225
- };
226
- }
227
- function bt(a) {
228
- let e, s, t, i, u = (
229
- /*$_*/
230
- a[12]("transactionHistoryTitle") + ""
231
- ), c, o, n, g, _, f, d, x, T, q = (
232
- /*copied*/
233
- a[8] && We(a)
234
- ), P = $(
235
- /*tableColumns*/
236
- a[10]
237
- ), D = [];
238
- for (let p = 0; p < P.length; p += 1)
239
- D[p] = Ue(Oe(a, P, p));
240
- let N = $(
241
- /*txnHistory*/
242
- a[7]
243
- ), b = [];
244
- for (let p = 0; p < N.length; p += 1)
245
- b[p] = Xe(Ee(a, N, p));
246
- const se = (p) => Y(b[p], 1, 1, () => {
247
- b[p] = null;
248
- });
249
- return {
250
- c() {
251
- e = h("div"), q && q.c(), s = H(), t = h("div"), i = h("h3"), c = w(u), o = H(), n = h("div"), g = h("table"), _ = h("thead"), f = h("tr");
252
- for (let p = 0; p < D.length; p += 1)
253
- D[p].c();
254
- d = H(), x = h("tbody");
255
- for (let p = 0; p < b.length; p += 1)
256
- b[p].c();
257
- m(i, "class", "CashierTransactionHistoryTitle svelte-1xsmrqu"), m(f, "class", "CashierTransactionHistoryHeader svelte-1xsmrqu"), m(_, "class", "svelte-1xsmrqu"), m(x, "class", "svelte-1xsmrqu"), m(g, "class", "svelte-1xsmrqu"), m(n, "class", "CashierTransactionHistoryContent svelte-1xsmrqu"), m(t, "class", "CashierTransactionHistoryWrapper svelte-1xsmrqu"), m(e, "class", "CashierTransactionHistory svelte-1xsmrqu"), ee(
258
- e,
259
- "ShortHistory",
260
- /*isshorttransactionhistory*/
261
- a[3] === "true"
262
- );
263
- },
264
- m(p, C) {
265
- I(p, e, C), q && q.m(e, null), r(e, s), r(e, t), r(t, i), r(i, c), r(t, o), r(t, n), r(n, g), r(g, _), r(_, f);
266
- for (let v = 0; v < D.length; v += 1)
267
- D[v] && D[v].m(f, null);
268
- r(g, d), r(g, x);
269
- for (let v = 0; v < b.length; v += 1)
270
- b[v] && b[v].m(x, null);
271
- a[32](e), T = !0;
272
- },
273
- p(p, C) {
274
- if (/*copied*/
275
- p[8] ? q ? (q.p(p, C), C[0] & /*copied*/
276
- 256 && F(q, 1)) : (q = We(p), q.c(), F(q, 1), q.m(e, s)) : q && (ye(), Y(q, 1, 1, () => {
277
- q = null;
278
- }), Te()), (!T || C[0] & /*$_*/
279
- 4096) && u !== (u = /*$_*/
280
- p[12]("transactionHistoryTitle") + "") && S(c, u), C[0] & /*$_, tableColumns*/
281
- 5120) {
282
- P = $(
283
- /*tableColumns*/
284
- p[10]
285
- );
286
- let v;
287
- for (v = 0; v < P.length; v += 1) {
288
- const W = Oe(p, P, v);
289
- D[v] ? D[v].p(W, C) : (D[v] = Ue(W), D[v].c(), D[v].m(f, null));
290
- }
291
- for (; v < D.length; v += 1)
292
- D[v].d(1);
293
- D.length = P.length;
294
- }
295
- if (C[0] & /*tableColumns, txnHistory, $_, copyToClipboard, datetimeformat, expandedRow, isshorttransactionhistory, expandRow, copied, dateformat*/
296
- 32184) {
297
- N = $(
298
- /*txnHistory*/
299
- p[7]
300
- );
301
- let v;
302
- for (v = 0; v < N.length; v += 1) {
303
- const W = Ee(p, N, v);
304
- b[v] ? (b[v].p(W, C), F(b[v], 1)) : (b[v] = Xe(W), b[v].c(), F(b[v], 1), b[v].m(x, null));
305
- }
306
- for (ye(), v = N.length; v < b.length; v += 1)
307
- se(v);
308
- Te();
309
- }
310
- (!T || C[0] & /*isshorttransactionhistory*/
311
- 8) && ee(
312
- e,
313
- "ShortHistory",
314
- /*isshorttransactionhistory*/
315
- p[3] === "true"
316
- );
317
- },
318
- i(p) {
319
- if (!T) {
320
- F(q);
321
- for (let C = 0; C < N.length; C += 1)
322
- F(b[C]);
323
- T = !0;
324
- }
325
- },
326
- o(p) {
327
- Y(q), b = b.filter(Boolean);
328
- for (let C = 0; C < b.length; C += 1)
329
- Y(b[C]);
330
- T = !1;
331
- },
332
- d(p) {
333
- p && A(e), q && q.d(), Se(D, p), Se(b, p), a[32](null);
334
- }
335
- };
336
- }
337
- function We(a) {
338
- let e, s = (
339
- /*$_*/
340
- a[12]("copyTransactionId") + ""
341
- ), t, i, u, c;
342
- return {
343
- c() {
344
- e = h("div"), t = w(s), m(e, "class", "CopyTooltip svelte-1xsmrqu");
345
- },
346
- m(o, n) {
347
- I(o, e, n), r(e, t), c = !0;
348
- },
349
- p(o, n) {
350
- a = o, (!c || n[0] & /*$_*/
351
- 4096) && s !== (s = /*$_*/
352
- a[12]("copyTransactionId") + "") && S(t, s);
353
- },
354
- i(o) {
355
- c || (o && Qe(() => {
356
- c && (u && u.end(1), i = Ke(e, Pe, { duration: 100 }), i.start());
357
- }), c = !0);
358
- },
359
- o(o) {
360
- i && i.invalidate(), o && (u = ft(e, Pe, { duration: (
361
- /*tooltipduration*/
362
- a[2]
363
- ) })), c = !1;
364
- },
365
- d(o) {
366
- o && A(e), o && u && u.end();
367
- }
368
- };
369
- }
370
- function Ue(a) {
371
- let e, s = (
372
- /*$_*/
373
- a[12](`transaction${/*columnName*/
374
- a[52]}Title`) + ""
375
- ), t;
376
- return {
377
- c() {
378
- e = h("td"), t = w(s), m(e, "class", "svelte-1xsmrqu");
379
- },
380
- m(i, u) {
381
- I(i, e, u), r(e, t);
382
- },
383
- p(i, u) {
384
- u[0] & /*$_, tableColumns*/
385
- 5120 && s !== (s = /*$_*/
386
- i[12](`transaction${/*columnName*/
387
- i[52]}Title`) + "") && S(t, s);
388
- },
389
- d(i) {
390
- i && A(e);
391
- }
392
- };
393
- }
394
- function Ct(a) {
395
- let e, s = (
396
- /*transaction*/
397
- a[45][
398
- /*columnName*/
399
- a[52]
400
- ] + ""
401
- ), t;
402
- return {
403
- c() {
404
- e = h("span"), t = w(s), m(e, "class", "svelte-1xsmrqu");
405
- },
406
- m(i, u) {
407
- I(i, e, u), r(e, t);
408
- },
409
- p(i, u) {
410
- u[0] & /*txnHistory, tableColumns*/
411
- 1152 && s !== (s = /*transaction*/
412
- i[45][
413
- /*columnName*/
414
- i[52]
415
- ] + "") && S(t, s);
416
- },
417
- i: M,
418
- o: M,
419
- d(i) {
420
- i && A(e);
421
- }
422
- };
423
- }
424
- function Dt(a) {
425
- let e = te(
426
- /*transaction*/
427
- a[45].DateTime
428
- ).format(
429
- /*datetimeformat*/
430
- a[5]
431
- ) + "", s;
432
- return {
433
- c() {
434
- s = w(e);
435
- },
436
- m(t, i) {
437
- I(t, s, i);
438
- },
439
- p(t, i) {
440
- i[0] & /*txnHistory, datetimeformat*/
441
- 160 && e !== (e = te(
442
- /*transaction*/
443
- t[45].DateTime
444
- ).format(
445
- /*datetimeformat*/
446
- t[5]
447
- ) + "") && S(s, e);
448
- },
449
- i: M,
450
- o: M,
451
- d(t) {
452
- t && A(s);
453
- }
454
- };
455
- }
456
- function kt(a) {
457
- let e = te(
458
- /*transaction*/
459
- a[45].Date
460
- ).format(
461
- /*dateformat*/
462
- a[4]
463
- ) + "", s;
464
- return {
465
- c() {
466
- s = w(e);
467
- },
468
- m(t, i) {
469
- I(t, s, i);
470
- },
471
- p(t, i) {
472
- i[0] & /*txnHistory, dateformat*/
473
- 144 && e !== (e = te(
474
- /*transaction*/
475
- t[45].Date
476
- ).format(
477
- /*dateformat*/
478
- t[4]
479
- ) + "") && S(s, e);
480
- },
481
- i: M,
482
- o: M,
483
- d(t) {
484
- t && A(s);
485
- }
486
- };
487
- }
488
- function St(a) {
489
- let e = (
490
- /*$_*/
491
- a[12](`transactionStatus.${/*transaction*/
492
- a[45].Status}`) + ""
493
- ), s;
494
- return {
495
- c() {
496
- s = w(e);
497
- },
498
- m(t, i) {
499
- I(t, s, i);
500
- },
501
- p(t, i) {
502
- i[0] & /*$_, txnHistory*/
503
- 4224 && e !== (e = /*$_*/
504
- t[12](`transactionStatus.${/*transaction*/
505
- t[45].Status}`) + "") && S(s, e);
506
- },
507
- i: M,
508
- o: M,
509
- d(t) {
510
- t && A(s);
511
- }
512
- };
513
- }
514
- function Ht(a) {
515
- let e, s, t, i = (
516
- /*$_*/
517
- a[12](`transactionStatus.${/*transaction*/
518
- a[45].Status}`) + ""
519
- ), u, c;
520
- return e = new Tt({
521
- props: { status: (
522
- /*transaction*/
523
- a[45].Status
524
- ) }
525
- }), {
526
- c() {
527
- st(e.$$.fragment), s = H(), t = h("span"), u = w(i), m(t, "class", "StatusIconText svelte-1xsmrqu");
528
- },
529
- m(o, n) {
530
- tt(e, o, n), I(o, s, n), I(o, t, n), r(t, u), c = !0;
531
- },
532
- p(o, n) {
533
- const g = {};
534
- n[0] & /*txnHistory*/
535
- 128 && (g.status = /*transaction*/
536
- o[45].Status), e.$set(g), (!c || n[0] & /*$_, txnHistory*/
537
- 4224) && i !== (i = /*$_*/
538
- o[12](`transactionStatus.${/*transaction*/
539
- o[45].Status}`) + "") && S(u, i);
540
- },
541
- i(o) {
542
- c || (F(e.$$.fragment, o), c = !0);
543
- },
544
- o(o) {
545
- Y(e.$$.fragment, o), c = !1;
546
- },
547
- d(o) {
548
- o && (A(s), A(t)), et(e, o);
549
- }
550
- };
551
- }
552
- function At(a) {
553
- let e, s = (
554
- /*transaction*/
555
- a[45].Amount + ""
556
- ), t, i, u = (
557
- /*transaction*/
558
- a[45].Currency + ""
559
- ), c, o;
560
- return {
561
- c() {
562
- e = h("span"), t = w(s), i = H(), c = w(u), m(e, "class", o = "Amount " + /*transaction*/
563
- a[45].Type + " " + /*transaction*/
564
- a[45].Status + " svelte-1xsmrqu");
565
- },
566
- m(n, g) {
567
- I(n, e, g), r(e, t), r(e, i), r(e, c);
568
- },
569
- p(n, g) {
570
- g[0] & /*txnHistory*/
571
- 128 && s !== (s = /*transaction*/
572
- n[45].Amount + "") && S(t, s), g[0] & /*txnHistory*/
573
- 128 && u !== (u = /*transaction*/
574
- n[45].Currency + "") && S(c, u), g[0] & /*txnHistory*/
575
- 128 && o !== (o = "Amount " + /*transaction*/
576
- n[45].Type + " " + /*transaction*/
577
- n[45].Status + " svelte-1xsmrqu") && m(e, "class", o);
578
- },
579
- i: M,
580
- o: M,
581
- d(n) {
582
- n && A(e);
583
- }
584
- };
585
- }
586
- function It(a) {
587
- let e, s = (
588
- /*transaction*/
589
- a[45].Code + ""
590
- ), t, i, u, c;
591
- return {
592
- c() {
593
- e = h("span"), t = w(s), m(e, "data-copy", i = /*transaction*/
594
- a[45].Code), m(e, "class", "svelte-1xsmrqu"), ee(
595
- e,
596
- "copied",
597
- /*copied*/
598
- a[8]
599
- );
600
- },
601
- m(o, n) {
602
- I(o, e, n), r(e, t), u || (c = Ie(
603
- e,
604
- "click",
605
- /*click_handler*/
606
- a[29]
607
- ), u = !0);
608
- },
609
- p(o, n) {
610
- n[0] & /*txnHistory*/
611
- 128 && s !== (s = /*transaction*/
612
- o[45].Code + "") && S(t, s), n[0] & /*txnHistory*/
613
- 128 && i !== (i = /*transaction*/
614
- o[45].Code) && m(e, "data-copy", i), n[0] & /*copied*/
615
- 256 && ee(
616
- e,
617
- "copied",
618
- /*copied*/
619
- o[8]
620
- );
621
- },
622
- i: M,
623
- o: M,
624
- d(o) {
625
- o && A(e), u = !1, c();
626
- }
627
- };
628
- }
629
- function Rt(a) {
630
- let e, s;
631
- return e = new yt({
632
- props: { type: (
633
- /*transaction*/
634
- a[45].Type
635
- ) }
636
- }), {
637
- c() {
638
- st(e.$$.fragment);
639
- },
640
- m(t, i) {
641
- tt(e, t, i), s = !0;
642
- },
643
- p(t, i) {
644
- const u = {};
645
- i[0] & /*txnHistory*/
646
- 128 && (u.type = /*transaction*/
647
- t[45].Type), e.$set(u);
648
- },
649
- i(t) {
650
- s || (F(e.$$.fragment, t), s = !0);
651
- },
652
- o(t) {
653
- Y(e.$$.fragment, t), s = !1;
654
- },
655
- d(t) {
656
- et(e, t);
657
- }
658
- };
659
- }
660
- function jt(a) {
661
- let e, s = (
662
- /*$_*/
663
- a[12](`transactionType.${/*transaction*/
664
- a[45].Type}`) + ""
665
- ), t;
666
- return {
667
- c() {
668
- e = h("span"), t = w(s), m(e, "class", "svelte-1xsmrqu");
669
- },
670
- m(i, u) {
671
- I(i, e, u), r(e, t);
672
- },
673
- p(i, u) {
674
- u[0] & /*$_, txnHistory*/
675
- 4224 && s !== (s = /*$_*/
676
- i[12](`transactionType.${/*transaction*/
677
- i[45].Type}`) + "") && S(t, s);
678
- },
679
- i: M,
680
- o: M,
681
- d(i) {
682
- i && A(e);
683
- }
684
- };
685
- }
686
- function Ve(a) {
687
- let e, s, t, i, u, c, o, n;
688
- const g = [
689
- jt,
690
- Rt,
691
- It,
692
- At,
693
- Ht,
694
- St,
695
- kt,
696
- Dt,
697
- Ct
698
- ], _ = [];
699
- function f(d, x) {
700
- return (
701
- /*columnName*/
702
- d[52] === "Type" ? 0 : (
703
- /*columnName*/
704
- d[52] === "TypeIcon" ? 1 : (
705
- /*columnName*/
706
- d[52] === "Code" ? 2 : (
707
- /*columnName*/
708
- d[52] === "Amount" ? 3 : (
709
- /*columnName*/
710
- d[52] === "StatusIcon" ? 4 : (
711
- /*columnName*/
712
- d[52] === "Status" ? 5 : (
713
- /*columnName*/
714
- d[52] === "Date" ? 6 : (
715
- /*columnName*/
716
- d[52] === "DateTime" ? 7 : 8
717
- )
718
- )
719
- )
720
- )
721
- )
722
- )
723
- )
724
- );
725
- }
726
- return t = f(a), i = _[t] = g[t](a), {
727
- c() {
728
- e = h("td"), s = h("span"), i.c(), c = H(), m(s, "class", u = De(
729
- /*columnName*/
730
- a[52]
731
- ) + " svelte-1xsmrqu"), m(e, "class", o = De(`column-${/*columnName*/
732
- a[52]}`) + " svelte-1xsmrqu");
733
- },
734
- m(d, x) {
735
- I(d, e, x), r(e, s), _[t].m(s, null), r(e, c), n = !0;
736
- },
737
- p(d, x) {
738
- let T = t;
739
- t = f(d), t === T ? _[t].p(d, x) : (ye(), Y(_[T], 1, 1, () => {
740
- _[T] = null;
741
- }), Te(), i = _[t], i ? i.p(d, x) : (i = _[t] = g[t](d), i.c()), F(i, 1), i.m(s, null)), (!n || x[0] & /*tableColumns*/
742
- 1024 && u !== (u = De(
743
- /*columnName*/
744
- d[52]
745
- ) + " svelte-1xsmrqu")) && m(s, "class", u), (!n || x[0] & /*tableColumns*/
746
- 1024 && o !== (o = De(`column-${/*columnName*/
747
- d[52]}`) + " svelte-1xsmrqu")) && m(e, "class", o);
748
- },
749
- i(d) {
750
- n || (F(i), n = !0);
751
- },
752
- o(d) {
753
- Y(i), n = !1;
754
- },
755
- d(d) {
756
- d && A(e), _[t].d();
757
- }
758
- };
759
- }
760
- function Ye(a) {
761
- let e, s, t, i, u, c, o = (
762
- /*$_*/
763
- a[12]("transactionTypeTitle") + ""
764
- ), n, g, _, f, d = (
765
- /*$_*/
766
- a[12](`transactionType.${/*transaction*/
767
- a[45].Type}`) + ""
768
- ), x, T, q, P, D = (
769
- /*$_*/
770
- a[12]("transactionDateTitle") + ""
771
- ), N, b, se, p, C = te(
772
- /*transaction*/
773
- a[45].DateTime
774
- ).format(
775
- /*datetimeformat*/
776
- a[5]
777
- ) + "", v, W, E, J, re = (
778
- /*$_*/
779
- a[12]("transactionPaymentMethodTitle") + ""
780
- ), ae, pe, he, Z, U = (
781
- /*transaction*/
782
- a[45].PaymentMethod + ""
783
- ), oe, ce, X, ie, ue = (
784
- /*$_*/
785
- a[12]("transactionCodeTitle") + ""
786
- ), ve, _e, me, V, de, fe = (
787
- /*transaction*/
788
- a[45].Code + ""
789
- ), ge, qe, G, Q, l, y, R, j, ne, xe, Re, we, le, be, He, Ce, je, Ae, ze, B = (
790
- /*transaction*/
791
- a[45].RejectionNote && Ge(a)
792
- ), O = (
793
- /*transaction*/
794
- a[45].PaymentFields && Ze(a)
795
- );
796
- return {
797
- c() {
798
- e = h("tr"), s = h("td"), t = h("div"), i = h("div"), u = h("div"), c = h("span"), n = w(o), g = w(" :"), _ = H(), f = h("span"), x = w(d), T = H(), q = h("div"), P = h("span"), N = w(D), b = w(" :"), se = H(), p = h("span"), v = w(C), W = H(), E = h("div"), J = h("span"), ae = w(re), pe = w(" :"), he = H(), Z = h("span"), oe = w(U), ce = H(), X = h("div"), ie = h("span"), ve = w(ue), _e = w(" :"), me = H(), V = h("span"), de = h("span"), ge = w(fe), qe = H(), G = ke("svg"), Q = ke("g"), l = ke("path"), y = ke("path"), j = H(), B && B.c(), ne = H(), xe = h("div"), O && O.c(), Re = H(), we = h("div"), le = h("ui-image"), je = H(), m(c, "class", "DetailsTitle svelte-1xsmrqu"), m(f, "class", "DetailsValue svelte-1xsmrqu"), m(u, "class", "DetailsRow svelte-1xsmrqu"), m(P, "class", "DetailsTitle svelte-1xsmrqu"), m(p, "class", "DetailsValue svelte-1xsmrqu"), m(q, "class", "DetailsRow svelte-1xsmrqu"), m(J, "class", "DetailsTitle svelte-1xsmrqu"), m(Z, "class", "DetailsValue svelte-1xsmrqu"), m(E, "class", "DetailsRow svelte-1xsmrqu"), m(ie, "class", "DetailsTitle svelte-1xsmrqu"), m(de, "class", "svelte-1xsmrqu"), m(l, "d", "M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"), m(l, "stroke", "#666666"), m(l, "stroke-linecap", "round"), m(l, "stroke-linejoin", "round"), m(l, "class", "svelte-1xsmrqu"), m(y, "d", "M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"), m(y, "stroke", "#666666"), m(y, "stroke-linecap", "round"), m(y, "stroke-linejoin", "round"), m(y, "class", "svelte-1xsmrqu"), m(Q, "opacity", "0.5"), m(Q, "class", "svelte-1xsmrqu"), m(G, "xmlns", "http://www.w3.org/2000/svg"), m(G, "width", "19"), m(G, "height", "19"), m(G, "viewBox", "0 0 19 19"), m(G, "fill", "none"), m(G, "class", "svelte-1xsmrqu"), m(V, "data-copy", R = /*transaction*/
799
- a[45].Code), m(V, "class", "DetailsValue CopyCode svelte-1xsmrqu"), m(X, "class", "DetailsRow svelte-1xsmrqu"), m(i, "class", "StaticDetails svelte-1xsmrqu"), m(xe, "class", "DynamicDetails svelte-1xsmrqu"), Fe(le.src, be = /*transaction*/
800
- a[45].Logo) || K(le, "src", be), K(le, "class", "svelte-1xsmrqu"), m(we, "class", "DetailsLogo svelte-1xsmrqu"), m(t, "class", "ExpandedContent svelte-1xsmrqu"), m(s, "colspan", Ce = /*tableColumns*/
801
- a[10].length), m(s, "class", "no-padding svelte-1xsmrqu"), m(e, "class", "ExpandedRow svelte-1xsmrqu");
802
- },
803
- m(k, L) {
804
- I(k, e, L), r(e, s), r(s, t), r(t, i), r(i, u), r(u, c), r(c, n), r(c, g), r(u, _), r(u, f), r(f, x), r(i, T), r(i, q), r(q, P), r(P, N), r(P, b), r(q, se), r(q, p), r(p, v), r(i, W), r(i, E), r(E, J), r(J, ae), r(J, pe), r(E, he), r(E, Z), r(Z, oe), r(i, ce), r(i, X), r(X, ie), r(ie, ve), r(ie, _e), r(X, me), r(X, V), r(V, de), r(de, ge), r(V, qe), r(V, G), r(G, Q), r(Q, l), r(Q, y), r(i, j), B && B.m(i, null), r(t, ne), r(t, xe), O && O.m(xe, null), r(t, Re), r(t, we), r(we, le), r(e, je), Ae || (ze = Ie(
805
- V,
806
- "mousedown",
807
- /*mousedown_handler*/
808
- a[31]
809
- ), Ae = !0);
810
- },
811
- p(k, L) {
812
- L[0] & /*$_*/
813
- 4096 && o !== (o = /*$_*/
814
- k[12]("transactionTypeTitle") + "") && S(n, o), L[0] & /*$_, txnHistory*/
815
- 4224 && d !== (d = /*$_*/
816
- k[12](`transactionType.${/*transaction*/
817
- k[45].Type}`) + "") && S(x, d), L[0] & /*$_*/
818
- 4096 && D !== (D = /*$_*/
819
- k[12]("transactionDateTitle") + "") && S(N, D), L[0] & /*txnHistory, datetimeformat*/
820
- 160 && C !== (C = te(
821
- /*transaction*/
822
- k[45].DateTime
823
- ).format(
824
- /*datetimeformat*/
825
- k[5]
826
- ) + "") && S(v, C), L[0] & /*$_*/
827
- 4096 && re !== (re = /*$_*/
828
- k[12]("transactionPaymentMethodTitle") + "") && S(ae, re), L[0] & /*txnHistory*/
829
- 128 && U !== (U = /*transaction*/
830
- k[45].PaymentMethod + "") && S(oe, U), L[0] & /*$_*/
831
- 4096 && ue !== (ue = /*$_*/
832
- k[12]("transactionCodeTitle") + "") && S(ve, ue), L[0] & /*txnHistory*/
833
- 128 && fe !== (fe = /*transaction*/
834
- k[45].Code + "") && S(ge, fe), L[0] & /*txnHistory*/
835
- 128 && R !== (R = /*transaction*/
836
- k[45].Code) && m(V, "data-copy", R), /*transaction*/
837
- k[45].RejectionNote ? B ? B.p(k, L) : (B = Ge(k), B.c(), B.m(i, null)) : B && (B.d(1), B = null), /*transaction*/
838
- k[45].PaymentFields ? O ? O.p(k, L) : (O = Ze(k), O.c(), O.m(xe, null)) : O && (O.d(1), O = null), L[0] & /*txnHistory*/
839
- 128 && !Fe(le.src, be = /*transaction*/
840
- k[45].Logo) && K(le, "src", be), L[0] & /*tableColumns*/
841
- 1024 && Ce !== (Ce = /*tableColumns*/
842
- k[10].length) && m(s, "colspan", Ce);
843
- },
844
- i(k) {
845
- k && (He || Qe(() => {
846
- He = Ke(
847
- t,
848
- /*slideInOnly*/
849
- a[15],
850
- {}
851
- ), He.start();
852
- }));
853
- },
854
- o: M,
855
- d(k) {
856
- k && A(e), B && B.d(), O && O.d(), Ae = !1, ze();
857
- }
858
- };
859
- }
860
- function Ge(a) {
861
- let e, s, t = (
862
- /*$_*/
863
- a[12]("transactionRejectionNoteTitle") + ""
864
- ), i, u, c, o, n = (
865
- /*transaction*/
866
- a[45].RejectionNote + ""
867
- ), g;
868
- return {
869
- c() {
870
- e = h("div"), s = h("span"), i = w(t), u = w(" :"), c = H(), o = h("span"), g = w(n), m(s, "class", "DetailsTitle svelte-1xsmrqu"), m(o, "class", "DetailsValue svelte-1xsmrqu"), m(e, "class", "DetailsRow svelte-1xsmrqu");
871
- },
872
- m(_, f) {
873
- I(_, e, f), r(e, s), r(s, i), r(s, u), r(e, c), r(e, o), r(o, g);
874
- },
875
- p(_, f) {
876
- f[0] & /*$_*/
877
- 4096 && t !== (t = /*$_*/
878
- _[12]("transactionRejectionNoteTitle") + "") && S(i, t), f[0] & /*txnHistory*/
879
- 128 && n !== (n = /*transaction*/
880
- _[45].RejectionNote + "") && S(g, n);
881
- },
882
- d(_) {
883
- _ && A(e);
884
- }
885
- };
886
- }
887
- function Ze(a) {
888
- let e, s = $(Object.entries(
889
- /*transaction*/
890
- a[45].PaymentFields
891
- )), t = [];
892
- for (let i = 0; i < s.length; i += 1)
893
- t[i] = Je(Le(a, s, i));
894
- return {
895
- c() {
896
- for (let i = 0; i < t.length; i += 1)
897
- t[i].c();
898
- e = $e();
899
- },
900
- m(i, u) {
901
- for (let c = 0; c < t.length; c += 1)
902
- t[c] && t[c].m(i, u);
903
- I(i, e, u);
904
- },
905
- p(i, u) {
906
- if (u[0] & /*txnHistory, $_*/
907
- 4224) {
908
- s = $(Object.entries(
909
- /*transaction*/
910
- i[45].PaymentFields
911
- ));
912
- let c;
913
- for (c = 0; c < s.length; c += 1) {
914
- const o = Le(i, s, c);
915
- t[c] ? t[c].p(o, u) : (t[c] = Je(o), t[c].c(), t[c].m(e.parentNode, e));
916
- }
917
- for (; c < t.length; c += 1)
918
- t[c].d(1);
919
- t.length = s.length;
920
- }
921
- },
922
- d(i) {
923
- i && A(e), Se(t, i);
924
- }
925
- };
926
- }
927
- function Je(a) {
928
- let e, s, t = (
929
- /*$_*/
930
- a[12](`transaction${/*key*/
931
- a[48]}Detail`, { default: (
932
- /*key*/
933
- a[48]
934
- ) }) + ""
935
- ), i, u, c, o, n = (
936
- /*value*/
937
- a[49] + ""
938
- ), g, _;
939
- return {
940
- c() {
941
- e = h("div"), s = h("span"), i = w(t), u = w(" :"), c = H(), o = h("span"), g = w(n), _ = H(), m(s, "class", "DetailsTitle svelte-1xsmrqu"), m(o, "class", "DetailsValue svelte-1xsmrqu"), m(e, "class", "DetailsRow svelte-1xsmrqu");
942
- },
943
- m(f, d) {
944
- I(f, e, d), r(e, s), r(s, i), r(s, u), r(e, c), r(e, o), r(o, g), r(e, _);
945
- },
946
- p(f, d) {
947
- d[0] & /*$_, txnHistory*/
948
- 4224 && t !== (t = /*$_*/
949
- f[12](`transaction${/*key*/
950
- f[48]}Detail`, { default: (
951
- /*key*/
952
- f[48]
953
- ) }) + "") && S(i, t), d[0] & /*txnHistory*/
954
- 128 && n !== (n = /*value*/
955
- f[49] + "") && S(g, n);
956
- },
957
- d(f) {
958
- f && A(e);
959
- }
960
- };
961
- }
962
- function Xe(a) {
963
- let e, s, t, i, u, c, o = $(
964
- /*tableColumns*/
965
- a[10]
966
- ), n = [];
967
- for (let d = 0; d < o.length; d += 1)
968
- n[d] = Ve(Be(a, o, d));
969
- const g = (d) => Y(n[d], 1, 1, () => {
970
- n[d] = null;
971
- });
972
- function _() {
973
- return (
974
- /*click_handler_1*/
975
- a[30](
976
- /*index*/
977
- a[47]
978
- )
979
- );
980
- }
981
- let f = (
982
- /*expandedRow*/
983
- a[11] === /*index*/
984
- a[47] && Ye(a)
985
- );
986
- return {
987
- c() {
988
- e = h("tr");
989
- for (let d = 0; d < n.length; d += 1)
990
- n[d].c();
991
- s = H(), f && f.c(), t = $e(), m(e, "class", "TransactionHistoryRow svelte-1xsmrqu"), ee(
992
- e,
993
- "AllowExpand",
994
- /*isshorttransactionhistory*/
995
- a[3] === "true"
996
- ), ee(
997
- e,
998
- "Expanded",
999
- /*expandedRow*/
1000
- a[11] === /*index*/
1001
- a[47]
1002
- );
1003
- },
1004
- m(d, x) {
1005
- I(d, e, x);
1006
- for (let T = 0; T < n.length; T += 1)
1007
- n[T] && n[T].m(e, null);
1008
- I(d, s, x), f && f.m(d, x), I(d, t, x), i = !0, u || (c = Ie(e, "click", _), u = !0);
1009
- },
1010
- p(d, x) {
1011
- if (a = d, x[0] & /*tableColumns, $_, txnHistory, copied, copyToClipboard, dateformat, datetimeformat*/
1012
- 13744) {
1013
- o = $(
1014
- /*tableColumns*/
1015
- a[10]
1016
- );
1017
- let T;
1018
- for (T = 0; T < o.length; T += 1) {
1019
- const q = Be(a, o, T);
1020
- n[T] ? (n[T].p(q, x), F(n[T], 1)) : (n[T] = Ve(q), n[T].c(), F(n[T], 1), n[T].m(e, null));
1021
- }
1022
- for (ye(), T = o.length; T < n.length; T += 1)
1023
- g(T);
1024
- Te();
1025
- }
1026
- (!i || x[0] & /*isshorttransactionhistory*/
1027
- 8) && ee(
1028
- e,
1029
- "AllowExpand",
1030
- /*isshorttransactionhistory*/
1031
- a[3] === "true"
1032
- ), (!i || x[0] & /*expandedRow*/
1033
- 2048) && ee(
1034
- e,
1035
- "Expanded",
1036
- /*expandedRow*/
1037
- a[11] === /*index*/
1038
- a[47]
1039
- ), /*expandedRow*/
1040
- a[11] === /*index*/
1041
- a[47] ? f ? (f.p(a, x), x[0] & /*expandedRow*/
1042
- 2048 && F(f, 1)) : (f = Ye(a), f.c(), F(f, 1), f.m(t.parentNode, t)) : f && (f.d(1), f = null);
1043
- },
1044
- i(d) {
1045
- if (!i) {
1046
- for (let x = 0; x < o.length; x += 1)
1047
- F(n[x]);
1048
- F(f), i = !0;
1049
- }
1050
- },
1051
- o(d) {
1052
- n = n.filter(Boolean);
1053
- for (let x = 0; x < n.length; x += 1)
1054
- Y(n[x]);
1055
- i = !1;
1056
- },
1057
- d(d) {
1058
- d && (A(e), A(s), A(t)), Se(n, d), f && f.d(d), u = !1, c();
1059
- }
1060
- };
1061
- }
1062
- function zt(a) {
1063
- let e, s, t, i;
1064
- const u = [bt, wt], c = [];
1065
- function o(n, g) {
1066
- return (
1067
- /*txnHistory*/
1068
- n[7].length ? 0 : (
1069
- /*isLoading*/
1070
- n[9] ? 1 : -1
1071
- )
1072
- );
1073
- }
1074
- return ~(s = o(a)) && (t = c[s] = u[s](a)), {
1075
- c() {
1076
- e = h("div"), t && t.c(), m(e, "class", "CashierTransactionHistoryContainer svelte-1xsmrqu");
1077
- },
1078
- m(n, g) {
1079
- I(n, e, g), ~s && c[s].m(e, null), i = !0;
1080
- },
1081
- p(n, g) {
1082
- let _ = s;
1083
- s = o(n), s === _ ? ~s && c[s].p(n, g) : (t && (ye(), Y(c[_], 1, 1, () => {
1084
- c[_] = null;
1085
- }), Te()), ~s ? (t = c[s], t ? t.p(n, g) : (t = c[s] = u[s](n), t.c()), F(t, 1), t.m(e, null)) : t = null);
1086
- },
1087
- i(n) {
1088
- i || (F(t), i = !0);
1089
- },
1090
- o(n) {
1091
- Y(t), i = !1;
1092
- },
1093
- d(n) {
1094
- n && A(e), ~s && c[s].d();
1095
- }
1096
- };
1097
- }
1098
- function Pt(a, e, s) {
1099
- let t;
1100
- ut(a, ht, (l) => s(12, t = l));
1101
- let { endpoint: i } = e, { session: u } = e, { lang: c = "en" } = e, { customerid: o } = e, { clientstyling: n = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: _ } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: T } = e, { page: q = "0" } = e, { calculateprofit: P = "false" } = e, { fromdate: D = te().subtract(3, "month") } = e, { todate: N = te() } = e, { isshorttransactionhistory: b = "false" } = e, { dateformat: se = "DD.MM.YYYY" } = e, { datetimeformat: p = "DD.MM.YYYY HH:mm:ss" } = e, { userroles: C = "" } = e, v = [], W = !1, E, J, re, ae = !1, pe = [], he = [], Z;
1102
- var U;
1103
- (function(l) {
1104
- l.Deposit = "deposit", l.Withdraw = "withdraw", l.Refund = "refund", l.Unknown = "unknown", l.TaxDeduction = "taxDeduction";
1105
- })(U || (U = {}));
1106
- const oe = [
1107
- "Authorized",
1108
- "Success",
1109
- "Failed",
1110
- "Rejected",
1111
- "PendingApprovalStage1",
1112
- "PendingApprovalStage2",
1113
- "PendingApprovalStage3",
1114
- "PendingNotification",
1115
- "PendingOfflineNotification",
1116
- "PendingConfirmation"
1117
- ];
1118
- var ce;
1119
- (function(l) {
1120
- l.Authorized = "Authorized", l.Success = "Success", l.Failed = "Failed", l.Rejected = "Rejected", l.Pending = "Pending";
1121
- })(ce || (ce = {})), mt(() => () => {
1122
- });
1123
- const X = () => {
1124
- let l = _;
1125
- if (l)
1126
- return fetch(l).then((y) => y.json()).then((y) => {
1127
- Object.keys(y).forEach((R) => {
1128
- Me(R, y[R]);
1129
- });
1130
- }).catch((y) => {
1131
- console.log(y);
1132
- });
1133
- };
1134
- Object.keys(Ne).forEach((l) => {
1135
- Me(l, Ne[l]);
1136
- });
1137
- const ie = () => {
1138
- _t(c);
1139
- }, ue = () => {
1140
- const l = new URL(`${i}/api/v1/mm/payment/gettransactionshistory`), y = new Headers();
1141
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("X-SessionId", `${u}`), pe.indexOf("MM_CHANNEL_BETA") != -1 && y.append("MM_CHANNEL", "BETA");
1142
- const R = {
1143
- method: "POST",
1144
- mode: "cors",
1145
- headers: y,
1146
- body: JSON.stringify({
1147
- language: c,
1148
- customerId: o,
1149
- count: +d,
1150
- page: +q,
1151
- fromDate: D,
1152
- toDate: N,
1153
- statuses: {
1154
- [U.Deposit]: oe,
1155
- [U.Withdraw]: oe,
1156
- [U.Refund]: ["Unknown"],
1157
- [U.TaxDeduction]: ["Unknown"],
1158
- [U.Unknown]: ["Unknown"]
1159
- },
1160
- calculateProfit: P === "true"
1161
- })
1162
- };
1163
- s(9, ae = !0), fetch(l, R).then((j) => j.json()).then((j) => {
1164
- s(7, v = ve((j == null ? void 0 : j.items) || []));
1165
- const ne = {
1166
- type: "TransactionsLoaded",
1167
- total: j.total
1168
- };
1169
- P === "true" && (ne.statistic = j.statistic), window.postMessage(ne, window.location.href);
1170
- }).catch((j) => console.log(j)).finally(() => s(9, ae = !1));
1171
- }, ve = (l) => (s(10, he = T.split(",")), s(11, Z = null), l.map((y) => {
1172
- let R = y.generalFields.status;
1173
- return y.generalFields.status.toLowerCase().includes("pending") && (R = ce.Pending), {
1174
- Code: y.generalFields.code,
1175
- Date: y.generalFields.created,
1176
- DateTime: y.generalFields.created,
1177
- Status: R,
1178
- Type: y.generalFields.type,
1179
- Amount: y.generalFields.amount,
1180
- Currency: y.generalFields.currency,
1181
- PaymentMethod: y.generalFields.paymentMethod,
1182
- RejectionNote: y.generalFields.rejectionNote,
1183
- PaymentFields: y.paymentFields && Object.keys(y.paymentFields).length > 0 ? y.paymentFields : null,
1184
- Logo: _e(y.logos)
1185
- };
1186
- }) || []), _e = (l) => {
1187
- if (l && l.length) {
1188
- const y = l.find((j) => j.logoType === "Mobile"), R = l.find((j) => j.logoType === "Desktop");
1189
- return y && y.logoUrl || R && R.logoUrl;
1190
- }
1191
- }, me = (l, y = !0) => {
1192
- const j = l.currentTarget.dataset.copy;
1193
- j && navigator.clipboard.writeText(j).then(() => {
1194
- y && (s(8, W = !0), clearTimeout(J), J = setTimeout(
1195
- () => {
1196
- s(8, W = !1);
1197
- },
1198
- 2e3
1199
- ));
1200
- }).catch((ne) => {
1201
- console.error("Could not copy text: ", ne);
1202
- });
1203
- }, V = (l) => {
1204
- b !== "true" && s(11, Z = Z === l ? null : l);
1205
- }, de = (l, y) => ({
1206
- delay: 0,
1207
- duration: 250,
1208
- css: (R) => `overflow: hidden; transform: translateY(${(1 - R) * 20}px); opacity: ${R}`
1209
- }), fe = () => {
1210
- C.length > 0 && (pe = C.split(","));
1211
- }, ge = (l) => me(l), qe = (l) => V(l), G = (l) => me(l, !1);
1212
- function Q(l) {
1213
- dt[l ? "unshift" : "push"](() => {
1214
- E = l, s(6, E);
1215
- });
1216
- }
1217
- return a.$$set = (l) => {
1218
- "endpoint" in l && s(16, i = l.endpoint), "session" in l && s(17, u = l.session), "lang" in l && s(18, c = l.lang), "customerid" in l && s(19, o = l.customerid), "clientstyling" in l && s(0, n = l.clientstyling), "clientstylingurl" in l && s(1, g = l.clientstylingurl), "translationurl" in l && s(20, _ = l.translationurl), "tooltipduration" in l && s(2, f = l.tooltipduration), "txncount" in l && s(21, d = l.txncount), "mbsource" in l && s(22, x = l.mbsource), "columns" in l && s(23, T = l.columns), "page" in l && s(24, q = l.page), "calculateprofit" in l && s(25, P = l.calculateprofit), "fromdate" in l && s(26, D = l.fromdate), "todate" in l && s(27, N = l.todate), "isshorttransactionhistory" in l && s(3, b = l.isshorttransactionhistory), "dateformat" in l && s(4, se = l.dateformat), "datetimeformat" in l && s(5, p = l.datetimeformat), "userroles" in l && s(28, C = l.userroles);
1219
- }, a.$$.update = () => {
1220
- a.$$.dirty[0] & /*lang*/
1221
- 262144 && c && ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1222
- 65 && n && E && vt(E, n), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1223
- 66 && g && E && gt(E, g), a.$$.dirty[0] & /*endpoint, session, customerid, lang, fromdate, todate, page, calculateprofit*/
1224
- 252641280 && i && u && o && c && D && N && q && P && ue(), a.$$.dirty[0] & /*translationurl*/
1225
- 1048576 && _ && X(), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
1226
- 4194368 && x && E && xt(E, `${x}.Style`, re), a.$$.dirty[0] & /*userroles*/
1227
- 268435456 && C && fe();
1228
- }, [
1229
- n,
1230
- g,
1231
- f,
1232
- b,
1233
- se,
1234
- p,
1235
- E,
1236
- v,
1237
- W,
1238
- ae,
1239
- he,
1240
- Z,
1241
- t,
1242
- me,
1243
- V,
1244
- de,
1245
- i,
1246
- u,
1247
- c,
1248
- o,
1249
- _,
1250
- d,
1251
- x,
1252
- T,
1253
- q,
1254
- P,
1255
- D,
1256
- N,
1257
- C,
1258
- ge,
1259
- qe,
1260
- G,
1261
- Q
1262
- ];
1263
- }
1264
- class Ft extends lt {
1265
- constructor(e) {
1266
- super(), rt(
1267
- this,
1268
- e,
1269
- Pt,
1270
- zt,
1271
- ot,
1272
- {
1273
- endpoint: 16,
1274
- session: 17,
1275
- lang: 18,
1276
- customerid: 19,
1277
- clientstyling: 0,
1278
- clientstylingurl: 1,
1279
- translationurl: 20,
1280
- tooltipduration: 2,
1281
- txncount: 21,
1282
- mbsource: 22,
1283
- columns: 23,
1284
- page: 24,
1285
- calculateprofit: 25,
1286
- fromdate: 26,
1287
- todate: 27,
1288
- isshorttransactionhistory: 3,
1289
- dateformat: 4,
1290
- datetimeformat: 5,
1291
- userroles: 28
1292
- },
1293
- qt,
1294
- [-1, -1]
1295
- );
1296
- }
1297
- get endpoint() {
1298
- return this.$$.ctx[16];
1299
- }
1300
- set endpoint(e) {
1301
- this.$$set({ endpoint: e }), z();
1302
- }
1303
- get session() {
1304
- return this.$$.ctx[17];
1305
- }
1306
- set session(e) {
1307
- this.$$set({ session: e }), z();
1308
- }
1309
- get lang() {
1310
- return this.$$.ctx[18];
1311
- }
1312
- set lang(e) {
1313
- this.$$set({ lang: e }), z();
1314
- }
1315
- get customerid() {
1316
- return this.$$.ctx[19];
1317
- }
1318
- set customerid(e) {
1319
- this.$$set({ customerid: e }), z();
1320
- }
1321
- get clientstyling() {
1322
- return this.$$.ctx[0];
1323
- }
1324
- set clientstyling(e) {
1325
- this.$$set({ clientstyling: e }), z();
1326
- }
1327
- get clientstylingurl() {
1328
- return this.$$.ctx[1];
1329
- }
1330
- set clientstylingurl(e) {
1331
- this.$$set({ clientstylingurl: e }), z();
1332
- }
1333
- get translationurl() {
1334
- return this.$$.ctx[20];
1335
- }
1336
- set translationurl(e) {
1337
- this.$$set({ translationurl: e }), z();
1338
- }
1339
- get tooltipduration() {
1340
- return this.$$.ctx[2];
1341
- }
1342
- set tooltipduration(e) {
1343
- this.$$set({ tooltipduration: e }), z();
1344
- }
1345
- get txncount() {
1346
- return this.$$.ctx[21];
1347
- }
1348
- set txncount(e) {
1349
- this.$$set({ txncount: e }), z();
1350
- }
1351
- get mbsource() {
1352
- return this.$$.ctx[22];
1353
- }
1354
- set mbsource(e) {
1355
- this.$$set({ mbsource: e }), z();
1356
- }
1357
- get columns() {
1358
- return this.$$.ctx[23];
1359
- }
1360
- set columns(e) {
1361
- this.$$set({ columns: e }), z();
1362
- }
1363
- get page() {
1364
- return this.$$.ctx[24];
1365
- }
1366
- set page(e) {
1367
- this.$$set({ page: e }), z();
1368
- }
1369
- get calculateprofit() {
1370
- return this.$$.ctx[25];
1371
- }
1372
- set calculateprofit(e) {
1373
- this.$$set({ calculateprofit: e }), z();
1374
- }
1375
- get fromdate() {
1376
- return this.$$.ctx[26];
1377
- }
1378
- set fromdate(e) {
1379
- this.$$set({ fromdate: e }), z();
1380
- }
1381
- get todate() {
1382
- return this.$$.ctx[27];
1383
- }
1384
- set todate(e) {
1385
- this.$$set({ todate: e }), z();
1386
- }
1387
- get isshorttransactionhistory() {
1388
- return this.$$.ctx[3];
1389
- }
1390
- set isshorttransactionhistory(e) {
1391
- this.$$set({ isshorttransactionhistory: e }), z();
1392
- }
1393
- get dateformat() {
1394
- return this.$$.ctx[4];
1395
- }
1396
- set dateformat(e) {
1397
- this.$$set({ dateformat: e }), z();
1398
- }
1399
- get datetimeformat() {
1400
- return this.$$.ctx[5];
1401
- }
1402
- set datetimeformat(e) {
1403
- this.$$set({ datetimeformat: e }), z();
1404
- }
1405
- get userroles() {
1406
- return this.$$.ctx[28];
1407
- }
1408
- set userroles(e) {
1409
- this.$$set({ userroles: e }), z();
1410
- }
1411
- }
1412
- pt(Ft, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {}, mbsource: {}, columns: {}, page: {}, calculateprofit: {}, fromdate: {}, todate: {}, isshorttransactionhistory: {}, dateformat: {}, datetimeformat: {}, userroles: {} }, [], [], !0);
1413
- export {
1414
- Ft as default
1415
- };