@feedmepos/mf-payment 0.0.0-beta.2 → 0.0.0-beta.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (509) hide show
  1. package/dist/{AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js → AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js} +1 -1
  2. package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
  3. package/dist/{Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js → Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js} +9 -9
  4. package/dist/Modal-DB8M9o1T.js +13 -0
  5. package/dist/{PayoutAccount-BVljEwn3.js → PDFViewer-CjH_C1uT.js} +10851 -14329
  6. package/dist/PayoutAccount-BGSq2B6o.js +612 -0
  7. package/dist/PayoutAccount-C3OOz1oi.js +272 -0
  8. package/dist/PayoutAccountSetting-WxLdT6mv.js +702 -0
  9. package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
  10. package/dist/Settlement-CKxNAHAH.js +148 -0
  11. package/dist/Settlement-DQcrZNvo.js +142 -0
  12. package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-CUG4ePP_.js} +99 -105
  13. package/dist/SettlementTransactions-V5fjLv7H.js +334 -0
  14. package/dist/Terminal-C_G_AuJZ.js +318 -0
  15. package/dist/TerminalSetting-BuAaL5qK.js +176 -0
  16. package/dist/TerminalTransaction-D4c0ivQg.js +241 -0
  17. package/dist/TerminalTransaction-DbjVvH2P.js +235 -0
  18. package/dist/Transaction-MrC2wj9k.js +242 -0
  19. package/dist/Transaction-h2YrauW3.js +243 -0
  20. package/dist/api/index.d.ts +11 -0
  21. package/dist/api/pagination.d.ts +20 -0
  22. package/dist/api/payment-gateway/index.d.ts +9 -0
  23. package/dist/api/payout/index.d.ts +2 -1
  24. package/dist/api/settlement/index.d.ts +7 -13
  25. package/dist/api/terminal/index.d.ts +8 -1
  26. package/dist/api/terminal-transaction/index.d.ts +9 -0
  27. package/dist/api/transaction/index.d.ts +6 -2
  28. package/dist/app.d.ts +3 -0
  29. package/dist/app.js +105 -82
  30. package/dist/assets/icons/index.d.ts +1 -3
  31. package/dist/assets-Cj6QBVPU.js +42 -0
  32. package/dist/components/AsyncButton.vue.d.ts +21 -0
  33. package/dist/components/CursorTable/index.vue.d.ts +16 -5
  34. package/dist/components/PDFViewer.vue.d.ts +0 -2
  35. package/dist/components/RestaurantSelector.vue.d.ts +2 -0
  36. package/dist/error-K1CakhA9.js +6 -0
  37. package/dist/{index-CjCiGW2Y.js → index-C58XD8h3.js} +13 -23
  38. package/dist/index-CvMai9eW.js +26 -0
  39. package/dist/{index-B8_4waUa.js → index-DA_XRfnd.js} +1 -1
  40. package/dist/index-DN6pSWL_.js +40 -0
  41. package/dist/index-DYnNx4du.js +37 -0
  42. package/dist/index-De4-LJjg.js +55562 -0
  43. package/dist/index.vue_vue_type_script_setup_true_lang-J6BwjC-p.js +155 -0
  44. package/dist/package.json +7 -7
  45. package/dist/{index-D-lMrCvM.js → payout-account-BBG-e-NS.js} +773 -804
  46. package/dist/plugins.d.ts +1 -1
  47. package/dist/style.css +1 -1
  48. package/dist/{transaction-fdJNol6A.js → transaction-BmxtNt6_.js} +29 -13
  49. package/dist/tsconfig.app.tsbuildinfo +1 -1
  50. package/dist/validator-D5jtpt9A.js +2877 -0
  51. package/dist/views/admin/payout-account/PayoutAccountSetting.vue.d.ts +11 -1
  52. package/dist/views/admin/payout-account/cell/RateInput.vue.d.ts +8 -0
  53. package/dist/views/admin/payout-account/cell/TPlusInput.vue.d.ts +8 -0
  54. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +81 -0
  55. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
  56. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +90 -0
  57. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +81 -0
  58. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
  59. package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
  60. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +61 -0
  61. package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
  62. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +58 -9
  63. package/dist/views/admin/terminal/tabs/Fiuu.vue.d.ts +72 -0
  64. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +63 -0
  65. package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
  66. package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
  67. package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
  68. package/package.json +19 -19
  69. package/dist/PayoutAccount-J3GJxUjj.js +0 -266
  70. package/dist/Settlement-C4IEccV6.js +0 -136
  71. package/dist/Settlement-D4gdbOE0.js +0 -132
  72. package/dist/SettlementTransactions-DYelInkD.js +0 -351
  73. package/dist/Terminal-Co7KPrrb.js +0 -204
  74. package/dist/TerminalTransaction-CtVBUTMg.js +0 -240
  75. package/dist/Transaction-CvDEP2Uq.js +0 -242
  76. package/dist/Transaction-Rk0g5_Gn.js +0 -241
  77. package/dist/assets-CZ2m5tCN.js +0 -43
  78. package/dist/favicon.ico +0 -0
  79. package/dist/icons/anydesk.svg +0 -1
  80. package/dist/icons/sort.svg +0 -3
  81. package/dist/images/gateway/ccdc.svg +0 -44
  82. package/dist/images/gateway/fiuu.jpg +0 -0
  83. package/dist/images/gateway/fm.svg +0 -44
  84. package/dist/images/gateway/rm.jpg +0 -0
  85. package/dist/images/method/BNPL/Ablr/Ablr_SVG.svg +0 -7
  86. package/dist/images/method/BNPL/Ablr/Ablr_V1_ROU.svg +0 -4
  87. package/dist/images/method/BNPL/Ablr/Ablr_V1_SQU.svg +0 -4
  88. package/dist/images/method/BNPL/Ablr/Ablr_V2_ROU.svg +0 -7
  89. package/dist/images/method/BNPL/Ablr/Ablr_V2_SQU.svg +0 -7
  90. package/dist/images/method/BNPL/Atome/Atome_SVG.svg +0 -4
  91. package/dist/images/method/BNPL/Atome/Atome_V1_ROU.svg +0 -4
  92. package/dist/images/method/BNPL/Atome/Atome_V1_SQU.svg +0 -4
  93. package/dist/images/method/BNPL/Atome/Atome_V2_ROU.svg +0 -4
  94. package/dist/images/method/BNPL/Atome/Atome_V2_SQU.svg +0 -4
  95. package/dist/images/method/BNPL/Atome/Atome_V3_ROU.svg +0 -5
  96. package/dist/images/method/BNPL/Atome/Atome_V3_SQU.svg +0 -5
  97. package/dist/images/method/BNPL/IOUPay/IOUPay_SVG.svg +0 -12
  98. package/dist/images/method/BNPL/IOUPay/IOUPay_V1_ROU.svg +0 -7
  99. package/dist/images/method/BNPL/IOUPay/IOUPay_V1_SQU.svg +0 -7
  100. package/dist/images/method/BNPL/IOUPay/IOUPay_V2_ROU.svg +0 -13
  101. package/dist/images/method/BNPL/IOUPay/IOUPay_V2_SQU.svg +0 -13
  102. package/dist/images/method/BNPL/ShopBack/ShopBack_SVG.svg +0 -6
  103. package/dist/images/method/BNPL/ShopBack/ShopBack_V1_ROU.svg +0 -6
  104. package/dist/images/method/BNPL/ShopBack/ShopBack_V1_SQU.svg +0 -6
  105. package/dist/images/method/BNPL/ShopBack/ShopBack_V2_ROU.svg +0 -4
  106. package/dist/images/method/BNPL/ShopBack/ShopBack_V2_SQU.svg +0 -4
  107. package/dist/images/method/BNPL/Split/Split_SVG.svg +0 -4
  108. package/dist/images/method/BNPL/Split/Split_V1_ROU.svg +0 -5
  109. package/dist/images/method/BNPL/Split/Split_V1_SQU.svg +0 -5
  110. package/dist/images/method/BNPL/Split/Split_V2_ROU.svg +0 -5
  111. package/dist/images/method/BNPL/Split/Split_V2_SQU.svg +0 -5
  112. package/dist/images/method/BNPL/Split/Split_V3_ROU.svg +0 -4
  113. package/dist/images/method/BNPL/Split/Split_V3_SQU.svg +0 -4
  114. package/dist/images/method/BNPL/Split/Split_V4_ROU.svg +0 -4
  115. package/dist/images/method/BNPL/Split/Split_V4_SQU.svg +0 -4
  116. package/dist/images/method/Banks/AEONBank/AEONBank_SVG.svg +0 -16
  117. package/dist/images/method/Banks/AEONBank/AEONBank_V1_BSQU.svg +0 -17
  118. package/dist/images/method/Banks/AEONBank/AEONBank_V1_LG.svg +0 -17
  119. package/dist/images/method/Banks/AEONBank/AEONBank_V1_ROU.svg +0 -6
  120. package/dist/images/method/Banks/AEONBank/AEONBank_V1_SQU.svg +0 -6
  121. package/dist/images/method/Banks/AEONBank/AEONBank_V2_BSQU.svg +0 -17
  122. package/dist/images/method/Banks/AEONBank/AEONBank_V2_LG.svg +0 -17
  123. package/dist/images/method/Banks/AEONBank/AEONBank_V2_ROU.svg +0 -6
  124. package/dist/images/method/Banks/AEONBank/AEONBank_V2_SQU.svg +0 -6
  125. package/dist/images/method/Banks/AffinBank/AffinBank_SVG.svg +0 -56
  126. package/dist/images/method/Banks/AffinBank/AffinBank_V1_BSQU.svg +0 -57
  127. package/dist/images/method/Banks/AffinBank/AffinBank_V1_LG.svg +0 -57
  128. package/dist/images/method/Banks/AffinBank/AffinBank_V1_ROU.svg +0 -10
  129. package/dist/images/method/Banks/AffinBank/AffinBank_V1_SQU.svg +0 -10
  130. package/dist/images/method/Banks/AffinBank/AffinBank_V2_BSQU.svg +0 -57
  131. package/dist/images/method/Banks/AffinBank/AffinBank_V2_LG.svg +0 -57
  132. package/dist/images/method/Banks/AffinBank/AffinBank_V2_ROU.svg +0 -10
  133. package/dist/images/method/Banks/AffinBank/AffinBank_V2_SQU.svg +0 -10
  134. package/dist/images/method/Banks/AllianceBank/AllianceBank_SVG.svg +0 -45
  135. package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_BSQU.svg +0 -46
  136. package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_LG.svg +0 -46
  137. package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_ROU.svg +0 -34
  138. package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_SQU.svg +0 -34
  139. package/dist/images/method/Banks/AmBank/AmBank_SVG.svg +0 -18
  140. package/dist/images/method/Banks/AmBank/AmBank_V1_BSQU.svg +0 -13
  141. package/dist/images/method/Banks/AmBank/AmBank_V1_LG.svg +0 -13
  142. package/dist/images/method/Banks/AmBank/AmBank_V1_ROU.svg +0 -7
  143. package/dist/images/method/Banks/AmBank/AmBank_V1_SQU.svg +0 -7
  144. package/dist/images/method/Banks/AmBank/AmBank_V2_BSQU.svg +0 -13
  145. package/dist/images/method/Banks/AmBank/AmBank_V2_LG.svg +0 -13
  146. package/dist/images/method/Banks/AmBank/AmBank_V2_ROU.svg +0 -7
  147. package/dist/images/method/Banks/AmBank/AmBank_V2_SQU.svg +0 -7
  148. package/dist/images/method/Banks/AmBank/AmBank_V3_BSQU.svg +0 -13
  149. package/dist/images/method/Banks/AmBank/AmBank_V3_LG.svg +0 -13
  150. package/dist/images/method/Banks/AmBank/AmBank_V3_ROU.svg +0 -7
  151. package/dist/images/method/Banks/AmBank/AmBank_V3_SQU.svg +0 -7
  152. package/dist/images/method/Banks/AmBank/AmBank_V4_BSQU.svg +0 -18
  153. package/dist/images/method/Banks/AmBank/AmBank_V4_LG.svg +0 -18
  154. package/dist/images/method/Banks/AmBank/AmBank_V5_BSQU.svg +0 -18
  155. package/dist/images/method/Banks/AmBank/AmBank_V5_LG.svg +0 -18
  156. package/dist/images/method/Banks/ArgoBank/ArgoBank_SVG.svg +0 -12
  157. package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_BSQU.svg +0 -13
  158. package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_LG.svg +0 -13
  159. package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_ROU.svg +0 -4
  160. package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_SQU.svg +0 -4
  161. package/dist/images/method/Banks/BSN/BSN_SVG.svg +0 -7
  162. package/dist/images/method/Banks/BSN/BSN_V1_BSQU.svg +0 -7
  163. package/dist/images/method/Banks/BSN/BSN_V1_LG.svg +0 -7
  164. package/dist/images/method/Banks/BSN/BSN_V1_ROU.svg +0 -4
  165. package/dist/images/method/Banks/BSN/BSN_V1_SQU.svg +0 -4
  166. package/dist/images/method/Banks/BankIslam/BankIslam_SVG.svg +0 -13
  167. package/dist/images/method/Banks/BankIslam/BankIslam_V1_BSQU.svg +0 -14
  168. package/dist/images/method/Banks/BankIslam/BankIslam_V1_LG.svg +0 -14
  169. package/dist/images/method/Banks/BankIslam/BankIslam_V1_ROU.svg +0 -14
  170. package/dist/images/method/Banks/BankIslam/BankIslam_V1_SQU.svg +0 -14
  171. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_SVG.svg +0 -26
  172. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_BSQU.svg +0 -24
  173. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_LG.svg +0 -24
  174. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_ROU.svg +0 -12
  175. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_SQU.svg +0 -12
  176. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_BSQU.svg +0 -26
  177. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_LG.svg +0 -27
  178. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_ROU.svg +0 -14
  179. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_SQU.svg +0 -14
  180. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_ROU.svg +0 -12
  181. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_SQU.svg +0 -12
  182. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_ROU.svg +0 -4
  183. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_SQU.svg +0 -4
  184. package/dist/images/method/Banks/BankRakyat/BankRakyat_SVG.svg +0 -18
  185. package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_BSQU.svg +0 -18
  186. package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_LG.svg +0 -18
  187. package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_ROU.svg +0 -6
  188. package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_SQU.svg +0 -6
  189. package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_BSQU.svg +0 -18
  190. package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_LG.svg +0 -18
  191. package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_ROU.svg +0 -6
  192. package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_SQU.svg +0 -6
  193. package/dist/images/method/Banks/Cimb/Cimb_SVG.svg +0 -16
  194. package/dist/images/method/Banks/Cimb/Cimb_V1_BSQU.svg +0 -13
  195. package/dist/images/method/Banks/Cimb/Cimb_V1_LG.svg +0 -13
  196. package/dist/images/method/Banks/Cimb/Cimb_V1_ROU.svg +0 -5
  197. package/dist/images/method/Banks/Cimb/Cimb_V1_SQU.svg +0 -5
  198. package/dist/images/method/Banks/Cimb/Cimb_V2_BSQU.svg +0 -13
  199. package/dist/images/method/Banks/Cimb/Cimb_V2_LG.svg +0 -13
  200. package/dist/images/method/Banks/Cimb/Cimb_V2_ROU.svg +0 -5
  201. package/dist/images/method/Banks/Cimb/Cimb_V2_SQU.svg +0 -5
  202. package/dist/images/method/Banks/Cimb/Cimb_V3_BSQU.svg +0 -19
  203. package/dist/images/method/Banks/Cimb/Cimb_V3_LG.svg +0 -19
  204. package/dist/images/method/Banks/Cimb/Cimb_V3_ROU.svg +0 -11
  205. package/dist/images/method/Banks/Cimb/Cimb_V3_SQU.svg +0 -11
  206. package/dist/images/method/Banks/Cimb/Cimb_V4_BSQU.svg +0 -14
  207. package/dist/images/method/Banks/Cimb/Cimb_V4_LG.svg +0 -14
  208. package/dist/images/method/Banks/Cimb/Cimb_V5_LG.svg +0 -14
  209. package/dist/images/method/Banks/CitiBank/CitiBank_SVG.svg +0 -4
  210. package/dist/images/method/Banks/CitiBank/CitiBank_V1_BSQU.svg +0 -5
  211. package/dist/images/method/Banks/CitiBank/CitiBank_V1_LG.svg +0 -5
  212. package/dist/images/method/Banks/CitiBank/CitiBank_V1_ROU.svg +0 -5
  213. package/dist/images/method/Banks/CitiBank/CitiBank_V1_SQU.svg +0 -5
  214. package/dist/images/method/Banks/CitiBank/CitiBank_V2_BSQU.svg +0 -5
  215. package/dist/images/method/Banks/CitiBank/CitiBank_V2_LG.svg +0 -5
  216. package/dist/images/method/Banks/CitiBank/CitiBank_V2_ROU.svg +0 -5
  217. package/dist/images/method/Banks/CitiBank/CitiBank_V2_SQU.svg +0 -5
  218. package/dist/images/method/Banks/GXBank/GXBank_SVG.svg +0 -10
  219. package/dist/images/method/Banks/GXBank/GXBank_V1_BSQU.svg +0 -4
  220. package/dist/images/method/Banks/GXBank/GXBank_V1_LG.svg +0 -4
  221. package/dist/images/method/Banks/GXBank/GXBank_V1_ROU.svg +0 -4
  222. package/dist/images/method/Banks/GXBank/GXBank_V1_SQU.svg +0 -4
  223. package/dist/images/method/Banks/GXBank/GXBank_V2_BSQU.svg +0 -4
  224. package/dist/images/method/Banks/GXBank/GXBank_V2_LG.svg +0 -4
  225. package/dist/images/method/Banks/GXBank/GXBank_V2_ROU.svg +0 -4
  226. package/dist/images/method/Banks/GXBank/GXBank_V2_SQU.svg +0 -4
  227. package/dist/images/method/Banks/GXBank/GXBank_V3_BSQU.svg +0 -10
  228. package/dist/images/method/Banks/GXBank/GXBank_V3_LG.svg +0 -10
  229. package/dist/images/method/Banks/GXBank/GXBank_V3_ROU.svg +0 -10
  230. package/dist/images/method/Banks/GXBank/GXBank_V3_SQU.svg +0 -10
  231. package/dist/images/method/Banks/GXBank/GXBank_V4_BSQU.svg +0 -10
  232. package/dist/images/method/Banks/GXBank/GXBank_V4_LG.svg +0 -10
  233. package/dist/images/method/Banks/GXBank/GXBank_V4_ROU.svg +0 -10
  234. package/dist/images/method/Banks/GXBank/GXBank_V4_SQU.svg +0 -10
  235. package/dist/images/method/Banks/GXBank/GXBank_V5_BSQU.svg +0 -10
  236. package/dist/images/method/Banks/GXBank/GXBank_V5_LG.svg +0 -10
  237. package/dist/images/method/Banks/GXBank/GXBank_V5_ROU.svg +0 -10
  238. package/dist/images/method/Banks/GXBank/GXBank_V5_SQU.svg +0 -10
  239. package/dist/images/method/Banks/HSBC/HSBC_SVG.svg +0 -11
  240. package/dist/images/method/Banks/HSBC/HSBC_V1_BSQU.svg +0 -12
  241. package/dist/images/method/Banks/HSBC/HSBC_V1_LG.svg +0 -12
  242. package/dist/images/method/Banks/HSBC/HSBC_V1_ROU.svg +0 -8
  243. package/dist/images/method/Banks/HSBC/HSBC_V1_SQU.svg +0 -8
  244. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_SVG.svg +0 -27
  245. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_BSQU.svg +0 -22
  246. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_LG.svg +0 -22
  247. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_ROU.svg +0 -9
  248. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_SQU.svg +0 -9
  249. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_BSQU.svg +0 -18
  250. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_LG.svg +0 -18
  251. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_SVG.svg +0 -5
  252. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_BSQU.svg +0 -5
  253. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_LG.svg +0 -5
  254. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_ROU.svg +0 -4
  255. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_SQU.svg +0 -4
  256. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_BSQU.svg +0 -5
  257. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_LG.svg +0 -5
  258. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_ROU.svg +0 -4
  259. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_SQU.svg +0 -4
  260. package/dist/images/method/Banks/Maybank/MayBank_SVG.svg +0 -22
  261. package/dist/images/method/Banks/Maybank/MayBank_V1_BSQU.svg +0 -22
  262. package/dist/images/method/Banks/Maybank/MayBank_V1_LG.svg +0 -22
  263. package/dist/images/method/Banks/Maybank/MayBank_V1_ROU.svg +0 -15
  264. package/dist/images/method/Banks/Maybank/MayBank_V1_SQU.svg +0 -15
  265. package/dist/images/method/Banks/OCBC/OCBC_SVG.svg +0 -11
  266. package/dist/images/method/Banks/OCBC/OCBC_V1_BSQU.svg +0 -12
  267. package/dist/images/method/Banks/OCBC/OCBC_V1_LG.svg +0 -12
  268. package/dist/images/method/Banks/OCBC/OCBC_V1_ROU.svg +0 -4
  269. package/dist/images/method/Banks/OCBC/OCBC_V1_SQU.svg +0 -4
  270. package/dist/images/method/Banks/OCBC/OCBC_V2_BSQU.svg +0 -12
  271. package/dist/images/method/Banks/OCBC/OCBC_V2_LG.svg +0 -12
  272. package/dist/images/method/Banks/OCBC/OCBC_V2_ROU.svg +0 -4
  273. package/dist/images/method/Banks/OCBC/OCBC_V2_SQU.svg +0 -4
  274. package/dist/images/method/Banks/PublicBank/PublicBank_SVG.svg +0 -13
  275. package/dist/images/method/Banks/PublicBank/PublicBank_V1_BSQU.svg +0 -14
  276. package/dist/images/method/Banks/PublicBank/PublicBank_V1_LG.svg +0 -14
  277. package/dist/images/method/Banks/PublicBank/PublicBank_V1_ROU.svg +0 -4
  278. package/dist/images/method/Banks/PublicBank/PublicBank_V1_SQU.svg +0 -4
  279. package/dist/images/method/Banks/RHB/RHB_SVG.svg +0 -4
  280. package/dist/images/method/Banks/RHB/RHB_V1_BSQU.svg +0 -5
  281. package/dist/images/method/Banks/RHB/RHB_V1_LG.svg +0 -5
  282. package/dist/images/method/Banks/RHB/RHB_V1_ROU.svg +0 -5
  283. package/dist/images/method/Banks/RHB/RHB_V1_SQU.svg +0 -5
  284. package/dist/images/method/Banks/RHB/RHB_V2_BSQU.svg +0 -5
  285. package/dist/images/method/Banks/RHB/RHB_V2_LG.svg +0 -5
  286. package/dist/images/method/Banks/RHB/RHB_V2_ROU.svg +0 -5
  287. package/dist/images/method/Banks/RHB/RHB_V2_SQU.svg +0 -5
  288. package/dist/images/method/Banks/StandardChartered/StandardChartered_SVG.svg +0 -26
  289. package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_BSQU.svg +0 -27
  290. package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_LG.svg +0 -27
  291. package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_ROU.svg +0 -10
  292. package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_SQU.svg +0 -10
  293. package/dist/images/method/Banks/UOB/UOB_SVG.svg +0 -15
  294. package/dist/images/method/Banks/UOB/UOB_V1_BSQU.svg +0 -16
  295. package/dist/images/method/Banks/UOB/UOB_V1_LG.svg +0 -16
  296. package/dist/images/method/Banks/UOB/UOB_V1_ROU.svg +0 -4
  297. package/dist/images/method/Banks/UOB/UOB_V1_SQU.svg +0 -4
  298. package/dist/images/method/Banks/UOB/UOB_V2_BSQU.svg +0 -16
  299. package/dist/images/method/Banks/UOB/UOB_V2_LG.svg +0 -16
  300. package/dist/images/method/Banks/UOB/UOB_V2_ROU.svg +0 -4
  301. package/dist/images/method/Banks/UOB/UOB_V2_SQU.svg +0 -4
  302. package/dist/images/method/Banks/UOB/UOB_V3_ROU.svg +0 -5
  303. package/dist/images/method/Banks/UOB/UOB_V3_SQU.svg +0 -5
  304. package/dist/images/method/Banks/UOB/UOB_V4_ROU.svg +0 -5
  305. package/dist/images/method/Banks/UOB/UOB_V4_SQU.svg +0 -5
  306. package/dist/images/method/Card/Gobiz/Gobiz_SVG.svg +0 -10
  307. package/dist/images/method/Card/Gobiz/Gobiz_V1_ROU.svg +0 -11
  308. package/dist/images/method/Card/Gobiz/Gobiz_V1_SQU.svg +0 -11
  309. package/dist/images/method/Card/Gobiz/Gobiz_V2_ROU.svg +0 -11
  310. package/dist/images/method/Card/Gobiz/Gobiz_V2_SQU.svg +0 -11
  311. package/dist/images/method/Card/Master/MASTER_SVG.svg +0 -6
  312. package/dist/images/method/Card/Master/MASTER_V1_ROU.svg +0 -7
  313. package/dist/images/method/Card/Master/MASTER_V1_SQU.svg +0 -7
  314. package/dist/images/method/Card/Master/MASTER_V1_TRSP.svg +0 -6
  315. package/dist/images/method/Card/Master/MASTER_V2_ROU.svg +0 -7
  316. package/dist/images/method/Card/Master/MASTER_V2_SQU.svg +0 -7
  317. package/dist/images/method/Card/Paydee/Paydee_SVG.svg +0 -8
  318. package/dist/images/method/Card/Paydee/Paydee_V1_ROU.svg +0 -9
  319. package/dist/images/method/Card/Paydee/Paydee_V1_SQU.svg +0 -9
  320. package/dist/images/method/Card/Paydee/Paydee_V2_ROU.svg +0 -9
  321. package/dist/images/method/Card/Paydee/Paydee_V2_SQU.svg +0 -9
  322. package/dist/images/method/Card/UnionPay/UNIONPAY_SVG.svg +0 -17
  323. package/dist/images/method/Card/UnionPay/UNIONPAY_V1_ROU.svg +0 -18
  324. package/dist/images/method/Card/UnionPay/UNIONPAY_V1_SQU.svg +0 -18
  325. package/dist/images/method/Card/UnionPay/UNIONPAY_V1_TRSP.svg +0 -17
  326. package/dist/images/method/Card/Visa/VISA_SVG.svg +0 -3
  327. package/dist/images/method/Card/Visa/VISA_V1_ROU.svg +0 -4
  328. package/dist/images/method/Card/Visa/VISA_V1_SQU.svg +0 -4
  329. package/dist/images/method/Card/Visa/VISA_V1_TRSP.svg +0 -3
  330. package/dist/images/method/Card/Visa/VISA_V2_ROU.svg +0 -4
  331. package/dist/images/method/Card/Visa/VISA_V2_SQU.svg +0 -4
  332. package/dist/images/method/Card/Visa/VISA_V2_TRSP.svg +0 -3
  333. package/dist/images/method/Mobile/ApplePay/ApplePay_SVG.svg +0 -3
  334. package/dist/images/method/Mobile/ApplePay/ApplePay_V1_ROU.svg +0 -4
  335. package/dist/images/method/Mobile/ApplePay/ApplePay_V1_SQU.svg +0 -4
  336. package/dist/images/method/Mobile/ApplePay/ApplePay_V1_TRSP.svg +0 -3
  337. package/dist/images/method/Mobile/ApplePay/ApplePay_V2_ROU.svg +0 -4
  338. package/dist/images/method/Mobile/ApplePay/ApplePay_V2_SQU.svg +0 -4
  339. package/dist/images/method/Mobile/ApplePay/ApplePay_V2_TRSP.svg +0 -3
  340. package/dist/images/method/Mobile/GooglePay/GooglePay_SVG.svg +0 -7
  341. package/dist/images/method/Mobile/GooglePay/GooglePay_V1_ROU.svg +0 -8
  342. package/dist/images/method/Mobile/GooglePay/GooglePay_V1_SQU.svg +0 -8
  343. package/dist/images/method/Mobile/GooglePay/GooglePay_V1_TRSP.svg +0 -7
  344. package/dist/images/method/Mobile/GooglePay/GooglePay_V2_ROU.svg +0 -8
  345. package/dist/images/method/Mobile/GooglePay/GooglePay_V2_SQU.svg +0 -8
  346. package/dist/images/method/Mobile/GooglePay/GooglePay_V2_TRSP.svg +0 -7
  347. package/dist/images/method/Mobile/GooglePay/GooglePay_V3_ROU.svg +0 -7
  348. package/dist/images/method/Mobile/GooglePay/GooglePay_V3_SQU.svg +0 -7
  349. package/dist/images/method/Mobile/GooglePay/GooglePay_V3_TRSP.svg +0 -6
  350. package/dist/images/method/Mobile/SamsungPay/SamsungPay_SVG.svg +0 -12
  351. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_ROU.svg +0 -13
  352. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_SQU.svg +0 -13
  353. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_ROU.svg +0 -13
  354. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_SQU.svg +0 -13
  355. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_ROU.svg +0 -6
  356. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_SQU.svg +0 -6
  357. package/dist/images/method/Other/DuitNow/DuitNow_SVG.svg +0 -11
  358. package/dist/images/method/Other/DuitNow/DuitNow_V1_ROU.svg +0 -12
  359. package/dist/images/method/Other/DuitNow/DuitNow_V1_SQU.svg +0 -12
  360. package/dist/images/method/Other/DuitNow/DuitNow_V2_ROU.svg +0 -12
  361. package/dist/images/method/Other/DuitNow/DuitNow_V2_SQU.svg +0 -12
  362. package/dist/images/method/Other/DuitNow/DuitNow_V3_ROU.svg +0 -5
  363. package/dist/images/method/Other/DuitNow/DuitNow_V3_SQU.svg +0 -5
  364. package/dist/images/method/Other/DuitNow/DuitNow_V4_ROU.svg +0 -5
  365. package/dist/images/method/Other/DuitNow/DuitNow_V4_SQU.svg +0 -5
  366. package/dist/images/method/Other/FPX/FPX_SVG.svg +0 -28
  367. package/dist/images/method/Other/FPX/FPX_V1_ROU.svg +0 -29
  368. package/dist/images/method/Other/FPX/FPX_V1_SQU.svg +0 -29
  369. package/dist/images/method/Other/FPX/FPX_V2_ROU.svg +0 -8
  370. package/dist/images/method/Other/FPX/FPX_V2_SQU.svg +0 -8
  371. package/dist/images/method/Other/FPX/FPX_V3_ROU.svg +0 -5
  372. package/dist/images/method/Other/FPX/FPX_V3_SQU.svg +0 -5
  373. package/dist/images/method/Other/MaybankQR/MaybankQR_V1_ROU.svg +0 -35
  374. package/dist/images/method/Other/MaybankQR/MaybankQR_V1_SQU.svg +0 -35
  375. package/dist/images/method/Other/MaybankQR/Maybank_SVG.svg +0 -49
  376. package/dist/images/method/Other/NetsPay/NetsPay_SVG.svg +0 -5
  377. package/dist/images/method/Other/NetsPay/NetsPay_V1_ROU.svg +0 -6
  378. package/dist/images/method/Other/NetsPay/NetsPay_V1_SQU.svg +0 -6
  379. package/dist/images/method/Wallet/Alipay/Alipay_SVG.svg +0 -4
  380. package/dist/images/method/Wallet/Alipay/Alipay_V1_ROU.svg +0 -6
  381. package/dist/images/method/Wallet/Alipay/Alipay_V1_SQU.svg +0 -5
  382. package/dist/images/method/Wallet/Alipay/Alipay_V2_ROU.svg +0 -6
  383. package/dist/images/method/Wallet/Alipay/Alipay_V2_SQU.svg +0 -5
  384. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_SVG.svg +0 -7
  385. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_ROU.svg +0 -8
  386. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_SQU.svg +0 -8
  387. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_ROU.svg +0 -6
  388. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_SQU.svg +0 -6
  389. package/dist/images/method/Wallet/Binfinite/Binfinite_SVG.svg +0 -14
  390. package/dist/images/method/Wallet/Binfinite/Binfinite_V1_ROU.svg +0 -7
  391. package/dist/images/method/Wallet/Binfinite/Binfinite_V1_SQU.svg +0 -7
  392. package/dist/images/method/Wallet/Binfinite/Binfinite_V2_ROU.svg +0 -15
  393. package/dist/images/method/Wallet/Binfinite/Binfinite_V2_SQU.svg +0 -15
  394. package/dist/images/method/Wallet/Binfinite/Binfinite_V3_ROU.svg +0 -15
  395. package/dist/images/method/Wallet/Binfinite/Binfinite_V3_SQU.svg +0 -15
  396. package/dist/images/method/Wallet/Boost/Boost_SVG.svg +0 -10
  397. package/dist/images/method/Wallet/Boost/Boost_V1_ROU.svg +0 -6
  398. package/dist/images/method/Wallet/Boost/Boost_V1_SQU.svg +0 -6
  399. package/dist/images/method/Wallet/Boost/Boost_V2_ROU.svg +0 -11
  400. package/dist/images/method/Wallet/Boost/Boost_V2_SQU.svg +0 -11
  401. package/dist/images/method/Wallet/Boost/Boost_V3_ROU.svg +0 -11
  402. package/dist/images/method/Wallet/Boost/Boost_V3_SQU.svg +0 -11
  403. package/dist/images/method/Wallet/FavePay/FavePay_SVG.svg +0 -12
  404. package/dist/images/method/Wallet/FavePay/FavePay_V1_ROU.svg +0 -16
  405. package/dist/images/method/Wallet/FavePay/FavePay_V1_SQU.svg +0 -16
  406. package/dist/images/method/Wallet/FavePay/FavePay_V2_ROU.svg +0 -13
  407. package/dist/images/method/Wallet/FavePay/FavePay_V2_SQU.svg +0 -13
  408. package/dist/images/method/Wallet/GoPayz/GoPayz_SVG.svg +0 -12
  409. package/dist/images/method/Wallet/GoPayz/GoPayz_V1_ROU.svg +0 -11
  410. package/dist/images/method/Wallet/GoPayz/GoPayz_V1_SQU.svg +0 -11
  411. package/dist/images/method/Wallet/GoPayz/GoPayz_V2_ROU.svg +0 -5
  412. package/dist/images/method/Wallet/GoPayz/GoPayz_V2_SQU.svg +0 -5
  413. package/dist/images/method/Wallet/GrabPay/GrabPay_SVG.svg +0 -15
  414. package/dist/images/method/Wallet/GrabPay/GrabPay_V1_ROU.svg +0 -13
  415. package/dist/images/method/Wallet/GrabPay/GrabPay_V1_SQU.svg +0 -13
  416. package/dist/images/method/Wallet/GrabPay/GrabPay_V2_ROU.svg +0 -13
  417. package/dist/images/method/Wallet/GrabPay/GrabPay_V2_SQU.svg +0 -13
  418. package/dist/images/method/Wallet/GrabPay/GrabPay_V3_ROU.svg +0 -16
  419. package/dist/images/method/Wallet/GrabPay/GrabPay_V3_SQU.svg +0 -16
  420. package/dist/images/method/Wallet/GrabPay/GrabPay_V4_ROU.svg +0 -16
  421. package/dist/images/method/Wallet/GrabPay/GrabPay_V4_SQU.svg +0 -16
  422. package/dist/images/method/Wallet/Lazada/Lazada_SVG.svg +0 -44
  423. package/dist/images/method/Wallet/Lazada/Lazada_V1_ROU.svg +0 -39
  424. package/dist/images/method/Wallet/Lazada/Lazada_V1_SQU.svg +0 -39
  425. package/dist/images/method/Wallet/Lazada/Lazada_V2_ROU.svg +0 -45
  426. package/dist/images/method/Wallet/Lazada/Lazada_V2_SQU.svg +0 -45
  427. package/dist/images/method/Wallet/MAE/MAE_SVG.svg +0 -4
  428. package/dist/images/method/Wallet/MAE/MAE_V1_ROU.svg +0 -11
  429. package/dist/images/method/Wallet/MAE/MAE_V1_SQU.svg +0 -11
  430. package/dist/images/method/Wallet/MCash/MCash_SVG.svg +0 -7
  431. package/dist/images/method/Wallet/MCash/MCash_V1_ROU.svg +0 -8
  432. package/dist/images/method/Wallet/MCash/MCash_V1_SQU.svg +0 -8
  433. package/dist/images/method/Wallet/MCash/MCash_V2_ROU.svg +0 -8
  434. package/dist/images/method/Wallet/MCash/MCash_V2_SQU.svg +0 -8
  435. package/dist/images/method/Wallet/Presto/Presto_SVG.svg +0 -10
  436. package/dist/images/method/Wallet/Presto/Presto_V1_ROU.svg +0 -11
  437. package/dist/images/method/Wallet/Presto/Presto_V1_SQU.svg +0 -11
  438. package/dist/images/method/Wallet/Presto/Presto_V2_ROU.svg +0 -11
  439. package/dist/images/method/Wallet/Presto/Presto_V2_SQU.svg +0 -11
  440. package/dist/images/method/Wallet/Presto/Presto_V3_ROU.svg +0 -11
  441. package/dist/images/method/Wallet/Presto/Presto_V3_SQU.svg +0 -11
  442. package/dist/images/method/Wallet/Presto/Presto_V4_ROU.svg +0 -5
  443. package/dist/images/method/Wallet/Presto/Presto_V4_SQU.svg +0 -5
  444. package/dist/images/method/Wallet/Presto/Presto_V5_ROU.svg +0 -5
  445. package/dist/images/method/Wallet/Presto/Presto_V5_SQU.svg +0 -5
  446. package/dist/images/method/Wallet/Razer/RazerPay_SVG.svg +0 -11
  447. package/dist/images/method/Wallet/Razer/RazerPay_V1_ROU.svg +0 -12
  448. package/dist/images/method/Wallet/Razer/RazerPay_V1_SQU.svg +0 -12
  449. package/dist/images/method/Wallet/SarawakPay/SarawakPay_SVG.svg +0 -9
  450. package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_ROU.svg +0 -10
  451. package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_SQU.svg +0 -11
  452. package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_ROU.svg +0 -4
  453. package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_SQU.svg +0 -4
  454. package/dist/images/method/Wallet/Senheng/Senheng_SVG.svg +0 -9
  455. package/dist/images/method/Wallet/Senheng/Senheng_V1_ROU.svg +0 -4
  456. package/dist/images/method/Wallet/Senheng/Senheng_V1_SQU.svg +0 -4
  457. package/dist/images/method/Wallet/Senheng/Senheng_V2_ROU.svg +0 -4
  458. package/dist/images/method/Wallet/Senheng/Senheng_V2_SQU.svg +0 -4
  459. package/dist/images/method/Wallet/Setel/Setel_SVG.svg +0 -10
  460. package/dist/images/method/Wallet/Setel/Setel_V1_ROU.svg +0 -11
  461. package/dist/images/method/Wallet/Setel/Setel_V1_SQU.svg +0 -11
  462. package/dist/images/method/Wallet/Setel/Setel_V2_ROU.svg +0 -6
  463. package/dist/images/method/Wallet/Setel/Setel_V2_SQU.svg +0 -6
  464. package/dist/images/method/Wallet/ShopeePay/ShopeePay_SVG.svg +0 -13
  465. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_ROU.svg +0 -14
  466. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_SQU.svg +0 -14
  467. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_ROU.svg +0 -12
  468. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_SQU.svg +0 -12
  469. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_ROU.svg +0 -5
  470. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_SQU.svg +0 -5
  471. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_ROU.svg +0 -5
  472. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_SQU.svg +0 -5
  473. package/dist/images/method/Wallet/TNG/TNG_SVG.svg +0 -27
  474. package/dist/images/method/Wallet/TNG/TNG_V1_ROU.svg +0 -27
  475. package/dist/images/method/Wallet/TNG/TNG_V1_SQU.svg +0 -27
  476. package/dist/images/method/Wallet/TaPay/TaPay_SVG.svg +0 -25
  477. package/dist/images/method/Wallet/TaPay/TaPay_V1_ROU.svg +0 -25
  478. package/dist/images/method/Wallet/TaPay/TaPay_V1_SQU.svg +0 -25
  479. package/dist/images/method/Wallet/TaPay/TaPay_V2_ROU.svg +0 -25
  480. package/dist/images/method/Wallet/TaPay/TaPay_V2_SQU.svg +0 -25
  481. package/dist/images/method/Wallet/Truemoney/Truemoney_SVG.svg +0 -42
  482. package/dist/images/method/Wallet/Truemoney/Truemoney_V1_ROU.svg +0 -8
  483. package/dist/images/method/Wallet/Truemoney/Truemoney_V1_SQU.svg +0 -8
  484. package/dist/images/method/Wallet/Truemoney/Truemoney_V2_ROU.svg +0 -17
  485. package/dist/images/method/Wallet/Truemoney/Truemoney_V2_SQU.svg +0 -17
  486. package/dist/images/method/Wallet/WechatPay/WeChat_SVG.svg +0 -4
  487. package/dist/images/method/Wallet/WechatPay/WeChat_V1_ROU.svg +0 -4
  488. package/dist/images/method/Wallet/WechatPay/WeChat_V1_SQU.svg +0 -4
  489. package/dist/images/method/Wallet/WechatPay/WeChat_V2_ROU.svg +0 -4
  490. package/dist/images/method/Wallet/WechatPay/WeChat_V2_SQU.svg +0 -4
  491. package/dist/images/method/Wallet/WechatPay/WeChat_V3_ROU.svg +0 -5
  492. package/dist/images/method/Wallet/WechatPay/WeChat_V3_SQU.svg +0 -5
  493. package/dist/images/method/Wallet/Zapp/Zapp_SVG.svg +0 -6
  494. package/dist/images/method/Wallet/Zapp/Zapp_V1_ROU.svg +0 -7
  495. package/dist/images/method/Wallet/Zapp/Zapp_V1_SQU.svg +0 -7
  496. package/dist/index-DvzXwr90.js +0 -40075
  497. package/dist/index.vue_vue_type_script_setup_true_lang-y4tchjya.js +0 -150
  498. package/dist/locales/en/business.json +0 -4
  499. package/dist/locales/en/common.json +0 -272
  500. package/dist/locales/en/country.json +0 -4
  501. package/dist/locales/en/payment.json +0 -27
  502. package/dist/locales/en/transaction.json +0 -25
  503. package/dist/locales/en/user.json +0 -61
  504. package/dist/locales/zh/business.json +0 -4
  505. package/dist/locales/zh/common.json +0 -272
  506. package/dist/locales/zh/country.json +0 -6
  507. package/dist/locales/zh/payment.json +0 -27
  508. package/dist/locales/zh/transaction.json +0 -25
  509. package/dist/locales/zh/user.json +0 -61
