@feedmepos/mf-payment 0.0.0-beta.2 → 0.0.0-beta.22
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-BGSq2B6o.js +612 -0
- package/dist/PayoutAccount-C3OOz1oi.js +272 -0
- package/dist/PayoutAccountSetting-WxLdT6mv.js +702 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-CKxNAHAH.js +148 -0
- package/dist/Settlement-DQcrZNvo.js +142 -0
- package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-CUG4ePP_.js} +99 -105
- package/dist/SettlementTransactions-V5fjLv7H.js +334 -0
- package/dist/Terminal-C_G_AuJZ.js +318 -0
- package/dist/TerminalSetting-BuAaL5qK.js +176 -0
- package/dist/TerminalTransaction-D4c0ivQg.js +241 -0
- package/dist/TerminalTransaction-DbjVvH2P.js +235 -0
- package/dist/Transaction-MrC2wj9k.js +242 -0
- package/dist/Transaction-h2YrauW3.js +243 -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-Cj6QBVPU.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-CjCiGW2Y.js → index-C58XD8h3.js} +13 -23
- package/dist/index-CvMai9eW.js +26 -0
- package/dist/{index-B8_4waUa.js → index-DA_XRfnd.js} +1 -1
- package/dist/index-DN6pSWL_.js +40 -0
- package/dist/index-DYnNx4du.js +37 -0
- package/dist/index-De4-LJjg.js +55562 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-J6BwjC-p.js +155 -0
- package/dist/package.json +7 -7
- package/dist/{index-D-lMrCvM.js → payout-account-BBG-e-NS.js} +773 -804
- package/dist/plugins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{transaction-fdJNol6A.js → transaction-BmxtNt6_.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/TerminalTransaction-CtVBUTMg.js +0 -240
- package/dist/Transaction-CvDEP2Uq.js +0 -242
- package/dist/Transaction-Rk0g5_Gn.js +0 -241
- package/dist/assets-CZ2m5tCN.js +0 -43
- package/dist/favicon.ico +0 -0
- package/dist/icons/anydesk.svg +0 -1
- package/dist/icons/sort.svg +0 -3
- package/dist/images/gateway/ccdc.svg +0 -44
- package/dist/images/gateway/fiuu.jpg +0 -0
- package/dist/images/gateway/fm.svg +0 -44
- package/dist/images/gateway/rm.jpg +0 -0
- package/dist/images/method/BNPL/Ablr/Ablr_SVG.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V2_ROU.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V2_SQU.svg +0 -7
- package/dist/images/method/BNPL/Atome/Atome_SVG.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V3_ROU.svg +0 -5
- package/dist/images/method/BNPL/Atome/Atome_V3_SQU.svg +0 -5
- package/dist/images/method/BNPL/IOUPay/IOUPay_SVG.svg +0 -12
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_ROU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_SQU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_ROU.svg +0 -13
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_SQU.svg +0 -13
- package/dist/images/method/BNPL/ShopBack/ShopBack_SVG.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_ROU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_SQU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_SVG.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V1_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V1_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V3_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V3_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/AEONBank/AEONBank_SVG.svg +0 -16
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/AffinBank/AffinBank_SVG.svg +0 -56
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_SQU.svg +0 -10
- package/dist/images/method/Banks/AllianceBank/AllianceBank_SVG.svg +0 -45
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_BSQU.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_LG.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_ROU.svg +0 -34
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_SQU.svg +0 -34
- package/dist/images/method/Banks/AmBank/AmBank_SVG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V1_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V4_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V4_LG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_LG.svg +0 -18
- package/dist/images/method/Banks/ArgoBank/ArgoBank_SVG.svg +0 -12
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_SVG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_BSQU.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_LG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BankIslam/BankIslam_SVG.svg +0 -13
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_LG.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_ROU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_SVG.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_BSQU.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_LG.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_BSQU.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_LG.svg +0 -27
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_ROU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_ROU.svg +0 -4
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/BankRakyat/BankRakyat_SVG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/Cimb/Cimb_SVG.svg +0 -16
- package/dist/images/method/Banks/Cimb/Cimb_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V3_BSQU.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_LG.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_ROU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V3_SQU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V4_BSQU.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V4_LG.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V5_LG.svg +0 -14
- package/dist/images/method/Banks/CitiBank/CitiBank_SVG.svg +0 -4
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/GXBank/GXBank_SVG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V1_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V3_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_SQU.svg +0 -10
- package/dist/images/method/Banks/HSBC/HSBC_SVG.svg +0 -11
- package/dist/images/method/Banks/HSBC/HSBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_ROU.svg +0 -8
- package/dist/images/method/Banks/HSBC/HSBC_V1_SQU.svg +0 -8
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_SVG.svg +0 -27
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_ROU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_SQU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_LG.svg +0 -18
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_SVG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/Maybank/MayBank_SVG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_ROU.svg +0 -15
- package/dist/images/method/Banks/Maybank/MayBank_V1_SQU.svg +0 -15
- package/dist/images/method/Banks/OCBC/OCBC_SVG.svg +0 -11
- package/dist/images/method/Banks/OCBC/OCBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_SVG.svg +0 -13
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_LG.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_SVG.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/StandardChartered/StandardChartered_SVG.svg +0 -26
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_BSQU.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_LG.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/UOB/UOB_SVG.svg +0 -15
- package/dist/images/method/Banks/UOB/UOB_V1_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V3_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V3_SQU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_SQU.svg +0 -5
- package/dist/images/method/Card/Gobiz/Gobiz_SVG.svg +0 -10
- package/dist/images/method/Card/Gobiz/Gobiz_V1_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V1_SQU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_SQU.svg +0 -11
- package/dist/images/method/Card/Master/MASTER_SVG.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V1_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_SQU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_TRSP.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V2_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V2_SQU.svg +0 -7
- package/dist/images/method/Card/Paydee/Paydee_SVG.svg +0 -8
- package/dist/images/method/Card/Paydee/Paydee_V1_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V1_SQU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_SQU.svg +0 -9
- package/dist/images/method/Card/UnionPay/UNIONPAY_SVG.svg +0 -17
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_ROU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_SQU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_TRSP.svg +0 -17
- package/dist/images/method/Card/Visa/VISA_SVG.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V1_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_TRSP.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V2_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_SVG.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/GooglePay/GooglePay_SVG.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_ROU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_SQU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_TRSP.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_SVG.svg +0 -12
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_ROU.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_SQU.svg +0 -6
- package/dist/images/method/Other/DuitNow/DuitNow_SVG.svg +0 -11
- package/dist/images/method/Other/DuitNow/DuitNow_V1_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V1_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V3_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V3_SQU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_SQU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_SVG.svg +0 -28
- package/dist/images/method/Other/FPX/FPX_V1_ROU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V1_SQU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V2_ROU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V2_SQU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V3_ROU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_V3_SQU.svg +0 -5
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_ROU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_SQU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/Maybank_SVG.svg +0 -49
- package/dist/images/method/Other/NetsPay/NetsPay_SVG.svg +0 -5
- package/dist/images/method/Other/NetsPay/NetsPay_V1_ROU.svg +0 -6
- package/dist/images/method/Other/NetsPay/NetsPay_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_SVG.svg +0 -4
- package/dist/images/method/Wallet/Alipay/Alipay_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V1_SQU.svg +0 -5
- package/dist/images/method/Wallet/Alipay/Alipay_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_SVG.svg +0 -7
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/Binfinite/Binfinite_SVG.svg +0 -14
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_SQU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_SQU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_SQU.svg +0 -15
- package/dist/images/method/Wallet/Boost/Boost_SVG.svg +0 -10
- package/dist/images/method/Wallet/Boost/Boost_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/FavePay/FavePay_SVG.svg +0 -12
- package/dist/images/method/Wallet/FavePay/FavePay_V1_ROU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V1_SQU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/FavePay/FavePay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GoPayz/GoPayz_SVG.svg +0 -12
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_ROU.svg +0 -5
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/GrabPay/GrabPay_SVG.svg +0 -15
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_SQU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_SQU.svg +0 -16
- package/dist/images/method/Wallet/Lazada/Lazada_SVG.svg +0 -44
- package/dist/images/method/Wallet/Lazada/Lazada_V1_ROU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V1_SQU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V2_ROU.svg +0 -45
- package/dist/images/method/Wallet/Lazada/Lazada_V2_SQU.svg +0 -45
- package/dist/images/method/Wallet/MAE/MAE_SVG.svg +0 -4
- package/dist/images/method/Wallet/MAE/MAE_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/MAE/MAE_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/MCash/MCash_SVG.svg +0 -7
- package/dist/images/method/Wallet/MCash/MCash_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_SQU.svg +0 -8
- package/dist/images/method/Wallet/Presto/Presto_SVG.svg +0 -10
- package/dist/images/method/Wallet/Presto/Presto_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_SQU.svg +0 -5
- package/dist/images/method/Wallet/Razer/RazerPay_SVG.svg +0 -11
- package/dist/images/method/Wallet/Razer/RazerPay_V1_ROU.svg +0 -12
- package/dist/images/method/Wallet/Razer/RazerPay_V1_SQU.svg +0 -12
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_SVG.svg +0 -9
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_ROU.svg +0 -10
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_SVG.svg +0 -9
- package/dist/images/method/Wallet/Senheng/Senheng_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Setel/Setel_SVG.svg +0 -10
- package/dist/images/method/Wallet/Setel/Setel_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Setel/Setel_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_SVG.svg +0 -13
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_ROU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_SQU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_ROU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_SQU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/TNG/TNG_SVG.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_ROU.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_SQU.svg +0 -27
- package/dist/images/method/Wallet/TaPay/TaPay_SVG.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_SQU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_SQU.svg +0 -25
- package/dist/images/method/Wallet/Truemoney/Truemoney_SVG.svg +0 -42
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_ROU.svg +0 -17
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_SQU.svg +0 -17
- package/dist/images/method/Wallet/WechatPay/WeChat_SVG.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/Zapp/Zapp_SVG.svg +0 -6
- package/dist/images/method/Wallet/Zapp/Zapp_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Zapp/Zapp_V1_SQU.svg +0 -7
- package/dist/index-DvzXwr90.js +0 -40075
- package/dist/index.vue_vue_type_script_setup_true_lang-y4tchjya.js +0 -150
- package/dist/locales/en/business.json +0 -4
- package/dist/locales/en/common.json +0 -272
- package/dist/locales/en/country.json +0 -4
- package/dist/locales/en/payment.json +0 -27
- package/dist/locales/en/transaction.json +0 -25
- package/dist/locales/en/user.json +0 -61
- package/dist/locales/zh/business.json +0 -4
- package/dist/locales/zh/common.json +0 -272
- package/dist/locales/zh/country.json +0 -6
- package/dist/locales/zh/payment.json +0 -27
- package/dist/locales/zh/transaction.json +0 -25
- package/dist/locales/zh/user.json +0 -61
@@ -0,0 +1,176 @@
|
|
1
|
+
import { defineComponent as k, openBlock as y, createElementBlock as K, Fragment as C, createElementVNode as s, createTextVNode as w, toDisplayString as F, ref as f, onMounted as T, resolveComponent as c, createBlock as V, withCtx as U, createVNode as d, computed as D, unref as p, isRef as N, resolveDynamicComponent as E, normalizeProps as $, mergeProps as L, createCommentVNode as M } from "vue";
|
2
|
+
import { u as P } from "./index-De4-LJjg.js";
|
3
|
+
import { useRouter as j } from "vue-router";
|
4
|
+
import { t as I } from "./index-DYnNx4du.js";
|
5
|
+
import { _ as A } from "./Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js";
|
6
|
+
import { u as O } from "./index-DA_XRfnd.js";
|
7
|
+
import { useSnackbar as R } from "@feedmepos/ui-library";
|
8
|
+
import { u as z } from "./error-K1CakhA9.js";
|
9
|
+
const G = /* @__PURE__ */ k({
|
10
|
+
__name: "Information",
|
11
|
+
props: {
|
12
|
+
terminal: {
|
13
|
+
type: Object,
|
14
|
+
required: !0
|
15
|
+
}
|
16
|
+
},
|
17
|
+
setup(l) {
|
18
|
+
return (o, e) => (y(), K(C, null, [
|
19
|
+
e[0] || (e[0] = s("b", null, "Name", -1)),
|
20
|
+
w(": " + F(l.terminal.name), 1),
|
21
|
+
e[1] || (e[1] = s("br", null, null, -1)),
|
22
|
+
e[2] || (e[2] = s("b", null, "Status", -1)),
|
23
|
+
w(": " + F(l.terminal.status), 1),
|
24
|
+
e[3] || (e[3] = s("br", null, null, -1)),
|
25
|
+
e[4] || (e[4] = s("b", null, "Device ID", -1)),
|
26
|
+
w(": " + F(l.terminal.deviceId ?? "-"), 1),
|
27
|
+
e[5] || (e[5] = s("br", null, null, -1))
|
28
|
+
], 64));
|
29
|
+
}
|
30
|
+
}), Q = /* @__PURE__ */ k({
|
31
|
+
__name: "Fiuu",
|
32
|
+
props: {
|
33
|
+
terminal: {
|
34
|
+
type: Object,
|
35
|
+
required: !0
|
36
|
+
},
|
37
|
+
onUpdate: {
|
38
|
+
type: Function,
|
39
|
+
required: !0
|
40
|
+
}
|
41
|
+
},
|
42
|
+
setup(l) {
|
43
|
+
const o = l, e = f(), v = f(!0), n = f({
|
44
|
+
uniqueId: "",
|
45
|
+
merchantId: "",
|
46
|
+
secretKey: "",
|
47
|
+
verifyKey: ""
|
48
|
+
});
|
49
|
+
return T(() => {
|
50
|
+
if (!o.terminal.gateways)
|
51
|
+
return;
|
52
|
+
const u = o.terminal.gateways.find((t) => t && t.gateway && t.gateway === "Fiuu");
|
53
|
+
u && u.gateway === "Fiuu" && u.config && (v.value = !1, n.value = u.config);
|
54
|
+
}), (u, t) => {
|
55
|
+
const r = c("FmTextField"), g = c("FmButton"), b = c("FmForm");
|
56
|
+
return y(), V(b, {
|
57
|
+
ref: e.value,
|
58
|
+
class: "flex flex-col gap-16 w-[500px]",
|
59
|
+
onValidationSuccess: t[4] || (t[4] = () => {
|
60
|
+
l.terminal.gateways[0] = { gateway: "Fiuu", config: n.value }, o.onUpdate(l.terminal);
|
61
|
+
})
|
62
|
+
}, {
|
63
|
+
default: U(() => [
|
64
|
+
d(r, {
|
65
|
+
modelValue: n.value.uniqueId,
|
66
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => n.value.uniqueId = a),
|
67
|
+
label: "Unique ID"
|
68
|
+
}, null, 8, ["modelValue"]),
|
69
|
+
d(r, {
|
70
|
+
modelValue: n.value.merchantId,
|
71
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => n.value.merchantId = a),
|
72
|
+
label: "Merchant ID"
|
73
|
+
}, null, 8, ["modelValue"]),
|
74
|
+
d(r, {
|
75
|
+
modelValue: n.value.secretKey,
|
76
|
+
"onUpdate:modelValue": t[2] || (t[2] = (a) => n.value.secretKey = a),
|
77
|
+
label: "Secret Key"
|
78
|
+
}, null, 8, ["modelValue"]),
|
79
|
+
d(r, {
|
80
|
+
modelValue: n.value.verifyKey,
|
81
|
+
"onUpdate:modelValue": t[3] || (t[3] = (a) => n.value.verifyKey = a),
|
82
|
+
label: "Verify key"
|
83
|
+
}, null, 8, ["modelValue"]),
|
84
|
+
d(g, {
|
85
|
+
type: "submit",
|
86
|
+
label: "Save"
|
87
|
+
})
|
88
|
+
]),
|
89
|
+
_: 1
|
90
|
+
}, 512);
|
91
|
+
};
|
92
|
+
}
|
93
|
+
}), ee = /* @__PURE__ */ k({
|
94
|
+
__name: "TerminalSetting",
|
95
|
+
props: {
|
96
|
+
terminalId: {
|
97
|
+
type: String,
|
98
|
+
required: !0
|
99
|
+
}
|
100
|
+
},
|
101
|
+
setup(l) {
|
102
|
+
const o = l, { tab: e } = O({
|
103
|
+
tab: "information"
|
104
|
+
}), { isLoading: v, startAsyncCall: n } = P(!0), u = j(), t = R(), r = f();
|
105
|
+
async function g(i) {
|
106
|
+
try {
|
107
|
+
await I.updateById(
|
108
|
+
o.terminalId,
|
109
|
+
{
|
110
|
+
name: i.name,
|
111
|
+
status: i.status,
|
112
|
+
gateway: i.gateways[0]
|
113
|
+
}
|
114
|
+
), r.value = await I.readById(o.terminalId), t.open({
|
115
|
+
type: "success",
|
116
|
+
message: "Terminal updated successfully"
|
117
|
+
});
|
118
|
+
} catch (m) {
|
119
|
+
t.open({
|
120
|
+
type: "error",
|
121
|
+
title: "Error occurs when update terminal",
|
122
|
+
message: z(m)
|
123
|
+
});
|
124
|
+
}
|
125
|
+
}
|
126
|
+
async function b() {
|
127
|
+
n(async () => {
|
128
|
+
r.value = await I.readById(o.terminalId);
|
129
|
+
});
|
130
|
+
}
|
131
|
+
T(b);
|
132
|
+
const a = [
|
133
|
+
{
|
134
|
+
label: "Information",
|
135
|
+
value: "information",
|
136
|
+
icon: "overview",
|
137
|
+
render: G
|
138
|
+
},
|
139
|
+
{
|
140
|
+
label: "Fiuu",
|
141
|
+
value: "fiuu",
|
142
|
+
icon: "payment",
|
143
|
+
render: Q
|
144
|
+
}
|
145
|
+
], x = D(() => {
|
146
|
+
var i;
|
147
|
+
return (i = a.find((m) => m.value === e.value)) == null ? void 0 : i.render;
|
148
|
+
});
|
149
|
+
return (i, m) => {
|
150
|
+
var B;
|
151
|
+
const q = c("FmTabs");
|
152
|
+
return y(), V(A, {
|
153
|
+
title: `Terminal (${(B = r.value) == null ? void 0 : B._id})`,
|
154
|
+
loading: p(v),
|
155
|
+
onBack: p(u).back
|
156
|
+
}, {
|
157
|
+
default: U(() => [
|
158
|
+
d(q, {
|
159
|
+
"model-value": p(e),
|
160
|
+
"onUpdate:modelValue": m[0] || (m[0] = (S) => N(e) ? e.value = S : null),
|
161
|
+
class: "mb-6",
|
162
|
+
items: a
|
163
|
+
}, null, 8, ["model-value"]),
|
164
|
+
p(e) ? (y(), V(E(x.value), $(L({ key: 0 }, {
|
165
|
+
terminal: r.value,
|
166
|
+
onUpdate: g
|
167
|
+
})), null, 16)) : M("", !0)
|
168
|
+
]),
|
169
|
+
_: 1
|
170
|
+
}, 8, ["title", "loading", "onBack"]);
|
171
|
+
};
|
172
|
+
}
|
173
|
+
});
|
174
|
+
export {
|
175
|
+
ee as default
|
176
|
+
};
|
@@ -0,0 +1,241 @@
|
|
1
|
+
import { defineComponent as I, openBlock as h, createElementBlock as F, unref as r, resolveComponent as d, createBlock as y, normalizeClass as b, withCtx as R, createElementVNode as _, toDisplayString as D, ref as k, watch as A, createVNode as i, isRef as T, h as x } from "vue";
|
2
|
+
import { c as s } from "./index-De4-LJjg.js";
|
3
|
+
import { h as g } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as K } from "./index-DA_XRfnd.js";
|
5
|
+
import { _ as V } from "./index.vue_vue_type_script_setup_true_lang-J6BwjC-p.js";
|
6
|
+
import { _ as M } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
|
7
|
+
import "@feedmepos/ui-library";
|
8
|
+
import { g as L } from "./assets-Cj6QBVPU.js";
|
9
|
+
import { t as w } from "./index-CvMai9eW.js";
|
10
|
+
import { d as $ } from "./dinero-CIVmXLL-.js";
|
11
|
+
import { _ as B } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js";
|
12
|
+
import { useCoreStore as P } from "@feedmepos/mf-common";
|
13
|
+
import { _ as U } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
14
|
+
const Y = ["src"], G = /* @__PURE__ */ I({
|
15
|
+
__name: "Gateway",
|
16
|
+
props: {
|
17
|
+
row: {},
|
18
|
+
data: {}
|
19
|
+
},
|
20
|
+
setup(p) {
|
21
|
+
return (l, n) => (h(), F("img", {
|
22
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
23
|
+
src: r(L)(l.row.original.gateway)
|
24
|
+
}, null, 8, Y));
|
25
|
+
}
|
26
|
+
}), W = /* @__PURE__ */ I({
|
27
|
+
__name: "Status",
|
28
|
+
props: {
|
29
|
+
row: {},
|
30
|
+
data: {}
|
31
|
+
},
|
32
|
+
setup(p) {
|
33
|
+
const l = p;
|
34
|
+
function n() {
|
35
|
+
return l.data === s.F_TERMINAL_TRANSACTION_ACTION.Enum.process ? "!w-[16px] !h-[16px] bg-yellow-400" : l.data === s.F_TERMINAL_TRANSACTION_ACTION.Enum.failed ? "!w-[16px] !h-[16px] bg-red-400" : l.data === s.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
36
|
+
}
|
37
|
+
return (o, c) => {
|
38
|
+
const m = d("FmBadge");
|
39
|
+
return h(), y(m, {
|
40
|
+
inline: "",
|
41
|
+
class: b(n())
|
42
|
+
}, {
|
43
|
+
default: R(() => [
|
44
|
+
_("div", null, D(o.data.toUpperCase()), 1)
|
45
|
+
]),
|
46
|
+
_: 1
|
47
|
+
}, 8, ["class"]);
|
48
|
+
};
|
49
|
+
}
|
50
|
+
}), j = { class: "flex justify-between mb-6 items-start" }, q = { class: "flex space-x-8 items-start" }, z = { class: "flex space-x-4" }, me = /* @__PURE__ */ I({
|
51
|
+
__name: "TerminalTransaction",
|
52
|
+
setup(p) {
|
53
|
+
const { currentRestaurant: l } = P(), n = k(), { dateRange: o, status: c, searchKey: m } = K({
|
54
|
+
searchKey: "",
|
55
|
+
status: [s.F_TERMINAL_TRANSACTION_ACTION.Enum.success],
|
56
|
+
dateRange: {
|
57
|
+
startDate: g().startOf("day").toISOString(),
|
58
|
+
endDate: g().endOf("day").toISOString()
|
59
|
+
}
|
60
|
+
});
|
61
|
+
A([o, c], () => {
|
62
|
+
var e;
|
63
|
+
return (e = n.value) == null ? void 0 : e.reset();
|
64
|
+
}), A(l, () => {
|
65
|
+
var e;
|
66
|
+
return (e = n.value) == null ? void 0 : e.reset();
|
67
|
+
});
|
68
|
+
let f;
|
69
|
+
A(m, async () => {
|
70
|
+
f && clearTimeout(f), f = setTimeout(
|
71
|
+
() => {
|
72
|
+
var e;
|
73
|
+
return (e = n.value) == null ? void 0 : e.reset();
|
74
|
+
},
|
75
|
+
700
|
76
|
+
);
|
77
|
+
});
|
78
|
+
const S = [
|
79
|
+
{
|
80
|
+
label: "Success",
|
81
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.success
|
82
|
+
},
|
83
|
+
{
|
84
|
+
label: "Refunded",
|
85
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded
|
86
|
+
},
|
87
|
+
{
|
88
|
+
label: "Process",
|
89
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.process
|
90
|
+
},
|
91
|
+
{
|
92
|
+
label: "Failed",
|
93
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.failed
|
94
|
+
}
|
95
|
+
], C = function(e) {
|
96
|
+
const t = e;
|
97
|
+
let u = "-";
|
98
|
+
return t.details.amount && (u = $(t.details.amount).toFormat("$0.00")), {
|
99
|
+
id: e._id,
|
100
|
+
refId: e.refId,
|
101
|
+
owner: e.owner,
|
102
|
+
terminalId: e.terminalId,
|
103
|
+
transactionAt: g(e.transactionAt).format("YYYY-MM-DD hh:mm:ss"),
|
104
|
+
action: e.action,
|
105
|
+
gateway: e.gateway,
|
106
|
+
amount: u
|
107
|
+
};
|
108
|
+
}, O = [
|
109
|
+
{
|
110
|
+
accessorKey: "id",
|
111
|
+
header: () => "Transaction ID",
|
112
|
+
meta: {
|
113
|
+
textAlign: "left"
|
114
|
+
}
|
115
|
+
},
|
116
|
+
{
|
117
|
+
accessorKey: "refId",
|
118
|
+
header: () => "Reference ID",
|
119
|
+
meta: {
|
120
|
+
textAlign: "left"
|
121
|
+
}
|
122
|
+
},
|
123
|
+
{
|
124
|
+
accessorKey: "gateway",
|
125
|
+
header: () => "Gateway",
|
126
|
+
meta: {
|
127
|
+
textAlign: "center",
|
128
|
+
maxWidth: "128px"
|
129
|
+
},
|
130
|
+
cell: ({ cell: e, row: t }) => x(G, { row: t, data: e.getValue() })
|
131
|
+
},
|
132
|
+
{
|
133
|
+
accessorKey: "action",
|
134
|
+
header: () => "Status",
|
135
|
+
meta: {
|
136
|
+
textAlign: "left",
|
137
|
+
maxWidth: "128px"
|
138
|
+
},
|
139
|
+
cell: ({ cell: e, row: t }) => x(W, { row: t, data: e.getValue() })
|
140
|
+
},
|
141
|
+
{
|
142
|
+
accessorKey: "amount",
|
143
|
+
header: () => "Sales Amount",
|
144
|
+
meta: {
|
145
|
+
textAlign: "center"
|
146
|
+
}
|
147
|
+
},
|
148
|
+
{
|
149
|
+
accessorKey: "owner",
|
150
|
+
header: () => "Reference",
|
151
|
+
meta: {
|
152
|
+
textAlign: "left"
|
153
|
+
}
|
154
|
+
},
|
155
|
+
{
|
156
|
+
accessorKey: "terminalId",
|
157
|
+
header: () => "Terminal ID",
|
158
|
+
meta: {
|
159
|
+
textAlign: "left"
|
160
|
+
}
|
161
|
+
},
|
162
|
+
{
|
163
|
+
accessorKey: "transactionAt",
|
164
|
+
header: () => "Transaction At",
|
165
|
+
meta: {
|
166
|
+
textAlign: "left"
|
167
|
+
}
|
168
|
+
}
|
169
|
+
];
|
170
|
+
return (e, t) => {
|
171
|
+
const u = d("FmSearch"), N = d("FmSelect"), v = d("FmDateRangePicker");
|
172
|
+
return h(), y(M, {
|
173
|
+
title: "Terminal Transactions",
|
174
|
+
loading: !1
|
175
|
+
}, {
|
176
|
+
default: R(() => [
|
177
|
+
_("div", j, [
|
178
|
+
_("div", q, [
|
179
|
+
i(B),
|
180
|
+
i(u, {
|
181
|
+
"model-value": r(m),
|
182
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => T(m) ? m.value = a : null),
|
183
|
+
class: "mr-8",
|
184
|
+
label: "Search",
|
185
|
+
placeholder: "Search Transactions ..."
|
186
|
+
}, null, 8, ["model-value"]),
|
187
|
+
i(N, {
|
188
|
+
modelValue: r(c),
|
189
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => T(c) ? c.value = a : null),
|
190
|
+
class: "mr-6 w-[300px]",
|
191
|
+
label: "Status",
|
192
|
+
"label-mark": "required",
|
193
|
+
multiselect: "",
|
194
|
+
items: S
|
195
|
+
}, null, 8, ["modelValue"]),
|
196
|
+
i(v, {
|
197
|
+
modelValue: r(o),
|
198
|
+
"onUpdate:modelValue": t[2] || (t[2] = (a) => T(o) ? o.value = a : null),
|
199
|
+
compare: "",
|
200
|
+
"show-predefined-range": ""
|
201
|
+
}, null, 8, ["modelValue"])
|
202
|
+
]),
|
203
|
+
_("div", z, [
|
204
|
+
i(U, {
|
205
|
+
button: {
|
206
|
+
appendIcon: "file_download",
|
207
|
+
variant: "primary",
|
208
|
+
label: "Export"
|
209
|
+
},
|
210
|
+
handler: () => {
|
211
|
+
var a;
|
212
|
+
return r(w).downloadTransactions(((a = n.value) == null ? void 0 : a.data()) ?? []);
|
213
|
+
}
|
214
|
+
}, null, 8, ["handler"])
|
215
|
+
])
|
216
|
+
]),
|
217
|
+
i(V, {
|
218
|
+
ref_key: "controller",
|
219
|
+
ref: n,
|
220
|
+
"column-defs": O,
|
221
|
+
"rows-defs": C,
|
222
|
+
paginate: (a, E) => r(w).readRestaurantTransactions({
|
223
|
+
status: r(c),
|
224
|
+
searchKey: r(m),
|
225
|
+
limit: a,
|
226
|
+
cursor: E,
|
227
|
+
start: r(o).startDate,
|
228
|
+
end: r(o).endDate
|
229
|
+
}),
|
230
|
+
onRowClick: () => {
|
231
|
+
}
|
232
|
+
}, null, 8, ["paginate"])
|
233
|
+
]),
|
234
|
+
_: 1
|
235
|
+
});
|
236
|
+
};
|
237
|
+
}
|
238
|
+
});
|
239
|
+
export {
|
240
|
+
me as default
|
241
|
+
};
|
@@ -0,0 +1,235 @@
|
|
1
|
+
import { defineComponent as T, openBlock as g, createElementBlock as v, unref as r, resolveComponent as u, createBlock as w, normalizeClass as F, withCtx as y, createElementVNode as _, toDisplayString as b, ref as D, watch as h, createVNode as i, isRef as f, h as N } from "vue";
|
2
|
+
import { c as s } from "./index-De4-LJjg.js";
|
3
|
+
import { h as A } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as k } from "./index-DA_XRfnd.js";
|
5
|
+
import { _ as K } from "./index.vue_vue_type_script_setup_true_lang-J6BwjC-p.js";
|
6
|
+
import { _ as V } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
|
7
|
+
import "@feedmepos/ui-library";
|
8
|
+
import { g as M } from "./assets-Cj6QBVPU.js";
|
9
|
+
import { t as x } from "./index-CvMai9eW.js";
|
10
|
+
import { d as L } from "./dinero-CIVmXLL-.js";
|
11
|
+
import { _ as $ } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
12
|
+
const B = ["src"], P = /* @__PURE__ */ T({
|
13
|
+
__name: "Gateway",
|
14
|
+
props: {
|
15
|
+
row: {},
|
16
|
+
data: {}
|
17
|
+
},
|
18
|
+
setup(p) {
|
19
|
+
return (a, o) => (g(), v("img", {
|
20
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
21
|
+
src: r(M)(a.row.original.gateway)
|
22
|
+
}, null, 8, B));
|
23
|
+
}
|
24
|
+
}), U = /* @__PURE__ */ T({
|
25
|
+
__name: "Status",
|
26
|
+
props: {
|
27
|
+
row: {},
|
28
|
+
data: {}
|
29
|
+
},
|
30
|
+
setup(p) {
|
31
|
+
const a = p;
|
32
|
+
function o() {
|
33
|
+
return a.data === s.F_TERMINAL_TRANSACTION_ACTION.Enum.process ? "!w-[16px] !h-[16px] bg-yellow-400" : a.data === s.F_TERMINAL_TRANSACTION_ACTION.Enum.failed ? "!w-[16px] !h-[16px] bg-red-400" : a.data === s.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
34
|
+
}
|
35
|
+
return (l, c) => {
|
36
|
+
const m = u("FmBadge");
|
37
|
+
return g(), w(m, {
|
38
|
+
inline: "",
|
39
|
+
class: F(o())
|
40
|
+
}, {
|
41
|
+
default: y(() => [
|
42
|
+
_("div", null, b(l.data.toUpperCase()), 1)
|
43
|
+
]),
|
44
|
+
_: 1
|
45
|
+
}, 8, ["class"]);
|
46
|
+
};
|
47
|
+
}
|
48
|
+
}), Y = { class: "flex justify-between mb-6 items-start" }, G = { class: "flex space-x-4 items-start" }, W = { class: "flex space-x-4" }, ne = /* @__PURE__ */ T({
|
49
|
+
__name: "TerminalTransaction",
|
50
|
+
setup(p) {
|
51
|
+
const a = D(), { dateRange: o, status: l, searchKey: c } = k({
|
52
|
+
searchKey: "",
|
53
|
+
status: [s.F_TERMINAL_TRANSACTION_ACTION.Enum.success],
|
54
|
+
dateRange: {
|
55
|
+
startDate: A().startOf("day").toISOString(),
|
56
|
+
endDate: A().endOf("day").toISOString()
|
57
|
+
}
|
58
|
+
});
|
59
|
+
h([o, l], () => {
|
60
|
+
var e;
|
61
|
+
return (e = a.value) == null ? void 0 : e.reset();
|
62
|
+
});
|
63
|
+
let m;
|
64
|
+
h(c, async () => {
|
65
|
+
m && clearTimeout(m), m = setTimeout(
|
66
|
+
() => {
|
67
|
+
var e;
|
68
|
+
return (e = a.value) == null ? void 0 : e.reset();
|
69
|
+
},
|
70
|
+
700
|
71
|
+
);
|
72
|
+
});
|
73
|
+
const R = [
|
74
|
+
{
|
75
|
+
label: "Success",
|
76
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.success
|
77
|
+
},
|
78
|
+
{
|
79
|
+
label: "Refunded",
|
80
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded
|
81
|
+
},
|
82
|
+
{
|
83
|
+
label: "Process",
|
84
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.process
|
85
|
+
},
|
86
|
+
{
|
87
|
+
label: "Failed",
|
88
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.failed
|
89
|
+
}
|
90
|
+
], S = function(e) {
|
91
|
+
const t = e;
|
92
|
+
let d = "-";
|
93
|
+
return t.details.amount && (d = L(t.details.amount).toFormat("$0.00")), {
|
94
|
+
id: e._id,
|
95
|
+
refId: e.refId,
|
96
|
+
owner: e.owner,
|
97
|
+
terminalId: e.terminalId,
|
98
|
+
transactionAt: A(e.transactionAt).format("YYYY-MM-DD hh:mm:ss"),
|
99
|
+
action: e.action,
|
100
|
+
gateway: e.gateway,
|
101
|
+
amount: d
|
102
|
+
};
|
103
|
+
}, C = [
|
104
|
+
{
|
105
|
+
accessorKey: "id",
|
106
|
+
header: () => "Transaction ID",
|
107
|
+
meta: {
|
108
|
+
textAlign: "left"
|
109
|
+
}
|
110
|
+
},
|
111
|
+
{
|
112
|
+
accessorKey: "refId",
|
113
|
+
header: () => "Reference ID",
|
114
|
+
meta: {
|
115
|
+
textAlign: "left"
|
116
|
+
}
|
117
|
+
},
|
118
|
+
{
|
119
|
+
accessorKey: "gateway",
|
120
|
+
header: () => "Gateway",
|
121
|
+
meta: {
|
122
|
+
textAlign: "center",
|
123
|
+
maxWidth: "128px"
|
124
|
+
},
|
125
|
+
cell: ({ cell: e, row: t }) => N(P, { row: t, data: e.getValue() })
|
126
|
+
},
|
127
|
+
{
|
128
|
+
accessorKey: "action",
|
129
|
+
header: () => "Status",
|
130
|
+
meta: {
|
131
|
+
textAlign: "left",
|
132
|
+
maxWidth: "128px"
|
133
|
+
},
|
134
|
+
cell: ({ cell: e, row: t }) => N(U, { row: t, data: e.getValue() })
|
135
|
+
},
|
136
|
+
{
|
137
|
+
accessorKey: "amount",
|
138
|
+
header: () => "Sales Amount",
|
139
|
+
meta: {
|
140
|
+
textAlign: "center"
|
141
|
+
}
|
142
|
+
},
|
143
|
+
{
|
144
|
+
accessorKey: "owner",
|
145
|
+
header: () => "Reference",
|
146
|
+
meta: {
|
147
|
+
textAlign: "left"
|
148
|
+
}
|
149
|
+
},
|
150
|
+
{
|
151
|
+
accessorKey: "terminalId",
|
152
|
+
header: () => "Terminal ID",
|
153
|
+
meta: {
|
154
|
+
textAlign: "left"
|
155
|
+
}
|
156
|
+
},
|
157
|
+
{
|
158
|
+
accessorKey: "transactionAt",
|
159
|
+
header: () => "Transaction At",
|
160
|
+
meta: {
|
161
|
+
textAlign: "left"
|
162
|
+
}
|
163
|
+
}
|
164
|
+
];
|
165
|
+
return (e, t) => {
|
166
|
+
const d = u("FmSearch"), I = u("FmSelect"), O = u("FmDateRangePicker");
|
167
|
+
return g(), w(V, {
|
168
|
+
title: "Terminal Transactions",
|
169
|
+
loading: !1
|
170
|
+
}, {
|
171
|
+
default: y(() => [
|
172
|
+
_("div", Y, [
|
173
|
+
_("div", G, [
|
174
|
+
i(d, {
|
175
|
+
"model-value": r(c),
|
176
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => f(c) ? c.value = n : null),
|
177
|
+
class: "mr-8",
|
178
|
+
label: "Search",
|
179
|
+
placeholder: "Search Transactions ..."
|
180
|
+
}, null, 8, ["model-value"]),
|
181
|
+
i(I, {
|
182
|
+
modelValue: r(l),
|
183
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => f(l) ? l.value = n : null),
|
184
|
+
class: "mr-6 w-[300px]",
|
185
|
+
label: "Status",
|
186
|
+
"label-mark": "required",
|
187
|
+
multiselect: "",
|
188
|
+
items: R
|
189
|
+
}, null, 8, ["modelValue"]),
|
190
|
+
i(O, {
|
191
|
+
modelValue: r(o),
|
192
|
+
"onUpdate:modelValue": t[2] || (t[2] = (n) => f(o) ? o.value = n : null),
|
193
|
+
compare: "",
|
194
|
+
"show-predefined-range": ""
|
195
|
+
}, null, 8, ["modelValue"])
|
196
|
+
]),
|
197
|
+
_("div", W, [
|
198
|
+
i($, {
|
199
|
+
button: {
|
200
|
+
appendIcon: "file_download",
|
201
|
+
variant: "primary",
|
202
|
+
label: "Export"
|
203
|
+
},
|
204
|
+
handler: () => {
|
205
|
+
var n;
|
206
|
+
return r(x).downloadTransactions(((n = a.value) == null ? void 0 : n.data()) ?? []);
|
207
|
+
}
|
208
|
+
}, null, 8, ["handler"])
|
209
|
+
])
|
210
|
+
]),
|
211
|
+
i(K, {
|
212
|
+
ref_key: "controller",
|
213
|
+
ref: a,
|
214
|
+
"column-defs": C,
|
215
|
+
"rows-defs": S,
|
216
|
+
paginate: (n, E) => r(x).readTransactions({
|
217
|
+
status: r(l),
|
218
|
+
searchKey: r(c),
|
219
|
+
limit: n,
|
220
|
+
cursor: E,
|
221
|
+
start: r(o).startDate,
|
222
|
+
end: r(o).endDate
|
223
|
+
}),
|
224
|
+
onRowClick: () => {
|
225
|
+
}
|
226
|
+
}, null, 8, ["paginate"])
|
227
|
+
]),
|
228
|
+
_: 1
|
229
|
+
});
|
230
|
+
};
|
231
|
+
}
|
232
|
+
});
|
233
|
+
export {
|
234
|
+
ne as default
|
235
|
+
};
|