@feedmepos/mf-payment 0.0.0-beta.2 → 0.0.0-beta.21
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js → AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js} +1 -1
- package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
- package/dist/{Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js → Layout.vue_vue_type_script_setup_true_lang-C38PTqO5.js} +9 -9
- package/dist/Modal-DB8M9o1T.js +13 -0
- package/dist/{PayoutAccount-BVljEwn3.js → PDFViewer-CjH_C1uT.js} +10851 -14329
- package/dist/PayoutAccount-DEEuJq8a.js +272 -0
- package/dist/PayoutAccount-Fg0fD2z1.js +612 -0
- package/dist/PayoutAccountSetting-D6rCau39.js +702 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-DO3KQc7V.js +142 -0
- package/dist/Settlement-KxjeLkyq.js +148 -0
- package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-BHm0Xr73.js} +99 -105
- package/dist/SettlementTransactions-D8SewaiK.js +334 -0
- package/dist/Terminal-CG3mIv6Z.js +318 -0
- package/dist/TerminalSetting-CIFHaoHX.js +176 -0
- package/dist/TerminalTransaction-B2PFfPKP.js +234 -0
- package/dist/{TerminalTransaction-CtVBUTMg.js → TerminalTransaction-CnfWv95d.js} +65 -75
- package/dist/Transaction-CM_VKdEN.js +243 -0
- package/dist/Transaction-D7ZuZ-IB.js +242 -0
- package/dist/api/index.d.ts +11 -0
- package/dist/api/pagination.d.ts +20 -0
- package/dist/api/payment-gateway/index.d.ts +9 -0
- package/dist/api/payout/index.d.ts +2 -1
- package/dist/api/settlement/index.d.ts +7 -13
- package/dist/api/terminal/index.d.ts +8 -1
- package/dist/api/terminal-transaction/index.d.ts +9 -0
- package/dist/api/transaction/index.d.ts +6 -2
- package/dist/app.d.ts +3 -0
- package/dist/app.js +105 -82
- package/dist/assets/icons/index.d.ts +1 -3
- package/dist/assets-CLiVU4As.js +42 -0
- package/dist/components/AsyncButton.vue.d.ts +21 -0
- package/dist/components/CursorTable/index.vue.d.ts +16 -5
- package/dist/components/PDFViewer.vue.d.ts +0 -2
- package/dist/components/RestaurantSelector.vue.d.ts +2 -0
- package/dist/error-K1CakhA9.js +6 -0
- package/dist/{index-B8_4waUa.js → index-ByCQqfan.js} +1 -1
- package/dist/index-CkIbCIHJ.js +55560 -0
- package/dist/index-CpIkc_Lq.js +40 -0
- package/dist/index-DVSsAdF3.js +26 -0
- package/dist/index-DvsSYfvP.js +37 -0
- package/dist/{index-CjCiGW2Y.js → index-eVOVYNBC.js} +13 -23
- package/dist/index.vue_vue_type_script_setup_true_lang-sNgZ-dwX.js +155 -0
- package/dist/package.json +7 -7
- package/dist/{index-D-lMrCvM.js → payout-account-Bj0y4ywE.js} +771 -802
- package/dist/plugins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{transaction-fdJNol6A.js → transaction-C1MtaXOd.js} +29 -13
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/validator-D5jtpt9A.js +2877 -0
- package/dist/views/admin/payout-account/PayoutAccountSetting.vue.d.ts +11 -1
- package/dist/views/admin/payout-account/cell/RateInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/cell/TPlusInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +90 -0
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +56 -0
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +61 -0
- package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +58 -9
- package/dist/views/admin/terminal/tabs/Fiuu.vue.d.ts +72 -0
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +63 -0
- package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
- package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
- package/package.json +19 -19
- package/dist/PayoutAccount-J3GJxUjj.js +0 -266
- package/dist/Settlement-C4IEccV6.js +0 -136
- package/dist/Settlement-D4gdbOE0.js +0 -132
- package/dist/SettlementTransactions-DYelInkD.js +0 -351
- package/dist/Terminal-Co7KPrrb.js +0 -204
- package/dist/Transaction-CvDEP2Uq.js +0 -242
- package/dist/Transaction-Rk0g5_Gn.js +0 -241
- package/dist/assets-CZ2m5tCN.js +0 -43
- package/dist/favicon.ico +0 -0
- package/dist/icons/anydesk.svg +0 -1
- package/dist/icons/sort.svg +0 -3
- package/dist/images/gateway/ccdc.svg +0 -44
- package/dist/images/gateway/fiuu.jpg +0 -0
- package/dist/images/gateway/fm.svg +0 -44
- package/dist/images/gateway/rm.jpg +0 -0
- package/dist/images/method/BNPL/Ablr/Ablr_SVG.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Ablr/Ablr_V2_ROU.svg +0 -7
- package/dist/images/method/BNPL/Ablr/Ablr_V2_SQU.svg +0 -7
- package/dist/images/method/BNPL/Atome/Atome_SVG.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V1_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Atome/Atome_V3_ROU.svg +0 -5
- package/dist/images/method/BNPL/Atome/Atome_V3_SQU.svg +0 -5
- package/dist/images/method/BNPL/IOUPay/IOUPay_SVG.svg +0 -12
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_ROU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V1_SQU.svg +0 -7
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_ROU.svg +0 -13
- package/dist/images/method/BNPL/IOUPay/IOUPay_V2_SQU.svg +0 -13
- package/dist/images/method/BNPL/ShopBack/ShopBack_SVG.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_ROU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V1_SQU.svg +0 -6
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_ROU.svg +0 -4
- package/dist/images/method/BNPL/ShopBack/ShopBack_V2_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_SVG.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V1_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V1_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_ROU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V2_SQU.svg +0 -5
- package/dist/images/method/BNPL/Split/Split_V3_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V3_SQU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_ROU.svg +0 -4
- package/dist/images/method/BNPL/Split/Split_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/AEONBank/AEONBank_SVG.svg +0 -16
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_BSQU.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_LG.svg +0 -17
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/AEONBank/AEONBank_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/AffinBank/AffinBank_SVG.svg +0 -56
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_BSQU.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_LG.svg +0 -57
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_ROU.svg +0 -10
- package/dist/images/method/Banks/AffinBank/AffinBank_V2_SQU.svg +0 -10
- package/dist/images/method/Banks/AllianceBank/AllianceBank_SVG.svg +0 -45
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_BSQU.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_LG.svg +0 -46
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_ROU.svg +0 -34
- package/dist/images/method/Banks/AllianceBank/AllianceBank_V1_SQU.svg +0 -34
- package/dist/images/method/Banks/AmBank/AmBank_SVG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V1_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V1_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V2_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V2_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_BSQU.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_LG.svg +0 -13
- package/dist/images/method/Banks/AmBank/AmBank_V3_ROU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V3_SQU.svg +0 -7
- package/dist/images/method/Banks/AmBank/AmBank_V4_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V4_LG.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_BSQU.svg +0 -18
- package/dist/images/method/Banks/AmBank/AmBank_V5_LG.svg +0 -18
- package/dist/images/method/Banks/ArgoBank/ArgoBank_SVG.svg +0 -12
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_LG.svg +0 -13
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/ArgoBank/ArgoBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_SVG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_BSQU.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_LG.svg +0 -7
- package/dist/images/method/Banks/BSN/BSN_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/BSN/BSN_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/BankIslam/BankIslam_SVG.svg +0 -13
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_LG.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_ROU.svg +0 -14
- package/dist/images/method/Banks/BankIslam/BankIslam_V1_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_SVG.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_BSQU.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_LG.svg +0 -24
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V1_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_BSQU.svg +0 -26
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_LG.svg +0 -27
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_ROU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V2_SQU.svg +0 -14
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_ROU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V3_SQU.svg +0 -12
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_ROU.svg +0 -4
- package/dist/images/method/Banks/BankMuamalat/BankMuamalat_V4_SQU.svg +0 -4
- package/dist/images/method/Banks/BankRakyat/BankRakyat_SVG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V1_SQU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_LG.svg +0 -18
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_ROU.svg +0 -6
- package/dist/images/method/Banks/BankRakyat/BankRakyat_V2_SQU.svg +0 -6
- package/dist/images/method/Banks/Cimb/Cimb_SVG.svg +0 -16
- package/dist/images/method/Banks/Cimb/Cimb_V1_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_BSQU.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_LG.svg +0 -13
- package/dist/images/method/Banks/Cimb/Cimb_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/Cimb/Cimb_V3_BSQU.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_LG.svg +0 -19
- package/dist/images/method/Banks/Cimb/Cimb_V3_ROU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V3_SQU.svg +0 -11
- package/dist/images/method/Banks/Cimb/Cimb_V4_BSQU.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V4_LG.svg +0 -14
- package/dist/images/method/Banks/Cimb/Cimb_V5_LG.svg +0 -14
- package/dist/images/method/Banks/CitiBank/CitiBank_SVG.svg +0 -4
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_LG.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/CitiBank/CitiBank_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/GXBank/GXBank_SVG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V1_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_BSQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_LG.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/GXBank/GXBank_V3_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V3_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V4_SQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_BSQU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_LG.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_ROU.svg +0 -10
- package/dist/images/method/Banks/GXBank/GXBank_V5_SQU.svg +0 -10
- package/dist/images/method/Banks/HSBC/HSBC_SVG.svg +0 -11
- package/dist/images/method/Banks/HSBC/HSBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/HSBC/HSBC_V1_ROU.svg +0 -8
- package/dist/images/method/Banks/HSBC/HSBC_V1_SQU.svg +0 -8
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_SVG.svg +0 -27
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_ROU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V1_SQU.svg +0 -9
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_BSQU.svg +0 -18
- package/dist/images/method/Banks/HongLeongBank/HongLeongBank_V2_LG.svg +0 -18
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_SVG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_LG.svg +0 -5
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/KuwaitFinanceHouse/KuwaitFinanceHouse_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/Maybank/MayBank_SVG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_BSQU.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_LG.svg +0 -22
- package/dist/images/method/Banks/Maybank/MayBank_V1_ROU.svg +0 -15
- package/dist/images/method/Banks/Maybank/MayBank_V1_SQU.svg +0 -15
- package/dist/images/method/Banks/OCBC/OCBC_SVG.svg +0 -11
- package/dist/images/method/Banks/OCBC/OCBC_V1_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_BSQU.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_LG.svg +0 -12
- package/dist/images/method/Banks/OCBC/OCBC_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/OCBC/OCBC_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_SVG.svg +0 -13
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_BSQU.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_LG.svg +0 -14
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/PublicBank/PublicBank_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_SVG.svg +0 -4
- package/dist/images/method/Banks/RHB/RHB_V1_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V1_SQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_BSQU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_LG.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_ROU.svg +0 -5
- package/dist/images/method/Banks/RHB/RHB_V2_SQU.svg +0 -5
- package/dist/images/method/Banks/StandardChartered/StandardChartered_SVG.svg +0 -26
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_BSQU.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_LG.svg +0 -27
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_ROU.svg +0 -10
- package/dist/images/method/Banks/StandardChartered/StandardChartered_V1_SQU.svg +0 -10
- package/dist/images/method/Banks/UOB/UOB_SVG.svg +0 -15
- package/dist/images/method/Banks/UOB/UOB_V1_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V1_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V1_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_BSQU.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_LG.svg +0 -16
- package/dist/images/method/Banks/UOB/UOB_V2_ROU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V2_SQU.svg +0 -4
- package/dist/images/method/Banks/UOB/UOB_V3_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V3_SQU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_ROU.svg +0 -5
- package/dist/images/method/Banks/UOB/UOB_V4_SQU.svg +0 -5
- package/dist/images/method/Card/Gobiz/Gobiz_SVG.svg +0 -10
- package/dist/images/method/Card/Gobiz/Gobiz_V1_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V1_SQU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_ROU.svg +0 -11
- package/dist/images/method/Card/Gobiz/Gobiz_V2_SQU.svg +0 -11
- package/dist/images/method/Card/Master/MASTER_SVG.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V1_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_SQU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V1_TRSP.svg +0 -6
- package/dist/images/method/Card/Master/MASTER_V2_ROU.svg +0 -7
- package/dist/images/method/Card/Master/MASTER_V2_SQU.svg +0 -7
- package/dist/images/method/Card/Paydee/Paydee_SVG.svg +0 -8
- package/dist/images/method/Card/Paydee/Paydee_V1_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V1_SQU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_ROU.svg +0 -9
- package/dist/images/method/Card/Paydee/Paydee_V2_SQU.svg +0 -9
- package/dist/images/method/Card/UnionPay/UNIONPAY_SVG.svg +0 -17
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_ROU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_SQU.svg +0 -18
- package/dist/images/method/Card/UnionPay/UNIONPAY_V1_TRSP.svg +0 -17
- package/dist/images/method/Card/Visa/VISA_SVG.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V1_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V1_TRSP.svg +0 -3
- package/dist/images/method/Card/Visa/VISA_V2_ROU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_SQU.svg +0 -4
- package/dist/images/method/Card/Visa/VISA_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_SVG.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V1_TRSP.svg +0 -3
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_ROU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_SQU.svg +0 -4
- package/dist/images/method/Mobile/ApplePay/ApplePay_V2_TRSP.svg +0 -3
- package/dist/images/method/Mobile/GooglePay/GooglePay_SVG.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V1_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_ROU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_SQU.svg +0 -8
- package/dist/images/method/Mobile/GooglePay/GooglePay_V2_TRSP.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_ROU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_SQU.svg +0 -7
- package/dist/images/method/Mobile/GooglePay/GooglePay_V3_TRSP.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_SVG.svg +0 -12
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V1_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_ROU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V2_SQU.svg +0 -13
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_ROU.svg +0 -6
- package/dist/images/method/Mobile/SamsungPay/SamsungPay_V3_SQU.svg +0 -6
- package/dist/images/method/Other/DuitNow/DuitNow_SVG.svg +0 -11
- package/dist/images/method/Other/DuitNow/DuitNow_V1_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V1_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_ROU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V2_SQU.svg +0 -12
- package/dist/images/method/Other/DuitNow/DuitNow_V3_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V3_SQU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_ROU.svg +0 -5
- package/dist/images/method/Other/DuitNow/DuitNow_V4_SQU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_SVG.svg +0 -28
- package/dist/images/method/Other/FPX/FPX_V1_ROU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V1_SQU.svg +0 -29
- package/dist/images/method/Other/FPX/FPX_V2_ROU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V2_SQU.svg +0 -8
- package/dist/images/method/Other/FPX/FPX_V3_ROU.svg +0 -5
- package/dist/images/method/Other/FPX/FPX_V3_SQU.svg +0 -5
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_ROU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/MaybankQR_V1_SQU.svg +0 -35
- package/dist/images/method/Other/MaybankQR/Maybank_SVG.svg +0 -49
- package/dist/images/method/Other/NetsPay/NetsPay_SVG.svg +0 -5
- package/dist/images/method/Other/NetsPay/NetsPay_V1_ROU.svg +0 -6
- package/dist/images/method/Other/NetsPay/NetsPay_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_SVG.svg +0 -4
- package/dist/images/method/Wallet/Alipay/Alipay_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V1_SQU.svg +0 -5
- package/dist/images/method/Wallet/Alipay/Alipay_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Alipay/Alipay_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_SVG.svg +0 -7
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/AlipayPlus/AlipayPlus_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/Binfinite/Binfinite_SVG.svg +0 -14
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V1_SQU.svg +0 -7
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V2_SQU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_ROU.svg +0 -15
- package/dist/images/method/Wallet/Binfinite/Binfinite_V3_SQU.svg +0 -15
- package/dist/images/method/Wallet/Boost/Boost_SVG.svg +0 -10
- package/dist/images/method/Wallet/Boost/Boost_V1_ROU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V1_SQU.svg +0 -6
- package/dist/images/method/Wallet/Boost/Boost_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Boost/Boost_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/FavePay/FavePay_SVG.svg +0 -12
- package/dist/images/method/Wallet/FavePay/FavePay_V1_ROU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V1_SQU.svg +0 -16
- package/dist/images/method/Wallet/FavePay/FavePay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/FavePay/FavePay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GoPayz/GoPayz_SVG.svg +0 -12
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_ROU.svg +0 -5
- package/dist/images/method/Wallet/GoPayz/GoPayz_V2_SQU.svg +0 -5
- package/dist/images/method/Wallet/GrabPay/GrabPay_SVG.svg +0 -15
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V1_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_ROU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V2_SQU.svg +0 -13
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V3_SQU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_ROU.svg +0 -16
- package/dist/images/method/Wallet/GrabPay/GrabPay_V4_SQU.svg +0 -16
- package/dist/images/method/Wallet/Lazada/Lazada_SVG.svg +0 -44
- package/dist/images/method/Wallet/Lazada/Lazada_V1_ROU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V1_SQU.svg +0 -39
- package/dist/images/method/Wallet/Lazada/Lazada_V2_ROU.svg +0 -45
- package/dist/images/method/Wallet/Lazada/Lazada_V2_SQU.svg +0 -45
- package/dist/images/method/Wallet/MAE/MAE_SVG.svg +0 -4
- package/dist/images/method/Wallet/MAE/MAE_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/MAE/MAE_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/MCash/MCash_SVG.svg +0 -7
- package/dist/images/method/Wallet/MCash/MCash_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_ROU.svg +0 -8
- package/dist/images/method/Wallet/MCash/MCash_V2_SQU.svg +0 -8
- package/dist/images/method/Wallet/Presto/Presto_SVG.svg +0 -10
- package/dist/images/method/Wallet/Presto/Presto_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V2_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_ROU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V3_SQU.svg +0 -11
- package/dist/images/method/Wallet/Presto/Presto_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_ROU.svg +0 -5
- package/dist/images/method/Wallet/Presto/Presto_V5_SQU.svg +0 -5
- package/dist/images/method/Wallet/Razer/RazerPay_SVG.svg +0 -11
- package/dist/images/method/Wallet/Razer/RazerPay_V1_ROU.svg +0 -12
- package/dist/images/method/Wallet/Razer/RazerPay_V1_SQU.svg +0 -12
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_SVG.svg +0 -9
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_ROU.svg +0 -10
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/SarawakPay/SarawakPay_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_SVG.svg +0 -9
- package/dist/images/method/Wallet/Senheng/Senheng_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/Senheng/Senheng_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/Setel/Setel_SVG.svg +0 -10
- package/dist/images/method/Wallet/Setel/Setel_V1_ROU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V1_SQU.svg +0 -11
- package/dist/images/method/Wallet/Setel/Setel_V2_ROU.svg +0 -6
- package/dist/images/method/Wallet/Setel/Setel_V2_SQU.svg +0 -6
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_SVG.svg +0 -13
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_ROU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V1_SQU.svg +0 -14
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_ROU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V2_SQU.svg +0 -12
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_ROU.svg +0 -5
- package/dist/images/method/Wallet/ShopeePay/ShopeePay_V4_SQU.svg +0 -5
- package/dist/images/method/Wallet/TNG/TNG_SVG.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_ROU.svg +0 -27
- package/dist/images/method/Wallet/TNG/TNG_V1_SQU.svg +0 -27
- package/dist/images/method/Wallet/TaPay/TaPay_SVG.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V1_SQU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_ROU.svg +0 -25
- package/dist/images/method/Wallet/TaPay/TaPay_V2_SQU.svg +0 -25
- package/dist/images/method/Wallet/Truemoney/Truemoney_SVG.svg +0 -42
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_ROU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V1_SQU.svg +0 -8
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_ROU.svg +0 -17
- package/dist/images/method/Wallet/Truemoney/Truemoney_V2_SQU.svg +0 -17
- package/dist/images/method/Wallet/WechatPay/WeChat_SVG.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V1_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_ROU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V2_SQU.svg +0 -4
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_ROU.svg +0 -5
- package/dist/images/method/Wallet/WechatPay/WeChat_V3_SQU.svg +0 -5
- package/dist/images/method/Wallet/Zapp/Zapp_SVG.svg +0 -6
- package/dist/images/method/Wallet/Zapp/Zapp_V1_ROU.svg +0 -7
- package/dist/images/method/Wallet/Zapp/Zapp_V1_SQU.svg +0 -7
- package/dist/index-DvzXwr90.js +0 -40075
- package/dist/index.vue_vue_type_script_setup_true_lang-y4tchjya.js +0 -150
- package/dist/locales/en/business.json +0 -4
- package/dist/locales/en/common.json +0 -272
- package/dist/locales/en/country.json +0 -4
- package/dist/locales/en/payment.json +0 -27
- package/dist/locales/en/transaction.json +0 -25
- package/dist/locales/en/user.json +0 -61
- package/dist/locales/zh/business.json +0 -4
- package/dist/locales/zh/common.json +0 -272
- package/dist/locales/zh/country.json +0 -6
- package/dist/locales/zh/payment.json +0 -27
- package/dist/locales/zh/transaction.json +0 -25
- package/dist/locales/zh/user.json +0 -61
@@ -0,0 +1,72 @@
|
|
1
|
+
import type { FdoTerminal } from '@feedmepos/payment-entity';
|
2
|
+
import { type PropType } from 'vue';
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
4
|
+
terminal: {
|
5
|
+
type: PropType<{
|
6
|
+
name?: string | null | undefined;
|
7
|
+
secretKey?: string | null | undefined;
|
8
|
+
deviceId?: string | null | undefined;
|
9
|
+
bindCode?: string | null | undefined;
|
10
|
+
token?: string | null | undefined;
|
11
|
+
gateways?: ({
|
12
|
+
config?: {
|
13
|
+
applicationCode?: string | null | undefined;
|
14
|
+
offlineSecret?: string | null | undefined;
|
15
|
+
uniqueId: string;
|
16
|
+
merchantId: string;
|
17
|
+
secretKey: string;
|
18
|
+
verifyKey: string;
|
19
|
+
} | null | undefined;
|
20
|
+
gateway: "Fiuu";
|
21
|
+
} | {
|
22
|
+
gateway: "Gkash";
|
23
|
+
})[] | null | undefined;
|
24
|
+
status: "Active" | "Inactive";
|
25
|
+
_id: string;
|
26
|
+
createdAt: string;
|
27
|
+
updatedAt: string;
|
28
|
+
referenceId: string;
|
29
|
+
securityCode: string;
|
30
|
+
}>;
|
31
|
+
required: true;
|
32
|
+
};
|
33
|
+
onUpdate: {
|
34
|
+
type: PropType<(account: FdoTerminal) => Promise<void>>;
|
35
|
+
required: true;
|
36
|
+
};
|
37
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
38
|
+
terminal: {
|
39
|
+
type: PropType<{
|
40
|
+
name?: string | null | undefined;
|
41
|
+
secretKey?: string | null | undefined;
|
42
|
+
deviceId?: string | null | undefined;
|
43
|
+
bindCode?: string | null | undefined;
|
44
|
+
token?: string | null | undefined;
|
45
|
+
gateways?: ({
|
46
|
+
config?: {
|
47
|
+
applicationCode?: string | null | undefined;
|
48
|
+
offlineSecret?: string | null | undefined;
|
49
|
+
uniqueId: string;
|
50
|
+
merchantId: string;
|
51
|
+
secretKey: string;
|
52
|
+
verifyKey: string;
|
53
|
+
} | null | undefined;
|
54
|
+
gateway: "Fiuu";
|
55
|
+
} | {
|
56
|
+
gateway: "Gkash";
|
57
|
+
})[] | null | undefined;
|
58
|
+
status: "Active" | "Inactive";
|
59
|
+
_id: string;
|
60
|
+
createdAt: string;
|
61
|
+
updatedAt: string;
|
62
|
+
referenceId: string;
|
63
|
+
securityCode: string;
|
64
|
+
}>;
|
65
|
+
required: true;
|
66
|
+
};
|
67
|
+
onUpdate: {
|
68
|
+
type: PropType<(account: FdoTerminal) => Promise<void>>;
|
69
|
+
required: true;
|
70
|
+
};
|
71
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
72
|
+
export default _default;
|
@@ -0,0 +1,63 @@
|
|
1
|
+
import type { PropType } from 'vue';
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3
|
+
terminal: {
|
4
|
+
type: PropType<{
|
5
|
+
name?: string | null | undefined;
|
6
|
+
secretKey?: string | null | undefined;
|
7
|
+
deviceId?: string | null | undefined;
|
8
|
+
bindCode?: string | null | undefined;
|
9
|
+
token?: string | null | undefined;
|
10
|
+
gateways?: ({
|
11
|
+
config?: {
|
12
|
+
applicationCode?: string | null | undefined;
|
13
|
+
offlineSecret?: string | null | undefined;
|
14
|
+
uniqueId: string;
|
15
|
+
merchantId: string;
|
16
|
+
secretKey: string;
|
17
|
+
verifyKey: string;
|
18
|
+
} | null | undefined;
|
19
|
+
gateway: "Fiuu";
|
20
|
+
} | {
|
21
|
+
gateway: "Gkash";
|
22
|
+
})[] | null | undefined;
|
23
|
+
status: "Active" | "Inactive";
|
24
|
+
_id: string;
|
25
|
+
createdAt: string;
|
26
|
+
updatedAt: string;
|
27
|
+
referenceId: string;
|
28
|
+
securityCode: string;
|
29
|
+
}>;
|
30
|
+
required: true;
|
31
|
+
};
|
32
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
33
|
+
terminal: {
|
34
|
+
type: PropType<{
|
35
|
+
name?: string | null | undefined;
|
36
|
+
secretKey?: string | null | undefined;
|
37
|
+
deviceId?: string | null | undefined;
|
38
|
+
bindCode?: string | null | undefined;
|
39
|
+
token?: string | null | undefined;
|
40
|
+
gateways?: ({
|
41
|
+
config?: {
|
42
|
+
applicationCode?: string | null | undefined;
|
43
|
+
offlineSecret?: string | null | undefined;
|
44
|
+
uniqueId: string;
|
45
|
+
merchantId: string;
|
46
|
+
secretKey: string;
|
47
|
+
verifyKey: string;
|
48
|
+
} | null | undefined;
|
49
|
+
gateway: "Fiuu";
|
50
|
+
} | {
|
51
|
+
gateway: "Gkash";
|
52
|
+
})[] | null | undefined;
|
53
|
+
status: "Active" | "Inactive";
|
54
|
+
_id: string;
|
55
|
+
createdAt: string;
|
56
|
+
updatedAt: string;
|
57
|
+
referenceId: string;
|
58
|
+
securityCode: string;
|
59
|
+
}>;
|
60
|
+
required: true;
|
61
|
+
};
|
62
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
63
|
+
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { type Row } from '@feedmepos/ui-library';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
row: Row<any>;
|
4
|
+
data: unknown;
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
6
|
+
row: Row<any>;
|
7
|
+
data: unknown;
|
8
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
9
|
+
export default _default;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { type Row } from '@feedmepos/ui-library';
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
|
+
row: Row<any>;
|
4
|
+
data: unknown;
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
6
|
+
row: Row<any>;
|
7
|
+
data: unknown;
|
8
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
9
|
+
export default _default;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@feedmepos/mf-payment",
|
3
|
-
"version": "0.0.0-beta.
|
3
|
+
"version": "0.0.0-beta.21",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -13,6 +13,22 @@
|
|
13
13
|
},
|
14
14
|
"./style": "./dist/style.css"
|
15
15
|
},
|
16
|
+
"scripts": {
|
17
|
+
"postinstall": "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity",
|
18
|
+
"lint": "eslint --ext .ts,vue --ignore-path .gitignore . --fix",
|
19
|
+
"dev": "vite --mode dev",
|
20
|
+
"prod": "vite --mode prod",
|
21
|
+
"preview": "vite preview",
|
22
|
+
"test": "jest",
|
23
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
|
24
|
+
"build-types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false",
|
25
|
+
"build:mf:dev": "vite build --mode fmmf:dev",
|
26
|
+
"build:mf:prod": "vite build --mode fmmf:prod",
|
27
|
+
"build-only:dev": "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist",
|
28
|
+
"build-only:prod": "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist",
|
29
|
+
"deploy:dev": "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .",
|
30
|
+
"deploy:prod": "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks ."
|
31
|
+
},
|
16
32
|
"dependencies": {
|
17
33
|
"@casl/ability": "^3.2.0",
|
18
34
|
"@feedmepos/core": "^2.6.0",
|
@@ -53,8 +69,8 @@
|
|
53
69
|
"devDependencies": {
|
54
70
|
"@babel/preset-env": "^7.22.10",
|
55
71
|
"@pinia/testing": "^0.1.3",
|
56
|
-
"@tsconfig/node20": "^20.1.4",
|
57
72
|
"@rushstack/eslint-patch": "^1.1.3",
|
73
|
+
"@tsconfig/node20": "^20.1.4",
|
58
74
|
"@types/dinero.js": "^1.9.0",
|
59
75
|
"@types/file-saver": "^2.0.5",
|
60
76
|
"@types/jest": "^29.5.4",
|
@@ -81,21 +97,5 @@
|
|
81
97
|
"typescript": "~5.4.0",
|
82
98
|
"vite": "^5.2.11",
|
83
99
|
"vue-tsc": "^2.0.11"
|
84
|
-
},
|
85
|
-
"scripts": {
|
86
|
-
"lint": "eslint --ext .ts,vue --ignore-path .gitignore . --fix",
|
87
|
-
"dev": "vite --mode dev",
|
88
|
-
"prod": "vite --mode prod",
|
89
|
-
"preview": "vite preview",
|
90
|
-
"test": "jest",
|
91
|
-
"serve:prod": "yarn && vite --mode production",
|
92
|
-
"build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
|
93
|
-
"build-types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false",
|
94
|
-
"build:mf:dev": "vite build --mode fmmf:dev",
|
95
|
-
"build:mf:prod": "vite build --mode fmmf:prod",
|
96
|
-
"build-only:dev": "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist && cd dist && pnpm version 0.0.0-beta.0 --no-git-tag-version",
|
97
|
-
"build-only:prod": "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist",
|
98
|
-
"deploy:dev": "pnpm run build-only:dev && pnpm publish --tag beta --no-git-checks .",
|
99
|
-
"deploy:prod": "pnpm run build-only:prod && pnpm publish --no-git-checks ."
|
100
100
|
}
|
101
|
-
}
|
101
|
+
}
|
@@ -1,266 +0,0 @@
|
|
1
|
-
import { defineComponent as b, resolveComponent as i, openBlock as f, createBlock as g, normalizeClass as v, withCtx as _, createElementVNode as V, toDisplayString as A, createVNode as c, computed as N, ref as C, watch as x, unref as u, isRef as y, h as k } from "vue";
|
2
|
-
import { u as E } from "./index-B8_4waUa.js";
|
3
|
-
import { _ as S } from "./index-DvzXwr90.js";
|
4
|
-
import { _ as O } from "./AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js";
|
5
|
-
import { P as F, p as K } from "./index-D-lMrCvM.js";
|
6
|
-
import "@feedmepos/ui-library";
|
7
|
-
import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-y4tchjya.js";
|
8
|
-
const T = /* @__PURE__ */ b({
|
9
|
-
__name: "Status",
|
10
|
-
props: {
|
11
|
-
row: {},
|
12
|
-
data: {}
|
13
|
-
},
|
14
|
-
setup(p) {
|
15
|
-
const n = p;
|
16
|
-
function a() {
|
17
|
-
return n.data === "NEW" ? "!w-[16px] !h-[16px] bg-yellow-400" : n.data === "PENDING" ? "!w-[16px] !h-[16px] bg-red-400" : "!w-[16px] !h-[16px] bg-green-400";
|
18
|
-
}
|
19
|
-
return (s, o) => {
|
20
|
-
const r = i("FmBadge");
|
21
|
-
return f(), g(r, {
|
22
|
-
inline: "",
|
23
|
-
class: v(a())
|
24
|
-
}, {
|
25
|
-
default: _(() => [
|
26
|
-
V("div", null, A(s.data), 1)
|
27
|
-
]),
|
28
|
-
_: 1
|
29
|
-
}, 8, ["class"]);
|
30
|
-
};
|
31
|
-
}
|
32
|
-
}), $ = /* @__PURE__ */ b({
|
33
|
-
__name: "IsActive",
|
34
|
-
props: {
|
35
|
-
row: {},
|
36
|
-
data: {}
|
37
|
-
},
|
38
|
-
setup(p) {
|
39
|
-
const n = p;
|
40
|
-
function a() {
|
41
|
-
return n.data ? "#66BB6A" : "#EF5350";
|
42
|
-
}
|
43
|
-
function s() {
|
44
|
-
return n.data ? "check" : "close";
|
45
|
-
}
|
46
|
-
return (o, r) => {
|
47
|
-
const l = i("FmIcon");
|
48
|
-
return f(), g(l, {
|
49
|
-
name: s(),
|
50
|
-
color: a(),
|
51
|
-
size: "lg"
|
52
|
-
}, null, 8, ["name", "color"]);
|
53
|
-
};
|
54
|
-
}
|
55
|
-
}), G = /* @__PURE__ */ b({
|
56
|
-
__name: "Bank",
|
57
|
-
props: {
|
58
|
-
row: {},
|
59
|
-
data: {}
|
60
|
-
},
|
61
|
-
setup(p) {
|
62
|
-
function n(a) {
|
63
|
-
return a ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
64
|
-
}
|
65
|
-
return (a, s) => {
|
66
|
-
const o = i("FmBadge"), r = i("FmListItem");
|
67
|
-
return f(), g(r, {
|
68
|
-
label: a.row.original.holderName,
|
69
|
-
sublabel: a.row.original.bankName + " - " + a.row.original.bankNumber,
|
70
|
-
clickable: !1,
|
71
|
-
tag: "label"
|
72
|
-
}, {
|
73
|
-
append: _(() => [
|
74
|
-
c(o, {
|
75
|
-
inline: "",
|
76
|
-
class: v(n(a.row.original.bankReady))
|
77
|
-
}, null, 8, ["class"])
|
78
|
-
]),
|
79
|
-
_: 1
|
80
|
-
}, 8, ["label", "sublabel"]);
|
81
|
-
};
|
82
|
-
}
|
83
|
-
}), U = /* @__PURE__ */ b({
|
84
|
-
__name: "PersonInCharge",
|
85
|
-
props: {
|
86
|
-
row: {},
|
87
|
-
data: {}
|
88
|
-
},
|
89
|
-
setup(p) {
|
90
|
-
function n(a) {
|
91
|
-
return a ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
92
|
-
}
|
93
|
-
return (a, s) => {
|
94
|
-
const o = i("FmBadge"), r = i("FmListItem");
|
95
|
-
return f(), g(r, {
|
96
|
-
label: a.row.original.picName,
|
97
|
-
sublabel: a.row.original.picEmail + " - " + a.row.original.picPhone,
|
98
|
-
clickable: !1,
|
99
|
-
tag: "label"
|
100
|
-
}, {
|
101
|
-
append: _(() => [
|
102
|
-
c(o, {
|
103
|
-
inline: "",
|
104
|
-
class: v(n(a.row.original.picReady))
|
105
|
-
}, null, 8, ["class"])
|
106
|
-
]),
|
107
|
-
_: 1
|
108
|
-
}, 8, ["label", "sublabel"]);
|
109
|
-
};
|
110
|
-
}
|
111
|
-
}), L = { class: "flex items-start mb-6" }, J = /* @__PURE__ */ b({
|
112
|
-
__name: "PayoutAccount",
|
113
|
-
setup(p) {
|
114
|
-
const n = N(() => F.storeEventOptions), a = N(() => F.statusOptions), s = C(), { event: o, status: r, searchKey: l } = E({
|
115
|
-
searchKey: "",
|
116
|
-
event: S.F_PAYOUT_FOR.Enum.ORDERING,
|
117
|
-
status: a.value.map((e) => e.value)
|
118
|
-
});
|
119
|
-
x([o, r], () => {
|
120
|
-
var e;
|
121
|
-
return (e = s.value) == null ? void 0 : e.refreshQuery();
|
122
|
-
});
|
123
|
-
let w;
|
124
|
-
x(l, async () => {
|
125
|
-
w && clearTimeout(w), w = setTimeout(
|
126
|
-
() => {
|
127
|
-
var e;
|
128
|
-
return (e = s.value) == null ? void 0 : e.refreshQuery();
|
129
|
-
},
|
130
|
-
700
|
131
|
-
);
|
132
|
-
});
|
133
|
-
const P = function(e) {
|
134
|
-
const t = {
|
135
|
-
bankReady: !1,
|
136
|
-
bankNumber: "",
|
137
|
-
bankName: "",
|
138
|
-
holderName: ""
|
139
|
-
};
|
140
|
-
e.store.bank && e.store.bank.accountNumber && Object.assign(t, {
|
141
|
-
bankReady: !0,
|
142
|
-
bankNumber: e.store.bank.accountNumber,
|
143
|
-
bankName: e.store.bank.name,
|
144
|
-
holderName: e.store.bank.holderName
|
145
|
-
});
|
146
|
-
const d = {
|
147
|
-
picReady: !1,
|
148
|
-
picName: "",
|
149
|
-
picPhone: "",
|
150
|
-
picEmail: ""
|
151
|
-
};
|
152
|
-
e.store.keyPerson && Object.assign(d, {
|
153
|
-
picReady: !0,
|
154
|
-
picName: e.store.keyPerson.name,
|
155
|
-
picPhone: e.store.keyPerson.phone,
|
156
|
-
picEmail: e.store.keyPerson.email
|
157
|
-
});
|
158
|
-
let h = e.ref.name;
|
159
|
-
return e.store.event === "ORDERING" && (h = e.ref.profile.name), {
|
160
|
-
_id: e._id,
|
161
|
-
event: e.store.event,
|
162
|
-
name: h,
|
163
|
-
status: e.status,
|
164
|
-
isActive: e.enable,
|
165
|
-
...t,
|
166
|
-
...d
|
167
|
-
};
|
168
|
-
}, I = [
|
169
|
-
{
|
170
|
-
header: () => "Type",
|
171
|
-
accessorKey: "event",
|
172
|
-
meta: {
|
173
|
-
maxWidth: "92px"
|
174
|
-
}
|
175
|
-
},
|
176
|
-
{
|
177
|
-
header: () => "Name",
|
178
|
-
accessorKey: "name"
|
179
|
-
},
|
180
|
-
{
|
181
|
-
header: () => "Status",
|
182
|
-
accessorKey: "status",
|
183
|
-
cell: ({ cell: e, row: t }) => k(T, { row: t, data: e.getValue() }),
|
184
|
-
meta: {
|
185
|
-
maxWidth: "108px",
|
186
|
-
textAlign: "right"
|
187
|
-
}
|
188
|
-
},
|
189
|
-
{
|
190
|
-
header: () => "Active?",
|
191
|
-
accessorKey: "isActive",
|
192
|
-
meta: {
|
193
|
-
maxWidth: "64px"
|
194
|
-
},
|
195
|
-
cell: ({ cell: e, row: t }) => k($, { row: t, data: e.getValue() })
|
196
|
-
},
|
197
|
-
{
|
198
|
-
header: () => "Bank Details",
|
199
|
-
accessorKey: "bank",
|
200
|
-
cell: ({ cell: e, row: t }) => k(G, { row: t, data: e.getValue() })
|
201
|
-
},
|
202
|
-
{
|
203
|
-
header: () => "Person In-Charge (PIC)",
|
204
|
-
accessorKey: "pic",
|
205
|
-
cell: ({ cell: e, row: t }) => k(U, { row: t, data: e.getValue() })
|
206
|
-
}
|
207
|
-
];
|
208
|
-
return (e, t) => {
|
209
|
-
const d = i("FmSelect"), h = i("FmSearch"), B = i("FmFormGroup");
|
210
|
-
return f(), g(O, {
|
211
|
-
title: "Payout Accounts",
|
212
|
-
loading: !1
|
213
|
-
}, {
|
214
|
-
default: _(() => [
|
215
|
-
V("div", L, [
|
216
|
-
c(d, {
|
217
|
-
modelValue: u(o),
|
218
|
-
"onUpdate:modelValue": t[0] || (t[0] = (m) => y(o) ? o.value = m : null),
|
219
|
-
class: "mr-6 w-[128px]",
|
220
|
-
label: "Type",
|
221
|
-
"label-mark": "required",
|
222
|
-
items: n.value
|
223
|
-
}, null, 8, ["modelValue", "items"]),
|
224
|
-
c(d, {
|
225
|
-
modelValue: u(r),
|
226
|
-
"onUpdate:modelValue": t[1] || (t[1] = (m) => y(r) ? r.value = m : null),
|
227
|
-
class: "mr-6 w-[300px]",
|
228
|
-
label: "Status",
|
229
|
-
"label-mark": "required",
|
230
|
-
multiselect: "",
|
231
|
-
items: a.value
|
232
|
-
}, null, 8, ["modelValue", "items"]),
|
233
|
-
c(B, {
|
234
|
-
class: "w-[300px]",
|
235
|
-
modelValue: u(l),
|
236
|
-
"onUpdate:modelValue": t[3] || (t[3] = (m) => y(l) ? l.value = m : null),
|
237
|
-
label: "Search"
|
238
|
-
}, {
|
239
|
-
default: _(() => [
|
240
|
-
c(h, {
|
241
|
-
modelValue: u(l),
|
242
|
-
"onUpdate:modelValue": t[2] || (t[2] = (m) => y(l) ? l.value = m : null),
|
243
|
-
placeholder: "Search accounts ..."
|
244
|
-
}, null, 8, ["modelValue"])
|
245
|
-
]),
|
246
|
-
_: 1
|
247
|
-
}, 8, ["modelValue"])
|
248
|
-
]),
|
249
|
-
c(D, {
|
250
|
-
ref_key: "controller",
|
251
|
-
ref: s,
|
252
|
-
"column-defs": I,
|
253
|
-
"rows-defs": P,
|
254
|
-
paginate: (m, R) => u(K).read({ event: u(o), status: u(r), searchKey: u(l), limit: m, cursor: R }),
|
255
|
-
onRowClick: () => {
|
256
|
-
}
|
257
|
-
}, null, 8, ["paginate"])
|
258
|
-
]),
|
259
|
-
_: 1
|
260
|
-
});
|
261
|
-
};
|
262
|
-
}
|
263
|
-
});
|
264
|
-
export {
|
265
|
-
J as default
|
266
|
-
};
|
@@ -1,136 +0,0 @@
|
|
1
|
-
import { defineComponent as w, ref as S, computed as k, resolveComponent as _, openBlock as v, createBlock as h, onMounted as A, watch as R, unref as i, withCtx as C, createElementVNode as u, createVNode as p, isRef as D } from "vue";
|
2
|
-
import { u as V } from "./index-DvzXwr90.js";
|
3
|
-
import { h as y } from "./moment-h96o7c8I.js";
|
4
|
-
import { useCoreStore as b } from "@feedmepos/mf-common";
|
5
|
-
import { _ as $ } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
6
|
-
import { s as B } from "./index-CjCiGW2Y.js";
|
7
|
-
import "@feedmepos/ui-library";
|
8
|
-
import { d as f } from "./dinero-CIVmXLL-.js";
|
9
|
-
import { useRouter as K } from "vue-router";
|
10
|
-
import { u as P } from "./index-B8_4waUa.js";
|
11
|
-
const O = /* @__PURE__ */ w({
|
12
|
-
__name: "SettlementTable",
|
13
|
-
props: {
|
14
|
-
data: {
|
15
|
-
type: Array,
|
16
|
-
required: !0
|
17
|
-
},
|
18
|
-
loading: {
|
19
|
-
type: Boolean,
|
20
|
-
required: !0
|
21
|
-
}
|
22
|
-
},
|
23
|
-
emits: ["row-click"],
|
24
|
-
setup(g, { emit: m }) {
|
25
|
-
const e = g, n = m, r = S(""), d = [
|
26
|
-
{
|
27
|
-
header: () => "Settlement ID",
|
28
|
-
accessorKey: "id"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
header: () => "Created At",
|
32
|
-
accessorKey: "transactionAt",
|
33
|
-
meta: {
|
34
|
-
width: "180px"
|
35
|
-
}
|
36
|
-
},
|
37
|
-
{
|
38
|
-
header: () => "Sales Amount",
|
39
|
-
accessorKey: "amount"
|
40
|
-
},
|
41
|
-
{
|
42
|
-
header: () => "Fee",
|
43
|
-
accessorKey: "fee"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
header: () => "Settlement Amount",
|
47
|
-
accessorKey: "payout"
|
48
|
-
}
|
49
|
-
], s = k(() => e.data.map((t) => ({
|
50
|
-
id: t._id,
|
51
|
-
transactionAt: y(t.createdAt).format("YYYY-MM-DD"),
|
52
|
-
amount: f(t.totalAmount).toFormat("$0.00"),
|
53
|
-
fee: f(t.totalFee).toFormat("$0.00"),
|
54
|
-
payout: f(t.totalPayout).toFormat("$0.00")
|
55
|
-
})));
|
56
|
-
return (t, a) => {
|
57
|
-
const l = _("FmTable");
|
58
|
-
return v(), h(l, {
|
59
|
-
modelValue: r.value,
|
60
|
-
"onUpdate:modelValue": a[0] || (a[0] = (o) => r.value = o),
|
61
|
-
"row-data": s.value,
|
62
|
-
"column-defs": d,
|
63
|
-
loading: e.loading,
|
64
|
-
onRowClick: a[1] || (a[1] = (o) => n("row-click", e.data.at(o.index)))
|
65
|
-
}, null, 8, ["modelValue", "row-data", "loading"]);
|
66
|
-
};
|
67
|
-
}
|
68
|
-
}), Y = { class: "flex justify-between items-center mb-6" }, I = { class: "flex space-x-4 items-center" }, L = { class: "flex space-x-4 items-center" }, H = /* @__PURE__ */ w({
|
69
|
-
__name: "Settlement",
|
70
|
-
setup(g) {
|
71
|
-
const m = K(), { dateRange: e } = P({
|
72
|
-
dateRange: {
|
73
|
-
startDate: y().startOf("day").toISOString(),
|
74
|
-
endDate: y().endOf("day").toISOString()
|
75
|
-
}
|
76
|
-
}), { isLoading: n, startAsyncCall: r } = V(!0), { currentRestaurant: d } = b(), s = S([]);
|
77
|
-
async function t() {
|
78
|
-
await r(async () => {
|
79
|
-
const l = await B.readRestaurantSettlements(
|
80
|
-
{
|
81
|
-
start: e.value.startDate,
|
82
|
-
end: e.value.endDate
|
83
|
-
}
|
84
|
-
);
|
85
|
-
s.value = l;
|
86
|
-
});
|
87
|
-
}
|
88
|
-
function a() {
|
89
|
-
t();
|
90
|
-
}
|
91
|
-
return A(a), R(d, a), (l, o) => {
|
92
|
-
const x = _("FmDateRangePicker"), F = _("FmButton");
|
93
|
-
return v(), h($, {
|
94
|
-
title: "Settlements",
|
95
|
-
description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
|
96
|
-
loading: i(n)
|
97
|
-
}, {
|
98
|
-
default: C(() => [
|
99
|
-
u("div", Y, [
|
100
|
-
u("div", I, [
|
101
|
-
p(x, {
|
102
|
-
modelValue: i(e),
|
103
|
-
"onUpdate:modelValue": [
|
104
|
-
o[0] || (o[0] = (c) => D(e) ? e.value = c : null),
|
105
|
-
t
|
106
|
-
],
|
107
|
-
compare: "",
|
108
|
-
"show-predefined-range": ""
|
109
|
-
}, null, 8, ["modelValue"])
|
110
|
-
]),
|
111
|
-
u("div", L, [
|
112
|
-
p(F, {
|
113
|
-
"append-icon": "file_download",
|
114
|
-
variant: "primary",
|
115
|
-
label: "Export",
|
116
|
-
onClick: () => {
|
117
|
-
}
|
118
|
-
})
|
119
|
-
])
|
120
|
-
]),
|
121
|
-
p(O, {
|
122
|
-
loading: i(n),
|
123
|
-
data: s.value,
|
124
|
-
onRowClick: o[1] || (o[1] = (c) => i(m).push({
|
125
|
-
path: `/payment/settlement/${c._id}`
|
126
|
-
}))
|
127
|
-
}, null, 8, ["loading", "data"])
|
128
|
-
]),
|
129
|
-
_: 1
|
130
|
-
}, 8, ["loading"]);
|
131
|
-
};
|
132
|
-
}
|
133
|
-
});
|
134
|
-
export {
|
135
|
-
H as default
|
136
|
-
};
|