@@ -0,0 +1,702 @@
1
+ import { defineComponent as I, resolveComponent as y, openBlock as b, createElementBlock as G, Fragment as D, createElementVNode as i, createVNode as o, withCtx as w, createTextVNode as x, toDisplayString as S, createCommentVNode as U, createBlock as V, ref as C, watch as K, computed as E, unref as p, isRef as M, h as N, onMounted as O, resolveDynamicComponent as j, normalizeProps as z, mergeProps as H } from "vue";
2
+ import { p as T } from "./index-DN6pSWL_.js";
3
+ import { g as _, b as B, u as L } from "./index-De4-LJjg.js";
4
+ import { _ as Z } from "./Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js";
5
+ import { useRouter as J } from "vue-router";
6
+ import { u as Q } from "./index-DA_XRfnd.js";
7
+ import { P as q } from "./PDFViewer-CjH_C1uT.js";
8
+ import { useSnackbar as X } from "@feedmepos/ui-library";
9
+ import { u as Y } from "./error-K1CakhA9.js";
10
+ import { z as k, a as P } from "./validator-D5jtpt9A.js";
11
+ const h = { class: "flex gap-16 mb-6" }, ee = ["src"], te = /* @__PURE__ */ I({
12
+ __name: "Information",
13
+ props: {
14
+ payoutAccount: {
15
+ type: Object,
16
+ required: !0
17
+ }
18
+ },
19
+ setup(t) {
20
+ return (d, e) => {
21
+ const m = y("FmCardHeader"), r = y("FmCardSection"), a = y("FmCard");
22
+ return b(), G(D, null, [
23
+ i("div", h, [
24
+ o(a, {
25
+ horizontal: "",
26
+ class: "flex-1 p-6",
27
+ variant: "elevated"
28
+ }, {
29
+ default: w(() => [
30
+ o(r, { class: "flex flex-col gap-16 justify-between" }, {
31
+ default: w(() => [
32
+ o(m, {
33
+ class: "p-0",
34
+ title: "Account Info",
35
+ subtitle: ""
36
+ }),
37
+ o(r, { class: "p-0" }, {
38
+ default: w(() => {
39
+ var u, v, f, n, l;
40
+ return [
41
+ e[0] || (e[0] = i("b", null, "For", -1)),
42
+ x(": " + S((v = (u = t.payoutAccount) == null ? void 0 : u.store) == null ? void 0 : v.event) + " ", 1),
43
+ e[1] || (e[1] = i("br", null, null, -1)),
44
+ e[2] || (e[2] = i("b", null, "Reference", -1)),
45
+ x(": " + S((n = (f = t.payoutAccount) == null ? void 0 : f.store) == null ? void 0 : n.id), 1),
46
+ e[3] || (e[3] = i("br", null, null, -1)),
47
+ e[4] || (e[4] = i("b", null, "Business", -1)),
48
+ x(": " + S((l = t.payoutAccount) == null ? void 0 : l.businessId), 1),
49
+ e[5] || (e[5] = i("br", null, null, -1))
50
+ ];
51
+ }),
52
+ _: 1
53
+ })
54
+ ]),
55
+ _: 1
56
+ })
57
+ ]),
58
+ _: 1
59
+ }),
60
+ o(a, {
61
+ horizontal: "",
62
+ class: "flex-1 p-6",
63
+ variant: "elevated"
64
+ }, {
65
+ default: w(() => [
66
+ o(r, { class: "flex flex-col gap-16 justify-between" }, {
67
+ default: w(() => [
68
+ o(m, {
69
+ class: "p-0",
70
+ title: "Key Person",
71
+ subtitle: ""
72
+ }),
73
+ o(r, { class: "p-0" }, {
74
+ default: w(() => {
75
+ var u, v, f, n, l, s, c, F;
76
+ return [
77
+ e[6] || (e[6] = i("b", null, "Email", -1)),
78
+ x(": " + S((f = (v = (u = t.payoutAccount) == null ? void 0 : u.store) == null ? void 0 : v.keyPerson) == null ? void 0 : f.email) + " ", 1),
79
+ e[7] || (e[7] = i("br", null, null, -1)),
80
+ e[8] || (e[8] = i("b", null, "Name", -1)),
81
+ x(": " + S((s = (l = (n = t.payoutAccount) == null ? void 0 : n.store) == null ? void 0 : l.keyPerson) == null ? void 0 : s.name), 1),
82
+ e[9] || (e[9] = i("br", null, null, -1)),
83
+ e[10] || (e[10] = i("b", null, "Phone", -1)),
84
+ x(": " + S((F = (c = t.payoutAccount) == null ? void 0 : c.store.keyPerson) == null ? void 0 : F.phone), 1),
85
+ e[11] || (e[11] = i("br", null, null, -1))
86
+ ];
87
+ }),
88
+ _: 1
89
+ })
90
+ ]),
91
+ _: 1
92
+ })
93
+ ]),
94
+ _: 1
95
+ })
96
+ ]),
97
+ e[12] || (e[12] = i("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "Exterior Photo", -1)),
98
+ t.payoutAccount.store.exteriorPhoto ? (b(), G("img", {
99
+ key: 0,
100
+ src: t.payoutAccount.store.exteriorPhoto
101
+ }, null, 8, ee)) : U("", !0)
102
+ ], 64);
103
+ };
104
+ }
105
+ }), ae = { class: "flex gap-16 mt-6" }, ne = { class: "flex-1" }, le = { class: "flex-1" }, oe = /* @__PURE__ */ I({
106
+ __name: "Settlement",
107
+ props: {
108
+ payoutAccount: {
109
+ type: Object,
110
+ required: !0
111
+ }
112
+ },
113
+ setup(t) {
114
+ return (d, e) => {
115
+ const m = y("FmCardHeader"), r = y("FmCardSection"), a = y("FmCard");
116
+ return b(), G(D, null, [
117
+ o(a, {
118
+ horizontal: "",
119
+ class: "flex-1 p-6 mx-6",
120
+ variant: "elevated"
121
+ }, {
122
+ default: w(() => [
123
+ o(r, { class: "flex flex-col gap-16 justify-between" }, {
124
+ default: w(() => [
125
+ o(m, {
126
+ class: "p-0",
127
+ title: "Bank Info",
128
+ subtitle: ""
129
+ }),
130
+ o(r, { class: "p-0" }, {
131
+ default: w(() => {
132
+ var u, v, f, n, l, s;
133
+ return [
134
+ e[0] || (e[0] = i("b", null, "Bank", -1)),
135
+ x(": " + S((v = (u = t.payoutAccount) == null ? void 0 : u.store.bank) == null ? void 0 : v.name), 1),
136
+ e[1] || (e[1] = i("br", null, null, -1)),
137
+ e[2] || (e[2] = i("b", null, "Name", -1)),
138
+ x(": " + S((n = (f = t.payoutAccount) == null ? void 0 : f.store.bank) == null ? void 0 : n.holderName), 1),
139
+ e[3] || (e[3] = i("br", null, null, -1)),
140
+ e[4] || (e[4] = i("b", null, "Number", -1)),
141
+ x(": " + S((s = (l = t.payoutAccount) == null ? void 0 : l.store.bank) == null ? void 0 : s.accountNumber), 1)
142
+ ];
143
+ }),
144
+ _: 1
145
+ })
146
+ ]),
147
+ _: 1
148
+ })
149
+ ]),
150
+ _: 1
151
+ }),
152
+ i("div", ae, [
153
+ i("div", ne, [
154
+ e[5] || (e[5] = i("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "SSM", -1)),
155
+ t.payoutAccount.store.ssm ? (b(), V(q, {
156
+ key: 0,
157
+ pdf: t.payoutAccount.store.ssm,
158
+ "disable-text-layer": !0,
159
+ "disable-annotation-layer": !0
160
+ }, null, 8, ["pdf"])) : U("", !0)
161
+ ]),
162
+ i("div", le, [
163
+ e[6] || (e[6] = i("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "Bank Statement", -1)),
164
+ t.payoutAccount.store.bankStatement ? (b(), V(q, {
165
+ key: 0,
166
+ pdf: t.payoutAccount.store.bankStatement,
167
+ "disable-text-layer": !0,
168
+ "disable-annotation-layer": !0
169
+ }, null, 8, ["pdf"])) : U("", !0)
170
+ ])
171
+ ])
172
+ ], 64);
173
+ };
174
+ }
175
+ }), ue = /* @__PURE__ */ I({
176
+ __name: "RateInput",
177
+ props: {
178
+ data: {},
179
+ onChange: { type: Function }
180
+ },
181
+ setup(t) {
182
+ const d = t, e = C(d.data.toString());
183
+ return K(e, (m) => {
184
+ d.onChange(parseFloat(m));
185
+ }), (m, r) => {
186
+ const a = y("FmTextField");
187
+ return b(), V(a, {
188
+ inputmode: "decimal",
189
+ modelValue: e.value,
190
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => e.value = u)
191
+ }, {
192
+ append: w(() => r[1] || (r[1] = [
193
+ x("%")
194
+ ])),
195
+ _: 1
196
+ }, 8, ["modelValue"]);
197
+ };
198
+ }
199
+ }), re = /* @__PURE__ */ I({
200
+ __name: "TPlusInput",
201
+ props: {
202
+ data: {},
203
+ onChange: { type: Function }
204
+ },
205
+ setup(t) {
206
+ const d = t, e = C(d.data.toString());
207
+ return K(e, (m) => {
208
+ d.onChange(parseInt(m));
209
+ }), (m, r) => {
210
+ const a = y("FmTextField");
211
+ return b(), V(a, {
212
+ inputmode: "numeric",
213
+ modelValue: e.value,
214
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => e.value = u)
215
+ }, null, 8, ["modelValue"]);
216
+ };
217
+ }
218
+ }), se = { class: "flex gap-16 mt-6" }, ie = { class: "flex-1" }, de = { class: "flex-1" }, ce = { class: "my-6 w-full flex justify-end" }, me = { class: "w-[320px]" }, pe = /* @__PURE__ */ I({
219
+ __name: "PaymentStatus",
220
+ props: {
221
+ onUpdate: {
222
+ type: Function,
223
+ required: !0
224
+ },
225
+ payoutAccount: {
226
+ type: Object,
227
+ required: !0
228
+ }
229
+ },
230
+ setup(t) {
231
+ const d = t, e = C(!1), m = X(), r = async (n) => {
232
+ try {
233
+ e.value = !0, await d.onUpdate(n), m.open({
234
+ type: "success",
235
+ title: "Payout account update succesfully"
236
+ });
237
+ } catch (l) {
238
+ m.open({
239
+ type: "error",
240
+ title: "Error occurs when updating payout account",
241
+ message: Y(l)
242
+ });
243
+ } finally {
244
+ e.value = !1;
245
+ }
246
+ }, { search: a } = Q({
247
+ search: ""
248
+ }), u = E(() => {
249
+ const { ssm: n, bank: l, bankStatement: s } = d.payoutAccount.store;
250
+ return n && l && l.name && l.accountNumber && l.holderName && s;
251
+ }), v = C(""), f = [
252
+ {
253
+ header: () => "Payment Method",
254
+ accessorKey: "issuer",
255
+ cell: (n) => `${n.row.original.issuer} (${n.row.original.variant})`
256
+ },
257
+ {
258
+ header: () => "Rate",
259
+ accessorKey: "rate",
260
+ cell: ({ row: n }) => {
261
+ let l = 0;
262
+ return n.original.rate && (l = n.original.rate.amount / Math.pow(10, n.original.rate.precision)), N(ue, {
263
+ data: l,
264
+ onChange: (s) => {
265
+ const c = d.payoutAccount.methods.at(n.index);
266
+ c.rate || (c.rate = {
267
+ amount: 0,
268
+ precision: 4
269
+ }), c.rate.amount = s * Math.pow(10, c.rate.precision);
270
+ }
271
+ });
272
+ }
273
+ },
274
+ {
275
+ header: () => "T plus",
276
+ accessorKey: "tPlus",
277
+ cell: ({ row: n }) => N(re, {
278
+ data: n.original.tPlus ?? 0,
279
+ onChange: (l) => {
280
+ const s = d.payoutAccount.methods.at(n.index);
281
+ s.tPlus = l;
282
+ }
283
+ })
284
+ }
285
+ ];
286
+ return (n, l) => {
287
+ const s = y("FmRadio"), c = y("FmRadioGroup"), F = y("FmSwitch"), A = y("FmSearch"), g = y("FmTable"), W = y("FmButton");
288
+ return b(), G(D, null, [
289
+ i("div", se, [
290
+ i("div", ie, [
291
+ o(c, {
292
+ modelValue: t.payoutAccount.status,
293
+ "onUpdate:modelValue": l[0] || (l[0] = ($) => t.payoutAccount.status = $),
294
+ label: "Account Status"
295
+ }, {
296
+ default: w(() => [
297
+ o(s, {
298
+ value: "NEW",
299
+ label: "New"
300
+ }),
301
+ o(s, {
302
+ value: "PENDING",
303
+ label: "Pending"
304
+ }),
305
+ o(s, {
306
+ value: "APPROVED",
307
+ label: "Approved"
308
+ })
309
+ ]),
310
+ _: 1
311
+ }, 8, ["modelValue"])
312
+ ]),
313
+ i("div", de, [
314
+ o(F, {
315
+ modelValue: t.payoutAccount.enable,
316
+ "onUpdate:modelValue": l[1] || (l[1] = ($) => t.payoutAccount.enable = $),
317
+ disabled: !u.value,
318
+ label: "Enabled",
319
+ sublabel: "Merchant can use online features such as e-payment, settlement"
320
+ }, null, 8, ["modelValue", "disabled"])
321
+ ])
322
+ ]),
323
+ t.payoutAccount.enable ? (b(), G(D, { key: 0 }, [
324
+ i("div", ce, [
325
+ i("div", me, [
326
+ o(A, {
327
+ modelValue: p(a),
328
+ "onUpdate:modelValue": l[2] || (l[2] = ($) => M(a) ? a.value = $ : null),
329
+ placeholder: "Search Method ..."
330
+ }, null, 8, ["modelValue"])
331
+ ])
332
+ ]),
333
+ o(g, {
334
+ class: "mt-6",
335
+ modelValue: v.value,
336
+ "onUpdate:modelValue": l[3] || (l[3] = ($) => v.value = $),
337
+ "search-value": p(a),
338
+ "row-data": t.payoutAccount.methods,
339
+ "column-defs": f
340
+ }, null, 8, ["modelValue", "search-value", "row-data"])
341
+ ], 64)) : U("", !0),
342
+ o(W, {
343
+ class: "w-full mt-6",
344
+ variant: "primary",
345
+ label: "Save",
346
+ loading: e.value,
347
+ onclick: () => r(t.payoutAccount)
348
+ }, null, 8, ["loading", "onclick"])
349
+ ], 64);
350
+ };
351
+ }
352
+ }), R = {
353
+ async get(t) {
354
+ return _(
355
+ await B().get(
356
+ `restaurants/${t}/payment-gateway`
357
+ )
358
+ );
359
+ },
360
+ async upsert(t, d) {
361
+ return _(
362
+ await B().post(
363
+ `restaurants/${t}/payment-gateway`,
364
+ { data: d }
365
+ )
366
+ );
367
+ },
368
+ async delete(t, d) {
369
+ return _(
370
+ await B().delete(
371
+ `restaurants/${t}/payment-gateway/${d}`
372
+ )
373
+ );
374
+ }
375
+ }, ye = { class: "flex mt-6 space-x-6" }, fe = /* @__PURE__ */ I({
376
+ __name: "FiuuGateway",
377
+ props: {
378
+ onUpdate: {
379
+ type: Function,
380
+ required: !0
381
+ },
382
+ onDelete: {
383
+ type: Function,
384
+ required: !0
385
+ },
386
+ gateway: {
387
+ type: Object,
388
+ required: !0
389
+ }
390
+ },
391
+ setup(t) {
392
+ var m;
393
+ const e = C(((m = t.gateway) == null ? void 0 : m.config) || {
394
+ merchantId: "",
395
+ uniqueId: "",
396
+ verifyKey: "",
397
+ secretKey: "",
398
+ applicationCode: "",
399
+ offlineSecret: ""
400
+ });
401
+ return (r, a) => {
402
+ const u = y("FmTextField"), v = y("FmButton"), f = y("FmForm");
403
+ return b(), V(f, {
404
+ ref: "form",
405
+ class: "flex flex-col gap-16",
406
+ onValidationSuccess: a[6] || (a[6] = () => t.onUpdate(e.value))
407
+ }, {
408
+ default: w(() => [
409
+ o(u, {
410
+ modelValue: e.value.merchantId,
411
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => e.value.merchantId = n),
412
+ label: "Merchant ID",
413
+ rules: p(k)(p(P).string())
414
+ }, null, 8, ["modelValue", "rules"]),
415
+ o(u, {
416
+ modelValue: e.value.uniqueId,
417
+ "onUpdate:modelValue": a[1] || (a[1] = (n) => e.value.uniqueId = n),
418
+ label: "Unique ID",
419
+ rules: p(k)(p(P).string())
420
+ }, null, 8, ["modelValue", "rules"]),
421
+ o(u, {
422
+ modelValue: e.value.verifyKey,
423
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => e.value.verifyKey = n),
424
+ label: "Verify Key",
425
+ rules: p(k)(p(P).string())
426
+ }, null, 8, ["modelValue", "rules"]),
427
+ o(u, {
428
+ modelValue: e.value.secretKey,
429
+ "onUpdate:modelValue": a[3] || (a[3] = (n) => e.value.secretKey = n),
430
+ label: "Secret Key",
431
+ rules: p(k)(p(P).string())
432
+ }, null, 8, ["modelValue", "rules"]),
433
+ o(u, {
434
+ modelValue: e.value.applicationCode,
435
+ "onUpdate:modelValue": a[4] || (a[4] = (n) => e.value.applicationCode = n),
436
+ label: "Application Code ( Offline )",
437
+ rules: p(k)(p(P).string())
438
+ }, null, 8, ["modelValue", "rules"]),
439
+ o(u, {
440
+ modelValue: e.value.offlineSecret,
441
+ "onUpdate:modelValue": a[5] || (a[5] = (n) => e.value.offlineSecret = n),
442
+ label: "Offline Secret ( Offline )",
443
+ rules: p(k)(p(P).string())
444
+ }, null, 8, ["modelValue", "rules"]),
445
+ i("div", ye, [
446
+ t.gateway ? (b(), V(v, {
447
+ key: 0,
448
+ class: "flex-1",
449
+ variant: "secondary",
450
+ label: "Delete",
451
+ onclick: () => t.onDelete(t.gateway)
452
+ }, null, 8, ["onclick"])) : U("", !0),
453
+ o(v, {
454
+ type: "submit",
455
+ class: "flex-1",
456
+ variant: "primary",
457
+ label: "Save"
458
+ })
459
+ ])
460
+ ]),
461
+ _: 1
462
+ }, 512);
463
+ };
464
+ }
465
+ }), ve = { class: "flex mt-6 space-x-6" }, be = /* @__PURE__ */ I({
466
+ __name: "RevenueMonsterGateway",
467
+ props: {
468
+ onUpdate: {
469
+ type: Function,
470
+ required: !0
471
+ },
472
+ onDelete: {
473
+ type: Function,
474
+ required: !0
475
+ },
476
+ gateway: {
477
+ type: Object,
478
+ required: !0
479
+ }
480
+ },
481
+ setup(t) {
482
+ var m;
483
+ const e = C(((m = t.gateway) == null ? void 0 : m.config) || {
484
+ storeId: "",
485
+ clientId: "",
486
+ clientSecret: "",
487
+ clientPrivateKey: ""
488
+ });
489
+ return (r, a) => {
490
+ const u = y("FmTextField"), v = y("FmTextarea"), f = y("FmButton"), n = y("FmForm");
491
+ return b(), V(n, {
492
+ ref: "form",
493
+ class: "flex flex-col gap-16",
494
+ onValidationSuccess: a[4] || (a[4] = () => t.onUpdate(e.value))
495
+ }, {
496
+ default: w(() => [
497
+ o(u, {
498
+ modelValue: e.value.storeId,
499
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => e.value.storeId = l),
500
+ label: "Store ID",
501
+ rules: p(k)(p(P).string())
502
+ }, null, 8, ["modelValue", "rules"]),
503
+ o(u, {
504
+ modelValue: e.value.clientId,
505
+ "onUpdate:modelValue": a[1] || (a[1] = (l) => e.value.clientId = l),
506
+ label: "Client ID",
507
+ rules: p(k)(p(P).string())
508
+ }, null, 8, ["modelValue", "rules"]),
509
+ o(u, {
510
+ modelValue: e.value.clientSecret,
511
+ "onUpdate:modelValue": a[2] || (a[2] = (l) => e.value.clientSecret = l),
512
+ label: "Client Secret",
513
+ rules: p(k)(p(P).string())
514
+ }, null, 8, ["modelValue", "rules"]),
515
+ o(v, {
516
+ modelValue: e.value.clientPrivateKey,
517
+ "onUpdate:modelValue": a[3] || (a[3] = (l) => e.value.clientPrivateKey = l),
518
+ label: "Client Private Key"
519
+ }, null, 8, ["modelValue"]),
520
+ i("div", ve, [
521
+ t.gateway ? (b(), V(f, {
522
+ key: 0,
523
+ class: "flex-1",
524
+ variant: "secondary",
525
+ label: "Delete",
526
+ onclick: () => t.onDelete(t.gateway)
527
+ }, null, 8, ["onclick"])) : U("", !0),
528
+ o(f, {
529
+ type: "submit",
530
+ class: "flex-1",
531
+ variant: "primary",
532
+ label: "Save"
533
+ })
534
+ ])
535
+ ]),
536
+ _: 1
537
+ }, 512);
538
+ };
539
+ }
540
+ }), ge = {
541
+ key: 0,
542
+ class: "flex items-center justify-center min-h-[80vh]"
543
+ }, Fe = /* @__PURE__ */ I({
544
+ __name: "PaymentGateway",
545
+ props: {
546
+ payoutAccount: {
547
+ type: Object,
548
+ required: !0
549
+ }
550
+ },
551
+ setup(t) {
552
+ const d = t, { isLoading: e, startAsyncCall: m } = L(), r = C(), a = C([]);
553
+ function u() {
554
+ m(async () => {
555
+ var s;
556
+ a.value = await R.get(d.payoutAccount.store.id), r.value = (s = a.value.find((c) => c.active)) == null ? void 0 : s.paymentGateway;
557
+ });
558
+ }
559
+ async function v(s) {
560
+ m(async () => {
561
+ var A;
562
+ const c = {
563
+ _id: "",
564
+ _rev: "",
565
+ paymentGateway: r.value,
566
+ config: s,
567
+ active: !0
568
+ }, F = a.value.find((g) => g.paymentGateway === r.value);
569
+ F && (c._id = F._id, c._rev = F._rev), await Promise.all(
570
+ a.value.map(async (g) => {
571
+ g.active && g.paymentGateway !== c.paymentGateway && await R.upsert(d.payoutAccount.store.id, {
572
+ ...g,
573
+ active: !1
574
+ });
575
+ })
576
+ ), await R.upsert(d.payoutAccount.store.id, c), a.value = await R.get(d.payoutAccount.store.id), r.value = (A = a.value.find((g) => g.active)) == null ? void 0 : A.paymentGateway;
577
+ });
578
+ }
579
+ async function f(s) {
580
+ m(async () => {
581
+ var c;
582
+ await R.delete(d.payoutAccount.store.id, s._id), a.value = await R.get(d.payoutAccount.store.id), r.value = (c = a.value.find((F) => F.active)) == null ? void 0 : c.paymentGateway;
583
+ });
584
+ }
585
+ O(u);
586
+ const n = [
587
+ {
588
+ label: "Fiuu",
589
+ value: "RAZER_MERCHANT_SERVICE",
590
+ form: fe
591
+ },
592
+ {
593
+ label: "Revenue Monster",
594
+ value: "REVENUE_MONSTER",
595
+ form: be
596
+ }
597
+ ], l = E(() => {
598
+ var s;
599
+ return (s = n.find((c) => c.value === r.value)) == null ? void 0 : s.form;
600
+ });
601
+ return (s, c) => {
602
+ const F = y("FmCircularProgress"), A = y("FmSelect");
603
+ return b(), G(D, null, [
604
+ p(e) ? (b(), G("div", ge, [
605
+ o(F, { size: "xxl" })
606
+ ])) : (b(), V(A, {
607
+ key: 1,
608
+ modelValue: r.value,
609
+ "onUpdate:modelValue": c[0] || (c[0] = (g) => r.value = g),
610
+ class: "mb-6",
611
+ label: "Payment Service Provider",
612
+ items: n
613
+ }, null, 8, ["modelValue"])),
614
+ r.value ? (b(), V(j(l.value), z(H({ key: 2 }, {
615
+ gateway: a.value.find((g) => g.paymentGateway === r.value),
616
+ onDelete: f,
617
+ onUpdate: v
618
+ })), null, 16)) : U("", !0)
619
+ ], 64);
620
+ };
621
+ }
622
+ }), $e = /* @__PURE__ */ I({
623
+ __name: "PayoutAccountSetting",
624
+ props: {
625
+ accountId: {
626
+ type: String,
627
+ required: !0
628
+ }
629
+ },
630
+ setup(t) {
631
+ const d = t, { tab: e } = Q({
632
+ tab: "information"
633
+ }), { isLoading: m, startAsyncCall: r } = L(!0), a = J(), u = C();
634
+ async function v(s) {
635
+ await T.updateById(
636
+ d.accountId,
637
+ s
638
+ ), u.value = await T.readById(d.accountId);
639
+ }
640
+ const f = [
641
+ {
642
+ label: "Information",
643
+ value: "information",
644
+ icon: "overview",
645
+ render: te
646
+ },
647
+ {
648
+ label: "Settlement",
649
+ value: "settlement",
650
+ icon: "payments",
651
+ render: oe
652
+ },
653
+ {
654
+ label: "MDR Status",
655
+ value: "payment",
656
+ icon: "account_box",
657
+ render: pe
658
+ }
659
+ ];
660
+ function n() {
661
+ r(async () => {
662
+ u.value = await T.readById(d.accountId), u.value.store.event === "ORDERING" && f.push({
663
+ label: "Payment Gateway",
664
+ value: "payment-gateway",
665
+ icon: "assured_workload",
666
+ render: Fe
667
+ });
668
+ });
669
+ }
670
+ O(n);
671
+ const l = E(() => {
672
+ var s;
673
+ return (s = f.find((c) => c.value === e.value)) == null ? void 0 : s.render;
674
+ });
675
+ return (s, c) => {
676
+ var A;
677
+ const F = y("FmTabs");
678
+ return b(), V(Z, {
679
+ title: `Payout Account (${(A = u.value) == null ? void 0 : A._id})`,
680
+ loading: p(m),
681
+ onBack: p(a).back
682
+ }, {
683
+ default: w(() => [
684
+ o(F, {
685
+ "model-value": p(e),
686
+ "onUpdate:modelValue": c[0] || (c[0] = (g) => M(e) ? e.value = g : null),
687
+ class: "mb-6",
688
+ items: f
689
+ }, null, 8, ["model-value"]),
690
+ p(e) ? (b(), V(j(l.value), z(H({ key: 0 }, {
691
+ payoutAccount: u.value,
692
+ onUpdate: v
693
+ })), null, 16)) : U("", !0)
694
+ ]),
695
+ _: 1
696
+ }, 8, ["title", "loading", "onBack"]);
697
+ };
698
+ }
699
+ });
700
+ export {
701
+ $e as default
702
+ };