@feedmepos/mf-payment 0.0.0-beta.5 → 0.0.0-beta.51
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-BTmMOzwx.js +39 -0
- package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js +40 -0
- package/dist/Modal-DB8M9o1T.js +13 -0
- package/dist/{PayoutAccount-DG7T6kD1.js → PayoutAccount-45KBDFz5.js} +38 -35
- package/dist/{PayoutAccount-0WC8znVs.js → PayoutAccount-B1-2p330.js} +289 -3161
- package/dist/PayoutAccountSetting-CbhtXeh7.js +780 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-DlaJyp58.js +195 -0
- package/dist/Settlement-tSkIAVNP.js +150 -0
- package/dist/{SettlementTransactions-DaPsFXU6.js → SettlementTransactions-BJT_BbHY.js} +99 -105
- package/dist/{SettlementTransactions-CN80rfjl.js → SettlementTransactions-CEZC6XZG.js} +117 -130
- package/dist/Terminal-BQl4r6HC.js +372 -0
- package/dist/TerminalSetting-C44QLn1Z.js +379 -0
- package/dist/TerminalTransaction-CABZWS4H.js +418 -0
- package/dist/TerminalTransaction-CKSvq9rD.js +242 -0
- package/dist/Transaction-C6RSlZ9y.js +405 -0
- package/dist/Transaction-xV5p9Mhz.js +242 -0
- package/dist/api/index.d.ts +14 -0
- package/dist/api/pagination.d.ts +20 -0
- package/dist/api/payment-gateway/index.d.ts +9 -0
- package/dist/api/settlement/index.d.ts +12 -13
- package/dist/api/terminal/index.d.ts +13 -1
- package/dist/api/terminal-transaction/index.d.ts +12 -1
- package/dist/api/transaction/index.d.ts +7 -2
- package/dist/app-_E4ykcC3.js +6343 -0
- package/dist/app.js +3 -198
- package/dist/assets/icons/index.d.ts +1 -3
- package/dist/assets-BrVemDyU.js +44 -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 +24 -5
- package/dist/components/RestaurantSelector.vue.d.ts +2 -0
- package/dist/components/RouteCell.vue.d.ts +8 -0
- package/dist/helpers/assets.d.ts +2 -0
- package/dist/{index-B-3Vz_px.js → index-Bz1J_qmc.js} +1 -1
- package/dist/index-C2w3JCtA.js +127 -0
- package/dist/index-C5-Iy39F.js +47 -0
- package/dist/{index-ONVv2EsB.js → index-CJy1IRg3.js} +1 -1
- package/dist/index-C_lvRbae.js +55926 -0
- package/dist/index-CdN6mR2m.js +52 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DBooU_VF.js +167 -0
- package/dist/model/transaction.d.ts +2 -1
- package/dist/package.json +8 -8
- package/dist/payout-account-DA4gfB3w.js +1805 -0
- package/dist/transaction-BBM__3mR.js +87 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/validator-D5jtpt9A.js +2877 -0
- package/dist/views/admin/payout-account/tabs/PaymentGateway.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/admin/terminal-transaction/cell/Actions.vue.d.ts +7 -0
- package/dist/views/admin/transaction/TransactionTable.vue.d.ts +6 -2
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +7 -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 +8 -8
- package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js +0 -42
- package/dist/PayoutAccountSetting-CYEzOO_x.js +0 -425
- package/dist/Settlement-B7dxZllN.js +0 -136
- package/dist/Settlement-CcTtaP6I.js +0 -132
- package/dist/Terminal-CMBB-Q32.js +0 -204
- package/dist/TerminalTransaction-MeyqLQ81.js +0 -240
- package/dist/Transaction-BAQvj173.js +0 -242
- package/dist/Transaction-CATazx8y.js +0 -241
- package/dist/api/auth/index.d.ts +0 -7
- package/dist/assets-LSl507nH.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-RfsX2czs.js +0 -40074
- package/dist/index-g9d8rwR_.js +0 -61
- package/dist/index.vue_vue_type_script_setup_true_lang-BB6McGpo.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
- package/dist/payout-account-B1kRpd3u.js +0 -3317
- package/dist/transaction-CfEK62PY.js +0 -64
@@ -0,0 +1,372 @@
|
|
1
|
+
import { defineComponent as x, openBlock as f, createElementBlock as B, createTextVNode as L, createElementVNode as h, toDisplayString as U, resolveComponent as p, createVNode as v, normalizeClass as O, withCtx as V, createBlock as g, createCommentVNode as I, ref as k, computed as z, unref as c, watch as D, isRef as K, h as E } from "vue";
|
2
|
+
import "./index-C_lvRbae.js";
|
3
|
+
import { h as Y } from "./moment-h96o7c8I.js";
|
4
|
+
import { u as j } from "./index-Bz1J_qmc.js";
|
5
|
+
import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-DBooU_VF.js";
|
6
|
+
import { _ as Q } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
7
|
+
import { useSnackbar as $, useDialogChild as G, useDialog as H } from "@feedmepos/ui-library";
|
8
|
+
import { t as A } from "./index-C5-Iy39F.js";
|
9
|
+
import { c as J } from "./clipboard-4jh1WteU.js";
|
10
|
+
import { u as N } from "./error-K1CakhA9.js";
|
11
|
+
import { z as P, a as R } from "./validator-D5jtpt9A.js";
|
12
|
+
import { useCoreStore as W } from "@feedmepos/mf-common";
|
13
|
+
import { w as X } from "./Modal-DB8M9o1T.js";
|
14
|
+
import { useRouter as Z } from "vue-router";
|
15
|
+
const ee = { class: "t-caption" }, te = { class: "t-h1 my-6 text-center" }, ne = /* @__PURE__ */ x({
|
16
|
+
__name: "TerminalBindCodeDialog",
|
17
|
+
props: {
|
18
|
+
code: {
|
19
|
+
type: String,
|
20
|
+
required: !0
|
21
|
+
}
|
22
|
+
},
|
23
|
+
setup(y) {
|
24
|
+
return (n, o) => (f(), B("div", ee, [
|
25
|
+
o[0] || (o[0] = L(" Enter the binding code below on your device to link it with this terminal and apply the configuration. ")),
|
26
|
+
h("div", te, U(y.code), 1)
|
27
|
+
]));
|
28
|
+
}
|
29
|
+
}), oe = /* @__PURE__ */ x({
|
30
|
+
__name: "ID",
|
31
|
+
props: {
|
32
|
+
row: {},
|
33
|
+
data: {}
|
34
|
+
},
|
35
|
+
setup(y) {
|
36
|
+
const n = y, o = $();
|
37
|
+
function r() {
|
38
|
+
return n.row.original.status === "Active" ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
39
|
+
}
|
40
|
+
function l() {
|
41
|
+
try {
|
42
|
+
J(n.data), o.open({ title: "Text copied to clipboard." }, 1e3);
|
43
|
+
} catch {
|
44
|
+
o.open({ title: "Clipboard API incompatible." }, 1e3);
|
45
|
+
}
|
46
|
+
n.data;
|
47
|
+
}
|
48
|
+
return (s, a) => {
|
49
|
+
const d = p("FmBadge");
|
50
|
+
return f(), B("div", {
|
51
|
+
onClick: a[0] || (a[0] = (_) => {
|
52
|
+
_.stopPropagation(), l();
|
53
|
+
})
|
54
|
+
}, [
|
55
|
+
v(d, {
|
56
|
+
inline: "",
|
57
|
+
class: O(r())
|
58
|
+
}, {
|
59
|
+
default: V(() => [
|
60
|
+
h("div", null, U(s.data), 1)
|
61
|
+
]),
|
62
|
+
_: 1
|
63
|
+
}, 8, ["class"])
|
64
|
+
]);
|
65
|
+
};
|
66
|
+
}
|
67
|
+
}), ae = { class: "flex" }, re = /* @__PURE__ */ x({
|
68
|
+
__name: "Actions",
|
69
|
+
props: {
|
70
|
+
data: {}
|
71
|
+
},
|
72
|
+
emits: ["link", "unlink", "edit"],
|
73
|
+
setup(y, { emit: n }) {
|
74
|
+
const o = n;
|
75
|
+
return (r, l) => {
|
76
|
+
const s = p("FmButton");
|
77
|
+
return f(), B("div", ae, [
|
78
|
+
r.data.deviceType === "TERMINAL" && !r.data.deviceId ? (f(), g(s, {
|
79
|
+
key: 0,
|
80
|
+
variant: "plain",
|
81
|
+
"prepend-icon": "link",
|
82
|
+
onClick: l[0] || (l[0] = (a) => {
|
83
|
+
a.stopPropagation(), o("link");
|
84
|
+
})
|
85
|
+
})) : I("", !0),
|
86
|
+
r.data.deviceType === "TERMINAL" && r.data.deviceId ? (f(), g(s, {
|
87
|
+
key: 1,
|
88
|
+
variant: "plain",
|
89
|
+
"prepend-icon": "link_off",
|
90
|
+
onClick: l[1] || (l[1] = (a) => {
|
91
|
+
a.stopPropagation(), o("unlink");
|
92
|
+
})
|
93
|
+
})) : I("", !0),
|
94
|
+
v(s, {
|
95
|
+
variant: "plain",
|
96
|
+
"prepend-icon": "edit",
|
97
|
+
onClick: l[2] || (l[2] = (a) => {
|
98
|
+
a.stopPropagation(), o("edit");
|
99
|
+
})
|
100
|
+
})
|
101
|
+
]);
|
102
|
+
};
|
103
|
+
}
|
104
|
+
}), le = /* @__PURE__ */ x({
|
105
|
+
__name: "TerminalDialog",
|
106
|
+
props: {
|
107
|
+
terminal: {
|
108
|
+
type: Object
|
109
|
+
}
|
110
|
+
},
|
111
|
+
setup(y) {
|
112
|
+
var w, T, F;
|
113
|
+
const n = y, o = W(), r = G(), l = k(), s = k((w = n.terminal) == null ? void 0 : w.name), a = k((T = n.terminal) == null ? void 0 : T.referenceId), d = k(((F = n.terminal) == null ? void 0 : F.status) === "Active"), _ = z(() => o.restaurants.value.map((b) => ({
|
114
|
+
label: b.profile.name,
|
115
|
+
value: b._id
|
116
|
+
})));
|
117
|
+
return (b, u) => {
|
118
|
+
const e = p("FmSelect"), t = p("FmTextField"), m = p("FmSwitch"), C = p("FmButton"), S = p("FmForm");
|
119
|
+
return f(), g(S, {
|
120
|
+
ref: l.value,
|
121
|
+
class: "flex flex-col gap-16 mb-6",
|
122
|
+
onValidationSuccess: u[3] || (u[3] = () => {
|
123
|
+
c(r).emitData({ name: s.value, referenceId: a.value, status: d.value ? "Active" : "Inactive" }), c(r).emitAction("primary");
|
124
|
+
})
|
125
|
+
}, {
|
126
|
+
default: V(() => [
|
127
|
+
n.terminal ? I("", !0) : (f(), g(e, {
|
128
|
+
key: 0,
|
129
|
+
modelValue: a.value,
|
130
|
+
"onUpdate:modelValue": u[0] || (u[0] = (i) => a.value = i),
|
131
|
+
label: "Restaurant",
|
132
|
+
items: _.value,
|
133
|
+
rules: c(P)(c(R).string())
|
134
|
+
}, null, 8, ["modelValue", "items", "rules"])),
|
135
|
+
v(t, {
|
136
|
+
modelValue: s.value,
|
137
|
+
"onUpdate:modelValue": u[1] || (u[1] = (i) => s.value = i),
|
138
|
+
label: "Terminal Name",
|
139
|
+
rules: c(P)(c(R).string())
|
140
|
+
}, null, 8, ["modelValue", "rules"]),
|
141
|
+
n.terminal ? (f(), g(m, {
|
142
|
+
key: 1,
|
143
|
+
modelValue: d.value,
|
144
|
+
"onUpdate:modelValue": u[2] || (u[2] = (i) => d.value = i),
|
145
|
+
label: "Status"
|
146
|
+
}, null, 8, ["modelValue"])) : I("", !0),
|
147
|
+
v(C, {
|
148
|
+
type: "submit",
|
149
|
+
label: "Create"
|
150
|
+
})
|
151
|
+
]),
|
152
|
+
_: 1
|
153
|
+
}, 512);
|
154
|
+
};
|
155
|
+
}
|
156
|
+
}), ie = { class: "flex justify-between mb-6 items-center" }, se = { class: "flex space-x-4" }, ce = { class: "flex space-x-4" }, xe = /* @__PURE__ */ x({
|
157
|
+
__name: "Terminal",
|
158
|
+
setup(y) {
|
159
|
+
const n = k(), { searchKey: o, deviceType: r } = j({
|
160
|
+
searchKey: "",
|
161
|
+
deviceType: void 0
|
162
|
+
});
|
163
|
+
D(r, () => {
|
164
|
+
var e;
|
165
|
+
return (e = n.value) == null ? void 0 : e.reset();
|
166
|
+
});
|
167
|
+
let l;
|
168
|
+
D(o, async () => {
|
169
|
+
l && clearTimeout(l), l = setTimeout(
|
170
|
+
() => {
|
171
|
+
var e;
|
172
|
+
return (e = n.value) == null ? void 0 : e.reset();
|
173
|
+
},
|
174
|
+
700
|
175
|
+
);
|
176
|
+
});
|
177
|
+
const s = Z(), a = H(), d = $();
|
178
|
+
async function _(e) {
|
179
|
+
X(
|
180
|
+
a,
|
181
|
+
"Terminal Unbind",
|
182
|
+
"Are you sure to unbind terminal from device? This action cannot be revert and device will be logged out!",
|
183
|
+
async () => {
|
184
|
+
var t;
|
185
|
+
try {
|
186
|
+
await A.unbind(e), (t = n.value) == null || t.reset(), d.open({
|
187
|
+
type: "success",
|
188
|
+
message: "Terminal unbind successfully"
|
189
|
+
});
|
190
|
+
} catch (m) {
|
191
|
+
d.open({
|
192
|
+
type: "error",
|
193
|
+
title: "Error occurs when unbind terminal",
|
194
|
+
message: N(m)
|
195
|
+
});
|
196
|
+
}
|
197
|
+
}
|
198
|
+
);
|
199
|
+
}
|
200
|
+
async function w(e) {
|
201
|
+
const t = await A.getBindCode(e);
|
202
|
+
a.open({
|
203
|
+
title: "Terminal Bind Code",
|
204
|
+
closeButton: !0,
|
205
|
+
overlay: !0,
|
206
|
+
contentComponent: ne,
|
207
|
+
contentComponentProps: { code: t }
|
208
|
+
});
|
209
|
+
}
|
210
|
+
async function T(e) {
|
211
|
+
a.open({
|
212
|
+
title: e ? "Update Terminal" : "Create New Terminal",
|
213
|
+
closeButton: !0,
|
214
|
+
overlay: !0,
|
215
|
+
contentComponent: le,
|
216
|
+
contentComponentProps: { terminal: e }
|
217
|
+
}).onPrimary(async (t) => {
|
218
|
+
var m;
|
219
|
+
a.close();
|
220
|
+
try {
|
221
|
+
await A.create(t), (m = n.value) == null || m.reset(), d.open({
|
222
|
+
type: "success",
|
223
|
+
message: e ? "Terminal udpated successfully" : "Terminal created successfully."
|
224
|
+
});
|
225
|
+
} catch (C) {
|
226
|
+
d.open({
|
227
|
+
type: "error",
|
228
|
+
title: "Error occurs when create terminal",
|
229
|
+
message: N(C)
|
230
|
+
});
|
231
|
+
}
|
232
|
+
});
|
233
|
+
}
|
234
|
+
const F = function(e) {
|
235
|
+
return {
|
236
|
+
id: e._id,
|
237
|
+
status: e.status,
|
238
|
+
referenceId: e.referenceId,
|
239
|
+
name: e.name,
|
240
|
+
deviceId: e.deviceId,
|
241
|
+
deviceType: e.deviceType,
|
242
|
+
updatedAt: Y(e.updatedAt).format("YYYY-MM-DD hh:mm:ss")
|
243
|
+
};
|
244
|
+
}, b = [
|
245
|
+
{
|
246
|
+
accessorKey: "id",
|
247
|
+
header: () => "Terminal ID",
|
248
|
+
meta: {
|
249
|
+
textAlign: "right"
|
250
|
+
},
|
251
|
+
cell: ({ cell: e, row: t }) => E(oe, { row: t, data: e.getValue() })
|
252
|
+
},
|
253
|
+
{
|
254
|
+
accessorKey: "deviceType",
|
255
|
+
header: () => "Device Type",
|
256
|
+
meta: {
|
257
|
+
textAlign: "left"
|
258
|
+
}
|
259
|
+
},
|
260
|
+
{
|
261
|
+
accessorKey: "name",
|
262
|
+
header: () => "Name",
|
263
|
+
meta: {
|
264
|
+
textAlign: "left"
|
265
|
+
}
|
266
|
+
},
|
267
|
+
{
|
268
|
+
accessorKey: "referenceId",
|
269
|
+
header: () => "Reference",
|
270
|
+
meta: {
|
271
|
+
textAlign: "left"
|
272
|
+
}
|
273
|
+
},
|
274
|
+
{
|
275
|
+
accessorKey: "deviceId",
|
276
|
+
header: () => "Bound Device Id",
|
277
|
+
meta: {
|
278
|
+
textAlign: "left"
|
279
|
+
}
|
280
|
+
},
|
281
|
+
{
|
282
|
+
accessorKey: "updatedAt",
|
283
|
+
header: () => "Last Updated",
|
284
|
+
meta: {
|
285
|
+
textAlign: "left"
|
286
|
+
}
|
287
|
+
},
|
288
|
+
{
|
289
|
+
accessorKey: "id",
|
290
|
+
header: () => "Actions",
|
291
|
+
meta: {
|
292
|
+
textAlign: "center"
|
293
|
+
},
|
294
|
+
cell: ({ row: e }) => {
|
295
|
+
var m;
|
296
|
+
const t = (m = n.value) == null ? void 0 : m.pageData().at(e.index);
|
297
|
+
return E(re, {
|
298
|
+
data: t,
|
299
|
+
onLink: () => w(t._id),
|
300
|
+
onUnlink: () => _(t._id),
|
301
|
+
onEdit: () => T(t)
|
302
|
+
});
|
303
|
+
}
|
304
|
+
}
|
305
|
+
], u = [
|
306
|
+
{
|
307
|
+
label: "POS",
|
308
|
+
value: "POS"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
label: "KIOSK",
|
312
|
+
value: "KIOSK"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
label: "TERMINAL",
|
316
|
+
value: "TERMINAL"
|
317
|
+
}
|
318
|
+
];
|
319
|
+
return (e, t) => {
|
320
|
+
const m = p("FmSearch"), C = p("FmSelect"), S = p("FmButton");
|
321
|
+
return f(), g(Q, {
|
322
|
+
title: "Terminals",
|
323
|
+
loading: !1
|
324
|
+
}, {
|
325
|
+
default: V(() => [
|
326
|
+
h("div", ie, [
|
327
|
+
h("div", se, [
|
328
|
+
v(m, {
|
329
|
+
"model-value": c(o),
|
330
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => K(o) ? o.value = i : null),
|
331
|
+
class: "mr-8",
|
332
|
+
label: "Search",
|
333
|
+
placeholder: "Search Terminals ..."
|
334
|
+
}, null, 8, ["model-value"]),
|
335
|
+
v(C, {
|
336
|
+
modelValue: c(r),
|
337
|
+
"onUpdate:modelValue": t[1] || (t[1] = (i) => K(r) ? r.value = i : null),
|
338
|
+
class: "ml-6 w-[180px]",
|
339
|
+
label: "Device",
|
340
|
+
items: u
|
341
|
+
}, null, 8, ["modelValue"])
|
342
|
+
]),
|
343
|
+
h("div", ce, [
|
344
|
+
v(S, {
|
345
|
+
label: "Create",
|
346
|
+
icon: "add",
|
347
|
+
onClick: t[2] || (t[2] = () => T())
|
348
|
+
})
|
349
|
+
])
|
350
|
+
]),
|
351
|
+
v(q, {
|
352
|
+
ref_key: "controller",
|
353
|
+
ref: n,
|
354
|
+
"column-defs": b,
|
355
|
+
"rows-defs": F,
|
356
|
+
paginate: (i, M) => c(A).read({ searchKey: c(o), deviceType: c(r), limit: i, cursor: M }),
|
357
|
+
onRowClick: t[3] || (t[3] = (i) => c(s).push({
|
358
|
+
name: "mf-payment-admin.terminal-setting",
|
359
|
+
params: {
|
360
|
+
terminalId: i._id
|
361
|
+
}
|
362
|
+
}))
|
363
|
+
}, null, 8, ["paginate"])
|
364
|
+
]),
|
365
|
+
_: 1
|
366
|
+
});
|
367
|
+
};
|
368
|
+
}
|
369
|
+
});
|
370
|
+
export {
|
371
|
+
xe as default
|
372
|
+
};
|