@feedmepos/mf-payment 0.0.0-beta.3 → 0.0.0-beta.31
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js → AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js} +1 -1
- package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-DWoahPJL.js +28 -0
- package/dist/{Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js → Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js} +9 -9
- package/dist/Modal-DB8M9o1T.js +13 -0
- package/dist/{PayoutAccount-BVljEwn3.js → PDFViewer-CjH_C1uT.js} +10851 -14329
- package/dist/PayoutAccount-CiTsWONr.js +272 -0
- package/dist/PayoutAccount-SIy-StvQ.js +612 -0
- package/dist/PayoutAccountSetting-quTrnrC3.js +776 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-DOgQp010.js +150 -0
- package/dist/Settlement-PVDes6sk.js +144 -0
- package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-gvYCXBgb.js} +99 -105
- package/dist/SettlementTransactions-yQYGTzAC.js +334 -0
- package/dist/Terminal-DcwgOlid.js +339 -0
- package/dist/TerminalSetting-BLp4Y6V9.js +375 -0
- package/dist/TerminalTransaction-Cb9V1igD.js +237 -0
- package/dist/TerminalTransaction-DHmQYA02.js +243 -0
- package/dist/Transaction-Dwijtg8b.js +242 -0
- package/dist/Transaction-t6PdA3hg.js +243 -0
- package/dist/api/index.d.ts +12 -0
- package/dist/api/pagination.d.ts +20 -0
- package/dist/api/payment-gateway/index.d.ts +9 -0
- package/dist/api/payout/index.d.ts +2 -1
- package/dist/api/settlement/index.d.ts +7 -13
- package/dist/api/terminal/index.d.ts +12 -1
- package/dist/api/terminal-transaction/index.d.ts +9 -0
- package/dist/api/transaction/index.d.ts +6 -2
- package/dist/app.d.ts +3 -0
- package/dist/app.js +105 -82
- package/dist/assets/icons/index.d.ts +1 -3
- package/dist/assets-UG99C8i-.js +42 -0
- package/dist/clipboard-4jh1WteU.js +10 -0
- package/dist/components/AsyncButton.vue.d.ts +21 -0
- package/dist/components/AutoCopyCell.vue.d.ts +6 -0
- package/dist/components/CursorTable/index.vue.d.ts +16 -5
- package/dist/components/PDFViewer.vue.d.ts +0 -2
- package/dist/components/RestaurantSelector.vue.d.ts +2 -0
- package/dist/error-K1CakhA9.js +6 -0
- package/dist/index-CAsbGPp2.js +47 -0
- package/dist/index-DTz8Nmfb.js +55910 -0
- package/dist/{index-B8_4waUa.js → index-DrH47k0r.js} +1 -1
- package/dist/index-F_l7bLXb.js +40 -0
- package/dist/{index-CjCiGW2Y.js → index-TbfhqZiB.js} +13 -23
- package/dist/index-aI8zWz4m.js +34 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-clLSlUNS.js +155 -0
- package/dist/package.json +8 -8
- package/dist/{index-D-lMrCvM.js → payout-account-Cm4iYhNm.js} +771 -802
- package/dist/plugins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{transaction-fdJNol6A.js → transaction-CNNzvDLH.js} +29 -13
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/validator-D5jtpt9A.js +2877 -0
- package/dist/views/admin/payout-account/PayoutAccountSetting.vue.d.ts +11 -1
- package/dist/views/admin/payout-account/cell/RateInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/cell/TPlusInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +90 -0
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
- package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +50 -0
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +83 -0
- package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +80 -9
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +85 -0
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +94 -0
- package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
- package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
- package/package.json +20 -20
- package/dist/PayoutAccount-J3GJxUjj.js +0 -266
- package/dist/Settlement-C4IEccV6.js +0 -136
- package/dist/Settlement-D4gdbOE0.js +0 -132
- package/dist/SettlementTransactions-DYelInkD.js +0 -351
- package/dist/Terminal-Co7KPrrb.js +0 -204
- package/dist/TerminalTransaction-CtVBUTMg.js +0 -240
- package/dist/Transaction-CvDEP2Uq.js +0 -242
- package/dist/Transaction-Rk0g5_Gn.js +0 -241
- package/dist/assets-CZ2m5tCN.js +0 -43
- package/dist/favicon.ico +0 -0
- package/dist/icons/anydesk.svg +0 -1
- package/dist/icons/sort.svg +0 -3
- package/dist/images/gateway/ccdc.svg +0 -44
- package/dist/images/gateway/fiuu.jpg +0 -0
- package/dist/images/gateway/fm.svg +0 -44
- package/dist/images/gateway/rm.jpg +0 -0
- package/dist/images/method/BNPL/Ablr/Ablr_SVG.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V2_ROU.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V2_SQU.svg +0 -7
- package/dist/images/method/BNPL/Atome/Atome_SVG.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V3_ROU.svg +0 -5
- package/dist/images/method/BNPL/Atome/Atome_V3_SQU.svg +0 -5
- package/dist/images/method/BNPL/IOUPay/IOUPay_SVG.svg +0 -12
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_ROU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_SQU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_ROU.svg +0 -13
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_SQU.svg +0 -13
- package/dist/images/method/BNPL/ShopBack/ShopBack_SVG.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_ROU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_SQU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_SVG.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V1_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V1_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V3_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V3_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/AEONBank/AEONBank_SVG.svg +0 -16
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/AffinBank/AffinBank_SVG.svg +0 -56
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_SQU.svg +0 -10
- package/dist/images/method/Banks/AllianceBank/AllianceBank_SVG.svg +0 -45
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_BSQU.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_LG.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_ROU.svg +0 -34
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_SQU.svg +0 -34
- package/dist/images/method/Banks/AmBank/AmBank_SVG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V1_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V4_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V4_LG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_LG.svg +0 -18
- package/dist/images/method/Banks/ArgoBank/ArgoBank_SVG.svg +0 -12
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_SVG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_BSQU.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_LG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BankIslam/BankIslam_SVG.svg +0 -13
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_LG.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_ROU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_SVG.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_BSQU.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_LG.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_BSQU.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_LG.svg +0 -27
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_ROU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_ROU.svg +0 -4
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/BankRakyat/BankRakyat_SVG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/Cimb/Cimb_SVG.svg +0 -16
- package/dist/images/method/Banks/Cimb/Cimb_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V3_BSQU.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_LG.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_ROU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V3_SQU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V4_BSQU.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V4_LG.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V5_LG.svg +0 -14
- package/dist/images/method/Banks/CitiBank/CitiBank_SVG.svg +0 -4
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/GXBank/GXBank_SVG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V1_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V3_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_SQU.svg +0 -10
- package/dist/images/method/Banks/HSBC/HSBC_SVG.svg +0 -11
- package/dist/images/method/Banks/HSBC/HSBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_ROU.svg +0 -8
- package/dist/images/method/Banks/HSBC/HSBC_V1_SQU.svg +0 -8
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_SVG.svg +0 -27
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_ROU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_SQU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_LG.svg +0 -18
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_SVG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/Maybank/MayBank_SVG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_ROU.svg +0 -15
- package/dist/images/method/Banks/Maybank/MayBank_V1_SQU.svg +0 -15
- package/dist/images/method/Banks/OCBC/OCBC_SVG.svg +0 -11
- package/dist/images/method/Banks/OCBC/OCBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_SVG.svg +0 -13
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_LG.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_SVG.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/StandardChartered/StandardChartered_SVG.svg +0 -26
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_BSQU.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_LG.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/UOB/UOB_SVG.svg +0 -15
- package/dist/images/method/Banks/UOB/UOB_V1_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V3_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V3_SQU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_SQU.svg +0 -5
- package/dist/images/method/Card/Gobiz/Gobiz_SVG.svg +0 -10
- package/dist/images/method/Card/Gobiz/Gobiz_V1_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V1_SQU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_SQU.svg +0 -11
- package/dist/images/method/Card/Master/MASTER_SVG.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V1_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_SQU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_TRSP.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V2_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V2_SQU.svg +0 -7
- package/dist/images/method/Card/Paydee/Paydee_SVG.svg +0 -8
- package/dist/images/method/Card/Paydee/Paydee_V1_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V1_SQU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_SQU.svg +0 -9
- package/dist/images/method/Card/UnionPay/UNIONPAY_SVG.svg +0 -17
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_ROU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_SQU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_TRSP.svg +0 -17
- package/dist/images/method/Card/Visa/VISA_SVG.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V1_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_TRSP.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V2_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_SVG.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/GooglePay/GooglePay_SVG.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_ROU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_SQU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_TRSP.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_SVG.svg +0 -12
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_ROU.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_SQU.svg +0 -6
- package/dist/images/method/Other/DuitNow/DuitNow_SVG.svg +0 -11
- package/dist/images/method/Other/DuitNow/DuitNow_V1_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V1_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V3_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V3_SQU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_SQU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_SVG.svg +0 -28
- package/dist/images/method/Other/FPX/FPX_V1_ROU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V1_SQU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V2_ROU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V2_SQU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V3_ROU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_V3_SQU.svg +0 -5
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_ROU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_SQU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/Maybank_SVG.svg +0 -49
- package/dist/images/method/Other/NetsPay/NetsPay_SVG.svg +0 -5
- package/dist/images/method/Other/NetsPay/NetsPay_V1_ROU.svg +0 -6
- package/dist/images/method/Other/NetsPay/NetsPay_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_SVG.svg +0 -4
- package/dist/images/method/Wallet/Alipay/Alipay_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V1_SQU.svg +0 -5
- package/dist/images/method/Wallet/Alipay/Alipay_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_SVG.svg +0 -7
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/Binfinite/Binfinite_SVG.svg +0 -14
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_SQU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_SQU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_SQU.svg +0 -15
- package/dist/images/method/Wallet/Boost/Boost_SVG.svg +0 -10
- package/dist/images/method/Wallet/Boost/Boost_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/FavePay/FavePay_SVG.svg +0 -12
- package/dist/images/method/Wallet/FavePay/FavePay_V1_ROU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V1_SQU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/FavePay/FavePay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GoPayz/GoPayz_SVG.svg +0 -12
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_ROU.svg +0 -5
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/GrabPay/GrabPay_SVG.svg +0 -15
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_SQU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_SQU.svg +0 -16
- package/dist/images/method/Wallet/Lazada/Lazada_SVG.svg +0 -44
- package/dist/images/method/Wallet/Lazada/Lazada_V1_ROU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V1_SQU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V2_ROU.svg +0 -45
- package/dist/images/method/Wallet/Lazada/Lazada_V2_SQU.svg +0 -45
- package/dist/images/method/Wallet/MAE/MAE_SVG.svg +0 -4
- package/dist/images/method/Wallet/MAE/MAE_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/MAE/MAE_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/MCash/MCash_SVG.svg +0 -7
- package/dist/images/method/Wallet/MCash/MCash_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_SQU.svg +0 -8
- package/dist/images/method/Wallet/Presto/Presto_SVG.svg +0 -10
- package/dist/images/method/Wallet/Presto/Presto_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_SQU.svg +0 -5
- package/dist/images/method/Wallet/Razer/RazerPay_SVG.svg +0 -11
- package/dist/images/method/Wallet/Razer/RazerPay_V1_ROU.svg +0 -12
- package/dist/images/method/Wallet/Razer/RazerPay_V1_SQU.svg +0 -12
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_SVG.svg +0 -9
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_ROU.svg +0 -10
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_SVG.svg +0 -9
- package/dist/images/method/Wallet/Senheng/Senheng_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Setel/Setel_SVG.svg +0 -10
- package/dist/images/method/Wallet/Setel/Setel_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Setel/Setel_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_SVG.svg +0 -13
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_ROU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_SQU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_ROU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_SQU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/TNG/TNG_SVG.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_ROU.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_SQU.svg +0 -27
- package/dist/images/method/Wallet/TaPay/TaPay_SVG.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_SQU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_SQU.svg +0 -25
- package/dist/images/method/Wallet/Truemoney/Truemoney_SVG.svg +0 -42
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_ROU.svg +0 -17
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_SQU.svg +0 -17
- package/dist/images/method/Wallet/WechatPay/WeChat_SVG.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/Zapp/Zapp_SVG.svg +0 -6
- package/dist/images/method/Wallet/Zapp/Zapp_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Zapp/Zapp_V1_SQU.svg +0 -7
- package/dist/index-DvzXwr90.js +0 -40075
- package/dist/index.vue_vue_type_script_setup_true_lang-y4tchjya.js +0 -150
- package/dist/locales/en/business.json +0 -4
- package/dist/locales/en/common.json +0 -272
- package/dist/locales/en/country.json +0 -4
- package/dist/locales/en/payment.json +0 -27
- package/dist/locales/en/transaction.json +0 -25
- package/dist/locales/en/user.json +0 -61
- package/dist/locales/zh/business.json +0 -4
- package/dist/locales/zh/common.json +0 -272
- package/dist/locales/zh/country.json +0 -6
- package/dist/locales/zh/payment.json +0 -27
- package/dist/locales/zh/transaction.json +0 -25
- package/dist/locales/zh/user.json +0 -61
@@ -0,0 +1,375 @@
|
|
1
|
+
import { defineComponent as b, openBlock as g, createElementBlock as _, Fragment as C, createElementVNode as F, createTextVNode as q, toDisplayString as B, ref as v, onMounted as T, computed as D, resolveComponent as f, unref as w, createVNode as y, createBlock as I, withCtx as U, createCommentVNode as S, isRef as $, resolveDynamicComponent as P, normalizeProps as K, mergeProps as L } from "vue";
|
2
|
+
import { u as M } from "./index-DTz8Nmfb.js";
|
3
|
+
import { useRouter as N } from "vue-router";
|
4
|
+
import { t as V } from "./index-CAsbGPp2.js";
|
5
|
+
import { _ as O } from "./Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js";
|
6
|
+
import { u as j } from "./index-DrH47k0r.js";
|
7
|
+
import { useSnackbar as E } from "@feedmepos/ui-library";
|
8
|
+
import { u as h } from "./error-K1CakhA9.js";
|
9
|
+
const A = /* @__PURE__ */ b({
|
10
|
+
__name: "Information",
|
11
|
+
props: {
|
12
|
+
terminal: {
|
13
|
+
type: Object,
|
14
|
+
required: !0
|
15
|
+
}
|
16
|
+
},
|
17
|
+
setup(a) {
|
18
|
+
return (l, n) => (g(), _(C, null, [
|
19
|
+
n[0] || (n[0] = F("b", null, "Name", -1)),
|
20
|
+
q(": " + B(a.terminal.name), 1),
|
21
|
+
n[1] || (n[1] = F("br", null, null, -1)),
|
22
|
+
n[2] || (n[2] = F("b", null, "Status", -1)),
|
23
|
+
q(": " + B(a.terminal.status), 1),
|
24
|
+
n[3] || (n[3] = F("br", null, null, -1)),
|
25
|
+
n[4] || (n[4] = F("b", null, "Device ID", -1)),
|
26
|
+
q(": " + B(a.terminal.deviceId ?? "-"), 1),
|
27
|
+
n[5] || (n[5] = F("br", null, null, -1))
|
28
|
+
], 64));
|
29
|
+
}
|
30
|
+
}), R = {
|
31
|
+
key: 0,
|
32
|
+
class: "flex items-center justify-center min-h-[80vh]"
|
33
|
+
}, z = { class: "flex mt-6 space-x-6" }, H = /* @__PURE__ */ b({
|
34
|
+
__name: "TerminalGateway",
|
35
|
+
props: {
|
36
|
+
terminal: {
|
37
|
+
type: Object,
|
38
|
+
required: !0
|
39
|
+
},
|
40
|
+
onUpdate: {
|
41
|
+
type: Function,
|
42
|
+
required: !0
|
43
|
+
}
|
44
|
+
},
|
45
|
+
setup(a) {
|
46
|
+
const { isLoading: l, startAsyncCall: n } = M(), o = a, i = v(), c = v(), m = v(-1), e = v({
|
47
|
+
terminalId: ""
|
48
|
+
});
|
49
|
+
T(() => {
|
50
|
+
if (n(async () => {
|
51
|
+
i.value = await V.getTerminals(o.terminal.referenceId);
|
52
|
+
}), !o.terminal.ecrs)
|
53
|
+
return;
|
54
|
+
const s = o.terminal.ecrs.findIndex((r) => r && r.gateway && r.gateway === "FeedMe");
|
55
|
+
if (s === -1)
|
56
|
+
return;
|
57
|
+
m.value = s;
|
58
|
+
const u = o.terminal.ecrs.at(s);
|
59
|
+
u.gateway === "FeedMe" && u.config && (e.value = {
|
60
|
+
terminalId: u.config.terminalId
|
61
|
+
});
|
62
|
+
});
|
63
|
+
const t = D(() => (i.value ?? []).map((s) => ({
|
64
|
+
label: s.name ?? s._id,
|
65
|
+
value: s._id
|
66
|
+
})));
|
67
|
+
async function d(s) {
|
68
|
+
var u;
|
69
|
+
(u = o.terminal.ecrs) == null || u.splice(s, 1), o.onUpdate(o.terminal);
|
70
|
+
}
|
71
|
+
return (s, u) => {
|
72
|
+
const r = f("FmCircularProgress"), p = f("FmSelect"), x = f("FmButton"), k = f("FmForm");
|
73
|
+
return w(l) ? (g(), _("div", R, [
|
74
|
+
y(r, { size: "xxl" })
|
75
|
+
])) : (g(), I(k, {
|
76
|
+
key: 1,
|
77
|
+
ref: c.value,
|
78
|
+
class: "flex flex-col gap-16 w-[500px]",
|
79
|
+
onValidationSuccess: u[1] || (u[1] = () => {
|
80
|
+
m.value > -1 ? a.terminal.ecrs[m.value] = { gateway: "FeedMe", config: e.value } : (a.terminal.ecrs || (a.terminal.ecrs = []), a.terminal.ecrs.push({ gateway: "FeedMe", config: e.value })), o.onUpdate(a.terminal);
|
81
|
+
})
|
82
|
+
}, {
|
83
|
+
default: U(() => [
|
84
|
+
y(p, {
|
85
|
+
modelValue: e.value.terminalId,
|
86
|
+
"onUpdate:modelValue": u[0] || (u[0] = (G) => e.value.terminalId = G),
|
87
|
+
label: "Terminal ID",
|
88
|
+
items: t.value
|
89
|
+
}, null, 8, ["modelValue", "items"]),
|
90
|
+
F("div", z, [
|
91
|
+
m.value > -1 ? (g(), I(x, {
|
92
|
+
key: 0,
|
93
|
+
class: "flex-1",
|
94
|
+
variant: "secondary",
|
95
|
+
label: "Delete",
|
96
|
+
onclick: () => d(m.value)
|
97
|
+
}, null, 8, ["onclick"])) : S("", !0),
|
98
|
+
y(x, {
|
99
|
+
type: "submit",
|
100
|
+
class: "flex-1",
|
101
|
+
variant: "primary",
|
102
|
+
label: "Save"
|
103
|
+
})
|
104
|
+
])
|
105
|
+
]),
|
106
|
+
_: 1
|
107
|
+
}, 512));
|
108
|
+
};
|
109
|
+
}
|
110
|
+
}), Q = { class: "flex mt-6 space-x-6" }, J = /* @__PURE__ */ b({
|
111
|
+
__name: "FiuuGateway",
|
112
|
+
props: {
|
113
|
+
terminal: {
|
114
|
+
type: Object,
|
115
|
+
required: !0
|
116
|
+
},
|
117
|
+
onUpdate: {
|
118
|
+
type: Function,
|
119
|
+
required: !0
|
120
|
+
}
|
121
|
+
},
|
122
|
+
setup(a) {
|
123
|
+
const l = a, n = [
|
124
|
+
{
|
125
|
+
label: "Fiuu Malaysia",
|
126
|
+
value: "cc.feedme.payment.rms"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
label: "Fiuu Malaysia V2",
|
130
|
+
value: "cc.feedme.payment.fiuu_my"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
label: "Fiuu Singapore",
|
134
|
+
value: "cc.feedme.payment.fiuu_sg"
|
135
|
+
}
|
136
|
+
], o = v(), i = v(-1), c = v({
|
137
|
+
packageId: "",
|
138
|
+
uniqueId: ""
|
139
|
+
});
|
140
|
+
T(() => {
|
141
|
+
if (!l.terminal.gateways)
|
142
|
+
return;
|
143
|
+
const e = l.terminal.gateways.findIndex((d) => d && d.gateway && d.gateway === "Fiuu");
|
144
|
+
if (e === -1)
|
145
|
+
return;
|
146
|
+
i.value = e;
|
147
|
+
const t = l.terminal.gateways.at(e);
|
148
|
+
t.gateway === "Fiuu" && t.config && (c.value = {
|
149
|
+
packageId: t.config.packageId,
|
150
|
+
uniqueId: t.config.uniqueId
|
151
|
+
});
|
152
|
+
});
|
153
|
+
async function m(e) {
|
154
|
+
var t;
|
155
|
+
(t = l.terminal.gateways) == null || t.splice(e, 1), l.onUpdate(l.terminal);
|
156
|
+
}
|
157
|
+
return (e, t) => {
|
158
|
+
const d = f("FmSelect"), s = f("FmTextField"), u = f("FmButton"), r = f("FmForm");
|
159
|
+
return g(), I(r, {
|
160
|
+
ref: o.value,
|
161
|
+
class: "flex flex-col gap-16 w-[500px]",
|
162
|
+
onValidationSuccess: t[2] || (t[2] = () => {
|
163
|
+
i.value > -1 ? a.terminal.gateways[i.value] = { gateway: "Fiuu", config: c.value } : (a.terminal.gateways || (a.terminal.gateways = []), a.terminal.gateways.push({ gateway: "Fiuu", config: c.value })), l.onUpdate(a.terminal);
|
164
|
+
})
|
165
|
+
}, {
|
166
|
+
default: U(() => [
|
167
|
+
y(d, {
|
168
|
+
modelValue: c.value.packageId,
|
169
|
+
"onUpdate:modelValue": t[0] || (t[0] = (p) => c.value.packageId = p),
|
170
|
+
label: "Package ID",
|
171
|
+
items: n
|
172
|
+
}, null, 8, ["modelValue"]),
|
173
|
+
y(s, {
|
174
|
+
modelValue: c.value.uniqueId,
|
175
|
+
"onUpdate:modelValue": t[1] || (t[1] = (p) => c.value.uniqueId = p),
|
176
|
+
label: "Unique ID"
|
177
|
+
}, null, 8, ["modelValue"]),
|
178
|
+
F("div", Q, [
|
179
|
+
i.value > -1 ? (g(), I(u, {
|
180
|
+
key: 0,
|
181
|
+
class: "flex-1",
|
182
|
+
variant: "secondary",
|
183
|
+
label: "Delete",
|
184
|
+
onclick: () => m(i.value)
|
185
|
+
}, null, 8, ["onclick"])) : S("", !0),
|
186
|
+
y(u, {
|
187
|
+
type: "submit",
|
188
|
+
class: "flex-1",
|
189
|
+
variant: "primary",
|
190
|
+
label: "Save"
|
191
|
+
})
|
192
|
+
])
|
193
|
+
]),
|
194
|
+
_: 1
|
195
|
+
}, 512);
|
196
|
+
};
|
197
|
+
}
|
198
|
+
}), W = { class: "flex mt-6 space-x-6" }, X = /* @__PURE__ */ b({
|
199
|
+
__name: "GhlGateway",
|
200
|
+
props: {
|
201
|
+
terminal: {
|
202
|
+
type: Object,
|
203
|
+
required: !0
|
204
|
+
},
|
205
|
+
onUpdate: {
|
206
|
+
type: Function,
|
207
|
+
required: !0
|
208
|
+
}
|
209
|
+
},
|
210
|
+
setup(a) {
|
211
|
+
const l = a, n = v(), o = v(-1), i = v({
|
212
|
+
merchantId: "",
|
213
|
+
terminalId: "",
|
214
|
+
privateKey: ""
|
215
|
+
});
|
216
|
+
T(() => {
|
217
|
+
if (!l.terminal.ecrs)
|
218
|
+
return;
|
219
|
+
const m = l.terminal.ecrs.findIndex((t) => t && t.gateway && t.gateway === "Ghl");
|
220
|
+
if (m === -1)
|
221
|
+
return;
|
222
|
+
o.value = m;
|
223
|
+
const e = l.terminal.ecrs.at(m);
|
224
|
+
e.gateway === "Ghl" && e.config && (i.value = {
|
225
|
+
merchantId: e.config.merchantId,
|
226
|
+
terminalId: e.config.terminalId,
|
227
|
+
privateKey: e.config.privateKey
|
228
|
+
});
|
229
|
+
});
|
230
|
+
async function c(m) {
|
231
|
+
var e;
|
232
|
+
(e = l.terminal.ecrs) == null || e.splice(m, 1), l.onUpdate(l.terminal);
|
233
|
+
}
|
234
|
+
return (m, e) => {
|
235
|
+
const t = f("FmTextField"), d = f("FmTextarea"), s = f("FmButton"), u = f("FmForm");
|
236
|
+
return g(), I(u, {
|
237
|
+
ref: n.value,
|
238
|
+
class: "flex flex-col gap-16 w-[500px]",
|
239
|
+
onValidationSuccess: e[3] || (e[3] = () => {
|
240
|
+
o.value > -1 ? a.terminal.ecrs[o.value] = { gateway: "Ghl", config: i.value } : (a.terminal.ecrs || (a.terminal.ecrs = []), a.terminal.ecrs.push({ gateway: "Ghl", config: i.value })), l.onUpdate(a.terminal);
|
241
|
+
})
|
242
|
+
}, {
|
243
|
+
default: U(() => [
|
244
|
+
y(t, {
|
245
|
+
modelValue: i.value.merchantId,
|
246
|
+
"onUpdate:modelValue": e[0] || (e[0] = (r) => i.value.merchantId = r),
|
247
|
+
label: "Merchant ID"
|
248
|
+
}, null, 8, ["modelValue"]),
|
249
|
+
y(t, {
|
250
|
+
modelValue: i.value.terminalId,
|
251
|
+
"onUpdate:modelValue": e[1] || (e[1] = (r) => i.value.terminalId = r),
|
252
|
+
label: "Terminal ID"
|
253
|
+
}, null, 8, ["modelValue"]),
|
254
|
+
y(d, {
|
255
|
+
modelValue: i.value.privateKey,
|
256
|
+
"onUpdate:modelValue": e[2] || (e[2] = (r) => i.value.privateKey = r),
|
257
|
+
label: "Private Key"
|
258
|
+
}, null, 8, ["modelValue"]),
|
259
|
+
F("div", W, [
|
260
|
+
o.value > -1 ? (g(), I(s, {
|
261
|
+
key: 0,
|
262
|
+
class: "flex-1",
|
263
|
+
variant: "secondary",
|
264
|
+
label: "Delete",
|
265
|
+
onclick: () => c(o.value)
|
266
|
+
}, null, 8, ["onclick"])) : S("", !0),
|
267
|
+
y(s, {
|
268
|
+
type: "submit",
|
269
|
+
class: "flex-1",
|
270
|
+
variant: "primary",
|
271
|
+
label: "Save"
|
272
|
+
})
|
273
|
+
])
|
274
|
+
]),
|
275
|
+
_: 1
|
276
|
+
}, 512);
|
277
|
+
};
|
278
|
+
}
|
279
|
+
}), ie = /* @__PURE__ */ b({
|
280
|
+
__name: "TerminalSetting",
|
281
|
+
props: {
|
282
|
+
terminalId: {
|
283
|
+
type: String,
|
284
|
+
required: !0
|
285
|
+
}
|
286
|
+
},
|
287
|
+
setup(a) {
|
288
|
+
const l = a, { tab: n } = j({
|
289
|
+
tab: "information"
|
290
|
+
}), { isLoading: o, startAsyncCall: i } = M(!0), c = N(), m = E(), e = v();
|
291
|
+
async function t(r) {
|
292
|
+
try {
|
293
|
+
await V.updateById(
|
294
|
+
l.terminalId,
|
295
|
+
{
|
296
|
+
name: r.name,
|
297
|
+
status: r.status,
|
298
|
+
ecrs: r.ecrs ?? [],
|
299
|
+
gateways: r.gateways ?? []
|
300
|
+
}
|
301
|
+
), e.value = await V.readById(l.terminalId), m.open({
|
302
|
+
type: "success",
|
303
|
+
message: "Terminal updated successfully"
|
304
|
+
});
|
305
|
+
} catch (p) {
|
306
|
+
m.open({
|
307
|
+
type: "error",
|
308
|
+
title: "Error occurs when update terminal",
|
309
|
+
message: h(p)
|
310
|
+
});
|
311
|
+
}
|
312
|
+
}
|
313
|
+
const d = [
|
314
|
+
{
|
315
|
+
label: "Information",
|
316
|
+
value: "information",
|
317
|
+
icon: "overview",
|
318
|
+
render: A
|
319
|
+
},
|
320
|
+
{
|
321
|
+
label: "Fiuu",
|
322
|
+
value: "fiuu",
|
323
|
+
icon: "payment",
|
324
|
+
render: J
|
325
|
+
}
|
326
|
+
], s = D(() => {
|
327
|
+
var r;
|
328
|
+
return (r = d.find((p) => p.value === n.value)) == null ? void 0 : r.render;
|
329
|
+
});
|
330
|
+
async function u() {
|
331
|
+
i(async () => {
|
332
|
+
e.value = await V.readById(l.terminalId), e.value.deviceType !== "TERMINAL" && d.push(
|
333
|
+
{
|
334
|
+
label: "FeedMe Terminal",
|
335
|
+
value: "terminal",
|
336
|
+
icon: "shopping_cart_checkout",
|
337
|
+
render: H
|
338
|
+
},
|
339
|
+
{
|
340
|
+
label: "GHL Terminal (V2)",
|
341
|
+
value: "ghl",
|
342
|
+
icon: "shopping_cart_checkout",
|
343
|
+
render: X
|
344
|
+
}
|
345
|
+
);
|
346
|
+
});
|
347
|
+
}
|
348
|
+
return T(u), (r, p) => {
|
349
|
+
var k;
|
350
|
+
const x = f("FmTabs");
|
351
|
+
return g(), I(O, {
|
352
|
+
title: `Terminal (${(k = e.value) == null ? void 0 : k._id})`,
|
353
|
+
loading: w(o),
|
354
|
+
onBack: w(c).back
|
355
|
+
}, {
|
356
|
+
default: U(() => [
|
357
|
+
y(x, {
|
358
|
+
"model-value": w(n),
|
359
|
+
"onUpdate:modelValue": p[0] || (p[0] = (G) => $(n) ? n.value = G : null),
|
360
|
+
class: "mb-6",
|
361
|
+
items: d
|
362
|
+
}, null, 8, ["model-value"]),
|
363
|
+
w(n) ? (g(), I(P(s.value), K(L({ key: 0 }, {
|
364
|
+
terminal: e.value,
|
365
|
+
onUpdate: t
|
366
|
+
})), null, 16)) : S("", !0)
|
367
|
+
]),
|
368
|
+
_: 1
|
369
|
+
}, 8, ["title", "loading", "onBack"]);
|
370
|
+
};
|
371
|
+
}
|
372
|
+
});
|
373
|
+
export {
|
374
|
+
ie as default
|
375
|
+
};
|
@@ -0,0 +1,237 @@
|
|
1
|
+
import { defineComponent as g, openBlock as I, 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 N, createVNode as i, isRef as f, h as A } from "vue";
|
2
|
+
import { c as s } from "./index-DTz8Nmfb.js";
|
3
|
+
import { h as T } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as V } from "./index-DrH47k0r.js";
|
5
|
+
import { _ as k } from "./index.vue_vue_type_script_setup_true_lang-clLSlUNS.js";
|
6
|
+
import { _ as K } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
|
7
|
+
import "@feedmepos/ui-library";
|
8
|
+
import { g as M } from "./assets-UG99C8i-.js";
|
9
|
+
import { t as x } from "./index-aI8zWz4m.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
|
+
import { _ as B } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DWoahPJL.js";
|
13
|
+
const P = ["src"], U = /* @__PURE__ */ g({
|
14
|
+
__name: "Gateway",
|
15
|
+
props: {
|
16
|
+
row: {},
|
17
|
+
data: {}
|
18
|
+
},
|
19
|
+
setup(p) {
|
20
|
+
return (a, o) => (I(), v("img", {
|
21
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
22
|
+
src: r(M)(a.row.original.gateway)
|
23
|
+
}, null, 8, P));
|
24
|
+
}
|
25
|
+
}), Y = /* @__PURE__ */ g({
|
26
|
+
__name: "Status",
|
27
|
+
props: {
|
28
|
+
row: {},
|
29
|
+
data: {}
|
30
|
+
},
|
31
|
+
setup(p) {
|
32
|
+
const a = p;
|
33
|
+
function o() {
|
34
|
+
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";
|
35
|
+
}
|
36
|
+
return (l, c) => {
|
37
|
+
const m = u("FmBadge");
|
38
|
+
return I(), w(m, {
|
39
|
+
inline: "",
|
40
|
+
class: F(o())
|
41
|
+
}, {
|
42
|
+
default: y(() => [
|
43
|
+
_("div", null, b(l.data.toUpperCase()), 1)
|
44
|
+
]),
|
45
|
+
_: 1
|
46
|
+
}, 8, ["class"]);
|
47
|
+
};
|
48
|
+
}
|
49
|
+
}), G = { class: "flex justify-between mb-6 items-start" }, W = { class: "flex space-x-4 items-start" }, j = { class: "flex space-x-4" }, oe = /* @__PURE__ */ g({
|
50
|
+
__name: "TerminalTransaction",
|
51
|
+
setup(p) {
|
52
|
+
const a = D(), { dateRange: o, status: l, searchKey: c } = V({
|
53
|
+
searchKey: "",
|
54
|
+
status: [s.F_TERMINAL_TRANSACTION_ACTION.Enum.success],
|
55
|
+
dateRange: {
|
56
|
+
startDate: T().startOf("day").toISOString(),
|
57
|
+
endDate: T().endOf("day").toISOString()
|
58
|
+
}
|
59
|
+
});
|
60
|
+
N([o, l], () => {
|
61
|
+
var e;
|
62
|
+
return (e = a.value) == null ? void 0 : e.reset();
|
63
|
+
});
|
64
|
+
let m;
|
65
|
+
N(c, async () => {
|
66
|
+
m && clearTimeout(m), m = setTimeout(
|
67
|
+
() => {
|
68
|
+
var e;
|
69
|
+
return (e = a.value) == null ? void 0 : e.reset();
|
70
|
+
},
|
71
|
+
700
|
72
|
+
);
|
73
|
+
});
|
74
|
+
const R = [
|
75
|
+
{
|
76
|
+
label: "Success",
|
77
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.success
|
78
|
+
},
|
79
|
+
{
|
80
|
+
label: "Refunded",
|
81
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.refunded
|
82
|
+
},
|
83
|
+
{
|
84
|
+
label: "Process",
|
85
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.process
|
86
|
+
},
|
87
|
+
{
|
88
|
+
label: "Failed",
|
89
|
+
value: s.F_TERMINAL_TRANSACTION_ACTION.Enum.failed
|
90
|
+
}
|
91
|
+
], S = function(e) {
|
92
|
+
const t = e;
|
93
|
+
let d = "-";
|
94
|
+
return t.details.amount && (d = L(t.details.amount).toFormat("$0.00")), {
|
95
|
+
id: e._id,
|
96
|
+
refId: e.refId,
|
97
|
+
owner: e.owner,
|
98
|
+
terminalId: e.terminalId,
|
99
|
+
transactionAt: T(e.transactionAt).format("YYYY-MM-DD hh:mm:ss"),
|
100
|
+
action: e.action,
|
101
|
+
gateway: e.gateway,
|
102
|
+
amount: d
|
103
|
+
};
|
104
|
+
}, C = [
|
105
|
+
{
|
106
|
+
accessorKey: "id",
|
107
|
+
header: () => "Transaction ID",
|
108
|
+
meta: {
|
109
|
+
textAlign: "left"
|
110
|
+
},
|
111
|
+
cell: ({ cell: e }) => A(B, { data: e.getValue() })
|
112
|
+
},
|
113
|
+
{
|
114
|
+
accessorKey: "refId",
|
115
|
+
header: () => "Reference ID",
|
116
|
+
meta: {
|
117
|
+
textAlign: "left"
|
118
|
+
}
|
119
|
+
},
|
120
|
+
{
|
121
|
+
accessorKey: "gateway",
|
122
|
+
header: () => "Gateway",
|
123
|
+
meta: {
|
124
|
+
textAlign: "center",
|
125
|
+
maxWidth: "128px"
|
126
|
+
},
|
127
|
+
cell: ({ cell: e, row: t }) => A(U, { row: t, data: e.getValue() })
|
128
|
+
},
|
129
|
+
{
|
130
|
+
accessorKey: "action",
|
131
|
+
header: () => "Status",
|
132
|
+
meta: {
|
133
|
+
textAlign: "left",
|
134
|
+
maxWidth: "128px"
|
135
|
+
},
|
136
|
+
cell: ({ cell: e, row: t }) => A(Y, { row: t, data: e.getValue() })
|
137
|
+
},
|
138
|
+
{
|
139
|
+
accessorKey: "amount",
|
140
|
+
header: () => "Sales Amount",
|
141
|
+
meta: {
|
142
|
+
textAlign: "center"
|
143
|
+
}
|
144
|
+
},
|
145
|
+
{
|
146
|
+
accessorKey: "owner",
|
147
|
+
header: () => "Reference",
|
148
|
+
meta: {
|
149
|
+
textAlign: "left"
|
150
|
+
}
|
151
|
+
},
|
152
|
+
{
|
153
|
+
accessorKey: "terminalId",
|
154
|
+
header: () => "Terminal ID",
|
155
|
+
meta: {
|
156
|
+
textAlign: "left"
|
157
|
+
}
|
158
|
+
},
|
159
|
+
{
|
160
|
+
accessorKey: "transactionAt",
|
161
|
+
header: () => "Transaction At",
|
162
|
+
meta: {
|
163
|
+
textAlign: "left"
|
164
|
+
}
|
165
|
+
}
|
166
|
+
];
|
167
|
+
return (e, t) => {
|
168
|
+
const d = u("FmSearch"), h = u("FmSelect"), O = u("FmDateRangePicker");
|
169
|
+
return I(), w(K, {
|
170
|
+
title: "Terminal Transactions",
|
171
|
+
loading: !1
|
172
|
+
}, {
|
173
|
+
default: y(() => [
|
174
|
+
_("div", G, [
|
175
|
+
_("div", W, [
|
176
|
+
i(d, {
|
177
|
+
"model-value": r(c),
|
178
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => f(c) ? c.value = n : null),
|
179
|
+
class: "mr-8",
|
180
|
+
label: "Search",
|
181
|
+
placeholder: "Search Transactions ..."
|
182
|
+
}, null, 8, ["model-value"]),
|
183
|
+
i(h, {
|
184
|
+
modelValue: r(l),
|
185
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => f(l) ? l.value = n : null),
|
186
|
+
class: "mr-6 w-[300px]",
|
187
|
+
label: "Status",
|
188
|
+
"label-mark": "required",
|
189
|
+
multiselect: "",
|
190
|
+
items: R
|
191
|
+
}, null, 8, ["modelValue"]),
|
192
|
+
i(O, {
|
193
|
+
modelValue: r(o),
|
194
|
+
"onUpdate:modelValue": t[2] || (t[2] = (n) => f(o) ? o.value = n : null),
|
195
|
+
compare: "",
|
196
|
+
"show-predefined-range": ""
|
197
|
+
}, null, 8, ["modelValue"])
|
198
|
+
]),
|
199
|
+
_("div", j, [
|
200
|
+
i($, {
|
201
|
+
button: {
|
202
|
+
appendIcon: "file_download",
|
203
|
+
variant: "primary",
|
204
|
+
label: "Export"
|
205
|
+
},
|
206
|
+
handler: () => {
|
207
|
+
var n;
|
208
|
+
return r(x).downloadTransactions(((n = a.value) == null ? void 0 : n.data()) ?? []);
|
209
|
+
}
|
210
|
+
}, null, 8, ["handler"])
|
211
|
+
])
|
212
|
+
]),
|
213
|
+
i(k, {
|
214
|
+
ref_key: "controller",
|
215
|
+
ref: a,
|
216
|
+
"column-defs": C,
|
217
|
+
"rows-defs": S,
|
218
|
+
paginate: (n, E) => r(x).readTransactions({
|
219
|
+
status: r(l),
|
220
|
+
searchKey: r(c),
|
221
|
+
limit: n,
|
222
|
+
cursor: E,
|
223
|
+
start: r(o).startDate,
|
224
|
+
end: r(o).endDate
|
225
|
+
}),
|
226
|
+
onRowClick: () => {
|
227
|
+
}
|
228
|
+
}, null, 8, ["paginate"])
|
229
|
+
]),
|
230
|
+
_: 1
|
231
|
+
});
|
232
|
+
};
|
233
|
+
}
|
234
|
+
});
|
235
|
+
export {
|
236
|
+
oe as default
|
237
|
+
};
|