@feedmepos/mf-payment 0.0.0-beta.5 → 0.0.0-beta.50
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-BTmMOzwx.js +39 -0
- 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/Modal-DB8M9o1T.js +13 -0
- package/dist/{PayoutAccount-DG7T6kD1.js → PayoutAccount-DABJBnNC.js} +38 -35
- package/dist/{PayoutAccount-0WC8znVs.js → PayoutAccount-DGydj2Rp.js} +289 -3161
- package/dist/PayoutAccountSetting-CTHMEsjH.js +780 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-DsjIRuJW.js +150 -0
- package/dist/Settlement-G6Ac690_.js +144 -0
- package/dist/{SettlementTransactions-DaPsFXU6.js → SettlementTransactions-D1pkLrWn.js} +99 -105
- package/dist/{SettlementTransactions-CN80rfjl.js → SettlementTransactions-DZnWOOzM.js} +117 -130
- package/dist/Terminal-ClGqWjhf.js +372 -0
- package/dist/TerminalSetting-BixN506L.js +379 -0
- package/dist/TerminalTransaction-CjYedRYO.js +418 -0
- package/dist/TerminalTransaction-Cpovc2fH.js +242 -0
- package/dist/Transaction-LC2KAr1G.js +242 -0
- package/dist/Transaction-bUy85OPi.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/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-BSw8aQiR.js +6343 -0
- package/dist/app.js +3 -198
- package/dist/assets/icons/index.d.ts +1 -3
- package/dist/assets-B9l5jWbK.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/RestaurantSelector.vue.d.ts +2 -0
- package/dist/components/RouteCell.vue.d.ts +8 -0
- package/dist/helpers/assets.d.ts +2 -0
- package/dist/index-9ujJCGqe.js +55911 -0
- package/dist/{index-ONVv2EsB.js → index-BlGpdOEP.js} +1 -1
- package/dist/{index-g9d8rwR_.js → index-C074LfUa.js} +13 -23
- package/dist/{index-B-3Vz_px.js → index-C5AZUa6M.js} +1 -1
- package/dist/index-DYz8XIrE.js +52 -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/payout-account-DDKFUaz5.js +1805 -0
- 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/tabs/PaymentGateway.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 +8 -8
- package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js +0 -42
- package/dist/PayoutAccountSetting-CYEzOO_x.js +0 -425
- package/dist/Settlement-B7dxZllN.js +0 -136
- package/dist/Settlement-CcTtaP6I.js +0 -132
- package/dist/Terminal-CMBB-Q32.js +0 -204
- package/dist/TerminalTransaction-MeyqLQ81.js +0 -240
- package/dist/Transaction-BAQvj173.js +0 -242
- package/dist/Transaction-CATazx8y.js +0 -241
- package/dist/api/auth/index.d.ts +0 -7
- package/dist/assets-LSl507nH.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-RfsX2czs.js +0 -40074
- package/dist/index.vue_vue_type_script_setup_true_lang-BB6McGpo.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/payout-account-B1kRpd3u.js +0 -3317
- package/dist/transaction-CfEK62PY.js +0 -64
@@ -0,0 +1,418 @@
|
|
1
|
+
import { defineComponent as I, openBlock as y, createElementBlock as h, unref as c, createCommentVNode as V, createElementVNode as w, resolveComponent as g, createBlock as v, normalizeClass as K, withCtx as N, toDisplayString as C, createVNode as p, Fragment as $, renderList as L, ref as P, watch as F, isRef as x, h as A } from "vue";
|
2
|
+
import { c as f } from "./index-9ujJCGqe.js";
|
3
|
+
import { h as R } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as B } from "./index-C5AZUa6M.js";
|
5
|
+
import { _ as G } from "./index.vue_vue_type_script_setup_true_lang-DcbfY6SQ.js";
|
6
|
+
import { _ as U } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
7
|
+
import { useSnackbar as Y, useDialog as Q } from "@feedmepos/ui-library";
|
8
|
+
import { g as W } from "./assets-B9l5jWbK.js";
|
9
|
+
import { E as j, t as b } from "./index-DYz8XIrE.js";
|
10
|
+
import { d as z } from "./dinero-CIVmXLL-.js";
|
11
|
+
import { _ as H } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
12
|
+
import { _ as J } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
|
13
|
+
import { useRouter as X } from "vue-router";
|
14
|
+
import { w as Z } from "./Modal-DB8M9o1T.js";
|
15
|
+
import { u as S } from "./error-K1CakhA9.js";
|
16
|
+
const ee = { class: "flex" }, te = ["src"], ae = ["src"], ne = /* @__PURE__ */ I({
|
17
|
+
__name: "Gateway",
|
18
|
+
props: {
|
19
|
+
row: {},
|
20
|
+
data: {}
|
21
|
+
},
|
22
|
+
setup(T) {
|
23
|
+
return (a, m) => (y(), h("div", ee, [
|
24
|
+
a.row.original.ecrGateway ? (y(), h("img", {
|
25
|
+
key: 0,
|
26
|
+
class: "bg-fm-color-overlay-background rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
27
|
+
src: c(j)
|
28
|
+
}, null, 8, te)) : V("", !0),
|
29
|
+
w("img", {
|
30
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
31
|
+
src: c(W)(a.row.original.gateway)
|
32
|
+
}, null, 8, ae)
|
33
|
+
]));
|
34
|
+
}
|
35
|
+
}), re = /* @__PURE__ */ I({
|
36
|
+
__name: "Status",
|
37
|
+
props: {
|
38
|
+
row: {},
|
39
|
+
data: {}
|
40
|
+
},
|
41
|
+
setup(T) {
|
42
|
+
const a = T;
|
43
|
+
function m() {
|
44
|
+
return a.data === f.F_TERMINAL_TRANSACTION_ACTION.Enum.process ? "!w-[16px] !h-[16px] bg-yellow-400" : a.data === f.F_TERMINAL_TRANSACTION_ACTION.Enum.failed ? "!w-[16px] !h-[16px] bg-red-400" : a.data === f.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
45
|
+
}
|
46
|
+
return (o, l) => {
|
47
|
+
const s = g("FmBadge");
|
48
|
+
return y(), v(s, {
|
49
|
+
inline: "",
|
50
|
+
class: K(m())
|
51
|
+
}, {
|
52
|
+
default: N(() => [
|
53
|
+
w("div", null, C(o.data.toUpperCase()), 1)
|
54
|
+
]),
|
55
|
+
_: 1
|
56
|
+
}, 8, ["class"]);
|
57
|
+
};
|
58
|
+
}
|
59
|
+
}), oe = /* @__PURE__ */ I({
|
60
|
+
__name: "RouteCell",
|
61
|
+
props: {
|
62
|
+
data: {},
|
63
|
+
route: {}
|
64
|
+
},
|
65
|
+
setup(T) {
|
66
|
+
const a = T, m = X();
|
67
|
+
function o() {
|
68
|
+
m.push(a.route);
|
69
|
+
}
|
70
|
+
return (l, s) => (y(), h("div", {
|
71
|
+
class: "fm-typo-en-link-md-600",
|
72
|
+
onClick: s[0] || (s[0] = (u) => {
|
73
|
+
u.stopPropagation(), o();
|
74
|
+
})
|
75
|
+
}, C(l.data), 1));
|
76
|
+
}
|
77
|
+
}), se = /* @__PURE__ */ I({
|
78
|
+
__name: "Actions",
|
79
|
+
props: {
|
80
|
+
onAction: { type: Function }
|
81
|
+
},
|
82
|
+
setup(T) {
|
83
|
+
const a = [
|
84
|
+
{
|
85
|
+
label: "Query",
|
86
|
+
sublabel: "Perform transaction status inquriy",
|
87
|
+
icon: "question_answer",
|
88
|
+
action: "query"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
label: "Refund",
|
92
|
+
sublabel: "Perform transaction refund request",
|
93
|
+
icon: "request_page",
|
94
|
+
action: "refund"
|
95
|
+
}
|
96
|
+
];
|
97
|
+
return (m, o) => {
|
98
|
+
const l = g("FmIcon"), s = g("FmMenuItem"), u = g("FmMenu");
|
99
|
+
return y(), h("div", {
|
100
|
+
onClick: o[0] || (o[0] = (i) => {
|
101
|
+
i.stopPropagation();
|
102
|
+
})
|
103
|
+
}, [
|
104
|
+
p(u, null, {
|
105
|
+
"menu-button": N(() => [
|
106
|
+
p(l, { name: "settings" })
|
107
|
+
]),
|
108
|
+
default: N(() => [
|
109
|
+
(y(), h($, null, L(a, (i) => p(s, {
|
110
|
+
selectable: !0,
|
111
|
+
key: i.label,
|
112
|
+
sublabel: i.sublabel,
|
113
|
+
label: i.label,
|
114
|
+
icon: i.icon,
|
115
|
+
onclick: () => m.onAction(i.action)
|
116
|
+
}, null, 8, ["sublabel", "label", "icon", "onclick"])), 64))
|
117
|
+
]),
|
118
|
+
_: 1
|
119
|
+
})
|
120
|
+
]);
|
121
|
+
};
|
122
|
+
}
|
123
|
+
}), le = { class: "flex justify-between mb-6 items-start" }, ie = { class: "flex space-x-4 items-start" }, ce = { class: "flex space-x-4" }, xe = /* @__PURE__ */ I({
|
124
|
+
__name: "TerminalTransaction",
|
125
|
+
setup(T) {
|
126
|
+
const a = Y(), m = Q(), o = P(), { dateRange: l, status: s, searchKey: u } = B({
|
127
|
+
searchKey: "",
|
128
|
+
status: [f.F_TERMINAL_TRANSACTION_ACTION.Enum.success],
|
129
|
+
dateRange: {
|
130
|
+
startDate: R().startOf("day").toISOString(),
|
131
|
+
endDate: R().endOf("day").toISOString()
|
132
|
+
}
|
133
|
+
});
|
134
|
+
F([l, s], () => {
|
135
|
+
var e;
|
136
|
+
return (e = o.value) == null ? void 0 : e.reset();
|
137
|
+
});
|
138
|
+
let i;
|
139
|
+
F(u, async () => {
|
140
|
+
i && clearTimeout(i), i = setTimeout(
|
141
|
+
() => {
|
142
|
+
var e;
|
143
|
+
return (e = o.value) == null ? void 0 : e.reset();
|
144
|
+
},
|
145
|
+
700
|
146
|
+
);
|
147
|
+
});
|
148
|
+
async function k(e) {
|
149
|
+
var r, d, _;
|
150
|
+
const t = (d = (r = o.value) == null ? void 0 : r.pageData()) == null ? void 0 : d.at(e);
|
151
|
+
if (!t) {
|
152
|
+
a.open({
|
153
|
+
type: "error",
|
154
|
+
title: "Something went wrong",
|
155
|
+
message: "Fail to find transactions from the displayed transactions."
|
156
|
+
});
|
157
|
+
return;
|
158
|
+
}
|
159
|
+
if (!t.refId) {
|
160
|
+
a.open({
|
161
|
+
type: "error",
|
162
|
+
title: "Something went wrong",
|
163
|
+
message: "Transaction isn't a valid transaction to perform query"
|
164
|
+
});
|
165
|
+
return;
|
166
|
+
}
|
167
|
+
try {
|
168
|
+
const n = await b.queryTransaction(t._id);
|
169
|
+
(_ = o.value) == null || _.replaceData(e, n), a.open({
|
170
|
+
type: "success",
|
171
|
+
title: "Transaction queried and updated successfully."
|
172
|
+
});
|
173
|
+
} catch (n) {
|
174
|
+
a.open({
|
175
|
+
type: "error",
|
176
|
+
title: "Fail to query transaction.",
|
177
|
+
message: S(n)
|
178
|
+
});
|
179
|
+
}
|
180
|
+
}
|
181
|
+
async function E(e) {
|
182
|
+
var r, d;
|
183
|
+
const t = (d = (r = o.value) == null ? void 0 : r.pageData()) == null ? void 0 : d.at(e);
|
184
|
+
if (!t) {
|
185
|
+
a.open({
|
186
|
+
type: "error",
|
187
|
+
title: "Something went wrong",
|
188
|
+
message: "Fail to find transactions from the displayed transactions."
|
189
|
+
});
|
190
|
+
return;
|
191
|
+
}
|
192
|
+
if (!t.refId) {
|
193
|
+
a.open({
|
194
|
+
type: "error",
|
195
|
+
title: "Something went wrong",
|
196
|
+
message: "Transaction isn't a valid transaction to perform refund"
|
197
|
+
});
|
198
|
+
return;
|
199
|
+
}
|
200
|
+
Z(
|
201
|
+
m,
|
202
|
+
"Refund Transaction",
|
203
|
+
"Are you sure to refund transaction? This action cannot be revert!",
|
204
|
+
async () => {
|
205
|
+
var _;
|
206
|
+
try {
|
207
|
+
const n = await b.refundTransaction({
|
208
|
+
transactionId: t._id,
|
209
|
+
reason: "portal transaction refund",
|
210
|
+
amount: t.details.amount
|
211
|
+
});
|
212
|
+
(_ = o.value) == null || _.replaceData(e, n), a.open({
|
213
|
+
type: "success",
|
214
|
+
title: "Transaction queried and updated successfully."
|
215
|
+
});
|
216
|
+
} catch (n) {
|
217
|
+
a.open({
|
218
|
+
type: "error",
|
219
|
+
title: "Fail to query transaction.",
|
220
|
+
message: S(n)
|
221
|
+
});
|
222
|
+
}
|
223
|
+
}
|
224
|
+
);
|
225
|
+
}
|
226
|
+
const O = [
|
227
|
+
{
|
228
|
+
label: "Success",
|
229
|
+
value: f.F_TERMINAL_TRANSACTION_ACTION.Enum.success
|
230
|
+
},
|
231
|
+
{
|
232
|
+
label: "Refunded",
|
233
|
+
value: f.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded
|
234
|
+
},
|
235
|
+
{
|
236
|
+
label: "Process",
|
237
|
+
value: f.F_TERMINAL_TRANSACTION_ACTION.Enum.process
|
238
|
+
},
|
239
|
+
{
|
240
|
+
label: "Failed",
|
241
|
+
value: f.F_TERMINAL_TRANSACTION_ACTION.Enum.failed
|
242
|
+
}
|
243
|
+
], D = function(e) {
|
244
|
+
const t = e;
|
245
|
+
let r = "-";
|
246
|
+
return t.details && t.details.amount && (r = z(t.details.amount).toFormat("$0.00")), {
|
247
|
+
id: e._id,
|
248
|
+
refId: e.refId,
|
249
|
+
owner: e.owner,
|
250
|
+
terminalId: e.terminalId,
|
251
|
+
transactionAt: R(e.transactionAt).format("YYYY-MM-DD hh:mm:ss"),
|
252
|
+
action: e.action,
|
253
|
+
gateway: e.gateway,
|
254
|
+
ecrGateway: e.ecrGateway,
|
255
|
+
amount: r
|
256
|
+
};
|
257
|
+
}, M = [
|
258
|
+
{
|
259
|
+
accessorKey: "id",
|
260
|
+
header: () => "Transaction ID",
|
261
|
+
meta: {
|
262
|
+
textAlign: "left"
|
263
|
+
},
|
264
|
+
cell: ({ cell: e }) => A(J, { data: e.getValue() })
|
265
|
+
},
|
266
|
+
{
|
267
|
+
accessorKey: "terminalId",
|
268
|
+
header: () => "Terminal ID",
|
269
|
+
meta: {
|
270
|
+
textAlign: "left"
|
271
|
+
},
|
272
|
+
cell: ({ cell: e, row: t }) => {
|
273
|
+
const r = e.getValue();
|
274
|
+
return A(oe, {
|
275
|
+
data: r,
|
276
|
+
route: {
|
277
|
+
name: "mf-payment-admin.terminal-setting",
|
278
|
+
params: { terminalId: r }
|
279
|
+
}
|
280
|
+
});
|
281
|
+
}
|
282
|
+
},
|
283
|
+
{
|
284
|
+
accessorKey: "refId",
|
285
|
+
header: () => "Reference ID",
|
286
|
+
meta: {
|
287
|
+
textAlign: "left"
|
288
|
+
}
|
289
|
+
},
|
290
|
+
{
|
291
|
+
accessorKey: "gateway",
|
292
|
+
header: () => "Gateway",
|
293
|
+
meta: {
|
294
|
+
textAlign: "center",
|
295
|
+
maxWidth: "128px"
|
296
|
+
},
|
297
|
+
cell: ({ cell: e, row: t }) => A(ne, { row: t, data: e.getValue() })
|
298
|
+
},
|
299
|
+
{
|
300
|
+
accessorKey: "action",
|
301
|
+
header: () => "Status",
|
302
|
+
meta: {
|
303
|
+
textAlign: "right",
|
304
|
+
maxWidth: "132px"
|
305
|
+
},
|
306
|
+
cell: ({ cell: e, row: t }) => A(re, { row: t, data: e.getValue() })
|
307
|
+
},
|
308
|
+
{
|
309
|
+
accessorKey: "amount",
|
310
|
+
header: () => "Sales Amount",
|
311
|
+
meta: {
|
312
|
+
textAlign: "center"
|
313
|
+
}
|
314
|
+
},
|
315
|
+
{
|
316
|
+
accessorKey: "owner",
|
317
|
+
header: () => "Reference",
|
318
|
+
meta: {
|
319
|
+
textAlign: "left"
|
320
|
+
}
|
321
|
+
},
|
322
|
+
{
|
323
|
+
accessorKey: "transactionAt",
|
324
|
+
header: () => "Transaction At",
|
325
|
+
meta: {
|
326
|
+
textAlign: "left"
|
327
|
+
}
|
328
|
+
},
|
329
|
+
{
|
330
|
+
header: () => "Actions",
|
331
|
+
accessorKey: "actions",
|
332
|
+
cell: ({ row: e }) => {
|
333
|
+
if (e.original.gateway === "ScanPay")
|
334
|
+
return A(se, {
|
335
|
+
onAction: (t) => {
|
336
|
+
const r = e.index;
|
337
|
+
switch (t) {
|
338
|
+
case "query":
|
339
|
+
return k(r);
|
340
|
+
case "refund":
|
341
|
+
return E(r);
|
342
|
+
}
|
343
|
+
}
|
344
|
+
});
|
345
|
+
}
|
346
|
+
}
|
347
|
+
];
|
348
|
+
return (e, t) => {
|
349
|
+
const r = g("FmSearch"), d = g("FmSelect"), _ = g("FmDateRangePicker");
|
350
|
+
return y(), v(U, {
|
351
|
+
title: "Offline Transactions",
|
352
|
+
loading: !1
|
353
|
+
}, {
|
354
|
+
default: N(() => [
|
355
|
+
w("div", le, [
|
356
|
+
w("div", ie, [
|
357
|
+
p(r, {
|
358
|
+
"model-value": c(u),
|
359
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => x(u) ? u.value = n : null),
|
360
|
+
class: "mr-8",
|
361
|
+
label: "Search",
|
362
|
+
placeholder: "Search Transactions ..."
|
363
|
+
}, null, 8, ["model-value"]),
|
364
|
+
p(d, {
|
365
|
+
modelValue: c(s),
|
366
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => x(s) ? s.value = n : null),
|
367
|
+
class: "mr-6 w-[300px]",
|
368
|
+
label: "Status",
|
369
|
+
"label-mark": "required",
|
370
|
+
multiselect: "",
|
371
|
+
items: O
|
372
|
+
}, null, 8, ["modelValue"]),
|
373
|
+
p(_, {
|
374
|
+
modelValue: c(l),
|
375
|
+
"onUpdate:modelValue": t[2] || (t[2] = (n) => x(l) ? l.value = n : null),
|
376
|
+
compare: "",
|
377
|
+
"show-predefined-range": ""
|
378
|
+
}, null, 8, ["modelValue"])
|
379
|
+
]),
|
380
|
+
w("div", ce, [
|
381
|
+
p(H, {
|
382
|
+
button: {
|
383
|
+
appendIcon: "file_download",
|
384
|
+
variant: "primary",
|
385
|
+
label: "Export"
|
386
|
+
},
|
387
|
+
handler: async () => {
|
388
|
+
var n;
|
389
|
+
return c(b).downloadTransactions(await ((n = o.value) == null ? void 0 : n.allData()) ?? []);
|
390
|
+
}
|
391
|
+
}, null, 8, ["handler"])
|
392
|
+
])
|
393
|
+
]),
|
394
|
+
p(G, {
|
395
|
+
ref_key: "controller",
|
396
|
+
ref: o,
|
397
|
+
"column-defs": M,
|
398
|
+
"rows-defs": D,
|
399
|
+
onRowClick: t[3] || (t[3] = () => {
|
400
|
+
}),
|
401
|
+
paginate: (n, q) => c(b).readTransactions({
|
402
|
+
status: c(s),
|
403
|
+
searchKey: c(u),
|
404
|
+
limit: n,
|
405
|
+
cursor: q,
|
406
|
+
start: c(l).startDate,
|
407
|
+
end: c(l).endDate
|
408
|
+
})
|
409
|
+
}, null, 8, ["paginate"])
|
410
|
+
]),
|
411
|
+
_: 1
|
412
|
+
});
|
413
|
+
};
|
414
|
+
}
|
415
|
+
});
|
416
|
+
export {
|
417
|
+
xe as default
|
418
|
+
};
|
@@ -0,0 +1,242 @@
|
|
1
|
+
import { defineComponent as N, openBlock as _, createElementBlock as x, Fragment as F, unref as t, createCommentVNode as k, createElementVNode as d, resolveComponent as p, createBlock as R, normalizeClass as D, withCtx as C, toDisplayString as V, ref as K, watch as T, createVNode as i, isRef as g, h } from "vue";
|
2
|
+
import { c as l } from "./index-9ujJCGqe.js";
|
3
|
+
import { h as I } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as M } from "./index-C5AZUa6M.js";
|
5
|
+
import { _ as $ } from "./index.vue_vue_type_script_setup_true_lang-DcbfY6SQ.js";
|
6
|
+
import "@feedmepos/ui-library";
|
7
|
+
import { g as L } from "./assets-B9l5jWbK.js";
|
8
|
+
import { E as B, t as w } from "./index-DYz8XIrE.js";
|
9
|
+
import { d as G } from "./dinero-CIVmXLL-.js";
|
10
|
+
import { _ as P } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js";
|
11
|
+
import { useCoreStore as U } from "@feedmepos/mf-common";
|
12
|
+
import { _ as Y } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
13
|
+
import { _ as W } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
|
14
|
+
import { _ as j } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
15
|
+
const q = ["src"], z = ["src"], Q = /* @__PURE__ */ N({
|
16
|
+
__name: "Gateway",
|
17
|
+
props: {
|
18
|
+
row: {},
|
19
|
+
data: {}
|
20
|
+
},
|
21
|
+
setup(f) {
|
22
|
+
return (n, s) => (_(), x(F, null, [
|
23
|
+
n.row.original.ecrGateway ? (_(), x("img", {
|
24
|
+
key: 0,
|
25
|
+
class: "bg-fm-color-overlay-background rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
26
|
+
src: t(B)
|
27
|
+
}, null, 8, q)) : k("", !0),
|
28
|
+
d("img", {
|
29
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
30
|
+
src: t(L)(n.row.original.gateway)
|
31
|
+
}, null, 8, z)
|
32
|
+
], 64));
|
33
|
+
}
|
34
|
+
}), H = /* @__PURE__ */ N({
|
35
|
+
__name: "Status",
|
36
|
+
props: {
|
37
|
+
row: {},
|
38
|
+
data: {}
|
39
|
+
},
|
40
|
+
setup(f) {
|
41
|
+
const n = f;
|
42
|
+
function s() {
|
43
|
+
return n.data === l.F_TERMINAL_TRANSACTION_ACTION.Enum.process ? "!w-[16px] !h-[16px] bg-yellow-400" : n.data === l.F_TERMINAL_TRANSACTION_ACTION.Enum.failed ? "!w-[16px] !h-[16px] bg-red-400" : n.data === l.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
44
|
+
}
|
45
|
+
return (o, m) => {
|
46
|
+
const c = p("FmBadge");
|
47
|
+
return _(), R(c, {
|
48
|
+
inline: "",
|
49
|
+
class: D(s())
|
50
|
+
}, {
|
51
|
+
default: C(() => [
|
52
|
+
d("div", null, V(o.data.toUpperCase()), 1)
|
53
|
+
]),
|
54
|
+
_: 1
|
55
|
+
}, 8, ["class"]);
|
56
|
+
};
|
57
|
+
}
|
58
|
+
}), J = { class: "flex justify-between mb-6 items-start" }, X = { class: "flex space-x-8 items-start" }, Z = { class: "flex space-x-4" }, _e = /* @__PURE__ */ N({
|
59
|
+
__name: "TerminalTransaction",
|
60
|
+
setup(f) {
|
61
|
+
const { currentRestaurant: n } = U(), s = K(), { dateRange: o, status: m, searchKey: c } = M({
|
62
|
+
searchKey: "",
|
63
|
+
status: [l.F_TERMINAL_TRANSACTION_ACTION.Enum.success],
|
64
|
+
dateRange: {
|
65
|
+
startDate: I().startOf("day").toISOString(),
|
66
|
+
endDate: I().endOf("day").toISOString()
|
67
|
+
}
|
68
|
+
});
|
69
|
+
T([o, m], () => {
|
70
|
+
var e;
|
71
|
+
return (e = s.value) == null ? void 0 : e.reset();
|
72
|
+
}), T(n, () => {
|
73
|
+
var e;
|
74
|
+
return (e = s.value) == null ? void 0 : e.reset();
|
75
|
+
});
|
76
|
+
let A;
|
77
|
+
T(c, async () => {
|
78
|
+
A && clearTimeout(A), A = setTimeout(
|
79
|
+
() => {
|
80
|
+
var e;
|
81
|
+
return (e = s.value) == null ? void 0 : e.reset();
|
82
|
+
},
|
83
|
+
700
|
84
|
+
);
|
85
|
+
});
|
86
|
+
const S = [
|
87
|
+
{
|
88
|
+
label: "Success",
|
89
|
+
value: l.F_TERMINAL_TRANSACTION_ACTION.Enum.success
|
90
|
+
},
|
91
|
+
{
|
92
|
+
label: "Refunded",
|
93
|
+
value: l.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded
|
94
|
+
},
|
95
|
+
{
|
96
|
+
label: "Process",
|
97
|
+
value: l.F_TERMINAL_TRANSACTION_ACTION.Enum.process
|
98
|
+
},
|
99
|
+
{
|
100
|
+
label: "Failed",
|
101
|
+
value: l.F_TERMINAL_TRANSACTION_ACTION.Enum.failed
|
102
|
+
}
|
103
|
+
], E = function(e) {
|
104
|
+
const a = e;
|
105
|
+
let u = "-";
|
106
|
+
return a.details && a.details.amount && (u = G(a.details.amount).toFormat("$0.00")), {
|
107
|
+
id: e._id,
|
108
|
+
refId: e.refId,
|
109
|
+
terminalId: e.terminalId,
|
110
|
+
transactionAt: I(e.transactionAt).format("YYYY-MM-DD hh:mm:ss"),
|
111
|
+
action: e.action,
|
112
|
+
gateway: e.gateway,
|
113
|
+
ecrGateway: e.ecrGateway,
|
114
|
+
amount: u
|
115
|
+
};
|
116
|
+
}, O = [
|
117
|
+
{
|
118
|
+
accessorKey: "id",
|
119
|
+
header: () => "Transaction ID",
|
120
|
+
meta: {
|
121
|
+
textAlign: "left"
|
122
|
+
},
|
123
|
+
cell: ({ cell: e }) => h(W, { data: e.getValue() })
|
124
|
+
},
|
125
|
+
{
|
126
|
+
accessorKey: "refId",
|
127
|
+
header: () => "Reference ID",
|
128
|
+
meta: {
|
129
|
+
textAlign: "left"
|
130
|
+
}
|
131
|
+
},
|
132
|
+
{
|
133
|
+
accessorKey: "gateway",
|
134
|
+
header: () => "Gateway",
|
135
|
+
meta: {
|
136
|
+
textAlign: "center",
|
137
|
+
maxWidth: "128px"
|
138
|
+
},
|
139
|
+
cell: ({ cell: e, row: a }) => h(Q, { row: a, data: e.getValue() })
|
140
|
+
},
|
141
|
+
{
|
142
|
+
accessorKey: "action",
|
143
|
+
header: () => "Status",
|
144
|
+
meta: {
|
145
|
+
textAlign: "right",
|
146
|
+
maxWidth: "132px"
|
147
|
+
},
|
148
|
+
cell: ({ cell: e, row: a }) => h(H, { row: a, data: e.getValue() })
|
149
|
+
},
|
150
|
+
{
|
151
|
+
accessorKey: "amount",
|
152
|
+
header: () => "Sales Amount",
|
153
|
+
meta: {
|
154
|
+
textAlign: "center"
|
155
|
+
}
|
156
|
+
},
|
157
|
+
{
|
158
|
+
accessorKey: "terminalId",
|
159
|
+
header: () => "Terminal ID",
|
160
|
+
meta: {
|
161
|
+
textAlign: "left"
|
162
|
+
}
|
163
|
+
},
|
164
|
+
{
|
165
|
+
accessorKey: "transactionAt",
|
166
|
+
header: () => "Transaction At",
|
167
|
+
meta: {
|
168
|
+
textAlign: "left"
|
169
|
+
}
|
170
|
+
}
|
171
|
+
];
|
172
|
+
return (e, a) => {
|
173
|
+
const u = p("FmSearch"), y = p("FmSelect"), v = p("FmDateRangePicker");
|
174
|
+
return _(), R(j, {
|
175
|
+
title: "Offline Transactions",
|
176
|
+
description: "Transactions are purchases or payments made in retail using electronic devices such as POS systems, kiosks, terminals, or ECRs.",
|
177
|
+
loading: !1
|
178
|
+
}, {
|
179
|
+
default: C(() => [
|
180
|
+
d("div", J, [
|
181
|
+
d("div", X, [
|
182
|
+
i(P),
|
183
|
+
i(u, {
|
184
|
+
"model-value": t(c),
|
185
|
+
"onUpdate:modelValue": a[0] || (a[0] = (r) => g(c) ? c.value = r : null),
|
186
|
+
class: "mr-8",
|
187
|
+
label: "Search",
|
188
|
+
placeholder: "Search Transactions ..."
|
189
|
+
}, null, 8, ["model-value"]),
|
190
|
+
i(y, {
|
191
|
+
modelValue: t(m),
|
192
|
+
"onUpdate:modelValue": a[1] || (a[1] = (r) => g(m) ? m.value = r : null),
|
193
|
+
class: "mr-6 w-[300px]",
|
194
|
+
label: "Status",
|
195
|
+
"label-mark": "required",
|
196
|
+
multiselect: "",
|
197
|
+
items: S
|
198
|
+
}, null, 8, ["modelValue"]),
|
199
|
+
i(v, {
|
200
|
+
modelValue: t(o),
|
201
|
+
"onUpdate:modelValue": a[2] || (a[2] = (r) => g(o) ? o.value = r : null),
|
202
|
+
compare: "",
|
203
|
+
"show-predefined-range": ""
|
204
|
+
}, null, 8, ["modelValue"])
|
205
|
+
]),
|
206
|
+
d("div", Z, [
|
207
|
+
i(Y, {
|
208
|
+
button: {
|
209
|
+
appendIcon: "file_download",
|
210
|
+
variant: "primary",
|
211
|
+
label: "Export"
|
212
|
+
},
|
213
|
+
handler: () => {
|
214
|
+
var r;
|
215
|
+
return t(w).downloadTransactions(((r = s.value) == null ? void 0 : r.data()) ?? []);
|
216
|
+
}
|
217
|
+
}, null, 8, ["handler"])
|
218
|
+
])
|
219
|
+
]),
|
220
|
+
i($, {
|
221
|
+
ref_key: "controller",
|
222
|
+
ref: s,
|
223
|
+
"column-defs": O,
|
224
|
+
"rows-defs": E,
|
225
|
+
paginate: (r, b) => t(w).readRestaurantTransactions({
|
226
|
+
status: t(m),
|
227
|
+
searchKey: t(c),
|
228
|
+
limit: r,
|
229
|
+
cursor: b,
|
230
|
+
start: t(o).startDate,
|
231
|
+
end: t(o).endDate
|
232
|
+
})
|
233
|
+
}, null, 8, ["paginate"])
|
234
|
+
]),
|
235
|
+
_: 1
|
236
|
+
});
|
237
|
+
};
|
238
|
+
}
|
239
|
+
});
|
240
|
+
export {
|
241
|
+
_e as default
|
242
|
+
};
|