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