@feedmepos/mf-payment 0.0.0-beta.3 → 0.0.0-beta.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (515) 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/AutoCopyCell.vue_vue_type_script_setup_true_lang-DWoahPJL.js +28 -0
  4. package/dist/{Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js → Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js} +9 -9
  5. package/dist/Modal-DB8M9o1T.js +13 -0
  6. package/dist/{PayoutAccount-BVljEwn3.js → PDFViewer-CjH_C1uT.js} +10851 -14329
  7. package/dist/PayoutAccount-Bkncr_cB.js +612 -0
  8. package/dist/PayoutAccount-D4mqNLsl.js +272 -0
  9. package/dist/PayoutAccountSetting-B1hM-zzy.js +776 -0
  10. package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
  11. package/dist/Settlement-DtcJVp3Z.js +144 -0
  12. package/dist/Settlement-kXEsjqGo.js +150 -0
  13. package/dist/SettlementTransactions-5JuImQzZ.js +334 -0
  14. package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-csNNWUX5.js} +99 -105
  15. package/dist/Terminal-DGfySdfA.js +339 -0
  16. package/dist/TerminalSetting-CucVft_p.js +374 -0
  17. package/dist/TerminalTransaction-CwoclWJ5.js +237 -0
  18. package/dist/TerminalTransaction-DRlFVw4p.js +243 -0
  19. package/dist/Transaction-CKFRlYUk.js +243 -0
  20. package/dist/Transaction-DA6UzVnz.js +242 -0
  21. package/dist/api/index.d.ts +12 -0
  22. package/dist/api/pagination.d.ts +20 -0
  23. package/dist/api/payment-gateway/index.d.ts +9 -0
  24. package/dist/api/payout/index.d.ts +2 -1
  25. package/dist/api/settlement/index.d.ts +7 -13
  26. package/dist/api/terminal/index.d.ts +12 -1
  27. package/dist/api/terminal-transaction/index.d.ts +9 -0
  28. package/dist/api/transaction/index.d.ts +6 -2
  29. package/dist/app.d.ts +3 -0
  30. package/dist/app.js +105 -82
  31. package/dist/assets/icons/index.d.ts +1 -3
  32. package/dist/assets-RXBV3tUm.js +42 -0
  33. package/dist/clipboard-4jh1WteU.js +10 -0
  34. package/dist/components/AsyncButton.vue.d.ts +21 -0
  35. package/dist/components/AutoCopyCell.vue.d.ts +6 -0
  36. package/dist/components/CursorTable/index.vue.d.ts +16 -5
  37. package/dist/components/PDFViewer.vue.d.ts +0 -2
  38. package/dist/components/RestaurantSelector.vue.d.ts +2 -0
  39. package/dist/error-K1CakhA9.js +6 -0
  40. package/dist/{index-B8_4waUa.js → index-BS_dGfh_.js} +1 -1
  41. package/dist/index-CJp88CGw.js +34 -0
  42. package/dist/index-CNmg4bnZ.js +40 -0
  43. package/dist/index-C_44uoxW.js +55889 -0
  44. package/dist/index-CbUxRjwz.js +47 -0
  45. package/dist/{index-CjCiGW2Y.js → index-Cl2XhO9t.js} +13 -23
  46. package/dist/index.vue_vue_type_script_setup_true_lang-GkJ2OZPm.js +155 -0
  47. package/dist/package.json +8 -8
  48. package/dist/{index-D-lMrCvM.js → payout-account-C_01-U_N.js} +770 -801
  49. package/dist/plugins.d.ts +1 -1
  50. package/dist/style.css +1 -1
  51. package/dist/{transaction-fdJNol6A.js → transaction-yTOBjyUq.js} +29 -13
  52. package/dist/tsconfig.app.tsbuildinfo +1 -1
  53. package/dist/validator-D5jtpt9A.js +2877 -0
  54. package/dist/views/admin/payout-account/PayoutAccountSetting.vue.d.ts +11 -1
  55. package/dist/views/admin/payout-account/cell/RateInput.vue.d.ts +8 -0
  56. package/dist/views/admin/payout-account/cell/TPlusInput.vue.d.ts +8 -0
  57. package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +81 -0
  58. package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
  59. package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +90 -0
  60. package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +81 -0
  61. package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
  62. package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +50 -0
  63. package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
  64. package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +83 -0
  65. package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
  66. package/dist/views/admin/terminal/cell/Actions.vue.d.ts +80 -9
  67. package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +94 -0
  68. package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +94 -0
  69. package/dist/views/admin/terminal/tabs/Information.vue.d.ts +85 -0
  70. package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +94 -0
  71. package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
  72. package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
  73. package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
  74. package/package.json +20 -20
  75. package/dist/PayoutAccount-J3GJxUjj.js +0 -266
  76. package/dist/Settlement-C4IEccV6.js +0 -136
  77. package/dist/Settlement-D4gdbOE0.js +0 -132
  78. package/dist/SettlementTransactions-DYelInkD.js +0 -351
  79. package/dist/Terminal-Co7KPrrb.js +0 -204
  80. package/dist/TerminalTransaction-CtVBUTMg.js +0 -240
  81. package/dist/Transaction-CvDEP2Uq.js +0 -242
  82. package/dist/Transaction-Rk0g5_Gn.js +0 -241
  83. package/dist/assets-CZ2m5tCN.js +0 -43
  84. package/dist/favicon.ico +0 -0
  85. package/dist/icons/anydesk.svg +0 -1
  86. package/dist/icons/sort.svg +0 -3
  87. package/dist/images/gateway/ccdc.svg +0 -44
  88. package/dist/images/gateway/fiuu.jpg +0 -0
  89. package/dist/images/gateway/fm.svg +0 -44
  90. package/dist/images/gateway/rm.jpg +0 -0
  91. package/dist/images/method/BNPL/Ablr/Ablr_SVG.svg +0 -7
  92. package/dist/images/method/BNPL/Ablr/Ablr_V1_ROU.svg +0 -4
  93. package/dist/images/method/BNPL/Ablr/Ablr_V1_SQU.svg +0 -4
  94. package/dist/images/method/BNPL/Ablr/Ablr_V2_ROU.svg +0 -7
  95. package/dist/images/method/BNPL/Ablr/Ablr_V2_SQU.svg +0 -7
  96. package/dist/images/method/BNPL/Atome/Atome_SVG.svg +0 -4
  97. package/dist/images/method/BNPL/Atome/Atome_V1_ROU.svg +0 -4
  98. package/dist/images/method/BNPL/Atome/Atome_V1_SQU.svg +0 -4
  99. package/dist/images/method/BNPL/Atome/Atome_V2_ROU.svg +0 -4
  100. package/dist/images/method/BNPL/Atome/Atome_V2_SQU.svg +0 -4
  101. package/dist/images/method/BNPL/Atome/Atome_V3_ROU.svg +0 -5
  102. package/dist/images/method/BNPL/Atome/Atome_V3_SQU.svg +0 -5
  103. package/dist/images/method/BNPL/IOUPay/IOUPay_SVG.svg +0 -12
  104. package/dist/images/method/BNPL/IOUPay/IOUPay_V1_ROU.svg +0 -7
  105. package/dist/images/method/BNPL/IOUPay/IOUPay_V1_SQU.svg +0 -7
  106. package/dist/images/method/BNPL/IOUPay/IOUPay_V2_ROU.svg +0 -13
  107. package/dist/images/method/BNPL/IOUPay/IOUPay_V2_SQU.svg +0 -13
  108. package/dist/images/method/BNPL/ShopBack/ShopBack_SVG.svg +0 -6
  109. package/dist/images/method/BNPL/ShopBack/ShopBack_V1_ROU.svg +0 -6
  110. package/dist/images/method/BNPL/ShopBack/ShopBack_V1_SQU.svg +0 -6
  111. package/dist/images/method/BNPL/ShopBack/ShopBack_V2_ROU.svg +0 -4
  112. package/dist/images/method/BNPL/ShopBack/ShopBack_V2_SQU.svg +0 -4
  113. package/dist/images/method/BNPL/Split/Split_SVG.svg +0 -4
  114. package/dist/images/method/BNPL/Split/Split_V1_ROU.svg +0 -5
  115. package/dist/images/method/BNPL/Split/Split_V1_SQU.svg +0 -5
  116. package/dist/images/method/BNPL/Split/Split_V2_ROU.svg +0 -5
  117. package/dist/images/method/BNPL/Split/Split_V2_SQU.svg +0 -5
  118. package/dist/images/method/BNPL/Split/Split_V3_ROU.svg +0 -4
  119. package/dist/images/method/BNPL/Split/Split_V3_SQU.svg +0 -4
  120. package/dist/images/method/BNPL/Split/Split_V4_ROU.svg +0 -4
  121. package/dist/images/method/BNPL/Split/Split_V4_SQU.svg +0 -4
  122. package/dist/images/method/Banks/AEONBank/AEONBank_SVG.svg +0 -16
  123. package/dist/images/method/Banks/AEONBank/AEONBank_V1_BSQU.svg +0 -17
  124. package/dist/images/method/Banks/AEONBank/AEONBank_V1_LG.svg +0 -17
  125. package/dist/images/method/Banks/AEONBank/AEONBank_V1_ROU.svg +0 -6
  126. package/dist/images/method/Banks/AEONBank/AEONBank_V1_SQU.svg +0 -6
  127. package/dist/images/method/Banks/AEONBank/AEONBank_V2_BSQU.svg +0 -17
  128. package/dist/images/method/Banks/AEONBank/AEONBank_V2_LG.svg +0 -17
  129. package/dist/images/method/Banks/AEONBank/AEONBank_V2_ROU.svg +0 -6
  130. package/dist/images/method/Banks/AEONBank/AEONBank_V2_SQU.svg +0 -6
  131. package/dist/images/method/Banks/AffinBank/AffinBank_SVG.svg +0 -56
  132. package/dist/images/method/Banks/AffinBank/AffinBank_V1_BSQU.svg +0 -57
  133. package/dist/images/method/Banks/AffinBank/AffinBank_V1_LG.svg +0 -57
  134. package/dist/images/method/Banks/AffinBank/AffinBank_V1_ROU.svg +0 -10
  135. package/dist/images/method/Banks/AffinBank/AffinBank_V1_SQU.svg +0 -10
  136. package/dist/images/method/Banks/AffinBank/AffinBank_V2_BSQU.svg +0 -57
  137. package/dist/images/method/Banks/AffinBank/AffinBank_V2_LG.svg +0 -57
  138. package/dist/images/method/Banks/AffinBank/AffinBank_V2_ROU.svg +0 -10
  139. package/dist/images/method/Banks/AffinBank/AffinBank_V2_SQU.svg +0 -10
  140. package/dist/images/method/Banks/AllianceBank/AllianceBank_SVG.svg +0 -45
  141. package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_BSQU.svg +0 -46
  142. package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_LG.svg +0 -46
  143. package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_ROU.svg +0 -34
  144. package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_SQU.svg +0 -34
  145. package/dist/images/method/Banks/AmBank/AmBank_SVG.svg +0 -18
  146. package/dist/images/method/Banks/AmBank/AmBank_V1_BSQU.svg +0 -13
  147. package/dist/images/method/Banks/AmBank/AmBank_V1_LG.svg +0 -13
  148. package/dist/images/method/Banks/AmBank/AmBank_V1_ROU.svg +0 -7
  149. package/dist/images/method/Banks/AmBank/AmBank_V1_SQU.svg +0 -7
  150. package/dist/images/method/Banks/AmBank/AmBank_V2_BSQU.svg +0 -13
  151. package/dist/images/method/Banks/AmBank/AmBank_V2_LG.svg +0 -13
  152. package/dist/images/method/Banks/AmBank/AmBank_V2_ROU.svg +0 -7
  153. package/dist/images/method/Banks/AmBank/AmBank_V2_SQU.svg +0 -7
  154. package/dist/images/method/Banks/AmBank/AmBank_V3_BSQU.svg +0 -13
  155. package/dist/images/method/Banks/AmBank/AmBank_V3_LG.svg +0 -13
  156. package/dist/images/method/Banks/AmBank/AmBank_V3_ROU.svg +0 -7
  157. package/dist/images/method/Banks/AmBank/AmBank_V3_SQU.svg +0 -7
  158. package/dist/images/method/Banks/AmBank/AmBank_V4_BSQU.svg +0 -18
  159. package/dist/images/method/Banks/AmBank/AmBank_V4_LG.svg +0 -18
  160. package/dist/images/method/Banks/AmBank/AmBank_V5_BSQU.svg +0 -18
  161. package/dist/images/method/Banks/AmBank/AmBank_V5_LG.svg +0 -18
  162. package/dist/images/method/Banks/ArgoBank/ArgoBank_SVG.svg +0 -12
  163. package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_BSQU.svg +0 -13
  164. package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_LG.svg +0 -13
  165. package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_ROU.svg +0 -4
  166. package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_SQU.svg +0 -4
  167. package/dist/images/method/Banks/BSN/BSN_SVG.svg +0 -7
  168. package/dist/images/method/Banks/BSN/BSN_V1_BSQU.svg +0 -7
  169. package/dist/images/method/Banks/BSN/BSN_V1_LG.svg +0 -7
  170. package/dist/images/method/Banks/BSN/BSN_V1_ROU.svg +0 -4
  171. package/dist/images/method/Banks/BSN/BSN_V1_SQU.svg +0 -4
  172. package/dist/images/method/Banks/BankIslam/BankIslam_SVG.svg +0 -13
  173. package/dist/images/method/Banks/BankIslam/BankIslam_V1_BSQU.svg +0 -14
  174. package/dist/images/method/Banks/BankIslam/BankIslam_V1_LG.svg +0 -14
  175. package/dist/images/method/Banks/BankIslam/BankIslam_V1_ROU.svg +0 -14
  176. package/dist/images/method/Banks/BankIslam/BankIslam_V1_SQU.svg +0 -14
  177. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_SVG.svg +0 -26
  178. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_BSQU.svg +0 -24
  179. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_LG.svg +0 -24
  180. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_ROU.svg +0 -12
  181. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_SQU.svg +0 -12
  182. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_BSQU.svg +0 -26
  183. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_LG.svg +0 -27
  184. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_ROU.svg +0 -14
  185. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_SQU.svg +0 -14
  186. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_ROU.svg +0 -12
  187. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_SQU.svg +0 -12
  188. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_ROU.svg +0 -4
  189. package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_SQU.svg +0 -4
  190. package/dist/images/method/Banks/BankRakyat/BankRakyat_SVG.svg +0 -18
  191. package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_BSQU.svg +0 -18
  192. package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_LG.svg +0 -18
  193. package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_ROU.svg +0 -6
  194. package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_SQU.svg +0 -6
  195. package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_BSQU.svg +0 -18
  196. package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_LG.svg +0 -18
  197. package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_ROU.svg +0 -6
  198. package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_SQU.svg +0 -6
  199. package/dist/images/method/Banks/Cimb/Cimb_SVG.svg +0 -16
  200. package/dist/images/method/Banks/Cimb/Cimb_V1_BSQU.svg +0 -13
  201. package/dist/images/method/Banks/Cimb/Cimb_V1_LG.svg +0 -13
  202. package/dist/images/method/Banks/Cimb/Cimb_V1_ROU.svg +0 -5
  203. package/dist/images/method/Banks/Cimb/Cimb_V1_SQU.svg +0 -5
  204. package/dist/images/method/Banks/Cimb/Cimb_V2_BSQU.svg +0 -13
  205. package/dist/images/method/Banks/Cimb/Cimb_V2_LG.svg +0 -13
  206. package/dist/images/method/Banks/Cimb/Cimb_V2_ROU.svg +0 -5
  207. package/dist/images/method/Banks/Cimb/Cimb_V2_SQU.svg +0 -5
  208. package/dist/images/method/Banks/Cimb/Cimb_V3_BSQU.svg +0 -19
  209. package/dist/images/method/Banks/Cimb/Cimb_V3_LG.svg +0 -19
  210. package/dist/images/method/Banks/Cimb/Cimb_V3_ROU.svg +0 -11
  211. package/dist/images/method/Banks/Cimb/Cimb_V3_SQU.svg +0 -11
  212. package/dist/images/method/Banks/Cimb/Cimb_V4_BSQU.svg +0 -14
  213. package/dist/images/method/Banks/Cimb/Cimb_V4_LG.svg +0 -14
  214. package/dist/images/method/Banks/Cimb/Cimb_V5_LG.svg +0 -14
  215. package/dist/images/method/Banks/CitiBank/CitiBank_SVG.svg +0 -4
  216. package/dist/images/method/Banks/CitiBank/CitiBank_V1_BSQU.svg +0 -5
  217. package/dist/images/method/Banks/CitiBank/CitiBank_V1_LG.svg +0 -5
  218. package/dist/images/method/Banks/CitiBank/CitiBank_V1_ROU.svg +0 -5
  219. package/dist/images/method/Banks/CitiBank/CitiBank_V1_SQU.svg +0 -5
  220. package/dist/images/method/Banks/CitiBank/CitiBank_V2_BSQU.svg +0 -5
  221. package/dist/images/method/Banks/CitiBank/CitiBank_V2_LG.svg +0 -5
  222. package/dist/images/method/Banks/CitiBank/CitiBank_V2_ROU.svg +0 -5
  223. package/dist/images/method/Banks/CitiBank/CitiBank_V2_SQU.svg +0 -5
  224. package/dist/images/method/Banks/GXBank/GXBank_SVG.svg +0 -10
  225. package/dist/images/method/Banks/GXBank/GXBank_V1_BSQU.svg +0 -4
  226. package/dist/images/method/Banks/GXBank/GXBank_V1_LG.svg +0 -4
  227. package/dist/images/method/Banks/GXBank/GXBank_V1_ROU.svg +0 -4
  228. package/dist/images/method/Banks/GXBank/GXBank_V1_SQU.svg +0 -4
  229. package/dist/images/method/Banks/GXBank/GXBank_V2_BSQU.svg +0 -4
  230. package/dist/images/method/Banks/GXBank/GXBank_V2_LG.svg +0 -4
  231. package/dist/images/method/Banks/GXBank/GXBank_V2_ROU.svg +0 -4
  232. package/dist/images/method/Banks/GXBank/GXBank_V2_SQU.svg +0 -4
  233. package/dist/images/method/Banks/GXBank/GXBank_V3_BSQU.svg +0 -10
  234. package/dist/images/method/Banks/GXBank/GXBank_V3_LG.svg +0 -10
  235. package/dist/images/method/Banks/GXBank/GXBank_V3_ROU.svg +0 -10
  236. package/dist/images/method/Banks/GXBank/GXBank_V3_SQU.svg +0 -10
  237. package/dist/images/method/Banks/GXBank/GXBank_V4_BSQU.svg +0 -10
  238. package/dist/images/method/Banks/GXBank/GXBank_V4_LG.svg +0 -10
  239. package/dist/images/method/Banks/GXBank/GXBank_V4_ROU.svg +0 -10
  240. package/dist/images/method/Banks/GXBank/GXBank_V4_SQU.svg +0 -10
  241. package/dist/images/method/Banks/GXBank/GXBank_V5_BSQU.svg +0 -10
  242. package/dist/images/method/Banks/GXBank/GXBank_V5_LG.svg +0 -10
  243. package/dist/images/method/Banks/GXBank/GXBank_V5_ROU.svg +0 -10
  244. package/dist/images/method/Banks/GXBank/GXBank_V5_SQU.svg +0 -10
  245. package/dist/images/method/Banks/HSBC/HSBC_SVG.svg +0 -11
  246. package/dist/images/method/Banks/HSBC/HSBC_V1_BSQU.svg +0 -12
  247. package/dist/images/method/Banks/HSBC/HSBC_V1_LG.svg +0 -12
  248. package/dist/images/method/Banks/HSBC/HSBC_V1_ROU.svg +0 -8
  249. package/dist/images/method/Banks/HSBC/HSBC_V1_SQU.svg +0 -8
  250. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_SVG.svg +0 -27
  251. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_BSQU.svg +0 -22
  252. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_LG.svg +0 -22
  253. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_ROU.svg +0 -9
  254. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_SQU.svg +0 -9
  255. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_BSQU.svg +0 -18
  256. package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_LG.svg +0 -18
  257. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_SVG.svg +0 -5
  258. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_BSQU.svg +0 -5
  259. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_LG.svg +0 -5
  260. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_ROU.svg +0 -4
  261. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_SQU.svg +0 -4
  262. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_BSQU.svg +0 -5
  263. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_LG.svg +0 -5
  264. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_ROU.svg +0 -4
  265. package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_SQU.svg +0 -4
  266. package/dist/images/method/Banks/Maybank/MayBank_SVG.svg +0 -22
  267. package/dist/images/method/Banks/Maybank/MayBank_V1_BSQU.svg +0 -22
  268. package/dist/images/method/Banks/Maybank/MayBank_V1_LG.svg +0 -22
  269. package/dist/images/method/Banks/Maybank/MayBank_V1_ROU.svg +0 -15
  270. package/dist/images/method/Banks/Maybank/MayBank_V1_SQU.svg +0 -15
  271. package/dist/images/method/Banks/OCBC/OCBC_SVG.svg +0 -11
  272. package/dist/images/method/Banks/OCBC/OCBC_V1_BSQU.svg +0 -12
  273. package/dist/images/method/Banks/OCBC/OCBC_V1_LG.svg +0 -12
  274. package/dist/images/method/Banks/OCBC/OCBC_V1_ROU.svg +0 -4
  275. package/dist/images/method/Banks/OCBC/OCBC_V1_SQU.svg +0 -4
  276. package/dist/images/method/Banks/OCBC/OCBC_V2_BSQU.svg +0 -12
  277. package/dist/images/method/Banks/OCBC/OCBC_V2_LG.svg +0 -12
  278. package/dist/images/method/Banks/OCBC/OCBC_V2_ROU.svg +0 -4
  279. package/dist/images/method/Banks/OCBC/OCBC_V2_SQU.svg +0 -4
  280. package/dist/images/method/Banks/PublicBank/PublicBank_SVG.svg +0 -13
  281. package/dist/images/method/Banks/PublicBank/PublicBank_V1_BSQU.svg +0 -14
  282. package/dist/images/method/Banks/PublicBank/PublicBank_V1_LG.svg +0 -14
  283. package/dist/images/method/Banks/PublicBank/PublicBank_V1_ROU.svg +0 -4
  284. package/dist/images/method/Banks/PublicBank/PublicBank_V1_SQU.svg +0 -4
  285. package/dist/images/method/Banks/RHB/RHB_SVG.svg +0 -4
  286. package/dist/images/method/Banks/RHB/RHB_V1_BSQU.svg +0 -5
  287. package/dist/images/method/Banks/RHB/RHB_V1_LG.svg +0 -5
  288. package/dist/images/method/Banks/RHB/RHB_V1_ROU.svg +0 -5
  289. package/dist/images/method/Banks/RHB/RHB_V1_SQU.svg +0 -5
  290. package/dist/images/method/Banks/RHB/RHB_V2_BSQU.svg +0 -5
  291. package/dist/images/method/Banks/RHB/RHB_V2_LG.svg +0 -5
  292. package/dist/images/method/Banks/RHB/RHB_V2_ROU.svg +0 -5
  293. package/dist/images/method/Banks/RHB/RHB_V2_SQU.svg +0 -5
  294. package/dist/images/method/Banks/StandardChartered/StandardChartered_SVG.svg +0 -26
  295. package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_BSQU.svg +0 -27
  296. package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_LG.svg +0 -27
  297. package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_ROU.svg +0 -10
  298. package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_SQU.svg +0 -10
  299. package/dist/images/method/Banks/UOB/UOB_SVG.svg +0 -15
  300. package/dist/images/method/Banks/UOB/UOB_V1_BSQU.svg +0 -16
  301. package/dist/images/method/Banks/UOB/UOB_V1_LG.svg +0 -16
  302. package/dist/images/method/Banks/UOB/UOB_V1_ROU.svg +0 -4
  303. package/dist/images/method/Banks/UOB/UOB_V1_SQU.svg +0 -4
  304. package/dist/images/method/Banks/UOB/UOB_V2_BSQU.svg +0 -16
  305. package/dist/images/method/Banks/UOB/UOB_V2_LG.svg +0 -16
  306. package/dist/images/method/Banks/UOB/UOB_V2_ROU.svg +0 -4
  307. package/dist/images/method/Banks/UOB/UOB_V2_SQU.svg +0 -4
  308. package/dist/images/method/Banks/UOB/UOB_V3_ROU.svg +0 -5
  309. package/dist/images/method/Banks/UOB/UOB_V3_SQU.svg +0 -5
  310. package/dist/images/method/Banks/UOB/UOB_V4_ROU.svg +0 -5
  311. package/dist/images/method/Banks/UOB/UOB_V4_SQU.svg +0 -5
  312. package/dist/images/method/Card/Gobiz/Gobiz_SVG.svg +0 -10
  313. package/dist/images/method/Card/Gobiz/Gobiz_V1_ROU.svg +0 -11
  314. package/dist/images/method/Card/Gobiz/Gobiz_V1_SQU.svg +0 -11
  315. package/dist/images/method/Card/Gobiz/Gobiz_V2_ROU.svg +0 -11
  316. package/dist/images/method/Card/Gobiz/Gobiz_V2_SQU.svg +0 -11
  317. package/dist/images/method/Card/Master/MASTER_SVG.svg +0 -6
  318. package/dist/images/method/Card/Master/MASTER_V1_ROU.svg +0 -7
  319. package/dist/images/method/Card/Master/MASTER_V1_SQU.svg +0 -7
  320. package/dist/images/method/Card/Master/MASTER_V1_TRSP.svg +0 -6
  321. package/dist/images/method/Card/Master/MASTER_V2_ROU.svg +0 -7
  322. package/dist/images/method/Card/Master/MASTER_V2_SQU.svg +0 -7
  323. package/dist/images/method/Card/Paydee/Paydee_SVG.svg +0 -8
  324. package/dist/images/method/Card/Paydee/Paydee_V1_ROU.svg +0 -9
  325. package/dist/images/method/Card/Paydee/Paydee_V1_SQU.svg +0 -9
  326. package/dist/images/method/Card/Paydee/Paydee_V2_ROU.svg +0 -9
  327. package/dist/images/method/Card/Paydee/Paydee_V2_SQU.svg +0 -9
  328. package/dist/images/method/Card/UnionPay/UNIONPAY_SVG.svg +0 -17
  329. package/dist/images/method/Card/UnionPay/UNIONPAY_V1_ROU.svg +0 -18
  330. package/dist/images/method/Card/UnionPay/UNIONPAY_V1_SQU.svg +0 -18
  331. package/dist/images/method/Card/UnionPay/UNIONPAY_V1_TRSP.svg +0 -17
  332. package/dist/images/method/Card/Visa/VISA_SVG.svg +0 -3
  333. package/dist/images/method/Card/Visa/VISA_V1_ROU.svg +0 -4
  334. package/dist/images/method/Card/Visa/VISA_V1_SQU.svg +0 -4
  335. package/dist/images/method/Card/Visa/VISA_V1_TRSP.svg +0 -3
  336. package/dist/images/method/Card/Visa/VISA_V2_ROU.svg +0 -4
  337. package/dist/images/method/Card/Visa/VISA_V2_SQU.svg +0 -4
  338. package/dist/images/method/Card/Visa/VISA_V2_TRSP.svg +0 -3
  339. package/dist/images/method/Mobile/ApplePay/ApplePay_SVG.svg +0 -3
  340. package/dist/images/method/Mobile/ApplePay/ApplePay_V1_ROU.svg +0 -4
  341. package/dist/images/method/Mobile/ApplePay/ApplePay_V1_SQU.svg +0 -4
  342. package/dist/images/method/Mobile/ApplePay/ApplePay_V1_TRSP.svg +0 -3
  343. package/dist/images/method/Mobile/ApplePay/ApplePay_V2_ROU.svg +0 -4
  344. package/dist/images/method/Mobile/ApplePay/ApplePay_V2_SQU.svg +0 -4
  345. package/dist/images/method/Mobile/ApplePay/ApplePay_V2_TRSP.svg +0 -3
  346. package/dist/images/method/Mobile/GooglePay/GooglePay_SVG.svg +0 -7
  347. package/dist/images/method/Mobile/GooglePay/GooglePay_V1_ROU.svg +0 -8
  348. package/dist/images/method/Mobile/GooglePay/GooglePay_V1_SQU.svg +0 -8
  349. package/dist/images/method/Mobile/GooglePay/GooglePay_V1_TRSP.svg +0 -7
  350. package/dist/images/method/Mobile/GooglePay/GooglePay_V2_ROU.svg +0 -8
  351. package/dist/images/method/Mobile/GooglePay/GooglePay_V2_SQU.svg +0 -8
  352. package/dist/images/method/Mobile/GooglePay/GooglePay_V2_TRSP.svg +0 -7
  353. package/dist/images/method/Mobile/GooglePay/GooglePay_V3_ROU.svg +0 -7
  354. package/dist/images/method/Mobile/GooglePay/GooglePay_V3_SQU.svg +0 -7
  355. package/dist/images/method/Mobile/GooglePay/GooglePay_V3_TRSP.svg +0 -6
  356. package/dist/images/method/Mobile/SamsungPay/SamsungPay_SVG.svg +0 -12
  357. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_ROU.svg +0 -13
  358. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_SQU.svg +0 -13
  359. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_ROU.svg +0 -13
  360. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_SQU.svg +0 -13
  361. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_ROU.svg +0 -6
  362. package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_SQU.svg +0 -6
  363. package/dist/images/method/Other/DuitNow/DuitNow_SVG.svg +0 -11
  364. package/dist/images/method/Other/DuitNow/DuitNow_V1_ROU.svg +0 -12
  365. package/dist/images/method/Other/DuitNow/DuitNow_V1_SQU.svg +0 -12
  366. package/dist/images/method/Other/DuitNow/DuitNow_V2_ROU.svg +0 -12
  367. package/dist/images/method/Other/DuitNow/DuitNow_V2_SQU.svg +0 -12
  368. package/dist/images/method/Other/DuitNow/DuitNow_V3_ROU.svg +0 -5
  369. package/dist/images/method/Other/DuitNow/DuitNow_V3_SQU.svg +0 -5
  370. package/dist/images/method/Other/DuitNow/DuitNow_V4_ROU.svg +0 -5
  371. package/dist/images/method/Other/DuitNow/DuitNow_V4_SQU.svg +0 -5
  372. package/dist/images/method/Other/FPX/FPX_SVG.svg +0 -28
  373. package/dist/images/method/Other/FPX/FPX_V1_ROU.svg +0 -29
  374. package/dist/images/method/Other/FPX/FPX_V1_SQU.svg +0 -29
  375. package/dist/images/method/Other/FPX/FPX_V2_ROU.svg +0 -8
  376. package/dist/images/method/Other/FPX/FPX_V2_SQU.svg +0 -8
  377. package/dist/images/method/Other/FPX/FPX_V3_ROU.svg +0 -5
  378. package/dist/images/method/Other/FPX/FPX_V3_SQU.svg +0 -5
  379. package/dist/images/method/Other/MaybankQR/MaybankQR_V1_ROU.svg +0 -35
  380. package/dist/images/method/Other/MaybankQR/MaybankQR_V1_SQU.svg +0 -35
  381. package/dist/images/method/Other/MaybankQR/Maybank_SVG.svg +0 -49
  382. package/dist/images/method/Other/NetsPay/NetsPay_SVG.svg +0 -5
  383. package/dist/images/method/Other/NetsPay/NetsPay_V1_ROU.svg +0 -6
  384. package/dist/images/method/Other/NetsPay/NetsPay_V1_SQU.svg +0 -6
  385. package/dist/images/method/Wallet/Alipay/Alipay_SVG.svg +0 -4
  386. package/dist/images/method/Wallet/Alipay/Alipay_V1_ROU.svg +0 -6
  387. package/dist/images/method/Wallet/Alipay/Alipay_V1_SQU.svg +0 -5
  388. package/dist/images/method/Wallet/Alipay/Alipay_V2_ROU.svg +0 -6
  389. package/dist/images/method/Wallet/Alipay/Alipay_V2_SQU.svg +0 -5
  390. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_SVG.svg +0 -7
  391. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_ROU.svg +0 -8
  392. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_SQU.svg +0 -8
  393. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_ROU.svg +0 -6
  394. package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_SQU.svg +0 -6
  395. package/dist/images/method/Wallet/Binfinite/Binfinite_SVG.svg +0 -14
  396. package/dist/images/method/Wallet/Binfinite/Binfinite_V1_ROU.svg +0 -7
  397. package/dist/images/method/Wallet/Binfinite/Binfinite_V1_SQU.svg +0 -7
  398. package/dist/images/method/Wallet/Binfinite/Binfinite_V2_ROU.svg +0 -15
  399. package/dist/images/method/Wallet/Binfinite/Binfinite_V2_SQU.svg +0 -15
  400. package/dist/images/method/Wallet/Binfinite/Binfinite_V3_ROU.svg +0 -15
  401. package/dist/images/method/Wallet/Binfinite/Binfinite_V3_SQU.svg +0 -15
  402. package/dist/images/method/Wallet/Boost/Boost_SVG.svg +0 -10
  403. package/dist/images/method/Wallet/Boost/Boost_V1_ROU.svg +0 -6
  404. package/dist/images/method/Wallet/Boost/Boost_V1_SQU.svg +0 -6
  405. package/dist/images/method/Wallet/Boost/Boost_V2_ROU.svg +0 -11
  406. package/dist/images/method/Wallet/Boost/Boost_V2_SQU.svg +0 -11
  407. package/dist/images/method/Wallet/Boost/Boost_V3_ROU.svg +0 -11
  408. package/dist/images/method/Wallet/Boost/Boost_V3_SQU.svg +0 -11
  409. package/dist/images/method/Wallet/FavePay/FavePay_SVG.svg +0 -12
  410. package/dist/images/method/Wallet/FavePay/FavePay_V1_ROU.svg +0 -16
  411. package/dist/images/method/Wallet/FavePay/FavePay_V1_SQU.svg +0 -16
  412. package/dist/images/method/Wallet/FavePay/FavePay_V2_ROU.svg +0 -13
  413. package/dist/images/method/Wallet/FavePay/FavePay_V2_SQU.svg +0 -13
  414. package/dist/images/method/Wallet/GoPayz/GoPayz_SVG.svg +0 -12
  415. package/dist/images/method/Wallet/GoPayz/GoPayz_V1_ROU.svg +0 -11
  416. package/dist/images/method/Wallet/GoPayz/GoPayz_V1_SQU.svg +0 -11
  417. package/dist/images/method/Wallet/GoPayz/GoPayz_V2_ROU.svg +0 -5
  418. package/dist/images/method/Wallet/GoPayz/GoPayz_V2_SQU.svg +0 -5
  419. package/dist/images/method/Wallet/GrabPay/GrabPay_SVG.svg +0 -15
  420. package/dist/images/method/Wallet/GrabPay/GrabPay_V1_ROU.svg +0 -13
  421. package/dist/images/method/Wallet/GrabPay/GrabPay_V1_SQU.svg +0 -13
  422. package/dist/images/method/Wallet/GrabPay/GrabPay_V2_ROU.svg +0 -13
  423. package/dist/images/method/Wallet/GrabPay/GrabPay_V2_SQU.svg +0 -13
  424. package/dist/images/method/Wallet/GrabPay/GrabPay_V3_ROU.svg +0 -16
  425. package/dist/images/method/Wallet/GrabPay/GrabPay_V3_SQU.svg +0 -16
  426. package/dist/images/method/Wallet/GrabPay/GrabPay_V4_ROU.svg +0 -16
  427. package/dist/images/method/Wallet/GrabPay/GrabPay_V4_SQU.svg +0 -16
  428. package/dist/images/method/Wallet/Lazada/Lazada_SVG.svg +0 -44
  429. package/dist/images/method/Wallet/Lazada/Lazada_V1_ROU.svg +0 -39
  430. package/dist/images/method/Wallet/Lazada/Lazada_V1_SQU.svg +0 -39
  431. package/dist/images/method/Wallet/Lazada/Lazada_V2_ROU.svg +0 -45
  432. package/dist/images/method/Wallet/Lazada/Lazada_V2_SQU.svg +0 -45
  433. package/dist/images/method/Wallet/MAE/MAE_SVG.svg +0 -4
  434. package/dist/images/method/Wallet/MAE/MAE_V1_ROU.svg +0 -11
  435. package/dist/images/method/Wallet/MAE/MAE_V1_SQU.svg +0 -11
  436. package/dist/images/method/Wallet/MCash/MCash_SVG.svg +0 -7
  437. package/dist/images/method/Wallet/MCash/MCash_V1_ROU.svg +0 -8
  438. package/dist/images/method/Wallet/MCash/MCash_V1_SQU.svg +0 -8
  439. package/dist/images/method/Wallet/MCash/MCash_V2_ROU.svg +0 -8
  440. package/dist/images/method/Wallet/MCash/MCash_V2_SQU.svg +0 -8
  441. package/dist/images/method/Wallet/Presto/Presto_SVG.svg +0 -10
  442. package/dist/images/method/Wallet/Presto/Presto_V1_ROU.svg +0 -11
  443. package/dist/images/method/Wallet/Presto/Presto_V1_SQU.svg +0 -11
  444. package/dist/images/method/Wallet/Presto/Presto_V2_ROU.svg +0 -11
  445. package/dist/images/method/Wallet/Presto/Presto_V2_SQU.svg +0 -11
  446. package/dist/images/method/Wallet/Presto/Presto_V3_ROU.svg +0 -11
  447. package/dist/images/method/Wallet/Presto/Presto_V3_SQU.svg +0 -11
  448. package/dist/images/method/Wallet/Presto/Presto_V4_ROU.svg +0 -5
  449. package/dist/images/method/Wallet/Presto/Presto_V4_SQU.svg +0 -5
  450. package/dist/images/method/Wallet/Presto/Presto_V5_ROU.svg +0 -5
  451. package/dist/images/method/Wallet/Presto/Presto_V5_SQU.svg +0 -5
  452. package/dist/images/method/Wallet/Razer/RazerPay_SVG.svg +0 -11
  453. package/dist/images/method/Wallet/Razer/RazerPay_V1_ROU.svg +0 -12
  454. package/dist/images/method/Wallet/Razer/RazerPay_V1_SQU.svg +0 -12
  455. package/dist/images/method/Wallet/SarawakPay/SarawakPay_SVG.svg +0 -9
  456. package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_ROU.svg +0 -10
  457. package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_SQU.svg +0 -11
  458. package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_ROU.svg +0 -4
  459. package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_SQU.svg +0 -4
  460. package/dist/images/method/Wallet/Senheng/Senheng_SVG.svg +0 -9
  461. package/dist/images/method/Wallet/Senheng/Senheng_V1_ROU.svg +0 -4
  462. package/dist/images/method/Wallet/Senheng/Senheng_V1_SQU.svg +0 -4
  463. package/dist/images/method/Wallet/Senheng/Senheng_V2_ROU.svg +0 -4
  464. package/dist/images/method/Wallet/Senheng/Senheng_V2_SQU.svg +0 -4
  465. package/dist/images/method/Wallet/Setel/Setel_SVG.svg +0 -10
  466. package/dist/images/method/Wallet/Setel/Setel_V1_ROU.svg +0 -11
  467. package/dist/images/method/Wallet/Setel/Setel_V1_SQU.svg +0 -11
  468. package/dist/images/method/Wallet/Setel/Setel_V2_ROU.svg +0 -6
  469. package/dist/images/method/Wallet/Setel/Setel_V2_SQU.svg +0 -6
  470. package/dist/images/method/Wallet/ShopeePay/ShopeePay_SVG.svg +0 -13
  471. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_ROU.svg +0 -14
  472. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_SQU.svg +0 -14
  473. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_ROU.svg +0 -12
  474. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_SQU.svg +0 -12
  475. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_ROU.svg +0 -5
  476. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_SQU.svg +0 -5
  477. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_ROU.svg +0 -5
  478. package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_SQU.svg +0 -5
  479. package/dist/images/method/Wallet/TNG/TNG_SVG.svg +0 -27
  480. package/dist/images/method/Wallet/TNG/TNG_V1_ROU.svg +0 -27
  481. package/dist/images/method/Wallet/TNG/TNG_V1_SQU.svg +0 -27
  482. package/dist/images/method/Wallet/TaPay/TaPay_SVG.svg +0 -25
  483. package/dist/images/method/Wallet/TaPay/TaPay_V1_ROU.svg +0 -25
  484. package/dist/images/method/Wallet/TaPay/TaPay_V1_SQU.svg +0 -25
  485. package/dist/images/method/Wallet/TaPay/TaPay_V2_ROU.svg +0 -25
  486. package/dist/images/method/Wallet/TaPay/TaPay_V2_SQU.svg +0 -25
  487. package/dist/images/method/Wallet/Truemoney/Truemoney_SVG.svg +0 -42
  488. package/dist/images/method/Wallet/Truemoney/Truemoney_V1_ROU.svg +0 -8
  489. package/dist/images/method/Wallet/Truemoney/Truemoney_V1_SQU.svg +0 -8
  490. package/dist/images/method/Wallet/Truemoney/Truemoney_V2_ROU.svg +0 -17
  491. package/dist/images/method/Wallet/Truemoney/Truemoney_V2_SQU.svg +0 -17
  492. package/dist/images/method/Wallet/WechatPay/WeChat_SVG.svg +0 -4
  493. package/dist/images/method/Wallet/WechatPay/WeChat_V1_ROU.svg +0 -4
  494. package/dist/images/method/Wallet/WechatPay/WeChat_V1_SQU.svg +0 -4
  495. package/dist/images/method/Wallet/WechatPay/WeChat_V2_ROU.svg +0 -4
  496. package/dist/images/method/Wallet/WechatPay/WeChat_V2_SQU.svg +0 -4
  497. package/dist/images/method/Wallet/WechatPay/WeChat_V3_ROU.svg +0 -5
  498. package/dist/images/method/Wallet/WechatPay/WeChat_V3_SQU.svg +0 -5
  499. package/dist/images/method/Wallet/Zapp/Zapp_SVG.svg +0 -6
  500. package/dist/images/method/Wallet/Zapp/Zapp_V1_ROU.svg +0 -7
  501. package/dist/images/method/Wallet/Zapp/Zapp_V1_SQU.svg +0 -7
  502. package/dist/index-DvzXwr90.js +0 -40075
  503. package/dist/index.vue_vue_type_script_setup_true_lang-y4tchjya.js +0 -150
  504. package/dist/locales/en/business.json +0 -4
  505. package/dist/locales/en/common.json +0 -272
  506. package/dist/locales/en/country.json +0 -4
  507. package/dist/locales/en/payment.json +0 -27
  508. package/dist/locales/en/transaction.json +0 -25
  509. package/dist/locales/en/user.json +0 -61
  510. package/dist/locales/zh/business.json +0 -4
  511. package/dist/locales/zh/common.json +0 -272
  512. package/dist/locales/zh/country.json +0 -6
  513. package/dist/locales/zh/payment.json +0 -27
  514. package/dist/locales/zh/transaction.json +0 -25
  515. package/dist/locales/zh/user.json +0 -61
