@feedmepos/mf-payment 0.0.0-beta.4 → 0.0.0-beta.41
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js → AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js} +1 -1
- package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js +40 -0
- package/dist/{Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js → Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js} +9 -9
- package/dist/Modal-DB8M9o1T.js +13 -0
- package/dist/{PayoutAccount-CAFAjyuW.js → PDFViewer-CjH_C1uT.js} +10851 -14329
- package/dist/PayoutAccount-CKz74wC_.js +612 -0
- package/dist/PayoutAccount-E2Ga-nhL.js +272 -0
- package/dist/PayoutAccountSetting-CywVFXxL.js +776 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-CwdBiElJ.js +150 -0
- package/dist/Settlement-ID4SKZQU.js +144 -0
- package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-CZc3gg2W.js} +99 -105
- package/dist/SettlementTransactions-Cva0BhNe.js +334 -0
- package/dist/Terminal-CD2HjTZ6.js +372 -0
- package/dist/TerminalSetting-1bqfLfaT.js +379 -0
- package/dist/TerminalTransaction-DYrFWTIb.js +418 -0
- package/dist/TerminalTransaction-jVoZHvia.js +242 -0
- package/dist/Transaction-CjUdHN9-.js +242 -0
- package/dist/Transaction-D1RHJmuR.js +405 -0
- package/dist/api/index.d.ts +12 -0
- package/dist/api/pagination.d.ts +20 -0
- package/dist/api/payment-gateway/index.d.ts +9 -0
- package/dist/api/payout/index.d.ts +2 -1
- package/dist/api/settlement/index.d.ts +7 -13
- package/dist/api/terminal/index.d.ts +13 -1
- package/dist/api/terminal-transaction/index.d.ts +12 -1
- package/dist/api/transaction/index.d.ts +7 -2
- package/dist/app.d.ts +3 -0
- package/dist/app.js +124 -95
- package/dist/assets/icons/index.d.ts +1 -3
- package/dist/assets-BhBS0p9e.js +44 -0
- package/dist/clipboard-4jh1WteU.js +10 -0
- package/dist/components/AsyncButton.vue.d.ts +21 -0
- package/dist/components/AutoCopyCell.vue.d.ts +6 -0
- package/dist/components/CursorTable/index.vue.d.ts +24 -5
- package/dist/components/PDFViewer.vue.d.ts +0 -2
- package/dist/components/RestaurantSelector.vue.d.ts +2 -0
- package/dist/components/RouteCell.vue.d.ts +8 -0
- package/dist/error-K1CakhA9.js +6 -0
- package/dist/helpers/assets.d.ts +2 -0
- package/dist/index-9ujJCGqe.js +55911 -0
- package/dist/index-BlGpdOEP.js +40 -0
- package/dist/{index-CjCiGW2Y.js → index-C074LfUa.js} +13 -23
- package/dist/{index-B8_4waUa.js → index-C5AZUa6M.js} +1 -1
- package/dist/index-CM83utfE.js +45 -0
- package/dist/index-DuCv6dOI.js +47 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DcbfY6SQ.js +167 -0
- package/dist/model/transaction.d.ts +2 -1
- package/dist/package.json +8 -8
- package/dist/{index-IE-8HK_2.js → payout-account-QG7y2gxQ.js} +781 -794
- package/dist/plugins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/transaction-D5lnozQA.js +87 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/validator-D5jtpt9A.js +2877 -0
- package/dist/views/admin/payout-account/PayoutAccountSetting.vue.d.ts +11 -1
- package/dist/views/admin/payout-account/cell/RateInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/cell/TPlusInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +90 -0
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
- package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +50 -0
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +83 -0
- package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +80 -9
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +85 -0
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +7 -0
- package/dist/views/admin/transaction/TransactionTable.vue.d.ts +6 -2
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +7 -0
- package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
- package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
- package/package.json +20 -20
- package/dist/PayoutAccount-CcKzwrCh.js +0 -266
- package/dist/Settlement-C4IEccV6.js +0 -136
- package/dist/Settlement-D4gdbOE0.js +0 -132
- package/dist/SettlementTransactions-DYelInkD.js +0 -351
- package/dist/Terminal-Co7KPrrb.js +0 -204
- package/dist/TerminalTransaction-CtVBUTMg.js +0 -240
- package/dist/Transaction-CvDEP2Uq.js +0 -242
- package/dist/Transaction-Rk0g5_Gn.js +0 -241
- package/dist/api/auth/index.d.ts +0 -7
- package/dist/assets-CZ2m5tCN.js +0 -43
- package/dist/favicon.ico +0 -0
- package/dist/icons/anydesk.svg +0 -1
- package/dist/icons/sort.svg +0 -3
- package/dist/images/gateway/ccdc.svg +0 -44
- package/dist/images/gateway/fiuu.jpg +0 -0
- package/dist/images/gateway/fm.svg +0 -44
- package/dist/images/gateway/rm.jpg +0 -0
- package/dist/images/method/BNPL/Ablr/Ablr_SVG.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V2_ROU.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V2_SQU.svg +0 -7
- package/dist/images/method/BNPL/Atome/Atome_SVG.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V3_ROU.svg +0 -5
- package/dist/images/method/BNPL/Atome/Atome_V3_SQU.svg +0 -5
- package/dist/images/method/BNPL/IOUPay/IOUPay_SVG.svg +0 -12
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_ROU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_SQU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_ROU.svg +0 -13
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_SQU.svg +0 -13
- package/dist/images/method/BNPL/ShopBack/ShopBack_SVG.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_ROU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_SQU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_SVG.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V1_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V1_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V3_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V3_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/AEONBank/AEONBank_SVG.svg +0 -16
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/AffinBank/AffinBank_SVG.svg +0 -56
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_SQU.svg +0 -10
- package/dist/images/method/Banks/AllianceBank/AllianceBank_SVG.svg +0 -45
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_BSQU.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_LG.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_ROU.svg +0 -34
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_SQU.svg +0 -34
- package/dist/images/method/Banks/AmBank/AmBank_SVG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V1_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V4_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V4_LG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_LG.svg +0 -18
- package/dist/images/method/Banks/ArgoBank/ArgoBank_SVG.svg +0 -12
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_SVG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_BSQU.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_LG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BankIslam/BankIslam_SVG.svg +0 -13
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_LG.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_ROU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_SVG.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_BSQU.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_LG.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_BSQU.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_LG.svg +0 -27
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_ROU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_ROU.svg +0 -4
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/BankRakyat/BankRakyat_SVG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/Cimb/Cimb_SVG.svg +0 -16
- package/dist/images/method/Banks/Cimb/Cimb_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V3_BSQU.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_LG.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_ROU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V3_SQU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V4_BSQU.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V4_LG.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V5_LG.svg +0 -14
- package/dist/images/method/Banks/CitiBank/CitiBank_SVG.svg +0 -4
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/GXBank/GXBank_SVG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V1_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V3_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_SQU.svg +0 -10
- package/dist/images/method/Banks/HSBC/HSBC_SVG.svg +0 -11
- package/dist/images/method/Banks/HSBC/HSBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_ROU.svg +0 -8
- package/dist/images/method/Banks/HSBC/HSBC_V1_SQU.svg +0 -8
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_SVG.svg +0 -27
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_ROU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_SQU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_LG.svg +0 -18
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_SVG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/Maybank/MayBank_SVG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_ROU.svg +0 -15
- package/dist/images/method/Banks/Maybank/MayBank_V1_SQU.svg +0 -15
- package/dist/images/method/Banks/OCBC/OCBC_SVG.svg +0 -11
- package/dist/images/method/Banks/OCBC/OCBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_SVG.svg +0 -13
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_LG.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_SVG.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/StandardChartered/StandardChartered_SVG.svg +0 -26
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_BSQU.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_LG.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/UOB/UOB_SVG.svg +0 -15
- package/dist/images/method/Banks/UOB/UOB_V1_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V3_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V3_SQU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_SQU.svg +0 -5
- package/dist/images/method/Card/Gobiz/Gobiz_SVG.svg +0 -10
- package/dist/images/method/Card/Gobiz/Gobiz_V1_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V1_SQU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_SQU.svg +0 -11
- package/dist/images/method/Card/Master/MASTER_SVG.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V1_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_SQU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_TRSP.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V2_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V2_SQU.svg +0 -7
- package/dist/images/method/Card/Paydee/Paydee_SVG.svg +0 -8
- package/dist/images/method/Card/Paydee/Paydee_V1_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V1_SQU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_SQU.svg +0 -9
- package/dist/images/method/Card/UnionPay/UNIONPAY_SVG.svg +0 -17
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_ROU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_SQU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_TRSP.svg +0 -17
- package/dist/images/method/Card/Visa/VISA_SVG.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V1_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_TRSP.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V2_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_SVG.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/GooglePay/GooglePay_SVG.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_ROU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_SQU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_TRSP.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_SVG.svg +0 -12
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_ROU.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_SQU.svg +0 -6
- package/dist/images/method/Other/DuitNow/DuitNow_SVG.svg +0 -11
- package/dist/images/method/Other/DuitNow/DuitNow_V1_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V1_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V3_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V3_SQU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_SQU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_SVG.svg +0 -28
- package/dist/images/method/Other/FPX/FPX_V1_ROU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V1_SQU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V2_ROU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V2_SQU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V3_ROU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_V3_SQU.svg +0 -5
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_ROU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_SQU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/Maybank_SVG.svg +0 -49
- package/dist/images/method/Other/NetsPay/NetsPay_SVG.svg +0 -5
- package/dist/images/method/Other/NetsPay/NetsPay_V1_ROU.svg +0 -6
- package/dist/images/method/Other/NetsPay/NetsPay_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_SVG.svg +0 -4
- package/dist/images/method/Wallet/Alipay/Alipay_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V1_SQU.svg +0 -5
- package/dist/images/method/Wallet/Alipay/Alipay_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_SVG.svg +0 -7
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/Binfinite/Binfinite_SVG.svg +0 -14
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_SQU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_SQU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_SQU.svg +0 -15
- package/dist/images/method/Wallet/Boost/Boost_SVG.svg +0 -10
- package/dist/images/method/Wallet/Boost/Boost_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/FavePay/FavePay_SVG.svg +0 -12
- package/dist/images/method/Wallet/FavePay/FavePay_V1_ROU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V1_SQU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/FavePay/FavePay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GoPayz/GoPayz_SVG.svg +0 -12
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_ROU.svg +0 -5
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/GrabPay/GrabPay_SVG.svg +0 -15
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_SQU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_SQU.svg +0 -16
- package/dist/images/method/Wallet/Lazada/Lazada_SVG.svg +0 -44
- package/dist/images/method/Wallet/Lazada/Lazada_V1_ROU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V1_SQU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V2_ROU.svg +0 -45
- package/dist/images/method/Wallet/Lazada/Lazada_V2_SQU.svg +0 -45
- package/dist/images/method/Wallet/MAE/MAE_SVG.svg +0 -4
- package/dist/images/method/Wallet/MAE/MAE_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/MAE/MAE_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/MCash/MCash_SVG.svg +0 -7
- package/dist/images/method/Wallet/MCash/MCash_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_SQU.svg +0 -8
- package/dist/images/method/Wallet/Presto/Presto_SVG.svg +0 -10
- package/dist/images/method/Wallet/Presto/Presto_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_SQU.svg +0 -5
- package/dist/images/method/Wallet/Razer/RazerPay_SVG.svg +0 -11
- package/dist/images/method/Wallet/Razer/RazerPay_V1_ROU.svg +0 -12
- package/dist/images/method/Wallet/Razer/RazerPay_V1_SQU.svg +0 -12
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_SVG.svg +0 -9
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_ROU.svg +0 -10
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_SVG.svg +0 -9
- package/dist/images/method/Wallet/Senheng/Senheng_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Setel/Setel_SVG.svg +0 -10
- package/dist/images/method/Wallet/Setel/Setel_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Setel/Setel_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_SVG.svg +0 -13
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_ROU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_SQU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_ROU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_SQU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/TNG/TNG_SVG.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_ROU.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_SQU.svg +0 -27
- package/dist/images/method/Wallet/TaPay/TaPay_SVG.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_SQU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_SQU.svg +0 -25
- package/dist/images/method/Wallet/Truemoney/Truemoney_SVG.svg +0 -42
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_ROU.svg +0 -17
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_SQU.svg +0 -17
- package/dist/images/method/Wallet/WechatPay/WeChat_SVG.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/Zapp/Zapp_SVG.svg +0 -6
- package/dist/images/method/Wallet/Zapp/Zapp_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Zapp/Zapp_V1_SQU.svg +0 -7
- package/dist/index-DvzXwr90.js +0 -40075
- package/dist/index.vue_vue_type_script_setup_true_lang-y4tchjya.js +0 -150
- package/dist/locales/en/business.json +0 -4
- package/dist/locales/en/common.json +0 -272
- package/dist/locales/en/country.json +0 -4
- package/dist/locales/en/payment.json +0 -27
- package/dist/locales/en/transaction.json +0 -25
- package/dist/locales/en/user.json +0 -61
- package/dist/locales/zh/business.json +0 -4
- package/dist/locales/zh/common.json +0 -272
- package/dist/locales/zh/country.json +0 -6
- package/dist/locales/zh/payment.json +0 -27
- package/dist/locales/zh/transaction.json +0 -25
- package/dist/locales/zh/user.json +0 -61
- package/dist/transaction-fdJNol6A.js +0 -64
@@ -0,0 +1,242 @@
|
|
1
|
+
import { defineComponent as _, resolveComponent as T, openBlock as f, createBlock as N, normalizeClass as k, withCtx as R, createElementVNode as y, toDisplayString as K, createElementBlock as O, unref as o, ref as A, h as x, onMounted as V, watch as E, createVNode as p, isRef as F } from "vue";
|
2
|
+
import { t as I, a as C } from "./transaction-D5lnozQA.js";
|
3
|
+
import { e as S, u as P } from "./index-9ujJCGqe.js";
|
4
|
+
import { useSnackbar as $ } from "@feedmepos/ui-library";
|
5
|
+
import "./dinero-CIVmXLL-.js";
|
6
|
+
import { h as b } from "./moment-h96o7c8I.js";
|
7
|
+
import { g as L, a as B } from "./assets-BhBS0p9e.js";
|
8
|
+
import { useCoreStore as M } from "@feedmepos/mf-common";
|
9
|
+
import { _ as U } from "./Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js";
|
10
|
+
import { u as G } from "./index-C5AZUa6M.js";
|
11
|
+
import { _ as Y } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
12
|
+
import { _ as q } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js";
|
13
|
+
const J = /* @__PURE__ */ _({
|
14
|
+
__name: "Status",
|
15
|
+
props: {
|
16
|
+
row: {},
|
17
|
+
data: {}
|
18
|
+
},
|
19
|
+
setup(s) {
|
20
|
+
const n = s;
|
21
|
+
function a() {
|
22
|
+
return n.data === S.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : n.data === S.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : n.data === S.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
23
|
+
}
|
24
|
+
return (l, c) => {
|
25
|
+
const d = T("FmBadge");
|
26
|
+
return f(), N(d, {
|
27
|
+
inline: "",
|
28
|
+
class: k(a())
|
29
|
+
}, {
|
30
|
+
default: R(() => [
|
31
|
+
y("div", null, K(l.data), 1)
|
32
|
+
]),
|
33
|
+
_: 1
|
34
|
+
}, 8, ["class"]);
|
35
|
+
};
|
36
|
+
}
|
37
|
+
}), j = ["src"], z = /* @__PURE__ */ _({
|
38
|
+
__name: "Gateway",
|
39
|
+
props: {
|
40
|
+
row: {},
|
41
|
+
data: {}
|
42
|
+
},
|
43
|
+
setup(s) {
|
44
|
+
return (n, a) => (f(), O("img", {
|
45
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
46
|
+
src: o(L)(n.row.original.gateway)
|
47
|
+
}, null, 8, j));
|
48
|
+
}
|
49
|
+
}), Q = ["src"], H = /* @__PURE__ */ _({
|
50
|
+
__name: "Method",
|
51
|
+
props: {
|
52
|
+
row: {},
|
53
|
+
data: {}
|
54
|
+
},
|
55
|
+
setup(s) {
|
56
|
+
return (n, a) => (f(), O("img", {
|
57
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
58
|
+
src: o(B)(n.row.original.method.issuer)
|
59
|
+
}, null, 8, Q));
|
60
|
+
}
|
61
|
+
}), W = /* @__PURE__ */ _({
|
62
|
+
__name: "TransactionTable",
|
63
|
+
props: {
|
64
|
+
data: {
|
65
|
+
type: Array,
|
66
|
+
required: !0
|
67
|
+
},
|
68
|
+
loading: {
|
69
|
+
type: Boolean,
|
70
|
+
required: !0
|
71
|
+
}
|
72
|
+
},
|
73
|
+
emits: ["row-click"],
|
74
|
+
setup(s, { emit: n }) {
|
75
|
+
const a = s, l = n, c = A(""), d = [
|
76
|
+
{
|
77
|
+
header: () => "Transaction ID",
|
78
|
+
accessorKey: "id"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
header: () => "Pay ID",
|
82
|
+
accessorKey: "payId"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
header: () => "Gateway",
|
86
|
+
accessorKey: "gateway",
|
87
|
+
meta: {
|
88
|
+
textAlign: "center"
|
89
|
+
},
|
90
|
+
cell: ({ cell: t, row: e }) => e.original.method ? x(z, { row: e, data: t.getValue() }) : ""
|
91
|
+
},
|
92
|
+
{
|
93
|
+
header: () => "Method",
|
94
|
+
accessorKey: "method",
|
95
|
+
meta: {
|
96
|
+
textAlign: "center"
|
97
|
+
},
|
98
|
+
cell: ({ cell: t, row: e }) => e.original.method ? x(H, { row: e, data: t.getValue() }) : ""
|
99
|
+
},
|
100
|
+
{
|
101
|
+
header: () => "Type",
|
102
|
+
accessorKey: "type",
|
103
|
+
meta: {
|
104
|
+
textAlign: "center"
|
105
|
+
},
|
106
|
+
cell: ({ row: t }) => {
|
107
|
+
if (!t.original.method)
|
108
|
+
return "";
|
109
|
+
const e = t.original.method.variant;
|
110
|
+
return e.includes("_ONLINE") ? "ONLINE" : e.includes("_OFFLINE") ? "OFFLINE" : e;
|
111
|
+
}
|
112
|
+
},
|
113
|
+
{
|
114
|
+
header: () => "Status",
|
115
|
+
accessorKey: "status",
|
116
|
+
cell: ({ cell: t, row: e }) => x(J, { row: e, data: t.getValue() })
|
117
|
+
},
|
118
|
+
{
|
119
|
+
header: () => "Transaction At",
|
120
|
+
accessorKey: "transactionAt",
|
121
|
+
meta: {
|
122
|
+
width: "180px"
|
123
|
+
}
|
124
|
+
},
|
125
|
+
{
|
126
|
+
header: () => "Sales Amount",
|
127
|
+
accessorKey: "amount"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
header: () => "Fee",
|
131
|
+
accessorKey: "fee"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
header: () => "Settlement Amount",
|
135
|
+
accessorKey: "payout"
|
136
|
+
}
|
137
|
+
];
|
138
|
+
return (t, e) => {
|
139
|
+
const g = T("FmTable");
|
140
|
+
return f(), N(g, {
|
141
|
+
modelValue: c.value,
|
142
|
+
"onUpdate:modelValue": e[0] || (e[0] = (i) => c.value = i),
|
143
|
+
"column-defs": d,
|
144
|
+
"row-data": a.data,
|
145
|
+
loading: a.loading,
|
146
|
+
onRowClick: e[1] || (e[1] = (i) => l("row-click", a.data.at(i.index)))
|
147
|
+
}, null, 8, ["modelValue", "row-data", "loading"]);
|
148
|
+
};
|
149
|
+
}
|
150
|
+
}), X = { class: "flex justify-between mb-6 items-center" }, Z = { class: "flex space-x-8" }, ee = { class: "flex space-x-4" }, pe = /* @__PURE__ */ _({
|
151
|
+
__name: "Transaction",
|
152
|
+
setup(s) {
|
153
|
+
const { dateRange: n, searchKey: a } = G({
|
154
|
+
searchKey: "",
|
155
|
+
dateRange: {
|
156
|
+
startDate: b().startOf("day").toISOString(),
|
157
|
+
endDate: b().endOf("day").toISOString()
|
158
|
+
}
|
159
|
+
}), { isLoading: l, startAsyncCall: c } = P(!0);
|
160
|
+
$();
|
161
|
+
const { currentRestaurant: d } = M(), t = A([]), e = A([]);
|
162
|
+
async function g() {
|
163
|
+
await c(async () => {
|
164
|
+
const { startDate: h, endDate: r } = n.value, u = await I.readRestaurantTransactions({
|
165
|
+
start: h,
|
166
|
+
end: r
|
167
|
+
});
|
168
|
+
if (t.value = C(u), e.value = t.value, a.value > "") {
|
169
|
+
var v = new RegExp(a.value, "i");
|
170
|
+
e.value = t.value.filter((m) => {
|
171
|
+
const D = JSON.stringify(m);
|
172
|
+
return v.test(D);
|
173
|
+
});
|
174
|
+
}
|
175
|
+
});
|
176
|
+
}
|
177
|
+
function i() {
|
178
|
+
g();
|
179
|
+
}
|
180
|
+
V(i), E(d, i);
|
181
|
+
let w;
|
182
|
+
return E(a, async () => {
|
183
|
+
w && clearTimeout(w), w = setTimeout(() => {
|
184
|
+
var h = new RegExp(a.value, "i");
|
185
|
+
e.value = t.value.filter((r) => {
|
186
|
+
const u = JSON.stringify(r);
|
187
|
+
return h.test(u);
|
188
|
+
});
|
189
|
+
}, 700);
|
190
|
+
}), (h, r) => {
|
191
|
+
const u = T("FmSearch"), v = T("FmDateRangePicker");
|
192
|
+
return f(), N(U, {
|
193
|
+
title: "Online Transactions",
|
194
|
+
description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
|
195
|
+
loading: o(l)
|
196
|
+
}, {
|
197
|
+
default: R(() => [
|
198
|
+
y("div", X, [
|
199
|
+
y("div", Z, [
|
200
|
+
p(q),
|
201
|
+
p(u, {
|
202
|
+
"model-value": o(a),
|
203
|
+
"onUpdate:modelValue": r[0] || (r[0] = (m) => F(a) ? a.value = m : null),
|
204
|
+
label: "Search",
|
205
|
+
placeholder: "Search Transactions ..."
|
206
|
+
}, null, 8, ["model-value"]),
|
207
|
+
p(v, {
|
208
|
+
modelValue: o(n),
|
209
|
+
"onUpdate:modelValue": [
|
210
|
+
r[1] || (r[1] = (m) => F(n) ? n.value = m : null),
|
211
|
+
g
|
212
|
+
],
|
213
|
+
compare: "",
|
214
|
+
"show-predefined-range": ""
|
215
|
+
}, null, 8, ["modelValue"])
|
216
|
+
]),
|
217
|
+
y("div", ee, [
|
218
|
+
p(Y, {
|
219
|
+
button: {
|
220
|
+
appendIcon: "file_download",
|
221
|
+
variant: "primary",
|
222
|
+
label: "Export"
|
223
|
+
},
|
224
|
+
handler: async () => {
|
225
|
+
await o(I).downloadRestaurantTransactionReport(t.value);
|
226
|
+
}
|
227
|
+
}, null, 8, ["handler"])
|
228
|
+
])
|
229
|
+
]),
|
230
|
+
p(W, {
|
231
|
+
loading: o(l),
|
232
|
+
data: e.value
|
233
|
+
}, null, 8, ["loading", "data"])
|
234
|
+
]),
|
235
|
+
_: 1
|
236
|
+
}, 8, ["loading"]);
|
237
|
+
};
|
238
|
+
}
|
239
|
+
});
|
240
|
+
export {
|
241
|
+
pe as default
|
242
|
+
};
|
@@ -0,0 +1,405 @@
|
|
1
|
+
import { defineComponent as h, resolveComponent as _, openBlock as g, createBlock as E, normalizeClass as $, withCtx as x, createElementVNode as b, toDisplayString as L, createElementBlock as F, unref as m, createVNode as y, Fragment as B, renderList as U, ref as N, h as T, onMounted as G, watch as k, isRef as D } from "vue";
|
2
|
+
import { t as w, a as J, b as R } from "./transaction-D5lnozQA.js";
|
3
|
+
import { e as S, u as Q } from "./index-9ujJCGqe.js";
|
4
|
+
import { useSnackbar as Y, useDialog as j } from "@feedmepos/ui-library";
|
5
|
+
import "./dinero-CIVmXLL-.js";
|
6
|
+
import { h as O } from "./moment-h96o7c8I.js";
|
7
|
+
import { g as z, a as H } from "./assets-BhBS0p9e.js";
|
8
|
+
import { _ as W } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
|
9
|
+
import { u as X } from "./index-C5AZUa6M.js";
|
10
|
+
import { _ as Z } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
|
11
|
+
import { _ as ee } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
12
|
+
import { w as P } from "./Modal-DB8M9o1T.js";
|
13
|
+
import { u as I } from "./error-K1CakhA9.js";
|
14
|
+
const te = /* @__PURE__ */ h({
|
15
|
+
__name: "Status",
|
16
|
+
props: {
|
17
|
+
row: {},
|
18
|
+
data: {}
|
19
|
+
},
|
20
|
+
setup(p) {
|
21
|
+
const n = p;
|
22
|
+
function o() {
|
23
|
+
return n.data === S.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : n.data === S.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : n.data === S.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
24
|
+
}
|
25
|
+
return (l, f) => {
|
26
|
+
const s = _("FmBadge");
|
27
|
+
return g(), E(s, {
|
28
|
+
inline: "",
|
29
|
+
class: $(o())
|
30
|
+
}, {
|
31
|
+
default: x(() => [
|
32
|
+
b("div", null, L(l.data), 1)
|
33
|
+
]),
|
34
|
+
_: 1
|
35
|
+
}, 8, ["class"]);
|
36
|
+
};
|
37
|
+
}
|
38
|
+
}), ae = ["src"], ne = /* @__PURE__ */ h({
|
39
|
+
__name: "Gateway",
|
40
|
+
props: {
|
41
|
+
row: {},
|
42
|
+
data: {}
|
43
|
+
},
|
44
|
+
setup(p) {
|
45
|
+
return (n, o) => (g(), F("img", {
|
46
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
47
|
+
src: m(z)(n.row.original.gateway)
|
48
|
+
}, null, 8, ae));
|
49
|
+
}
|
50
|
+
}), oe = ["src"], re = /* @__PURE__ */ h({
|
51
|
+
__name: "Method",
|
52
|
+
props: {
|
53
|
+
row: {},
|
54
|
+
data: {}
|
55
|
+
},
|
56
|
+
setup(p) {
|
57
|
+
return (n, o) => (g(), F("img", {
|
58
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
59
|
+
src: m(H)(n.row.original.method.issuer)
|
60
|
+
}, null, 8, oe));
|
61
|
+
}
|
62
|
+
}), se = /* @__PURE__ */ h({
|
63
|
+
__name: "Actions",
|
64
|
+
props: {
|
65
|
+
onAction: { type: Function }
|
66
|
+
},
|
67
|
+
setup(p) {
|
68
|
+
const n = [
|
69
|
+
{
|
70
|
+
label: "Query",
|
71
|
+
sublabel: "Perform transaction status inquriy",
|
72
|
+
icon: "question_answer",
|
73
|
+
action: "query"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
label: "Refund",
|
77
|
+
sublabel: "Perform transaction refund request",
|
78
|
+
icon: "request_page",
|
79
|
+
action: "refund"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
label: "Notify",
|
83
|
+
sublabel: "Perform webhook notification for transaction",
|
84
|
+
icon: "webhook",
|
85
|
+
action: "notify"
|
86
|
+
}
|
87
|
+
];
|
88
|
+
return (o, l) => {
|
89
|
+
const f = _("FmIcon"), s = _("FmMenuItem"), r = _("FmMenu");
|
90
|
+
return g(), F("div", {
|
91
|
+
onClick: l[0] || (l[0] = (e) => {
|
92
|
+
e.stopPropagation();
|
93
|
+
})
|
94
|
+
}, [
|
95
|
+
y(r, null, {
|
96
|
+
"menu-button": x(() => [
|
97
|
+
y(f, { name: "settings" })
|
98
|
+
]),
|
99
|
+
default: x(() => [
|
100
|
+
(g(), F(B, null, U(n, (e) => y(s, {
|
101
|
+
selectable: !0,
|
102
|
+
key: e.label,
|
103
|
+
sublabel: e.sublabel,
|
104
|
+
label: e.label,
|
105
|
+
icon: e.icon,
|
106
|
+
onclick: () => o.onAction(e.action)
|
107
|
+
}, null, 8, ["sublabel", "label", "icon", "onclick"])), 64))
|
108
|
+
]),
|
109
|
+
_: 1
|
110
|
+
})
|
111
|
+
]);
|
112
|
+
};
|
113
|
+
}
|
114
|
+
}), ie = /* @__PURE__ */ h({
|
115
|
+
__name: "TransactionTable",
|
116
|
+
props: {
|
117
|
+
data: {
|
118
|
+
type: Array,
|
119
|
+
required: !0
|
120
|
+
},
|
121
|
+
loading: {
|
122
|
+
type: Boolean,
|
123
|
+
required: !0
|
124
|
+
}
|
125
|
+
},
|
126
|
+
emits: ["query", "refund", "notify"],
|
127
|
+
setup(p, { emit: n }) {
|
128
|
+
const o = p, l = n, f = N(""), s = [
|
129
|
+
{
|
130
|
+
header: () => "Transaction ID",
|
131
|
+
accessorKey: "id",
|
132
|
+
cell: ({ cell: r }) => T(W, { data: r.getValue() })
|
133
|
+
},
|
134
|
+
{
|
135
|
+
header: () => "Pay ID",
|
136
|
+
accessorKey: "payId"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
header: () => "Gateway",
|
140
|
+
accessorKey: "gateway",
|
141
|
+
meta: {
|
142
|
+
textAlign: "center"
|
143
|
+
},
|
144
|
+
cell: ({ cell: r, row: e }) => e.original.method ? T(ne, { row: e, data: r.getValue() }) : ""
|
145
|
+
},
|
146
|
+
{
|
147
|
+
header: () => "Method",
|
148
|
+
accessorKey: "method",
|
149
|
+
meta: {
|
150
|
+
textAlign: "center"
|
151
|
+
},
|
152
|
+
cell: ({ cell: r, row: e }) => e.original.method ? T(re, { row: e, data: r.getValue() }) : ""
|
153
|
+
},
|
154
|
+
{
|
155
|
+
header: () => "Type",
|
156
|
+
accessorKey: "type",
|
157
|
+
meta: {
|
158
|
+
textAlign: "center"
|
159
|
+
},
|
160
|
+
cell: ({ row: r }) => {
|
161
|
+
if (!r.original.method)
|
162
|
+
return "";
|
163
|
+
const e = r.original.method.variant;
|
164
|
+
return e.includes("_ONLINE") ? "ONLINE" : e.includes("_OFFLINE") ? "OFFLINE" : e;
|
165
|
+
}
|
166
|
+
},
|
167
|
+
{
|
168
|
+
header: () => "Status",
|
169
|
+
accessorKey: "status",
|
170
|
+
cell: ({ cell: r, row: e }) => T(te, { row: e, data: r.getValue() })
|
171
|
+
},
|
172
|
+
{
|
173
|
+
header: () => "Transaction At",
|
174
|
+
accessorKey: "transactionAt",
|
175
|
+
meta: {
|
176
|
+
width: "180px"
|
177
|
+
}
|
178
|
+
},
|
179
|
+
{
|
180
|
+
header: () => "Sales Amount",
|
181
|
+
accessorKey: "amount"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
header: () => "Fee",
|
185
|
+
accessorKey: "fee"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
header: () => "Settlement Amount",
|
189
|
+
accessorKey: "payout"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
header: () => "Actions",
|
193
|
+
accessorKey: "actions",
|
194
|
+
cell: ({ row: r }) => T(se, {
|
195
|
+
onAction: (e) => l(e, r.index)
|
196
|
+
})
|
197
|
+
}
|
198
|
+
];
|
199
|
+
return (r, e) => {
|
200
|
+
const c = _("FmTable");
|
201
|
+
return g(), E(c, {
|
202
|
+
modelValue: f.value,
|
203
|
+
"onUpdate:modelValue": e[0] || (e[0] = (v) => f.value = v),
|
204
|
+
"column-defs": s,
|
205
|
+
"row-data": o.data,
|
206
|
+
loading: o.loading
|
207
|
+
}, null, 8, ["modelValue", "row-data", "loading"]);
|
208
|
+
};
|
209
|
+
}
|
210
|
+
}), ce = { class: "flex justify-between mb-6 items-center" }, le = { class: "flex space-x-4" }, ue = { class: "flex space-x-4" }, Fe = /* @__PURE__ */ h({
|
211
|
+
__name: "Transaction",
|
212
|
+
setup(p) {
|
213
|
+
const { dateRange: n, searchKey: o } = X({
|
214
|
+
searchKey: "",
|
215
|
+
dateRange: {
|
216
|
+
startDate: O().startOf("day").toISOString(),
|
217
|
+
endDate: O().endOf("day").toISOString()
|
218
|
+
}
|
219
|
+
}), { isLoading: l, startAsyncCall: f } = Q(!0), s = Y(), r = j(), e = N([]), c = N([]);
|
220
|
+
async function v() {
|
221
|
+
await f(async () => {
|
222
|
+
const { startDate: i, endDate: t } = n.value, a = await w.readTransactions({
|
223
|
+
start: i,
|
224
|
+
end: t
|
225
|
+
});
|
226
|
+
if (e.value = J(a), c.value = e.value, o.value > "") {
|
227
|
+
var u = new RegExp(o.value, "i");
|
228
|
+
c.value = e.value.filter((d) => {
|
229
|
+
const C = JSON.stringify(d);
|
230
|
+
return u.test(C);
|
231
|
+
});
|
232
|
+
}
|
233
|
+
});
|
234
|
+
}
|
235
|
+
function q() {
|
236
|
+
v();
|
237
|
+
}
|
238
|
+
G(q);
|
239
|
+
let A;
|
240
|
+
k(o, async () => {
|
241
|
+
A && clearTimeout(A), A = setTimeout(() => {
|
242
|
+
var i = new RegExp(o.value, "i");
|
243
|
+
c.value = e.value.filter((t) => {
|
244
|
+
const a = JSON.stringify(t);
|
245
|
+
return i.test(a);
|
246
|
+
});
|
247
|
+
}, 700);
|
248
|
+
}), k(e, async () => {
|
249
|
+
let i = e.value;
|
250
|
+
if (o.value) {
|
251
|
+
var t = new RegExp(o.value, "i");
|
252
|
+
i = e.value.filter((a) => {
|
253
|
+
const u = JSON.stringify(a);
|
254
|
+
return t.test(u);
|
255
|
+
});
|
256
|
+
}
|
257
|
+
c.value = i;
|
258
|
+
}, { deep: !0 });
|
259
|
+
async function K(i) {
|
260
|
+
const t = c.value.at(i);
|
261
|
+
if (!t) {
|
262
|
+
s.open({
|
263
|
+
type: "error",
|
264
|
+
title: "Something went wrong",
|
265
|
+
message: "Fail to find transactions from the displayed transactions."
|
266
|
+
});
|
267
|
+
return;
|
268
|
+
}
|
269
|
+
try {
|
270
|
+
const a = await w.refetchTransaction({ transactionId: t.id }), u = e.value.findIndex((d) => d.id === a._id);
|
271
|
+
e.value[u] = R(a), s.open({
|
272
|
+
type: "success",
|
273
|
+
title: "Transaction queried and updated successfully."
|
274
|
+
});
|
275
|
+
} catch (a) {
|
276
|
+
s.open({
|
277
|
+
type: "error",
|
278
|
+
title: "Fail to query transaction.",
|
279
|
+
message: I(a)
|
280
|
+
});
|
281
|
+
}
|
282
|
+
}
|
283
|
+
async function V(i) {
|
284
|
+
const t = c.value.at(i);
|
285
|
+
if (!t) {
|
286
|
+
s.open({
|
287
|
+
type: "error",
|
288
|
+
title: "Something went wrong",
|
289
|
+
message: "Fail to find transactions from the displayed transactions."
|
290
|
+
});
|
291
|
+
return;
|
292
|
+
}
|
293
|
+
P(
|
294
|
+
r,
|
295
|
+
"Refund Transaction",
|
296
|
+
"Are you sure to refund transaction? This action cannot be revert!",
|
297
|
+
async () => {
|
298
|
+
try {
|
299
|
+
const a = await w.refundTransaction({
|
300
|
+
transactionId: t.id,
|
301
|
+
reason: "portal transaction refund",
|
302
|
+
amount: t.fdoAmount
|
303
|
+
}), u = e.value.findIndex((d) => d.id === a._id);
|
304
|
+
e.value[u] = R(a), s.open({
|
305
|
+
type: "success",
|
306
|
+
title: "Transaction refund request initiated."
|
307
|
+
});
|
308
|
+
} catch (a) {
|
309
|
+
s.open({
|
310
|
+
type: "error",
|
311
|
+
title: "Fail to request refund transaction.",
|
312
|
+
message: I(a)
|
313
|
+
});
|
314
|
+
}
|
315
|
+
}
|
316
|
+
);
|
317
|
+
}
|
318
|
+
async function M(i) {
|
319
|
+
const t = c.value.at(i);
|
320
|
+
if (!t) {
|
321
|
+
s.open({
|
322
|
+
type: "error",
|
323
|
+
title: "Something went wrong",
|
324
|
+
message: "Fail to find transactions from the displayed transactions."
|
325
|
+
});
|
326
|
+
return;
|
327
|
+
}
|
328
|
+
P(
|
329
|
+
r,
|
330
|
+
"Notify Transaction",
|
331
|
+
"Are you sure to perform notify transaction?",
|
332
|
+
async () => {
|
333
|
+
try {
|
334
|
+
await w.renotifyTransaction(t.id), s.open({
|
335
|
+
type: "success",
|
336
|
+
title: "Transaction notify successfully."
|
337
|
+
});
|
338
|
+
} catch (a) {
|
339
|
+
s.open({
|
340
|
+
type: "error",
|
341
|
+
title: "Fail to notify transaction.",
|
342
|
+
message: I(a)
|
343
|
+
});
|
344
|
+
}
|
345
|
+
}
|
346
|
+
);
|
347
|
+
}
|
348
|
+
return (i, t) => {
|
349
|
+
const a = _("FmSearch"), u = _("FmDateRangePicker");
|
350
|
+
return g(), E(Z, {
|
351
|
+
title: "Online Transactions",
|
352
|
+
loading: m(l)
|
353
|
+
}, {
|
354
|
+
default: x(() => [
|
355
|
+
b("div", ce, [
|
356
|
+
b("div", le, [
|
357
|
+
y(a, {
|
358
|
+
"model-value": m(o),
|
359
|
+
"onUpdate:modelValue": t[0] || (t[0] = (d) => D(o) ? o.value = d : null),
|
360
|
+
class: "mr-8",
|
361
|
+
label: "Search",
|
362
|
+
placeholder: "Search Transactions ..."
|
363
|
+
}, null, 8, ["model-value"]),
|
364
|
+
y(u, {
|
365
|
+
modelValue: m(n),
|
366
|
+
"onUpdate:modelValue": [
|
367
|
+
t[1] || (t[1] = (d) => D(n) ? n.value = d : null),
|
368
|
+
v
|
369
|
+
],
|
370
|
+
compare: "",
|
371
|
+
"show-predefined-range": ""
|
372
|
+
}, null, 8, ["modelValue"])
|
373
|
+
]),
|
374
|
+
b("div", ue, [
|
375
|
+
y(ee, {
|
376
|
+
button: {
|
377
|
+
appendIcon: "file_download",
|
378
|
+
variant: "primary",
|
379
|
+
label: "Export"
|
380
|
+
},
|
381
|
+
handler: async () => {
|
382
|
+
await m(w).downloadTransactionReport({
|
383
|
+
start: m(n).startDate,
|
384
|
+
end: m(n).endDate
|
385
|
+
});
|
386
|
+
}
|
387
|
+
}, null, 8, ["handler"])
|
388
|
+
])
|
389
|
+
]),
|
390
|
+
y(ie, {
|
391
|
+
loading: m(l),
|
392
|
+
data: c.value,
|
393
|
+
onQuery: K,
|
394
|
+
onRefund: V,
|
395
|
+
onNotify: M
|
396
|
+
}, null, 8, ["loading", "data"])
|
397
|
+
]),
|
398
|
+
_: 1
|
399
|
+
}, 8, ["loading"]);
|
400
|
+
};
|
401
|
+
}
|
402
|
+
});
|
403
|
+
export {
|
404
|
+
Fe as default
|
405
|
+
};
|
package/dist/api/index.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type PaginatedResult } from "@feedmepos/payment-entity";
|
2
2
|
import { type AxiosInstance, type AxiosResponse } from "axios";
|
3
|
+
import type { WorkBook } from "xlsx";
|
3
4
|
type ApiVariant = "portal" | "auth";
|
4
5
|
interface ApiUrl {
|
5
6
|
portalBackendUrl: string;
|
@@ -29,6 +30,17 @@ export declare const authInstance: (config?: {
|
|
29
30
|
}) => AxiosInstance;
|
30
31
|
export declare const businessClientInstance: () => AxiosInstance;
|
31
32
|
export declare const restaurantClientInstance: (prefix?: string) => AxiosInstance;
|
33
|
+
type TransformFunction<T> = (value: T) => any;
|
34
|
+
type TransformFunctions<T> = {
|
35
|
+
[K in keyof T]?: TransformFunction<T[K]>;
|
36
|
+
};
|
37
|
+
export declare function localWorkbookAndDownload<T extends Object>(data: T[], options?: {
|
38
|
+
transformers?: TransformFunctions<T>;
|
39
|
+
exclude?: (keyof T)[];
|
40
|
+
rename?: Partial<Record<keyof T, string>>;
|
41
|
+
filename?: string;
|
42
|
+
}): void;
|
43
|
+
export declare function getWorkbookAndDownload(response: AxiosResponse<WorkBook>, filename: string): void;
|
32
44
|
export declare function getData<T>(response: AxiosResponse<T>): T;
|
33
45
|
export declare function getPaginatedResult<T>(response: AxiosResponse<PaginatedResult<T>>): PaginatedResult<T>;
|
34
46
|
export {};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export interface PaginationRequest {
|
2
|
+
skip: number;
|
3
|
+
limit: number;
|
4
|
+
sortBy: string;
|
5
|
+
descending?: boolean;
|
6
|
+
search?: string;
|
7
|
+
}
|
8
|
+
export interface PaginatedResponse<T> {
|
9
|
+
resources: T[];
|
10
|
+
meta: PaginatedMeta;
|
11
|
+
}
|
12
|
+
export interface PaginatedMeta {
|
13
|
+
skip: number;
|
14
|
+
limit: number;
|
15
|
+
sortBy: string;
|
16
|
+
descending?: boolean;
|
17
|
+
search?: string;
|
18
|
+
totalPages: number | null;
|
19
|
+
totalResources: number | null;
|
20
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { FdoPaymentGateway } from "@feedmepos/payment-entity";
|
2
|
+
/**
|
3
|
+
* Relying on the payout account so need pass in the restaurant id from the payout account
|
4
|
+
*/
|
5
|
+
export declare const paymentGatewayApi: {
|
6
|
+
get(restaurantId: string): Promise<FdoPaymentGateway[]>;
|
7
|
+
upsert(restaurantId: string, body: FdoPaymentGateway): Promise<FdoPaymentGateway[]>;
|
8
|
+
delete(restaurantId: string, gatewayId: string): Promise<FdoPaymentGateway[]>;
|
9
|
+
};
|