@feedmepos/mf-payment 0.0.0-beta.2 → 0.0.0-beta.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js → AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js} +1 -1
- package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
- package/dist/{Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js → Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js} +9 -9
- package/dist/Modal-DB8M9o1T.js +13 -0
- package/dist/{PayoutAccount-BVljEwn3.js → PDFViewer-CjH_C1uT.js} +10851 -14329
- package/dist/PayoutAccount-BGSq2B6o.js +612 -0
- package/dist/PayoutAccount-C3OOz1oi.js +272 -0
- package/dist/PayoutAccountSetting-WxLdT6mv.js +702 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-CKxNAHAH.js +148 -0
- package/dist/Settlement-DQcrZNvo.js +142 -0
- package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-CUG4ePP_.js} +99 -105
- package/dist/SettlementTransactions-V5fjLv7H.js +334 -0
- package/dist/Terminal-C_G_AuJZ.js +318 -0
- package/dist/TerminalSetting-BuAaL5qK.js +176 -0
- package/dist/TerminalTransaction-D4c0ivQg.js +241 -0
- package/dist/TerminalTransaction-DbjVvH2P.js +235 -0
- package/dist/Transaction-MrC2wj9k.js +242 -0
- package/dist/Transaction-h2YrauW3.js +243 -0
- package/dist/api/index.d.ts +11 -0
- package/dist/api/pagination.d.ts +20 -0
- package/dist/api/payment-gateway/index.d.ts +9 -0
- package/dist/api/payout/index.d.ts +2 -1
- package/dist/api/settlement/index.d.ts +7 -13
- package/dist/api/terminal/index.d.ts +8 -1
- package/dist/api/terminal-transaction/index.d.ts +9 -0
- package/dist/api/transaction/index.d.ts +6 -2
- package/dist/app.d.ts +3 -0
- package/dist/app.js +105 -82
- package/dist/assets/icons/index.d.ts +1 -3
- package/dist/assets-Cj6QBVPU.js +42 -0
- package/dist/components/AsyncButton.vue.d.ts +21 -0
- package/dist/components/CursorTable/index.vue.d.ts +16 -5
- package/dist/components/PDFViewer.vue.d.ts +0 -2
- package/dist/components/RestaurantSelector.vue.d.ts +2 -0
- package/dist/error-K1CakhA9.js +6 -0
- package/dist/{index-CjCiGW2Y.js → index-C58XD8h3.js} +13 -23
- package/dist/index-CvMai9eW.js +26 -0
- package/dist/{index-B8_4waUa.js → index-DA_XRfnd.js} +1 -1
- package/dist/index-DN6pSWL_.js +40 -0
- package/dist/index-DYnNx4du.js +37 -0
- package/dist/index-De4-LJjg.js +55562 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-J6BwjC-p.js +155 -0
- package/dist/package.json +7 -7
- package/dist/{index-D-lMrCvM.js → payout-account-BBG-e-NS.js} +773 -804
- package/dist/plugins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{transaction-fdJNol6A.js → transaction-BmxtNt6_.js} +29 -13
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/validator-D5jtpt9A.js +2877 -0
- package/dist/views/admin/payout-account/PayoutAccountSetting.vue.d.ts +11 -1
- package/dist/views/admin/payout-account/cell/RateInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/cell/TPlusInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +90 -0
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +61 -0
- package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +58 -9
- package/dist/views/admin/terminal/tabs/Fiuu.vue.d.ts +72 -0
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +63 -0
- package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
- package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
- package/package.json +19 -19
- package/dist/PayoutAccount-J3GJxUjj.js +0 -266
- package/dist/Settlement-C4IEccV6.js +0 -136
- package/dist/Settlement-D4gdbOE0.js +0 -132
- package/dist/SettlementTransactions-DYelInkD.js +0 -351
- package/dist/Terminal-Co7KPrrb.js +0 -204
- package/dist/TerminalTransaction-CtVBUTMg.js +0 -240
- package/dist/Transaction-CvDEP2Uq.js +0 -242
- package/dist/Transaction-Rk0g5_Gn.js +0 -241
- package/dist/assets-CZ2m5tCN.js +0 -43
- package/dist/favicon.ico +0 -0
- package/dist/icons/anydesk.svg +0 -1
- package/dist/icons/sort.svg +0 -3
- package/dist/images/gateway/ccdc.svg +0 -44
- package/dist/images/gateway/fiuu.jpg +0 -0
- package/dist/images/gateway/fm.svg +0 -44
- package/dist/images/gateway/rm.jpg +0 -0
- package/dist/images/method/BNPL/Ablr/Ablr_SVG.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V2_ROU.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V2_SQU.svg +0 -7
- package/dist/images/method/BNPL/Atome/Atome_SVG.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V3_ROU.svg +0 -5
- package/dist/images/method/BNPL/Atome/Atome_V3_SQU.svg +0 -5
- package/dist/images/method/BNPL/IOUPay/IOUPay_SVG.svg +0 -12
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_ROU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_SQU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_ROU.svg +0 -13
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_SQU.svg +0 -13
- package/dist/images/method/BNPL/ShopBack/ShopBack_SVG.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_ROU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_SQU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_SVG.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V1_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V1_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V3_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V3_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/AEONBank/AEONBank_SVG.svg +0 -16
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/AffinBank/AffinBank_SVG.svg +0 -56
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_SQU.svg +0 -10
- package/dist/images/method/Banks/AllianceBank/AllianceBank_SVG.svg +0 -45
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_BSQU.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_LG.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_ROU.svg +0 -34
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_SQU.svg +0 -34
- package/dist/images/method/Banks/AmBank/AmBank_SVG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V1_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V4_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V4_LG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_LG.svg +0 -18
- package/dist/images/method/Banks/ArgoBank/ArgoBank_SVG.svg +0 -12
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_SVG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_BSQU.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_LG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BankIslam/BankIslam_SVG.svg +0 -13
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_LG.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_ROU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_SVG.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_BSQU.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_LG.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_BSQU.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_LG.svg +0 -27
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_ROU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_ROU.svg +0 -4
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/BankRakyat/BankRakyat_SVG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/Cimb/Cimb_SVG.svg +0 -16
- package/dist/images/method/Banks/Cimb/Cimb_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V3_BSQU.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_LG.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_ROU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V3_SQU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V4_BSQU.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V4_LG.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V5_LG.svg +0 -14
- package/dist/images/method/Banks/CitiBank/CitiBank_SVG.svg +0 -4
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/GXBank/GXBank_SVG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V1_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V3_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_SQU.svg +0 -10
- package/dist/images/method/Banks/HSBC/HSBC_SVG.svg +0 -11
- package/dist/images/method/Banks/HSBC/HSBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_ROU.svg +0 -8
- package/dist/images/method/Banks/HSBC/HSBC_V1_SQU.svg +0 -8
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_SVG.svg +0 -27
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_ROU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_SQU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_LG.svg +0 -18
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_SVG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/Maybank/MayBank_SVG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_ROU.svg +0 -15
- package/dist/images/method/Banks/Maybank/MayBank_V1_SQU.svg +0 -15
- package/dist/images/method/Banks/OCBC/OCBC_SVG.svg +0 -11
- package/dist/images/method/Banks/OCBC/OCBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_SVG.svg +0 -13
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_LG.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_SVG.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/StandardChartered/StandardChartered_SVG.svg +0 -26
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_BSQU.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_LG.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/UOB/UOB_SVG.svg +0 -15
- package/dist/images/method/Banks/UOB/UOB_V1_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V3_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V3_SQU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_SQU.svg +0 -5
- package/dist/images/method/Card/Gobiz/Gobiz_SVG.svg +0 -10
- package/dist/images/method/Card/Gobiz/Gobiz_V1_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V1_SQU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_SQU.svg +0 -11
- package/dist/images/method/Card/Master/MASTER_SVG.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V1_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_SQU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_TRSP.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V2_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V2_SQU.svg +0 -7
- package/dist/images/method/Card/Paydee/Paydee_SVG.svg +0 -8
- package/dist/images/method/Card/Paydee/Paydee_V1_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V1_SQU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_SQU.svg +0 -9
- package/dist/images/method/Card/UnionPay/UNIONPAY_SVG.svg +0 -17
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_ROU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_SQU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_TRSP.svg +0 -17
- package/dist/images/method/Card/Visa/VISA_SVG.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V1_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_TRSP.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V2_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_SVG.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/GooglePay/GooglePay_SVG.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_ROU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_SQU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_TRSP.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_SVG.svg +0 -12
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_ROU.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_SQU.svg +0 -6
- package/dist/images/method/Other/DuitNow/DuitNow_SVG.svg +0 -11
- package/dist/images/method/Other/DuitNow/DuitNow_V1_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V1_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V3_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V3_SQU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_SQU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_SVG.svg +0 -28
- package/dist/images/method/Other/FPX/FPX_V1_ROU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V1_SQU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V2_ROU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V2_SQU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V3_ROU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_V3_SQU.svg +0 -5
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_ROU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_SQU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/Maybank_SVG.svg +0 -49
- package/dist/images/method/Other/NetsPay/NetsPay_SVG.svg +0 -5
- package/dist/images/method/Other/NetsPay/NetsPay_V1_ROU.svg +0 -6
- package/dist/images/method/Other/NetsPay/NetsPay_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_SVG.svg +0 -4
- package/dist/images/method/Wallet/Alipay/Alipay_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V1_SQU.svg +0 -5
- package/dist/images/method/Wallet/Alipay/Alipay_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_SVG.svg +0 -7
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/Binfinite/Binfinite_SVG.svg +0 -14
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_SQU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_SQU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_SQU.svg +0 -15
- package/dist/images/method/Wallet/Boost/Boost_SVG.svg +0 -10
- package/dist/images/method/Wallet/Boost/Boost_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/FavePay/FavePay_SVG.svg +0 -12
- package/dist/images/method/Wallet/FavePay/FavePay_V1_ROU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V1_SQU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/FavePay/FavePay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GoPayz/GoPayz_SVG.svg +0 -12
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_ROU.svg +0 -5
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/GrabPay/GrabPay_SVG.svg +0 -15
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_SQU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_SQU.svg +0 -16
- package/dist/images/method/Wallet/Lazada/Lazada_SVG.svg +0 -44
- package/dist/images/method/Wallet/Lazada/Lazada_V1_ROU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V1_SQU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V2_ROU.svg +0 -45
- package/dist/images/method/Wallet/Lazada/Lazada_V2_SQU.svg +0 -45
- package/dist/images/method/Wallet/MAE/MAE_SVG.svg +0 -4
- package/dist/images/method/Wallet/MAE/MAE_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/MAE/MAE_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/MCash/MCash_SVG.svg +0 -7
- package/dist/images/method/Wallet/MCash/MCash_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_SQU.svg +0 -8
- package/dist/images/method/Wallet/Presto/Presto_SVG.svg +0 -10
- package/dist/images/method/Wallet/Presto/Presto_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_SQU.svg +0 -5
- package/dist/images/method/Wallet/Razer/RazerPay_SVG.svg +0 -11
- package/dist/images/method/Wallet/Razer/RazerPay_V1_ROU.svg +0 -12
- package/dist/images/method/Wallet/Razer/RazerPay_V1_SQU.svg +0 -12
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_SVG.svg +0 -9
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_ROU.svg +0 -10
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_SVG.svg +0 -9
- package/dist/images/method/Wallet/Senheng/Senheng_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Setel/Setel_SVG.svg +0 -10
- package/dist/images/method/Wallet/Setel/Setel_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Setel/Setel_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_SVG.svg +0 -13
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_ROU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_SQU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_ROU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_SQU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/TNG/TNG_SVG.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_ROU.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_SQU.svg +0 -27
- package/dist/images/method/Wallet/TaPay/TaPay_SVG.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_SQU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_SQU.svg +0 -25
- package/dist/images/method/Wallet/Truemoney/Truemoney_SVG.svg +0 -42
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_ROU.svg +0 -17
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_SQU.svg +0 -17
- package/dist/images/method/Wallet/WechatPay/WeChat_SVG.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/Zapp/Zapp_SVG.svg +0 -6
- package/dist/images/method/Wallet/Zapp/Zapp_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Zapp/Zapp_V1_SQU.svg +0 -7
- package/dist/index-DvzXwr90.js +0 -40075
- package/dist/index.vue_vue_type_script_setup_true_lang-y4tchjya.js +0 -150
- package/dist/locales/en/business.json +0 -4
- package/dist/locales/en/common.json +0 -272
- package/dist/locales/en/country.json +0 -4
- package/dist/locales/en/payment.json +0 -27
- package/dist/locales/en/transaction.json +0 -25
- package/dist/locales/en/user.json +0 -61
- package/dist/locales/zh/business.json +0 -4
- package/dist/locales/zh/common.json +0 -272
- package/dist/locales/zh/country.json +0 -6
- package/dist/locales/zh/payment.json +0 -27
- package/dist/locales/zh/transaction.json +0 -25
- package/dist/locales/zh/user.json +0 -61
@@ -0,0 +1,334 @@
|
|
1
|
+
import { defineComponent as w, resolveComponent as g, openBlock as F, createBlock as k, normalizeClass as j, withCtx as l, createElementVNode as t, toDisplayString as u, createElementBlock as L, unref as p, ref as T, onMounted as Y, watch as H, createVNode as n, createTextVNode as i, h as N } from "vue";
|
2
|
+
import { e as E, u as q } from "./index-De4-LJjg.js";
|
3
|
+
import { useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
|
4
|
+
import { d as B } from "./dinero-CIVmXLL-.js";
|
5
|
+
import { g as W, a as X } from "./assets-Cj6QBVPU.js";
|
6
|
+
import { t as P, a as Z } from "./transaction-BmxtNt6_.js";
|
7
|
+
import { _ as ee } from "./Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js";
|
8
|
+
import { useRouter as te } from "vue-router";
|
9
|
+
import { s as ae } from "./index-C58XD8h3.js";
|
10
|
+
import { u as ne } from "./error-K1CakhA9.js";
|
11
|
+
import { w as oe } from "./Modal-DB8M9o1T.js";
|
12
|
+
const re = /* @__PURE__ */ w({
|
13
|
+
__name: "Status",
|
14
|
+
props: {
|
15
|
+
row: {},
|
16
|
+
data: {}
|
17
|
+
},
|
18
|
+
setup(y) {
|
19
|
+
const o = y;
|
20
|
+
function m() {
|
21
|
+
return o.data === E.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : o.data === E.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : o.data === E.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
22
|
+
}
|
23
|
+
return (A, _) => {
|
24
|
+
const b = g("FmBadge");
|
25
|
+
return F(), k(b, {
|
26
|
+
inline: "",
|
27
|
+
class: j(m())
|
28
|
+
}, {
|
29
|
+
default: l(() => [
|
30
|
+
t("div", null, u(A.data), 1)
|
31
|
+
]),
|
32
|
+
_: 1
|
33
|
+
}, 8, ["class"]);
|
34
|
+
};
|
35
|
+
}
|
36
|
+
}), le = ["src"], se = /* @__PURE__ */ w({
|
37
|
+
__name: "Gateway",
|
38
|
+
props: {
|
39
|
+
row: {},
|
40
|
+
data: {}
|
41
|
+
},
|
42
|
+
setup(y) {
|
43
|
+
return (o, m) => (F(), L("img", {
|
44
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
45
|
+
src: p(W)(o.row.original.gateway)
|
46
|
+
}, null, 8, le));
|
47
|
+
}
|
48
|
+
}), ue = ["src"], ie = /* @__PURE__ */ w({
|
49
|
+
__name: "Method",
|
50
|
+
props: {
|
51
|
+
row: {},
|
52
|
+
data: {}
|
53
|
+
},
|
54
|
+
setup(y) {
|
55
|
+
return (o, m) => (F(), L("img", {
|
56
|
+
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
57
|
+
src: p(X)(o.row.original.method.issuer)
|
58
|
+
}, null, 8, ue));
|
59
|
+
}
|
60
|
+
}), me = /* @__PURE__ */ w({
|
61
|
+
__name: "Actions",
|
62
|
+
props: {
|
63
|
+
row: {},
|
64
|
+
data: {}
|
65
|
+
},
|
66
|
+
emits: ["delete"],
|
67
|
+
setup(y, { emit: o }) {
|
68
|
+
const m = o;
|
69
|
+
return (A, _) => {
|
70
|
+
const b = g("FmButton");
|
71
|
+
return F(), k(b, {
|
72
|
+
variant: "plain",
|
73
|
+
"prepend-icon": "delete",
|
74
|
+
onClick: _[0] || (_[0] = () => m("delete"))
|
75
|
+
});
|
76
|
+
};
|
77
|
+
}
|
78
|
+
}), de = { class: "flex mb-6" }, ce = { class: "my-6 w-[240px]" }, Ae = /* @__PURE__ */ w({
|
79
|
+
__name: "SettlementTransactions",
|
80
|
+
props: {
|
81
|
+
settlementId: {
|
82
|
+
type: String,
|
83
|
+
required: !0
|
84
|
+
}
|
85
|
+
},
|
86
|
+
setup(y) {
|
87
|
+
const o = y, { isLoading: m, startAsyncCall: A, startAsyncCallFn: _ } = q(!0), b = J(), M = Q(), O = te(), s = T(), S = T([]), I = T([]);
|
88
|
+
async function V(a = !1) {
|
89
|
+
A(async () => {
|
90
|
+
a || (s.value = await ae.readById(o.settlementId));
|
91
|
+
const e = await P.readBySettlementId(o.settlementId);
|
92
|
+
S.value = Z(e), I.value = S.value;
|
93
|
+
});
|
94
|
+
}
|
95
|
+
function R() {
|
96
|
+
V();
|
97
|
+
}
|
98
|
+
Y(R);
|
99
|
+
const K = T(""), U = [
|
100
|
+
{
|
101
|
+
header: () => "Transaction ID",
|
102
|
+
accessorKey: "id"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
header: () => "Pay ID",
|
106
|
+
accessorKey: "payId"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
header: () => "Gateway",
|
110
|
+
accessorKey: "gateway",
|
111
|
+
meta: {
|
112
|
+
textAlign: "center"
|
113
|
+
},
|
114
|
+
cell: ({ cell: a, row: e }) => e.original.method ? N(se, { row: e, data: a.getValue() }) : ""
|
115
|
+
},
|
116
|
+
{
|
117
|
+
header: () => "Method",
|
118
|
+
accessorKey: "method",
|
119
|
+
meta: {
|
120
|
+
textAlign: "center"
|
121
|
+
},
|
122
|
+
cell: ({ cell: a, row: e }) => e.original.method ? N(ie, { row: e, data: a.getValue() }) : ""
|
123
|
+
},
|
124
|
+
{
|
125
|
+
header: () => "Type",
|
126
|
+
accessorKey: "type",
|
127
|
+
meta: {
|
128
|
+
textAlign: "center"
|
129
|
+
},
|
130
|
+
cell: ({ row: a }) => {
|
131
|
+
if (!a.original.method)
|
132
|
+
return "";
|
133
|
+
const e = a.original.method.variant;
|
134
|
+
return e.includes("_ONLINE") ? "ONLINE" : e.includes("_OFFLINE") ? "OFFLINE" : e;
|
135
|
+
}
|
136
|
+
},
|
137
|
+
{
|
138
|
+
header: () => "Status",
|
139
|
+
accessorKey: "status",
|
140
|
+
cell: ({ cell: a, row: e }) => N(re, { row: e, data: a.getValue() })
|
141
|
+
},
|
142
|
+
{
|
143
|
+
header: () => "Transaction At",
|
144
|
+
accessorKey: "transactionAt",
|
145
|
+
meta: {
|
146
|
+
width: "180px"
|
147
|
+
}
|
148
|
+
},
|
149
|
+
{
|
150
|
+
header: () => "Sales Amount",
|
151
|
+
accessorKey: "amount"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
header: () => "Fee",
|
155
|
+
accessorKey: "fee"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
header: () => "Settlement Amount",
|
159
|
+
accessorKey: "payout"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
header: () => "Actions",
|
163
|
+
accessorKey: "action",
|
164
|
+
cell: ({ cell: a, row: e }) => N(me, {
|
165
|
+
row: e,
|
166
|
+
data: a.getValue(),
|
167
|
+
onDelete: () => oe(
|
168
|
+
b,
|
169
|
+
"Remove transaction",
|
170
|
+
"Are you sure to remove transaction from settlement? This action cannot be revert !",
|
171
|
+
_(async () => {
|
172
|
+
try {
|
173
|
+
await P.removeTransactionFromSettlement(e.original.id), await V();
|
174
|
+
} catch (f) {
|
175
|
+
M.open({
|
176
|
+
type: "error",
|
177
|
+
title: "Error occurs when removing transaction",
|
178
|
+
message: ne(f)
|
179
|
+
});
|
180
|
+
}
|
181
|
+
})
|
182
|
+
)
|
183
|
+
})
|
184
|
+
}
|
185
|
+
], x = T("");
|
186
|
+
let h;
|
187
|
+
return H(x, async () => {
|
188
|
+
h && clearTimeout(h), h = setTimeout(() => {
|
189
|
+
var a = new RegExp(x.value, "i");
|
190
|
+
I.value = S.value.filter((e) => {
|
191
|
+
const f = JSON.stringify(e);
|
192
|
+
return a.test(f);
|
193
|
+
});
|
194
|
+
}, 700);
|
195
|
+
}), (a, e) => {
|
196
|
+
var $;
|
197
|
+
const f = g("FmCardHeader"), v = g("FmCardSection"), C = g("FmCard"), z = g("FmSearch"), G = g("FmTable");
|
198
|
+
return F(), k(ee, {
|
199
|
+
title: `Settlement Transactions (${($ = s.value) == null ? void 0 : $._id})`,
|
200
|
+
loading: p(m),
|
201
|
+
onBack: p(O).back
|
202
|
+
}, {
|
203
|
+
default: l(() => [
|
204
|
+
t("div", de, [
|
205
|
+
n(C, {
|
206
|
+
horizontal: "",
|
207
|
+
class: "flex-1 p-6",
|
208
|
+
variant: "elevated"
|
209
|
+
}, {
|
210
|
+
default: l(() => [
|
211
|
+
n(v, { class: "flex flex-col gap-16 justify-between" }, {
|
212
|
+
default: l(() => [
|
213
|
+
n(f, {
|
214
|
+
class: "p-0",
|
215
|
+
title: "Transaction Info",
|
216
|
+
subtitle: ""
|
217
|
+
}),
|
218
|
+
n(v, { class: "p-0" }, {
|
219
|
+
default: l(() => {
|
220
|
+
var r, d, c, D;
|
221
|
+
return [
|
222
|
+
e[2] || (e[2] = t("b", null, "For", -1)),
|
223
|
+
i(": " + u((d = (r = s.value) == null ? void 0 : r.store) == null ? void 0 : d.event) + " ", 1),
|
224
|
+
e[3] || (e[3] = t("br", null, null, -1)),
|
225
|
+
e[4] || (e[4] = t("b", null, "Reference", -1)),
|
226
|
+
i(": " + u((D = (c = s.value) == null ? void 0 : c.store) == null ? void 0 : D.id), 1),
|
227
|
+
e[5] || (e[5] = t("br", null, null, -1)),
|
228
|
+
e[6] || (e[6] = t("b", null, "Transaction", -1)),
|
229
|
+
i(": " + u(S.value.length), 1)
|
230
|
+
];
|
231
|
+
}),
|
232
|
+
_: 1
|
233
|
+
})
|
234
|
+
]),
|
235
|
+
_: 1
|
236
|
+
})
|
237
|
+
]),
|
238
|
+
_: 1
|
239
|
+
}),
|
240
|
+
n(C, {
|
241
|
+
horizontal: "",
|
242
|
+
class: "flex-1 p-6 mx-6",
|
243
|
+
variant: "elevated"
|
244
|
+
}, {
|
245
|
+
default: l(() => [
|
246
|
+
n(v, { class: "flex flex-col gap-16 justify-between" }, {
|
247
|
+
default: l(() => [
|
248
|
+
n(f, {
|
249
|
+
class: "p-0",
|
250
|
+
title: "Bank Info",
|
251
|
+
subtitle: ""
|
252
|
+
}),
|
253
|
+
n(v, { class: "p-0" }, {
|
254
|
+
default: l(() => {
|
255
|
+
var r, d, c;
|
256
|
+
return [
|
257
|
+
e[7] || (e[7] = t("b", null, "Bank", -1)),
|
258
|
+
i(": " + u((r = s.value) == null ? void 0 : r.beneficiaryBank.name), 1),
|
259
|
+
e[8] || (e[8] = t("br", null, null, -1)),
|
260
|
+
e[9] || (e[9] = t("b", null, "Name", -1)),
|
261
|
+
i(": " + u((d = s.value) == null ? void 0 : d.beneficiaryBank.holderName), 1),
|
262
|
+
e[10] || (e[10] = t("br", null, null, -1)),
|
263
|
+
e[11] || (e[11] = t("b", null, "Number", -1)),
|
264
|
+
i(": " + u((c = s.value) == null ? void 0 : c.beneficiaryBank.accountNumber), 1)
|
265
|
+
];
|
266
|
+
}),
|
267
|
+
_: 1
|
268
|
+
})
|
269
|
+
]),
|
270
|
+
_: 1
|
271
|
+
})
|
272
|
+
]),
|
273
|
+
_: 1
|
274
|
+
}),
|
275
|
+
n(C, {
|
276
|
+
horizontal: "",
|
277
|
+
class: "flex-1 p-6",
|
278
|
+
variant: "elevated"
|
279
|
+
}, {
|
280
|
+
default: l(() => [
|
281
|
+
n(v, { class: "flex flex-col gap-16 justify-between" }, {
|
282
|
+
default: l(() => [
|
283
|
+
n(f, {
|
284
|
+
class: "p-0",
|
285
|
+
title: "Payout Info",
|
286
|
+
subtitle: ""
|
287
|
+
}),
|
288
|
+
n(v, { class: "p-0" }, {
|
289
|
+
default: l(() => {
|
290
|
+
var r, d, c;
|
291
|
+
return [
|
292
|
+
e[12] || (e[12] = t("b", null, "Amount", -1)),
|
293
|
+
i(": " + u(p(B)((r = s.value) == null ? void 0 : r.totalAmount).toFormat("$0.00")), 1),
|
294
|
+
e[13] || (e[13] = t("br", null, null, -1)),
|
295
|
+
e[14] || (e[14] = t("b", null, "Fee", -1)),
|
296
|
+
i(": " + u(p(B)((d = s.value) == null ? void 0 : d.totalFee).toFormat("$0.00")), 1),
|
297
|
+
e[15] || (e[15] = t("br", null, null, -1)),
|
298
|
+
e[16] || (e[16] = t("b", null, "Payout", -1)),
|
299
|
+
i(": " + u(p(B)((c = s.value) == null ? void 0 : c.totalPayout).toFormat("$0.00")), 1)
|
300
|
+
];
|
301
|
+
}),
|
302
|
+
_: 1
|
303
|
+
})
|
304
|
+
]),
|
305
|
+
_: 1
|
306
|
+
})
|
307
|
+
]),
|
308
|
+
_: 1
|
309
|
+
})
|
310
|
+
]),
|
311
|
+
t("div", ce, [
|
312
|
+
n(z, {
|
313
|
+
modelValue: x.value,
|
314
|
+
"onUpdate:modelValue": e[0] || (e[0] = (r) => x.value = r),
|
315
|
+
placeholder: "Search Transactions ..."
|
316
|
+
}, null, 8, ["modelValue"])
|
317
|
+
]),
|
318
|
+
n(G, {
|
319
|
+
modelValue: K.value,
|
320
|
+
"onUpdate:modelValue": e[1] || (e[1] = (r) => K.value = r),
|
321
|
+
"search-value": x.value,
|
322
|
+
"row-data": I.value,
|
323
|
+
"column-defs": U,
|
324
|
+
loading: p(m)
|
325
|
+
}, null, 8, ["modelValue", "search-value", "row-data", "loading"])
|
326
|
+
]),
|
327
|
+
_: 1
|
328
|
+
}, 8, ["title", "loading", "onBack"]);
|
329
|
+
};
|
330
|
+
}
|
331
|
+
});
|
332
|
+
export {
|
333
|
+
Ae as default
|
334
|
+
};
|
@@ -0,0 +1,318 @@
|
|
1
|
+
import { defineComponent as x, openBlock as m, createElementBlock as $, createTextVNode as N, createElementVNode as k, toDisplayString as U, resolveComponent as c, createBlock as f, normalizeClass as R, withCtx as I, createCommentVNode as F, createVNode as _, ref as b, computed as z, unref as i, watch as P, isRef as Y, h as V } from "vue";
|
2
|
+
import "./index-De4-LJjg.js";
|
3
|
+
import { h as M } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as j } from "./index-DA_XRfnd.js";
|
5
|
+
import { _ as L } from "./index.vue_vue_type_script_setup_true_lang-J6BwjC-p.js";
|
6
|
+
import { _ as q } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
|
7
|
+
import { useDialogChild as O, useDialog as Q, useSnackbar as G } from "@feedmepos/ui-library";
|
8
|
+
import { t as w } from "./index-DYnNx4du.js";
|
9
|
+
import { u as S } from "./error-K1CakhA9.js";
|
10
|
+
import { z as D, a as K } from "./validator-D5jtpt9A.js";
|
11
|
+
import { useCoreStore as H } from "@feedmepos/mf-common";
|
12
|
+
import { w as J } from "./Modal-DB8M9o1T.js";
|
13
|
+
import { useRouter as W } from "vue-router";
|
14
|
+
const X = { class: "t-caption" }, Z = { class: "t-h1 my-6 text-center" }, ee = /* @__PURE__ */ x({
|
15
|
+
__name: "TerminalBindCodeDialog",
|
16
|
+
props: {
|
17
|
+
code: {
|
18
|
+
type: String,
|
19
|
+
required: !0
|
20
|
+
}
|
21
|
+
},
|
22
|
+
setup(d) {
|
23
|
+
return (n, o) => (m(), $("div", X, [
|
24
|
+
o[0] || (o[0] = N(" Enter the binding code below on your device to link it with this terminal and apply the configuration. ")),
|
25
|
+
k("div", Z, U(d.code), 1)
|
26
|
+
]));
|
27
|
+
}
|
28
|
+
}), te = /* @__PURE__ */ x({
|
29
|
+
__name: "ID",
|
30
|
+
props: {
|
31
|
+
row: {},
|
32
|
+
data: {}
|
33
|
+
},
|
34
|
+
setup(d) {
|
35
|
+
const n = d;
|
36
|
+
function o() {
|
37
|
+
return n.row.original.status === "Active" ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
38
|
+
}
|
39
|
+
return (r, s) => {
|
40
|
+
const a = c("FmBadge");
|
41
|
+
return m(), f(a, {
|
42
|
+
inline: "",
|
43
|
+
class: R(o())
|
44
|
+
}, {
|
45
|
+
default: I(() => [
|
46
|
+
k("div", null, U(r.data), 1)
|
47
|
+
]),
|
48
|
+
_: 1
|
49
|
+
}, 8, ["class"]);
|
50
|
+
};
|
51
|
+
}
|
52
|
+
}), ne = { class: "flex" }, oe = /* @__PURE__ */ x({
|
53
|
+
__name: "Actions",
|
54
|
+
props: {
|
55
|
+
data: {}
|
56
|
+
},
|
57
|
+
emits: ["link", "unlink", "edit"],
|
58
|
+
setup(d, { emit: n }) {
|
59
|
+
const o = n;
|
60
|
+
return (r, s) => {
|
61
|
+
const a = c("FmButton");
|
62
|
+
return m(), $("div", ne, [
|
63
|
+
r.data.deviceId ? F("", !0) : (m(), f(a, {
|
64
|
+
key: 0,
|
65
|
+
variant: "plain",
|
66
|
+
"prepend-icon": "link",
|
67
|
+
onClick: s[0] || (s[0] = () => o("link"))
|
68
|
+
})),
|
69
|
+
r.data.deviceId ? (m(), f(a, {
|
70
|
+
key: 1,
|
71
|
+
variant: "plain",
|
72
|
+
"prepend-icon": "link_off",
|
73
|
+
onClick: s[1] || (s[1] = () => o("unlink"))
|
74
|
+
})) : F("", !0),
|
75
|
+
_(a, {
|
76
|
+
variant: "plain",
|
77
|
+
"prepend-icon": "edit",
|
78
|
+
onClick: s[2] || (s[2] = () => o("edit"))
|
79
|
+
})
|
80
|
+
]);
|
81
|
+
};
|
82
|
+
}
|
83
|
+
}), ae = /* @__PURE__ */ x({
|
84
|
+
__name: "TerminalDialog",
|
85
|
+
props: {
|
86
|
+
terminal: {
|
87
|
+
type: Object
|
88
|
+
}
|
89
|
+
},
|
90
|
+
setup(d) {
|
91
|
+
var g, C, T;
|
92
|
+
const n = d, o = H(), r = O(), s = b(), a = b((g = n.terminal) == null ? void 0 : g.name), u = b((C = n.terminal) == null ? void 0 : C.referenceId), v = b(((T = n.terminal) == null ? void 0 : T.status) === "Active"), B = z(() => o.restaurants.value.map((t) => ({
|
93
|
+
label: t.profile.name,
|
94
|
+
value: t._id
|
95
|
+
})));
|
96
|
+
return (t, e) => {
|
97
|
+
const l = c("FmSelect"), y = c("FmTextField"), p = c("FmSwitch"), A = c("FmButton"), E = c("FmForm");
|
98
|
+
return m(), f(E, {
|
99
|
+
ref: s.value,
|
100
|
+
class: "flex flex-col gap-16 mb-6",
|
101
|
+
onValidationSuccess: e[3] || (e[3] = () => {
|
102
|
+
i(r).emitData({ name: a.value, referenceId: u.value, status: v.value ? "Active" : "Inactive" }), i(r).emitAction("primary");
|
103
|
+
})
|
104
|
+
}, {
|
105
|
+
default: I(() => [
|
106
|
+
n.terminal ? F("", !0) : (m(), f(l, {
|
107
|
+
key: 0,
|
108
|
+
modelValue: u.value,
|
109
|
+
"onUpdate:modelValue": e[0] || (e[0] = (h) => u.value = h),
|
110
|
+
label: "Restaurant",
|
111
|
+
items: B.value,
|
112
|
+
rules: i(D)(i(K).string())
|
113
|
+
}, null, 8, ["modelValue", "items", "rules"])),
|
114
|
+
_(y, {
|
115
|
+
modelValue: a.value,
|
116
|
+
"onUpdate:modelValue": e[1] || (e[1] = (h) => a.value = h),
|
117
|
+
label: "Terminal Name",
|
118
|
+
rules: i(D)(i(K).string())
|
119
|
+
}, null, 8, ["modelValue", "rules"]),
|
120
|
+
n.terminal ? (m(), f(p, {
|
121
|
+
key: 1,
|
122
|
+
modelValue: v.value,
|
123
|
+
"onUpdate:modelValue": e[2] || (e[2] = (h) => v.value = h),
|
124
|
+
label: "Status"
|
125
|
+
}, null, 8, ["modelValue"])) : F("", !0),
|
126
|
+
_(A, {
|
127
|
+
type: "submit",
|
128
|
+
label: "Create"
|
129
|
+
})
|
130
|
+
]),
|
131
|
+
_: 1
|
132
|
+
}, 512);
|
133
|
+
};
|
134
|
+
}
|
135
|
+
}), re = { class: "flex justify-between mb-6 items-center" }, se = { class: "flex space-x-4" }, le = { class: "flex space-x-4" }, ke = /* @__PURE__ */ x({
|
136
|
+
__name: "Terminal",
|
137
|
+
setup(d) {
|
138
|
+
const n = b(), { searchKey: o } = j({
|
139
|
+
searchKey: ""
|
140
|
+
});
|
141
|
+
let r;
|
142
|
+
P(o, async () => {
|
143
|
+
r && clearTimeout(r), r = setTimeout(
|
144
|
+
() => {
|
145
|
+
var t;
|
146
|
+
return (t = n.value) == null ? void 0 : t.reset();
|
147
|
+
},
|
148
|
+
700
|
149
|
+
);
|
150
|
+
});
|
151
|
+
const s = W(), a = Q(), u = G();
|
152
|
+
async function v(t) {
|
153
|
+
J(
|
154
|
+
a,
|
155
|
+
"Terminal Unbind",
|
156
|
+
"Are you sure to unbind terminal from device? This action cannot be revert and device will be logged out!",
|
157
|
+
async () => {
|
158
|
+
var e;
|
159
|
+
try {
|
160
|
+
await w.unbind(t), (e = n.value) == null || e.reset(), u.open({
|
161
|
+
type: "success",
|
162
|
+
message: "Terminal unbind successfully"
|
163
|
+
});
|
164
|
+
} catch (l) {
|
165
|
+
u.open({
|
166
|
+
type: "error",
|
167
|
+
title: "Error occurs when unbind terminal",
|
168
|
+
message: S(l)
|
169
|
+
});
|
170
|
+
}
|
171
|
+
}
|
172
|
+
);
|
173
|
+
}
|
174
|
+
async function B(t) {
|
175
|
+
const e = await w.getBindCode(t);
|
176
|
+
a.open({
|
177
|
+
title: "Terminal Bind Code",
|
178
|
+
closeButton: !0,
|
179
|
+
overlay: !0,
|
180
|
+
contentComponent: ee,
|
181
|
+
contentComponentProps: { code: e }
|
182
|
+
});
|
183
|
+
}
|
184
|
+
async function g(t) {
|
185
|
+
a.open({
|
186
|
+
title: t ? "Update Terminal" : "Create New Terminal",
|
187
|
+
closeButton: !0,
|
188
|
+
overlay: !0,
|
189
|
+
contentComponent: ae,
|
190
|
+
contentComponentProps: { terminal: t }
|
191
|
+
}).onPrimary(async (e) => {
|
192
|
+
var l;
|
193
|
+
a.close();
|
194
|
+
try {
|
195
|
+
await w.create(e), (l = n.value) == null || l.reset(), u.open({
|
196
|
+
type: "success",
|
197
|
+
message: t ? "Terminal udpated successfully" : "Terminal created successfully."
|
198
|
+
});
|
199
|
+
} catch (y) {
|
200
|
+
u.open({
|
201
|
+
type: "error",
|
202
|
+
title: "Error occurs when create terminal",
|
203
|
+
message: S(y)
|
204
|
+
});
|
205
|
+
}
|
206
|
+
});
|
207
|
+
}
|
208
|
+
const C = function(t) {
|
209
|
+
return {
|
210
|
+
id: t._id,
|
211
|
+
status: t.status,
|
212
|
+
referenceId: t.referenceId,
|
213
|
+
name: t.name,
|
214
|
+
deviceId: t.deviceId,
|
215
|
+
updatedAt: M(t.updatedAt).format("YYYY-MM-DD hh:mm:ss")
|
216
|
+
};
|
217
|
+
}, T = [
|
218
|
+
{
|
219
|
+
accessorKey: "id",
|
220
|
+
header: () => "Terminal ID",
|
221
|
+
meta: {
|
222
|
+
textAlign: "right"
|
223
|
+
},
|
224
|
+
cell: ({ cell: t, row: e }) => V(te, { row: e, data: t.getValue() })
|
225
|
+
},
|
226
|
+
{
|
227
|
+
accessorKey: "name",
|
228
|
+
header: () => "Name",
|
229
|
+
meta: {
|
230
|
+
textAlign: "left"
|
231
|
+
}
|
232
|
+
},
|
233
|
+
{
|
234
|
+
accessorKey: "referenceId",
|
235
|
+
header: () => "Reference",
|
236
|
+
meta: {
|
237
|
+
textAlign: "left"
|
238
|
+
}
|
239
|
+
},
|
240
|
+
{
|
241
|
+
accessorKey: "deviceId",
|
242
|
+
header: () => "Bound Device Id",
|
243
|
+
meta: {
|
244
|
+
textAlign: "left"
|
245
|
+
}
|
246
|
+
},
|
247
|
+
{
|
248
|
+
accessorKey: "updatedAt",
|
249
|
+
header: () => "Last Updated",
|
250
|
+
meta: {
|
251
|
+
textAlign: "left"
|
252
|
+
}
|
253
|
+
},
|
254
|
+
{
|
255
|
+
accessorKey: "id",
|
256
|
+
header: () => "Actions",
|
257
|
+
meta: {
|
258
|
+
textAlign: "center"
|
259
|
+
},
|
260
|
+
cell: ({ row: t }) => {
|
261
|
+
var l;
|
262
|
+
const e = (l = n.value) == null ? void 0 : l.pageData().at(t.index);
|
263
|
+
return V(oe, {
|
264
|
+
data: e,
|
265
|
+
onLink: () => B(e._id),
|
266
|
+
onUnlink: () => v(e._id),
|
267
|
+
onEdit: () => g(e)
|
268
|
+
});
|
269
|
+
}
|
270
|
+
}
|
271
|
+
];
|
272
|
+
return (t, e) => {
|
273
|
+
const l = c("FmSearch"), y = c("FmButton");
|
274
|
+
return m(), f(q, {
|
275
|
+
title: "Terminals",
|
276
|
+
loading: !1
|
277
|
+
}, {
|
278
|
+
default: I(() => [
|
279
|
+
k("div", re, [
|
280
|
+
k("div", se, [
|
281
|
+
_(l, {
|
282
|
+
"model-value": i(o),
|
283
|
+
"onUpdate:modelValue": e[0] || (e[0] = (p) => Y(o) ? o.value = p : null),
|
284
|
+
class: "mr-8",
|
285
|
+
label: "Search",
|
286
|
+
placeholder: "Search Terminals ..."
|
287
|
+
}, null, 8, ["model-value"])
|
288
|
+
]),
|
289
|
+
k("div", le, [
|
290
|
+
_(y, {
|
291
|
+
label: "Create",
|
292
|
+
icon: "add",
|
293
|
+
onClick: e[1] || (e[1] = () => g())
|
294
|
+
})
|
295
|
+
])
|
296
|
+
]),
|
297
|
+
_(L, {
|
298
|
+
ref_key: "controller",
|
299
|
+
ref: n,
|
300
|
+
"column-defs": T,
|
301
|
+
"rows-defs": C,
|
302
|
+
paginate: (p, A) => i(w).read({ searchKey: i(o), limit: p, cursor: A }),
|
303
|
+
onRowClick: e[2] || (e[2] = (p) => i(s).push({
|
304
|
+
name: "mf-payment-admin.terminal-setting",
|
305
|
+
params: {
|
306
|
+
terminalId: p._id
|
307
|
+
}
|
308
|
+
}))
|
309
|
+
}, null, 8, ["paginate"])
|
310
|
+
]),
|
311
|
+
_: 1
|
312
|
+
});
|
313
|
+
};
|
314
|
+
}
|
315
|
+
});
|
316
|
+
export {
|
317
|
+
ke as default
|
318
|
+
};
|