@feedmepos/mf-payment 0.0.0-beta.3 → 0.0.0-beta.30
Sign up to get free protection for your applications and to get access to all the features.
- 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-DWoahPJL.js +28 -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-BVljEwn3.js → PDFViewer-CjH_C1uT.js} +10851 -14329
- package/dist/PayoutAccount-Bkncr_cB.js +612 -0
- package/dist/PayoutAccount-D4mqNLsl.js +272 -0
- package/dist/PayoutAccountSetting-B1hM-zzy.js +776 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-DtcJVp3Z.js +144 -0
- package/dist/Settlement-kXEsjqGo.js +150 -0
- package/dist/SettlementTransactions-5JuImQzZ.js +334 -0
- package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-csNNWUX5.js} +99 -105
- package/dist/Terminal-DGfySdfA.js +339 -0
- package/dist/TerminalSetting-CucVft_p.js +374 -0
- package/dist/TerminalTransaction-CwoclWJ5.js +237 -0
- package/dist/TerminalTransaction-DRlFVw4p.js +243 -0
- package/dist/Transaction-CKFRlYUk.js +243 -0
- package/dist/Transaction-DA6UzVnz.js +242 -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 +12 -1
- package/dist/api/terminal-transaction/index.d.ts +9 -0
- package/dist/api/transaction/index.d.ts +6 -2
- package/dist/app.d.ts +3 -0
- package/dist/app.js +105 -82
- package/dist/assets/icons/index.d.ts +1 -3
- package/dist/assets-RXBV3tUm.js +42 -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 +16 -5
- package/dist/components/PDFViewer.vue.d.ts +0 -2
- package/dist/components/RestaurantSelector.vue.d.ts +2 -0
- package/dist/error-K1CakhA9.js +6 -0
- package/dist/{index-B8_4waUa.js → index-BS_dGfh_.js} +1 -1
- package/dist/index-CJp88CGw.js +34 -0
- package/dist/index-CNmg4bnZ.js +40 -0
- package/dist/index-C_44uoxW.js +55889 -0
- package/dist/index-CbUxRjwz.js +47 -0
- package/dist/{index-CjCiGW2Y.js → index-Cl2XhO9t.js} +13 -23
- package/dist/index.vue_vue_type_script_setup_true_lang-GkJ2OZPm.js +155 -0
- package/dist/package.json +8 -8
- package/dist/{index-D-lMrCvM.js → payout-account-C_01-U_N.js} +770 -801
- package/dist/plugins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{transaction-fdJNol6A.js → transaction-yTOBjyUq.js} +29 -13
- 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/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-J3GJxUjj.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/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
@@ -0,0 +1,243 @@
|
|
1
|
+
import { defineComponent as p, resolveComponent as T, openBlock as _, createBlock as A, normalizeClass as O, withCtx as I, createElementVNode as y, toDisplayString as R, createElementBlock as b, unref as r, ref as S, h as g, onMounted as V, watch as K, createVNode as h, isRef as N } from "vue";
|
2
|
+
import { t as E, a as k } from "./transaction-yTOBjyUq.js";
|
3
|
+
import { e as v, u as C } from "./index-C_44uoxW.js";
|
4
|
+
import "@feedmepos/ui-library";
|
5
|
+
import "./dinero-CIVmXLL-.js";
|
6
|
+
import { h as F } from "./moment-h96o7c8I.js";
|
7
|
+
import { g as P, a as $ } from "./assets-RXBV3tUm.js";
|
8
|
+
import { _ as L } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DWoahPJL.js";
|
9
|
+
import "@feedmepos/mf-common";
|
10
|
+
import { u as B } from "./index-BS_dGfh_.js";
|
11
|
+
import { _ as M } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
|
12
|
+
import { _ as U } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
13
|
+
const G = /* @__PURE__ */ p({
|
14
|
+
__name: "Status",
|
15
|
+
props: {
|
16
|
+
row: {},
|
17
|
+
data: {}
|
18
|
+
},
|
19
|
+
setup(i) {
|
20
|
+
const a = i;
|
21
|
+
function n() {
|
22
|
+
return a.data === v.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : a.data === v.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : a.data === v.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
23
|
+
}
|
24
|
+
return (c, d) => {
|
25
|
+
const o = T("FmBadge");
|
26
|
+
return _(), A(o, {
|
27
|
+
inline: "",
|
28
|
+
class: O(n())
|
29
|
+
}, {
|
30
|
+
default: I(() => [
|
31
|
+
y("div", null, R(c.data), 1)
|
32
|
+
]),
|
33
|
+
_: 1
|
34
|
+
}, 8, ["class"]);
|
35
|
+
};
|
36
|
+
}
|
37
|
+
}), Y = ["src"], q = /* @__PURE__ */ p({
|
38
|
+
__name: "Gateway",
|
39
|
+
props: {
|
40
|
+
row: {},
|
41
|
+
data: {}
|
42
|
+
},
|
43
|
+
setup(i) {
|
44
|
+
return (a, n) => (_(), b("img", {
|
45
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
46
|
+
src: r(P)(a.row.original.gateway)
|
47
|
+
}, null, 8, Y));
|
48
|
+
}
|
49
|
+
}), J = ["src"], j = /* @__PURE__ */ p({
|
50
|
+
__name: "Method",
|
51
|
+
props: {
|
52
|
+
row: {},
|
53
|
+
data: {}
|
54
|
+
},
|
55
|
+
setup(i) {
|
56
|
+
return (a, n) => (_(), b("img", {
|
57
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
58
|
+
src: r($)(a.row.original.method.issuer)
|
59
|
+
}, null, 8, J));
|
60
|
+
}
|
61
|
+
}), z = /* @__PURE__ */ p({
|
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(i, { emit: a }) {
|
75
|
+
const n = i, c = a, d = S(""), o = [
|
76
|
+
{
|
77
|
+
header: () => "Transaction ID",
|
78
|
+
accessorKey: "id",
|
79
|
+
cell: ({ cell: t }) => g(L, { data: t.getValue() })
|
80
|
+
},
|
81
|
+
{
|
82
|
+
header: () => "Pay ID",
|
83
|
+
accessorKey: "payId"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
header: () => "Gateway",
|
87
|
+
accessorKey: "gateway",
|
88
|
+
meta: {
|
89
|
+
textAlign: "center"
|
90
|
+
},
|
91
|
+
cell: ({ cell: t, row: e }) => e.original.method ? g(q, { row: e, data: t.getValue() }) : ""
|
92
|
+
},
|
93
|
+
{
|
94
|
+
header: () => "Method",
|
95
|
+
accessorKey: "method",
|
96
|
+
meta: {
|
97
|
+
textAlign: "center"
|
98
|
+
},
|
99
|
+
cell: ({ cell: t, row: e }) => e.original.method ? g(j, { row: e, data: t.getValue() }) : ""
|
100
|
+
},
|
101
|
+
{
|
102
|
+
header: () => "Type",
|
103
|
+
accessorKey: "type",
|
104
|
+
meta: {
|
105
|
+
textAlign: "center"
|
106
|
+
},
|
107
|
+
cell: ({ row: t }) => {
|
108
|
+
if (!t.original.method)
|
109
|
+
return "";
|
110
|
+
const e = t.original.method.variant;
|
111
|
+
return e.includes("_ONLINE") ? "ONLINE" : e.includes("_OFFLINE") ? "OFFLINE" : e;
|
112
|
+
}
|
113
|
+
},
|
114
|
+
{
|
115
|
+
header: () => "Status",
|
116
|
+
accessorKey: "status",
|
117
|
+
cell: ({ cell: t, row: e }) => g(G, { row: e, data: t.getValue() })
|
118
|
+
},
|
119
|
+
{
|
120
|
+
header: () => "Transaction At",
|
121
|
+
accessorKey: "transactionAt",
|
122
|
+
meta: {
|
123
|
+
width: "180px"
|
124
|
+
}
|
125
|
+
},
|
126
|
+
{
|
127
|
+
header: () => "Sales Amount",
|
128
|
+
accessorKey: "amount"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
header: () => "Fee",
|
132
|
+
accessorKey: "fee"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
header: () => "Settlement Amount",
|
136
|
+
accessorKey: "payout"
|
137
|
+
}
|
138
|
+
];
|
139
|
+
return (t, e) => {
|
140
|
+
const w = T("FmTable");
|
141
|
+
return _(), A(w, {
|
142
|
+
modelValue: d.value,
|
143
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => d.value = l),
|
144
|
+
"column-defs": o,
|
145
|
+
"row-data": n.data,
|
146
|
+
loading: n.loading,
|
147
|
+
onRowClick: e[1] || (e[1] = (l) => c("row-click", n.data.at(l.index)))
|
148
|
+
}, null, 8, ["modelValue", "row-data", "loading"]);
|
149
|
+
};
|
150
|
+
}
|
151
|
+
}), Q = { class: "flex justify-between mb-6 items-center" }, H = { class: "flex space-x-4" }, W = { class: "flex space-x-4" }, de = /* @__PURE__ */ p({
|
152
|
+
__name: "Transaction",
|
153
|
+
setup(i) {
|
154
|
+
const { dateRange: a, searchKey: n } = B({
|
155
|
+
searchKey: "",
|
156
|
+
dateRange: {
|
157
|
+
startDate: F().startOf("day").toISOString(),
|
158
|
+
endDate: F().endOf("day").toISOString()
|
159
|
+
}
|
160
|
+
}), { isLoading: c, startAsyncCall: d } = C(!0), o = S([]), t = S([]);
|
161
|
+
async function e() {
|
162
|
+
await d(async () => {
|
163
|
+
const { startDate: f, endDate: s } = a.value, u = await E.readTransactions({
|
164
|
+
start: f,
|
165
|
+
end: s
|
166
|
+
});
|
167
|
+
if (o.value = k(u), t.value = o.value, n.value > "") {
|
168
|
+
var x = new RegExp(n.value, "i");
|
169
|
+
t.value = o.value.filter((m) => {
|
170
|
+
const D = JSON.stringify(m);
|
171
|
+
return x.test(D);
|
172
|
+
});
|
173
|
+
}
|
174
|
+
});
|
175
|
+
}
|
176
|
+
function w() {
|
177
|
+
e();
|
178
|
+
}
|
179
|
+
V(w);
|
180
|
+
let l;
|
181
|
+
return K(n, async () => {
|
182
|
+
l && clearTimeout(l), l = setTimeout(() => {
|
183
|
+
var f = new RegExp(n.value, "i");
|
184
|
+
t.value = o.value.filter((s) => {
|
185
|
+
const u = JSON.stringify(s);
|
186
|
+
return f.test(u);
|
187
|
+
});
|
188
|
+
}, 700);
|
189
|
+
}), (f, s) => {
|
190
|
+
const u = T("FmSearch"), x = T("FmDateRangePicker");
|
191
|
+
return _(), A(M, {
|
192
|
+
title: "Transactions",
|
193
|
+
loading: r(c)
|
194
|
+
}, {
|
195
|
+
default: I(() => [
|
196
|
+
y("div", Q, [
|
197
|
+
y("div", H, [
|
198
|
+
h(u, {
|
199
|
+
"model-value": r(n),
|
200
|
+
"onUpdate:modelValue": s[0] || (s[0] = (m) => N(n) ? n.value = m : null),
|
201
|
+
class: "mr-8",
|
202
|
+
label: "Search",
|
203
|
+
placeholder: "Search Transactions ..."
|
204
|
+
}, null, 8, ["model-value"]),
|
205
|
+
h(x, {
|
206
|
+
modelValue: r(a),
|
207
|
+
"onUpdate:modelValue": [
|
208
|
+
s[1] || (s[1] = (m) => N(a) ? a.value = m : null),
|
209
|
+
e
|
210
|
+
],
|
211
|
+
compare: "",
|
212
|
+
"show-predefined-range": ""
|
213
|
+
}, null, 8, ["modelValue"])
|
214
|
+
]),
|
215
|
+
y("div", W, [
|
216
|
+
h(U, {
|
217
|
+
button: {
|
218
|
+
appendIcon: "file_download",
|
219
|
+
variant: "primary",
|
220
|
+
label: "Export"
|
221
|
+
},
|
222
|
+
handler: async () => {
|
223
|
+
await r(E).downloadTransactionReport({
|
224
|
+
start: r(a).startDate,
|
225
|
+
end: r(a).endDate
|
226
|
+
});
|
227
|
+
}
|
228
|
+
}, null, 8, ["handler"])
|
229
|
+
])
|
230
|
+
]),
|
231
|
+
h(z, {
|
232
|
+
loading: r(c),
|
233
|
+
data: t.value
|
234
|
+
}, null, 8, ["loading", "data"])
|
235
|
+
]),
|
236
|
+
_: 1
|
237
|
+
}, 8, ["loading"]);
|
238
|
+
};
|
239
|
+
}
|
240
|
+
});
|
241
|
+
export {
|
242
|
+
de as default
|
243
|
+
};
|
@@ -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 D, 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-yTOBjyUq.js";
|
3
|
+
import { e as S, u as P } from "./index-C_44uoxW.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-RXBV3tUm.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-BS_dGfh_.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(), D("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(), D("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 O = JSON.stringify(m);
|
172
|
+
return v.test(O);
|
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: "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
|
+
};
|
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
|
+
};
|
@@ -7,7 +7,8 @@ export declare const payoutAccountApi: {
|
|
7
7
|
searchKey: string;
|
8
8
|
cursor: string;
|
9
9
|
limit: number;
|
10
|
-
}): Promise<PaginatedResult<
|
10
|
+
}): Promise<PaginatedResult<PayoutAccountWithRefDto>>;
|
11
|
+
readById(accountId: string): Promise<PayoutAccountWithRefDto>;
|
11
12
|
updateById(accountId: string, update: PayoutAccountUpdateDto): Promise<PayoutAccountDto>;
|
12
13
|
readBusinessPayoutAccounts(): Promise<PayoutAccountWithRefDto[]>;
|
13
14
|
createBusinessPayoutAccounts(payload: PayoutAccountCreateDto): Promise<PayoutAccountWithRefDto>;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { type WorkBook } from "xlsx";
|
1
|
+
import { type SettlementDtoOutput } from "@feedmepos/payment-entity";
|
3
2
|
export declare const settlementApi: {
|
4
3
|
updateRemark(payload: {
|
5
4
|
id: string;
|
@@ -9,23 +8,18 @@ export declare const settlementApi: {
|
|
9
8
|
start: string;
|
10
9
|
end: string;
|
11
10
|
}): Promise<SettlementDtoOutput[]>;
|
12
|
-
|
11
|
+
downloadSettlementReport(date: {
|
13
12
|
start: string;
|
14
13
|
end: string;
|
15
|
-
}): Promise<
|
16
|
-
|
14
|
+
}): Promise<void>;
|
15
|
+
downloadRestaurantSettlementReport(date: {
|
16
|
+
start: string;
|
17
|
+
end: string;
|
18
|
+
}): Promise<void>;
|
17
19
|
readById(settlementId: string): Promise<SettlementDtoOutput>;
|
18
20
|
readRestaurantSettlementById(settlementId: string): Promise<SettlementDtoOutput>;
|
19
21
|
readRestaurantSettlements(dateRange: {
|
20
22
|
start: string;
|
21
23
|
end: string;
|
22
24
|
}): Promise<SettlementDtoOutput[]>;
|
23
|
-
readRestaurantRMSSettlements(dateRange: {
|
24
|
-
start: string;
|
25
|
-
end: string;
|
26
|
-
}): Promise<RMSSettlementDto[]>;
|
27
|
-
readRestaurantSettlementReport(dateRange: {
|
28
|
-
start: string;
|
29
|
-
end: string;
|
30
|
-
}): Promise<any>;
|
31
25
|
};
|
@@ -1,10 +1,21 @@
|
|
1
|
-
import { type PaginatedResult } from "@feedmepos/payment-entity";
|
1
|
+
import { UpdateTerminalByIdDto, type PaginatedResult } from "@feedmepos/payment-entity";
|
2
2
|
import { FdoTerminal } from "@feedmepos/payment-entity";
|
3
3
|
export declare const temrinalApi: {
|
4
|
+
create(payload: {
|
5
|
+
name: string;
|
6
|
+
referenceId: string;
|
7
|
+
}): Promise<PaginatedResult<FdoTerminal>>;
|
4
8
|
read(payload: {
|
5
9
|
searchKey: string;
|
6
10
|
limit: number;
|
7
11
|
cursor: string;
|
8
12
|
}): Promise<PaginatedResult<FdoTerminal>>;
|
13
|
+
readById(id: string): Promise<FdoTerminal>;
|
14
|
+
updateById(id: string, payload: UpdateTerminalByIdDto): Promise<FdoTerminal>;
|
9
15
|
getBindCode(id: string): Promise<string>;
|
16
|
+
unbind(id: string): Promise<any>;
|
17
|
+
/**
|
18
|
+
* Relying on the payout account so need pass in the restaurant id from the payout account
|
19
|
+
*/
|
20
|
+
getTerminals(restaurantId: string): Promise<FdoTerminal[]>;
|
10
21
|
};
|
@@ -8,4 +8,13 @@ export declare const terminalTransactionApi: {
|
|
8
8
|
limit: number;
|
9
9
|
cursor: string;
|
10
10
|
}): Promise<PaginatedResult<FdoTerminalTransaction>>;
|
11
|
+
readRestaurantTransactions(payload: {
|
12
|
+
status: F_TERMINAL_TRANSACTION_ACTION[];
|
13
|
+
searchKey: string;
|
14
|
+
start: string;
|
15
|
+
end: string;
|
16
|
+
limit: number;
|
17
|
+
cursor: string;
|
18
|
+
}): Promise<PaginatedResult<FdoTerminalTransaction>>;
|
19
|
+
downloadTransactions(data: FdoTerminalTransaction[]): Promise<void>;
|
11
20
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import type { PortalPaymentTransaction } from "@/model/transaction";
|
2
2
|
import { PaymentRefundByTransactionIdDto, type PaymentTransactionDtoOutput } from "@feedmepos/payment-entity";
|
3
3
|
export declare const transactionApi: {
|
4
4
|
readBySettlementId(settlementId: string): Promise<PaymentTransactionDtoOutput[]>;
|
@@ -16,5 +16,9 @@ export declare const transactionApi: {
|
|
16
16
|
end: string;
|
17
17
|
}): Promise<PaymentTransactionDtoOutput[]>;
|
18
18
|
readRestaurantTransactionsBySettlementId(settlementId: string): Promise<PaymentTransactionDtoOutput[]>;
|
19
|
+
downloadRestaurantTransactionReport(data: PortalPaymentTransaction[]): Promise<void>;
|
20
|
+
downloadTransactionReport(date: {
|
21
|
+
start: string;
|
22
|
+
end: string;
|
23
|
+
}): Promise<void>;
|
19
24
|
};
|
20
|
-
export declare function getStatusColor(status: F_PAYMENT_TRANSACTION_STATUS): "warning" | "negative" | "positive" | "grey";
|
package/dist/app.d.ts
ADDED