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