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