appmax-client-vue3 5.0.5 → 5.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AD-Ct_GVBfr-B0NgkhG-.js +16 -0
- package/dist/AE-DiMVenwy-BWQLa33w.js +16 -0
- package/dist/AF-DOrptOkS-Drc9XQJx.js +16 -0
- package/dist/AG-CzBMAtom-B-OlONmf.js +16 -0
- package/dist/AI-A2DnDGPS-DT91mX3i.js +16 -0
- package/dist/AL-BcGdPXjJ-DExFi-YT.js +16 -0
- package/dist/AM-BC_r4gTd-BDs6qIRD.js +16 -0
- package/dist/AO-D6GK49nd-U_dULeRN.js +16 -0
- package/dist/AQ-Eeziry42-C-Om7y7H.js +16 -0
- package/dist/AR-AbqVWszQ-CzpUNgQa.js +16 -0
- package/dist/AS-BWe_Gq8Z-CthlmMNh.js +16 -0
- package/dist/AT-b5CS9jSt-CuPm1E_i.js +16 -0
- package/dist/AU-BUbOyX6Q-C9GMMlR_.js +16 -0
- package/dist/AW-CjVdJTYe-D6MRykcI.js +16 -0
- package/dist/AX-lNtwEmw2-sxc5LzmD.js +16 -0
- package/dist/AZ-f8zSo9ut-DXmBVjN6.js +16 -0
- package/dist/AmBulletLegend-52gChigw.js +23 -0
- package/dist/AmCardV3-OdRs-z1j.js +22 -0
- package/dist/AmDoughnutChartAdapted-BhfBzb94.js +203 -0
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-BDpMkjAR.js +86 -0
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-mqLOhZ7-.js +40 -0
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-BP6CSyx6.js +46 -0
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-NdqTyzES.js +63 -0
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-D2zQmEN--ClK0lGCz.js +53 -0
- package/dist/AmLayoutFeedbackState-Di__llrB.js +48 -0
- package/dist/AmLayoutInnerData-BjksUdtP.js +162 -0
- package/dist/AmOutlineCard-BpHzJqpY.js +25 -0
- package/dist/AmSkeleton-CMDXffqv.js +35 -0
- package/dist/AmText-B4gSbZhe.js +33 -0
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-Bhh_sEoD.js +64 -0
- package/dist/ApiService-CMji3DZQ.js +11 -0
- package/dist/AppInstallationConfirmationPasswordModal-C9B3zwzU.js +535 -0
- package/dist/AppstoreAppView-CllOZV21.js +315 -0
- package/dist/AppstoreHomeView-m_1nQ_Jn.js +1372 -0
- package/dist/BA-BfV7_7RP-DOpAKJEN.js +16 -0
- package/dist/BB-CC4768VM-DiTttwLj.js +16 -0
- package/dist/BD-YQdTTbhg-iJ-Mpvi3.js +16 -0
- package/dist/BE-DUYoRyei-0WAiLDaR.js +16 -0
- package/dist/BF-XZRLkaHX-Cb9zOZhM.js +16 -0
- package/dist/BG-BAb8lAFP-0bfnaAWE.js +16 -0
- package/dist/BH-C1LTB8Fj-D37QTedm.js +16 -0
- package/dist/BI-RjDfMipp-9Mn-Qe4W.js +16 -0
- package/dist/BJ-DAv61IMB-I283Lwmn.js +16 -0
- package/dist/BL-CFW4iaQd-BjbmsrF6.js +16 -0
- package/dist/BM-DuK3dA1G-gP1iKSwy.js +16 -0
- package/dist/BN-BXHGopan-B13xheUo.js +16 -0
- package/dist/BO-CzuoErsx-BntOgWhV.js +16 -0
- package/dist/BQ-BO-BlM1Uin3-Dt8JnniZ.js +16 -0
- package/dist/BQ-SA-BninfeHy-BLUFQNxa.js +16 -0
- package/dist/BQ-SE-tq-mCvpl-BV5-RpVj.js +16 -0
- package/dist/BR-B1GEJ05L-C5ShOe7A.js +16 -0
- package/dist/BS-MeULPH4e-CeEaWwcm.js +16 -0
- package/dist/BT-BCfQJS6a-DGnUG4Oe.js +16 -0
- package/dist/BV-CfaYWvM--DeQOtQ9V.js +16 -0
- package/dist/BW-jYbPMHhQ-ByhXqunH.js +16 -0
- package/dist/BY-Ddffd2rT-BehXTId1.js +16 -0
- package/dist/BZ-B7mGW2Jg-9BCaVvvp.js +16 -0
- package/dist/BankAccountCrossborderNew.page-C28R_1Qd.js +152 -0
- package/dist/BankAccountList.page-CNeEpk4H.js +331 -0
- package/dist/BankAccountNew.page-BSpKrX5u.js +982 -0
- package/dist/CA-CHl-cqJL-XR0ndh4J.js +16 -0
- package/dist/CC-DSLZRwFz-DYEzvl09.js +16 -0
- package/dist/CD-D4NJYkQm-L5L9-fTb.js +16 -0
- package/dist/CF-DoxRpaA9-By8Pbyi3.js +16 -0
- package/dist/CG-Auzp6pC_-D-tyTP_M.js +16 -0
- package/dist/CH-B5eEo1aL-DYS_VO_S.js +16 -0
- package/dist/CI-DFfmdeVw-BhIa4094.js +16 -0
- package/dist/CK-CKWUhjXV-CZvjdIyd.js +16 -0
- package/dist/CL-Di6p-p6X-DzZ5YYia.js +16 -0
- package/dist/CM-B0ht31e3-eZzVc86A.js +16 -0
- package/dist/CN-CKHlOciI-BAkHzs2o.js +16 -0
- package/dist/CO-GBUkcePt-CLeWrjx0.js +16 -0
- package/dist/CR-Daw5JsjF-PjEtTToe.js +16 -0
- package/dist/CU-CVOkcTvR-BSNGrSk3.js +16 -0
- package/dist/CV-cyPoze-o-D9ajXnsp.js +16 -0
- package/dist/CW-Bt-Pwg4j-C_ex-Sdr.js +16 -0
- package/dist/CX-uhIZlYzy-D_-keHM6.js +16 -0
- package/dist/CY-un4rgwPX-CHTtlcGa.js +16 -0
- package/dist/CZ-equ-r4iN-CJH4b4uG.js +16 -0
- package/dist/CashoutAntecipateContent-Clo-RuSw.js +42 -0
- package/dist/ChargebackAnalytics-DVbiz8Yb.js +1701 -0
- package/dist/ChargebackDetail-Bou3b7Xl.js +3470 -0
- package/dist/ConfirmationModal-t8hM5cPb.js +105 -0
- package/dist/Create.page-B2GKeXaW.js +1409 -0
- package/dist/CreatePaymentLink-Cjs8mN-z.js +857 -0
- package/dist/DE-zx7UmJ-V-7dMw-Msl.js +16 -0
- package/dist/DJ-BN1kIFYT-CbAyhLrL.js +16 -0
- package/dist/DK-CrXXNH_h-Dq1c5oGn.js +16 -0
- package/dist/DM-B4nVdNww-B2H3SDw6.js +16 -0
- package/dist/DO-C7-NF2JD-Cx2irRLd.js +16 -0
- package/dist/DZ-DSDLbNRb-DLc6FwJb.js +16 -0
- package/dist/DashboardAmountDetailsContent-D8rXn6Xl.js +65 -0
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-Ch1-BrNn.js +151 -0
- package/dist/DashboardApprovalRateInternationalContent-D8Fh_qom.js +19 -0
- package/dist/DashboardApprovalRateNationalContent-CfqsP3qp.js +74 -0
- package/dist/DashboardCarouselContent-Cxaz7rsI.js +963 -0
- package/dist/DashboardDetailsContent-DkY9MfZ5.js +58 -0
- package/dist/DashboardHome-CUCswBCo.js +5399 -0
- package/dist/DetailSubscriptionRecurring-DuImJwB9.js +1314 -0
- package/dist/EC-C_bjTYWm-BL8ERFgH.js +16 -0
- package/dist/EE-CQIjuoWO-WiwMe9KP.js +16 -0
- package/dist/EG-Bs_BHfVR-CKQNWTMP.js +16 -0
- package/dist/EH-CnWam84F-HONgeWbu.js +16 -0
- package/dist/ER-Dcl4hJzq-CBMxH7o_.js +16 -0
- package/dist/ES-Bpj2gAdj-9ptGZPyp.js +16 -0
- package/dist/ET-Dm3q0Ruz-Dg6IdOKl.js +16 -0
- package/dist/ExternalPendenciesList-IGLpEq29.js +651 -0
- package/dist/FI-DCqfJeiQ-DL-SVIGO.js +16 -0
- package/dist/FJ-C6UrGUgI-qnFHKCfW.js +16 -0
- package/dist/FK-CAaec31K-glJ52JZI.js +16 -0
- package/dist/FM-Cf2SIJ7h-igGt5oAT.js +16 -0
- package/dist/FO-DBb4psBV-2QzUkoue.js +16 -0
- package/dist/FR-CFW4iaQd-CqWFOhyb.js +16 -0
- package/dist/FeatureFlagsPage-BByq3i15.js +271 -0
- package/dist/Form.page-PuqDs_X7.js +624 -0
- package/dist/GA-D3NTxgTl-DvcNJ6mb.js +16 -0
- package/dist/GB-ENG-Cmkg6Zq8-DWXBOxrA.js +16 -0
- package/dist/GB-NIR-DKszcfHi-DS25CVF2.js +16 -0
- package/dist/GB-SCT-BiivwJ71-CrZcARLd.js +16 -0
- package/dist/GB-UKM-DgMBd3ib-BVmXVj_N.js +16 -0
- package/dist/GB-WLS-DLoDy9iv-DoRBtf-B.js +16 -0
- package/dist/GD-Bs1d4We7-BD-iydvb.js +16 -0
- package/dist/GE-DXG9iLk5-8JnbPMFl.js +16 -0
- package/dist/GF-B20s5gtx-D3hYvm6d.js +16 -0
- package/dist/GG-BAyrpIoO-DjMoGh7J.js +16 -0
- package/dist/GH-v3jh5r1X-DNPhdhxH.js +16 -0
- package/dist/GI-D39Krd4s-DPVKm99b.js +16 -0
- package/dist/GL-BDd_W5AU-DDhgkiHH.js +16 -0
- package/dist/GM-BNEHspzj-DWXbb0So.js +16 -0
- package/dist/GN-DdIZ0X6d-B7qs0poY.js +16 -0
- package/dist/GP-CFW4iaQd-BM7uu9Nb.js +16 -0
- package/dist/GQ-CC3X6AMz-Xe_g5BIj.js +16 -0
- package/dist/GR-C_0rusTd-DN4T761r.js +16 -0
- package/dist/GS-Db5l22a1-6-LOnXot.js +16 -0
- package/dist/GT-BhbkqUft-D29H0S6W.js +16 -0
- package/dist/GU-C0HeItm1-bHm28Dme.js +16 -0
- package/dist/GW-BjLM1vg--V7NII1WT.js +16 -0
- package/dist/GY-BreBVlhN-C7UIbb3j.js +16 -0
- package/dist/Giftmax-CNZsCi3o.js +489 -0
- package/dist/HK-BZn9ZQGS-Diu8_by9.js +16 -0
- package/dist/HM-BUbOyX6Q-BRlNpGBX.js +16 -0
- package/dist/HN-D4wujIPC-DW_tdfoq.js +16 -0
- package/dist/HR-Jhi3QQ9F-CzxmuesC.js +16 -0
- package/dist/HT-MMjMjr-R-C15Kc3GY.js +16 -0
- package/dist/HU-CN5KmQ7F-BrTU16Hw.js +16 -0
- package/dist/Home-DhsliPG0.js +997 -0
- package/dist/Home.page-BwpG-OGu.js +499 -0
- package/dist/ID-hVVUTKNG-82XdiRzW.js +16 -0
- package/dist/IE-WN_vdKcS-CmW4Fa2I.js +16 -0
- package/dist/IL-D5Wr_Xxh-Be1qFTjW.js +16 -0
- package/dist/IM-B-putc0k-DmkrM6ss.js +16 -0
- package/dist/IN-CK40zbQD-CrQJh-f2.js +16 -0
- package/dist/IO-CdvLck7D-5Ph5rhlz.js +16 -0
- package/dist/IQ-f_9wyurt-Do8cCe-5.js +16 -0
- package/dist/IR-B0yfWttH-Dm_cdJaZ.js +16 -0
- package/dist/IS-Dvf-XQTq-DLQCV1Ib.js +16 -0
- package/dist/IT-uY7cjdFI-CbmvC392.js +16 -0
- package/dist/ImportTrackingCode-BXM-IZPv.js +1007 -0
- package/dist/InternalCompanyIssuesDetail-DRw8pYyq.js +862 -0
- package/dist/InternalCompanyList-CdIQ2bbK.js +351 -0
- package/dist/InternalPendencyDetail-D7DV_a_X.js +717 -0
- package/dist/JE-C95tN_VG-C5U6WhjP.js +16 -0
- package/dist/JM-zOuEwaB3-C0iegfzQ.js +16 -0
- package/dist/JO-Cq88rrOD-DaissPPf.js +16 -0
- package/dist/JP-5evXgWxq-BAXSCjAc.js +16 -0
- package/dist/KE-PHx0d97Z-RMCQkIpG.js +16 -0
- package/dist/KG-DT4JnieX-5IdOv33L.js +16 -0
- package/dist/KH-ChwV2WTT-BLgzTAqf.js +16 -0
- package/dist/KI-D212g4Lh-B3PFWtsa.js +16 -0
- package/dist/KM-mPVp7AKS-CB-p6Q4s.js +16 -0
- package/dist/KN-AdXLXICN-ByiILU9E.js +16 -0
- package/dist/KP-CC6UIrEF-B5A3gWd9.js +16 -0
- package/dist/KR-BtnmWR6C-BjPQjsgx.js +16 -0
- package/dist/KW-gqahWVaw-DWQdB3xi.js +16 -0
- package/dist/KY-DjIb70VQ-sTb3a8wH.js +16 -0
- package/dist/KZ-C_fRihiO-IfRJKBAH.js +16 -0
- package/dist/LA-KIULJHAb-C5ICo3_R.js +16 -0
- package/dist/LB-CrF8WJiI-D1KnKZaK.js +16 -0
- package/dist/LC-DGiHXm5V-B46fqsqM.js +16 -0
- package/dist/LI-BwB0b8M1-BWZ9mJw-.js +16 -0
- package/dist/LK-BOC44ZgS-CS7CAN9T.js +16 -0
- package/dist/LR-CWjRlWOZ-DJMxkvFv.js +16 -0
- package/dist/LS-B_EgU3p5-DxaDoEGk.js +16 -0
- package/dist/LT-BPyPiVx2-D96XpXEr.js +16 -0
- package/dist/LU-B-De6aB--CNyLqhm_.js +16 -0
- package/dist/LV-D2Ewe3XC-D1NbzjAK.js +16 -0
- package/dist/LY-D1TSt6YI-BzJlH-xI.js +16 -0
- package/dist/MA-QY5gm-vM-pEMpz4Uz.js +16 -0
- package/dist/MC-BjlCjfCP-B1moHhIT.js +16 -0
- package/dist/MD-rh-6rlSt-BjfBJ0rJ.js +16 -0
- package/dist/ME-D1euo0V2-82DZwMKL.js +16 -0
- package/dist/MF-CFW4iaQd-CmIk59Yf.js +16 -0
- package/dist/MG-ONnxn_5g-C8GUYrRG.js +16 -0
- package/dist/MH-B8oC_VMS-BlYuQ5PA.js +16 -0
- package/dist/MK-ByjICisj-D6CtfZCb.js +16 -0
- package/dist/ML-CKVAuhox-JOjeAqYW.js +16 -0
- package/dist/MM-doJuUjVT-Bj8lDl7J.js +16 -0
- package/dist/MN-BFP303GE-vip25PA8.js +16 -0
- package/dist/MO-Dp4PTSYU-3CNAIy5e.js +16 -0
- package/dist/MP-CqKsnjHV-DCYI9oHs.js +16 -0
- package/dist/MQ-CFW4iaQd-BFMTVQoF.js +16 -0
- package/dist/MR-D73q_PiY-DqXK0CxP.js +16 -0
- package/dist/MS-qhjKl9TO-Dtzn8rKb.js +16 -0
- package/dist/MT-CZjbs1U--DqalCKRr.js +16 -0
- package/dist/MU-D0EQOl0S-DQLgbGtU.js +16 -0
- package/dist/MV-BtwHRTMn-DWp0qMPr.js +16 -0
- package/dist/MW-CVnAR98j-D_43UAP7.js +16 -0
- package/dist/MX-C7vXnCDY-tnp1lbHy.js +16 -0
- package/dist/MY-DJcgH_o3-DYipQe7N.js +16 -0
- package/dist/MZ-BbLwl9DA-D77jBrez.js +16 -0
- package/dist/Max.page-Cyx0ogtT.js +879 -0
- package/dist/MostSoldCountries-CjjsiJHA.js +22 -0
- package/dist/NA-5FKNjRGT-BjaDRgqG.js +16 -0
- package/dist/NC-CFW4iaQd-Bagorfoc.js +16 -0
- package/dist/NE-DpLZJa7D-CEzy23OF.js +16 -0
- package/dist/NF-BT-wIfwf-ZZ_ntI_H.js +16 -0
- package/dist/NG-BAiR_q0H--FDJWMWe.js +16 -0
- package/dist/NI-DylPDojG-CD5c4t3P.js +16 -0
- package/dist/NL-iozeFKPM-D1KlRggb.js +16 -0
- package/dist/NO-CfaYWvM--gvzb0sEz.js +16 -0
- package/dist/NP-BGR_ZaqA-CQJTYavs.js +16 -0
- package/dist/NR-DHGW5Y3Q-CBswr0L3.js +16 -0
- package/dist/NU-CcpcSx_x-BOB3CJWK.js +16 -0
- package/dist/NZ-DDYt6DcJ-5RNlfucy.js +16 -0
- package/dist/OM-D6hiar1r-B0mmcUV5.js +16 -0
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-D0_gEBWQ.js +790 -0
- package/dist/OrderStatusChip-BE3PjteJ.js +30 -0
- package/dist/Orders.page-Djd-KP5A.js +1636 -0
- package/dist/OrdersChartDataContent-ePGVSzaT.js +221 -0
- package/dist/OrdersDetails.page-y05AA7kl.js +6194 -0
- package/dist/PA-Bi2blxjJ-Dp4vDAIG.js +16 -0
- package/dist/PE-D4DjQOlP-9LbsGquA.js +16 -0
- package/dist/PF-DmOSfnYB-DKrQnuZa.js +16 -0
- package/dist/PG-DeOlZ7TA-BXjJ5CTn.js +16 -0
- package/dist/PH-Dv4KdxU--CfCKyF6L.js +16 -0
- package/dist/PK-CRhM95F8-Bb9mOp2t.js +16 -0
- package/dist/PL-BIdMQAtx-Dw-OYGTm.js +16 -0
- package/dist/PM-BDa53dEz-CWw7ZOOZ.js +16 -0
- package/dist/PN-Csu7Dufn-CJHlnhyq.js +16 -0
- package/dist/PR-C_Acdbc_-DYPOduhX.js +16 -0
- package/dist/PS-Dmg0ofZr-Be701NUz.js +16 -0
- package/dist/PT-Bsck4nv8-MLSdS7tn.js +16 -0
- package/dist/PW-CBMqjpxh-C6Jek5Ze.js +16 -0
- package/dist/PY-Be6zNh15-ByUytKzc.js +16 -0
- package/dist/PaymentsLinks-KiELtIgJ.js +675 -0
- package/dist/QA-CZmcW85r-DAp46Hhe.js +16 -0
- package/dist/RE-CFW4iaQd-BrIp1vau.js +16 -0
- package/dist/RO-6H4O-gQF-Y0n3SQjv.js +16 -0
- package/dist/RS-DM7vMnHL-76n8wS4u.js +16 -0
- package/dist/RU-HqKQeTq2-D6bmmaHJ.js +16 -0
- package/dist/RW-DkH4VhfP-qZf9eN8n.js +16 -0
- package/dist/RecurringSubscription-ZQkCIk47.js +639 -0
- package/dist/RecurringSubscriptionDashView-j9_e79Vk.js +2051 -0
- package/dist/RefundChargeback-DX7mVtAd.js +97 -0
- package/dist/RiskPendenciesInternalService-WHk-ppNv.js +145 -0
- package/dist/SA-C2hBi4Lh-DJe7imc6.js +16 -0
- package/dist/SB-CBu9QLGP-Zm7rn3TY.js +16 -0
- package/dist/SC-CR6esM-V-Bo0A45g8.js +16 -0
- package/dist/SD-VCXqBHrW-Dc36ZkKw.js +16 -0
- package/dist/SE-DbI0jJm9-CqAlwaOd.js +16 -0
- package/dist/SG-DgprfMyV-CFbIh-wK.js +16 -0
- package/dist/SH-qhjKl9TO-BdwBOgTx.js +16 -0
- package/dist/SI-C3dA03Yk-CvfNW-ca.js +16 -0
- package/dist/SJ-CfaYWvM--Wmn4_5e9.js +16 -0
- package/dist/SK-CxbHN7aU-B6uC2yQk.js +16 -0
- package/dist/SL-GXAaRXng-zi1bLG3X.js +16 -0
- package/dist/SM-B2SteTdO-RLpKypGW.js +16 -0
- package/dist/SN-B7Q__Lx_-Djo-IO4C.js +16 -0
- package/dist/SO-Bnd5-U9z-BSkVHNoK.js +16 -0
- package/dist/SR-BHMDOkL2-BwwEXDkU.js +16 -0
- package/dist/SS-CsTgWca1-CV-Ynua3.js +16 -0
- package/dist/ST-DLqO0boT-DXEkEuGZ.js +16 -0
- package/dist/SV-DNZizmQg-C128vKse.js +16 -0
- package/dist/SX-DWuXjLwS-Db0eoKe-.js +16 -0
- package/dist/SY-DeOQEBum-Dk8H_N_8.js +16 -0
- package/dist/SZ-Bhe0qU5K-CgBFMF6-.js +16 -0
- package/dist/SalesRecovery-B4Thja2M.js +595 -0
- package/dist/SalesRecoveryIA-efVg4JC4.js +199 -0
- package/dist/SendCustomerRefundLinkPage-BuqIgKvN.js +137 -0
- package/dist/StatusDescriptionModal-CYNIOE1j.js +60 -0
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-c6yIqdJa.js +28 -0
- package/dist/TC-D5HTaKiF-ClAflBvq.js +16 -0
- package/dist/TD-DyIWvaGg-CVP03vAg.js +16 -0
- package/dist/TF-BRsv64iE-C0oaO6MU.js +16 -0
- package/dist/TG-OhNa5jmt-DMNgYBxF.js +16 -0
- package/dist/TH-F_ODV0JW-CpOL_sp1.js +16 -0
- package/dist/TJ-BFkbbSmN-Csmcaz0_.js +16 -0
- package/dist/TK-Ct75yy7V-CUazKMgf.js +16 -0
- package/dist/TL-BzqVkHGw-r23cAIYq.js +16 -0
- package/dist/TM-CCAvd8qV-DFrWqdHH.js +16 -0
- package/dist/TN-CmYqbPEz-B3pzWqH5.js +16 -0
- package/dist/TO-BQQk9Xq_-B3hOFwhw.js +16 -0
- package/dist/TR-_MKkCnUV-CichoDJ8.js +16 -0
- package/dist/TT-DoRURl1c-CueLLCZx.js +16 -0
- package/dist/TV-Dt8uZCP4-C08Vobx7.js +16 -0
- package/dist/TW-CvHugvex-ZCo88m_A.js +16 -0
- package/dist/TZ-RbwBgiwb-BKG3wtBA.js +16 -0
- package/dist/TestView-B9ORmp4t.js +14 -0
- package/dist/TopSellingProductsContent-CapF1pxR.js +80 -0
- package/dist/UA-BiXHPMqV-DeyLupeU.js +16 -0
- package/dist/UG--it_LhSj-34w5YImL.js +16 -0
- package/dist/UM-BFcTdeDD-B_L_MtPg.js +16 -0
- package/dist/US-BFcTdeDD-B_L_MtPg.js +16 -0
- package/dist/UY-C26Ndi4P-BRt4Luxu.js +16 -0
- package/dist/UZ-BK5ADwFW-D-rIbj3c.js +16 -0
- package/dist/UserIndicationsPage-KwXikhun.js +743 -0
- package/dist/VA-Cpq1n4yW-CQMrSw3o.js +16 -0
- package/dist/VC-D1Fjbog5-DS-_9LQx.js +16 -0
- package/dist/VE-CeM-hea7-CrLlGLy0.js +16 -0
- package/dist/VG-qhjKl9TO-pvooCb-6.js +16 -0
- package/dist/VI-C-kcu42_-BLh-tNOQ.js +16 -0
- package/dist/VN-2yoryeK1-CqyYI03S.js +16 -0
- package/dist/VU-CkLlsgzP-DFxfxPMN.js +16 -0
- package/dist/WF-BDa53dEz-C5kJ_Hhr.js +16 -0
- package/dist/WS-CNi2O6Qm-QmsKSXlr.js +16 -0
- package/dist/WhatsappPreview.vue_vue_type_script_setup_true_lang-_qUyhaRu.js +157 -0
- package/dist/WithdrawAdvance-BreZtAfY.js +17 -0
- package/dist/WithdrawBalanceStore-B10oLSa_.js +504 -0
- package/dist/WithdrawBankAccountStore-Du2udJuO.js +130 -0
- package/dist/WithdrawBlocked-CQydkcIq.js +133 -0
- package/dist/WithdrawCompanyStore-D9U__hkU.js +80 -0
- package/dist/WithdrawGuaranteeExtract-exYhE-Es.js +980 -0
- package/dist/WithdrawHome-CufaZ8P6.js +1843 -0
- package/dist/WithdrawHome-DEuMKuef.js +2448 -0
- package/dist/WithdrawInternational-BEdv9fhP.js +17 -0
- package/dist/WithdrawMaxStore-BvYFgsgf.js +375 -0
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-D95E4U9r.js +531 -0
- package/dist/WithdrawNoAccountWarning-DElpJnu6.js +233 -0
- package/dist/WithdrawPermissionGuard-cnhy_Vmo.js +338 -0
- package/dist/WithdrawRequest-CKjVx8V1.js +944 -0
- package/dist/WithdrawRequest-CLCKvxDw.js +17 -0
- package/dist/WithdrawRequestDetail-Crzbdmrz.js +284 -0
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-DjpMoI4R.js +937 -0
- package/dist/YE-DxPZysMs-24K9cWE_.js +16 -0
- package/dist/YT-BMJJ1U_T-GX_92h08.js +16 -0
- package/dist/ZA-BjQXS8mc-2n92DpNr.js +16 -0
- package/dist/ZM-Dw0PmMTO-DYwTJ-oI.js +16 -0
- package/dist/ZW-D0UStZMr-DeU_fV34.js +16 -0
- package/dist/affiliate-Bgt9fadK-5bY5P5wZ.js +22 -0
- package/dist/amex-CvNwRHhS-DUMkjlF6.js +16 -0
- package/dist/api-BHFKG5kE.js +11 -0
- package/dist/apple_pay-DtsAzVjF-DCZOAMPl.js +20 -0
- package/dist/archive-CFoPOir7-D1aNQGjF.js +18 -0
- package/dist/aura-D1VyKb6w-l-eJYNis.js +23 -0
- package/dist/boleto-BQZRi0Q5-BLTcSl2i.js +18 -0
- package/dist/box-DNrK38w2-CFIqdJZh.js +20 -0
- package/dist/cart-p5jccB8o-C05mkOt6.js +15 -0
- package/dist/cash-FZcelZV1-4OwwN_xB.js +20 -0
- package/dist/chart-YJ27XOr3-C63Tzu7L.js +22 -0
- package/dist/credit_card-CGrPYCJP-DItpwjaI.js +15 -0
- package/dist/csv-CYa6aPS5-Ce33Pjpr.js +18 -0
- package/dist/dayjs.min-ClXij-Xt.js +282 -0
- package/dist/diners-CN_1suUM-CC8r2OUJ.js +26 -0
- package/dist/discover-vVTOFEvv-BdQ28MnO.js +22 -0
- package/dist/ds-appmax-v322-BTOsNt2U.js +52 -0
- package/dist/ds-appmax-v327-CC7Euamf.js +69 -0
- package/dist/ds-appmax-v330-BDkt8A9-.js +48 -0
- package/dist/ds-appmax-v335-CCAR448_.js +278 -0
- package/dist/elo-BaNbqhYS-COc7gztu.js +15 -0
- package/dist/gear-BHOWpd7b-D52qwW1h.js +18 -0
- package/dist/grid-B7I0mWry-BOSWv5Bq.js +18 -0
- package/dist/hipercard-DBsszwxC-DzTjYDjh.js +22 -0
- package/dist/index-6NiIamsC.js +169 -0
- package/dist/index-B36N6Yug.js +21 -0
- package/dist/index-B6sx5tS0.js +681 -0
- package/dist/index-BE3koNgQ.js +153 -0
- package/dist/index-BPRKiT2E.js +1567 -0
- package/dist/index-Ba4eG-wb.js +409 -0
- package/dist/index-BjIAV-_B.js +200 -0
- package/dist/index-BmVzDTsI.js +83 -0
- package/dist/index-BmcmU6h2.js +92 -0
- package/dist/index-BnmIJFy7.js +67 -0
- package/dist/index-Brv2oJ9J.js +159 -0
- package/dist/index-C-vsON6x.js +106 -0
- package/dist/index-C5SstnrR.js +9812 -0
- package/dist/index-C9MhOAEc.js +35 -0
- package/dist/index-CLH-Zm7T.js +217 -0
- package/dist/index-CNqlIVuO.js +21 -0
- package/dist/index-COnpfUWj.js +332 -0
- package/dist/index-C_nDhPn6.js +219 -0
- package/dist/index-CoSm6RqN.js +961 -0
- package/dist/index-Cz7X93CO.js +1433 -0
- package/dist/index-D0Iyih-u.js +62 -0
- package/dist/index-D19d5hP5.js +1790 -0
- package/dist/index-D1Jdc6lH.js +219 -0
- package/dist/index-D9qqQcAS.js +28 -0
- package/dist/index-DMwoKY6I.js +721 -0
- package/dist/index-DVf0M0X7.js +117 -0
- package/dist/index-DY1YUNXf.js +230 -0
- package/dist/index-DctdjrrX.js +150 -0
- package/dist/index-QxWV09ws.js +11 -0
- package/dist/index-UdcUM2la.js +275 -0
- package/dist/index-dkBrO_eE.js +4133 -0
- package/dist/index-fOdzX3fu.js +18 -0
- package/dist/index-qdDNTlkJ.js +808 -0
- package/dist/index-smItj_5Q.js +534 -0
- package/dist/index.page-DfhxfDjo.js +828 -0
- package/dist/infos-8KGPLXoE-D6f9AKqY.js +18 -0
- package/dist/integrations-UOltVEyj-CEVUBcXa.js +19 -0
- package/dist/logs-Ce3fZY0v-Ex6uqIkv.js +28 -0
- package/dist/maestro-BMomgHxO-Bf54492K.js +27 -0
- package/dist/main-ByGSHXk8.js +103911 -0
- package/dist/main.js +1 -1
- package/dist/mastercard-5I-dcOVV-Cj2v1tDT.js +30 -0
- package/dist/max_brand-Crj-SFUw-DkFK9sxk.js +29 -0
- package/dist/max_brand_active-BIkS5qkP-D3JuiklW.js +27 -0
- package/dist/max_brand_negative-BxvdIegN-BRUDl9NE.js +30 -0
- package/dist/menu.page-BbGUxE5c.js +274 -0
- package/dist/money-DZpB5eTf-Cjkac9KR.js +19 -0
- package/dist/notification-DMezLtAj-Zozt1Wp3.js +18 -0
- package/dist/paypal-DMYjfEw0-BJyNR6z7.js +15 -0
- package/dist/pix-DXdX91yj-B1TvKMJy.js +22 -0
- package/dist/pix_outline-D_xXXgCN-lieqG0_X.js +16 -0
- package/dist/pusher-DcXz3HV4.js +4010 -0
- package/dist/shield-DS-Xf4WH-_rsUOWgL.js +15 -0
- package/dist/solid_help-DNaqfgoc-CpeV4e88.js +20 -0
- package/dist/solid_home-BDUiJDVY-wsmI7UJu.js +18 -0
- package/dist/solid_leaderboard-DtqK7q9Y-B5MK1oI0.js +18 -0
- package/dist/solid_store-Cfv6o4b8-Wr1GF8us.js +18 -0
- package/dist/ticket_icon-DwvyLm7c-BWWC5xqD.js +22 -0
- package/dist/useQueryFilter-Bgv4dMQj.js +93 -0
- package/dist/useRecurringTable-DN0kS1P6.js +161 -0
- package/dist/user-BRpwqYx8-D9-Kz0tC.js +18 -0
- package/dist/validateURL.helper-BvsbRkbu.js +126 -0
- package/dist/visa-tPjWcMbi-BE0B6z8I.js +18 -0
- package/package.json +1 -1
- package/dist/AD-Ct_GVBfr-ZHnFG572.js +0 -16
- package/dist/AE-DiMVenwy-reVP-1l3.js +0 -16
- package/dist/AF-DOrptOkS-akfgdbFW.js +0 -16
- package/dist/AG-CzBMAtom-CMyogGjh.js +0 -16
- package/dist/AI-A2DnDGPS-C60QJFCu.js +0 -16
- package/dist/AL-BcGdPXjJ-C4F26NEJ.js +0 -16
- package/dist/AM-BC_r4gTd-iVSRpOAA.js +0 -16
- package/dist/AO-D6GK49nd-Cl3_ataN.js +0 -16
- package/dist/AQ-Eeziry42-C9oEdTtK.js +0 -16
- package/dist/AR-AbqVWszQ-DKyWi9x-.js +0 -16
- package/dist/AS-BWe_Gq8Z-BISiIybd.js +0 -16
- package/dist/AT-b5CS9jSt-EUZoGyN5.js +0 -16
- package/dist/AU-BUbOyX6Q-DNB7wfyq.js +0 -16
- package/dist/AW-CjVdJTYe-DgojcJsP.js +0 -16
- package/dist/AX-lNtwEmw2-sKfiSl0t.js +0 -16
- package/dist/AZ-f8zSo9ut-C8Gu7Jyx.js +0 -16
- package/dist/AmBulletLegend-BnM9Oi6R.js +0 -23
- package/dist/AmCardV3-DZb0ysAj.js +0 -22
- package/dist/AmDoughnutChartAdapted-BGrzQQNH.js +0 -203
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-C_VuyHqW.js +0 -86
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-wGb75Qqp.js +0 -40
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-BRzs5eOo.js +0 -46
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-DoJjuKYL.js +0 -63
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-D2zQmEN--Cva00VVo.js +0 -53
- package/dist/AmLayoutFeedbackState-Er7MgbVp.js +0 -48
- package/dist/AmLayoutInnerData-BZiSPOXh.js +0 -162
- package/dist/AmOutlineCard-VH6UEoDy.js +0 -25
- package/dist/AmSkeleton-BCCCnLI5.js +0 -35
- package/dist/AmText-Bgou6ucj.js +0 -33
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-DcAOl67a.js +0 -64
- package/dist/ApiService-tmWh9Luj.js +0 -11
- package/dist/AppInstallationConfirmationPasswordModal-CkEXVIyO.js +0 -535
- package/dist/AppstoreAppView-LYNVODTz.js +0 -315
- package/dist/AppstoreHomeView-Cyn7b1rz.js +0 -1372
- package/dist/BA-BfV7_7RP-BTplySGZ.js +0 -16
- package/dist/BB-CC4768VM-UADE_vP8.js +0 -16
- package/dist/BD-YQdTTbhg-pbzcVWhb.js +0 -16
- package/dist/BE-DUYoRyei-DD-OaOQc.js +0 -16
- package/dist/BF-XZRLkaHX-BqWmFB3K.js +0 -16
- package/dist/BG-BAb8lAFP-m2thCAS9.js +0 -16
- package/dist/BH-C1LTB8Fj-BNKkNbg8.js +0 -16
- package/dist/BI-RjDfMipp-BjC_mW-f.js +0 -16
- package/dist/BJ-DAv61IMB-RyF8vLU_.js +0 -16
- package/dist/BL-CFW4iaQd-DP8i_ZUh.js +0 -16
- package/dist/BM-DuK3dA1G-Ckt-nDK6.js +0 -16
- package/dist/BN-BXHGopan-BY81lGFl.js +0 -16
- package/dist/BO-CzuoErsx-MDKzJq-P.js +0 -16
- package/dist/BQ-BO-BlM1Uin3-_JeDLCsJ.js +0 -16
- package/dist/BQ-SA-BninfeHy-dOBsx4LJ.js +0 -16
- package/dist/BQ-SE-tq-mCvpl-D9vl4KZL.js +0 -16
- package/dist/BR-B1GEJ05L-g-lH7CC1.js +0 -16
- package/dist/BS-MeULPH4e-axgfknNu.js +0 -16
- package/dist/BT-BCfQJS6a-CYx60sqd.js +0 -16
- package/dist/BV-CfaYWvM--DMzJ7ae-.js +0 -16
- package/dist/BW-jYbPMHhQ-xV_UOgIV.js +0 -16
- package/dist/BY-Ddffd2rT-DvO4Hoqm.js +0 -16
- package/dist/BZ-B7mGW2Jg-XvDymHpq.js +0 -16
- package/dist/BankAccountCrossborderNew.page-C8IxUj4w.js +0 -152
- package/dist/BankAccountList.page-Bf_vC_1q.js +0 -331
- package/dist/BankAccountNew.page-BkB9bVZh.js +0 -982
- package/dist/CA-CHl-cqJL-7ZuPjzLh.js +0 -16
- package/dist/CC-DSLZRwFz-CAm7w6lW.js +0 -16
- package/dist/CD-D4NJYkQm-5gkA6dQN.js +0 -16
- package/dist/CF-DoxRpaA9-fM9jEvMP.js +0 -16
- package/dist/CG-Auzp6pC_-Ce_pRmRK.js +0 -16
- package/dist/CH-B5eEo1aL-AWph0QWL.js +0 -16
- package/dist/CI-DFfmdeVw-BLj5jn7F.js +0 -16
- package/dist/CK-CKWUhjXV-DXsvgLzD.js +0 -16
- package/dist/CL-Di6p-p6X-CZ16MURn.js +0 -16
- package/dist/CM-B0ht31e3-N9Wl4k73.js +0 -16
- package/dist/CN-CKHlOciI-DcZs0emX.js +0 -16
- package/dist/CO-GBUkcePt-qCp_YexO.js +0 -16
- package/dist/CR-Daw5JsjF-CXFLMjW_.js +0 -16
- package/dist/CU-CVOkcTvR-CO3rRcvZ.js +0 -16
- package/dist/CV-cyPoze-o-CFPgdhLb.js +0 -16
- package/dist/CW-Bt-Pwg4j-vJMQLOrt.js +0 -16
- package/dist/CX-uhIZlYzy-Cyt1nEcU.js +0 -16
- package/dist/CY-un4rgwPX-CLkoECd0.js +0 -16
- package/dist/CZ-equ-r4iN-Tc9Hdk9J.js +0 -16
- package/dist/CashoutAntecipateContent-gO3Idrro.js +0 -42
- package/dist/ChargebackAnalytics-54gU0dMR.js +0 -1701
- package/dist/ChargebackDetail-BTUaNeKr.js +0 -3470
- package/dist/ConfirmationModal-CIP6hL66.js +0 -105
- package/dist/Create.page-D8PZtk3Q.js +0 -1409
- package/dist/CreatePaymentLink-bmwNpTES.js +0 -857
- package/dist/DE-zx7UmJ-V-BtL-Bl_e.js +0 -16
- package/dist/DJ-BN1kIFYT-D3h6267O.js +0 -16
- package/dist/DK-CrXXNH_h-hnjoHzF0.js +0 -16
- package/dist/DM-B4nVdNww-DBZfUxYc.js +0 -16
- package/dist/DO-C7-NF2JD-JGwx0HQU.js +0 -16
- package/dist/DZ-DSDLbNRb-rbQCJk4n.js +0 -16
- package/dist/DashboardAmountDetailsContent-D9Fmkzw2.js +0 -65
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-BJcAftcj.js +0 -151
- package/dist/DashboardApprovalRateInternationalContent-wtebMmg7.js +0 -19
- package/dist/DashboardApprovalRateNationalContent-CHE-yiBX.js +0 -74
- package/dist/DashboardCarouselContent-DIhOcaew.js +0 -963
- package/dist/DashboardDetailsContent-WM6wGJaK.js +0 -58
- package/dist/DashboardHome-D1y6NrPU.js +0 -5399
- package/dist/DetailSubscriptionRecurring-YQ4CCGpa.js +0 -1314
- package/dist/EC-C_bjTYWm-CrNdKoHD.js +0 -16
- package/dist/EE-CQIjuoWO-DXUAqSsa.js +0 -16
- package/dist/EG-Bs_BHfVR-CctbuufB.js +0 -16
- package/dist/EH-CnWam84F-CAsRIEu2.js +0 -16
- package/dist/ER-Dcl4hJzq-IBjZENyQ.js +0 -16
- package/dist/ES-Bpj2gAdj-DPZ8Iynd.js +0 -16
- package/dist/ET-Dm3q0Ruz-DrPXEfgi.js +0 -16
- package/dist/ExternalPendenciesList-C65RHOsm.js +0 -651
- package/dist/FI-DCqfJeiQ-CYcsbx1H.js +0 -16
- package/dist/FJ-C6UrGUgI-C88l12sK.js +0 -16
- package/dist/FK-CAaec31K-BbZ-asUM.js +0 -16
- package/dist/FM-Cf2SIJ7h-BQu-bZWn.js +0 -16
- package/dist/FO-DBb4psBV-LPaUXt4P.js +0 -16
- package/dist/FR-CFW4iaQd-B0nOX2X5.js +0 -16
- package/dist/FeatureFlagsPage-NVlznv1_.js +0 -271
- package/dist/Form.page-CDgti815.js +0 -624
- package/dist/GA-D3NTxgTl-B4cdaxuV.js +0 -16
- package/dist/GB-ENG-Cmkg6Zq8-BxUNqUUO.js +0 -16
- package/dist/GB-NIR-DKszcfHi-D-qROgRZ.js +0 -16
- package/dist/GB-SCT-BiivwJ71-BOP7hPOJ.js +0 -16
- package/dist/GB-UKM-DgMBd3ib-DL_6YF15.js +0 -16
- package/dist/GB-WLS-DLoDy9iv-Q3Dl4EPl.js +0 -16
- package/dist/GD-Bs1d4We7-B7NKmacS.js +0 -16
- package/dist/GE-DXG9iLk5-C5Q19P-4.js +0 -16
- package/dist/GF-B20s5gtx-C4CuKu2O.js +0 -16
- package/dist/GG-BAyrpIoO-DlCDv0JN.js +0 -16
- package/dist/GH-v3jh5r1X-9TB3aeL0.js +0 -16
- package/dist/GI-D39Krd4s-1uKHDOHF.js +0 -16
- package/dist/GL-BDd_W5AU-DwDY_inu.js +0 -16
- package/dist/GM-BNEHspzj-DEs-WpB6.js +0 -16
- package/dist/GN-DdIZ0X6d-DWBLqAFy.js +0 -16
- package/dist/GP-CFW4iaQd-CiBDAlzw.js +0 -16
- package/dist/GQ-CC3X6AMz-Cds7d5l9.js +0 -16
- package/dist/GR-C_0rusTd-Zkcw__PQ.js +0 -16
- package/dist/GS-Db5l22a1-6xHqTGwX.js +0 -16
- package/dist/GT-BhbkqUft-DrQ2amRO.js +0 -16
- package/dist/GU-C0HeItm1-2dm5fL9y.js +0 -16
- package/dist/GW-BjLM1vg--BD4mwZEC.js +0 -16
- package/dist/GY-BreBVlhN-D-JZluyo.js +0 -16
- package/dist/Giftmax-Bbs_oDFL.js +0 -489
- package/dist/HK-BZn9ZQGS-BimSB0BW.js +0 -16
- package/dist/HM-BUbOyX6Q-B1qoTEE6.js +0 -16
- package/dist/HN-D4wujIPC-D5pDJqIf.js +0 -16
- package/dist/HR-Jhi3QQ9F-BK2JbBc6.js +0 -16
- package/dist/HT-MMjMjr-R-C_6K6lMi.js +0 -16
- package/dist/HU-CN5KmQ7F-DMGoCT3V.js +0 -16
- package/dist/Home-Cap3B4lq.js +0 -997
- package/dist/Home.page-PGhHcn7P.js +0 -499
- package/dist/ID-hVVUTKNG-DvdMNf7P.js +0 -16
- package/dist/IE-WN_vdKcS-CNKSF1SK.js +0 -16
- package/dist/IL-D5Wr_Xxh-DmunIJJq.js +0 -16
- package/dist/IM-B-putc0k-DzLLAUzf.js +0 -16
- package/dist/IN-CK40zbQD-gL07pKp4.js +0 -16
- package/dist/IO-CdvLck7D-CZ6OaqaU.js +0 -16
- package/dist/IQ-f_9wyurt-BfCF-6Xp.js +0 -16
- package/dist/IR-B0yfWttH-DPov0r8r.js +0 -16
- package/dist/IS-Dvf-XQTq-FSib3OAq.js +0 -16
- package/dist/IT-uY7cjdFI-DLS9G0P1.js +0 -16
- package/dist/ImportTrackingCode-VMA_fT_9.js +0 -1007
- package/dist/InternalCompanyIssuesDetail-CXKAxtv4.js +0 -862
- package/dist/InternalCompanyList-CepPeRYX.js +0 -351
- package/dist/InternalPendencyDetail-CIk4DbYB.js +0 -717
- package/dist/JE-C95tN_VG-Ci7AKuNN.js +0 -16
- package/dist/JM-zOuEwaB3-BJ_T7Ooz.js +0 -16
- package/dist/JO-Cq88rrOD-BFjovV6z.js +0 -16
- package/dist/JP-5evXgWxq-Bb1acpj0.js +0 -16
- package/dist/KE-PHx0d97Z-CEvYxR__.js +0 -16
- package/dist/KG-DT4JnieX-DfgYC2mM.js +0 -16
- package/dist/KH-ChwV2WTT-ByLg8Lr5.js +0 -16
- package/dist/KI-D212g4Lh-F_eutd_F.js +0 -16
- package/dist/KM-mPVp7AKS-DMetB1Jq.js +0 -16
- package/dist/KN-AdXLXICN-CXFY7VO6.js +0 -16
- package/dist/KP-CC6UIrEF-B26mIG_d.js +0 -16
- package/dist/KR-BtnmWR6C-D1UIFSyD.js +0 -16
- package/dist/KW-gqahWVaw-BNkABrBy.js +0 -16
- package/dist/KY-DjIb70VQ-BYhKlany.js +0 -16
- package/dist/KZ-C_fRihiO-CvQePTDw.js +0 -16
- package/dist/LA-KIULJHAb-DWQ6rS8H.js +0 -16
- package/dist/LB-CrF8WJiI-DMNENaWm.js +0 -16
- package/dist/LC-DGiHXm5V-CxxpTR3q.js +0 -16
- package/dist/LI-BwB0b8M1-OyWj_Vcw.js +0 -16
- package/dist/LK-BOC44ZgS-CdmZdAkG.js +0 -16
- package/dist/LR-CWjRlWOZ-BaWXK7PB.js +0 -16
- package/dist/LS-B_EgU3p5-DUACmVLy.js +0 -16
- package/dist/LT-BPyPiVx2-CdC2xww7.js +0 -16
- package/dist/LU-B-De6aB--Bwy7ERdE.js +0 -16
- package/dist/LV-D2Ewe3XC-CKdpRuY-.js +0 -16
- package/dist/LY-D1TSt6YI-TsHEd9C3.js +0 -16
- package/dist/MA-QY5gm-vM-DCJVqOyi.js +0 -16
- package/dist/MC-BjlCjfCP-CaoVqWF7.js +0 -16
- package/dist/MD-rh-6rlSt-Dx3ejq6D.js +0 -16
- package/dist/ME-D1euo0V2-C1Z-PklD.js +0 -16
- package/dist/MF-CFW4iaQd-Bn5IWb17.js +0 -16
- package/dist/MG-ONnxn_5g-pXdAZ0jC.js +0 -16
- package/dist/MH-B8oC_VMS-DFzBegeN.js +0 -16
- package/dist/MK-ByjICisj-B4iCVLKa.js +0 -16
- package/dist/ML-CKVAuhox-xde0x8eR.js +0 -16
- package/dist/MM-doJuUjVT-tudHTfVY.js +0 -16
- package/dist/MN-BFP303GE-DAdXb0ka.js +0 -16
- package/dist/MO-Dp4PTSYU-CvlPHAfC.js +0 -16
- package/dist/MP-CqKsnjHV-h5Y-wDPB.js +0 -16
- package/dist/MQ-CFW4iaQd-BCEkebpg.js +0 -16
- package/dist/MR-D73q_PiY-CYY-y3Rx.js +0 -16
- package/dist/MS-qhjKl9TO-CPUwH0RI.js +0 -16
- package/dist/MT-CZjbs1U--BDqIDBGX.js +0 -16
- package/dist/MU-D0EQOl0S-DgLBXkdn.js +0 -16
- package/dist/MV-BtwHRTMn-Vd5sQHlh.js +0 -16
- package/dist/MW-CVnAR98j-CbE99u68.js +0 -16
- package/dist/MX-C7vXnCDY-C_bflPbl.js +0 -16
- package/dist/MY-DJcgH_o3-kDB_8YBV.js +0 -16
- package/dist/MZ-BbLwl9DA-CNT6x7X0.js +0 -16
- package/dist/Max.page-G7f9zgQT.js +0 -879
- package/dist/MostSoldCountries-DQropTJJ.js +0 -22
- package/dist/NA-5FKNjRGT-p8Y7Up0r.js +0 -16
- package/dist/NC-CFW4iaQd-CaT1braJ.js +0 -16
- package/dist/NE-DpLZJa7D-BWWSW-W5.js +0 -16
- package/dist/NF-BT-wIfwf-CRD_7vPl.js +0 -16
- package/dist/NG-BAiR_q0H-7CnIPAPy.js +0 -16
- package/dist/NI-DylPDojG-CFw6mskm.js +0 -16
- package/dist/NL-iozeFKPM-BoXJqAAD.js +0 -16
- package/dist/NO-CfaYWvM--CIuQsaus.js +0 -16
- package/dist/NP-BGR_ZaqA-9ycFpEab.js +0 -16
- package/dist/NR-DHGW5Y3Q-BVSFu5_o.js +0 -16
- package/dist/NU-CcpcSx_x-BsAWhyIo.js +0 -16
- package/dist/NZ-DDYt6DcJ-BCwyTJl4.js +0 -16
- package/dist/OM-D6hiar1r-BsQhq2fi.js +0 -16
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-DbB1phfn.js +0 -790
- package/dist/OrderStatusChip-VeoeMcwX.js +0 -30
- package/dist/Orders.page-D4rMbwbs.js +0 -1636
- package/dist/OrdersChartDataContent-B3BVjcBk.js +0 -221
- package/dist/OrdersDetails.page-CdMRlTZG.js +0 -6194
- package/dist/PA-Bi2blxjJ-C2H_BXUT.js +0 -16
- package/dist/PE-D4DjQOlP-CZnbzSpU.js +0 -16
- package/dist/PF-DmOSfnYB-BuiyoxBs.js +0 -16
- package/dist/PG-DeOlZ7TA-v2H_OCsU.js +0 -16
- package/dist/PH-Dv4KdxU---T2q15Za.js +0 -16
- package/dist/PK-CRhM95F8-BRVUhOVI.js +0 -16
- package/dist/PL-BIdMQAtx-BZQw_oZ4.js +0 -16
- package/dist/PM-BDa53dEz-BrYi3D4K.js +0 -16
- package/dist/PN-Csu7Dufn-B7iQtF6G.js +0 -16
- package/dist/PR-C_Acdbc_-C_jF9BW6.js +0 -16
- package/dist/PS-Dmg0ofZr-DI5oLgVe.js +0 -16
- package/dist/PT-Bsck4nv8-FgBdqGCf.js +0 -16
- package/dist/PW-CBMqjpxh-BC4pHR1n.js +0 -16
- package/dist/PY-Be6zNh15-B-ob9Bmj.js +0 -16
- package/dist/PaymentsLinks-pWcwjq8j.js +0 -675
- package/dist/QA-CZmcW85r-D9kVfcuM.js +0 -16
- package/dist/RE-CFW4iaQd-CtF2KLiS.js +0 -16
- package/dist/RO-6H4O-gQF-iKSq13vy.js +0 -16
- package/dist/RS-DM7vMnHL-8FO5zGIc.js +0 -16
- package/dist/RU-HqKQeTq2-CUDlPbe8.js +0 -16
- package/dist/RW-DkH4VhfP-Csx3YLJH.js +0 -16
- package/dist/RecurringSubscription-CEP95Nmh.js +0 -639
- package/dist/RecurringSubscriptionDashView-BlGbdHkt.js +0 -2051
- package/dist/RefundChargeback-DizDvun7.js +0 -97
- package/dist/RiskPendenciesInternalService-K_MgblcC.js +0 -145
- package/dist/SA-C2hBi4Lh-CnjHRNpV.js +0 -16
- package/dist/SB-CBu9QLGP-SyEyyf4t.js +0 -16
- package/dist/SC-CR6esM-V-hvY5Wddd.js +0 -16
- package/dist/SD-VCXqBHrW-69lfaLye.js +0 -16
- package/dist/SE-DbI0jJm9-DH04CuH4.js +0 -16
- package/dist/SG-DgprfMyV-DSPkZB7-.js +0 -16
- package/dist/SH-qhjKl9TO-CND5QsOJ.js +0 -16
- package/dist/SI-C3dA03Yk-DaLTdL0l.js +0 -16
- package/dist/SJ-CfaYWvM--CTheCjUX.js +0 -16
- package/dist/SK-CxbHN7aU-B31hWNOp.js +0 -16
- package/dist/SL-GXAaRXng-CODV0i5N.js +0 -16
- package/dist/SM-B2SteTdO-CZjKuBSx.js +0 -16
- package/dist/SN-B7Q__Lx_-BmpmYv4-.js +0 -16
- package/dist/SO-Bnd5-U9z-CpooOd6I.js +0 -16
- package/dist/SR-BHMDOkL2-0GsFQ5Ry.js +0 -16
- package/dist/SS-CsTgWca1-B_9758Oq.js +0 -16
- package/dist/ST-DLqO0boT-CxxskZ8z.js +0 -16
- package/dist/SV-DNZizmQg-CWEaJmSP.js +0 -16
- package/dist/SX-DWuXjLwS-D23b6mCp.js +0 -16
- package/dist/SY-DeOQEBum-BQr-F77v.js +0 -16
- package/dist/SZ-Bhe0qU5K-FvASQenf.js +0 -16
- package/dist/SalesRecovery-DbPRrWNv.js +0 -595
- package/dist/SalesRecoveryIA-BbvDwMkG.js +0 -199
- package/dist/SendCustomerRefundLinkPage-DplveIe4.js +0 -137
- package/dist/StatusDescriptionModal-BYBluHV7.js +0 -60
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-Bq4x1BUk.js +0 -28
- package/dist/TC-D5HTaKiF-CCboelzC.js +0 -16
- package/dist/TD-DyIWvaGg-CG9P0Eqm.js +0 -16
- package/dist/TF-BRsv64iE-DJYTEy1j.js +0 -16
- package/dist/TG-OhNa5jmt-Dx-pP9Gx.js +0 -16
- package/dist/TH-F_ODV0JW-7VnsAlMv.js +0 -16
- package/dist/TJ-BFkbbSmN-CxGhCTEl.js +0 -16
- package/dist/TK-Ct75yy7V-Bl3QMFcz.js +0 -16
- package/dist/TL-BzqVkHGw-DuLoSAP3.js +0 -16
- package/dist/TM-CCAvd8qV-ClyPeUyR.js +0 -16
- package/dist/TN-CmYqbPEz-KuRk5Yg-.js +0 -16
- package/dist/TO-BQQk9Xq_-lNFfWx_I.js +0 -16
- package/dist/TR-_MKkCnUV-BAbygWJ6.js +0 -16
- package/dist/TT-DoRURl1c-C8CNOMVt.js +0 -16
- package/dist/TV-Dt8uZCP4-BfJ8puOH.js +0 -16
- package/dist/TW-CvHugvex-gV_viZY4.js +0 -16
- package/dist/TZ-RbwBgiwb-Cnn8eUhe.js +0 -16
- package/dist/TestView-CcTMjwj0.js +0 -14
- package/dist/TopSellingProductsContent-C0c-l_9J.js +0 -80
- package/dist/UA-BiXHPMqV-DySv5NQS.js +0 -16
- package/dist/UG--it_LhSj-BvL-dQ_T.js +0 -16
- package/dist/UM-BFcTdeDD-fm-kYFW-.js +0 -16
- package/dist/US-BFcTdeDD-fm-kYFW-.js +0 -16
- package/dist/UY-C26Ndi4P-BaifqWgN.js +0 -16
- package/dist/UZ-BK5ADwFW-DFjedA5D.js +0 -16
- package/dist/UserIndicationsPage-UL8aMVWK.js +0 -743
- package/dist/VA-Cpq1n4yW-BaqAIkLY.js +0 -16
- package/dist/VC-D1Fjbog5-DZvHVKIj.js +0 -16
- package/dist/VE-CeM-hea7-B6UGrxOR.js +0 -16
- package/dist/VG-qhjKl9TO-DxNxfKP3.js +0 -16
- package/dist/VI-C-kcu42_-ixWOWOT3.js +0 -16
- package/dist/VN-2yoryeK1-DKhy-4jZ.js +0 -16
- package/dist/VU-CkLlsgzP-DnNAaciz.js +0 -16
- package/dist/WF-BDa53dEz-B9I3mlJk.js +0 -16
- package/dist/WS-CNi2O6Qm-CXQ5ipJ7.js +0 -16
- package/dist/WhatsappPreview.vue_vue_type_script_setup_true_lang-Bz8Xvb-z.js +0 -157
- package/dist/WithdrawAdvance-B1uQCHq_.js +0 -17
- package/dist/WithdrawBalanceStore-DS7jyhFi.js +0 -504
- package/dist/WithdrawBankAccountStore-COSuV6mK.js +0 -130
- package/dist/WithdrawBlocked-Cku5j8eC.js +0 -133
- package/dist/WithdrawCompanyStore-B-33OVfU.js +0 -80
- package/dist/WithdrawGuaranteeExtract-HGc-2Tlb.js +0 -980
- package/dist/WithdrawHome-CVX8hMjE.js +0 -1843
- package/dist/WithdrawHome-DC7C_8oi.js +0 -2448
- package/dist/WithdrawInternational-C1OH3oIk.js +0 -17
- package/dist/WithdrawMaxStore-COOZlLXb.js +0 -375
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-Bhxbq80V.js +0 -531
- package/dist/WithdrawNoAccountWarning-DYg3sqmu.js +0 -233
- package/dist/WithdrawPermissionGuard-BO44JlJr.js +0 -338
- package/dist/WithdrawRequest-24OpPZvf.js +0 -944
- package/dist/WithdrawRequest-DxxOuusx.js +0 -17
- package/dist/WithdrawRequestDetail-Ch2-R3yB.js +0 -284
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-CC1TXiXW.js +0 -937
- package/dist/YE-DxPZysMs-DPSZqbel.js +0 -16
- package/dist/YT-BMJJ1U_T-DwHgpev6.js +0 -16
- package/dist/ZA-BjQXS8mc-CUCKpq2a.js +0 -16
- package/dist/ZM-Dw0PmMTO-tOavWxTX.js +0 -16
- package/dist/ZW-D0UStZMr-BMwdy6Ge.js +0 -16
- package/dist/affiliate-Bgt9fadK-DpQLxBjy.js +0 -22
- package/dist/amex-CvNwRHhS-ZwIqbCQY.js +0 -16
- package/dist/api-o9UeW2OM.js +0 -11
- package/dist/apple_pay-DtsAzVjF-bgFw01ZE.js +0 -20
- package/dist/archive-CFoPOir7-DwCO5W6a.js +0 -18
- package/dist/aura-D1VyKb6w-eNNPNrbc.js +0 -23
- package/dist/boleto-BQZRi0Q5-CcOzwRoc.js +0 -18
- package/dist/box-DNrK38w2-BPesABEH.js +0 -20
- package/dist/cart-p5jccB8o-oSzSDnUl.js +0 -15
- package/dist/cash-FZcelZV1-BfFkIy8i.js +0 -20
- package/dist/chart-YJ27XOr3-B9yTBUpE.js +0 -22
- package/dist/credit_card-CGrPYCJP-B5FM3hHB.js +0 -15
- package/dist/csv-CYa6aPS5-CuAv7GUO.js +0 -18
- package/dist/dayjs.min-BxdZj4uP.js +0 -282
- package/dist/diners-CN_1suUM-DIo3ajPo.js +0 -26
- package/dist/discover-vVTOFEvv-DOLSgVVC.js +0 -22
- package/dist/ds-appmax-v322-Ddp7L2tN.js +0 -52
- package/dist/ds-appmax-v327-DJ--8l2C.js +0 -69
- package/dist/ds-appmax-v330-ZpWcpIXA.js +0 -48
- package/dist/ds-appmax-v335-DeLvy_8O.js +0 -278
- package/dist/elo-BaNbqhYS-Bs7uKD_d.js +0 -15
- package/dist/gear-BHOWpd7b-BFC9sJ09.js +0 -18
- package/dist/grid-B7I0mWry-CRnX7ChS.js +0 -18
- package/dist/hipercard-DBsszwxC-9d87X429.js +0 -22
- package/dist/index-7K5gAlHE.js +0 -159
- package/dist/index-B5i3gkTU.js +0 -409
- package/dist/index-BKOJ1rrB.js +0 -217
- package/dist/index-BPtML426.js +0 -67
- package/dist/index-BQ0Z8WWi.js +0 -219
- package/dist/index-BQLd-HFt.js +0 -106
- package/dist/index-BZ_BLUtx.js +0 -961
- package/dist/index-BdAP-7A-.js +0 -92
- package/dist/index-BdShZr0t.js +0 -21
- package/dist/index-BgpQvbJQ.js +0 -721
- package/dist/index-BloEvNww.js +0 -11
- package/dist/index-BoD7oSBZ.js +0 -117
- package/dist/index-BqV9SlN6.js +0 -153
- package/dist/index-C6kCII68.js +0 -1433
- package/dist/index-CCvOyP2R.js +0 -4133
- package/dist/index-CF5dXUaa.js +0 -62
- package/dist/index-CNZT9EXi.js +0 -219
- package/dist/index-CP0kDs22.js +0 -1790
- package/dist/index-CR3v9bGo.js +0 -83
- package/dist/index-CgcLJ1OZ.js +0 -1567
- package/dist/index-Cs0NYWA-.js +0 -200
- package/dist/index-CzKyNyXx.js +0 -332
- package/dist/index-D2LYHset.js +0 -275
- package/dist/index-D7w-mj6X.js +0 -21
- package/dist/index-DG3yRDVM.js +0 -230
- package/dist/index-DLNELjCm.js +0 -9812
- package/dist/index-DNhodE_h.js +0 -808
- package/dist/index-DiyTxBl3.js +0 -534
- package/dist/index-Drt6tuLl.js +0 -35
- package/dist/index-DxaDYsWW.js +0 -681
- package/dist/index-LJH7vKL1.js +0 -150
- package/dist/index-QX0Tlwi1.js +0 -169
- package/dist/index-zYKngG7t.js +0 -18
- package/dist/index-zZTLXcF4.js +0 -28
- package/dist/index.page-CcSJUstg.js +0 -828
- package/dist/infos-8KGPLXoE-BqQpi65q.js +0 -18
- package/dist/integrations-UOltVEyj-Bn6ebpH9.js +0 -19
- package/dist/logs-Ce3fZY0v-Ck05AQi1.js +0 -28
- package/dist/maestro-BMomgHxO-DONSt0da.js +0 -27
- package/dist/main-QKrpDJDW.js +0 -103911
- package/dist/mastercard-5I-dcOVV-CkvA256c.js +0 -30
- package/dist/max_brand-Crj-SFUw-7eveduj4.js +0 -29
- package/dist/max_brand_active-BIkS5qkP-BlNsJzDh.js +0 -27
- package/dist/max_brand_negative-BxvdIegN-DDSrUjNp.js +0 -30
- package/dist/menu.page-DXyf0sJk.js +0 -274
- package/dist/money-DZpB5eTf-Bn8eOdDz.js +0 -19
- package/dist/notification-DMezLtAj-QrX7Dk00.js +0 -18
- package/dist/paypal-DMYjfEw0-Cqj3gE2o.js +0 -15
- package/dist/pix-DXdX91yj-DkqVQ2j_.js +0 -22
- package/dist/pix_outline-D_xXXgCN-DBnCu7zt.js +0 -16
- package/dist/pusher-C1FjUH7e.js +0 -4010
- package/dist/shield-DS-Xf4WH-CCAglW5F.js +0 -15
- package/dist/solid_help-DNaqfgoc-B4N6xgcY.js +0 -20
- package/dist/solid_home-BDUiJDVY-K1LCF9BM.js +0 -18
- package/dist/solid_leaderboard-DtqK7q9Y-B9WcfJ83.js +0 -18
- package/dist/solid_store-Cfv6o4b8-BVtDUc9p.js +0 -18
- package/dist/ticket_icon-DwvyLm7c-xMvIMpq9.js +0 -22
- package/dist/useQueryFilter-DhZiZmVF.js +0 -93
- package/dist/useRecurringTable-DeuW4Pa-.js +0 -161
- package/dist/user-BRpwqYx8-C7q1eK0P.js +0 -18
- package/dist/validateURL.helper-BWm4xxgf.js +0 -126
- package/dist/visa-tPjWcMbi-DsQ1mzv-.js +0 -18
|
@@ -1,2448 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { ab as defineComponent, r as ref, v as createBlock, h as openBlock, w as withCtx, j as createBaseVNode, k as createCommentVNode, a6 as renderSlot, l as unref, y, m as createTextVNode, t as toDisplayString, i as createVNode, $, _ as _export_sfc, e as computed, g as createElementBlock, F as Fragment, n as normalizeClass, p as _, ar as resolveDynamicComponent, ap as t, o as onMounted, b3 as featureFlagsService, b5 as formatCentsMoney, bH as capitalize, G as ApiService, az as toRefs, z as reactive, bI as CanceledError, A as watch, u as useI18n, J as script, d as useBreakpoint, c as useRouter, C as w, D as normalizeProps, E as mergeProps, q as renderList, aa as createSlots, aq as toaster, R, aB as script$5, aA as isRef, K as script$6, a9 as resolveComponent, H as f, a as useToast, bJ as i18n, bK as withdrawCompanyService, ad as userService, a5 as withDirectives, aD as vShow, bL as twMerge, bM as cva } from "./main-QKrpDJDW.js";
|
|
5
|
-
import { W as WithdrawPageGrid, a as WithdrawPermissionGuard } from "./WithdrawPermissionGuard-BO44JlJr.js";
|
|
6
|
-
import { A as AmModalV3, W as WithdrawExtractAccordion, u as useWithdrawBalanceStore, a as WithdrawCompanySelector } from "./WithdrawBalanceStore-DS7jyhFi.js";
|
|
7
|
-
import { u as useWithdrawPendenciesStore, a as useWithdrawExtractStore, b as useWithdrawExtractStoreByKey, _ as _sfc_main$y, e as extractState } from "./WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-Bhxbq80V.js";
|
|
8
|
-
import { A as AmCardV3 } from "./AmCardV3-DZb0ysAj.js";
|
|
9
|
-
import { A as AmText } from "./AmText-Bgou6ucj.js";
|
|
10
|
-
import { A as AmOutlineCard } from "./AmOutlineCard-VH6UEoDy.js";
|
|
11
|
-
import { A as AmSkeleton } from "./AmSkeleton-BCCCnLI5.js";
|
|
12
|
-
import { u as useWithdrawCompanyStore, c as companyState } from "./WithdrawCompanyStore-B-33OVfU.js";
|
|
13
|
-
import { h as he } from "./index-DG3yRDVM.js";
|
|
14
|
-
import { a as script$1, s as script$2, b as script$4 } from "./index-DLNELjCm.js";
|
|
15
|
-
import { s as script$3 } from "./index-B5i3gkTU.js";
|
|
16
|
-
import { _ as _sfc_main$z } from "./AmLayoutFeedbackState-Er7MgbVp.js";
|
|
17
|
-
import { S as StatusDescriptionModal } from "./StatusDescriptionModal-BYBluHV7.js";
|
|
18
|
-
import { s as script$7 } from "./index-CNZT9EXi.js";
|
|
19
|
-
import { e as formatToUtcYYYYMM } from "./date-BKOoGpIP.js";
|
|
20
|
-
import { s as script$8 } from "./index-BloEvNww.js";
|
|
21
|
-
import { s as script$9, a as script$a, b as script$c } from "./index-DxaDYsWW.js";
|
|
22
|
-
import { s as script$b } from "./index-BoD7oSBZ.js";
|
|
23
|
-
import { u as useWithdrawMaxStore, _ as _sfc_main$A } from "./WithdrawMaxStore-COOZlLXb.js";
|
|
24
|
-
const _hoisted_1$l = { class: "am-alert-modal__content" };
|
|
25
|
-
const _hoisted_2$c = { class: "am-alert-modal__footer" };
|
|
26
|
-
const __default__$t = { name: "AmAlertModal" };
|
|
27
|
-
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
28
|
-
...__default__$t,
|
|
29
|
-
props: {
|
|
30
|
-
dataTestPrefix: {},
|
|
31
|
-
title: {},
|
|
32
|
-
subtitle: {},
|
|
33
|
-
text: {},
|
|
34
|
-
buttonLabel: {}
|
|
35
|
-
},
|
|
36
|
-
emits: ["click", "close"],
|
|
37
|
-
setup(__props, { emit: __emit }) {
|
|
38
|
-
const emit = __emit;
|
|
39
|
-
const showModal = ref(true);
|
|
40
|
-
const closeModal = () => {
|
|
41
|
-
showModal.value = false;
|
|
42
|
-
emit("close");
|
|
43
|
-
};
|
|
44
|
-
const handleButtonClick = () => {
|
|
45
|
-
emit("click");
|
|
46
|
-
closeModal();
|
|
47
|
-
};
|
|
48
|
-
return (_ctx, _cache) => {
|
|
49
|
-
return openBlock(), createBlock(AmModalV3, {
|
|
50
|
-
class: "am-alert-modal",
|
|
51
|
-
dataTestPrefix: _ctx.dataTestPrefix,
|
|
52
|
-
title: _ctx.title,
|
|
53
|
-
modelValue: showModal.value,
|
|
54
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showModal.value = $event),
|
|
55
|
-
onClose: closeModal
|
|
56
|
-
}, {
|
|
57
|
-
default: withCtx(() => [
|
|
58
|
-
createBaseVNode("div", _hoisted_1$l, [
|
|
59
|
-
_ctx.subtitle ? (openBlock(), createBlock(unref(y), {
|
|
60
|
-
key: 0,
|
|
61
|
-
isStrong: "",
|
|
62
|
-
"data-test": `${_ctx.dataTestPrefix}-subtitle`
|
|
63
|
-
}, {
|
|
64
|
-
default: withCtx(() => [
|
|
65
|
-
createTextVNode(toDisplayString(_ctx.subtitle), 1)
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}, 8, ["data-test"])) : createCommentVNode("", true),
|
|
69
|
-
_ctx.text ? (openBlock(), createBlock(unref(y), {
|
|
70
|
-
key: 1,
|
|
71
|
-
class: "text-muted-color",
|
|
72
|
-
"data-test": `${_ctx.dataTestPrefix}-text`
|
|
73
|
-
}, {
|
|
74
|
-
default: withCtx(() => [
|
|
75
|
-
createTextVNode(toDisplayString(_ctx.text), 1)
|
|
76
|
-
]),
|
|
77
|
-
_: 1
|
|
78
|
-
}, 8, ["data-test"])) : createCommentVNode("", true),
|
|
79
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
80
|
-
]),
|
|
81
|
-
createBaseVNode("div", _hoisted_2$c, [
|
|
82
|
-
createVNode(unref($), {
|
|
83
|
-
label: _ctx.buttonLabel,
|
|
84
|
-
"data-test": `${_ctx.dataTestPrefix}-button`,
|
|
85
|
-
onClick: handleButtonClick
|
|
86
|
-
}, null, 8, ["label", "data-test"])
|
|
87
|
-
])
|
|
88
|
-
]),
|
|
89
|
-
_: 3
|
|
90
|
-
}, 8, ["dataTestPrefix", "title", "modelValue"]);
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
const AmAlertModal = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-7dd373f9"]]);
|
|
95
|
-
const __default__$s = { name: "ShopifyAntifraudMissingAlert" };
|
|
96
|
-
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
97
|
-
...__default__$s,
|
|
98
|
-
setup(__props) {
|
|
99
|
-
const { userMissingShopifyAntifraud, closePendency } = useWithdrawPendenciesStore();
|
|
100
|
-
const URL = "https://apps.shopify.com/appmax-antifraude?locale=pt-BR&st_source=autocomplete";
|
|
101
|
-
const handleClick = () => {
|
|
102
|
-
window.open(URL, "_blank");
|
|
103
|
-
};
|
|
104
|
-
const showModal = computed(
|
|
105
|
-
() => userMissingShopifyAntifraud.value.has && !userMissingShopifyAntifraud.value.closed
|
|
106
|
-
);
|
|
107
|
-
return (_ctx, _cache) => {
|
|
108
|
-
return showModal.value ? (openBlock(), createBlock(AmAlertModal, {
|
|
109
|
-
key: 0,
|
|
110
|
-
dataTestPrefix: "shopify-antifraud-missing-modal",
|
|
111
|
-
title: _ctx.$t("withdraw_v3.alert.shopify-antifraud-missing.title"),
|
|
112
|
-
subtitle: _ctx.$t("withdraw_v3.alert.shopify-antifraud-missing.subtitle"),
|
|
113
|
-
text: _ctx.$t("withdraw_v3.alert.shopify-antifraud-missing.text"),
|
|
114
|
-
buttonLabel: _ctx.$t("withdraw_v3.alert.shopify-antifraud-missing.button"),
|
|
115
|
-
onClick: handleClick,
|
|
116
|
-
onClose: _cache[0] || (_cache[0] = ($event) => unref(closePendency)("userMissingShopifyAntifraud"))
|
|
117
|
-
}, null, 8, ["title", "subtitle", "text", "buttonLabel"])) : createCommentVNode("", true);
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
const __default__$r = { name: "UserNeedLimitAlert" };
|
|
122
|
-
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
123
|
-
...__default__$r,
|
|
124
|
-
setup(__props) {
|
|
125
|
-
const { userNeedLimit, closePendency } = useWithdrawPendenciesStore();
|
|
126
|
-
const handleClick = () => {
|
|
127
|
-
location.replace("/settings/delivery-tracking-import");
|
|
128
|
-
};
|
|
129
|
-
return (_ctx, _cache) => {
|
|
130
|
-
return unref(userNeedLimit) ? (openBlock(), createBlock(AmAlertModal, {
|
|
131
|
-
key: 0,
|
|
132
|
-
dataTestPrefix: "user-need-limit-alert-modal",
|
|
133
|
-
title: _ctx.$t("withdraw_v3.alert.user-need-limit.title"),
|
|
134
|
-
text: _ctx.$t("withdraw_v3.alert.user-need-limit.text"),
|
|
135
|
-
buttonLabel: _ctx.$t("withdraw_v3.alert.user-need-limit.button"),
|
|
136
|
-
onClick: handleClick,
|
|
137
|
-
onClose: _cache[0] || (_cache[0] = ($event) => unref(closePendency)("userNeedLimit"))
|
|
138
|
-
}, null, 8, ["title", "text", "buttonLabel"])) : createCommentVNode("", true);
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
const __default__$q = { name: "WithdrawAlerts" };
|
|
143
|
-
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
144
|
-
...__default__$q,
|
|
145
|
-
setup(__props) {
|
|
146
|
-
return (_ctx, _cache) => {
|
|
147
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
148
|
-
createVNode(_sfc_main$w),
|
|
149
|
-
createVNode(_sfc_main$v)
|
|
150
|
-
], 64);
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
const _sfc_main$t = { name: "NationalIcon" };
|
|
155
|
-
const _hoisted_1$k = {
|
|
156
|
-
width: "16",
|
|
157
|
-
height: "16",
|
|
158
|
-
viewBox: "0 0 16 16",
|
|
159
|
-
fill: "none",
|
|
160
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
161
|
-
};
|
|
162
|
-
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
163
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$k, _cache[0] || (_cache[0] = [
|
|
164
|
-
createBaseVNode("path", {
|
|
165
|
-
"fill-rule": "evenodd",
|
|
166
|
-
"clip-rule": "evenodd",
|
|
167
|
-
d: "M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5ZM8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z",
|
|
168
|
-
fill: "currentColor"
|
|
169
|
-
}, null, -1),
|
|
170
|
-
createBaseVNode("path", {
|
|
171
|
-
"fill-rule": "evenodd",
|
|
172
|
-
"clip-rule": "evenodd",
|
|
173
|
-
d: "M8.32725 3.90198C8.22892 3.82273 8.12706 3.75869 7.99191 3.76509C7.88182 3.75949 7.7878 3.81072 7.70161 3.87996L6.85932 4.55726C5.5816 5.58464 4.30385 6.61205 3.02716 7.64079C2.75293 7.86174 2.75724 8.18034 3.03029 8.40049C4.56089 9.63328 6.09188 10.8657 7.62287 12.0981C7.84382 12.2762 8.02755 12.2818 8.24772 12.1093C9.82063 10.8753 11.3928 9.64049 12.9641 8.40449C13.2469 8.18194 13.2466 7.86694 12.9668 7.63519C12.8602 7.54665 12.752 7.4602 12.6438 7.37371L12.5414 7.29177L11.4286 6.39683C10.3947 5.56533 9.36089 4.73387 8.32725 3.90198ZM6.09425 8.19548C6.19037 9.18541 7.00171 9.95542 7.99533 9.95805C8.74063 9.95974 9.38492 9.52926 9.70302 8.89616C8.30311 8.00391 6.89602 8.01851 6.09425 8.19548ZM6.27086 7.15035C6.57901 6.48904 7.23778 6.03538 8.00394 6.03711C9.01715 6.03941 9.83967 6.8381 9.90972 7.85538C8.56569 7.1091 7.23 7.01971 6.27086 7.15035Z",
|
|
174
|
-
fill: "currentColor"
|
|
175
|
-
}, null, -1)
|
|
176
|
-
]));
|
|
177
|
-
}
|
|
178
|
-
const NationalIcon = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$2]]);
|
|
179
|
-
const _sfc_main$s = { name: "InternationalIcon" };
|
|
180
|
-
const _hoisted_1$j = {
|
|
181
|
-
width: "16",
|
|
182
|
-
height: "16",
|
|
183
|
-
viewBox: "0 0 16 16",
|
|
184
|
-
fill: "none",
|
|
185
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
186
|
-
};
|
|
187
|
-
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
188
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$j, _cache[0] || (_cache[0] = [
|
|
189
|
-
createBaseVNode("path", {
|
|
190
|
-
d: "M8 0C3.584 0 0 3.584 0 8C0 12.416 3.584 16 8 16C12.416 16 16 12.416 16 8C16 3.584 12.416 0 8 0ZM7.2 14.344C4.04 13.952 1.6 11.264 1.6 8C1.6 7.504 1.664 7.032 1.768 6.568L5.6 10.4V11.2C5.6 12.08 6.32 12.8 7.2 12.8V14.344ZM12.72 12.312C12.512 11.664 11.92 11.2 11.2 11.2H10.4V8.8C10.4 8.36 10.04 8 9.6 8H4.8V6.4H6.4C6.84 6.4 7.2 6.04 7.2 5.6V4H8.8C9.68 4 10.4 3.28 10.4 2.4V2.072C12.744 3.024 14.4 5.32 14.4 8C14.4 9.664 13.76 11.176 12.72 12.312Z",
|
|
191
|
-
fill: "currentColor"
|
|
192
|
-
}, null, -1)
|
|
193
|
-
]));
|
|
194
|
-
}
|
|
195
|
-
const InternationalIcon = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$1]]);
|
|
196
|
-
const _hoisted_1$i = ["data-test"];
|
|
197
|
-
const _hoisted_2$b = { class: "withdraw-tab-item__label" };
|
|
198
|
-
const _hoisted_3$8 = ["data-test"];
|
|
199
|
-
const __default__$p = { name: "WithdrawTabItem" };
|
|
200
|
-
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
201
|
-
...__default__$p,
|
|
202
|
-
props: {
|
|
203
|
-
dataTestPrefix: {},
|
|
204
|
-
label: {},
|
|
205
|
-
info: {},
|
|
206
|
-
isActive: { type: Boolean }
|
|
207
|
-
},
|
|
208
|
-
emits: ["click"],
|
|
209
|
-
setup(__props, { emit: __emit }) {
|
|
210
|
-
const emit = __emit;
|
|
211
|
-
return (_ctx, _cache) => {
|
|
212
|
-
return openBlock(), createElementBlock("button", {
|
|
213
|
-
class: normalizeClass(["withdraw-tab-item", {
|
|
214
|
-
["withdraw-tab-item--is-active"]: _ctx.isActive,
|
|
215
|
-
["withdraw-tab-item--is-inactive"]: !_ctx.isActive
|
|
216
|
-
}]),
|
|
217
|
-
"data-test": `${_ctx.dataTestPrefix}-tab-item`,
|
|
218
|
-
onClick: _cache[0] || (_cache[0] = ($event) => emit("click"))
|
|
219
|
-
}, [
|
|
220
|
-
createBaseVNode("div", _hoisted_2$b, [
|
|
221
|
-
createVNode(AmText, {
|
|
222
|
-
as: "strong",
|
|
223
|
-
variant: "label",
|
|
224
|
-
"data-test": `${_ctx.dataTestPrefix}-tab-item-label`
|
|
225
|
-
}, {
|
|
226
|
-
default: withCtx(() => [
|
|
227
|
-
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
228
|
-
]),
|
|
229
|
-
_: 1
|
|
230
|
-
}, 8, ["data-test"]),
|
|
231
|
-
createBaseVNode("span", {
|
|
232
|
-
class: "withdraw-tab-item__icon",
|
|
233
|
-
"data-test": `${_ctx.dataTestPrefix}-tab-item-icon`
|
|
234
|
-
}, [
|
|
235
|
-
renderSlot(_ctx.$slots, "icon", {}, void 0, true)
|
|
236
|
-
], 8, _hoisted_3$8)
|
|
237
|
-
]),
|
|
238
|
-
createVNode(AmText, {
|
|
239
|
-
class: "withdraw-tab-item__info",
|
|
240
|
-
size: "x-small",
|
|
241
|
-
color: "tertiary",
|
|
242
|
-
"data-test": `${_ctx.dataTestPrefix}-tab-item-info`
|
|
243
|
-
}, {
|
|
244
|
-
default: withCtx(() => [
|
|
245
|
-
createTextVNode(toDisplayString(_ctx.info), 1)
|
|
246
|
-
]),
|
|
247
|
-
_: 1
|
|
248
|
-
}, 8, ["data-test"])
|
|
249
|
-
], 10, _hoisted_1$i);
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
const WithdrawTabItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7eefeed2"]]);
|
|
254
|
-
const __default__$o = { name: "WithdrawTabs" };
|
|
255
|
-
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
256
|
-
...__default__$o,
|
|
257
|
-
setup(__props) {
|
|
258
|
-
const { isInternationalTabActive, setInternationalTabActive } = useWithdrawExtractStore();
|
|
259
|
-
return (_ctx, _cache) => {
|
|
260
|
-
return openBlock(), createBlock(AmCardV3, { class: "withdraw-tabs" }, {
|
|
261
|
-
default: withCtx(() => [
|
|
262
|
-
createVNode(WithdrawTabItem, {
|
|
263
|
-
dataTestPrefix: "national",
|
|
264
|
-
label: _ctx.$t("withdraw_v3.tab.national.label"),
|
|
265
|
-
info: _ctx.$t("withdraw_v3.tab.national.info"),
|
|
266
|
-
isActive: !unref(isInternationalTabActive),
|
|
267
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(setInternationalTabActive)(false))
|
|
268
|
-
}, {
|
|
269
|
-
icon: withCtx(() => [
|
|
270
|
-
createVNode(NationalIcon)
|
|
271
|
-
]),
|
|
272
|
-
_: 1
|
|
273
|
-
}, 8, ["label", "info", "isActive"]),
|
|
274
|
-
createVNode(WithdrawTabItem, {
|
|
275
|
-
dataTestPrefix: "international",
|
|
276
|
-
label: _ctx.$t("withdraw_v3.tab.international.label"),
|
|
277
|
-
info: _ctx.$t("withdraw_v3.tab.international.info"),
|
|
278
|
-
isActive: unref(isInternationalTabActive),
|
|
279
|
-
onClick: _cache[1] || (_cache[1] = ($event) => unref(setInternationalTabActive)(true))
|
|
280
|
-
}, {
|
|
281
|
-
icon: withCtx(() => [
|
|
282
|
-
createVNode(InternationalIcon)
|
|
283
|
-
]),
|
|
284
|
-
_: 1
|
|
285
|
-
}, 8, ["label", "info", "isActive"])
|
|
286
|
-
]),
|
|
287
|
-
_: 1
|
|
288
|
-
});
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
|
-
const WithdrawTabs = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-c97683e5"]]);
|
|
293
|
-
const _sfc_main$p = { name: "WithdrawExtractRow" };
|
|
294
|
-
const _hoisted_1$h = { class: "withdraw-extract-row" };
|
|
295
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
296
|
-
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
297
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
298
|
-
]);
|
|
299
|
-
}
|
|
300
|
-
const WithdrawExtractRow = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render], ["__scopeId", "data-v-1b3e961a"]]);
|
|
301
|
-
const _hoisted_1$g = ["data-test"];
|
|
302
|
-
const _hoisted_2$a = ["data-test"];
|
|
303
|
-
const __default__$n = { name: "WithdrawValueError" };
|
|
304
|
-
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
305
|
-
...__default__$n,
|
|
306
|
-
props: {
|
|
307
|
-
value: {},
|
|
308
|
-
keyName: {}
|
|
309
|
-
},
|
|
310
|
-
setup(__props) {
|
|
311
|
-
const props = __props;
|
|
312
|
-
const text = computed(
|
|
313
|
-
() => props.keyName === "totalToRequest" ? "withdraw_v3.withdraw-value-error.msg-withdraw" : "withdraw_v3.withdraw-value-error.msg-antecipation"
|
|
314
|
-
);
|
|
315
|
-
return (_ctx, _cache) => {
|
|
316
|
-
return openBlock(), createElementBlock("div", {
|
|
317
|
-
class: "withdraw-value-error",
|
|
318
|
-
"data-test": `${_ctx.keyName}-error`
|
|
319
|
-
}, [
|
|
320
|
-
createVNode(AmText, {
|
|
321
|
-
class: "withdraw-value-error__label",
|
|
322
|
-
size: "small",
|
|
323
|
-
"data-test": `${_ctx.keyName}-error-label`
|
|
324
|
-
}, {
|
|
325
|
-
default: withCtx(() => [
|
|
326
|
-
createTextVNode(toDisplayString(_ctx.$t("withdraw_v3.withdraw-value-error.label")) + " ", 1),
|
|
327
|
-
createBaseVNode("strong", {
|
|
328
|
-
"data-test": `${_ctx.keyName}-value`
|
|
329
|
-
}, toDisplayString(_ctx.value), 9, _hoisted_2$a)
|
|
330
|
-
]),
|
|
331
|
-
_: 1
|
|
332
|
-
}, 8, ["data-test"]),
|
|
333
|
-
createVNode(AmText, {
|
|
334
|
-
class: "withdraw-value-error__text",
|
|
335
|
-
size: "x-small",
|
|
336
|
-
"data-test": `${_ctx.keyName}-error-text`
|
|
337
|
-
}, {
|
|
338
|
-
default: withCtx(() => [
|
|
339
|
-
createVNode(unref(_), {
|
|
340
|
-
icon: "warning",
|
|
341
|
-
size: "sm",
|
|
342
|
-
class: "text-warning"
|
|
343
|
-
}),
|
|
344
|
-
createTextVNode(" " + toDisplayString(_ctx.$t(text.value)), 1)
|
|
345
|
-
]),
|
|
346
|
-
_: 1
|
|
347
|
-
}, 8, ["data-test"])
|
|
348
|
-
], 8, _hoisted_1$g);
|
|
349
|
-
};
|
|
350
|
-
}
|
|
351
|
-
});
|
|
352
|
-
const WithdrawValueError = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-97c4f755"]]);
|
|
353
|
-
const _hoisted_1$f = ["data-test"];
|
|
354
|
-
const __default__$m = { name: "WithdrawRetained" };
|
|
355
|
-
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
356
|
-
...__default__$m,
|
|
357
|
-
props: {
|
|
358
|
-
value: {}
|
|
359
|
-
},
|
|
360
|
-
setup(__props) {
|
|
361
|
-
const dataTestPrefix = "retained";
|
|
362
|
-
return (_ctx, _cache) => {
|
|
363
|
-
return openBlock(), createBlock(unref(y), {
|
|
364
|
-
class: "flex items-center gap-1",
|
|
365
|
-
size: "small",
|
|
366
|
-
"data-test": `${dataTestPrefix}-label`
|
|
367
|
-
}, {
|
|
368
|
-
default: withCtx(() => [
|
|
369
|
-
createVNode(unref(_), {
|
|
370
|
-
"data-test": `${dataTestPrefix}-lock-icon`,
|
|
371
|
-
variant: "material",
|
|
372
|
-
icon: "lock_clock",
|
|
373
|
-
size: "sm",
|
|
374
|
-
class: "text-primary"
|
|
375
|
-
}, null, 8, ["data-test"]),
|
|
376
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("withdraw_v3.withdraw-retained.label")) + " ", 1),
|
|
377
|
-
createBaseVNode("a", {
|
|
378
|
-
"data-test": `${dataTestPrefix}-value`,
|
|
379
|
-
class: "flex text-primary font-bold items-center",
|
|
380
|
-
href: "/settings/delivery-tracking-import"
|
|
381
|
-
}, [
|
|
382
|
-
createTextVNode(toDisplayString(_ctx.value) + " ", 1),
|
|
383
|
-
createVNode(unref(_), {
|
|
384
|
-
"data-test": `${dataTestPrefix}-link-icon`,
|
|
385
|
-
variant: "material",
|
|
386
|
-
icon: "arrow_forward",
|
|
387
|
-
size: "sm"
|
|
388
|
-
}, null, 8, ["data-test"])
|
|
389
|
-
], 8, _hoisted_1$f)
|
|
390
|
-
]),
|
|
391
|
-
_: 1
|
|
392
|
-
}, 8, ["data-test"]);
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
});
|
|
396
|
-
const _hoisted_1$e = { class: "mt-auto" };
|
|
397
|
-
const __default__$l = { name: "MinAmountToWithdrawNotReached" };
|
|
398
|
-
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
399
|
-
...__default__$l,
|
|
400
|
-
props: {
|
|
401
|
-
value: {}
|
|
402
|
-
},
|
|
403
|
-
setup(__props) {
|
|
404
|
-
const dataTestPrefix = "min-not-reached";
|
|
405
|
-
return (_ctx, _cache) => {
|
|
406
|
-
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
407
|
-
createVNode(AmText, {
|
|
408
|
-
class: "flex items-center gap-1",
|
|
409
|
-
variant: "body",
|
|
410
|
-
size: "x-small",
|
|
411
|
-
color: "secondary",
|
|
412
|
-
"data-test": `${dataTestPrefix}-label`
|
|
413
|
-
}, {
|
|
414
|
-
default: withCtx(() => [
|
|
415
|
-
createTextVNode(toDisplayString(_ctx.$t("withdraw_v3.withdraw-min-value-not-reached.label1")) + toDisplayString(_ctx.value) + toDisplayString(_ctx.$t("withdraw_v3.withdraw-min-value-not-reached.label2")), 1)
|
|
416
|
-
]),
|
|
417
|
-
_: 1
|
|
418
|
-
}, 8, ["data-test"])
|
|
419
|
-
]);
|
|
420
|
-
};
|
|
421
|
-
}
|
|
422
|
-
});
|
|
423
|
-
const _hoisted_1$d = ["data-test"];
|
|
424
|
-
const _hoisted_2$9 = {
|
|
425
|
-
key: 4,
|
|
426
|
-
class: "mt-auto w-full flex flex-col sm:!flex-row gap-3"
|
|
427
|
-
};
|
|
428
|
-
const __default__$k = { name: "WithdrawExtractItem" };
|
|
429
|
-
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
430
|
-
...__default__$k,
|
|
431
|
-
props: {
|
|
432
|
-
keyName: {},
|
|
433
|
-
newUrl: {}
|
|
434
|
-
},
|
|
435
|
-
setup(__props) {
|
|
436
|
-
const props = __props;
|
|
437
|
-
const {
|
|
438
|
-
label,
|
|
439
|
-
formattedNetValue,
|
|
440
|
-
buttonLabel,
|
|
441
|
-
disabled,
|
|
442
|
-
iconName,
|
|
443
|
-
isLoading,
|
|
444
|
-
info,
|
|
445
|
-
main,
|
|
446
|
-
href,
|
|
447
|
-
hasButton,
|
|
448
|
-
retention,
|
|
449
|
-
required,
|
|
450
|
-
formattedRetention,
|
|
451
|
-
isWithdrawalTooLow,
|
|
452
|
-
formattedGrossValue,
|
|
453
|
-
minAmountAvailableToWithdraw,
|
|
454
|
-
hasReachedMinAmountToWithdraw
|
|
455
|
-
} = useWithdrawExtractStoreByKey(props.keyName);
|
|
456
|
-
return (_ctx, _cache) => {
|
|
457
|
-
return unref(required) ? (openBlock(), createBlock(resolveDynamicComponent(unref(main) ? AmCardV3 : AmOutlineCard), {
|
|
458
|
-
key: 0,
|
|
459
|
-
"data-test": `${_ctx.keyName}-container`,
|
|
460
|
-
class: "withdraw-extract-item"
|
|
461
|
-
}, {
|
|
462
|
-
default: withCtx(() => [
|
|
463
|
-
createVNode(AmText, {
|
|
464
|
-
as: "h3",
|
|
465
|
-
class: "withdraw-extract-item__label",
|
|
466
|
-
variant: "label",
|
|
467
|
-
"data-test": `${_ctx.keyName}-title`
|
|
468
|
-
}, {
|
|
469
|
-
default: withCtx(() => [
|
|
470
|
-
createTextVNode(toDisplayString(unref(t)(unref(label))), 1)
|
|
471
|
-
]),
|
|
472
|
-
_: 1
|
|
473
|
-
}, 8, ["data-test"]),
|
|
474
|
-
unref(isLoading) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
475
|
-
createVNode(AmSkeleton, {
|
|
476
|
-
height: 36,
|
|
477
|
-
width: 80
|
|
478
|
-
}),
|
|
479
|
-
createVNode(AmSkeleton, {
|
|
480
|
-
height: 16,
|
|
481
|
-
width: 160
|
|
482
|
-
}),
|
|
483
|
-
createVNode(AmSkeleton, {
|
|
484
|
-
height: 16,
|
|
485
|
-
width: 120
|
|
486
|
-
})
|
|
487
|
-
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
488
|
-
createVNode(AmText, {
|
|
489
|
-
class: "withdraw-extract-item__value",
|
|
490
|
-
size: "small",
|
|
491
|
-
variant: "title",
|
|
492
|
-
color: unref(iconName) ? "primary" : "default",
|
|
493
|
-
"data-test": `${_ctx.keyName}-label`
|
|
494
|
-
}, {
|
|
495
|
-
default: withCtx(() => [
|
|
496
|
-
createBaseVNode("strong", {
|
|
497
|
-
"data-test": `${_ctx.keyName}-value`
|
|
498
|
-
}, toDisplayString(unref(formattedNetValue)), 9, _hoisted_1$d),
|
|
499
|
-
unref(iconName) ? (openBlock(), createBlock(unref(_), {
|
|
500
|
-
key: 0,
|
|
501
|
-
icon: unref(iconName),
|
|
502
|
-
class: "!text-primary !m-auto"
|
|
503
|
-
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
504
|
-
]),
|
|
505
|
-
_: 1
|
|
506
|
-
}, 8, ["color", "data-test"]),
|
|
507
|
-
unref(retention) ? (openBlock(), createBlock(_sfc_main$n, {
|
|
508
|
-
key: 0,
|
|
509
|
-
value: unref(formattedRetention)
|
|
510
|
-
}, null, 8, ["value"])) : createCommentVNode("", true),
|
|
511
|
-
unref(isWithdrawalTooLow) ? (openBlock(), createBlock(WithdrawValueError, {
|
|
512
|
-
key: 1,
|
|
513
|
-
keyName: _ctx.keyName,
|
|
514
|
-
value: unref(formattedGrossValue)
|
|
515
|
-
}, null, 8, ["keyName", "value"])) : _ctx.keyName == "internationalTotalToRequest" && !unref(hasReachedMinAmountToWithdraw) ? (openBlock(), createBlock(_sfc_main$m, {
|
|
516
|
-
key: 2,
|
|
517
|
-
value: unref(minAmountAvailableToWithdraw)
|
|
518
|
-
}, null, 8, ["value"])) : unref(buttonLabel) ? (openBlock(), createBlock(unref($), {
|
|
519
|
-
key: 3,
|
|
520
|
-
class: "withdraw-extract-item__button",
|
|
521
|
-
"data-test": `${_ctx.keyName}-button`,
|
|
522
|
-
disabled: unref(disabled),
|
|
523
|
-
label: unref(t)(unref(buttonLabel)),
|
|
524
|
-
to: unref(disabled) ? void 0 : unref(href)
|
|
525
|
-
}, null, 8, ["data-test", "disabled", "label", "to"])) : createCommentVNode("", true),
|
|
526
|
-
unref(info) ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
527
|
-
createVNode(AmText, {
|
|
528
|
-
innerHTML: unref(t)(unref(info)),
|
|
529
|
-
"data-test": `${_ctx.keyName}-info`,
|
|
530
|
-
variant: "body",
|
|
531
|
-
size: "x-small",
|
|
532
|
-
color: "secondary",
|
|
533
|
-
class: "flex-1"
|
|
534
|
-
}, null, 8, ["innerHTML", "data-test"]),
|
|
535
|
-
unref(hasButton) && unref(href) ? (openBlock(), createBlock(unref($), {
|
|
536
|
-
key: 0,
|
|
537
|
-
class: "withdraw-extract-item__button !w-fit",
|
|
538
|
-
"data-test": `${_ctx.keyName}-info-button`,
|
|
539
|
-
label: unref(t)("withdraw_v3.consult"),
|
|
540
|
-
to: _ctx.newUrl || unref(href)
|
|
541
|
-
}, null, 8, ["data-test", "label", "to"])) : createCommentVNode("", true)
|
|
542
|
-
])) : createCommentVNode("", true)
|
|
543
|
-
], 64))
|
|
544
|
-
]),
|
|
545
|
-
_: 1
|
|
546
|
-
}, 8, ["data-test"])) : createCommentVNode("", true);
|
|
547
|
-
};
|
|
548
|
-
}
|
|
549
|
-
});
|
|
550
|
-
const WithdrawExtractItem = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-7bf73ac1"]]);
|
|
551
|
-
const __default__$j = { name: "WithdrawNationalExtract" };
|
|
552
|
-
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
553
|
-
...__default__$j,
|
|
554
|
-
setup(__props) {
|
|
555
|
-
const { selected: company } = useWithdrawCompanyStore();
|
|
556
|
-
const isNewGuaranteeExtractActive = ref(false);
|
|
557
|
-
onMounted(async () => {
|
|
558
|
-
isNewGuaranteeExtractActive.value = await featureFlagsService.has(
|
|
559
|
-
"withdraw-guarantee-extract-redirect"
|
|
560
|
-
);
|
|
561
|
-
});
|
|
562
|
-
return (_ctx, _cache) => {
|
|
563
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
564
|
-
createVNode(WithdrawExtractRow, null, {
|
|
565
|
-
default: withCtx(() => [
|
|
566
|
-
createVNode(WithdrawExtractItem, { "key-name": "totalToRequest" }),
|
|
567
|
-
createVNode(WithdrawExtractItem, { "key-name": "totalToAdvance" })
|
|
568
|
-
]),
|
|
569
|
-
_: 1
|
|
570
|
-
}),
|
|
571
|
-
createVNode(WithdrawExtractAccordion, { class: "withdraw-accordion" }, {
|
|
572
|
-
default: withCtx(() => [
|
|
573
|
-
createVNode(WithdrawExtractRow, null, {
|
|
574
|
-
default: withCtx(() => {
|
|
575
|
-
var _a, _b;
|
|
576
|
-
return [
|
|
577
|
-
createVNode(WithdrawExtractItem, {
|
|
578
|
-
"key-name": "amountInGuarantee",
|
|
579
|
-
"new-url": isNewGuaranteeExtractActive.value ? `/v2/client/integration/withdraw/guarantee-extract/${(_a = unref(company)) == null ? void 0 : _a.id}?tab=garantia` : void 0
|
|
580
|
-
}, null, 8, ["new-url"]),
|
|
581
|
-
createVNode(WithdrawExtractItem, {
|
|
582
|
-
"key-name": "amountInAntifraud",
|
|
583
|
-
"new-url": isNewGuaranteeExtractActive.value ? `/v2/client/integration/withdraw/guarantee-extract/${(_b = unref(company)) == null ? void 0 : _b.id}?tab=antifraude` : void 0
|
|
584
|
-
}, null, 8, ["new-url"]),
|
|
585
|
-
createVNode(WithdrawExtractItem, { "key-name": "amountInContract" })
|
|
586
|
-
];
|
|
587
|
-
}),
|
|
588
|
-
_: 1
|
|
589
|
-
})
|
|
590
|
-
]),
|
|
591
|
-
_: 1
|
|
592
|
-
})
|
|
593
|
-
], 64);
|
|
594
|
-
};
|
|
595
|
-
}
|
|
596
|
-
});
|
|
597
|
-
const __default__$i = { name: "WithdrawInternationalExtract" };
|
|
598
|
-
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
599
|
-
...__default__$i,
|
|
600
|
-
setup(__props) {
|
|
601
|
-
return (_ctx, _cache) => {
|
|
602
|
-
return openBlock(), createBlock(WithdrawExtractRow, null, {
|
|
603
|
-
default: withCtx(() => [
|
|
604
|
-
createVNode(WithdrawExtractItem, { "key-name": "internationalTotalToRequest" }),
|
|
605
|
-
createVNode(WithdrawExtractItem, { "key-name": "internationalTotalGuarantee" })
|
|
606
|
-
]),
|
|
607
|
-
_: 1
|
|
608
|
-
});
|
|
609
|
-
};
|
|
610
|
-
}
|
|
611
|
-
});
|
|
612
|
-
const __default__$h = { name: "WithdrawExtract" };
|
|
613
|
-
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
614
|
-
...__default__$h,
|
|
615
|
-
setup(__props) {
|
|
616
|
-
const { isInternationalAllowed, isInternationalTabActive, getData } = useWithdrawExtractStore();
|
|
617
|
-
onMounted(getData);
|
|
618
|
-
return (_ctx, _cache) => {
|
|
619
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
620
|
-
unref(isInternationalAllowed) ? (openBlock(), createBlock(WithdrawTabs, { key: 0 })) : createCommentVNode("", true),
|
|
621
|
-
createVNode(_sfc_main$y),
|
|
622
|
-
unref(isInternationalAllowed) && unref(isInternationalTabActive) ? (openBlock(), createBlock(_sfc_main$j, { key: 1 })) : (openBlock(), createBlock(_sfc_main$k, { key: 2 }))
|
|
623
|
-
], 64);
|
|
624
|
-
};
|
|
625
|
-
}
|
|
626
|
-
});
|
|
627
|
-
const STATUS_MAP = {
|
|
628
|
-
refused: {
|
|
629
|
-
text: "Solicitação Recusada",
|
|
630
|
-
type: "error"
|
|
631
|
-
},
|
|
632
|
-
pending: {
|
|
633
|
-
text: "Em Análise",
|
|
634
|
-
type: "warning"
|
|
635
|
-
},
|
|
636
|
-
approved: {
|
|
637
|
-
text: "Solicitação Aprovada",
|
|
638
|
-
type: "success"
|
|
639
|
-
},
|
|
640
|
-
processing: {
|
|
641
|
-
text: "Depósito Agendado",
|
|
642
|
-
type: "systemBlue120"
|
|
643
|
-
// info?
|
|
644
|
-
},
|
|
645
|
-
paid: {
|
|
646
|
-
text: "Pago",
|
|
647
|
-
type: "success"
|
|
648
|
-
},
|
|
649
|
-
"pix-account-validation-fail": {
|
|
650
|
-
text: "Conta Pix Inválida",
|
|
651
|
-
type: "error"
|
|
652
|
-
},
|
|
653
|
-
"waiting-return": {
|
|
654
|
-
text: "Aguardando seu Retorno",
|
|
655
|
-
type: "warning"
|
|
656
|
-
}
|
|
657
|
-
};
|
|
658
|
-
const ROUTE = {
|
|
659
|
-
NATIONAL: "/balance/companies/statement/withdraw-history",
|
|
660
|
-
INTERNATIONAL: "/api/balance/international/companies/statement/withdraw-history"
|
|
661
|
-
};
|
|
662
|
-
const ITEMS_PER_PAGE$1 = 10;
|
|
663
|
-
const parseDate$1 = (date) => date.replace(/T.+/, "");
|
|
664
|
-
class WithdrawHistoryService {
|
|
665
|
-
constructor(apiService) {
|
|
666
|
-
__publicField(this, "abortController", new AbortController());
|
|
667
|
-
this.apiService = apiService;
|
|
668
|
-
}
|
|
669
|
-
async getTransactionHistory(filter, isInternational) {
|
|
670
|
-
this.abortController.abort();
|
|
671
|
-
this.abortController = new AbortController();
|
|
672
|
-
const route = isInternational ? ROUTE.INTERNATIONAL : ROUTE.NATIONAL;
|
|
673
|
-
const params = this.getParams(filter);
|
|
674
|
-
const { data } = await this.apiService.get(route, {
|
|
675
|
-
signal: this.abortController.signal,
|
|
676
|
-
params
|
|
677
|
-
});
|
|
678
|
-
const items = data.items.map((item) => this.mapTransactionHistoryItem(item));
|
|
679
|
-
return {
|
|
680
|
-
isEmpty: data.total_items === 0,
|
|
681
|
-
// @todo: remover esse cálculo quando a paginação for implementada no backend
|
|
682
|
-
totalPages: Math.ceil(data.total_items / ITEMS_PER_PAGE$1),
|
|
683
|
-
items
|
|
684
|
-
};
|
|
685
|
-
}
|
|
686
|
-
getParams(filter) {
|
|
687
|
-
return {
|
|
688
|
-
page: filter.page,
|
|
689
|
-
date_from: parseDate$1(filter.date[0]),
|
|
690
|
-
date_to: parseDate$1(filter.date[1]),
|
|
691
|
-
status_id: filter.statusId,
|
|
692
|
-
// @info: company_id é nessário apenas para o internacional
|
|
693
|
-
company_id: filter.companyId
|
|
694
|
-
};
|
|
695
|
-
}
|
|
696
|
-
mapTransactionHistoryItem({
|
|
697
|
-
id,
|
|
698
|
-
status: statusType,
|
|
699
|
-
formated_created_at: formattedDate,
|
|
700
|
-
currency,
|
|
701
|
-
net_value: netValue,
|
|
702
|
-
balance_type: typeText,
|
|
703
|
-
name
|
|
704
|
-
}) {
|
|
705
|
-
const status = STATUS_MAP[statusType];
|
|
706
|
-
const formattedValue = formatCentsMoney(netValue, currency);
|
|
707
|
-
const companyName = capitalize(name);
|
|
708
|
-
return {
|
|
709
|
-
id,
|
|
710
|
-
typeText,
|
|
711
|
-
companyName,
|
|
712
|
-
statusType,
|
|
713
|
-
formattedDate,
|
|
714
|
-
formattedValue,
|
|
715
|
-
item: {
|
|
716
|
-
id,
|
|
717
|
-
title: {
|
|
718
|
-
text: `ID ${id} - ${formattedDate}`,
|
|
719
|
-
textColor: "text80",
|
|
720
|
-
typographyStyle: "l6",
|
|
721
|
-
weight: "normal"
|
|
722
|
-
},
|
|
723
|
-
name: {
|
|
724
|
-
text: companyName,
|
|
725
|
-
textColor: "text80",
|
|
726
|
-
typographyStyle: "l6",
|
|
727
|
-
weight: "normal"
|
|
728
|
-
},
|
|
729
|
-
subTitle: {
|
|
730
|
-
text: typeText,
|
|
731
|
-
textColor: "text100",
|
|
732
|
-
typographyStyle: "l6",
|
|
733
|
-
weight: "medium"
|
|
734
|
-
},
|
|
735
|
-
description: {
|
|
736
|
-
text: formattedValue,
|
|
737
|
-
textColor: "text80",
|
|
738
|
-
typographyStyle: "l6",
|
|
739
|
-
weight: "normal"
|
|
740
|
-
},
|
|
741
|
-
status,
|
|
742
|
-
action: {
|
|
743
|
-
position: "center",
|
|
744
|
-
icon: "keyboard_arrow_right"
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
};
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
const withdrawHistoryService = new WithdrawHistoryService(ApiService);
|
|
751
|
-
const historyState$1 = reactive({
|
|
752
|
-
isLoading: true,
|
|
753
|
-
error: false,
|
|
754
|
-
showStatusModal: false,
|
|
755
|
-
filter: {
|
|
756
|
-
page: 1,
|
|
757
|
-
date: [],
|
|
758
|
-
statusId: ""
|
|
759
|
-
},
|
|
760
|
-
data: {
|
|
761
|
-
items: [],
|
|
762
|
-
totalPages: 1,
|
|
763
|
-
isEmpty: true
|
|
764
|
-
}
|
|
765
|
-
});
|
|
766
|
-
const getTransactionHistory = async () => {
|
|
767
|
-
var _a;
|
|
768
|
-
if (historyState$1.filter.date.length === 0 || !((_a = companyState.selected) == null ? void 0 : _a.id)) return;
|
|
769
|
-
try {
|
|
770
|
-
historyState$1.isLoading = true;
|
|
771
|
-
const payload = { ...historyState$1.filter, companyId: companyState.selected.id };
|
|
772
|
-
historyState$1.data = await withdrawHistoryService.getTransactionHistory(
|
|
773
|
-
payload,
|
|
774
|
-
extractState.isInternationalTabActive
|
|
775
|
-
);
|
|
776
|
-
historyState$1.error = false;
|
|
777
|
-
historyState$1.isLoading = false;
|
|
778
|
-
} catch (error) {
|
|
779
|
-
if (error instanceof CanceledError) return;
|
|
780
|
-
historyState$1.error = true;
|
|
781
|
-
historyState$1.isLoading = false;
|
|
782
|
-
}
|
|
783
|
-
};
|
|
784
|
-
const openFilter = () => historyState$1.showStatusModal = true;
|
|
785
|
-
const closeFilter = () => historyState$1.showStatusModal = false;
|
|
786
|
-
const setFilter = (filter) => {
|
|
787
|
-
historyState$1.filter = { ...historyState$1.filter, ...filter };
|
|
788
|
-
};
|
|
789
|
-
const clearFilter$1 = () => {
|
|
790
|
-
historyState$1.filter.page = 1;
|
|
791
|
-
historyState$1.filter.statusId = "";
|
|
792
|
-
getTransactionHistory();
|
|
793
|
-
};
|
|
794
|
-
watch(
|
|
795
|
-
() => [
|
|
796
|
-
historyState$1.filter.date,
|
|
797
|
-
historyState$1.filter.statusId,
|
|
798
|
-
extractState.isInternationalTabActive
|
|
799
|
-
],
|
|
800
|
-
() => {
|
|
801
|
-
historyState$1.filter.page = 1;
|
|
802
|
-
getTransactionHistory();
|
|
803
|
-
}
|
|
804
|
-
);
|
|
805
|
-
watch(() => historyState$1.filter.page, getTransactionHistory);
|
|
806
|
-
watch(() => companyState.selected, getTransactionHistory);
|
|
807
|
-
const useWithdrawHistoryStore = () => ({
|
|
808
|
-
...toRefs(historyState$1),
|
|
809
|
-
getTransactionHistory,
|
|
810
|
-
setFilter,
|
|
811
|
-
clearFilter: clearFilter$1,
|
|
812
|
-
openFilter,
|
|
813
|
-
closeFilter
|
|
814
|
-
});
|
|
815
|
-
const makeStatusOptions = (prefix, ids) => {
|
|
816
|
-
const { t: t2 } = useI18n();
|
|
817
|
-
return ids.map((id) => ({
|
|
818
|
-
title: t2(`${prefix}.${id}.title`),
|
|
819
|
-
value: t2(`${prefix}.${id}.id`)
|
|
820
|
-
}));
|
|
821
|
-
};
|
|
822
|
-
const STATUS_PREFIX = "withdraw_v3.withdrawTransactionHistory.tag";
|
|
823
|
-
const STATUS_TYPES = [
|
|
824
|
-
"refused",
|
|
825
|
-
"pending",
|
|
826
|
-
"approved",
|
|
827
|
-
"processing",
|
|
828
|
-
"paid",
|
|
829
|
-
"waiting-return",
|
|
830
|
-
"pix-account-validation-fail"
|
|
831
|
-
];
|
|
832
|
-
const getStatusOptions = () => makeStatusOptions(STATUS_PREFIX, STATUS_TYPES);
|
|
833
|
-
const HISTORY_HEADER_TABLE = [
|
|
834
|
-
{
|
|
835
|
-
key: "id",
|
|
836
|
-
title: "ID",
|
|
837
|
-
sortable: false,
|
|
838
|
-
align: "start"
|
|
839
|
-
},
|
|
840
|
-
{
|
|
841
|
-
key: "formattedDate",
|
|
842
|
-
title: "Data",
|
|
843
|
-
sortable: true,
|
|
844
|
-
align: "start"
|
|
845
|
-
},
|
|
846
|
-
{
|
|
847
|
-
key: "typeText",
|
|
848
|
-
title: "Tipo",
|
|
849
|
-
sortable: false,
|
|
850
|
-
align: "start"
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
key: "companyName",
|
|
854
|
-
title: "Empresa",
|
|
855
|
-
sortable: false,
|
|
856
|
-
align: "start"
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
key: "formattedValue",
|
|
860
|
-
title: "Valor líquido",
|
|
861
|
-
sortable: true,
|
|
862
|
-
align: "end"
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
customKey: "statusType",
|
|
866
|
-
key: "statusType",
|
|
867
|
-
title: "Status",
|
|
868
|
-
sortable: false,
|
|
869
|
-
align: "start"
|
|
870
|
-
}
|
|
871
|
-
];
|
|
872
|
-
const _hoisted_1$c = { class: "flex flex-col gap-4 md:!flex-row md:!items-center xl:!justify-end" };
|
|
873
|
-
const _hoisted_2$8 = { class: "md:!w-[350px]" };
|
|
874
|
-
const _hoisted_3$7 = { class: "flex gap-4 md:flex-1 xl:!flex-initial" };
|
|
875
|
-
const __default__$g = { name: "WithdrawHistoryFilter" };
|
|
876
|
-
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
877
|
-
...__default__$g,
|
|
878
|
-
setup(__props) {
|
|
879
|
-
const { filter, clearFilter: clearFilter2 } = useWithdrawHistoryStore();
|
|
880
|
-
const updateKey = ref(0);
|
|
881
|
-
const statusList = getStatusOptions();
|
|
882
|
-
const handleClearFilters = async () => {
|
|
883
|
-
clearFilter2();
|
|
884
|
-
updateKey.value++;
|
|
885
|
-
};
|
|
886
|
-
return (_ctx, _cache) => {
|
|
887
|
-
return openBlock(), createElementBlock("div", {
|
|
888
|
-
key: updateKey.value,
|
|
889
|
-
class: "flex flex-col my-4 gap-4 xl:!flex-row xl:!justify-between"
|
|
890
|
-
}, [
|
|
891
|
-
createVNode(unref(y), {
|
|
892
|
-
as: "h3",
|
|
893
|
-
variant: "subtitle",
|
|
894
|
-
isStrong: "",
|
|
895
|
-
"data-test": "withdraw-history-filter-title"
|
|
896
|
-
}, {
|
|
897
|
-
default: withCtx(() => [
|
|
898
|
-
createTextVNode(toDisplayString(_ctx.$t("withdraw_v3.withdrawTransactionHistory.title")), 1)
|
|
899
|
-
]),
|
|
900
|
-
_: 1
|
|
901
|
-
}),
|
|
902
|
-
createBaseVNode("div", _hoisted_1$c, [
|
|
903
|
-
createBaseVNode("div", _hoisted_2$8, [
|
|
904
|
-
createVNode(unref(he), {
|
|
905
|
-
modelValue: unref(filter).date,
|
|
906
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(filter).date = $event),
|
|
907
|
-
"data-test": "withdraw-history-filter-date",
|
|
908
|
-
"default-selected": 30,
|
|
909
|
-
"max-date": /* @__PURE__ */ new Date()
|
|
910
|
-
}, null, 8, ["modelValue", "max-date"])
|
|
911
|
-
]),
|
|
912
|
-
createBaseVNode("div", _hoisted_3$7, [
|
|
913
|
-
createVNode(unref(script), {
|
|
914
|
-
modelValue: unref(filter).statusId,
|
|
915
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(filter).statusId = $event),
|
|
916
|
-
"data-test": "withdraw-history-filter-status-dropdown",
|
|
917
|
-
options: unref(statusList),
|
|
918
|
-
placeholder: _ctx.$t("withdraw_v3.withdrawTransactionHistory.situation"),
|
|
919
|
-
optionLabel: "title",
|
|
920
|
-
optionValue: "value",
|
|
921
|
-
class: "!flex-1 lg:w-[240px]",
|
|
922
|
-
append: "self",
|
|
923
|
-
size: "small"
|
|
924
|
-
}, null, 8, ["modelValue", "options", "placeholder"]),
|
|
925
|
-
createVNode(unref($), {
|
|
926
|
-
class: "!px-3 !w-fit",
|
|
927
|
-
"data-test": "withdraw-history-filter-date-clear-button",
|
|
928
|
-
size: "small",
|
|
929
|
-
text: "",
|
|
930
|
-
label: _ctx.$t("withdraw_v3.withdrawTransactionHistory.clear"),
|
|
931
|
-
onClick: handleClearFilters
|
|
932
|
-
}, null, 8, ["label"])
|
|
933
|
-
])
|
|
934
|
-
])
|
|
935
|
-
]);
|
|
936
|
-
};
|
|
937
|
-
}
|
|
938
|
-
});
|
|
939
|
-
const _hoisted_1$b = {
|
|
940
|
-
key: 3,
|
|
941
|
-
class: "withdraw-history__table"
|
|
942
|
-
};
|
|
943
|
-
const _hoisted_2$7 = { class: "grid" };
|
|
944
|
-
const _hoisted_3$6 = ["onClick"];
|
|
945
|
-
const _hoisted_4$3 = { class: "grid gap-2" };
|
|
946
|
-
const __default__$f = { name: "WithdrawHistoryList" };
|
|
947
|
-
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
948
|
-
...__default__$f,
|
|
949
|
-
setup(__props) {
|
|
950
|
-
const isDesktop = useBreakpoint("desktop");
|
|
951
|
-
const router = useRouter();
|
|
952
|
-
const { isLoading, error, data, filter } = useWithdrawHistoryStore();
|
|
953
|
-
const handleRowClick = (item) => {
|
|
954
|
-
const transactionId = item.id;
|
|
955
|
-
const redirectUrl = `/v2/saque/detalhe/${transactionId}`;
|
|
956
|
-
router.push(redirectUrl);
|
|
957
|
-
};
|
|
958
|
-
const feedbackError = {
|
|
959
|
-
iconName: "refresh",
|
|
960
|
-
title: t("withdraw_v3.withdrawTransactionHistory.errorDataLoading"),
|
|
961
|
-
text: t("withdraw_v3.withdrawTransactionHistory.errorRefreshLoading")
|
|
962
|
-
};
|
|
963
|
-
const feedbackNotFound = {
|
|
964
|
-
iconName: "folder",
|
|
965
|
-
title: t("withdraw_v3.withdrawTransactionHistory.notFoundData"),
|
|
966
|
-
text: ""
|
|
967
|
-
};
|
|
968
|
-
const paginatorFirst = computed(() => filter.value.page > 1 ? (filter.value.page - 1) * 10 : 0);
|
|
969
|
-
const paginatorTotalRecords = computed(() => (data.value.totalPages || 0) * 10);
|
|
970
|
-
const onPageChange = (pageState) => {
|
|
971
|
-
filter.value.page = (pageState.page || 0) + 1;
|
|
972
|
-
};
|
|
973
|
-
return (_ctx, _cache) => {
|
|
974
|
-
return unref(isLoading) ? (openBlock(), createBlock(unref(w), {
|
|
975
|
-
key: 0,
|
|
976
|
-
class: "withdraw-history__loading"
|
|
977
|
-
})) : unref(error) ? (openBlock(), createBlock(_sfc_main$z, normalizeProps(mergeProps({ key: 1 }, feedbackError)), null, 16)) : unref(data).isEmpty ? (openBlock(), createBlock(_sfc_main$z, normalizeProps(mergeProps({ key: 2 }, feedbackNotFound)), null, 16)) : (openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
978
|
-
unref(isDesktop) ? (openBlock(), createBlock(unref(script$1), {
|
|
979
|
-
key: 0,
|
|
980
|
-
value: unref(data).items,
|
|
981
|
-
onRowClick: _cache[0] || (_cache[0] = ($event) => handleRowClick($event.data))
|
|
982
|
-
}, {
|
|
983
|
-
default: withCtx(() => [
|
|
984
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(HISTORY_HEADER_TABLE), (header) => {
|
|
985
|
-
return openBlock(), createBlock(unref(script$2), {
|
|
986
|
-
field: header.key,
|
|
987
|
-
header: unref(t)(`withdraw_v3.withdrawTransactionHistory.table.${header.key}`),
|
|
988
|
-
key: header.key
|
|
989
|
-
}, createSlots({ _: 2 }, [
|
|
990
|
-
header.customKey ? {
|
|
991
|
-
name: "body",
|
|
992
|
-
fn: withCtx(({ data: data2 }) => [
|
|
993
|
-
createVNode(StatusDescriptionModal, {
|
|
994
|
-
"status-tag": data2.statusType
|
|
995
|
-
}, null, 8, ["status-tag"])
|
|
996
|
-
]),
|
|
997
|
-
key: "0"
|
|
998
|
-
} : void 0
|
|
999
|
-
]), 1032, ["field", "header"]);
|
|
1000
|
-
}), 128))
|
|
1001
|
-
]),
|
|
1002
|
-
_: 1
|
|
1003
|
-
}, 8, ["value"])) : (openBlock(), createBlock(unref(script$3), {
|
|
1004
|
-
key: 1,
|
|
1005
|
-
value: unref(data).items,
|
|
1006
|
-
dataKey: "id",
|
|
1007
|
-
class: "!border-0"
|
|
1008
|
-
}, {
|
|
1009
|
-
list: withCtx(({ items }) => [
|
|
1010
|
-
createBaseVNode("div", _hoisted_2$7, [
|
|
1011
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (item, index) => {
|
|
1012
|
-
return openBlock(), createElementBlock("div", {
|
|
1013
|
-
class: "flex py-4 items-center justify-between cursor-pointer border-b border-gray-200",
|
|
1014
|
-
key: index,
|
|
1015
|
-
onClick: ($event) => handleRowClick(item)
|
|
1016
|
-
}, [
|
|
1017
|
-
createBaseVNode("div", _hoisted_4$3, [
|
|
1018
|
-
createVNode(unref(y), { class: "text-muted-color-emphasis" }, {
|
|
1019
|
-
default: withCtx(() => [
|
|
1020
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.withdrawTransactionHistory.table.mobileId", {
|
|
1021
|
-
id: item.id,
|
|
1022
|
-
date: item.formattedDate
|
|
1023
|
-
})), 1)
|
|
1024
|
-
]),
|
|
1025
|
-
_: 2
|
|
1026
|
-
}, 1024),
|
|
1027
|
-
createVNode(unref(y), { class: "text-muted-color-emphasis" }, {
|
|
1028
|
-
default: withCtx(() => [
|
|
1029
|
-
createTextVNode(toDisplayString(item.companyName), 1)
|
|
1030
|
-
]),
|
|
1031
|
-
_: 2
|
|
1032
|
-
}, 1024),
|
|
1033
|
-
createBaseVNode("div", null, [
|
|
1034
|
-
createVNode(unref(y), { isStrong: "" }, {
|
|
1035
|
-
default: withCtx(() => [
|
|
1036
|
-
createTextVNode(toDisplayString(item.typeText), 1)
|
|
1037
|
-
]),
|
|
1038
|
-
_: 2
|
|
1039
|
-
}, 1024),
|
|
1040
|
-
createVNode(unref(y), { class: "text-muted-color-emphasis" }, {
|
|
1041
|
-
default: withCtx(() => [
|
|
1042
|
-
createTextVNode(toDisplayString(item.formattedValue), 1)
|
|
1043
|
-
]),
|
|
1044
|
-
_: 2
|
|
1045
|
-
}, 1024)
|
|
1046
|
-
]),
|
|
1047
|
-
createVNode(StatusDescriptionModal, {
|
|
1048
|
-
"status-tag": item.statusType
|
|
1049
|
-
}, null, 8, ["status-tag"])
|
|
1050
|
-
]),
|
|
1051
|
-
createVNode(unref(_), {
|
|
1052
|
-
icon: "chevron_right",
|
|
1053
|
-
class: "mr-4 text-primary",
|
|
1054
|
-
size: "xl"
|
|
1055
|
-
})
|
|
1056
|
-
], 8, _hoisted_3$6);
|
|
1057
|
-
}), 128))
|
|
1058
|
-
])
|
|
1059
|
-
]),
|
|
1060
|
-
_: 1
|
|
1061
|
-
}, 8, ["value"])),
|
|
1062
|
-
createVNode(unref(script$4), {
|
|
1063
|
-
rows: 10,
|
|
1064
|
-
totalRecords: paginatorTotalRecords.value,
|
|
1065
|
-
first: paginatorFirst.value,
|
|
1066
|
-
onPage: onPageChange,
|
|
1067
|
-
template: "PrevPageLink PageLinks NextPageLink"
|
|
1068
|
-
}, null, 8, ["totalRecords", "first"])
|
|
1069
|
-
]));
|
|
1070
|
-
};
|
|
1071
|
-
}
|
|
1072
|
-
});
|
|
1073
|
-
const WithdrawHistoryList = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-70925350"]]);
|
|
1074
|
-
const __default__$e = { name: "WithdrawTransactionHistory" };
|
|
1075
|
-
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
1076
|
-
...__default__$e,
|
|
1077
|
-
setup(__props) {
|
|
1078
|
-
const { getTransactionHistory: getTransactionHistory2 } = useWithdrawHistoryStore();
|
|
1079
|
-
onMounted(getTransactionHistory2);
|
|
1080
|
-
return (_ctx, _cache) => {
|
|
1081
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1082
|
-
createVNode(_sfc_main$h),
|
|
1083
|
-
createVNode(WithdrawHistoryList)
|
|
1084
|
-
], 64);
|
|
1085
|
-
};
|
|
1086
|
-
}
|
|
1087
|
-
});
|
|
1088
|
-
const ITEMS_PER_PAGE = 10;
|
|
1089
|
-
const parseDate = (date) => date.toISOString().replace(/T.+/, "");
|
|
1090
|
-
class WithdrawPreOrdersMaxService {
|
|
1091
|
-
constructor(apiService) {
|
|
1092
|
-
__publicField(this, "abortController", new AbortController());
|
|
1093
|
-
this.apiService = apiService;
|
|
1094
|
-
}
|
|
1095
|
-
async getAutoAnticipationHistory(filter) {
|
|
1096
|
-
this.abortController.abort();
|
|
1097
|
-
this.abortController = new AbortController();
|
|
1098
|
-
const params = this.getParams(filter);
|
|
1099
|
-
const { company_id, date_from, date_to, page } = params;
|
|
1100
|
-
const route = `/api/max/company/${company_id}/auto_anticipation/history?page=${page}&date_from=${date_from}&date_to=${date_to}`;
|
|
1101
|
-
const { data } = await this.apiService.get(route, {
|
|
1102
|
-
signal: this.abortController.signal
|
|
1103
|
-
});
|
|
1104
|
-
return {
|
|
1105
|
-
activeHistoryTab: data.active_history_tab,
|
|
1106
|
-
isEmpty: data.total_items === 0,
|
|
1107
|
-
totalPages: Math.ceil(data.total_items / ITEMS_PER_PAGE),
|
|
1108
|
-
items: data.items
|
|
1109
|
-
};
|
|
1110
|
-
}
|
|
1111
|
-
async exportAutoAnticipationHistory(email, filter) {
|
|
1112
|
-
const { company_id, date_from, date_to } = this.getParams(filter);
|
|
1113
|
-
const route = `/api/max/company/${company_id}/auto_anticipation/export`;
|
|
1114
|
-
await this.apiService.post(route, {
|
|
1115
|
-
date_from,
|
|
1116
|
-
date_to,
|
|
1117
|
-
email
|
|
1118
|
-
});
|
|
1119
|
-
}
|
|
1120
|
-
getParams(filter) {
|
|
1121
|
-
return {
|
|
1122
|
-
page: filter.page,
|
|
1123
|
-
date_from: parseDate(new Date(filter.date[0])),
|
|
1124
|
-
date_to: parseDate(new Date(filter.date[1])),
|
|
1125
|
-
company_id: filter.companyId
|
|
1126
|
-
};
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
const withdrawPreOrdersMaxService = new WithdrawPreOrdersMaxService(ApiService);
|
|
1130
|
-
const historyState = reactive({
|
|
1131
|
-
isLoading: true,
|
|
1132
|
-
error: false,
|
|
1133
|
-
isVisibleModal: false,
|
|
1134
|
-
showConfirmExportModal: false,
|
|
1135
|
-
showMaxAccountTab: false,
|
|
1136
|
-
email: "",
|
|
1137
|
-
filter: {
|
|
1138
|
-
page: 1,
|
|
1139
|
-
date: []
|
|
1140
|
-
},
|
|
1141
|
-
data: {
|
|
1142
|
-
activeHistoryTab: false,
|
|
1143
|
-
items: [],
|
|
1144
|
-
totalPages: 1,
|
|
1145
|
-
isEmpty: true
|
|
1146
|
-
},
|
|
1147
|
-
hasNextPage: true,
|
|
1148
|
-
pageSize: 0,
|
|
1149
|
-
loadingTabs: true
|
|
1150
|
-
});
|
|
1151
|
-
const getAutoAnticipationHistory = async () => {
|
|
1152
|
-
var _a;
|
|
1153
|
-
if (historyState.filter.date.length === 0 || !((_a = companyState.selected) == null ? void 0 : _a.id)) return;
|
|
1154
|
-
try {
|
|
1155
|
-
historyState.isLoading = true;
|
|
1156
|
-
const payload = { ...historyState.filter, companyId: companyState.selected.id };
|
|
1157
|
-
const response = await withdrawPreOrdersMaxService.getAutoAnticipationHistory(payload);
|
|
1158
|
-
historyState.data = response;
|
|
1159
|
-
historyState.pageSize = historyState.data.totalPages;
|
|
1160
|
-
historyState.hasNextPage = historyState.pageSize > historyState.filter.page;
|
|
1161
|
-
historyState.showMaxAccountTab = response.activeHistoryTab;
|
|
1162
|
-
historyState.error = false;
|
|
1163
|
-
historyState.isLoading = false;
|
|
1164
|
-
historyState.loadingTabs = false;
|
|
1165
|
-
} catch (error) {
|
|
1166
|
-
if (error instanceof CanceledError) return;
|
|
1167
|
-
historyState.error = true;
|
|
1168
|
-
historyState.isLoading = false;
|
|
1169
|
-
}
|
|
1170
|
-
};
|
|
1171
|
-
const exportAutoAnticipationHistory = async (email) => {
|
|
1172
|
-
var _a;
|
|
1173
|
-
if (!((_a = companyState.selected) == null ? void 0 : _a.id)) return;
|
|
1174
|
-
try {
|
|
1175
|
-
const payload = { ...historyState.filter, companyId: companyState.selected.id };
|
|
1176
|
-
await withdrawPreOrdersMaxService.exportAutoAnticipationHistory(email, payload);
|
|
1177
|
-
toaster.success(t("withdraw_v3.pre-orders-max-account.toast-success"));
|
|
1178
|
-
} catch (error) {
|
|
1179
|
-
toaster.error(t("withdraw_v3.pre-orders-max-account.toast-error"));
|
|
1180
|
-
}
|
|
1181
|
-
};
|
|
1182
|
-
const setModalVisibility = (isVisible) => {
|
|
1183
|
-
historyState.isVisibleModal = isVisible;
|
|
1184
|
-
};
|
|
1185
|
-
const verifyLoadingTabs = async () => {
|
|
1186
|
-
historyState.loadingTabs = true;
|
|
1187
|
-
await getAutoAnticipationHistory();
|
|
1188
|
-
historyState.loadingTabs = false;
|
|
1189
|
-
};
|
|
1190
|
-
const closeExportPreOrdersModal = () => {
|
|
1191
|
-
historyState.isVisibleModal = false;
|
|
1192
|
-
historyState.showConfirmExportModal = false;
|
|
1193
|
-
historyState.email = "";
|
|
1194
|
-
};
|
|
1195
|
-
const exportPreOrdersHistory = () => {
|
|
1196
|
-
exportAutoAnticipationHistory(historyState.email);
|
|
1197
|
-
closeExportPreOrdersModal();
|
|
1198
|
-
};
|
|
1199
|
-
const clearFilter = () => {
|
|
1200
|
-
historyState.filter.page = 1;
|
|
1201
|
-
getAutoAnticipationHistory();
|
|
1202
|
-
};
|
|
1203
|
-
const showPagination = computed(() => {
|
|
1204
|
-
if (historyState.isLoading || historyState.error) return false;
|
|
1205
|
-
return historyState.pageSize > 0;
|
|
1206
|
-
});
|
|
1207
|
-
const onChangePage = (page) => {
|
|
1208
|
-
if (page === historyState.filter.page) return;
|
|
1209
|
-
historyState.filter.page = page;
|
|
1210
|
-
};
|
|
1211
|
-
watch(() => companyState.selected, verifyLoadingTabs);
|
|
1212
|
-
watch(() => historyState.filter.page, getAutoAnticipationHistory);
|
|
1213
|
-
watch(() => historyState.filter.date, getAutoAnticipationHistory);
|
|
1214
|
-
const useWithdrawPreOrdersStore = () => ({
|
|
1215
|
-
...toRefs(historyState),
|
|
1216
|
-
getAutoAnticipationHistory,
|
|
1217
|
-
clearFilter,
|
|
1218
|
-
exportAutoAnticipationHistory,
|
|
1219
|
-
setModalVisibility,
|
|
1220
|
-
closeExportPreOrdersModal,
|
|
1221
|
-
exportPreOrdersHistory,
|
|
1222
|
-
showPagination,
|
|
1223
|
-
onChangePage,
|
|
1224
|
-
disableExportButton: computed(() => historyState.data.isEmpty || historyState.isLoading)
|
|
1225
|
-
});
|
|
1226
|
-
const _hoisted_1$a = { class: "flex flex-col gap-4" };
|
|
1227
|
-
const _hoisted_2$6 = { class: "text-center" };
|
|
1228
|
-
const _hoisted_3$5 = { class: "flex gap-2 justify-end" };
|
|
1229
|
-
const __default__$d = { name: "WithdrawPreOrdersConfirmExportModal" };
|
|
1230
|
-
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
1231
|
-
...__default__$d,
|
|
1232
|
-
setup(__props) {
|
|
1233
|
-
const dataTestPrefix = "withdraw-pre-orders-confirm-export";
|
|
1234
|
-
const { email, showConfirmExportModal, exportPreOrdersHistory: exportPreOrdersHistory2 } = useWithdrawPreOrdersStore();
|
|
1235
|
-
return (_ctx, _cache) => {
|
|
1236
|
-
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
1237
|
-
createBaseVNode("div", null, [
|
|
1238
|
-
createVNode(unref(R), {
|
|
1239
|
-
title: _ctx.$t("withdraw_v3.pre-orders-max-account.export-alert-title"),
|
|
1240
|
-
message: _ctx.$t("withdraw_v3.pre-orders-max-account.export-alert")
|
|
1241
|
-
}, null, 8, ["title", "message"])
|
|
1242
|
-
]),
|
|
1243
|
-
createBaseVNode("div", _hoisted_2$6, [
|
|
1244
|
-
createVNode(unref(y), {
|
|
1245
|
-
variant: "subtitle",
|
|
1246
|
-
"data-test": `${dataTestPrefix}-send-email-text`
|
|
1247
|
-
}, {
|
|
1248
|
-
default: withCtx(() => [
|
|
1249
|
-
createTextVNode(toDisplayString(_ctx.$t("withdraw_v3.pre-orders-max-account.send-email-text")), 1),
|
|
1250
|
-
createBaseVNode("strong", null, toDisplayString(unref(email)), 1),
|
|
1251
|
-
_cache[1] || (_cache[1] = createTextVNode(". "))
|
|
1252
|
-
]),
|
|
1253
|
-
_: 1
|
|
1254
|
-
}, 8, ["data-test"])
|
|
1255
|
-
]),
|
|
1256
|
-
createBaseVNode("div", _hoisted_3$5, [
|
|
1257
|
-
createVNode(unref($), {
|
|
1258
|
-
size: "small",
|
|
1259
|
-
outlined: "",
|
|
1260
|
-
label: _ctx.$t("withdraw_v3.pre-orders-max-account.export-back-button"),
|
|
1261
|
-
"data-test": `${dataTestPrefix}-back-button`,
|
|
1262
|
-
onClick: _cache[0] || (_cache[0] = ($event) => showConfirmExportModal.value = false)
|
|
1263
|
-
}, null, 8, ["label", "data-test"]),
|
|
1264
|
-
createVNode(unref($), {
|
|
1265
|
-
size: "small",
|
|
1266
|
-
label: _ctx.$t("withdraw_v3.pre-orders-max-account.export-confirm-button"),
|
|
1267
|
-
"data-test": `${dataTestPrefix}-confirm-button`,
|
|
1268
|
-
onClick: unref(exportPreOrdersHistory2)
|
|
1269
|
-
}, null, 8, ["label", "data-test", "onClick"])
|
|
1270
|
-
])
|
|
1271
|
-
]);
|
|
1272
|
-
};
|
|
1273
|
-
}
|
|
1274
|
-
});
|
|
1275
|
-
const _hoisted_1$9 = { class: "flex flex-col gap-4" };
|
|
1276
|
-
const _hoisted_2$5 = { class: "flex flex-col gap-2" };
|
|
1277
|
-
const _hoisted_3$4 = ["data-test"];
|
|
1278
|
-
const _hoisted_4$2 = ["data-test"];
|
|
1279
|
-
const _hoisted_5$1 = { class: "flex gap-2 justify-end" };
|
|
1280
|
-
const __default__$c = { name: "WithdrawPreOrdersGetEmailExportModal" };
|
|
1281
|
-
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
1282
|
-
...__default__$c,
|
|
1283
|
-
setup(__props) {
|
|
1284
|
-
const { filter, email, showConfirmExportModal, closeExportPreOrdersModal: closeExportPreOrdersModal2 } = useWithdrawPreOrdersStore();
|
|
1285
|
-
const dataTestPrefix = "pre-orders-export";
|
|
1286
|
-
const parseDate2 = (date) => {
|
|
1287
|
-
const d = typeof date === "string" ? new Date(date) : date;
|
|
1288
|
-
return d.toISOString().split("T")[0].split("-").reverse().join("/");
|
|
1289
|
-
};
|
|
1290
|
-
const isValidEmail = computed(() => {
|
|
1291
|
-
const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
|
1292
|
-
return email.value && emailRegex.test(email.value);
|
|
1293
|
-
});
|
|
1294
|
-
return (_ctx, _cache) => {
|
|
1295
|
-
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
1296
|
-
createBaseVNode("div", null, [
|
|
1297
|
-
createVNode(unref(y), {
|
|
1298
|
-
variant: "subtitle",
|
|
1299
|
-
"data-test": `${dataTestPrefix}-period`
|
|
1300
|
-
}, {
|
|
1301
|
-
default: withCtx(() => [
|
|
1302
|
-
createTextVNode(toDisplayString(_ctx.$t("withdraw_v3.pre-orders-max-account.period", {
|
|
1303
|
-
startDate: parseDate2(unref(filter).date[0]),
|
|
1304
|
-
endDate: parseDate2(unref(filter).date[1])
|
|
1305
|
-
})), 1)
|
|
1306
|
-
]),
|
|
1307
|
-
_: 1
|
|
1308
|
-
}, 8, ["data-test"])
|
|
1309
|
-
]),
|
|
1310
|
-
createBaseVNode("div", _hoisted_2$5, [
|
|
1311
|
-
createBaseVNode("label", {
|
|
1312
|
-
for: "email",
|
|
1313
|
-
"data-test": `${dataTestPrefix}-email-label`
|
|
1314
|
-
}, toDisplayString(_ctx.$t("withdraw_v3.pre-orders-max-account.email-to-receiv")), 9, _hoisted_3$4),
|
|
1315
|
-
createVNode(unref(script$5), {
|
|
1316
|
-
name: "email",
|
|
1317
|
-
type: "text",
|
|
1318
|
-
placeholder: "Email",
|
|
1319
|
-
size: "small",
|
|
1320
|
-
modelValue: unref(email),
|
|
1321
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(email) ? email.value = $event : null),
|
|
1322
|
-
"data-test": `${dataTestPrefix}-email-input`
|
|
1323
|
-
}, null, 8, ["modelValue", "data-test"]),
|
|
1324
|
-
unref(email) && !isValidEmail.value ? (openBlock(), createElementBlock("span", {
|
|
1325
|
-
key: 0,
|
|
1326
|
-
class: "text-red-500 text-sm",
|
|
1327
|
-
"data-test": `${dataTestPrefix}-invalid-email`
|
|
1328
|
-
}, toDisplayString(_ctx.$t("withdraw_v3.pre-orders-max-account.email-invalid")), 9, _hoisted_4$2)) : createCommentVNode("", true)
|
|
1329
|
-
]),
|
|
1330
|
-
createBaseVNode("div", null, [
|
|
1331
|
-
createVNode(unref(R), {
|
|
1332
|
-
title: _ctx.$t("withdraw_v3.pre-orders-max-account.export-alert-title"),
|
|
1333
|
-
message: _ctx.$t("withdraw_v3.pre-orders-max-account.export-alert")
|
|
1334
|
-
}, null, 8, ["title", "message"])
|
|
1335
|
-
]),
|
|
1336
|
-
createBaseVNode("div", _hoisted_5$1, [
|
|
1337
|
-
createVNode(unref($), {
|
|
1338
|
-
size: "small",
|
|
1339
|
-
outlined: "",
|
|
1340
|
-
label: _ctx.$t("withdraw_v3.pre-orders-max-account.export-cancel-button"),
|
|
1341
|
-
"data-test": `${dataTestPrefix}-cancel-button`,
|
|
1342
|
-
onClick: unref(closeExportPreOrdersModal2)
|
|
1343
|
-
}, null, 8, ["label", "data-test", "onClick"]),
|
|
1344
|
-
createVNode(unref($), {
|
|
1345
|
-
size: "small",
|
|
1346
|
-
label: _ctx.$t("withdraw_v3.pre-orders-max-account.export-continue-button"),
|
|
1347
|
-
"data-test": `${dataTestPrefix}-continue-button`,
|
|
1348
|
-
disabled: !isValidEmail.value,
|
|
1349
|
-
onClick: _cache[1] || (_cache[1] = ($event) => showConfirmExportModal.value = true)
|
|
1350
|
-
}, null, 8, ["label", "data-test", "disabled"])
|
|
1351
|
-
])
|
|
1352
|
-
]);
|
|
1353
|
-
};
|
|
1354
|
-
}
|
|
1355
|
-
});
|
|
1356
|
-
const __default__$b = { name: "WithdrawPreOrdersExportModal" };
|
|
1357
|
-
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
1358
|
-
...__default__$b,
|
|
1359
|
-
setup(__props) {
|
|
1360
|
-
const { isVisibleModal, showConfirmExportModal } = useWithdrawPreOrdersStore();
|
|
1361
|
-
return (_ctx, _cache) => {
|
|
1362
|
-
return openBlock(), createBlock(unref(script$6), {
|
|
1363
|
-
visible: unref(isVisibleModal),
|
|
1364
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(isVisibleModal) ? isVisibleModal.value = $event : null),
|
|
1365
|
-
modal: "",
|
|
1366
|
-
header: "Exportar relatórios",
|
|
1367
|
-
class: "w-[90%] sm:!w-[500px]"
|
|
1368
|
-
}, {
|
|
1369
|
-
default: withCtx(() => [
|
|
1370
|
-
!unref(showConfirmExportModal) ? (openBlock(), createBlock(_sfc_main$d, { key: 0 })) : (openBlock(), createBlock(_sfc_main$e, { key: 1 }))
|
|
1371
|
-
]),
|
|
1372
|
-
_: 1
|
|
1373
|
-
}, 8, ["visible"]);
|
|
1374
|
-
};
|
|
1375
|
-
}
|
|
1376
|
-
});
|
|
1377
|
-
const _hoisted_1$8 = { class: "flex w-full flex-col my-4 gap-4 xl:!flex-row" };
|
|
1378
|
-
const _hoisted_2$4 = { class: "flex flex-col gap-4 w-full md:!flex-row md:!items-center xl:!justify-end" };
|
|
1379
|
-
const _hoisted_3$3 = { class: "md:!w-[350px]" };
|
|
1380
|
-
const _hoisted_4$1 = { class: "flex gap-4 md:flex-1 xl:!flex-initial" };
|
|
1381
|
-
const __default__$a = { name: "WithdrawPreOrdersFilter" };
|
|
1382
|
-
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
1383
|
-
...__default__$a,
|
|
1384
|
-
setup(__props) {
|
|
1385
|
-
const { filter, setModalVisibility: setModalVisibility2, disableExportButton } = useWithdrawPreOrdersStore();
|
|
1386
|
-
const dataTestPrefix = "withdraw-pre-orders-filter";
|
|
1387
|
-
const exportPreOrdersHistory2 = async () => {
|
|
1388
|
-
if (disableExportButton.value) return;
|
|
1389
|
-
setModalVisibility2(true);
|
|
1390
|
-
};
|
|
1391
|
-
return (_ctx, _cache) => {
|
|
1392
|
-
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
1393
|
-
createBaseVNode("div", _hoisted_2$4, [
|
|
1394
|
-
createBaseVNode("div", _hoisted_3$3, [
|
|
1395
|
-
createVNode(unref(he), {
|
|
1396
|
-
modelValue: unref(filter).date,
|
|
1397
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(filter).date = $event),
|
|
1398
|
-
"data-test": "withdraw-pre-orders-filter-date",
|
|
1399
|
-
"default-selected": 0,
|
|
1400
|
-
"max-date": /* @__PURE__ */ new Date()
|
|
1401
|
-
}, null, 8, ["modelValue", "max-date"])
|
|
1402
|
-
]),
|
|
1403
|
-
createBaseVNode("div", _hoisted_4$1, [
|
|
1404
|
-
createVNode(unref($), {
|
|
1405
|
-
type: "button",
|
|
1406
|
-
class: "!w-full",
|
|
1407
|
-
outlined: "",
|
|
1408
|
-
size: "small",
|
|
1409
|
-
disabled: unref(disableExportButton),
|
|
1410
|
-
"data-test": `${dataTestPrefix}-export-button`,
|
|
1411
|
-
onClick: exportPreOrdersHistory2
|
|
1412
|
-
}, {
|
|
1413
|
-
default: withCtx(() => [
|
|
1414
|
-
createVNode(unref(_), {
|
|
1415
|
-
variant: "svg",
|
|
1416
|
-
icon: "csv",
|
|
1417
|
-
size: "md",
|
|
1418
|
-
color: "primary-500",
|
|
1419
|
-
"data-test": `${dataTestPrefix}-export-icon`
|
|
1420
|
-
}, null, 8, ["data-test"]),
|
|
1421
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("withdraw_v3.pre-orders-max-account.export-button")), 1)
|
|
1422
|
-
]),
|
|
1423
|
-
_: 1
|
|
1424
|
-
}, 8, ["disabled", "data-test"]),
|
|
1425
|
-
createVNode(_sfc_main$c)
|
|
1426
|
-
])
|
|
1427
|
-
])
|
|
1428
|
-
]);
|
|
1429
|
-
};
|
|
1430
|
-
}
|
|
1431
|
-
});
|
|
1432
|
-
const __default__$9 = { name: "WithdrawMaxAccountTable" };
|
|
1433
|
-
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
1434
|
-
...__default__$9,
|
|
1435
|
-
setup(__props) {
|
|
1436
|
-
const { data } = useWithdrawPreOrdersStore();
|
|
1437
|
-
const rows = computed(() => {
|
|
1438
|
-
var _a;
|
|
1439
|
-
return ((_a = data.value) == null ? void 0 : _a.items) ?? [];
|
|
1440
|
-
});
|
|
1441
|
-
return (_ctx, _cache) => {
|
|
1442
|
-
return openBlock(), createBlock(unref(script$1), {
|
|
1443
|
-
value: rows.value,
|
|
1444
|
-
class: "min-w-full"
|
|
1445
|
-
}, {
|
|
1446
|
-
default: withCtx(() => [
|
|
1447
|
-
createVNode(unref(script$2), {
|
|
1448
|
-
field: "id",
|
|
1449
|
-
header: _ctx.$t("withdraw_v3.pre-orders-max-account.id")
|
|
1450
|
-
}, null, 8, ["header"]),
|
|
1451
|
-
createVNode(unref(script$2), {
|
|
1452
|
-
field: "formated_created_at",
|
|
1453
|
-
header: _ctx.$t("withdraw_v3.pre-orders-max-account.data"),
|
|
1454
|
-
sortable: ""
|
|
1455
|
-
}, null, 8, ["header"]),
|
|
1456
|
-
createVNode(unref(script$2), {
|
|
1457
|
-
field: "company",
|
|
1458
|
-
header: _ctx.$t("withdraw_v3.pre-orders-max-account.company")
|
|
1459
|
-
}, null, 8, ["header"]),
|
|
1460
|
-
createVNode(unref(script$2), {
|
|
1461
|
-
field: "type",
|
|
1462
|
-
header: _ctx.$t("withdraw_v3.pre-orders-max-account.type")
|
|
1463
|
-
}, null, 8, ["header"]),
|
|
1464
|
-
createVNode(unref(script$2), {
|
|
1465
|
-
field: "formated_net_value",
|
|
1466
|
-
header: _ctx.$t("withdraw_v3.pre-orders-max-account.value"),
|
|
1467
|
-
sortable: ""
|
|
1468
|
-
}, null, 8, ["header"])
|
|
1469
|
-
]),
|
|
1470
|
-
_: 1
|
|
1471
|
-
}, 8, ["value"]);
|
|
1472
|
-
};
|
|
1473
|
-
}
|
|
1474
|
-
});
|
|
1475
|
-
const _hoisted_1$7 = { class: "grid gap-4 w-full" };
|
|
1476
|
-
const _hoisted_2$3 = { class: "space-y-4" };
|
|
1477
|
-
const _hoisted_3$2 = { class: "flex items-center gap-2" };
|
|
1478
|
-
const _hoisted_4 = { class: "flex items-center gap-2" };
|
|
1479
|
-
const _hoisted_5 = { class: "grid sm:flex justify-between gap-4" };
|
|
1480
|
-
const __default__$8 = { name: "WithdrawMaxAccountTableMobile" };
|
|
1481
|
-
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
1482
|
-
...__default__$8,
|
|
1483
|
-
setup(__props) {
|
|
1484
|
-
const { data } = useWithdrawPreOrdersStore();
|
|
1485
|
-
const dataTestPrefix = "withdraw-max-account-table-mobile";
|
|
1486
|
-
const rows = computed(() => {
|
|
1487
|
-
var _a;
|
|
1488
|
-
return ((_a = data.value) == null ? void 0 : _a.items) ?? [];
|
|
1489
|
-
});
|
|
1490
|
-
return (_ctx, _cache) => {
|
|
1491
|
-
const _component_OrdersTableCell = resolveComponent("OrdersTableCell");
|
|
1492
|
-
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
1493
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(rows.value, (order) => {
|
|
1494
|
-
return openBlock(), createBlock(unref(script$7), {
|
|
1495
|
-
key: order.id
|
|
1496
|
-
}, {
|
|
1497
|
-
header: withCtx(() => [
|
|
1498
|
-
createVNode(_component_OrdersTableCell, {
|
|
1499
|
-
title: `#${order.id}`,
|
|
1500
|
-
"data-test-prefix": "order-mobile-id"
|
|
1501
|
-
}, null, 8, ["title"])
|
|
1502
|
-
]),
|
|
1503
|
-
default: withCtx(() => [
|
|
1504
|
-
createBaseVNode("div", _hoisted_2$3, [
|
|
1505
|
-
createBaseVNode("div", _hoisted_3$2, [
|
|
1506
|
-
createVNode(unref(y), {
|
|
1507
|
-
"is-strong": "",
|
|
1508
|
-
"data-test": `${dataTestPrefix}-id-title`
|
|
1509
|
-
}, {
|
|
1510
|
-
default: withCtx(() => [
|
|
1511
|
-
createTextVNode(toDisplayString(_ctx.$t("withdraw_v3.pre-orders-max-account.id-title")), 1)
|
|
1512
|
-
]),
|
|
1513
|
-
_: 1
|
|
1514
|
-
}, 8, ["data-test"]),
|
|
1515
|
-
createVNode(unref(y), null, {
|
|
1516
|
-
default: withCtx(() => [
|
|
1517
|
-
createTextVNode(toDisplayString(order.id), 1)
|
|
1518
|
-
]),
|
|
1519
|
-
_: 2
|
|
1520
|
-
}, 1024)
|
|
1521
|
-
]),
|
|
1522
|
-
createBaseVNode("div", _hoisted_4, [
|
|
1523
|
-
createVNode(unref(y), {
|
|
1524
|
-
"is-strong": "",
|
|
1525
|
-
"data-test": `${dataTestPrefix}-data-title`
|
|
1526
|
-
}, {
|
|
1527
|
-
default: withCtx(() => [
|
|
1528
|
-
createTextVNode(toDisplayString(_ctx.$t("withdraw_v3.pre-orders-max-account.data-title")), 1)
|
|
1529
|
-
]),
|
|
1530
|
-
_: 1
|
|
1531
|
-
}, 8, ["data-test"]),
|
|
1532
|
-
createVNode(unref(y), {
|
|
1533
|
-
"data-test": `${dataTestPrefix}-created-at`
|
|
1534
|
-
}, {
|
|
1535
|
-
default: withCtx(() => [
|
|
1536
|
-
createTextVNode(toDisplayString(order.formated_created_at), 1)
|
|
1537
|
-
]),
|
|
1538
|
-
_: 2
|
|
1539
|
-
}, 1032, ["data-test"])
|
|
1540
|
-
]),
|
|
1541
|
-
createVNode(unref(y), {
|
|
1542
|
-
"is-strong": "",
|
|
1543
|
-
"data-test": `${dataTestPrefix}-company-title`
|
|
1544
|
-
}, {
|
|
1545
|
-
default: withCtx(() => [
|
|
1546
|
-
createTextVNode(toDisplayString(order.company), 1)
|
|
1547
|
-
]),
|
|
1548
|
-
_: 2
|
|
1549
|
-
}, 1032, ["data-test"]),
|
|
1550
|
-
createBaseVNode("div", _hoisted_5, [
|
|
1551
|
-
createVNode(unref(y), { "is-strong": "" }, {
|
|
1552
|
-
default: withCtx(() => [
|
|
1553
|
-
createTextVNode(toDisplayString(order.type), 1)
|
|
1554
|
-
]),
|
|
1555
|
-
_: 2
|
|
1556
|
-
}, 1024)
|
|
1557
|
-
]),
|
|
1558
|
-
createVNode(unref(y), {
|
|
1559
|
-
"is-strong": "",
|
|
1560
|
-
"data-test": `${dataTestPrefix}-formated-net-value`
|
|
1561
|
-
}, {
|
|
1562
|
-
default: withCtx(() => [
|
|
1563
|
-
createTextVNode(toDisplayString(order.formated_net_value), 1)
|
|
1564
|
-
]),
|
|
1565
|
-
_: 2
|
|
1566
|
-
}, 1032, ["data-test"])
|
|
1567
|
-
])
|
|
1568
|
-
]),
|
|
1569
|
-
_: 2
|
|
1570
|
-
}, 1024);
|
|
1571
|
-
}), 128))
|
|
1572
|
-
]);
|
|
1573
|
-
};
|
|
1574
|
-
}
|
|
1575
|
-
});
|
|
1576
|
-
const _hoisted_1$6 = {
|
|
1577
|
-
key: 0,
|
|
1578
|
-
class: "flex justify-between items-center gap-2"
|
|
1579
|
-
};
|
|
1580
|
-
const _hoisted_2$2 = { class: "flex gap-2" };
|
|
1581
|
-
const __default__$7 = { name: "WithdrawMaxAccountPagination" };
|
|
1582
|
-
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
1583
|
-
...__default__$7,
|
|
1584
|
-
setup(__props) {
|
|
1585
|
-
const { filter, pageSize, hasNextPage, showPagination: showPagination2, onChangePage: onChangePage2 } = useWithdrawPreOrdersStore();
|
|
1586
|
-
const dataTestPrefix = "withdraw-max-account-pagination";
|
|
1587
|
-
return (_ctx, _cache) => {
|
|
1588
|
-
return unref(showPagination2) ? (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
1589
|
-
unref(pageSize) ? (openBlock(), createBlock(unref(y), { key: 0 }, {
|
|
1590
|
-
default: withCtx(() => [
|
|
1591
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.list.pagination", { page: unref(filter).page, pageSize: unref(pageSize) })), 1)
|
|
1592
|
-
]),
|
|
1593
|
-
_: 1
|
|
1594
|
-
})) : (openBlock(), createBlock(unref(y), { key: 1 }, {
|
|
1595
|
-
default: withCtx(() => [
|
|
1596
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.list.currentPage", { page: unref(filter).page })), 1)
|
|
1597
|
-
]),
|
|
1598
|
-
_: 1
|
|
1599
|
-
})),
|
|
1600
|
-
createBaseVNode("div", _hoisted_2$2, [
|
|
1601
|
-
createVNode(unref(f), {
|
|
1602
|
-
icon: "chevron_left",
|
|
1603
|
-
"data-test": `${dataTestPrefix}-prev-button`,
|
|
1604
|
-
disabled: unref(filter).page === 1,
|
|
1605
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(onChangePage2)(unref(filter).page - 1))
|
|
1606
|
-
}, null, 8, ["data-test", "disabled"]),
|
|
1607
|
-
createVNode(unref(f), {
|
|
1608
|
-
icon: "chevron_right",
|
|
1609
|
-
"data-test": `${dataTestPrefix}-next-button`,
|
|
1610
|
-
disabled: !unref(hasNextPage),
|
|
1611
|
-
onClick: _cache[1] || (_cache[1] = ($event) => unref(onChangePage2)(unref(filter).page + 1))
|
|
1612
|
-
}, null, 8, ["data-test", "disabled"])
|
|
1613
|
-
])
|
|
1614
|
-
])) : createCommentVNode("", true);
|
|
1615
|
-
};
|
|
1616
|
-
}
|
|
1617
|
-
});
|
|
1618
|
-
const _hoisted_1$5 = { key: 3 };
|
|
1619
|
-
const __default__$6 = { name: "WithdrawPreOrdersList" };
|
|
1620
|
-
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
1621
|
-
...__default__$6,
|
|
1622
|
-
setup(__props) {
|
|
1623
|
-
const isDesktopSize = useBreakpoint("desktop");
|
|
1624
|
-
const { t: t2 } = useI18n();
|
|
1625
|
-
const { isLoading, error, data } = useWithdrawPreOrdersStore();
|
|
1626
|
-
const feedbackError = {
|
|
1627
|
-
iconName: "refresh",
|
|
1628
|
-
title: t2("withdraw_v3.withdrawTransactionHistory.errorDataLoading"),
|
|
1629
|
-
text: t2("withdraw_v3.withdrawTransactionHistory.errorRefreshLoading")
|
|
1630
|
-
};
|
|
1631
|
-
const feedbackNotFound = {
|
|
1632
|
-
iconName: "link_off",
|
|
1633
|
-
title: t2("withdraw_v3.pre-orders-max-account.empty-title"),
|
|
1634
|
-
text: ""
|
|
1635
|
-
};
|
|
1636
|
-
return (_ctx, _cache) => {
|
|
1637
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1638
|
-
unref(isLoading) ? (openBlock(), createBlock(unref(w), {
|
|
1639
|
-
key: 0,
|
|
1640
|
-
class: "withdraw-history__loading"
|
|
1641
|
-
})) : unref(error) ? (openBlock(), createBlock(_sfc_main$z, mergeProps({
|
|
1642
|
-
key: 1,
|
|
1643
|
-
class: "my-4"
|
|
1644
|
-
}, feedbackError), null, 16)) : unref(data).isEmpty ? (openBlock(), createBlock(_sfc_main$z, mergeProps({
|
|
1645
|
-
key: 2,
|
|
1646
|
-
class: "my-4"
|
|
1647
|
-
}, feedbackNotFound), null, 16)) : (openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
1648
|
-
unref(isDesktopSize) ? (openBlock(), createBlock(_sfc_main$a, { key: 0 })) : (openBlock(), createBlock(_sfc_main$9, { key: 1 }))
|
|
1649
|
-
])),
|
|
1650
|
-
createVNode(_sfc_main$8)
|
|
1651
|
-
], 64);
|
|
1652
|
-
};
|
|
1653
|
-
}
|
|
1654
|
-
});
|
|
1655
|
-
const _hoisted_1$4 = { class: "grid gap-4 w-full" };
|
|
1656
|
-
const __default__$5 = { name: "WithdrawPreOrdersMaxAccount" };
|
|
1657
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
1658
|
-
...__default__$5,
|
|
1659
|
-
setup(__props) {
|
|
1660
|
-
const { getAutoAnticipationHistory: getAutoAnticipationHistory2 } = useWithdrawPreOrdersStore();
|
|
1661
|
-
onMounted(getAutoAnticipationHistory2);
|
|
1662
|
-
return (_ctx, _cache) => {
|
|
1663
|
-
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
1664
|
-
createVNode(_sfc_main$b),
|
|
1665
|
-
createVNode(_sfc_main$7)
|
|
1666
|
-
]);
|
|
1667
|
-
};
|
|
1668
|
-
}
|
|
1669
|
-
});
|
|
1670
|
-
class FinancialStatementRequestServiceError extends Error {
|
|
1671
|
-
constructor(status, code, message) {
|
|
1672
|
-
super(message ?? code);
|
|
1673
|
-
this.status = status;
|
|
1674
|
-
this.code = code;
|
|
1675
|
-
this.name = "FinancialStatementRequestServiceError";
|
|
1676
|
-
}
|
|
1677
|
-
}
|
|
1678
|
-
class WithdrawFinancialStatementService {
|
|
1679
|
-
constructor(apiService) {
|
|
1680
|
-
this.apiService = apiService;
|
|
1681
|
-
}
|
|
1682
|
-
async submit(data) {
|
|
1683
|
-
const route = "/api/balance/companies/statement/request";
|
|
1684
|
-
const payload = {
|
|
1685
|
-
company_id: data.companyId,
|
|
1686
|
-
month: formatToUtcYYYYMM(data.month),
|
|
1687
|
-
currency: data.currency,
|
|
1688
|
-
consulta_id: data.consultaId,
|
|
1689
|
-
version: 1
|
|
1690
|
-
};
|
|
1691
|
-
try {
|
|
1692
|
-
const res = await this.apiService.post(route, payload);
|
|
1693
|
-
if (res.status < 200 || res.status >= 300) {
|
|
1694
|
-
throw new FinancialStatementRequestServiceError(res.status, "unexpected");
|
|
1695
|
-
}
|
|
1696
|
-
const body = res.data;
|
|
1697
|
-
if ((body == null ? void 0 : body.success) === true) {
|
|
1698
|
-
const code = typeof body.code === "string" ? body.code : "queued";
|
|
1699
|
-
return { code };
|
|
1700
|
-
}
|
|
1701
|
-
if ((body == null ? void 0 : body.success) === false && typeof body.code === "string") {
|
|
1702
|
-
throw new FinancialStatementRequestServiceError(res.status, body.code, body.message);
|
|
1703
|
-
}
|
|
1704
|
-
throw new FinancialStatementRequestServiceError(res.status, "unexpected");
|
|
1705
|
-
} catch (err) {
|
|
1706
|
-
if (err instanceof FinancialStatementRequestServiceError) {
|
|
1707
|
-
throw err;
|
|
1708
|
-
}
|
|
1709
|
-
const resp = err.response;
|
|
1710
|
-
if (!resp || typeof resp.status !== "number") {
|
|
1711
|
-
throw new FinancialStatementRequestServiceError(0, "network");
|
|
1712
|
-
}
|
|
1713
|
-
const { status, data: data2 } = resp;
|
|
1714
|
-
const body = data2;
|
|
1715
|
-
if (body && body.success === false && typeof body.code === "string") {
|
|
1716
|
-
throw new FinancialStatementRequestServiceError(status, body.code, body.message);
|
|
1717
|
-
}
|
|
1718
|
-
throw new FinancialStatementRequestServiceError(status, "unexpected");
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
}
|
|
1722
|
-
const withdrawFinancialStatementService = new WithdrawFinancialStatementService(ApiService);
|
|
1723
|
-
var FINANCIAL_STATEMENT_REQUEST_STEP = /* @__PURE__ */ ((FINANCIAL_STATEMENT_REQUEST_STEP2) => {
|
|
1724
|
-
FINANCIAL_STATEMENT_REQUEST_STEP2["PERIOD"] = "PERIOD";
|
|
1725
|
-
FINANCIAL_STATEMENT_REQUEST_STEP2["CONFIRMATION"] = "CONFIRMATION";
|
|
1726
|
-
FINANCIAL_STATEMENT_REQUEST_STEP2["SUBMITTING"] = "SUBMITTING";
|
|
1727
|
-
FINANCIAL_STATEMENT_REQUEST_STEP2["SUCCESS"] = "SUCCESS";
|
|
1728
|
-
FINANCIAL_STATEMENT_REQUEST_STEP2["ERROR"] = "ERROR";
|
|
1729
|
-
return FINANCIAL_STATEMENT_REQUEST_STEP2;
|
|
1730
|
-
})(FINANCIAL_STATEMENT_REQUEST_STEP || {});
|
|
1731
|
-
const withdrawFinancialStatementState = reactive({
|
|
1732
|
-
isLoading: false,
|
|
1733
|
-
error: false,
|
|
1734
|
-
step: FINANCIAL_STATEMENT_REQUEST_STEP.PERIOD,
|
|
1735
|
-
showPeriod: false,
|
|
1736
|
-
showConfirm: false,
|
|
1737
|
-
selectedMonth: null,
|
|
1738
|
-
errorCode: null
|
|
1739
|
-
});
|
|
1740
|
-
const DEFAULT_CONSULTA_ID = 1;
|
|
1741
|
-
const I18N_ERROR_TITLE = "withdraw_v3.financial_statement.toast.errorTitle";
|
|
1742
|
-
const I18N_SUCCESS_TITLE = "withdraw_v3.financial_statement.toast.successTitle";
|
|
1743
|
-
const I18N_SUCCESS_FALLBACK = "withdraw_v3.financial_statement.toast.success.queued";
|
|
1744
|
-
const today = /* @__PURE__ */ new Date();
|
|
1745
|
-
const maximumSelectableMonth = new Date(today.getFullYear(), today.getMonth(), 1);
|
|
1746
|
-
const minimumSelectableMonth = new Date(today.getFullYear(), today.getMonth() - 17, 1);
|
|
1747
|
-
const normalizeDateToMonthStart = (inputDate) => new Date(inputDate.getFullYear(), inputDate.getMonth(), 1);
|
|
1748
|
-
const isMonthWithinSelectableRange = (date) => date >= minimumSelectableMonth && date <= maximumSelectableMonth;
|
|
1749
|
-
const setError = (code) => {
|
|
1750
|
-
withdrawFinancialStatementState.error = !!code;
|
|
1751
|
-
withdrawFinancialStatementState.errorCode = code;
|
|
1752
|
-
};
|
|
1753
|
-
const setVisibilityFor = (step) => {
|
|
1754
|
-
withdrawFinancialStatementState.step = step;
|
|
1755
|
-
switch (step) {
|
|
1756
|
-
case FINANCIAL_STATEMENT_REQUEST_STEP.PERIOD:
|
|
1757
|
-
withdrawFinancialStatementState.showPeriod = true;
|
|
1758
|
-
withdrawFinancialStatementState.showConfirm = false;
|
|
1759
|
-
return;
|
|
1760
|
-
case FINANCIAL_STATEMENT_REQUEST_STEP.CONFIRMATION:
|
|
1761
|
-
withdrawFinancialStatementState.showPeriod = false;
|
|
1762
|
-
withdrawFinancialStatementState.showConfirm = true;
|
|
1763
|
-
return;
|
|
1764
|
-
default:
|
|
1765
|
-
return;
|
|
1766
|
-
}
|
|
1767
|
-
};
|
|
1768
|
-
const resetFinancialStatementFlow = () => {
|
|
1769
|
-
withdrawFinancialStatementState.isLoading = false;
|
|
1770
|
-
setError(null);
|
|
1771
|
-
withdrawFinancialStatementState.selectedMonth = null;
|
|
1772
|
-
withdrawFinancialStatementState.showPeriod = false;
|
|
1773
|
-
withdrawFinancialStatementState.showConfirm = false;
|
|
1774
|
-
withdrawFinancialStatementState.step = FINANCIAL_STATEMENT_REQUEST_STEP.PERIOD;
|
|
1775
|
-
};
|
|
1776
|
-
const goToPeriod = () => setVisibilityFor(FINANCIAL_STATEMENT_REQUEST_STEP.PERIOD);
|
|
1777
|
-
const goToConfirmation = () => setVisibilityFor(FINANCIAL_STATEMENT_REQUEST_STEP.CONFIRMATION);
|
|
1778
|
-
const openFinancialStatementFlow = () => {
|
|
1779
|
-
var _a;
|
|
1780
|
-
if (!((_a = companyState.selected) == null ? void 0 : _a.id)) return;
|
|
1781
|
-
setVisibilityFor(FINANCIAL_STATEMENT_REQUEST_STEP.PERIOD);
|
|
1782
|
-
};
|
|
1783
|
-
const cancelFinancialStatementFlow = () => {
|
|
1784
|
-
resetFinancialStatementFlow();
|
|
1785
|
-
};
|
|
1786
|
-
const continueWithSelectedMonth = (selectedMonthDate) => {
|
|
1787
|
-
const monthStart = normalizeDateToMonthStart(selectedMonthDate);
|
|
1788
|
-
withdrawFinancialStatementState.selectedMonth = monthStart;
|
|
1789
|
-
if (!isMonthWithinSelectableRange(monthStart)) {
|
|
1790
|
-
setError("invalid-period");
|
|
1791
|
-
goToPeriod();
|
|
1792
|
-
return;
|
|
1793
|
-
}
|
|
1794
|
-
setError(null);
|
|
1795
|
-
goToConfirmation();
|
|
1796
|
-
};
|
|
1797
|
-
const backFromConfirmationToPeriod = () => {
|
|
1798
|
-
goToPeriod();
|
|
1799
|
-
};
|
|
1800
|
-
const confirmFinancialStatement = () => {
|
|
1801
|
-
const selectedMonth = withdrawFinancialStatementState.selectedMonth;
|
|
1802
|
-
if (!selectedMonth || !isMonthWithinSelectableRange(selectedMonth)) return;
|
|
1803
|
-
goToConfirmation();
|
|
1804
|
-
};
|
|
1805
|
-
const useWithdrawFinancialStatementStore = () => {
|
|
1806
|
-
const toast = useToast();
|
|
1807
|
-
const balanceStore = useWithdrawBalanceStore();
|
|
1808
|
-
const hasSelectedCompany = computed(() => {
|
|
1809
|
-
var _a;
|
|
1810
|
-
return !!((_a = companyState.selected) == null ? void 0 : _a.id);
|
|
1811
|
-
});
|
|
1812
|
-
const selectedCompanyName = computed(() => {
|
|
1813
|
-
var _a;
|
|
1814
|
-
return ((_a = companyState.selected) == null ? void 0 : _a.label) ?? "";
|
|
1815
|
-
});
|
|
1816
|
-
const selectedMonthLabel = computed(() => {
|
|
1817
|
-
const selectedMonth = withdrawFinancialStatementState.selectedMonth;
|
|
1818
|
-
if (!selectedMonth) return "";
|
|
1819
|
-
const locale = unref(i18n.global.locale);
|
|
1820
|
-
const formatted = new Intl.DateTimeFormat(locale, { month: "long", year: "numeric" }).format(selectedMonth);
|
|
1821
|
-
return formatted.charAt(0).toUpperCase() + formatted.slice(1);
|
|
1822
|
-
});
|
|
1823
|
-
const resolvedCurrency = computed(() => {
|
|
1824
|
-
var _a;
|
|
1825
|
-
return (_a = balanceStore.currency) == null ? void 0 : _a.value;
|
|
1826
|
-
});
|
|
1827
|
-
const minDate = computed(() => minimumSelectableMonth);
|
|
1828
|
-
const maxDate = computed(() => maximumSelectableMonth);
|
|
1829
|
-
const canContinueToConfirmation = computed(() => {
|
|
1830
|
-
const selectedMonth = withdrawFinancialStatementState.selectedMonth;
|
|
1831
|
-
return !!selectedMonth && isMonthWithinSelectableRange(selectedMonth);
|
|
1832
|
-
});
|
|
1833
|
-
const canSubmitFinancialStatement = computed(() => {
|
|
1834
|
-
var _a;
|
|
1835
|
-
const hasCompany = !!((_a = companyState.selected) == null ? void 0 : _a.id);
|
|
1836
|
-
const hasCurrency = !!resolvedCurrency.value;
|
|
1837
|
-
const selectedMonth = withdrawFinancialStatementState.selectedMonth;
|
|
1838
|
-
return hasCompany && hasCurrency && !!selectedMonth && isMonthWithinSelectableRange(selectedMonth);
|
|
1839
|
-
});
|
|
1840
|
-
const submitFinancialStatement = async () => {
|
|
1841
|
-
if (!canSubmitFinancialStatement.value) {
|
|
1842
|
-
if (!withdrawFinancialStatementState.selectedMonth || !isMonthWithinSelectableRange(withdrawFinancialStatementState.selectedMonth)) {
|
|
1843
|
-
toast.error(
|
|
1844
|
-
t("withdraw_v3.financial_statement.toast.errorTitle"),
|
|
1845
|
-
t("withdraw_v3.financial_statement.toast.error.invalid-period")
|
|
1846
|
-
);
|
|
1847
|
-
}
|
|
1848
|
-
return;
|
|
1849
|
-
}
|
|
1850
|
-
const companyId = companyState.selected.id;
|
|
1851
|
-
const month = withdrawFinancialStatementState.selectedMonth;
|
|
1852
|
-
const currency = resolvedCurrency.value;
|
|
1853
|
-
withdrawFinancialStatementState.isLoading = true;
|
|
1854
|
-
setError(null);
|
|
1855
|
-
setVisibilityFor(FINANCIAL_STATEMENT_REQUEST_STEP.SUBMITTING);
|
|
1856
|
-
try {
|
|
1857
|
-
const { code } = await withdrawFinancialStatementService.submit({
|
|
1858
|
-
companyId,
|
|
1859
|
-
month,
|
|
1860
|
-
currency,
|
|
1861
|
-
consultaId: DEFAULT_CONSULTA_ID
|
|
1862
|
-
});
|
|
1863
|
-
const successKey = `withdraw_v3.financial_statement.toast.success.${code}`;
|
|
1864
|
-
const message = i18n.global.te(successKey) ? t(successKey) : t(I18N_SUCCESS_FALLBACK);
|
|
1865
|
-
toast.success(t(I18N_SUCCESS_TITLE), message);
|
|
1866
|
-
setVisibilityFor(FINANCIAL_STATEMENT_REQUEST_STEP.SUCCESS);
|
|
1867
|
-
withdrawFinancialStatementState.showConfirm = false;
|
|
1868
|
-
withdrawFinancialStatementState.showPeriod = false;
|
|
1869
|
-
} catch (error) {
|
|
1870
|
-
const serviceError = error;
|
|
1871
|
-
const code = (serviceError == null ? void 0 : serviceError.code) ?? "unexpected";
|
|
1872
|
-
setError(code);
|
|
1873
|
-
setVisibilityFor(FINANCIAL_STATEMENT_REQUEST_STEP.ERROR);
|
|
1874
|
-
toast.error(
|
|
1875
|
-
t(I18N_ERROR_TITLE),
|
|
1876
|
-
t(`withdraw_v3.financial_statement.toast.error.${code}`)
|
|
1877
|
-
);
|
|
1878
|
-
} finally {
|
|
1879
|
-
withdrawFinancialStatementState.isLoading = false;
|
|
1880
|
-
}
|
|
1881
|
-
};
|
|
1882
|
-
const finishFinancialStatementFlow = () => {
|
|
1883
|
-
resetFinancialStatementFlow();
|
|
1884
|
-
};
|
|
1885
|
-
return {
|
|
1886
|
-
...toRefs(withdrawFinancialStatementState),
|
|
1887
|
-
hasSelectedCompany,
|
|
1888
|
-
selectedCompanyName,
|
|
1889
|
-
selectedMonthLabel,
|
|
1890
|
-
minDate,
|
|
1891
|
-
maxDate,
|
|
1892
|
-
canContinueToConfirmation,
|
|
1893
|
-
canSubmitFinancialStatement,
|
|
1894
|
-
openFlow: openFinancialStatementFlow,
|
|
1895
|
-
cancel: cancelFinancialStatementFlow,
|
|
1896
|
-
continueWithMonth: continueWithSelectedMonth,
|
|
1897
|
-
backFromConfirm: backFromConfirmationToPeriod,
|
|
1898
|
-
confirm: confirmFinancialStatement,
|
|
1899
|
-
submitFinancialStatement,
|
|
1900
|
-
finish: finishFinancialStatementFlow,
|
|
1901
|
-
tryAgain: submitFinancialStatement
|
|
1902
|
-
};
|
|
1903
|
-
};
|
|
1904
|
-
const _hoisted_1$3 = { class: "flex flex-col gap-2" };
|
|
1905
|
-
const _hoisted_2$1 = { class: "w-full" };
|
|
1906
|
-
const _hoisted_3$1 = { class: "flex flex-col gap-2 sm:!flex-row-reverse" };
|
|
1907
|
-
const __default__$4 = { name: "FinancialStatementPeriodModal" };
|
|
1908
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
1909
|
-
...__default__$4,
|
|
1910
|
-
setup(__props) {
|
|
1911
|
-
const store = useWithdrawFinancialStatementStore();
|
|
1912
|
-
const localSelectedMonth = ref(null);
|
|
1913
|
-
const onContinueWithSelectedMonth = () => {
|
|
1914
|
-
if (!localSelectedMonth.value) return;
|
|
1915
|
-
store.continueWithMonth(localSelectedMonth.value);
|
|
1916
|
-
};
|
|
1917
|
-
const onCancelPeriodSelection = () => {
|
|
1918
|
-
store.cancel();
|
|
1919
|
-
};
|
|
1920
|
-
watch(
|
|
1921
|
-
() => store.showPeriod.value,
|
|
1922
|
-
(isVisible) => {
|
|
1923
|
-
if (!isVisible) localSelectedMonth.value = null;
|
|
1924
|
-
}
|
|
1925
|
-
);
|
|
1926
|
-
return (_ctx, _cache) => {
|
|
1927
|
-
return openBlock(), createBlock(unref(script$6), {
|
|
1928
|
-
visible: unref(store).showPeriod.value,
|
|
1929
|
-
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => unref(store).showPeriod.value = $event),
|
|
1930
|
-
modal: "",
|
|
1931
|
-
draggable: false,
|
|
1932
|
-
dismissableMask: true,
|
|
1933
|
-
breakpoints: { "640px": "95vw" },
|
|
1934
|
-
style: { width: "480px" }
|
|
1935
|
-
}, {
|
|
1936
|
-
header: withCtx(() => [
|
|
1937
|
-
createVNode(AmText, {
|
|
1938
|
-
variant: "title",
|
|
1939
|
-
size: "small",
|
|
1940
|
-
class: "p-dialog-title"
|
|
1941
|
-
}, {
|
|
1942
|
-
default: withCtx(() => [
|
|
1943
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.financial_statement.period.title")), 1)
|
|
1944
|
-
]),
|
|
1945
|
-
_: 1
|
|
1946
|
-
})
|
|
1947
|
-
]),
|
|
1948
|
-
footer: withCtx(() => [
|
|
1949
|
-
createBaseVNode("div", _hoisted_2$1, [
|
|
1950
|
-
createBaseVNode("div", _hoisted_3$1, [
|
|
1951
|
-
createVNode(unref($), {
|
|
1952
|
-
disabled: !localSelectedMonth.value,
|
|
1953
|
-
class: "w-full sm:w-[180px] h-[44px] sm:h-[34px]",
|
|
1954
|
-
onClick: onContinueWithSelectedMonth
|
|
1955
|
-
}, {
|
|
1956
|
-
default: withCtx(() => [
|
|
1957
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.financial_statement.period.continue")), 1)
|
|
1958
|
-
]),
|
|
1959
|
-
_: 1
|
|
1960
|
-
}, 8, ["disabled"]),
|
|
1961
|
-
createVNode(unref($), {
|
|
1962
|
-
text: "",
|
|
1963
|
-
severity: "secondary",
|
|
1964
|
-
class: "w-full sm:w-[180px] h-[44px] sm:h-[34px]",
|
|
1965
|
-
onClick: onCancelPeriodSelection
|
|
1966
|
-
}, {
|
|
1967
|
-
default: withCtx(() => [
|
|
1968
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.financial_statement.period.cancel")), 1)
|
|
1969
|
-
]),
|
|
1970
|
-
_: 1
|
|
1971
|
-
})
|
|
1972
|
-
])
|
|
1973
|
-
])
|
|
1974
|
-
]),
|
|
1975
|
-
default: withCtx(() => [
|
|
1976
|
-
createBaseVNode("div", _hoisted_1$3, [
|
|
1977
|
-
createVNode(AmText, {
|
|
1978
|
-
as: "label",
|
|
1979
|
-
for: "financial-statement-month",
|
|
1980
|
-
variant: "body",
|
|
1981
|
-
size: "medium",
|
|
1982
|
-
class: "block"
|
|
1983
|
-
}, {
|
|
1984
|
-
default: withCtx(() => [
|
|
1985
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.financial_statement.period.fieldLabel")), 1)
|
|
1986
|
-
]),
|
|
1987
|
-
_: 1
|
|
1988
|
-
}),
|
|
1989
|
-
createVNode(unref(script$8), {
|
|
1990
|
-
modelValue: localSelectedMonth.value,
|
|
1991
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => localSelectedMonth.value = $event),
|
|
1992
|
-
view: "month",
|
|
1993
|
-
dateFormat: "mm/yy",
|
|
1994
|
-
manualInput: false,
|
|
1995
|
-
showIcon: true,
|
|
1996
|
-
minDate: unref(store).minDate.value,
|
|
1997
|
-
maxDate: unref(store).maxDate.value,
|
|
1998
|
-
inputId: "financial-statement-month",
|
|
1999
|
-
class: "w-full",
|
|
2000
|
-
placeholder: unref(t)("withdraw_v3.financial_statement.period.placeholder")
|
|
2001
|
-
}, null, 8, ["modelValue", "minDate", "maxDate", "placeholder"])
|
|
2002
|
-
])
|
|
2003
|
-
]),
|
|
2004
|
-
_: 1
|
|
2005
|
-
}, 8, ["visible"]);
|
|
2006
|
-
};
|
|
2007
|
-
}
|
|
2008
|
-
});
|
|
2009
|
-
const _hoisted_1$2 = { class: "flex flex-col gap-3 min-h-[120px]" };
|
|
2010
|
-
const _hoisted_2 = { class: "w-full" };
|
|
2011
|
-
const _hoisted_3 = { class: "flex flex-col gap-2 sm:!flex-row-reverse" };
|
|
2012
|
-
const __default__$3 = { name: "FinancialStatementConfirmModal" };
|
|
2013
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2014
|
-
...__default__$3,
|
|
2015
|
-
setup(__props) {
|
|
2016
|
-
const store = useWithdrawFinancialStatementStore();
|
|
2017
|
-
const isSubmitting = computed(() => store.isLoading.value);
|
|
2018
|
-
const selectedMonthLabelText = computed(() => store.selectedMonthLabel.value);
|
|
2019
|
-
const selectedCompanyNameText = computed(() => store.selectedCompanyName.value);
|
|
2020
|
-
const canSubmit = computed(() => store.canSubmitFinancialStatement.value);
|
|
2021
|
-
return (_ctx, _cache) => {
|
|
2022
|
-
const _component_i18n_t = resolveComponent("i18n-t");
|
|
2023
|
-
return openBlock(), createBlock(unref(script$6), {
|
|
2024
|
-
visible: unref(store).showConfirm.value,
|
|
2025
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => unref(store).showConfirm.value = $event),
|
|
2026
|
-
modal: "",
|
|
2027
|
-
draggable: false,
|
|
2028
|
-
dismissableMask: true,
|
|
2029
|
-
style: { width: "480px" }
|
|
2030
|
-
}, {
|
|
2031
|
-
header: withCtx(() => [
|
|
2032
|
-
createVNode(AmText, {
|
|
2033
|
-
variant: "title",
|
|
2034
|
-
size: "small",
|
|
2035
|
-
class: "p-dialog-title"
|
|
2036
|
-
}, {
|
|
2037
|
-
default: withCtx(() => [
|
|
2038
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.financial_statement.confirm.title")), 1)
|
|
2039
|
-
]),
|
|
2040
|
-
_: 1
|
|
2041
|
-
})
|
|
2042
|
-
]),
|
|
2043
|
-
footer: withCtx(() => [
|
|
2044
|
-
createBaseVNode("div", _hoisted_2, [
|
|
2045
|
-
createBaseVNode("div", _hoisted_3, [
|
|
2046
|
-
createVNode(unref($), {
|
|
2047
|
-
loading: isSubmitting.value,
|
|
2048
|
-
disabled: !canSubmit.value,
|
|
2049
|
-
class: "w-full sm:w-[180px] h-[44px] sm:h-[34px]",
|
|
2050
|
-
onClick: unref(store).submitFinancialStatement
|
|
2051
|
-
}, {
|
|
2052
|
-
default: withCtx(() => [
|
|
2053
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.financial_statement.confirm.confirm")), 1)
|
|
2054
|
-
]),
|
|
2055
|
-
_: 1
|
|
2056
|
-
}, 8, ["loading", "disabled", "onClick"]),
|
|
2057
|
-
createVNode(unref($), {
|
|
2058
|
-
text: "",
|
|
2059
|
-
severity: "secondary",
|
|
2060
|
-
disabled: isSubmitting.value,
|
|
2061
|
-
class: "w-full sm:w-[180px] h-[44px] sm:h-[34px]",
|
|
2062
|
-
onClick: unref(store).backFromConfirm
|
|
2063
|
-
}, {
|
|
2064
|
-
default: withCtx(() => [
|
|
2065
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.financial_statement.confirm.back")), 1)
|
|
2066
|
-
]),
|
|
2067
|
-
_: 1
|
|
2068
|
-
}, 8, ["disabled", "onClick"])
|
|
2069
|
-
])
|
|
2070
|
-
])
|
|
2071
|
-
]),
|
|
2072
|
-
default: withCtx(() => [
|
|
2073
|
-
createBaseVNode("div", _hoisted_1$2, [
|
|
2074
|
-
createVNode(AmText, {
|
|
2075
|
-
variant: "body",
|
|
2076
|
-
size: "medium"
|
|
2077
|
-
}, {
|
|
2078
|
-
default: withCtx(() => [
|
|
2079
|
-
createVNode(_component_i18n_t, {
|
|
2080
|
-
keypath: "withdraw_v3.financial_statement.confirm.body",
|
|
2081
|
-
tag: "span"
|
|
2082
|
-
}, {
|
|
2083
|
-
month: withCtx(() => [
|
|
2084
|
-
createVNode(AmText, {
|
|
2085
|
-
as: "strong",
|
|
2086
|
-
variant: "body",
|
|
2087
|
-
size: "medium",
|
|
2088
|
-
isStrong: true
|
|
2089
|
-
}, {
|
|
2090
|
-
default: withCtx(() => [
|
|
2091
|
-
createTextVNode(toDisplayString(selectedMonthLabelText.value), 1)
|
|
2092
|
-
]),
|
|
2093
|
-
_: 1
|
|
2094
|
-
})
|
|
2095
|
-
]),
|
|
2096
|
-
company: withCtx(() => [
|
|
2097
|
-
createVNode(AmText, {
|
|
2098
|
-
as: "strong",
|
|
2099
|
-
variant: "body",
|
|
2100
|
-
size: "medium",
|
|
2101
|
-
isStrong: true
|
|
2102
|
-
}, {
|
|
2103
|
-
default: withCtx(() => [
|
|
2104
|
-
createTextVNode(toDisplayString(selectedCompanyNameText.value), 1)
|
|
2105
|
-
]),
|
|
2106
|
-
_: 1
|
|
2107
|
-
})
|
|
2108
|
-
]),
|
|
2109
|
-
_: 1
|
|
2110
|
-
})
|
|
2111
|
-
]),
|
|
2112
|
-
_: 1
|
|
2113
|
-
}),
|
|
2114
|
-
createVNode(AmText, {
|
|
2115
|
-
variant: "body",
|
|
2116
|
-
size: "medium",
|
|
2117
|
-
isStrong: true,
|
|
2118
|
-
class: "mt-4"
|
|
2119
|
-
}, {
|
|
2120
|
-
default: withCtx(() => [
|
|
2121
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.financial_statement.confirm.notice")), 1)
|
|
2122
|
-
]),
|
|
2123
|
-
_: 1
|
|
2124
|
-
})
|
|
2125
|
-
])
|
|
2126
|
-
]),
|
|
2127
|
-
_: 1
|
|
2128
|
-
}, 8, ["visible"]);
|
|
2129
|
-
};
|
|
2130
|
-
}
|
|
2131
|
-
});
|
|
2132
|
-
const _hoisted_1$1 = {
|
|
2133
|
-
key: 0,
|
|
2134
|
-
class: "flex items-center justify-center w-full min-h-[60px] flex-shrink-0 xl:flex-[0_0_auto] xl:w-auto xl:min-w-[200px] xl:max-w-[280px]"
|
|
2135
|
-
};
|
|
2136
|
-
const __default__$2 = { name: "WithdrawFinancialStatementSection" };
|
|
2137
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
2138
|
-
...__default__$2,
|
|
2139
|
-
setup(__props) {
|
|
2140
|
-
const store = useWithdrawFinancialStatementStore();
|
|
2141
|
-
const hasSelectedCompany = computed(() => store.hasSelectedCompany.value);
|
|
2142
|
-
const isSubmitting = computed(() => store.isLoading.value);
|
|
2143
|
-
return (_ctx, _cache) => {
|
|
2144
|
-
return hasSelectedCompany.value ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
2145
|
-
createVNode(unref($), {
|
|
2146
|
-
icon: "download",
|
|
2147
|
-
outlined: "",
|
|
2148
|
-
disabled: isSubmitting.value,
|
|
2149
|
-
class: "w-full xl:w-auto",
|
|
2150
|
-
onClick: unref(store).openFlow
|
|
2151
|
-
}, {
|
|
2152
|
-
default: withCtx(() => [
|
|
2153
|
-
createTextVNode(toDisplayString(unref(t)("withdraw_v3.financial_statement.button.label")), 1)
|
|
2154
|
-
]),
|
|
2155
|
-
_: 1
|
|
2156
|
-
}, 8, ["disabled", "onClick"]),
|
|
2157
|
-
createVNode(_sfc_main$5),
|
|
2158
|
-
createVNode(_sfc_main$4)
|
|
2159
|
-
])) : createCommentVNode("", true);
|
|
2160
|
-
};
|
|
2161
|
-
}
|
|
2162
|
-
});
|
|
2163
|
-
const _hoisted_1 = { class: "withdraw-history__header" };
|
|
2164
|
-
const __default__$1 = { name: "WithdrawTransactionHistoryTab" };
|
|
2165
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
2166
|
-
...__default__$1,
|
|
2167
|
-
setup(__props) {
|
|
2168
|
-
const { t: t2 } = useI18n();
|
|
2169
|
-
const { showMaxAccountTab, loadingTabs } = useWithdrawPreOrdersStore();
|
|
2170
|
-
const { selected } = useWithdrawCompanyStore();
|
|
2171
|
-
const { isInternationalTabActive } = useWithdrawExtractStore();
|
|
2172
|
-
const shouldShowFinancialStatement = computed(() => {
|
|
2173
|
-
if (!selected.value) return false;
|
|
2174
|
-
if (isInternationalTabActive.value) return false;
|
|
2175
|
-
const isNationalCompany = !withdrawCompanyService.isCompanyCrossBorder(selected.value);
|
|
2176
|
-
return isNationalCompany && userService.hasPermission("balance.companies.financial-statement.request");
|
|
2177
|
-
});
|
|
2178
|
-
return (_ctx, _cache) => {
|
|
2179
|
-
return openBlock(), createBlock(AmCardV3, { class: "w-full overflow-hidden relative" }, {
|
|
2180
|
-
default: withCtx(() => [
|
|
2181
|
-
createVNode(unref(script$c), {
|
|
2182
|
-
value: "0",
|
|
2183
|
-
scrollable: "",
|
|
2184
|
-
class: "w-full"
|
|
2185
|
-
}, {
|
|
2186
|
-
default: withCtx(() => [
|
|
2187
|
-
createBaseVNode("div", _hoisted_1, [
|
|
2188
|
-
createVNode(AmSkeleton, {
|
|
2189
|
-
"is-loading": unref(loadingTabs),
|
|
2190
|
-
width: 150,
|
|
2191
|
-
height: 30
|
|
2192
|
-
}, {
|
|
2193
|
-
default: withCtx(() => [
|
|
2194
|
-
createVNode(unref(script$9), null, {
|
|
2195
|
-
default: withCtx(() => [
|
|
2196
|
-
createVNode(unref(script$a), { value: "0" }, {
|
|
2197
|
-
default: withCtx(() => [
|
|
2198
|
-
createVNode(unref(y), { variant: "subtitle" }, {
|
|
2199
|
-
default: withCtx(() => [
|
|
2200
|
-
createTextVNode(toDisplayString(unref(t2)("withdraw_v3.pre-orders-max-account.transaction-history")), 1)
|
|
2201
|
-
]),
|
|
2202
|
-
_: 1
|
|
2203
|
-
})
|
|
2204
|
-
]),
|
|
2205
|
-
_: 1
|
|
2206
|
-
}),
|
|
2207
|
-
withDirectives(createVNode(unref(script$a), { value: "1" }, {
|
|
2208
|
-
default: withCtx(() => [
|
|
2209
|
-
createVNode(unref(y), { variant: "subtitle" }, {
|
|
2210
|
-
default: withCtx(() => [
|
|
2211
|
-
createTextVNode(toDisplayString(unref(t2)("withdraw_v3.pre-orders-max-account.transaction-max-account")), 1)
|
|
2212
|
-
]),
|
|
2213
|
-
_: 1
|
|
2214
|
-
})
|
|
2215
|
-
]),
|
|
2216
|
-
_: 1
|
|
2217
|
-
}, 512), [
|
|
2218
|
-
[vShow, unref(showMaxAccountTab)]
|
|
2219
|
-
])
|
|
2220
|
-
]),
|
|
2221
|
-
_: 1
|
|
2222
|
-
})
|
|
2223
|
-
]),
|
|
2224
|
-
_: 1
|
|
2225
|
-
}, 8, ["is-loading"]),
|
|
2226
|
-
shouldShowFinancialStatement.value ? (openBlock(), createBlock(AmSkeleton, {
|
|
2227
|
-
key: 0,
|
|
2228
|
-
"is-loading": unref(loadingTabs),
|
|
2229
|
-
width: 200,
|
|
2230
|
-
height: 40,
|
|
2231
|
-
class: "flex-shrink-0"
|
|
2232
|
-
}, {
|
|
2233
|
-
default: withCtx(() => [
|
|
2234
|
-
createVNode(_sfc_main$3, { class: "flex-shrink-0" })
|
|
2235
|
-
]),
|
|
2236
|
-
_: 1
|
|
2237
|
-
}, 8, ["is-loading"])) : createCommentVNode("", true)
|
|
2238
|
-
]),
|
|
2239
|
-
createVNode(unref(script$b), { value: "0" }, {
|
|
2240
|
-
default: withCtx(() => [
|
|
2241
|
-
createVNode(_sfc_main$f)
|
|
2242
|
-
]),
|
|
2243
|
-
_: 1
|
|
2244
|
-
}),
|
|
2245
|
-
createVNode(unref(script$b), { value: "1" }, {
|
|
2246
|
-
default: withCtx(() => [
|
|
2247
|
-
withDirectives(createBaseVNode("div", null, [
|
|
2248
|
-
createVNode(_sfc_main$6)
|
|
2249
|
-
], 512), [
|
|
2250
|
-
[vShow, unref(showMaxAccountTab)]
|
|
2251
|
-
])
|
|
2252
|
-
]),
|
|
2253
|
-
_: 1
|
|
2254
|
-
})
|
|
2255
|
-
]),
|
|
2256
|
-
_: 1
|
|
2257
|
-
})
|
|
2258
|
-
]),
|
|
2259
|
-
_: 1
|
|
2260
|
-
});
|
|
2261
|
-
};
|
|
2262
|
-
}
|
|
2263
|
-
});
|
|
2264
|
-
const WithdrawTransactionHistory = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-6dc22122"]]);
|
|
2265
|
-
const V = cva("w-fit bg-green-100 shadow-sm rounded-md p-3 flex flex-row gap-2", {
|
|
2266
|
-
variants: {
|
|
2267
|
-
variant: {
|
|
2268
|
-
error: "bg-red-100",
|
|
2269
|
-
warning: "bg-yellow-100",
|
|
2270
|
-
information: "bg-grape-100"
|
|
2271
|
-
},
|
|
2272
|
-
size: {
|
|
2273
|
-
full: "w-full",
|
|
2274
|
-
fit: "w-fit"
|
|
2275
|
-
},
|
|
2276
|
-
closable: { true: "", false: "" }
|
|
2277
|
-
},
|
|
2278
|
-
compoundVariants: []
|
|
2279
|
-
}), S = (a, r) => twMerge(V(a), r), x = {
|
|
2280
|
-
class: "flex flex-col gap-2 items-start",
|
|
2281
|
-
"data-test": "amalert-content"
|
|
2282
|
-
}, H = /* @__PURE__ */ defineComponent({
|
|
2283
|
-
__name: "AmAlert",
|
|
2284
|
-
props: {
|
|
2285
|
-
variant: { default: "info" },
|
|
2286
|
-
title: { default: "" },
|
|
2287
|
-
message: { default: "" },
|
|
2288
|
-
size: { default: "fit" },
|
|
2289
|
-
closable: { type: Boolean, default: false },
|
|
2290
|
-
icon: { default: "" },
|
|
2291
|
-
class: {},
|
|
2292
|
-
style: {}
|
|
2293
|
-
},
|
|
2294
|
-
emits: ["close"],
|
|
2295
|
-
setup(a, { emit: r }) {
|
|
2296
|
-
const p = r, e = a, g = computed(() => {
|
|
2297
|
-
if (e.icon)
|
|
2298
|
-
return e.icon;
|
|
2299
|
-
switch (e.variant) {
|
|
2300
|
-
case "error":
|
|
2301
|
-
return "warning";
|
|
2302
|
-
case "warning":
|
|
2303
|
-
return "warning";
|
|
2304
|
-
case "success":
|
|
2305
|
-
return "check_circle";
|
|
2306
|
-
default:
|
|
2307
|
-
return "error";
|
|
2308
|
-
}
|
|
2309
|
-
}), v = () => {
|
|
2310
|
-
p("close");
|
|
2311
|
-
};
|
|
2312
|
-
return (t2, A) => (openBlock(), createElementBlock("div", {
|
|
2313
|
-
class: normalizeClass([unref(S)(e, e.class), "items-start"])
|
|
2314
|
-
}, [
|
|
2315
|
-
createVNode(_, {
|
|
2316
|
-
variant: "material",
|
|
2317
|
-
icon: g.value,
|
|
2318
|
-
type: "sharp",
|
|
2319
|
-
size: "md",
|
|
2320
|
-
color: t2.variant
|
|
2321
|
-
}, null, 8, ["icon", "color"]),
|
|
2322
|
-
createBaseVNode("div", x, [
|
|
2323
|
-
renderSlot(t2.$slots, "titleSlot", {}, () => [
|
|
2324
|
-
createVNode(y, {
|
|
2325
|
-
as: "div",
|
|
2326
|
-
isStrong: "",
|
|
2327
|
-
variant: "subtitle"
|
|
2328
|
-
}, {
|
|
2329
|
-
default: withCtx(() => [
|
|
2330
|
-
createTextVNode(toDisplayString(e.title), 1)
|
|
2331
|
-
]),
|
|
2332
|
-
_: 1
|
|
2333
|
-
})
|
|
2334
|
-
]),
|
|
2335
|
-
renderSlot(t2.$slots, "messageSlot", {}, () => [
|
|
2336
|
-
e.message ? (openBlock(), createBlock(y, {
|
|
2337
|
-
key: 0,
|
|
2338
|
-
as: "div",
|
|
2339
|
-
variant: "body",
|
|
2340
|
-
size: "small"
|
|
2341
|
-
}, {
|
|
2342
|
-
default: withCtx(() => [
|
|
2343
|
-
createTextVNode(toDisplayString(e.message), 1)
|
|
2344
|
-
]),
|
|
2345
|
-
_: 1
|
|
2346
|
-
})) : createCommentVNode("", true)
|
|
2347
|
-
])
|
|
2348
|
-
]),
|
|
2349
|
-
e.closable ? (openBlock(), createElementBlock("div", {
|
|
2350
|
-
key: 0,
|
|
2351
|
-
"data-test": "amalert-close-button",
|
|
2352
|
-
onClick: v,
|
|
2353
|
-
class: "cursor-pointer"
|
|
2354
|
-
}, [
|
|
2355
|
-
createVNode(_, {
|
|
2356
|
-
variant: "material",
|
|
2357
|
-
icon: "close",
|
|
2358
|
-
type: "sharp",
|
|
2359
|
-
size: "md",
|
|
2360
|
-
color: t2.iconColor
|
|
2361
|
-
}, null, 8, ["color"])
|
|
2362
|
-
])) : createCommentVNode("", true)
|
|
2363
|
-
], 2));
|
|
2364
|
-
}
|
|
2365
|
-
});
|
|
2366
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
2367
|
-
__name: "WithdrawCrossBorderAlert",
|
|
2368
|
-
setup(__props) {
|
|
2369
|
-
return (_ctx, _cache) => {
|
|
2370
|
-
return openBlock(), createBlock(unref(H), {
|
|
2371
|
-
class: "mb-4",
|
|
2372
|
-
variant: "information",
|
|
2373
|
-
title: _ctx.$t("withdraw_v3.alert.message-migration-crossborder.title"),
|
|
2374
|
-
size: "full",
|
|
2375
|
-
message: _ctx.$t("withdraw_v3.alert.message-migration-crossborder.message")
|
|
2376
|
-
}, null, 8, ["title", "message"]);
|
|
2377
|
-
};
|
|
2378
|
-
}
|
|
2379
|
-
});
|
|
2380
|
-
const state = reactive({
|
|
2381
|
-
showCrossBorderAlert: false
|
|
2382
|
-
});
|
|
2383
|
-
const companySelected = computed(() => {
|
|
2384
|
-
var _a;
|
|
2385
|
-
return (_a = companyState) == null ? void 0 : _a.selected;
|
|
2386
|
-
});
|
|
2387
|
-
const showWelcomeCrossBorderAlert = computed(() => {
|
|
2388
|
-
var _a;
|
|
2389
|
-
if (!companySelected.value) {
|
|
2390
|
-
return false;
|
|
2391
|
-
}
|
|
2392
|
-
return state.showCrossBorderAlert && ((_a = companySelected.value) == null ? void 0 : _a.companyType) == "international";
|
|
2393
|
-
});
|
|
2394
|
-
const shouldShowCrossBorderAlert = async () => {
|
|
2395
|
-
var _a;
|
|
2396
|
-
const userData = await userService.getData();
|
|
2397
|
-
const withdrawMigrateDate = (_a = userData.user) == null ? void 0 : _a.withdrawMigratedAt;
|
|
2398
|
-
if (!withdrawMigrateDate) {
|
|
2399
|
-
state.showCrossBorderAlert = false;
|
|
2400
|
-
return;
|
|
2401
|
-
}
|
|
2402
|
-
const migrateDate = new Date(withdrawMigrateDate);
|
|
2403
|
-
const currentDate = /* @__PURE__ */ new Date();
|
|
2404
|
-
migrateDate.setDate(migrateDate.getDate() + 60);
|
|
2405
|
-
state.showCrossBorderAlert = currentDate < migrateDate;
|
|
2406
|
-
};
|
|
2407
|
-
const initialize = async () => {
|
|
2408
|
-
await shouldShowCrossBorderAlert();
|
|
2409
|
-
};
|
|
2410
|
-
const useShowWelcomeCrossBorderAlert = () => {
|
|
2411
|
-
return { ...toRefs(state), initialize, showWelcomeCrossBorderAlert };
|
|
2412
|
-
};
|
|
2413
|
-
const __default__ = { name: "WithdrawHome" };
|
|
2414
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2415
|
-
...__default__,
|
|
2416
|
-
setup(__props) {
|
|
2417
|
-
const { showMaxBanner, hasMaxAccount } = useWithdrawMaxStore();
|
|
2418
|
-
const { showWelcomeCrossBorderAlert: showWelcomeCrossBorderAlert2 } = useShowWelcomeCrossBorderAlert();
|
|
2419
|
-
onMounted(async () => {
|
|
2420
|
-
useWithdrawMaxStore().initialize();
|
|
2421
|
-
useShowWelcomeCrossBorderAlert().initialize();
|
|
2422
|
-
});
|
|
2423
|
-
return (_ctx, _cache) => {
|
|
2424
|
-
return openBlock(), createBlock(unref(WithdrawPermissionGuard), null, {
|
|
2425
|
-
default: withCtx(() => [
|
|
2426
|
-
unref(showWelcomeCrossBorderAlert2) ? (openBlock(), createBlock(_sfc_main$1, { key: 0 })) : createCommentVNode("", true),
|
|
2427
|
-
createVNode(unref(WithdrawPageGrid), null, {
|
|
2428
|
-
default: withCtx(() => [
|
|
2429
|
-
createVNode(unref(_sfc_main$u)),
|
|
2430
|
-
unref(showMaxBanner) && !unref(hasMaxAccount) ? (openBlock(), createBlock(unref(_sfc_main$A), {
|
|
2431
|
-
key: 0,
|
|
2432
|
-
type: "withdrawn"
|
|
2433
|
-
})) : createCommentVNode("", true),
|
|
2434
|
-
createVNode(unref(WithdrawCompanySelector)),
|
|
2435
|
-
createVNode(unref(_sfc_main$i)),
|
|
2436
|
-
createVNode(unref(WithdrawTransactionHistory))
|
|
2437
|
-
]),
|
|
2438
|
-
_: 1
|
|
2439
|
-
})
|
|
2440
|
-
]),
|
|
2441
|
-
_: 1
|
|
2442
|
-
});
|
|
2443
|
-
};
|
|
2444
|
-
}
|
|
2445
|
-
});
|
|
2446
|
-
export {
|
|
2447
|
-
_sfc_main as default
|
|
2448
|
-
};
|