@feedmepos/mf-payment 0.0.0-beta.2 → 0.0.0-beta.21
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/{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-DEEuJq8a.js +272 -0
- package/dist/PayoutAccount-Fg0fD2z1.js +612 -0
- package/dist/PayoutAccountSetting-D6rCau39.js +702 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-DO3KQc7V.js +142 -0
- package/dist/Settlement-KxjeLkyq.js +148 -0
- package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-BHm0Xr73.js} +99 -105
- package/dist/SettlementTransactions-D8SewaiK.js +334 -0
- package/dist/Terminal-CG3mIv6Z.js +318 -0
- package/dist/TerminalSetting-CIFHaoHX.js +176 -0
- package/dist/TerminalTransaction-B2PFfPKP.js +234 -0
- package/dist/{TerminalTransaction-CtVBUTMg.js → TerminalTransaction-CnfWv95d.js} +65 -75
- package/dist/Transaction-CM_VKdEN.js +243 -0
- package/dist/Transaction-D7ZuZ-IB.js +242 -0
- package/dist/api/index.d.ts +11 -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 +8 -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-CLiVU4As.js +42 -0
- package/dist/components/AsyncButton.vue.d.ts +21 -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-ByCQqfan.js} +1 -1
- package/dist/index-CkIbCIHJ.js +55560 -0
- package/dist/index-CpIkc_Lq.js +40 -0
- package/dist/index-DVSsAdF3.js +26 -0
- package/dist/index-DvsSYfvP.js +37 -0
- package/dist/{index-CjCiGW2Y.js → index-eVOVYNBC.js} +13 -23
- package/dist/index.vue_vue_type_script_setup_true_lang-sNgZ-dwX.js +155 -0
- package/dist/package.json +7 -7
- package/dist/{index-D-lMrCvM.js → payout-account-Bj0y4ywE.js} +771 -802
- package/dist/plugins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{transaction-fdJNol6A.js → transaction-C1MtaXOd.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/RevenueMonsterGateway.vue.d.ts +52 -0
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +61 -0
- package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +58 -9
- package/dist/views/admin/terminal/tabs/Fiuu.vue.d.ts +72 -0
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +63 -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 +19 -19
- 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/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 y, openBlock as _, createBlock as A, normalizeClass as O, withCtx as I, createElementVNode as h, toDisplayString as R, createElementBlock as b, unref as r, ref as S, h as x, onMounted as K, watch as V, createVNode as g, isRef as N } from "vue";
|
2
|
+
import { t as E, a as C } from "./transaction-C1MtaXOd.js";
|
3
|
+
import { e as v, u as k } from "./index-CkIbCIHJ.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 L } from "./assets-CLiVU4As.js";
|
8
|
+
import { useCoreStore as $ } from "@feedmepos/mf-common";
|
9
|
+
import { u as B } from "./index-ByCQqfan.js";
|
10
|
+
import { _ as M } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
|
11
|
+
import { _ as U } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
12
|
+
const G = /* @__PURE__ */ p({
|
13
|
+
__name: "Status",
|
14
|
+
props: {
|
15
|
+
row: {},
|
16
|
+
data: {}
|
17
|
+
},
|
18
|
+
setup(i) {
|
19
|
+
const a = i;
|
20
|
+
function t() {
|
21
|
+
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";
|
22
|
+
}
|
23
|
+
return (c, d) => {
|
24
|
+
const o = y("FmBadge");
|
25
|
+
return _(), A(o, {
|
26
|
+
inline: "",
|
27
|
+
class: O(t())
|
28
|
+
}, {
|
29
|
+
default: I(() => [
|
30
|
+
h("div", null, R(c.data), 1)
|
31
|
+
]),
|
32
|
+
_: 1
|
33
|
+
}, 8, ["class"]);
|
34
|
+
};
|
35
|
+
}
|
36
|
+
}), Y = ["src"], q = /* @__PURE__ */ p({
|
37
|
+
__name: "Gateway",
|
38
|
+
props: {
|
39
|
+
row: {},
|
40
|
+
data: {}
|
41
|
+
},
|
42
|
+
setup(i) {
|
43
|
+
return (a, t) => (_(), b("img", {
|
44
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
45
|
+
src: r(P)(a.row.original.gateway)
|
46
|
+
}, null, 8, Y));
|
47
|
+
}
|
48
|
+
}), J = ["src"], j = /* @__PURE__ */ p({
|
49
|
+
__name: "Method",
|
50
|
+
props: {
|
51
|
+
row: {},
|
52
|
+
data: {}
|
53
|
+
},
|
54
|
+
setup(i) {
|
55
|
+
return (a, t) => (_(), b("img", {
|
56
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
57
|
+
src: r(L)(a.row.original.method.issuer)
|
58
|
+
}, null, 8, J));
|
59
|
+
}
|
60
|
+
}), z = /* @__PURE__ */ p({
|
61
|
+
__name: "TransactionTable",
|
62
|
+
props: {
|
63
|
+
data: {
|
64
|
+
type: Array,
|
65
|
+
required: !0
|
66
|
+
},
|
67
|
+
loading: {
|
68
|
+
type: Boolean,
|
69
|
+
required: !0
|
70
|
+
}
|
71
|
+
},
|
72
|
+
emits: ["row-click"],
|
73
|
+
setup(i, { emit: a }) {
|
74
|
+
const t = i, c = a, d = S(""), o = [
|
75
|
+
{
|
76
|
+
header: () => "Transaction ID",
|
77
|
+
accessorKey: "id"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
header: () => "Pay ID",
|
81
|
+
accessorKey: "payId"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
header: () => "Gateway",
|
85
|
+
accessorKey: "gateway",
|
86
|
+
meta: {
|
87
|
+
textAlign: "center"
|
88
|
+
},
|
89
|
+
cell: ({ cell: n, row: e }) => e.original.method ? x(q, { row: e, data: n.getValue() }) : ""
|
90
|
+
},
|
91
|
+
{
|
92
|
+
header: () => "Method",
|
93
|
+
accessorKey: "method",
|
94
|
+
meta: {
|
95
|
+
textAlign: "center"
|
96
|
+
},
|
97
|
+
cell: ({ cell: n, row: e }) => e.original.method ? x(j, { row: e, data: n.getValue() }) : ""
|
98
|
+
},
|
99
|
+
{
|
100
|
+
header: () => "Type",
|
101
|
+
accessorKey: "type",
|
102
|
+
meta: {
|
103
|
+
textAlign: "center"
|
104
|
+
},
|
105
|
+
cell: ({ row: n }) => {
|
106
|
+
if (!n.original.method)
|
107
|
+
return "";
|
108
|
+
const e = n.original.method.variant;
|
109
|
+
return e.includes("_ONLINE") ? "ONLINE" : e.includes("_OFFLINE") ? "OFFLINE" : e;
|
110
|
+
}
|
111
|
+
},
|
112
|
+
{
|
113
|
+
header: () => "Status",
|
114
|
+
accessorKey: "status",
|
115
|
+
cell: ({ cell: n, row: e }) => x(G, { row: e, data: n.getValue() })
|
116
|
+
},
|
117
|
+
{
|
118
|
+
header: () => "Transaction At",
|
119
|
+
accessorKey: "transactionAt",
|
120
|
+
meta: {
|
121
|
+
width: "180px"
|
122
|
+
}
|
123
|
+
},
|
124
|
+
{
|
125
|
+
header: () => "Sales Amount",
|
126
|
+
accessorKey: "amount"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
header: () => "Fee",
|
130
|
+
accessorKey: "fee"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
header: () => "Settlement Amount",
|
134
|
+
accessorKey: "payout"
|
135
|
+
}
|
136
|
+
];
|
137
|
+
return (n, e) => {
|
138
|
+
const T = y("FmTable");
|
139
|
+
return _(), A(T, {
|
140
|
+
modelValue: d.value,
|
141
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => d.value = l),
|
142
|
+
"column-defs": o,
|
143
|
+
"row-data": t.data,
|
144
|
+
loading: t.loading,
|
145
|
+
onRowClick: e[1] || (e[1] = (l) => c("row-click", t.data.at(l.index)))
|
146
|
+
}, null, 8, ["modelValue", "row-data", "loading"]);
|
147
|
+
};
|
148
|
+
}
|
149
|
+
}), Q = { class: "flex justify-between mb-6 items-center" }, H = { class: "flex space-x-4" }, W = { class: "flex space-x-4" }, ce = /* @__PURE__ */ p({
|
150
|
+
__name: "Transaction",
|
151
|
+
setup(i) {
|
152
|
+
const { dateRange: a, searchKey: t } = B({
|
153
|
+
searchKey: "",
|
154
|
+
dateRange: {
|
155
|
+
startDate: F().startOf("day").toISOString(),
|
156
|
+
endDate: F().endOf("day").toISOString()
|
157
|
+
}
|
158
|
+
}), { isLoading: c, startAsyncCall: d } = k(!0);
|
159
|
+
$();
|
160
|
+
const o = S([]), n = 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 = C(u), n.value = o.value, t.value > "") {
|
168
|
+
var w = new RegExp(t.value, "i");
|
169
|
+
n.value = o.value.filter((m) => {
|
170
|
+
const D = JSON.stringify(m);
|
171
|
+
return w.test(D);
|
172
|
+
});
|
173
|
+
}
|
174
|
+
});
|
175
|
+
}
|
176
|
+
function T() {
|
177
|
+
e();
|
178
|
+
}
|
179
|
+
K(T);
|
180
|
+
let l;
|
181
|
+
return V(t, async () => {
|
182
|
+
l && clearTimeout(l), l = setTimeout(() => {
|
183
|
+
var f = new RegExp(t.value, "i");
|
184
|
+
n.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 = y("FmSearch"), w = y("FmDateRangePicker");
|
191
|
+
return _(), A(M, {
|
192
|
+
title: "Transactions",
|
193
|
+
loading: r(c)
|
194
|
+
}, {
|
195
|
+
default: I(() => [
|
196
|
+
h("div", Q, [
|
197
|
+
h("div", H, [
|
198
|
+
g(u, {
|
199
|
+
"model-value": r(t),
|
200
|
+
"onUpdate:modelValue": s[0] || (s[0] = (m) => N(t) ? t.value = m : null),
|
201
|
+
class: "mr-8",
|
202
|
+
label: "Search",
|
203
|
+
placeholder: "Search Transactions ..."
|
204
|
+
}, null, 8, ["model-value"]),
|
205
|
+
g(w, {
|
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
|
+
h("div", W, [
|
216
|
+
g(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
|
+
g(z, {
|
232
|
+
loading: r(c),
|
233
|
+
data: n.value
|
234
|
+
}, null, 8, ["loading", "data"])
|
235
|
+
]),
|
236
|
+
_: 1
|
237
|
+
}, 8, ["loading"]);
|
238
|
+
};
|
239
|
+
}
|
240
|
+
});
|
241
|
+
export {
|
242
|
+
ce 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-C1MtaXOd.js";
|
3
|
+
import { e as S, u as P } from "./index-CkIbCIHJ.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-CLiVU4As.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-ByCQqfan.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,16 @@ 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
|
+
filename?: string;
|
41
|
+
}): void;
|
42
|
+
export declare function getWorkbookAndDownload(response: AxiosResponse<WorkBook>, filename: string): void;
|
32
43
|
export declare function getData<T>(response: AxiosResponse<T>): T;
|
33
44
|
export declare function getPaginatedResult<T>(response: AxiosResponse<PaginatedResult<T>>): PaginatedResult<T>;
|
34
45
|
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,17 @@
|
|
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>;
|
10
17
|
};
|
@@ -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
|
+
downloadRestaurantTransactionReport(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