@@ -0,0 +1,339 @@
1
+ import { defineComponent as h, openBlock as d, createElementBlock as I, createTextVNode as R, createElementVNode as k, toDisplayString as N, resolveComponent as m, createVNode as _, normalizeClass as U, withCtx as V, createBlock as g, createCommentVNode as A, ref as T, computed as M, unref as c, watch as z, isRef as L, h as S } from "vue";
2
+ import "./index-C_44uoxW.js";
3
+ import { h as Y } from "./moment-h96o7c8I.js";
4
+ import { u as j } from "./index-BS_dGfh_.js";
5
+ import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-GkJ2OZPm.js";
6
+ import { _ as O } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
7
+ import { useSnackbar as P, useDialogChild as Q, useDialog as G } from "@feedmepos/ui-library";
8
+ import { t as F } from "./index-CbUxRjwz.js";
9
+ import { c as H } from "./clipboard-4jh1WteU.js";
10
+ import { u as D } from "./error-K1CakhA9.js";
11
+ import { z as E, a as K } from "./validator-D5jtpt9A.js";
12
+ import { useCoreStore as J } from "@feedmepos/mf-common";
13
+ import { w as W } from "./Modal-DB8M9o1T.js";
14
+ import { useRouter as X } from "vue-router";
15
+ const Z = { class: "t-caption" }, ee = { class: "t-h1 my-6 text-center" }, te = /* @__PURE__ */ h({
16
+ __name: "TerminalBindCodeDialog",
17
+ props: {
18
+ code: {
19
+ type: String,
20
+ required: !0
21
+ }
22
+ },
23
+ setup(u) {
24
+ return (n, o) => (d(), I("div", Z, [
25
+ o[0] || (o[0] = R(" Enter the binding code below on your device to link it with this terminal and apply the configuration. ")),
26
+ k("div", ee, N(u.code), 1)
27
+ ]));
28
+ }
29
+ }), ne = /* @__PURE__ */ h({
30
+ __name: "ID",
31
+ props: {
32
+ row: {},
33
+ data: {}
34
+ },
35
+ setup(u) {
36
+ const n = u, o = P();
37
+ function s() {
38
+ return n.row.original.status === "Active" ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
39
+ }
40
+ function i() {
41
+ try {
42
+ H(n.data), o.open({ title: "Text copied to clipboard." }, 1e3);
43
+ } catch {
44
+ o.open({ title: "Clipboard API incompatible." }, 1e3);
45
+ }
46
+ n.data;
47
+ }
48
+ return (r, a) => {
49
+ const p = m("FmBadge");
50
+ return d(), I("div", {
51
+ onClick: a[0] || (a[0] = (v) => {
52
+ v.stopPropagation(), i();
53
+ })
54
+ }, [
55
+ _(p, {
56
+ inline: "",
57
+ class: U(s())
58
+ }, {
59
+ default: V(() => [
60
+ k("div", null, N(r.data), 1)
61
+ ]),
62
+ _: 1
63
+ }, 8, ["class"])
64
+ ]);
65
+ };
66
+ }
67
+ }), oe = { class: "flex" }, ae = /* @__PURE__ */ h({
68
+ __name: "Actions",
69
+ props: {
70
+ data: {}
71
+ },
72
+ emits: ["link", "unlink", "edit"],
73
+ setup(u, { emit: n }) {
74
+ const o = n;
75
+ return (s, i) => {
76
+ const r = m("FmButton");
77
+ return d(), I("div", oe, [
78
+ s.data.deviceType === "TERMINAL" && !s.data.deviceId ? (d(), g(r, {
79
+ key: 0,
80
+ variant: "plain",
81
+ "prepend-icon": "link",
82
+ onClick: i[0] || (i[0] = (a) => {
83
+ a.stopPropagation(), o("link");
84
+ })
85
+ })) : A("", !0),
86
+ s.data.deviceType === "TERMINAL" && s.data.deviceId ? (d(), g(r, {
87
+ key: 1,
88
+ variant: "plain",
89
+ "prepend-icon": "link_off",
90
+ onClick: i[1] || (i[1] = (a) => {
91
+ a.stopPropagation(), o("unlink");
92
+ })
93
+ })) : A("", !0),
94
+ _(r, {
95
+ variant: "plain",
96
+ "prepend-icon": "edit",
97
+ onClick: i[2] || (i[2] = (a) => {
98
+ a.stopPropagation(), o("edit");
99
+ })
100
+ })
101
+ ]);
102
+ };
103
+ }
104
+ }), re = /* @__PURE__ */ h({
105
+ __name: "TerminalDialog",
106
+ props: {
107
+ terminal: {
108
+ type: Object
109
+ }
110
+ },
111
+ setup(u) {
112
+ var y, x, w;
113
+ const n = u, o = J(), s = Q(), i = T(), r = T((y = n.terminal) == null ? void 0 : y.name), a = T((x = n.terminal) == null ? void 0 : x.referenceId), p = T(((w = n.terminal) == null ? void 0 : w.status) === "Active"), v = M(() => o.restaurants.value.map((t) => ({
114
+ label: t.profile.name,
115
+ value: t._id
116
+ })));
117
+ return (t, e) => {
118
+ const l = m("FmSelect"), b = m("FmTextField"), f = m("FmSwitch"), B = m("FmButton"), $ = m("FmForm");
119
+ return d(), g($, {
120
+ ref: i.value,
121
+ class: "flex flex-col gap-16 mb-6",
122
+ onValidationSuccess: e[3] || (e[3] = () => {
123
+ c(s).emitData({ name: r.value, referenceId: a.value, status: p.value ? "Active" : "Inactive" }), c(s).emitAction("primary");
124
+ })
125
+ }, {
126
+ default: V(() => [
127
+ n.terminal ? A("", !0) : (d(), g(l, {
128
+ key: 0,
129
+ modelValue: a.value,
130
+ "onUpdate:modelValue": e[0] || (e[0] = (C) => a.value = C),
131
+ label: "Restaurant",
132
+ items: v.value,
133
+ rules: c(E)(c(K).string())
134
+ }, null, 8, ["modelValue", "items", "rules"])),
135
+ _(b, {
136
+ modelValue: r.value,
137
+ "onUpdate:modelValue": e[1] || (e[1] = (C) => r.value = C),
138
+ label: "Terminal Name",
139
+ rules: c(E)(c(K).string())
140
+ }, null, 8, ["modelValue", "rules"]),
141
+ n.terminal ? (d(), g(f, {
142
+ key: 1,
143
+ modelValue: p.value,
144
+ "onUpdate:modelValue": e[2] || (e[2] = (C) => p.value = C),
145
+ label: "Status"
146
+ }, null, 8, ["modelValue"])) : A("", !0),
147
+ _(B, {
148
+ type: "submit",
149
+ label: "Create"
150
+ })
151
+ ]),
152
+ _: 1
153
+ }, 512);
154
+ };
155
+ }
156
+ }), se = { class: "flex justify-between mb-6 items-center" }, ie = { class: "flex space-x-4" }, le = { class: "flex space-x-4" }, he = /* @__PURE__ */ h({
157
+ __name: "Terminal",
158
+ setup(u) {
159
+ const n = T(), { searchKey: o } = j({
160
+ searchKey: ""
161
+ });
162
+ let s;
163
+ z(o, async () => {
164
+ s && clearTimeout(s), s = setTimeout(
165
+ () => {
166
+ var t;
167
+ return (t = n.value) == null ? void 0 : t.reset();
168
+ },
169
+ 700
170
+ );
171
+ });
172
+ const i = X(), r = G(), a = P();
173
+ async function p(t) {
174
+ W(
175
+ r,
176
+ "Terminal Unbind",
177
+ "Are you sure to unbind terminal from device? This action cannot be revert and device will be logged out!",
178
+ async () => {
179
+ var e;
180
+ try {
181
+ await F.unbind(t), (e = n.value) == null || e.reset(), a.open({
182
+ type: "success",
183
+ message: "Terminal unbind successfully"
184
+ });
185
+ } catch (l) {
186
+ a.open({
187
+ type: "error",
188
+ title: "Error occurs when unbind terminal",
189
+ message: D(l)
190
+ });
191
+ }
192
+ }
193
+ );
194
+ }
195
+ async function v(t) {
196
+ const e = await F.getBindCode(t);
197
+ r.open({
198
+ title: "Terminal Bind Code",
199
+ closeButton: !0,
200
+ overlay: !0,
201
+ contentComponent: te,
202
+ contentComponentProps: { code: e }
203
+ });
204
+ }
205
+ async function y(t) {
206
+ r.open({
207
+ title: t ? "Update Terminal" : "Create New Terminal",
208
+ closeButton: !0,
209
+ overlay: !0,
210
+ contentComponent: re,
211
+ contentComponentProps: { terminal: t }
212
+ }).onPrimary(async (e) => {
213
+ var l;
214
+ r.close();
215
+ try {
216
+ await F.create(e), (l = n.value) == null || l.reset(), a.open({
217
+ type: "success",
218
+ message: t ? "Terminal udpated successfully" : "Terminal created successfully."
219
+ });
220
+ } catch (b) {
221
+ a.open({
222
+ type: "error",
223
+ title: "Error occurs when create terminal",
224
+ message: D(b)
225
+ });
226
+ }
227
+ });
228
+ }
229
+ const x = function(t) {
230
+ return {
231
+ id: t._id,
232
+ status: t.status,
233
+ referenceId: t.referenceId,
234
+ name: t.name,
235
+ deviceId: t.deviceId,
236
+ updatedAt: Y(t.updatedAt).format("YYYY-MM-DD hh:mm:ss")
237
+ };
238
+ }, w = [
239
+ {
240
+ accessorKey: "id",
241
+ header: () => "Terminal ID",
242
+ meta: {
243
+ textAlign: "right"
244
+ },
245
+ cell: ({ cell: t, row: e }) => S(ne, { row: e, data: t.getValue() })
246
+ },
247
+ {
248
+ accessorKey: "name",
249
+ header: () => "Name",
250
+ meta: {
251
+ textAlign: "left"
252
+ }
253
+ },
254
+ {
255
+ accessorKey: "referenceId",
256
+ header: () => "Reference",
257
+ meta: {
258
+ textAlign: "left"
259
+ }
260
+ },
261
+ {
262
+ accessorKey: "deviceId",
263
+ header: () => "Bound Device Id",
264
+ meta: {
265
+ textAlign: "left"
266
+ }
267
+ },
268
+ {
269
+ accessorKey: "updatedAt",
270
+ header: () => "Last Updated",
271
+ meta: {
272
+ textAlign: "left"
273
+ }
274
+ },
275
+ {
276
+ accessorKey: "id",
277
+ header: () => "Actions",
278
+ meta: {
279
+ textAlign: "center"
280
+ },
281
+ cell: ({ row: t }) => {
282
+ var l;
283
+ const e = (l = n.value) == null ? void 0 : l.pageData().at(t.index);
284
+ return S(ae, {
285
+ data: e,
286
+ onLink: () => v(e._id),
287
+ onUnlink: () => p(e._id),
288
+ onEdit: () => y(e)
289
+ });
290
+ }
291
+ }
292
+ ];
293
+ return (t, e) => {
294
+ const l = m("FmSearch"), b = m("FmButton");
295
+ return d(), g(O, {
296
+ title: "Terminals",
297
+ loading: !1
298
+ }, {
299
+ default: V(() => [
300
+ k("div", se, [
301
+ k("div", ie, [
302
+ _(l, {
303
+ "model-value": c(o),
304
+ "onUpdate:modelValue": e[0] || (e[0] = (f) => L(o) ? o.value = f : null),
305
+ class: "mr-8",
306
+ label: "Search",
307
+ placeholder: "Search Terminals ..."
308
+ }, null, 8, ["model-value"])
309
+ ]),
310
+ k("div", le, [
311
+ _(b, {
312
+ label: "Create",
313
+ icon: "add",
314
+ onClick: e[1] || (e[1] = () => y())
315
+ })
316
+ ])
317
+ ]),
318
+ _(q, {
319
+ ref_key: "controller",
320
+ ref: n,
321
+ "column-defs": w,
322
+ "rows-defs": x,
323
+ paginate: (f, B) => c(F).read({ searchKey: c(o), limit: f, cursor: B }),
324
+ onRowClick: e[2] || (e[2] = (f) => c(i).push({
325
+ name: "mf-payment-admin.terminal-setting",
326
+ params: {
327
+ terminalId: f._id
328
+ }
329
+ }))
330
+ }, null, 8, ["paginate"])
331
+ ]),
332
+ _: 1
333
+ });
334
+ };
335
+ }
336
+ });
337
+ export {
338
+ he as default
339
+ };
@@ -0,0 +1,374 @@
1
+ import { defineComponent as b, openBlock as g, createElementBlock as _, Fragment as C, createElementVNode as F, createTextVNode as q, toDisplayString as B, ref as v, onMounted as T, computed as D, resolveComponent as f, unref as w, createVNode as y, createBlock as I, withCtx as U, createCommentVNode as S, isRef as $, resolveDynamicComponent as P, normalizeProps as K, mergeProps as L } from "vue";
2
+ import { u as M } from "./index-C_44uoxW.js";
3
+ import { useRouter as N } from "vue-router";
4
+ import { t as V } from "./index-CbUxRjwz.js";
5
+ import { _ as O } from "./Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js";
6
+ import { u as j } from "./index-BS_dGfh_.js";
7
+ import { useSnackbar as E } from "@feedmepos/ui-library";
8
+ import { u as h } from "./error-K1CakhA9.js";
9
+ const A = /* @__PURE__ */ b({
10
+ __name: "Information",
11
+ props: {
12
+ terminal: {
13
+ type: Object,
14
+ required: !0
15
+ }
16
+ },
17
+ setup(a) {
18
+ return (l, n) => (g(), _(C, null, [
19
+ n[0] || (n[0] = F("b", null, "Name", -1)),
20
+ q(": " + B(a.terminal.name), 1),
21
+ n[1] || (n[1] = F("br", null, null, -1)),
22
+ n[2] || (n[2] = F("b", null, "Status", -1)),
23
+ q(": " + B(a.terminal.status), 1),
24
+ n[3] || (n[3] = F("br", null, null, -1)),
25
+ n[4] || (n[4] = F("b", null, "Device ID", -1)),
26
+ q(": " + B(a.terminal.deviceId ?? "-"), 1),
27
+ n[5] || (n[5] = F("br", null, null, -1))
28
+ ], 64));
29
+ }
30
+ }), R = {
31
+ key: 0,
32
+ class: "flex items-center justify-center min-h-[80vh]"
33
+ }, z = { class: "flex mt-6 space-x-6" }, H = /* @__PURE__ */ b({
34
+ __name: "TerminalGateway",
35
+ props: {
36
+ terminal: {
37
+ type: Object,
38
+ required: !0
39
+ },
40
+ onUpdate: {
41
+ type: Function,
42
+ required: !0
43
+ }
44
+ },
45
+ setup(a) {
46
+ const { isLoading: l, startAsyncCall: n } = M(), o = a, i = v(), c = v(), m = v(-1), e = v({
47
+ terminalId: ""
48
+ });
49
+ T(() => {
50
+ if (n(async () => {
51
+ i.value = await V.getTerminals(o.terminal.referenceId);
52
+ }), !o.terminal.ecrs)
53
+ return;
54
+ const s = o.terminal.ecrs.findIndex((r) => r && r.gateway && r.gateway === "FeedMe");
55
+ if (s === -1)
56
+ return;
57
+ m.value = s;
58
+ const u = o.terminal.ecrs.at(s);
59
+ u.gateway === "FeedMe" && u.config && (e.value = {
60
+ terminalId: u.config.terminalId
61
+ });
62
+ });
63
+ const t = D(() => (i.value ?? []).map((s) => ({
64
+ label: s.name ?? s._id,
65
+ value: s._id
66
+ })));
67
+ async function d(s) {
68
+ var u;
69
+ (u = o.terminal.ecrs) == null || u.splice(s, 1), o.onUpdate(o.terminal);
70
+ }
71
+ return (s, u) => {
72
+ const r = f("FmCircularProgress"), p = f("FmSelect"), x = f("FmButton"), k = f("FmForm");
73
+ return w(l) ? (g(), _("div", R, [
74
+ y(r, { size: "xxl" })
75
+ ])) : (g(), I(k, {
76
+ key: 1,
77
+ ref: c.value,
78
+ class: "flex flex-col gap-16 w-[500px]",
79
+ onValidationSuccess: u[1] || (u[1] = () => {
80
+ m.value > -1 ? a.terminal.ecrs[m.value] = { gateway: "FeedMe", config: e.value } : (a.terminal.ecrs || (a.terminal.ecrs = []), a.terminal.ecrs.push({ gateway: "FeedMe", config: e.value })), o.onUpdate(a.terminal);
81
+ })
82
+ }, {
83
+ default: U(() => [
84
+ y(p, {
85
+ modelValue: e.value.terminalId,
86
+ "onUpdate:modelValue": u[0] || (u[0] = (G) => e.value.terminalId = G),
87
+ label: "Terminal ID",
88
+ items: t.value
89
+ }, null, 8, ["modelValue", "items"]),
90
+ F("div", z, [
91
+ m.value > -1 ? (g(), I(x, {
92
+ key: 0,
93
+ class: "flex-1",
94
+ variant: "secondary",
95
+ label: "Delete",
96
+ onclick: () => d(m.value)
97
+ }, null, 8, ["onclick"])) : S("", !0),
98
+ y(x, {
99
+ type: "submit",
100
+ class: "flex-1",
101
+ variant: "primary",
102
+ label: "Save"
103
+ })
104
+ ])
105
+ ]),
106
+ _: 1
107
+ }, 512));
108
+ };
109
+ }
110
+ }), Q = { class: "flex mt-6 space-x-6" }, J = /* @__PURE__ */ b({
111
+ __name: "FiuuGateway",
112
+ props: {
113
+ terminal: {
114
+ type: Object,
115
+ required: !0
116
+ },
117
+ onUpdate: {
118
+ type: Function,
119
+ required: !0
120
+ }
121
+ },
122
+ setup(a) {
123
+ const l = a, n = [
124
+ {
125
+ label: "Fiuu Malaysia",
126
+ value: "cc.feedme.payment.rms"
127
+ },
128
+ {
129
+ label: "Fiuu Malaysia V2",
130
+ value: "cc.feedme.payment.fiuu_my"
131
+ },
132
+ {
133
+ label: "Fiuu Singapore",
134
+ value: "cc.feedme.payment.fiuu_sg"
135
+ }
136
+ ], o = v(), i = v(-1), c = v({
137
+ packageId: "",
138
+ uniqueId: ""
139
+ });
140
+ T(() => {
141
+ if (!l.terminal.gateways)
142
+ return;
143
+ const e = l.terminal.gateways.findIndex((d) => d && d.gateway && d.gateway === "Fiuu");
144
+ if (e === -1)
145
+ return;
146
+ i.value = e;
147
+ const t = l.terminal.gateways.at(e);
148
+ t.gateway === "Fiuu" && t.config && (c.value = {
149
+ packageId: t.config.packageId,
150
+ uniqueId: t.config.uniqueId
151
+ });
152
+ });
153
+ async function m(e) {
154
+ var t;
155
+ (t = l.terminal.gateways) == null || t.splice(e, 1), l.onUpdate(l.terminal);
156
+ }
157
+ return (e, t) => {
158
+ const d = f("FmSelect"), s = f("FmTextField"), u = f("FmButton"), r = f("FmForm");
159
+ return g(), I(r, {
160
+ ref: o.value,
161
+ class: "flex flex-col gap-16 w-[500px]",
162
+ onValidationSuccess: t[2] || (t[2] = () => {
163
+ i.value > -1 ? a.terminal.gateways[i.value] = { gateway: "Fiuu", config: c.value } : (a.terminal.gateways || (a.terminal.gateways = []), a.terminal.gateways.push({ gateway: "Fiuu", config: c.value })), l.onUpdate(a.terminal);
164
+ })
165
+ }, {
166
+ default: U(() => [
167
+ y(d, {
168
+ modelValue: c.value.packageId,
169
+ "onUpdate:modelValue": t[0] || (t[0] = (p) => c.value.packageId = p),
170
+ label: "Package ID",
171
+ items: n
172
+ }, null, 8, ["modelValue"]),
173
+ y(s, {
174
+ modelValue: c.value.uniqueId,
175
+ "onUpdate:modelValue": t[1] || (t[1] = (p) => c.value.uniqueId = p),
176
+ label: "Unique ID"
177
+ }, null, 8, ["modelValue"]),
178
+ F("div", Q, [
179
+ i.value > -1 ? (g(), I(u, {
180
+ key: 0,
181
+ class: "flex-1",
182
+ variant: "secondary",
183
+ label: "Delete",
184
+ onclick: () => m(i.value)
185
+ }, null, 8, ["onclick"])) : S("", !0),
186
+ y(u, {
187
+ type: "submit",
188
+ class: "flex-1",
189
+ variant: "primary",
190
+ label: "Save"
191
+ })
192
+ ])
193
+ ]),
194
+ _: 1
195
+ }, 512);
196
+ };
197
+ }
198
+ }), W = { class: "flex mt-6 space-x-6" }, X = /* @__PURE__ */ b({
199
+ __name: "GhlGateway",
200
+ props: {
201
+ terminal: {
202
+ type: Object,
203
+ required: !0
204
+ },
205
+ onUpdate: {
206
+ type: Function,
207
+ required: !0
208
+ }
209
+ },
210
+ setup(a) {
211
+ const l = a, n = v(), o = v(-1), i = v({
212
+ merchantId: "",
213
+ terminalId: "",
214
+ privateKey: ""
215
+ });
216
+ T(() => {
217
+ if (!l.terminal.ecrs)
218
+ return;
219
+ const m = l.terminal.ecrs.findIndex((t) => t && t.gateway && t.gateway === "Ghl");
220
+ if (m === -1)
221
+ return;
222
+ o.value = m;
223
+ const e = l.terminal.ecrs.at(m);
224
+ e.gateway === "Ghl" && e.config && (i.value = {
225
+ merchantId: e.config.merchantId,
226
+ terminalId: e.config.terminalId,
227
+ privateKey: e.config.privateKey
228
+ });
229
+ });
230
+ async function c(m) {
231
+ var e;
232
+ (e = l.terminal.ecrs) == null || e.splice(m, 1), l.onUpdate(l.terminal);
233
+ }
234
+ return (m, e) => {
235
+ const t = f("FmTextField"), d = f("FmTextarea"), s = f("FmButton"), u = f("FmForm");
236
+ return g(), I(u, {
237
+ ref: n.value,
238
+ class: "flex flex-col gap-16 w-[500px]",
239
+ onValidationSuccess: e[3] || (e[3] = () => {
240
+ o.value > -1 ? a.terminal.ecrs[o.value] = { gateway: "Ghl", config: i.value } : (a.terminal.ecrs || (a.terminal.ecrs = []), a.terminal.ecrs.push({ gateway: "Ghl", config: i.value })), l.onUpdate(a.terminal);
241
+ })
242
+ }, {
243
+ default: U(() => [
244
+ y(t, {
245
+ modelValue: i.value.merchantId,
246
+ "onUpdate:modelValue": e[0] || (e[0] = (r) => i.value.merchantId = r),
247
+ label: "Merchant ID"
248
+ }, null, 8, ["modelValue"]),
249
+ y(t, {
250
+ modelValue: i.value.terminalId,
251
+ "onUpdate:modelValue": e[1] || (e[1] = (r) => i.value.terminalId = r),
252
+ label: "Terminal ID"
253
+ }, null, 8, ["modelValue"]),
254
+ y(d, {
255
+ modelValue: i.value.privateKey,
256
+ "onUpdate:modelValue": e[2] || (e[2] = (r) => i.value.privateKey = r),
257
+ label: "Private Key"
258
+ }, null, 8, ["modelValue"]),
259
+ F("div", W, [
260
+ o.value > -1 ? (g(), I(s, {
261
+ key: 0,
262
+ class: "flex-1",
263
+ variant: "secondary",
264
+ label: "Delete",
265
+ onclick: () => c(o.value)
266
+ }, null, 8, ["onclick"])) : S("", !0),
267
+ y(s, {
268
+ type: "submit",
269
+ class: "flex-1",
270
+ variant: "primary",
271
+ label: "Save"
272
+ })
273
+ ])
274
+ ]),
275
+ _: 1
276
+ }, 512);
277
+ };
278
+ }
279
+ }), ie = /* @__PURE__ */ b({
280
+ __name: "TerminalSetting",
281
+ props: {
282
+ terminalId: {
283
+ type: String,
284
+ required: !0
285
+ }
286
+ },
287
+ setup(a) {
288
+ const l = a, { tab: n } = j({
289
+ tab: "information"
290
+ }), { isLoading: o, startAsyncCall: i } = M(!0), c = N(), m = E(), e = v();
291
+ async function t(r) {
292
+ try {
293
+ await V.updateById(
294
+ l.terminalId,
295
+ {
296
+ name: r.name,
297
+ status: r.status,
298
+ gateways: r.gateways ?? []
299
+ }
300
+ ), e.value = await V.readById(l.terminalId), m.open({
301
+ type: "success",
302
+ message: "Terminal updated successfully"
303
+ });
304
+ } catch (p) {
305
+ m.open({
306
+ type: "error",
307
+ title: "Error occurs when update terminal",
308
+ message: h(p)
309
+ });
310
+ }
311
+ }
312
+ const d = [
313
+ {
314
+ label: "Information",
315
+ value: "information",
316
+ icon: "overview",
317
+ render: A
318
+ },
319
+ {
320
+ label: "Fiuu",
321
+ value: "fiuu",
322
+ icon: "payment",
323
+ render: J
324
+ }
325
+ ], s = D(() => {
326
+ var r;
327
+ return (r = d.find((p) => p.value === n.value)) == null ? void 0 : r.render;
328
+ });
329
+ async function u() {
330
+ i(async () => {
331
+ e.value = await V.readById(l.terminalId), e.value.deviceType !== "TERMINAL" && d.push(
332
+ {
333
+ label: "FeedMe Terminal",
334
+ value: "terminal",
335
+ icon: "shopping_cart_checkout",
336
+ render: H
337
+ },
338
+ {
339
+ label: "GHL Terminal (V2)",
340
+ value: "ghl",
341
+ icon: "shopping_cart_checkout",
342
+ render: X
343
+ }
344
+ );
345
+ });
346
+ }
347
+ return T(u), (r, p) => {
348
+ var k;
349
+ const x = f("FmTabs");
350
+ return g(), I(O, {
351
+ title: `Terminal (${(k = e.value) == null ? void 0 : k._id})`,
352
+ loading: w(o),
353
+ onBack: w(c).back
354
+ }, {
355
+ default: U(() => [
356
+ y(x, {
357
+ "model-value": w(n),
358
+ "onUpdate:modelValue": p[0] || (p[0] = (G) => $(n) ? n.value = G : null),
359
+ class: "mb-6",
360
+ items: d
361
+ }, null, 8, ["model-value"]),
362
+ w(n) ? (g(), I(P(s.value), K(L({ key: 0 }, {
363
+ terminal: e.value,
364
+ onUpdate: t
365
+ })), null, 16)) : S("", !0)
366
+ ]),
367
+ _: 1
368
+ }, 8, ["title", "loading", "onBack"]);
369
+ };
370
+ }
371
+ });
372
+ export {
373
+ ie as default
374
+ };