@feedmepos/mf-payment 0.0.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js +42 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/AppSidebar.vue.d.ts +2 -0
- package/dist/Entry.vue.d.ts +2 -0
- package/dist/Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js +45 -0
- package/dist/PayoutAccount-CNFysD5Y.js +25270 -0
- package/dist/PayoutAccount-D4_KKT6o.js +266 -0
- package/dist/Settlement-C4IEccV6.js +136 -0
- package/dist/Settlement-D4gdbOE0.js +132 -0
- package/dist/SettlementTransactions-C3dnWHkD.js +297 -0
- package/dist/SettlementTransactions-DYelInkD.js +351 -0
- package/dist/Terminal-Co7KPrrb.js +204 -0
- package/dist/TerminalTransaction-CtVBUTMg.js +240 -0
- package/dist/Transaction-CvDEP2Uq.js +242 -0
- package/dist/Transaction-Rk0g5_Gn.js +241 -0
- package/dist/api/auth/index.d.ts +7 -0
- package/dist/api/index.d.ts +34 -0
- package/dist/api/payout/index.d.ts +15 -0
- package/dist/api/settlement/index.d.ts +31 -0
- package/dist/api/terminal/index.d.ts +10 -0
- package/dist/api/terminal-transaction/index.d.ts +11 -0
- package/dist/api/transaction/index.d.ts +20 -0
- package/dist/app.js +194 -0
- package/dist/assets/icons/index.d.ts +23 -0
- package/dist/assets-CZ2m5tCN.js +43 -0
- package/dist/components/AdminLayout.vue.d.ts +26 -0
- package/dist/components/CursorTable/FmTableSelection.vue.d.ts +13 -0
- package/dist/components/CursorTable/index.vue.d.ts +45 -0
- package/dist/components/Layout.vue.d.ts +26 -0
- package/dist/components/Modal.d.ts +3 -0
- package/dist/components/PDFViewer.vue.d.ts +27 -0
- package/dist/composable/loading/index.d.ts +8 -0
- package/dist/composable/query/index.d.ts +2 -0
- package/dist/dinero-CIVmXLL-.js +1255 -0
- package/dist/favicon.ico +0 -0
- package/dist/helpers/assets.d.ts +3 -0
- package/dist/helpers/clipboard.d.ts +1 -0
- package/dist/helpers/date.d.ts +22 -0
- package/dist/helpers/db.d.ts +2 -0
- package/dist/helpers/dinero.d.ts +2 -0
- package/dist/helpers/error.d.ts +1 -0
- package/dist/helpers/export.d.ts +12 -0
- package/dist/helpers/idToDate.d.ts +1 -0
- package/dist/helpers/iteration.d.ts +15 -0
- package/dist/helpers/number.d.ts +22 -0
- package/dist/helpers/object.d.ts +1 -0
- package/dist/helpers/string.d.ts +12 -0
- package/dist/helpers/time.d.ts +7 -0
- package/dist/helpers/validator.d.ts +4 -0
- package/dist/i18n.d.ts +10 -0
- package/dist/icons/anydesk.svg +1 -0
- package/dist/icons/sort.svg +3 -0
- package/dist/images/gateway/ccdc.svg +44 -0
- package/dist/images/gateway/fiuu.jpg +0 -0
- package/dist/images/gateway/fm.svg +44 -0
- package/dist/images/gateway/rm.jpg +0 -0
- package/dist/images/method/BNPL/Ablr/Ablr_SVG.svg +7 -0
- package/dist/images/method/BNPL/Ablr/Ablr_V1_ROU.svg +4 -0
- package/dist/images/method/BNPL/Ablr/Ablr_V1_SQU.svg +4 -0
- package/dist/images/method/BNPL/Ablr/Ablr_V2_ROU.svg +7 -0
- package/dist/images/method/BNPL/Ablr/Ablr_V2_SQU.svg +7 -0
- package/dist/images/method/BNPL/Atome/Atome_SVG.svg +4 -0
- package/dist/images/method/BNPL/Atome/Atome_V1_ROU.svg +4 -0
- package/dist/images/method/BNPL/Atome/Atome_V1_SQU.svg +4 -0
- package/dist/images/method/BNPL/Atome/Atome_V2_ROU.svg +4 -0
- package/dist/images/method/BNPL/Atome/Atome_V2_SQU.svg +4 -0
- package/dist/images/method/BNPL/Atome/Atome_V3_ROU.svg +5 -0
- package/dist/images/method/BNPL/Atome/Atome_V3_SQU.svg +5 -0
- package/dist/images/method/BNPL/IOUPay/IOUPay_SVG.svg +12 -0
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_ROU.svg +7 -0
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_SQU.svg +7 -0
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_ROU.svg +13 -0
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_SQU.svg +13 -0
- package/dist/images/method/BNPL/ShopBack/ShopBack_SVG.svg +6 -0
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_ROU.svg +6 -0
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_SQU.svg +6 -0
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_ROU.svg +4 -0
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_SQU.svg +4 -0
- package/dist/images/method/BNPL/Split/Split_SVG.svg +4 -0
- package/dist/images/method/BNPL/Split/Split_V1_ROU.svg +5 -0
- package/dist/images/method/BNPL/Split/Split_V1_SQU.svg +5 -0
- package/dist/images/method/BNPL/Split/Split_V2_ROU.svg +5 -0
- package/dist/images/method/BNPL/Split/Split_V2_SQU.svg +5 -0
- package/dist/images/method/BNPL/Split/Split_V3_ROU.svg +4 -0
- package/dist/images/method/BNPL/Split/Split_V3_SQU.svg +4 -0
- package/dist/images/method/BNPL/Split/Split_V4_ROU.svg +4 -0
- package/dist/images/method/BNPL/Split/Split_V4_SQU.svg +4 -0
- package/dist/images/method/Banks/AEONBank/AEONBank_SVG.svg +16 -0
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_BSQU.svg +17 -0
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_LG.svg +17 -0
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_ROU.svg +6 -0
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_SQU.svg +6 -0
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_BSQU.svg +17 -0
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_LG.svg +17 -0
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_ROU.svg +6 -0
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_SQU.svg +6 -0
- package/dist/images/method/Banks/AffinBank/AffinBank_SVG.svg +56 -0
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_BSQU.svg +57 -0
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_LG.svg +57 -0
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_ROU.svg +10 -0
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_SQU.svg +10 -0
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_BSQU.svg +57 -0
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_LG.svg +57 -0
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_ROU.svg +10 -0
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_SQU.svg +10 -0
- package/dist/images/method/Banks/AllianceBank/AllianceBank_SVG.svg +45 -0
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_BSQU.svg +46 -0
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_LG.svg +46 -0
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_ROU.svg +34 -0
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_SQU.svg +34 -0
- package/dist/images/method/Banks/AmBank/AmBank_SVG.svg +18 -0
- package/dist/images/method/Banks/AmBank/AmBank_V1_BSQU.svg +13 -0
- package/dist/images/method/Banks/AmBank/AmBank_V1_LG.svg +13 -0
- package/dist/images/method/Banks/AmBank/AmBank_V1_ROU.svg +7 -0
- package/dist/images/method/Banks/AmBank/AmBank_V1_SQU.svg +7 -0
- package/dist/images/method/Banks/AmBank/AmBank_V2_BSQU.svg +13 -0
- package/dist/images/method/Banks/AmBank/AmBank_V2_LG.svg +13 -0
- package/dist/images/method/Banks/AmBank/AmBank_V2_ROU.svg +7 -0
- package/dist/images/method/Banks/AmBank/AmBank_V2_SQU.svg +7 -0
- package/dist/images/method/Banks/AmBank/AmBank_V3_BSQU.svg +13 -0
- package/dist/images/method/Banks/AmBank/AmBank_V3_LG.svg +13 -0
- package/dist/images/method/Banks/AmBank/AmBank_V3_ROU.svg +7 -0
- package/dist/images/method/Banks/AmBank/AmBank_V3_SQU.svg +7 -0
- package/dist/images/method/Banks/AmBank/AmBank_V4_BSQU.svg +18 -0
- package/dist/images/method/Banks/AmBank/AmBank_V4_LG.svg +18 -0
- package/dist/images/method/Banks/AmBank/AmBank_V5_BSQU.svg +18 -0
- package/dist/images/method/Banks/AmBank/AmBank_V5_LG.svg +18 -0
- package/dist/images/method/Banks/ArgoBank/ArgoBank_SVG.svg +12 -0
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_BSQU.svg +13 -0
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_LG.svg +13 -0
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_ROU.svg +4 -0
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_SQU.svg +4 -0
- package/dist/images/method/Banks/BSN/BSN_SVG.svg +7 -0
- package/dist/images/method/Banks/BSN/BSN_V1_BSQU.svg +7 -0
- package/dist/images/method/Banks/BSN/BSN_V1_LG.svg +7 -0
- package/dist/images/method/Banks/BSN/BSN_V1_ROU.svg +4 -0
- package/dist/images/method/Banks/BSN/BSN_V1_SQU.svg +4 -0
- package/dist/images/method/Banks/BankIslam/BankIslam_SVG.svg +13 -0
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_BSQU.svg +14 -0
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_LG.svg +14 -0
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_ROU.svg +14 -0
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_SQU.svg +14 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_SVG.svg +26 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_BSQU.svg +24 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_LG.svg +24 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_ROU.svg +12 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_SQU.svg +12 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_BSQU.svg +26 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_LG.svg +27 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_ROU.svg +14 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_SQU.svg +14 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_ROU.svg +12 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_SQU.svg +12 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_ROU.svg +4 -0
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_SQU.svg +4 -0
- package/dist/images/method/Banks/BankRakyat/BankRakyat_SVG.svg +18 -0
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_BSQU.svg +18 -0
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_LG.svg +18 -0
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_ROU.svg +6 -0
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_SQU.svg +6 -0
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_BSQU.svg +18 -0
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_LG.svg +18 -0
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_ROU.svg +6 -0
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_SQU.svg +6 -0
- package/dist/images/method/Banks/Cimb/Cimb_SVG.svg +16 -0
- package/dist/images/method/Banks/Cimb/Cimb_V1_BSQU.svg +13 -0
- package/dist/images/method/Banks/Cimb/Cimb_V1_LG.svg +13 -0
- package/dist/images/method/Banks/Cimb/Cimb_V1_ROU.svg +5 -0
- package/dist/images/method/Banks/Cimb/Cimb_V1_SQU.svg +5 -0
- package/dist/images/method/Banks/Cimb/Cimb_V2_BSQU.svg +13 -0
- package/dist/images/method/Banks/Cimb/Cimb_V2_LG.svg +13 -0
- package/dist/images/method/Banks/Cimb/Cimb_V2_ROU.svg +5 -0
- package/dist/images/method/Banks/Cimb/Cimb_V2_SQU.svg +5 -0
- package/dist/images/method/Banks/Cimb/Cimb_V3_BSQU.svg +19 -0
- package/dist/images/method/Banks/Cimb/Cimb_V3_LG.svg +19 -0
- package/dist/images/method/Banks/Cimb/Cimb_V3_ROU.svg +11 -0
- package/dist/images/method/Banks/Cimb/Cimb_V3_SQU.svg +11 -0
- package/dist/images/method/Banks/Cimb/Cimb_V4_BSQU.svg +14 -0
- package/dist/images/method/Banks/Cimb/Cimb_V4_LG.svg +14 -0
- package/dist/images/method/Banks/Cimb/Cimb_V5_LG.svg +14 -0
- package/dist/images/method/Banks/CitiBank/CitiBank_SVG.svg +4 -0
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_BSQU.svg +5 -0
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_LG.svg +5 -0
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_ROU.svg +5 -0
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_SQU.svg +5 -0
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_BSQU.svg +5 -0
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_LG.svg +5 -0
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_ROU.svg +5 -0
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_SQU.svg +5 -0
- package/dist/images/method/Banks/GXBank/GXBank_SVG.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V1_BSQU.svg +4 -0
- package/dist/images/method/Banks/GXBank/GXBank_V1_LG.svg +4 -0
- package/dist/images/method/Banks/GXBank/GXBank_V1_ROU.svg +4 -0
- package/dist/images/method/Banks/GXBank/GXBank_V1_SQU.svg +4 -0
- package/dist/images/method/Banks/GXBank/GXBank_V2_BSQU.svg +4 -0
- package/dist/images/method/Banks/GXBank/GXBank_V2_LG.svg +4 -0
- package/dist/images/method/Banks/GXBank/GXBank_V2_ROU.svg +4 -0
- package/dist/images/method/Banks/GXBank/GXBank_V2_SQU.svg +4 -0
- package/dist/images/method/Banks/GXBank/GXBank_V3_BSQU.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V3_LG.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V3_ROU.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V3_SQU.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V4_BSQU.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V4_LG.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V4_ROU.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V4_SQU.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V5_BSQU.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V5_LG.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V5_ROU.svg +10 -0
- package/dist/images/method/Banks/GXBank/GXBank_V5_SQU.svg +10 -0
- package/dist/images/method/Banks/HSBC/HSBC_SVG.svg +11 -0
- package/dist/images/method/Banks/HSBC/HSBC_V1_BSQU.svg +12 -0
- package/dist/images/method/Banks/HSBC/HSBC_V1_LG.svg +12 -0
- package/dist/images/method/Banks/HSBC/HSBC_V1_ROU.svg +8 -0
- package/dist/images/method/Banks/HSBC/HSBC_V1_SQU.svg +8 -0
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_SVG.svg +27 -0
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_BSQU.svg +22 -0
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_LG.svg +22 -0
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_ROU.svg +9 -0
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_SQU.svg +9 -0
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_BSQU.svg +18 -0
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_LG.svg +18 -0
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_SVG.svg +5 -0
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_BSQU.svg +5 -0
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_LG.svg +5 -0
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_ROU.svg +4 -0
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_SQU.svg +4 -0
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_BSQU.svg +5 -0
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_LG.svg +5 -0
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_ROU.svg +4 -0
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_SQU.svg +4 -0
- package/dist/images/method/Banks/Maybank/MayBank_SVG.svg +22 -0
- package/dist/images/method/Banks/Maybank/MayBank_V1_BSQU.svg +22 -0
- package/dist/images/method/Banks/Maybank/MayBank_V1_LG.svg +22 -0
- package/dist/images/method/Banks/Maybank/MayBank_V1_ROU.svg +15 -0
- package/dist/images/method/Banks/Maybank/MayBank_V1_SQU.svg +15 -0
- package/dist/images/method/Banks/OCBC/OCBC_SVG.svg +11 -0
- package/dist/images/method/Banks/OCBC/OCBC_V1_BSQU.svg +12 -0
- package/dist/images/method/Banks/OCBC/OCBC_V1_LG.svg +12 -0
- package/dist/images/method/Banks/OCBC/OCBC_V1_ROU.svg +4 -0
- package/dist/images/method/Banks/OCBC/OCBC_V1_SQU.svg +4 -0
- package/dist/images/method/Banks/OCBC/OCBC_V2_BSQU.svg +12 -0
- package/dist/images/method/Banks/OCBC/OCBC_V2_LG.svg +12 -0
- package/dist/images/method/Banks/OCBC/OCBC_V2_ROU.svg +4 -0
- package/dist/images/method/Banks/OCBC/OCBC_V2_SQU.svg +4 -0
- package/dist/images/method/Banks/PublicBank/PublicBank_SVG.svg +13 -0
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_BSQU.svg +14 -0
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_LG.svg +14 -0
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_ROU.svg +4 -0
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_SQU.svg +4 -0
- package/dist/images/method/Banks/RHB/RHB_SVG.svg +4 -0
- package/dist/images/method/Banks/RHB/RHB_V1_BSQU.svg +5 -0
- package/dist/images/method/Banks/RHB/RHB_V1_LG.svg +5 -0
- package/dist/images/method/Banks/RHB/RHB_V1_ROU.svg +5 -0
- package/dist/images/method/Banks/RHB/RHB_V1_SQU.svg +5 -0
- package/dist/images/method/Banks/RHB/RHB_V2_BSQU.svg +5 -0
- package/dist/images/method/Banks/RHB/RHB_V2_LG.svg +5 -0
- package/dist/images/method/Banks/RHB/RHB_V2_ROU.svg +5 -0
- package/dist/images/method/Banks/RHB/RHB_V2_SQU.svg +5 -0
- package/dist/images/method/Banks/StandardChartered/StandardChartered_SVG.svg +26 -0
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_BSQU.svg +27 -0
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_LG.svg +27 -0
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_ROU.svg +10 -0
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_SQU.svg +10 -0
- package/dist/images/method/Banks/UOB/UOB_SVG.svg +15 -0
- package/dist/images/method/Banks/UOB/UOB_V1_BSQU.svg +16 -0
- package/dist/images/method/Banks/UOB/UOB_V1_LG.svg +16 -0
- package/dist/images/method/Banks/UOB/UOB_V1_ROU.svg +4 -0
- package/dist/images/method/Banks/UOB/UOB_V1_SQU.svg +4 -0
- package/dist/images/method/Banks/UOB/UOB_V2_BSQU.svg +16 -0
- package/dist/images/method/Banks/UOB/UOB_V2_LG.svg +16 -0
- package/dist/images/method/Banks/UOB/UOB_V2_ROU.svg +4 -0
- package/dist/images/method/Banks/UOB/UOB_V2_SQU.svg +4 -0
- package/dist/images/method/Banks/UOB/UOB_V3_ROU.svg +5 -0
- package/dist/images/method/Banks/UOB/UOB_V3_SQU.svg +5 -0
- package/dist/images/method/Banks/UOB/UOB_V4_ROU.svg +5 -0
- package/dist/images/method/Banks/UOB/UOB_V4_SQU.svg +5 -0
- package/dist/images/method/Card/Gobiz/Gobiz_SVG.svg +10 -0
- package/dist/images/method/Card/Gobiz/Gobiz_V1_ROU.svg +11 -0
- package/dist/images/method/Card/Gobiz/Gobiz_V1_SQU.svg +11 -0
- package/dist/images/method/Card/Gobiz/Gobiz_V2_ROU.svg +11 -0
- package/dist/images/method/Card/Gobiz/Gobiz_V2_SQU.svg +11 -0
- package/dist/images/method/Card/Master/MASTER_SVG.svg +6 -0
- package/dist/images/method/Card/Master/MASTER_V1_ROU.svg +7 -0
- package/dist/images/method/Card/Master/MASTER_V1_SQU.svg +7 -0
- package/dist/images/method/Card/Master/MASTER_V1_TRSP.svg +6 -0
- package/dist/images/method/Card/Master/MASTER_V2_ROU.svg +7 -0
- package/dist/images/method/Card/Master/MASTER_V2_SQU.svg +7 -0
- package/dist/images/method/Card/Paydee/Paydee_SVG.svg +8 -0
- package/dist/images/method/Card/Paydee/Paydee_V1_ROU.svg +9 -0
- package/dist/images/method/Card/Paydee/Paydee_V1_SQU.svg +9 -0
- package/dist/images/method/Card/Paydee/Paydee_V2_ROU.svg +9 -0
- package/dist/images/method/Card/Paydee/Paydee_V2_SQU.svg +9 -0
- package/dist/images/method/Card/UnionPay/UNIONPAY_SVG.svg +17 -0
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_ROU.svg +18 -0
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_SQU.svg +18 -0
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_TRSP.svg +17 -0
- package/dist/images/method/Card/Visa/VISA_SVG.svg +3 -0
- package/dist/images/method/Card/Visa/VISA_V1_ROU.svg +4 -0
- package/dist/images/method/Card/Visa/VISA_V1_SQU.svg +4 -0
- package/dist/images/method/Card/Visa/VISA_V1_TRSP.svg +3 -0
- package/dist/images/method/Card/Visa/VISA_V2_ROU.svg +4 -0
- package/dist/images/method/Card/Visa/VISA_V2_SQU.svg +4 -0
- package/dist/images/method/Card/Visa/VISA_V2_TRSP.svg +3 -0
- package/dist/images/method/Mobile/ApplePay/ApplePay_SVG.svg +3 -0
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_ROU.svg +4 -0
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_SQU.svg +4 -0
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_TRSP.svg +3 -0
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_ROU.svg +4 -0
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_SQU.svg +4 -0
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_TRSP.svg +3 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_SVG.svg +7 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_ROU.svg +8 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_SQU.svg +8 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_TRSP.svg +7 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_ROU.svg +8 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_SQU.svg +8 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_TRSP.svg +7 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_ROU.svg +7 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_SQU.svg +7 -0
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_TRSP.svg +6 -0
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_SVG.svg +12 -0
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_ROU.svg +13 -0
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_SQU.svg +13 -0
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_ROU.svg +13 -0
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_SQU.svg +13 -0
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_ROU.svg +6 -0
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_SQU.svg +6 -0
- package/dist/images/method/Other/DuitNow/DuitNow_SVG.svg +11 -0
- package/dist/images/method/Other/DuitNow/DuitNow_V1_ROU.svg +12 -0
- package/dist/images/method/Other/DuitNow/DuitNow_V1_SQU.svg +12 -0
- package/dist/images/method/Other/DuitNow/DuitNow_V2_ROU.svg +12 -0
- package/dist/images/method/Other/DuitNow/DuitNow_V2_SQU.svg +12 -0
- package/dist/images/method/Other/DuitNow/DuitNow_V3_ROU.svg +5 -0
- package/dist/images/method/Other/DuitNow/DuitNow_V3_SQU.svg +5 -0
- package/dist/images/method/Other/DuitNow/DuitNow_V4_ROU.svg +5 -0
- package/dist/images/method/Other/DuitNow/DuitNow_V4_SQU.svg +5 -0
- package/dist/images/method/Other/FPX/FPX_SVG.svg +28 -0
- package/dist/images/method/Other/FPX/FPX_V1_ROU.svg +29 -0
- package/dist/images/method/Other/FPX/FPX_V1_SQU.svg +29 -0
- package/dist/images/method/Other/FPX/FPX_V2_ROU.svg +8 -0
- package/dist/images/method/Other/FPX/FPX_V2_SQU.svg +8 -0
- package/dist/images/method/Other/FPX/FPX_V3_ROU.svg +5 -0
- package/dist/images/method/Other/FPX/FPX_V3_SQU.svg +5 -0
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_ROU.svg +35 -0
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_SQU.svg +35 -0
- package/dist/images/method/Other/MaybankQR/Maybank_SVG.svg +49 -0
- package/dist/images/method/Other/NetsPay/NetsPay_SVG.svg +5 -0
- package/dist/images/method/Other/NetsPay/NetsPay_V1_ROU.svg +6 -0
- package/dist/images/method/Other/NetsPay/NetsPay_V1_SQU.svg +6 -0
- package/dist/images/method/Wallet/Alipay/Alipay_SVG.svg +4 -0
- package/dist/images/method/Wallet/Alipay/Alipay_V1_ROU.svg +6 -0
- package/dist/images/method/Wallet/Alipay/Alipay_V1_SQU.svg +5 -0
- package/dist/images/method/Wallet/Alipay/Alipay_V2_ROU.svg +6 -0
- package/dist/images/method/Wallet/Alipay/Alipay_V2_SQU.svg +5 -0
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_SVG.svg +7 -0
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_ROU.svg +8 -0
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_SQU.svg +8 -0
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_ROU.svg +6 -0
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_SQU.svg +6 -0
- package/dist/images/method/Wallet/Binfinite/Binfinite_SVG.svg +14 -0
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_ROU.svg +7 -0
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_SQU.svg +7 -0
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_ROU.svg +15 -0
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_SQU.svg +15 -0
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_ROU.svg +15 -0
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_SQU.svg +15 -0
- package/dist/images/method/Wallet/Boost/Boost_SVG.svg +10 -0
- package/dist/images/method/Wallet/Boost/Boost_V1_ROU.svg +6 -0
- package/dist/images/method/Wallet/Boost/Boost_V1_SQU.svg +6 -0
- package/dist/images/method/Wallet/Boost/Boost_V2_ROU.svg +11 -0
- package/dist/images/method/Wallet/Boost/Boost_V2_SQU.svg +11 -0
- package/dist/images/method/Wallet/Boost/Boost_V3_ROU.svg +11 -0
- package/dist/images/method/Wallet/Boost/Boost_V3_SQU.svg +11 -0
- package/dist/images/method/Wallet/FavePay/FavePay_SVG.svg +12 -0
- package/dist/images/method/Wallet/FavePay/FavePay_V1_ROU.svg +16 -0
- package/dist/images/method/Wallet/FavePay/FavePay_V1_SQU.svg +16 -0
- package/dist/images/method/Wallet/FavePay/FavePay_V2_ROU.svg +13 -0
- package/dist/images/method/Wallet/FavePay/FavePay_V2_SQU.svg +13 -0
- package/dist/images/method/Wallet/GoPayz/GoPayz_SVG.svg +12 -0
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_ROU.svg +11 -0
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_SQU.svg +11 -0
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_ROU.svg +5 -0
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_SQU.svg +5 -0
- package/dist/images/method/Wallet/GrabPay/GrabPay_SVG.svg +15 -0
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_ROU.svg +13 -0
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_SQU.svg +13 -0
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_ROU.svg +13 -0
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_SQU.svg +13 -0
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_ROU.svg +16 -0
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_SQU.svg +16 -0
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_ROU.svg +16 -0
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_SQU.svg +16 -0
- package/dist/images/method/Wallet/Lazada/Lazada_SVG.svg +44 -0
- package/dist/images/method/Wallet/Lazada/Lazada_V1_ROU.svg +39 -0
- package/dist/images/method/Wallet/Lazada/Lazada_V1_SQU.svg +39 -0
- package/dist/images/method/Wallet/Lazada/Lazada_V2_ROU.svg +45 -0
- package/dist/images/method/Wallet/Lazada/Lazada_V2_SQU.svg +45 -0
- package/dist/images/method/Wallet/MAE/MAE_SVG.svg +4 -0
- package/dist/images/method/Wallet/MAE/MAE_V1_ROU.svg +11 -0
- package/dist/images/method/Wallet/MAE/MAE_V1_SQU.svg +11 -0
- package/dist/images/method/Wallet/MCash/MCash_SVG.svg +7 -0
- package/dist/images/method/Wallet/MCash/MCash_V1_ROU.svg +8 -0
- package/dist/images/method/Wallet/MCash/MCash_V1_SQU.svg +8 -0
- package/dist/images/method/Wallet/MCash/MCash_V2_ROU.svg +8 -0
- package/dist/images/method/Wallet/MCash/MCash_V2_SQU.svg +8 -0
- package/dist/images/method/Wallet/Presto/Presto_SVG.svg +10 -0
- package/dist/images/method/Wallet/Presto/Presto_V1_ROU.svg +11 -0
- package/dist/images/method/Wallet/Presto/Presto_V1_SQU.svg +11 -0
- package/dist/images/method/Wallet/Presto/Presto_V2_ROU.svg +11 -0
- package/dist/images/method/Wallet/Presto/Presto_V2_SQU.svg +11 -0
- package/dist/images/method/Wallet/Presto/Presto_V3_ROU.svg +11 -0
- package/dist/images/method/Wallet/Presto/Presto_V3_SQU.svg +11 -0
- package/dist/images/method/Wallet/Presto/Presto_V4_ROU.svg +5 -0
- package/dist/images/method/Wallet/Presto/Presto_V4_SQU.svg +5 -0
- package/dist/images/method/Wallet/Presto/Presto_V5_ROU.svg +5 -0
- package/dist/images/method/Wallet/Presto/Presto_V5_SQU.svg +5 -0
- package/dist/images/method/Wallet/Razer/RazerPay_SVG.svg +11 -0
- package/dist/images/method/Wallet/Razer/RazerPay_V1_ROU.svg +12 -0
- package/dist/images/method/Wallet/Razer/RazerPay_V1_SQU.svg +12 -0
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_SVG.svg +9 -0
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_ROU.svg +10 -0
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_SQU.svg +11 -0
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_ROU.svg +4 -0
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_SQU.svg +4 -0
- package/dist/images/method/Wallet/Senheng/Senheng_SVG.svg +9 -0
- package/dist/images/method/Wallet/Senheng/Senheng_V1_ROU.svg +4 -0
- package/dist/images/method/Wallet/Senheng/Senheng_V1_SQU.svg +4 -0
- package/dist/images/method/Wallet/Senheng/Senheng_V2_ROU.svg +4 -0
- package/dist/images/method/Wallet/Senheng/Senheng_V2_SQU.svg +4 -0
- package/dist/images/method/Wallet/Setel/Setel_SVG.svg +10 -0
- package/dist/images/method/Wallet/Setel/Setel_V1_ROU.svg +11 -0
- package/dist/images/method/Wallet/Setel/Setel_V1_SQU.svg +11 -0
- package/dist/images/method/Wallet/Setel/Setel_V2_ROU.svg +6 -0
- package/dist/images/method/Wallet/Setel/Setel_V2_SQU.svg +6 -0
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_SVG.svg +13 -0
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_ROU.svg +14 -0
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_SQU.svg +14 -0
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_ROU.svg +12 -0
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_SQU.svg +12 -0
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_ROU.svg +5 -0
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_SQU.svg +5 -0
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_ROU.svg +5 -0
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_SQU.svg +5 -0
- package/dist/images/method/Wallet/TNG/TNG_SVG.svg +27 -0
- package/dist/images/method/Wallet/TNG/TNG_V1_ROU.svg +27 -0
- package/dist/images/method/Wallet/TNG/TNG_V1_SQU.svg +27 -0
- package/dist/images/method/Wallet/TaPay/TaPay_SVG.svg +25 -0
- package/dist/images/method/Wallet/TaPay/TaPay_V1_ROU.svg +25 -0
- package/dist/images/method/Wallet/TaPay/TaPay_V1_SQU.svg +25 -0
- package/dist/images/method/Wallet/TaPay/TaPay_V2_ROU.svg +25 -0
- package/dist/images/method/Wallet/TaPay/TaPay_V2_SQU.svg +25 -0
- package/dist/images/method/Wallet/Truemoney/Truemoney_SVG.svg +42 -0
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_ROU.svg +8 -0
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_SQU.svg +8 -0
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_ROU.svg +17 -0
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_SQU.svg +17 -0
- package/dist/images/method/Wallet/WechatPay/WeChat_SVG.svg +4 -0
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_ROU.svg +4 -0
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_SQU.svg +4 -0
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_ROU.svg +4 -0
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_SQU.svg +4 -0
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_ROU.svg +5 -0
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_SQU.svg +5 -0
- package/dist/images/method/Wallet/Zapp/Zapp_SVG.svg +6 -0
- package/dist/images/method/Wallet/Zapp/Zapp_V1_ROU.svg +7 -0
- package/dist/images/method/Wallet/Zapp/Zapp_V1_SQU.svg +7 -0
- package/dist/index-B8_4waUa.js +131 -0
- package/dist/index-CjCiGW2Y.js +61 -0
- package/dist/index-CkSi8Gnc.js +3348 -0
- package/dist/index-DvzXwr90.js +40075 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-y4tchjya.js +150 -0
- package/dist/locales/en/business.json +4 -0
- package/dist/locales/en/common.json +272 -0
- package/dist/locales/en/country.json +4 -0
- package/dist/locales/en/payment.json +27 -0
- package/dist/locales/en/transaction.json +25 -0
- package/dist/locales/en/user.json +61 -0
- package/dist/locales/zh/business.json +4 -0
- package/dist/locales/zh/common.json +272 -0
- package/dist/locales/zh/country.json +6 -0
- package/dist/locales/zh/payment.json +27 -0
- package/dist/locales/zh/transaction.json +25 -0
- package/dist/locales/zh/user.json +61 -0
- package/dist/main.d.ts +1 -0
- package/dist/model/payout-account.d.ts +44 -0
- package/dist/model/transaction.d.ts +16 -0
- package/dist/moment-h96o7c8I.js +2578 -0
- package/dist/package.json +101 -0
- package/dist/plugins.d.ts +37 -0
- package/dist/router/admin.d.ts +3 -0
- package/dist/router/index.d.ts +9 -0
- package/dist/router/merchant.d.ts +3 -0
- package/dist/stores/iframe.d.ts +14 -0
- package/dist/stores/payoutAccount.d.ts +82 -0
- package/dist/style.css +1 -0
- package/dist/transaction-fdJNol6A.js +64 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/dist/views/admin/payout-account/PayoutAccount.vue.d.ts +2 -0
- package/dist/views/admin/payout-account/PayoutAccountSetting.vue.d.ts +2 -0
- package/dist/views/admin/payout-account/cell/Bank.vue.d.ts +9 -0
- package/dist/views/admin/payout-account/cell/IsActive.vue.d.ts +9 -0
- package/dist/views/admin/payout-account/cell/PersonInCharge.vue.d.ts +9 -0
- package/dist/views/admin/payout-account/cell/Status.vue.d.ts +9 -0
- package/dist/views/admin/settlement/Settlement.vue.d.ts +2 -0
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +141 -0
- package/dist/views/admin/settlement/SettlementTransactions.vue.d.ts +12 -0
- package/dist/views/admin/settlement/cell/Actions.vue.d.ts +13 -0
- package/dist/views/admin/settlement/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/admin/settlement/cell/Method.vue.d.ts +9 -0
- package/dist/views/admin/settlement/cell/Status.vue.d.ts +9 -0
- package/dist/views/admin/terminal/Terminal.vue.d.ts +2 -0
- package/dist/views/admin/terminal/TerminalBindCodeDialog.vue.d.ts +12 -0
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +15 -0
- package/dist/views/admin/terminal/cell/ID.vue.d.ts +9 -0
- package/dist/views/admin/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
- package/dist/views/admin/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/admin/terminal-transaction/cell/Status.vue.d.ts +9 -0
- package/dist/views/admin/transaction/Transaction.vue.d.ts +2 -0
- package/dist/views/admin/transaction/TransactionTable.vue.d.ts +26 -0
- package/dist/views/admin/transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/admin/transaction/cell/Method.vue.d.ts +9 -0
- package/dist/views/admin/transaction/cell/Status.vue.d.ts +9 -0
- package/dist/views/payout-account/PayoutAccount.vue.d.ts +2 -0
- package/dist/views/payout-account/PayoutAccountDialog.vue.d.ts +92 -0
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +161 -0
- package/dist/views/payout-account/cell/Bank.vue.d.ts +9 -0
- package/dist/views/payout-account/cell/IsActive.vue.d.ts +9 -0
- package/dist/views/payout-account/cell/PersonInCharge.vue.d.ts +9 -0
- package/dist/views/payout-account/cell/Status.vue.d.ts +9 -0
- package/dist/views/settlement/Settlement.vue.d.ts +2 -0
- package/dist/views/settlement/SettlementTable.vue.d.ts +141 -0
- package/dist/views/settlement/SettlementTransactions.vue.d.ts +12 -0
- package/dist/views/settlement/cell/Actions.vue.d.ts +13 -0
- package/dist/views/settlement/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/settlement/cell/Method.vue.d.ts +9 -0
- package/dist/views/settlement/cell/Status.vue.d.ts +9 -0
- package/dist/views/transaction/Transaction.vue.d.ts +2 -0
- package/dist/views/transaction/TransactionTable.vue.d.ts +26 -0
- package/dist/views/transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/transaction/cell/Method.vue.d.ts +9 -0
- package/dist/views/transaction/cell/Status.vue.d.ts +9 -0
- package/package.json +101 -0
@@ -0,0 +1,204 @@
|
|
1
|
+
import { defineComponent as d, openBlock as m, createElementBlock as y, createTextVNode as T, createElementVNode as c, toDisplayString as v, resolveComponent as f, createBlock as x, normalizeClass as b, withCtx as C, Fragment as D, createVNode as l, ref as I, watch as K, unref as p, isRef as $, h as _ } from "vue";
|
2
|
+
import { g as F, b as g, a as S } from "./index-DvzXwr90.js";
|
3
|
+
import { h as V } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as N } from "./index-B8_4waUa.js";
|
5
|
+
import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-y4tchjya.js";
|
6
|
+
import { _ as E } from "./AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js";
|
7
|
+
import { useDialog as P } from "@feedmepos/ui-library";
|
8
|
+
const h = {
|
9
|
+
async read(n) {
|
10
|
+
return F(
|
11
|
+
await g().get("/payments/terminals", {
|
12
|
+
params: { ...n }
|
13
|
+
})
|
14
|
+
);
|
15
|
+
},
|
16
|
+
async getBindCode(n) {
|
17
|
+
const { code: o } = S(
|
18
|
+
await g().get(`/payments/terminals/${n}/code`)
|
19
|
+
);
|
20
|
+
return o;
|
21
|
+
}
|
22
|
+
}, R = { class: "t-caption" }, L = { class: "t-h1 my-6 text-center" }, M = /* @__PURE__ */ d({
|
23
|
+
__name: "TerminalBindCodeDialog",
|
24
|
+
props: {
|
25
|
+
code: {
|
26
|
+
type: String,
|
27
|
+
required: !0
|
28
|
+
}
|
29
|
+
},
|
30
|
+
setup(n) {
|
31
|
+
return (o, a) => (m(), y("div", R, [
|
32
|
+
a[0] || (a[0] = T(" Enter the binding code below on your device to link it with this terminal and apply the configuration. ")),
|
33
|
+
c("div", L, v(n.code), 1)
|
34
|
+
]));
|
35
|
+
}
|
36
|
+
}), Q = /* @__PURE__ */ d({
|
37
|
+
__name: "ID",
|
38
|
+
props: {
|
39
|
+
row: {},
|
40
|
+
data: {}
|
41
|
+
},
|
42
|
+
setup(n) {
|
43
|
+
const o = n;
|
44
|
+
function a() {
|
45
|
+
return o.row.original.status === "Active" ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
46
|
+
}
|
47
|
+
return (i, t) => {
|
48
|
+
const r = f("FmBadge");
|
49
|
+
return m(), x(r, {
|
50
|
+
inline: "",
|
51
|
+
class: b(a())
|
52
|
+
}, {
|
53
|
+
default: C(() => [
|
54
|
+
c("div", null, v(i.data), 1)
|
55
|
+
]),
|
56
|
+
_: 1
|
57
|
+
}, 8, ["class"]);
|
58
|
+
};
|
59
|
+
}
|
60
|
+
}), U = /* @__PURE__ */ d({
|
61
|
+
__name: "Actions",
|
62
|
+
props: {
|
63
|
+
row: {},
|
64
|
+
data: {}
|
65
|
+
},
|
66
|
+
emits: ["link", "edit"],
|
67
|
+
setup(n, { emit: o }) {
|
68
|
+
const a = o;
|
69
|
+
return (i, t) => {
|
70
|
+
const r = f("FmButton");
|
71
|
+
return m(), y(D, null, [
|
72
|
+
l(r, {
|
73
|
+
variant: "plain",
|
74
|
+
"prepend-icon": "link",
|
75
|
+
onClick: t[0] || (t[0] = () => a("link", i.data))
|
76
|
+
}),
|
77
|
+
l(r, {
|
78
|
+
variant: "plain",
|
79
|
+
"prepend-icon": "edit",
|
80
|
+
onClick: t[1] || (t[1] = () => a("edit", i.data))
|
81
|
+
})
|
82
|
+
], 64);
|
83
|
+
};
|
84
|
+
}
|
85
|
+
}), j = { class: "flex justify-between mb-6 items-center" }, q = { class: "flex space-x-4" }, Z = /* @__PURE__ */ d({
|
86
|
+
__name: "Terminal",
|
87
|
+
setup(n) {
|
88
|
+
const o = P();
|
89
|
+
async function a(e) {
|
90
|
+
const s = await h.getBindCode(e);
|
91
|
+
o.open({
|
92
|
+
title: "Terminal Bind Code",
|
93
|
+
closeButton: !0,
|
94
|
+
overlay: !0,
|
95
|
+
contentComponent: M,
|
96
|
+
contentComponentProps: { code: s }
|
97
|
+
});
|
98
|
+
}
|
99
|
+
const i = I(), { searchKey: t } = N({
|
100
|
+
searchKey: ""
|
101
|
+
});
|
102
|
+
let r;
|
103
|
+
K(t, async () => {
|
104
|
+
r && clearTimeout(r), r = setTimeout(
|
105
|
+
() => {
|
106
|
+
var e;
|
107
|
+
return (e = i.value) == null ? void 0 : e.refreshQuery();
|
108
|
+
},
|
109
|
+
700
|
110
|
+
);
|
111
|
+
});
|
112
|
+
const w = function(e) {
|
113
|
+
return {
|
114
|
+
id: e._id,
|
115
|
+
status: e.status,
|
116
|
+
referenceId: e.referenceId,
|
117
|
+
name: e.name,
|
118
|
+
deviceId: e.deviceId,
|
119
|
+
updatedAt: V(e.updatedAt).format("YYYY-MM-DD hh:mm:ss")
|
120
|
+
};
|
121
|
+
}, B = [
|
122
|
+
{
|
123
|
+
accessorKey: "id",
|
124
|
+
header: () => "Terminal ID",
|
125
|
+
meta: {
|
126
|
+
textAlign: "right"
|
127
|
+
},
|
128
|
+
cell: ({ cell: e, row: s }) => _(Q, { row: s, data: e.getValue() })
|
129
|
+
},
|
130
|
+
{
|
131
|
+
accessorKey: "name",
|
132
|
+
header: () => "Name",
|
133
|
+
meta: {
|
134
|
+
textAlign: "left"
|
135
|
+
}
|
136
|
+
},
|
137
|
+
{
|
138
|
+
accessorKey: "referenceId",
|
139
|
+
header: () => "Reference",
|
140
|
+
meta: {
|
141
|
+
textAlign: "left"
|
142
|
+
}
|
143
|
+
},
|
144
|
+
{
|
145
|
+
accessorKey: "deviceId",
|
146
|
+
header: () => "Bound Device Id",
|
147
|
+
meta: {
|
148
|
+
textAlign: "left"
|
149
|
+
}
|
150
|
+
},
|
151
|
+
{
|
152
|
+
accessorKey: "updatedAt",
|
153
|
+
header: () => "Last Updated",
|
154
|
+
meta: {
|
155
|
+
textAlign: "left"
|
156
|
+
}
|
157
|
+
},
|
158
|
+
{
|
159
|
+
accessorKey: "id",
|
160
|
+
header: () => "Actions",
|
161
|
+
meta: {
|
162
|
+
textAlign: "center"
|
163
|
+
},
|
164
|
+
cell: ({ cell: e, row: s }) => _(U, {
|
165
|
+
row: s,
|
166
|
+
data: e.getValue(),
|
167
|
+
onLink: a
|
168
|
+
})
|
169
|
+
}
|
170
|
+
];
|
171
|
+
return (e, s) => {
|
172
|
+
const k = f("FmSearch");
|
173
|
+
return m(), x(E, {
|
174
|
+
title: "Terminals",
|
175
|
+
loading: !1
|
176
|
+
}, {
|
177
|
+
default: C(() => [
|
178
|
+
c("div", j, [
|
179
|
+
c("div", q, [
|
180
|
+
l(k, {
|
181
|
+
"model-value": p(t),
|
182
|
+
"onUpdate:modelValue": s[0] || (s[0] = (u) => $(t) ? t.value = u : null),
|
183
|
+
class: "mr-8",
|
184
|
+
label: "Search",
|
185
|
+
placeholder: "Search Terminals ..."
|
186
|
+
}, null, 8, ["model-value"])
|
187
|
+
])
|
188
|
+
]),
|
189
|
+
l(Y, {
|
190
|
+
ref_key: "controller",
|
191
|
+
ref: i,
|
192
|
+
"column-defs": B,
|
193
|
+
"rows-defs": w,
|
194
|
+
paginate: (u, A) => p(h).read({ searchKey: p(t), limit: u, cursor: A })
|
195
|
+
}, null, 8, ["paginate"])
|
196
|
+
]),
|
197
|
+
_: 1
|
198
|
+
});
|
199
|
+
};
|
200
|
+
}
|
201
|
+
});
|
202
|
+
export {
|
203
|
+
Z as default
|
204
|
+
};
|
@@ -0,0 +1,240 @@
|
|
1
|
+
import { defineComponent as A, resolveComponent as m, openBlock as g, createBlock as h, unref as s, normalizeClass as O, withCtx as y, createElementVNode as _, toDisplayString as E, ref as v, watch as N, createVNode as d, isRef as f, h as x } from "vue";
|
2
|
+
import { c as o, g as D, b as k } from "./index-DvzXwr90.js";
|
3
|
+
import { h as T } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as K } from "./index-B8_4waUa.js";
|
5
|
+
import { _ as V } from "./index.vue_vue_type_script_setup_true_lang-y4tchjya.js";
|
6
|
+
import { _ as M } from "./AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js";
|
7
|
+
import "@feedmepos/ui-library";
|
8
|
+
import { g as L } from "./assets-CZ2m5tCN.js";
|
9
|
+
import { d as B } from "./dinero-CIVmXLL-.js";
|
10
|
+
const P = /* @__PURE__ */ A({
|
11
|
+
__name: "Gateway",
|
12
|
+
props: {
|
13
|
+
row: {},
|
14
|
+
data: {}
|
15
|
+
},
|
16
|
+
setup(i) {
|
17
|
+
return (a, n) => {
|
18
|
+
const r = m("FmThumbnail");
|
19
|
+
return g(), h(r, {
|
20
|
+
src: s(L)(a.row.original.gateway),
|
21
|
+
class: "mr-2 border-transparent w-[32px] h-[32px]"
|
22
|
+
}, null, 8, ["src"]);
|
23
|
+
};
|
24
|
+
}
|
25
|
+
}), $ = /* @__PURE__ */ A({
|
26
|
+
__name: "Status",
|
27
|
+
props: {
|
28
|
+
row: {},
|
29
|
+
data: {}
|
30
|
+
},
|
31
|
+
setup(i) {
|
32
|
+
const a = i;
|
33
|
+
function n() {
|
34
|
+
return a.data === o.F_TERMINAL_TRANSACTION_ACTION.Enum.process ? "!w-[16px] !h-[16px] bg-yellow-400" : a.data === o.F_TERMINAL_TRANSACTION_ACTION.Enum.failed ? "!w-[16px] !h-[16px] bg-red-400" : a.data === o.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
35
|
+
}
|
36
|
+
return (r, c) => {
|
37
|
+
const u = m("FmBadge");
|
38
|
+
return g(), h(u, {
|
39
|
+
inline: "",
|
40
|
+
class: O(n())
|
41
|
+
}, {
|
42
|
+
default: y(() => [
|
43
|
+
_("div", null, E(r.data.toUpperCase()), 1)
|
44
|
+
]),
|
45
|
+
_: 1
|
46
|
+
}, 8, ["class"]);
|
47
|
+
};
|
48
|
+
}
|
49
|
+
}), U = {
|
50
|
+
async readTransactions(i) {
|
51
|
+
return D(
|
52
|
+
await k().get("/payments/terminal-transactions", {
|
53
|
+
params: i
|
54
|
+
})
|
55
|
+
);
|
56
|
+
}
|
57
|
+
}, Y = { class: "flex justify-between mb-6 items-start" }, G = { class: "flex space-x-4 items-start" }, Q = { class: "flex space-x-4" }, te = /* @__PURE__ */ A({
|
58
|
+
__name: "TerminalTransaction",
|
59
|
+
setup(i) {
|
60
|
+
const a = v(), { dateRange: n, status: r, searchKey: c } = K({
|
61
|
+
searchKey: "",
|
62
|
+
status: [o.F_TERMINAL_TRANSACTION_ACTION.Enum.success],
|
63
|
+
dateRange: {
|
64
|
+
startDate: T().startOf("day").toISOString(),
|
65
|
+
endDate: T().endOf("day").toISOString()
|
66
|
+
}
|
67
|
+
});
|
68
|
+
N([n, r], () => {
|
69
|
+
var e;
|
70
|
+
return (e = a.value) == null ? void 0 : e.refreshQuery();
|
71
|
+
});
|
72
|
+
let u;
|
73
|
+
N(c, async () => {
|
74
|
+
u && clearTimeout(u), u = setTimeout(
|
75
|
+
() => {
|
76
|
+
var e;
|
77
|
+
return (e = a.value) == null ? void 0 : e.refreshQuery();
|
78
|
+
},
|
79
|
+
700
|
80
|
+
);
|
81
|
+
});
|
82
|
+
const w = [
|
83
|
+
{
|
84
|
+
label: "Success",
|
85
|
+
value: o.F_TERMINAL_TRANSACTION_ACTION.Enum.success
|
86
|
+
},
|
87
|
+
{
|
88
|
+
label: "Refunded",
|
89
|
+
value: o.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded
|
90
|
+
},
|
91
|
+
{
|
92
|
+
label: "Process",
|
93
|
+
value: o.F_TERMINAL_TRANSACTION_ACTION.Enum.process
|
94
|
+
},
|
95
|
+
{
|
96
|
+
label: "Failed",
|
97
|
+
value: o.F_TERMINAL_TRANSACTION_ACTION.Enum.failed
|
98
|
+
}
|
99
|
+
], R = function(e) {
|
100
|
+
const t = e;
|
101
|
+
let p = "-";
|
102
|
+
return t.details.amount && (p = B(t.details.amount).toFormat("$0.00")), {
|
103
|
+
id: e._id,
|
104
|
+
refId: e.refId,
|
105
|
+
owner: e.owner,
|
106
|
+
terminalId: e.terminalId,
|
107
|
+
transactionAt: T(e.transactionAt).format("YYYY-MM-DD hh:mm:ss"),
|
108
|
+
action: e.action,
|
109
|
+
gateway: e.gateway,
|
110
|
+
amount: p
|
111
|
+
};
|
112
|
+
}, C = [
|
113
|
+
{
|
114
|
+
accessorKey: "id",
|
115
|
+
header: () => "Transaction ID",
|
116
|
+
meta: {
|
117
|
+
textAlign: "left"
|
118
|
+
}
|
119
|
+
},
|
120
|
+
{
|
121
|
+
accessorKey: "refId",
|
122
|
+
header: () => "Reference ID",
|
123
|
+
meta: {
|
124
|
+
textAlign: "left"
|
125
|
+
}
|
126
|
+
},
|
127
|
+
{
|
128
|
+
accessorKey: "gateway",
|
129
|
+
header: () => "Gateway",
|
130
|
+
meta: {
|
131
|
+
textAlign: "center",
|
132
|
+
maxWidth: "128px"
|
133
|
+
},
|
134
|
+
cell: ({ cell: e, row: t }) => x(P, { row: t, data: e.getValue() })
|
135
|
+
},
|
136
|
+
{
|
137
|
+
accessorKey: "action",
|
138
|
+
header: () => "Status",
|
139
|
+
meta: {
|
140
|
+
textAlign: "left",
|
141
|
+
maxWidth: "128px"
|
142
|
+
},
|
143
|
+
cell: ({ cell: e, row: t }) => x($, { row: t, data: e.getValue() })
|
144
|
+
},
|
145
|
+
{
|
146
|
+
accessorKey: "amount",
|
147
|
+
header: () => "Sales Amount",
|
148
|
+
meta: {
|
149
|
+
textAlign: "center"
|
150
|
+
}
|
151
|
+
},
|
152
|
+
{
|
153
|
+
accessorKey: "owner",
|
154
|
+
header: () => "Reference",
|
155
|
+
meta: {
|
156
|
+
textAlign: "left"
|
157
|
+
}
|
158
|
+
},
|
159
|
+
{
|
160
|
+
accessorKey: "terminalId",
|
161
|
+
header: () => "Terminal ID",
|
162
|
+
meta: {
|
163
|
+
textAlign: "left"
|
164
|
+
}
|
165
|
+
},
|
166
|
+
{
|
167
|
+
accessorKey: "transactionAt",
|
168
|
+
header: () => "Transaction At",
|
169
|
+
meta: {
|
170
|
+
textAlign: "left"
|
171
|
+
}
|
172
|
+
}
|
173
|
+
];
|
174
|
+
return (e, t) => {
|
175
|
+
const p = m("FmSearch"), I = m("FmSelect"), S = m("FmDateRangePicker"), F = m("FmButton");
|
176
|
+
return g(), h(M, {
|
177
|
+
title: "Terminal Transactions",
|
178
|
+
loading: !1
|
179
|
+
}, {
|
180
|
+
default: y(() => [
|
181
|
+
_("div", Y, [
|
182
|
+
_("div", G, [
|
183
|
+
d(p, {
|
184
|
+
"model-value": s(c),
|
185
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => f(c) ? c.value = l : null),
|
186
|
+
class: "mr-8",
|
187
|
+
label: "Search",
|
188
|
+
placeholder: "Search Transactions ..."
|
189
|
+
}, null, 8, ["model-value"]),
|
190
|
+
d(I, {
|
191
|
+
modelValue: s(r),
|
192
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => f(r) ? r.value = l : null),
|
193
|
+
class: "mr-6 w-[300px]",
|
194
|
+
label: "Status",
|
195
|
+
"label-mark": "required",
|
196
|
+
multiselect: "",
|
197
|
+
items: w
|
198
|
+
}, null, 8, ["modelValue"]),
|
199
|
+
d(S, {
|
200
|
+
modelValue: s(n),
|
201
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => f(n) ? n.value = l : null),
|
202
|
+
compare: "",
|
203
|
+
"show-predefined-range": ""
|
204
|
+
}, null, 8, ["modelValue"])
|
205
|
+
]),
|
206
|
+
_("div", Q, [
|
207
|
+
d(F, {
|
208
|
+
"append-icon": "file_download",
|
209
|
+
variant: "primary",
|
210
|
+
label: "Export",
|
211
|
+
onClick: () => {
|
212
|
+
}
|
213
|
+
})
|
214
|
+
])
|
215
|
+
]),
|
216
|
+
d(V, {
|
217
|
+
ref_key: "controller",
|
218
|
+
ref: a,
|
219
|
+
"column-defs": C,
|
220
|
+
"rows-defs": R,
|
221
|
+
paginate: (l, b) => s(U).readTransactions({
|
222
|
+
status: s(r),
|
223
|
+
searchKey: s(c),
|
224
|
+
limit: l,
|
225
|
+
cursor: b,
|
226
|
+
start: s(n).startDate,
|
227
|
+
end: s(n).endDate
|
228
|
+
}),
|
229
|
+
onRowClick: () => {
|
230
|
+
}
|
231
|
+
}, null, 8, ["paginate"])
|
232
|
+
]),
|
233
|
+
_: 1
|
234
|
+
});
|
235
|
+
};
|
236
|
+
}
|
237
|
+
});
|
238
|
+
export {
|
239
|
+
te as default
|
240
|
+
};
|
@@ -0,0 +1,242 @@
|
|
1
|
+
import { defineComponent as _, resolveComponent as c, openBlock as f, createBlock as g, normalizeClass as I, withCtx as E, createElementVNode as T, toDisplayString as D, unref as u, ref as A, h as S, onMounted as O, watch as C, createVNode as y, isRef as N } from "vue";
|
2
|
+
import { t as K, a as R } from "./transaction-fdJNol6A.js";
|
3
|
+
import { e as F, u as V } from "./index-DvzXwr90.js";
|
4
|
+
import "@feedmepos/ui-library";
|
5
|
+
import "./dinero-CIVmXLL-.js";
|
6
|
+
import { h as b } from "./moment-h96o7c8I.js";
|
7
|
+
import { g as k, a as P } from "./assets-CZ2m5tCN.js";
|
8
|
+
import { useCoreStore as B } from "@feedmepos/mf-common";
|
9
|
+
import { u as L } from "./index-B8_4waUa.js";
|
10
|
+
import { _ as M } from "./AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js";
|
11
|
+
const U = /* @__PURE__ */ _({
|
12
|
+
__name: "Status",
|
13
|
+
props: {
|
14
|
+
row: {},
|
15
|
+
data: {}
|
16
|
+
},
|
17
|
+
setup(i) {
|
18
|
+
const t = i;
|
19
|
+
function a() {
|
20
|
+
return t.data === F.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : t.data === F.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : t.data === F.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
21
|
+
}
|
22
|
+
return (r, d) => {
|
23
|
+
const o = c("FmBadge");
|
24
|
+
return f(), g(o, {
|
25
|
+
inline: "",
|
26
|
+
class: I(a())
|
27
|
+
}, {
|
28
|
+
default: E(() => [
|
29
|
+
T("div", null, D(r.data), 1)
|
30
|
+
]),
|
31
|
+
_: 1
|
32
|
+
}, 8, ["class"]);
|
33
|
+
};
|
34
|
+
}
|
35
|
+
}), $ = /* @__PURE__ */ _({
|
36
|
+
__name: "Gateway",
|
37
|
+
props: {
|
38
|
+
row: {},
|
39
|
+
data: {}
|
40
|
+
},
|
41
|
+
setup(i) {
|
42
|
+
return (t, a) => {
|
43
|
+
const r = c("FmThumbnail");
|
44
|
+
return f(), g(r, {
|
45
|
+
src: u(k)(t.row.original.gateway),
|
46
|
+
class: "mr-2 border-transparent w-[32px] h-[32px]"
|
47
|
+
}, null, 8, ["src"]);
|
48
|
+
};
|
49
|
+
}
|
50
|
+
}), G = /* @__PURE__ */ _({
|
51
|
+
__name: "Method",
|
52
|
+
props: {
|
53
|
+
row: {},
|
54
|
+
data: {}
|
55
|
+
},
|
56
|
+
setup(i) {
|
57
|
+
return (t, a) => {
|
58
|
+
const r = c("FmThumbnail");
|
59
|
+
return f(), g(r, {
|
60
|
+
src: u(P)(t.row.original.method.issuer),
|
61
|
+
class: "mr-2 border-transparent w-[32px] h-[32px]"
|
62
|
+
}, null, 8, ["src"]);
|
63
|
+
};
|
64
|
+
}
|
65
|
+
}), Y = /* @__PURE__ */ _({
|
66
|
+
__name: "TransactionTable",
|
67
|
+
props: {
|
68
|
+
data: {
|
69
|
+
type: Array,
|
70
|
+
required: !0
|
71
|
+
},
|
72
|
+
loading: {
|
73
|
+
type: Boolean,
|
74
|
+
required: !0
|
75
|
+
}
|
76
|
+
},
|
77
|
+
emits: ["row-click"],
|
78
|
+
setup(i, { emit: t }) {
|
79
|
+
const a = i, r = t, d = A(""), o = [
|
80
|
+
{
|
81
|
+
header: () => "Transaction ID",
|
82
|
+
accessorKey: "id"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
header: () => "Pay ID",
|
86
|
+
accessorKey: "payId"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
header: () => "Gateway",
|
90
|
+
accessorKey: "gateway",
|
91
|
+
meta: {
|
92
|
+
textAlign: "center"
|
93
|
+
},
|
94
|
+
cell: ({ cell: n, row: e }) => e.original.method ? S($, { row: e, data: n.getValue() }) : ""
|
95
|
+
},
|
96
|
+
{
|
97
|
+
header: () => "Method",
|
98
|
+
accessorKey: "method",
|
99
|
+
meta: {
|
100
|
+
textAlign: "center"
|
101
|
+
},
|
102
|
+
cell: ({ cell: n, row: e }) => e.original.method ? S(G, { row: e, data: n.getValue() }) : ""
|
103
|
+
},
|
104
|
+
{
|
105
|
+
header: () => "Type",
|
106
|
+
accessorKey: "type",
|
107
|
+
meta: {
|
108
|
+
textAlign: "center"
|
109
|
+
},
|
110
|
+
cell: ({ row: n }) => {
|
111
|
+
if (!n.original.method)
|
112
|
+
return "";
|
113
|
+
const e = n.original.method.variant;
|
114
|
+
return e.includes("_ONLINE") ? "ONLINE" : e.includes("_OFFLINE") ? "OFFLINE" : e;
|
115
|
+
}
|
116
|
+
},
|
117
|
+
{
|
118
|
+
header: () => "Status",
|
119
|
+
accessorKey: "status",
|
120
|
+
cell: ({ cell: n, row: e }) => S(U, { row: e, data: n.getValue() })
|
121
|
+
},
|
122
|
+
{
|
123
|
+
header: () => "Transaction At",
|
124
|
+
accessorKey: "transactionAt",
|
125
|
+
meta: {
|
126
|
+
width: "180px"
|
127
|
+
}
|
128
|
+
},
|
129
|
+
{
|
130
|
+
header: () => "Sales Amount",
|
131
|
+
accessorKey: "amount"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
header: () => "Fee",
|
135
|
+
accessorKey: "fee"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
header: () => "Settlement Amount",
|
139
|
+
accessorKey: "payout"
|
140
|
+
}
|
141
|
+
];
|
142
|
+
return (n, e) => {
|
143
|
+
const x = c("FmTable");
|
144
|
+
return f(), g(x, {
|
145
|
+
modelValue: d.value,
|
146
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => d.value = l),
|
147
|
+
"column-defs": o,
|
148
|
+
"row-data": a.data,
|
149
|
+
loading: a.loading,
|
150
|
+
onRowClick: e[1] || (e[1] = (l) => r("row-click", a.data.at(l.index)))
|
151
|
+
}, null, 8, ["modelValue", "row-data", "loading"]);
|
152
|
+
};
|
153
|
+
}
|
154
|
+
}), q = { class: "flex justify-between mb-6 items-center" }, J = { class: "flex space-x-4" }, j = { class: "flex space-x-4" }, re = /* @__PURE__ */ _({
|
155
|
+
__name: "Transaction",
|
156
|
+
setup(i) {
|
157
|
+
const { dateRange: t, searchKey: a } = L({
|
158
|
+
searchKey: "",
|
159
|
+
dateRange: {
|
160
|
+
startDate: b().startOf("day").toISOString(),
|
161
|
+
endDate: b().endOf("day").toISOString()
|
162
|
+
}
|
163
|
+
}), { isLoading: r, startAsyncCall: d } = V(!0);
|
164
|
+
B();
|
165
|
+
const o = A([]), n = A([]);
|
166
|
+
async function e() {
|
167
|
+
await d(async () => {
|
168
|
+
const { startDate: h, endDate: s } = t.value, m = await K.readTransactions({
|
169
|
+
start: h,
|
170
|
+
end: s
|
171
|
+
});
|
172
|
+
if (o.value = R(m), n.value = o.value, a.value > "") {
|
173
|
+
var w = new RegExp(a.value, "i");
|
174
|
+
n.value = o.value.filter((v) => {
|
175
|
+
const p = JSON.stringify(v);
|
176
|
+
return w.test(p);
|
177
|
+
});
|
178
|
+
}
|
179
|
+
});
|
180
|
+
}
|
181
|
+
function x() {
|
182
|
+
e();
|
183
|
+
}
|
184
|
+
O(x);
|
185
|
+
let l;
|
186
|
+
return C(a, async () => {
|
187
|
+
l && clearTimeout(l), l = setTimeout(() => {
|
188
|
+
var h = new RegExp(a.value, "i");
|
189
|
+
n.value = o.value.filter((s) => {
|
190
|
+
const m = JSON.stringify(s);
|
191
|
+
return h.test(m);
|
192
|
+
});
|
193
|
+
}, 700);
|
194
|
+
}), (h, s) => {
|
195
|
+
const m = c("FmSearch"), w = c("FmDateRangePicker"), v = c("FmButton");
|
196
|
+
return f(), g(M, {
|
197
|
+
title: "Transactions",
|
198
|
+
loading: u(r)
|
199
|
+
}, {
|
200
|
+
default: E(() => [
|
201
|
+
T("div", q, [
|
202
|
+
T("div", J, [
|
203
|
+
y(m, {
|
204
|
+
"model-value": u(a),
|
205
|
+
"onUpdate:modelValue": s[0] || (s[0] = (p) => N(a) ? a.value = p : null),
|
206
|
+
class: "mr-8",
|
207
|
+
label: "Search",
|
208
|
+
placeholder: "Search Transactions ..."
|
209
|
+
}, null, 8, ["model-value"]),
|
210
|
+
y(w, {
|
211
|
+
modelValue: u(t),
|
212
|
+
"onUpdate:modelValue": [
|
213
|
+
s[1] || (s[1] = (p) => N(t) ? t.value = p : null),
|
214
|
+
e
|
215
|
+
],
|
216
|
+
compare: "",
|
217
|
+
"show-predefined-range": ""
|
218
|
+
}, null, 8, ["modelValue"])
|
219
|
+
]),
|
220
|
+
T("div", j, [
|
221
|
+
y(v, {
|
222
|
+
"append-icon": "file_download",
|
223
|
+
variant: "primary",
|
224
|
+
label: "Export",
|
225
|
+
onClick: () => {
|
226
|
+
}
|
227
|
+
})
|
228
|
+
])
|
229
|
+
]),
|
230
|
+
y(Y, {
|
231
|
+
loading: u(r),
|
232
|
+
data: n.value
|
233
|
+
}, null, 8, ["loading", "data"])
|
234
|
+
]),
|
235
|
+
_: 1
|
236
|
+
}, 8, ["loading"]);
|
237
|
+
};
|
238
|
+
}
|
239
|
+
});
|
240
|
+
export {
|
241
|
+
re as default
|
242
|
+
};
|