appmax-client-vue3 5.0.2 → 5.0.4
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-F0iZzh43.js +16 -0
- package/dist/AE-DiMVenwy-B8gAP_yC.js +16 -0
- package/dist/AF-DOrptOkS-Cwy_BZvL.js +16 -0
- package/dist/AG-CzBMAtom-CgfEZO6L.js +16 -0
- package/dist/AI-A2DnDGPS-DpqQr8jG.js +16 -0
- package/dist/AL-BcGdPXjJ-DMCd-Nqi.js +16 -0
- package/dist/AM-BC_r4gTd-CcjWYDAQ.js +16 -0
- package/dist/AO-D6GK49nd-LKZej1r9.js +16 -0
- package/dist/AQ-Eeziry42-DyYTlRGS.js +16 -0
- package/dist/AR-AbqVWszQ-BatSn_vi.js +16 -0
- package/dist/AS-BWe_Gq8Z-DlAs4e2_.js +16 -0
- package/dist/AT-b5CS9jSt-CRr1j1Ri.js +16 -0
- package/dist/AU-BUbOyX6Q-DaEx2GZ-.js +16 -0
- package/dist/AW-CjVdJTYe-zZS7OtZN.js +16 -0
- package/dist/AX-lNtwEmw2-DITygSQt.js +16 -0
- package/dist/AZ-f8zSo9ut-CDwiKsVc.js +16 -0
- package/dist/AmBulletLegend-nu2EgQb2.js +23 -0
- package/dist/AmCardV3-Bay9-BBN.js +22 -0
- package/dist/AmDoughnutChartAdapted-tywewwFd.js +203 -0
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-CnpVhP99.js +86 -0
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-Dt3FX9Tw.js +40 -0
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-Q3WOtOcz.js +46 -0
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-SuWLFcVM.js +63 -0
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-D2zQmEN--77vmJWuR.js +53 -0
- package/dist/AmLayoutFeedbackState-Cv5RUrw6.js +48 -0
- package/dist/AmLayoutInnerData-rTP3FKmu.js +162 -0
- package/dist/AmOutlineCard-BOdCaVzb.js +25 -0
- package/dist/AmSkeleton-yk6Pzn4C.js +35 -0
- package/dist/AmText-B7UQzHj8.js +33 -0
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-DdAal3Yb.js +64 -0
- package/dist/ApiService-DrjuEh5o.js +11 -0
- package/dist/AppInstallationConfirmationPasswordModal-21z9otg1.js +535 -0
- package/dist/AppstoreAppView-B73bYr2e.js +315 -0
- package/dist/AppstoreHomeView-Bw-_zlSK.js +1372 -0
- package/dist/BA-BfV7_7RP-F8JqkZze.js +16 -0
- package/dist/BB-CC4768VM-CMnRksxp.js +16 -0
- package/dist/BD-YQdTTbhg-CqMZPbfS.js +16 -0
- package/dist/BE-DUYoRyei-1lydJB2w.js +16 -0
- package/dist/BF-XZRLkaHX-CZm6F6LW.js +16 -0
- package/dist/BG-BAb8lAFP-Ad4cnAd-.js +16 -0
- package/dist/BH-C1LTB8Fj-CcfcOSyW.js +16 -0
- package/dist/BI-RjDfMipp-MQrL4FYI.js +16 -0
- package/dist/BJ-DAv61IMB-C-qTZgwU.js +16 -0
- package/dist/BL-CFW4iaQd-BraZIfMA.js +16 -0
- package/dist/BM-DuK3dA1G-CYEZXJKJ.js +16 -0
- package/dist/BN-BXHGopan-DRwck0Mc.js +16 -0
- package/dist/BO-CzuoErsx-CiZBS0UG.js +16 -0
- package/dist/BQ-BO-BlM1Uin3-9ePT0Asn.js +16 -0
- package/dist/BQ-SA-BninfeHy-6GO4Spzq.js +16 -0
- package/dist/BQ-SE-tq-mCvpl-BUudoTUe.js +16 -0
- package/dist/BR-B1GEJ05L-CSLBvxZ4.js +16 -0
- package/dist/BS-MeULPH4e-bZ02kQIv.js +16 -0
- package/dist/BT-BCfQJS6a-BPMUoVcw.js +16 -0
- package/dist/BV-CfaYWvM--BrdtnZcA.js +16 -0
- package/dist/BW-jYbPMHhQ-Cu6lhi36.js +16 -0
- package/dist/BY-Ddffd2rT-Be487gr8.js +16 -0
- package/dist/BZ-B7mGW2Jg-D8chbJyr.js +16 -0
- package/dist/BankAccountCrossborderNew.page-BddqvpFp.js +152 -0
- package/dist/BankAccountList.page-BNvPCHa5.js +331 -0
- package/dist/BankAccountNew.page-CFDJVz8O.js +982 -0
- package/dist/CA-CHl-cqJL-DB4j9FVk.js +16 -0
- package/dist/CC-DSLZRwFz-ClA7CKP_.js +16 -0
- package/dist/CD-D4NJYkQm-DsTCf8m1.js +16 -0
- package/dist/CF-DoxRpaA9-BEQxOeLL.js +16 -0
- package/dist/CG-Auzp6pC_-DI7D7XxO.js +16 -0
- package/dist/CH-B5eEo1aL-BbltqURK.js +16 -0
- package/dist/CI-DFfmdeVw-Cl1bRJxT.js +16 -0
- package/dist/CK-CKWUhjXV-CP4nVixC.js +16 -0
- package/dist/CL-Di6p-p6X-B1Kym-Ql.js +16 -0
- package/dist/CM-B0ht31e3-BKinQprU.js +16 -0
- package/dist/CN-CKHlOciI-CEe6lwpb.js +16 -0
- package/dist/CO-GBUkcePt-DN5f4vEk.js +16 -0
- package/dist/CR-Daw5JsjF-BYyRzX6C.js +16 -0
- package/dist/CU-CVOkcTvR-DljJCULn.js +16 -0
- package/dist/CV-cyPoze-o-ODY6g3K8.js +16 -0
- package/dist/CW-Bt-Pwg4j-Ci9_y-u9.js +16 -0
- package/dist/CX-uhIZlYzy-SsdOrcx8.js +16 -0
- package/dist/CY-un4rgwPX-DOn2Liyc.js +16 -0
- package/dist/CZ-equ-r4iN-C_hxtqfh.js +16 -0
- package/dist/CashoutAntecipateContent-BuLxzWiL.js +42 -0
- package/dist/ChargebackAnalytics-gFJCv7ts.js +1701 -0
- package/dist/ChargebackDetail-C-6RswdS.js +3470 -0
- package/dist/ConfirmationModal-STccE9FK.js +105 -0
- package/dist/Create.page-CwdZ7_c5.js +1409 -0
- package/dist/CreatePaymentLink-NL_5TlHd.js +857 -0
- package/dist/DE-zx7UmJ-V-BS0kXMtz.js +16 -0
- package/dist/DJ-BN1kIFYT-D3S2ABv7.js +16 -0
- package/dist/DK-CrXXNH_h-BfTg3lI8.js +16 -0
- package/dist/DM-B4nVdNww-C8q86bvT.js +16 -0
- package/dist/DO-C7-NF2JD-1qS2PEyQ.js +16 -0
- package/dist/DZ-DSDLbNRb-CXYecYcn.js +16 -0
- package/dist/DashboardAmountDetailsContent-C1GdGRZi.js +65 -0
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-DL7098JI.js +151 -0
- package/dist/DashboardApprovalRateInternationalContent-lFyWrkpA.js +19 -0
- package/dist/DashboardApprovalRateNationalContent-BT_zrVP4.js +74 -0
- package/dist/DashboardCarouselContent-BK3PjL79.js +963 -0
- package/dist/DashboardDetailsContent-cAUtagYn.js +58 -0
- package/dist/DashboardHome-CaSyZuRO.js +5399 -0
- package/dist/DetailSubscriptionRecurring-B9nKFQHX.js +1314 -0
- package/dist/EC-C_bjTYWm-DsHtNoWx.js +16 -0
- package/dist/EE-CQIjuoWO-Dj_tL3Gy.js +16 -0
- package/dist/EG-Bs_BHfVR-CrFL2WMv.js +16 -0
- package/dist/EH-CnWam84F-MS1nyvYv.js +16 -0
- package/dist/ER-Dcl4hJzq-DutoWGfF.js +16 -0
- package/dist/ES-Bpj2gAdj-BW2d620V.js +16 -0
- package/dist/ET-Dm3q0Ruz-DZo8ATY5.js +16 -0
- package/dist/ExternalPendenciesList-BPPFQvH8.js +651 -0
- package/dist/FI-DCqfJeiQ-11fV-BEv.js +16 -0
- package/dist/FJ-C6UrGUgI-KUm51Ib8.js +16 -0
- package/dist/FK-CAaec31K-Bw1w-W8s.js +16 -0
- package/dist/FM-Cf2SIJ7h-KPrIpJ1y.js +16 -0
- package/dist/FO-DBb4psBV-B9W61ock.js +16 -0
- package/dist/FR-CFW4iaQd-CWqHUgNh.js +16 -0
- package/dist/FeatureFlagsPage-DfFjyIF5.js +271 -0
- package/dist/Form.page-ClCzuCyz.js +624 -0
- package/dist/GA-D3NTxgTl-XELfISbA.js +16 -0
- package/dist/GB-ENG-Cmkg6Zq8-BPoP907L.js +16 -0
- package/dist/GB-NIR-DKszcfHi-BocgCw2H.js +16 -0
- package/dist/GB-SCT-BiivwJ71-Du37A8O_.js +16 -0
- package/dist/GB-UKM-DgMBd3ib-BIDoZfpE.js +16 -0
- package/dist/GB-WLS-DLoDy9iv-ZqqSrY4X.js +16 -0
- package/dist/GD-Bs1d4We7-D0xc9QuN.js +16 -0
- package/dist/GE-DXG9iLk5-SuIQagWu.js +16 -0
- package/dist/GF-B20s5gtx-CKuNCqPB.js +16 -0
- package/dist/GG-BAyrpIoO-oGFM42J3.js +16 -0
- package/dist/GH-v3jh5r1X-DH4NoKLW.js +16 -0
- package/dist/GI-D39Krd4s-BD9yA-ei.js +16 -0
- package/dist/GL-BDd_W5AU-B5INZUUx.js +16 -0
- package/dist/GM-BNEHspzj-DsJk6IiV.js +16 -0
- package/dist/GN-DdIZ0X6d-CZ0_OxEu.js +16 -0
- package/dist/GP-CFW4iaQd-BXjKkKpL.js +16 -0
- package/dist/GQ-CC3X6AMz-NKhxQZ7G.js +16 -0
- package/dist/GR-C_0rusTd-CipHy4ZL.js +16 -0
- package/dist/GS-Db5l22a1-DJlnW_Q6.js +16 -0
- package/dist/GT-BhbkqUft-DwRk3xfJ.js +16 -0
- package/dist/GU-C0HeItm1-C3KnqEoy.js +16 -0
- package/dist/GW-BjLM1vg--51vX1R5K.js +16 -0
- package/dist/GY-BreBVlhN-CjtwTYgA.js +16 -0
- package/dist/Giftmax-BJe8pa3Q.js +489 -0
- package/dist/HK-BZn9ZQGS-DYuua8sB.js +16 -0
- package/dist/HM-BUbOyX6Q-DuS5weAU.js +16 -0
- package/dist/HN-D4wujIPC-7S8GW-9b.js +16 -0
- package/dist/HR-Jhi3QQ9F-D_k7IbwL.js +16 -0
- package/dist/HT-MMjMjr-R-D3b3hgPi.js +16 -0
- package/dist/HU-CN5KmQ7F-DYJ4md8L.js +16 -0
- package/dist/Home-pFUfEAof.js +997 -0
- package/dist/Home.page-B7w7zx7P.js +499 -0
- package/dist/ID-hVVUTKNG-DALNDLox.js +16 -0
- package/dist/IE-WN_vdKcS-r8eP-_Zs.js +16 -0
- package/dist/IL-D5Wr_Xxh-pr7hp9ur.js +16 -0
- package/dist/IM-B-putc0k-D-Ss0zV8.js +16 -0
- package/dist/IN-CK40zbQD-D2zZ4XVl.js +16 -0
- package/dist/IO-CdvLck7D-lIDeqGXY.js +16 -0
- package/dist/IQ-f_9wyurt-BJX3PcWJ.js +16 -0
- package/dist/IR-B0yfWttH-BmSw08zX.js +16 -0
- package/dist/IS-Dvf-XQTq-BiZAklXr.js +16 -0
- package/dist/IT-uY7cjdFI-D_-tjwaF.js +16 -0
- package/dist/ImportTrackingCode-BN-cDxy9.js +1007 -0
- package/dist/InternalCompanyIssuesDetail-DFcGhpKO.js +862 -0
- package/dist/InternalCompanyList-CJlhSVvO.js +351 -0
- package/dist/InternalPendencyDetail-BKLJB3lK.js +717 -0
- package/dist/JE-C95tN_VG-DBV4EBBR.js +16 -0
- package/dist/JM-zOuEwaB3-JGDKKcts.js +16 -0
- package/dist/JO-Cq88rrOD-DYgBZ-zb.js +16 -0
- package/dist/JP-5evXgWxq-NBMBMIVR.js +16 -0
- package/dist/KE-PHx0d97Z-BS1QTnOJ.js +16 -0
- package/dist/KG-DT4JnieX-m5l71KHl.js +16 -0
- package/dist/KH-ChwV2WTT-BbqVr_Oq.js +16 -0
- package/dist/KI-D212g4Lh-DeuAOfmQ.js +16 -0
- package/dist/KM-mPVp7AKS-CV7nn_4s.js +16 -0
- package/dist/KN-AdXLXICN-BFvRzmEn.js +16 -0
- package/dist/KP-CC6UIrEF-t_INb3kz.js +16 -0
- package/dist/KR-BtnmWR6C-MlbRC0C3.js +16 -0
- package/dist/KW-gqahWVaw-DKGq2WXt.js +16 -0
- package/dist/KY-DjIb70VQ-Cz1DetKe.js +16 -0
- package/dist/KZ-C_fRihiO-CESat3H2.js +16 -0
- package/dist/LA-KIULJHAb-Bim-d1KJ.js +16 -0
- package/dist/LB-CrF8WJiI-CmBC4lTr.js +16 -0
- package/dist/LC-DGiHXm5V-DIZVclSG.js +16 -0
- package/dist/LI-BwB0b8M1-Dy_PTf8y.js +16 -0
- package/dist/LK-BOC44ZgS-Q8ikHfmm.js +16 -0
- package/dist/LR-CWjRlWOZ-BM8WajB6.js +16 -0
- package/dist/LS-B_EgU3p5-DPBhe5Ef.js +16 -0
- package/dist/LT-BPyPiVx2-DeAJtpxd.js +16 -0
- package/dist/LU-B-De6aB--C06WOodC.js +16 -0
- package/dist/LV-D2Ewe3XC-DA3THIZC.js +16 -0
- package/dist/LY-D1TSt6YI-D-TzyJPp.js +16 -0
- package/dist/MA-QY5gm-vM-ZvB6kwac.js +16 -0
- package/dist/MC-BjlCjfCP-BY6csHcr.js +16 -0
- package/dist/MD-rh-6rlSt-DBbdgsj1.js +16 -0
- package/dist/ME-D1euo0V2-D0MKJkJa.js +16 -0
- package/dist/MF-CFW4iaQd-BQ0pnAUK.js +16 -0
- package/dist/MG-ONnxn_5g-DdD2EbF5.js +16 -0
- package/dist/MH-B8oC_VMS-CmYP1qIz.js +16 -0
- package/dist/MK-ByjICisj-DGn1SOwL.js +16 -0
- package/dist/ML-CKVAuhox-Dn6lAMRz.js +16 -0
- package/dist/MM-doJuUjVT-C0KP-Cv4.js +16 -0
- package/dist/MN-BFP303GE-CKn_WdVA.js +16 -0
- package/dist/MO-Dp4PTSYU-B_AXtKD6.js +16 -0
- package/dist/MP-CqKsnjHV-mzt6qqjx.js +16 -0
- package/dist/MQ-CFW4iaQd-DpbnMvl4.js +16 -0
- package/dist/MR-D73q_PiY-BnAtsABQ.js +16 -0
- package/dist/MS-qhjKl9TO-Bd8gSFrP.js +16 -0
- package/dist/MT-CZjbs1U--EgeCDXd4.js +16 -0
- package/dist/MU-D0EQOl0S-BYLs1W5Z.js +16 -0
- package/dist/MV-BtwHRTMn-BCdBPszP.js +16 -0
- package/dist/MW-CVnAR98j-CJZbRagJ.js +16 -0
- package/dist/MX-C7vXnCDY-Dmin-oWl.js +16 -0
- package/dist/MY-DJcgH_o3-2oOLkdlD.js +16 -0
- package/dist/MZ-BbLwl9DA-FYUzVCo5.js +16 -0
- package/dist/Max.page-CRhbzJ09.js +879 -0
- package/dist/MostSoldCountries-DG_Wc7uA.js +22 -0
- package/dist/NA-5FKNjRGT-BWqKe71_.js +16 -0
- package/dist/NC-CFW4iaQd-D3IlHn7e.js +16 -0
- package/dist/NE-DpLZJa7D-CGV72KGn.js +16 -0
- package/dist/NF-BT-wIfwf--HSCkAos.js +16 -0
- package/dist/NG-BAiR_q0H-x2oPxOaQ.js +16 -0
- package/dist/NI-DylPDojG-FpIXxQpF.js +16 -0
- package/dist/NL-iozeFKPM-DBppf4BZ.js +16 -0
- package/dist/NO-CfaYWvM--CMXm4PaG.js +16 -0
- package/dist/NP-BGR_ZaqA-ByV9nGnO.js +16 -0
- package/dist/NR-DHGW5Y3Q-PSsRcf81.js +16 -0
- package/dist/NU-CcpcSx_x-9gVU1wF-.js +16 -0
- package/dist/NZ-DDYt6DcJ-83Lkgw7S.js +16 -0
- package/dist/OM-D6hiar1r-CJba-daf.js +16 -0
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-BsAfhXp7.js +790 -0
- package/dist/OrderStatusChip-DjUvy8Gk.js +30 -0
- package/dist/Orders.page-MN81O0nE.js +1636 -0
- package/dist/OrdersChartDataContent-DZ9DsBl-.js +221 -0
- package/dist/OrdersDetails.page-D5T8h9Un.js +6194 -0
- package/dist/PA-Bi2blxjJ-DIGWZnCX.js +16 -0
- package/dist/PE-D4DjQOlP-BKBTx4UK.js +16 -0
- package/dist/PF-DmOSfnYB-1ApQTn_-.js +16 -0
- package/dist/PG-DeOlZ7TA-DKYqmbsV.js +16 -0
- package/dist/PH-Dv4KdxU--CkFstgXH.js +16 -0
- package/dist/PK-CRhM95F8-IROg-6-b.js +16 -0
- package/dist/PL-BIdMQAtx-71vcrbUA.js +16 -0
- package/dist/PM-BDa53dEz-olcElLQY.js +16 -0
- package/dist/PN-Csu7Dufn-BRdUWiqn.js +16 -0
- package/dist/PR-C_Acdbc_-XVJp0ZAd.js +16 -0
- package/dist/PS-Dmg0ofZr-BfcXOnvL.js +16 -0
- package/dist/PT-Bsck4nv8-wXHigpK7.js +16 -0
- package/dist/PW-CBMqjpxh-w9ngaopP.js +16 -0
- package/dist/PY-Be6zNh15-DSh0UOul.js +16 -0
- package/dist/PaymentsLinks-DmGMdhQq.js +675 -0
- package/dist/QA-CZmcW85r-1dcbocf7.js +16 -0
- package/dist/RE-CFW4iaQd-ZjFoKpOm.js +16 -0
- package/dist/RO-6H4O-gQF-D5kCIFp3.js +16 -0
- package/dist/RS-DM7vMnHL-B8bpIXlq.js +16 -0
- package/dist/RU-HqKQeTq2-Dbq5EvWT.js +16 -0
- package/dist/RW-DkH4VhfP-CSJHwy2h.js +16 -0
- package/dist/RecurringSubscription-Dns1lfxX.js +639 -0
- package/dist/RecurringSubscriptionDashView-BU74Iu14.js +2051 -0
- package/dist/RefundChargeback-DxzX1ggU.js +97 -0
- package/dist/RiskPendenciesInternalService-C18MHw9P.js +145 -0
- package/dist/SA-C2hBi4Lh-LVuceiPn.js +16 -0
- package/dist/SB-CBu9QLGP-CDNlu2Hi.js +16 -0
- package/dist/SC-CR6esM-V-zzjShRK_.js +16 -0
- package/dist/SD-VCXqBHrW-_q1bkXLo.js +16 -0
- package/dist/SE-DbI0jJm9-CVNv6YY5.js +16 -0
- package/dist/SG-DgprfMyV-8f-vday0.js +16 -0
- package/dist/SH-qhjKl9TO-D5KY5Y-m.js +16 -0
- package/dist/SI-C3dA03Yk-DBM3URbM.js +16 -0
- package/dist/SJ-CfaYWvM--Ca3QZPZ3.js +16 -0
- package/dist/SK-CxbHN7aU-BJMmIJs8.js +16 -0
- package/dist/SL-GXAaRXng-BqldurGy.js +16 -0
- package/dist/SM-B2SteTdO-De8TzD4p.js +16 -0
- package/dist/SN-B7Q__Lx_-DmZlDE1W.js +16 -0
- package/dist/SO-Bnd5-U9z-ChYTpGa9.js +16 -0
- package/dist/SR-BHMDOkL2-DOoMrZJY.js +16 -0
- package/dist/SS-CsTgWca1-Bc7bSVgH.js +16 -0
- package/dist/ST-DLqO0boT-lp2LWq4J.js +16 -0
- package/dist/SV-DNZizmQg-iLSymkkM.js +16 -0
- package/dist/SX-DWuXjLwS-Cq7piB0J.js +16 -0
- package/dist/SY-DeOQEBum-CkORRYcV.js +16 -0
- package/dist/SZ-Bhe0qU5K-Bi4t0wtA.js +16 -0
- package/dist/SalesRecovery-DdXIO9M9.js +595 -0
- package/dist/SalesRecoveryIA-DIoHDLwj.js +199 -0
- package/dist/SendCustomerRefundLinkPage-BoNDJcX5.js +137 -0
- package/dist/StatusDescriptionModal-C1st_TVR.js +60 -0
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-fsT8_PI4.js +28 -0
- package/dist/TC-D5HTaKiF-C_qC-bkC.js +16 -0
- package/dist/TD-DyIWvaGg-6oLoIBo9.js +16 -0
- package/dist/TF-BRsv64iE-CVHPxNav.js +16 -0
- package/dist/TG-OhNa5jmt-pbhXOQv_.js +16 -0
- package/dist/TH-F_ODV0JW-BIxnXFCx.js +16 -0
- package/dist/TJ-BFkbbSmN-CdT7ozJu.js +16 -0
- package/dist/TK-Ct75yy7V-dGc6SSsm.js +16 -0
- package/dist/TL-BzqVkHGw-vDmIdZ4m.js +16 -0
- package/dist/TM-CCAvd8qV-Di0BOTBf.js +16 -0
- package/dist/TN-CmYqbPEz-DWwMw0Fr.js +16 -0
- package/dist/TO-BQQk9Xq_-B8DFmqC6.js +16 -0
- package/dist/TR-_MKkCnUV-JwlcTP3L.js +16 -0
- package/dist/TT-DoRURl1c-CH-cqA8a.js +16 -0
- package/dist/TV-Dt8uZCP4-BNxfT83l.js +16 -0
- package/dist/TW-CvHugvex-DfXcsCaL.js +16 -0
- package/dist/TZ-RbwBgiwb-duq9OFxQ.js +16 -0
- package/dist/TestView-9CRQm_ef.js +14 -0
- package/dist/TopSellingProductsContent-DKh5NdxZ.js +80 -0
- package/dist/UA-BiXHPMqV-B8z263ap.js +16 -0
- package/dist/UG--it_LhSj-DlUiWeJc.js +16 -0
- package/dist/UM-BFcTdeDD-DMTJGVgK.js +16 -0
- package/dist/US-BFcTdeDD-DMTJGVgK.js +16 -0
- package/dist/UY-C26Ndi4P-BVZWb-RO.js +16 -0
- package/dist/UZ-BK5ADwFW-ph43lXhE.js +16 -0
- package/dist/UserIndicationsPage-BnnT28Tn.js +743 -0
- package/dist/VA-Cpq1n4yW-Cpuym3zd.js +16 -0
- package/dist/VC-D1Fjbog5-BCfEgmx0.js +16 -0
- package/dist/VE-CeM-hea7-BOAng-R9.js +16 -0
- package/dist/VG-qhjKl9TO-D_i-eenB.js +16 -0
- package/dist/VI-C-kcu42_-gDEsrJsD.js +16 -0
- package/dist/VN-2yoryeK1-uHPQxyir.js +16 -0
- package/dist/VU-CkLlsgzP-CL7qX3FO.js +16 -0
- package/dist/WF-BDa53dEz-CyEpzrWH.js +16 -0
- package/dist/WS-CNi2O6Qm-CMb4auQx.js +16 -0
- package/dist/WhatsappPreview.vue_vue_type_script_setup_true_lang-D1omqu9f.js +157 -0
- package/dist/WithdrawAdvance-Ccep1JA-.js +17 -0
- package/dist/WithdrawBalanceStore-B20oJdvz.js +504 -0
- package/dist/WithdrawBankAccountStore-DsC4ZZdM.js +130 -0
- package/dist/WithdrawBlocked-NNr_muot.js +133 -0
- package/dist/WithdrawCompanyStore-BfVnw3lu.js +80 -0
- package/dist/WithdrawGuaranteeExtract-D89hQaf8.js +980 -0
- package/dist/WithdrawHome-BFYz-v7C.js +2448 -0
- package/dist/WithdrawHome-DGDCoK7n.js +1843 -0
- package/dist/WithdrawInternational-Cqb89TzD.js +17 -0
- package/dist/WithdrawMaxStore-_rja1BVK.js +375 -0
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-D-p791VE.js +531 -0
- package/dist/WithdrawNoAccountWarning-D0hQYAcv.js +233 -0
- package/dist/WithdrawPermissionGuard-Dh_mbukV.js +338 -0
- package/dist/WithdrawRequest-CB8Y9QWF.js +17 -0
- package/dist/WithdrawRequest-F37bBNu9.js +944 -0
- package/dist/WithdrawRequestDetail-CNp0KDNX.js +284 -0
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-DGkd1Esj.js +937 -0
- package/dist/YE-DxPZysMs-CpLn8RWj.js +16 -0
- package/dist/YT-BMJJ1U_T-CDXFoXV0.js +16 -0
- package/dist/ZA-BjQXS8mc-B0UQZUrN.js +16 -0
- package/dist/ZM-Dw0PmMTO-lGOmeQdn.js +16 -0
- package/dist/ZW-D0UStZMr-xCVgLVmw.js +16 -0
- package/dist/affiliate-Bgt9fadK-D963Q88G.js +22 -0
- package/dist/amex-CvNwRHhS-BBsK7IIu.js +16 -0
- package/dist/api-CIMKicLA.js +11 -0
- package/dist/apple_pay-DtsAzVjF-B41BU1HD.js +20 -0
- package/dist/archive-CFoPOir7-BpMgkpDZ.js +18 -0
- package/dist/aura-D1VyKb6w-Dv3gZn_e.js +23 -0
- package/dist/boleto-BQZRi0Q5-CxYgPyHm.js +18 -0
- package/dist/box-DNrK38w2-BwLsz66q.js +20 -0
- package/dist/cart-p5jccB8o-DF5drP2k.js +15 -0
- package/dist/cash-FZcelZV1-CnTZqD-U.js +20 -0
- package/dist/chart-YJ27XOr3-BPPe3GdW.js +22 -0
- package/dist/credit_card-CGrPYCJP-e0PKYFkL.js +15 -0
- package/dist/csv-CYa6aPS5-DFrnOxgO.js +18 -0
- package/dist/dayjs.min-BfgpYSt2.js +282 -0
- package/dist/diners-CN_1suUM-DVgMrdIj.js +26 -0
- package/dist/discover-vVTOFEvv-eHwdSwfK.js +22 -0
- package/dist/ds-appmax-v322-CpQMgZw3.js +52 -0
- package/dist/ds-appmax-v327-Ogu8YEIj.js +69 -0
- package/dist/ds-appmax-v330-DU7SsVuF.js +48 -0
- package/dist/ds-appmax-v335-Bu5aCfYb.js +278 -0
- package/dist/elo-BaNbqhYS-2SN-EGzL.js +15 -0
- package/dist/gear-BHOWpd7b-CxTyK_3h.js +18 -0
- package/dist/grid-B7I0mWry-DIYOqABE.js +18 -0
- package/dist/hipercard-DBsszwxC-O3YILWno.js +22 -0
- package/dist/index-B0VSb7WU.js +1567 -0
- package/dist/index-B3TmIKjB.js +150 -0
- package/dist/index-B50N-W-a.js +808 -0
- package/dist/index-B5D3_Xvi.js +9812 -0
- package/dist/index-BH-_EudT.js +117 -0
- package/dist/index-BQkmaKbH.js +83 -0
- package/dist/index-BWlCj_o_.js +681 -0
- package/dist/index-BYTi8KOq.js +1790 -0
- package/dist/index-BeA0UPnd.js +28 -0
- package/dist/index-Bfu5BNbN.js +230 -0
- package/dist/index-ByaHDAn-.js +534 -0
- package/dist/index-C9VJ4W4D.js +961 -0
- package/dist/index-CDH6Q9OK.js +18 -0
- package/dist/index-CbPPVyeN.js +217 -0
- package/dist/index-Cc1ntr1N.js +21 -0
- package/dist/index-CnNeFAhj.js +35 -0
- package/dist/index-CoD8VMcG.js +4133 -0
- package/dist/index-Ct51ZylZ.js +200 -0
- package/dist/index-D9bN7Q-Y.js +409 -0
- package/dist/index-DFe60DBo.js +159 -0
- package/dist/index-DHI_7PxN.js +11 -0
- package/dist/index-DMwh-GaM.js +275 -0
- package/dist/index-DbAmAB7j.js +219 -0
- package/dist/index-DhRYkSPC.js +721 -0
- package/dist/index-Dhe_zOZu.js +219 -0
- package/dist/index-Du2tTRlE.js +21 -0
- package/dist/index-DzftXkkx.js +67 -0
- package/dist/index-GylxZXuC.js +62 -0
- package/dist/index-QZyAbkkv.js +106 -0
- package/dist/index-XpYbwknJ.js +332 -0
- package/dist/index-_-X480d-.js +92 -0
- package/dist/index-bCzxdosm.js +169 -0
- package/dist/index-nN012QFO.js +153 -0
- package/dist/index-w0KwgECI.js +1433 -0
- package/dist/index.page-CNPvzJKt.js +828 -0
- package/dist/infos-8KGPLXoE-C6OsCWqK.js +18 -0
- package/dist/integrations-UOltVEyj-M_RdnWiP.js +19 -0
- package/dist/logs-Ce3fZY0v-CVreLBK_.js +28 -0
- package/dist/maestro-BMomgHxO-BNgiakAR.js +27 -0
- package/dist/main-BxSNdVUz.js +103911 -0
- package/dist/main.js +1 -1
- package/dist/mastercard-5I-dcOVV-Ds80DwY-.js +30 -0
- package/dist/max_brand-Crj-SFUw-DK399Iq_.js +29 -0
- package/dist/max_brand_active-BIkS5qkP-CMFLrBZF.js +27 -0
- package/dist/max_brand_negative-BxvdIegN-JSR-KVwv.js +30 -0
- package/dist/menu.page-kL-gVlzs.js +274 -0
- package/dist/money-DZpB5eTf-C4RoV8Qo.js +19 -0
- package/dist/notification-DMezLtAj-IzO6v-CJ.js +18 -0
- package/dist/paypal-DMYjfEw0-D_lMXGAN.js +15 -0
- package/dist/pix-DXdX91yj-CsL4mdir.js +22 -0
- package/dist/pix_outline-D_xXXgCN-Ci4-UNcA.js +16 -0
- package/dist/pusher-Dk_QQo3l.js +4010 -0
- package/dist/shield-DS-Xf4WH-CqZ9vik1.js +15 -0
- package/dist/solid_help-DNaqfgoc-DprccH4-.js +20 -0
- package/dist/solid_home-BDUiJDVY-BJxbZIJ7.js +18 -0
- package/dist/solid_leaderboard-DtqK7q9Y-DhzHx0Mm.js +18 -0
- package/dist/solid_store-Cfv6o4b8-CVAdL9nk.js +18 -0
- package/dist/ticket_icon-DwvyLm7c-HVUOghvW.js +22 -0
- package/dist/useQueryFilter-B9jobv4G.js +93 -0
- package/dist/useRecurringTable-C-HMx7Go.js +161 -0
- package/dist/user-BRpwqYx8-Cr7iRLnS.js +18 -0
- package/dist/validateURL.helper-CAafZEs1.js +126 -0
- package/dist/visa-tPjWcMbi-zgcZYmD1.js +18 -0
- package/package.json +1 -1
- package/dist/AD-Ct_GVBfr-CTvFStRs.js +0 -16
- package/dist/AE-DiMVenwy-BsYgQI28.js +0 -16
- package/dist/AF-DOrptOkS-Ds6cmiE-.js +0 -16
- package/dist/AG-CzBMAtom-BY8bpT8Q.js +0 -16
- package/dist/AI-A2DnDGPS-DxaewyFo.js +0 -16
- package/dist/AL-BcGdPXjJ-XH7npwlc.js +0 -16
- package/dist/AM-BC_r4gTd-hxmPgdY3.js +0 -16
- package/dist/AO-D6GK49nd-BXZCSyQl.js +0 -16
- package/dist/AQ-Eeziry42-DVRIZDzm.js +0 -16
- package/dist/AR-AbqVWszQ-Yn47ALVr.js +0 -16
- package/dist/AS-BWe_Gq8Z-oU16RwI0.js +0 -16
- package/dist/AT-b5CS9jSt-Ct7DoB2j.js +0 -16
- package/dist/AU-BUbOyX6Q-CltpHaAH.js +0 -16
- package/dist/AW-CjVdJTYe-Dd3gLplF.js +0 -16
- package/dist/AX-lNtwEmw2-JJ6UV9Qz.js +0 -16
- package/dist/AZ-f8zSo9ut-DuFd6VJd.js +0 -16
- package/dist/AmBulletLegend-wf0WD1eI.js +0 -23
- package/dist/AmCardV3-tEcrQZmS.js +0 -22
- package/dist/AmDoughnutChartAdapted-J6ecwlfR.js +0 -203
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-B0VjsjGV.js +0 -86
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-SI4flX5p.js +0 -40
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-jYsaNw5b.js +0 -46
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-C1t2s4vV.js +0 -63
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-D2zQmEN--BtclrwNr.js +0 -53
- package/dist/AmLayoutFeedbackState-Jko69UX3.js +0 -48
- package/dist/AmLayoutInnerData-CxcX71U8.js +0 -162
- package/dist/AmOutlineCard-t1I5dm_8.js +0 -25
- package/dist/AmSkeleton-BZ4B60xG.js +0 -35
- package/dist/AmText-C8oFePUc.js +0 -33
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-CwHe2PS6.js +0 -64
- package/dist/ApiService-_6kC2UgU.js +0 -11
- package/dist/AppInstallationConfirmationPasswordModal-ADR9f58m.js +0 -535
- package/dist/AppstoreAppView-CZGb5oL1.js +0 -315
- package/dist/AppstoreHomeView-DMVakywZ.js +0 -1372
- package/dist/BA-BfV7_7RP-P7Eb2DYS.js +0 -16
- package/dist/BB-CC4768VM-DE2S0RVV.js +0 -16
- package/dist/BD-YQdTTbhg-D5PAGfvA.js +0 -16
- package/dist/BE-DUYoRyei-B0XdR3DV.js +0 -16
- package/dist/BF-XZRLkaHX-DKt5mNlp.js +0 -16
- package/dist/BG-BAb8lAFP-Z8F2U5kE.js +0 -16
- package/dist/BH-C1LTB8Fj-8Wthykvp.js +0 -16
- package/dist/BI-RjDfMipp-iUEEqIn-.js +0 -16
- package/dist/BJ-DAv61IMB-AUNHbP3C.js +0 -16
- package/dist/BL-CFW4iaQd-lyC9Bsxa.js +0 -16
- package/dist/BM-DuK3dA1G-DAIPRnrO.js +0 -16
- package/dist/BN-BXHGopan-CxjICHUU.js +0 -16
- package/dist/BO-CzuoErsx-D7xiFDG_.js +0 -16
- package/dist/BQ-BO-BlM1Uin3-CZhRsi0t.js +0 -16
- package/dist/BQ-SA-BninfeHy-4CyIZ2pz.js +0 -16
- package/dist/BQ-SE-tq-mCvpl-DX_o_p4y.js +0 -16
- package/dist/BR-B1GEJ05L-CRZak_nS.js +0 -16
- package/dist/BS-MeULPH4e-Dz3fW_N2.js +0 -16
- package/dist/BT-BCfQJS6a-DyF_SkzQ.js +0 -16
- package/dist/BV-CfaYWvM--CHzGdhNF.js +0 -16
- package/dist/BW-jYbPMHhQ-piFxkr8G.js +0 -16
- package/dist/BY-Ddffd2rT-B25Pn8YP.js +0 -16
- package/dist/BZ-B7mGW2Jg-C2rfAjO2.js +0 -16
- package/dist/BankAccountCrossborderNew.page-BHpa9xJG.js +0 -152
- package/dist/BankAccountList.page-DVvJ5X9Q.js +0 -331
- package/dist/BankAccountNew.page-D4cf-10P.js +0 -982
- package/dist/CA-CHl-cqJL-0WBRGUpi.js +0 -16
- package/dist/CC-DSLZRwFz-B7q9YohM.js +0 -16
- package/dist/CD-D4NJYkQm-BAS-9HWv.js +0 -16
- package/dist/CF-DoxRpaA9-DBsf07M8.js +0 -16
- package/dist/CG-Auzp6pC_-PZATphgd.js +0 -16
- package/dist/CH-B5eEo1aL-DMJtQED-.js +0 -16
- package/dist/CI-DFfmdeVw-B42Oz5xt.js +0 -16
- package/dist/CK-CKWUhjXV-Qmxsxt0P.js +0 -16
- package/dist/CL-Di6p-p6X-fZl8Dpls.js +0 -16
- package/dist/CM-B0ht31e3-CCmTrZ1U.js +0 -16
- package/dist/CN-CKHlOciI-93QFlSn1.js +0 -16
- package/dist/CO-GBUkcePt-DWXyYTki.js +0 -16
- package/dist/CR-Daw5JsjF-CqPaoKy4.js +0 -16
- package/dist/CU-CVOkcTvR-UaHVZuyR.js +0 -16
- package/dist/CV-cyPoze-o-Cc1ckPUZ.js +0 -16
- package/dist/CW-Bt-Pwg4j-C7RFriBn.js +0 -16
- package/dist/CX-uhIZlYzy-C0A0zWF0.js +0 -16
- package/dist/CY-un4rgwPX-WlA9m1Wz.js +0 -16
- package/dist/CZ-equ-r4iN-CQO9sD_0.js +0 -16
- package/dist/CashoutAntecipateContent-CbhmMZT3.js +0 -42
- package/dist/ChargebackAnalytics-Bug37RI8.js +0 -1701
- package/dist/ChargebackDetail-DvHwRfL2.js +0 -3470
- package/dist/ConfirmationModal-3cu-ssZ8.js +0 -105
- package/dist/Create.page-Dccj8M83.js +0 -1409
- package/dist/CreatePaymentLink-BJtPVcrc.js +0 -857
- package/dist/DE-zx7UmJ-V-Bybq2OXR.js +0 -16
- package/dist/DJ-BN1kIFYT-qQrHDSXZ.js +0 -16
- package/dist/DK-CrXXNH_h-NPsZkXuE.js +0 -16
- package/dist/DM-B4nVdNww-CSBgP_NS.js +0 -16
- package/dist/DO-C7-NF2JD-BpQzgRaa.js +0 -16
- package/dist/DZ-DSDLbNRb-CVm76Y8V.js +0 -16
- package/dist/DashboardAmountDetailsContent-DT2n9yZl.js +0 -65
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-D0zJ3ahp.js +0 -151
- package/dist/DashboardApprovalRateInternationalContent-ST3UY15j.js +0 -19
- package/dist/DashboardApprovalRateNationalContent-Dz7Km9Ue.js +0 -74
- package/dist/DashboardCarouselContent-BjrUyMnT.js +0 -963
- package/dist/DashboardDetailsContent-BdTbDOY_.js +0 -58
- package/dist/DashboardHome-CxB2zm9M.js +0 -5399
- package/dist/DetailSubscriptionRecurring-VIVRwGks.js +0 -1314
- package/dist/EC-C_bjTYWm-D84pKUhC.js +0 -16
- package/dist/EE-CQIjuoWO-9aadRPxu.js +0 -16
- package/dist/EG-Bs_BHfVR-BdAf9eRq.js +0 -16
- package/dist/EH-CnWam84F-DVpOtRBN.js +0 -16
- package/dist/ER-Dcl4hJzq-Db_qK1Rq.js +0 -16
- package/dist/ES-Bpj2gAdj-Dq35vgS7.js +0 -16
- package/dist/ET-Dm3q0Ruz-CzMb7aJ5.js +0 -16
- package/dist/ExternalPendenciesList-C8PiDjlR.js +0 -651
- package/dist/FI-DCqfJeiQ-Dv5NdqZG.js +0 -16
- package/dist/FJ-C6UrGUgI-D4SXi58Q.js +0 -16
- package/dist/FK-CAaec31K-CDQw4yIS.js +0 -16
- package/dist/FM-Cf2SIJ7h-DkarHB1M.js +0 -16
- package/dist/FO-DBb4psBV-BH-CzGQa.js +0 -16
- package/dist/FR-CFW4iaQd-CCe7o5DL.js +0 -16
- package/dist/FeatureFlagsPage-bjP71fjZ.js +0 -271
- package/dist/Form.page-BjVo0Fe5.js +0 -608
- package/dist/GA-D3NTxgTl-Ds1Z1Klg.js +0 -16
- package/dist/GB-ENG-Cmkg6Zq8-DKTIMIyF.js +0 -16
- package/dist/GB-NIR-DKszcfHi-ClnVT-Rm.js +0 -16
- package/dist/GB-SCT-BiivwJ71-CcmxAmgG.js +0 -16
- package/dist/GB-UKM-DgMBd3ib-IZUiPomr.js +0 -16
- package/dist/GB-WLS-DLoDy9iv-DnHBoEn9.js +0 -16
- package/dist/GD-Bs1d4We7-BIvWRj7j.js +0 -16
- package/dist/GE-DXG9iLk5-Cta0tZ-c.js +0 -16
- package/dist/GF-B20s5gtx-B6FoRU21.js +0 -16
- package/dist/GG-BAyrpIoO-DwpBHKdp.js +0 -16
- package/dist/GH-v3jh5r1X-_i3I36f8.js +0 -16
- package/dist/GI-D39Krd4s-BAFvpPHs.js +0 -16
- package/dist/GL-BDd_W5AU-VDHzObRr.js +0 -16
- package/dist/GM-BNEHspzj-t68KhdVp.js +0 -16
- package/dist/GN-DdIZ0X6d-B8XxY1FI.js +0 -16
- package/dist/GP-CFW4iaQd-DkRVT8z2.js +0 -16
- package/dist/GQ-CC3X6AMz-DVCy6ehy.js +0 -16
- package/dist/GR-C_0rusTd-Z8dwjEEP.js +0 -16
- package/dist/GS-Db5l22a1-lrjSHMe6.js +0 -16
- package/dist/GT-BhbkqUft-X1cjKeQT.js +0 -16
- package/dist/GU-C0HeItm1-DrONvZkL.js +0 -16
- package/dist/GW-BjLM1vg--B4U9aJG_.js +0 -16
- package/dist/GY-BreBVlhN-_cCH3X9a.js +0 -16
- package/dist/Giftmax-BGAtpPWP.js +0 -489
- package/dist/HK-BZn9ZQGS-DvuzCPLF.js +0 -16
- package/dist/HM-BUbOyX6Q-CERRM88o.js +0 -16
- package/dist/HN-D4wujIPC-B5-aTyKV.js +0 -16
- package/dist/HR-Jhi3QQ9F-DYBCft3q.js +0 -16
- package/dist/HT-MMjMjr-R-v75u5gX0.js +0 -16
- package/dist/HU-CN5KmQ7F-vmW41xfb.js +0 -16
- package/dist/Home-BnSHc8eA.js +0 -997
- package/dist/Home.page-DW_9cbbr.js +0 -499
- package/dist/ID-hVVUTKNG-BW8zh3dZ.js +0 -16
- package/dist/IE-WN_vdKcS-DN4B37YV.js +0 -16
- package/dist/IL-D5Wr_Xxh-DGIXpIVV.js +0 -16
- package/dist/IM-B-putc0k-S800qX3K.js +0 -16
- package/dist/IN-CK40zbQD-C6JRR9Ap.js +0 -16
- package/dist/IO-CdvLck7D-DLQuxJPR.js +0 -16
- package/dist/IQ-f_9wyurt-BDTXugMi.js +0 -16
- package/dist/IR-B0yfWttH--dMOq86V.js +0 -16
- package/dist/IS-Dvf-XQTq-Crc3bKsy.js +0 -16
- package/dist/IT-uY7cjdFI-CTT1hrMP.js +0 -16
- package/dist/ImportTrackingCode-DTZk1PTB.js +0 -1007
- package/dist/InternalCompanyIssuesDetail-tvB3VN5H.js +0 -862
- package/dist/InternalCompanyList-CI0t4XfN.js +0 -351
- package/dist/InternalPendencyDetail-CvQ9AqRX.js +0 -717
- package/dist/JE-C95tN_VG-Ba0aQeco.js +0 -16
- package/dist/JM-zOuEwaB3-DjqU3V_y.js +0 -16
- package/dist/JO-Cq88rrOD-BUhXPAsg.js +0 -16
- package/dist/JP-5evXgWxq-DGvz3_U9.js +0 -16
- package/dist/KE-PHx0d97Z-BVR8ApZD.js +0 -16
- package/dist/KG-DT4JnieX-C9wz5YSY.js +0 -16
- package/dist/KH-ChwV2WTT-Cfk1fxrH.js +0 -16
- package/dist/KI-D212g4Lh-ShV-TUsL.js +0 -16
- package/dist/KM-mPVp7AKS-ssWA4a9i.js +0 -16
- package/dist/KN-AdXLXICN-DZtwkf9K.js +0 -16
- package/dist/KP-CC6UIrEF-D17o0xZO.js +0 -16
- package/dist/KR-BtnmWR6C-4K0EqKGr.js +0 -16
- package/dist/KW-gqahWVaw-Db8tKRMy.js +0 -16
- package/dist/KY-DjIb70VQ-CvAmzy4P.js +0 -16
- package/dist/KZ-C_fRihiO-XTO9wcli.js +0 -16
- package/dist/LA-KIULJHAb-BNTWbG0d.js +0 -16
- package/dist/LB-CrF8WJiI-GdUv5ov_.js +0 -16
- package/dist/LC-DGiHXm5V-CdUX9G5p.js +0 -16
- package/dist/LI-BwB0b8M1-Bi-WweC4.js +0 -16
- package/dist/LK-BOC44ZgS-DZxFcBTp.js +0 -16
- package/dist/LR-CWjRlWOZ-DlFtgs8U.js +0 -16
- package/dist/LS-B_EgU3p5-BrN1mF3a.js +0 -16
- package/dist/LT-BPyPiVx2-BVMYvEgx.js +0 -16
- package/dist/LU-B-De6aB--D5D7irJj.js +0 -16
- package/dist/LV-D2Ewe3XC-xoLFk0Zj.js +0 -16
- package/dist/LY-D1TSt6YI-rH76Qred.js +0 -16
- package/dist/MA-QY5gm-vM-BERTPV_t.js +0 -16
- package/dist/MC-BjlCjfCP-BNgyYM4P.js +0 -16
- package/dist/MD-rh-6rlSt-C8G50w18.js +0 -16
- package/dist/ME-D1euo0V2-Bz01AN0s.js +0 -16
- package/dist/MF-CFW4iaQd-BdyaPOXE.js +0 -16
- package/dist/MG-ONnxn_5g-B4_mFe-q.js +0 -16
- package/dist/MH-B8oC_VMS-BVGipkCK.js +0 -16
- package/dist/MK-ByjICisj-mD5NOjDU.js +0 -16
- package/dist/ML-CKVAuhox-BIKvh7iL.js +0 -16
- package/dist/MM-doJuUjVT-CNr_dqsD.js +0 -16
- package/dist/MN-BFP303GE-DULnkKGn.js +0 -16
- package/dist/MO-Dp4PTSYU-DJyG_t6D.js +0 -16
- package/dist/MP-CqKsnjHV-yfIVjMH5.js +0 -16
- package/dist/MQ-CFW4iaQd-BS4gvDYo.js +0 -16
- package/dist/MR-D73q_PiY-emlXg5TH.js +0 -16
- package/dist/MS-qhjKl9TO-CJGaUkS5.js +0 -16
- package/dist/MT-CZjbs1U--B9D85snF.js +0 -16
- package/dist/MU-D0EQOl0S-CGU5cVeg.js +0 -16
- package/dist/MV-BtwHRTMn-B-stkZhV.js +0 -16
- package/dist/MW-CVnAR98j-DocH3Kw6.js +0 -16
- package/dist/MX-C7vXnCDY-BKOp4HEZ.js +0 -16
- package/dist/MY-DJcgH_o3-CMa8pW5N.js +0 -16
- package/dist/MZ-BbLwl9DA-BJbWUX72.js +0 -16
- package/dist/Max.page-7_HWUcAD.js +0 -879
- package/dist/MostSoldCountries-CcwtIlrZ.js +0 -22
- package/dist/NA-5FKNjRGT-OqPTBPhb.js +0 -16
- package/dist/NC-CFW4iaQd-CHkncDok.js +0 -16
- package/dist/NE-DpLZJa7D-CT6ElkhL.js +0 -16
- package/dist/NF-BT-wIfwf-PCgGTfIJ.js +0 -16
- package/dist/NG-BAiR_q0H-c5pNfayN.js +0 -16
- package/dist/NI-DylPDojG-CyJGPtpt.js +0 -16
- package/dist/NL-iozeFKPM-C0Fni2Ac.js +0 -16
- package/dist/NO-CfaYWvM--DOTchlLG.js +0 -16
- package/dist/NP-BGR_ZaqA-CODnUUOU.js +0 -16
- package/dist/NR-DHGW5Y3Q-D9VSh7iQ.js +0 -16
- package/dist/NU-CcpcSx_x-Dh0-2sm-.js +0 -16
- package/dist/NZ-DDYt6DcJ-pbBS_6NR.js +0 -16
- package/dist/OM-D6hiar1r-DIpw0dw9.js +0 -16
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-B9G4PbXc.js +0 -790
- package/dist/OrderStatusChip-DbcU2RBP.js +0 -30
- package/dist/Orders.page-CgK_9keV.js +0 -1636
- package/dist/OrdersChartDataContent-LP8hSvoU.js +0 -221
- package/dist/OrdersDetails.page-lB0aB3ib.js +0 -6194
- package/dist/PA-Bi2blxjJ-FqdKiNrA.js +0 -16
- package/dist/PE-D4DjQOlP--E3zITZa.js +0 -16
- package/dist/PF-DmOSfnYB-B0LJrfdG.js +0 -16
- package/dist/PG-DeOlZ7TA-D7G-CVjb.js +0 -16
- package/dist/PH-Dv4KdxU--Bynm-fzw.js +0 -16
- package/dist/PK-CRhM95F8-CC3om5R1.js +0 -16
- package/dist/PL-BIdMQAtx-CC3sh2Jq.js +0 -16
- package/dist/PM-BDa53dEz-Cmf_EzVy.js +0 -16
- package/dist/PN-Csu7Dufn-CSnQ-YO4.js +0 -16
- package/dist/PR-C_Acdbc_-DYSs-hX3.js +0 -16
- package/dist/PS-Dmg0ofZr-CdmaRI7T.js +0 -16
- package/dist/PT-Bsck4nv8-B7lMFGwQ.js +0 -16
- package/dist/PW-CBMqjpxh-DJNmCFWH.js +0 -16
- package/dist/PY-Be6zNh15-DCwalLVX.js +0 -16
- package/dist/PaymentsLinks-Cs9UAn0a.js +0 -675
- package/dist/QA-CZmcW85r-CaLHC7C_.js +0 -16
- package/dist/RE-CFW4iaQd-Cbmxo3Xr.js +0 -16
- package/dist/RO-6H4O-gQF-srDsvP1-.js +0 -16
- package/dist/RS-DM7vMnHL-fw5Mj9kh.js +0 -16
- package/dist/RU-HqKQeTq2-C-S1tcsc.js +0 -16
- package/dist/RW-DkH4VhfP-BJinjZxC.js +0 -16
- package/dist/RecurringSubscription-Cez48Fo_.js +0 -639
- package/dist/RecurringSubscriptionDashView-BZlPz2u1.js +0 -2051
- package/dist/RefundChargeback-C6n7VV7L.js +0 -97
- package/dist/RiskPendenciesInternalService-_ZDQLiE2.js +0 -145
- package/dist/SA-C2hBi4Lh-D3VIrXFf.js +0 -16
- package/dist/SB-CBu9QLGP-Fiib6Ntu.js +0 -16
- package/dist/SC-CR6esM-V-IRoNZ3tQ.js +0 -16
- package/dist/SD-VCXqBHrW-DXW0T6ml.js +0 -16
- package/dist/SE-DbI0jJm9-YWm9odKE.js +0 -16
- package/dist/SG-DgprfMyV-B6gH9UEP.js +0 -16
- package/dist/SH-qhjKl9TO-EL31pr4T.js +0 -16
- package/dist/SI-C3dA03Yk-W7UMszLR.js +0 -16
- package/dist/SJ-CfaYWvM--DVK6nrt3.js +0 -16
- package/dist/SK-CxbHN7aU-BRvzxY_1.js +0 -16
- package/dist/SL-GXAaRXng-BGV7zG2L.js +0 -16
- package/dist/SM-B2SteTdO-DG9efVVx.js +0 -16
- package/dist/SN-B7Q__Lx_-BRciUAjE.js +0 -16
- package/dist/SO-Bnd5-U9z-DZ-sUEiM.js +0 -16
- package/dist/SR-BHMDOkL2-BZcPyhVC.js +0 -16
- package/dist/SS-CsTgWca1-C1Dkq145.js +0 -16
- package/dist/ST-DLqO0boT-DnA6DOb8.js +0 -16
- package/dist/SV-DNZizmQg-B8dw0YOy.js +0 -16
- package/dist/SX-DWuXjLwS-CXKTlB_r.js +0 -16
- package/dist/SY-DeOQEBum-NZt--4o-.js +0 -16
- package/dist/SZ-Bhe0qU5K-CHXgXC9_.js +0 -16
- package/dist/SalesRecovery-0Y9JccI9.js +0 -595
- package/dist/SalesRecoveryIA-CfSGhL1K.js +0 -199
- package/dist/SendCustomerRefundLinkPage-PkOyyP0S.js +0 -137
- package/dist/StatusDescriptionModal-DSWt2kHf.js +0 -60
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-CpaRXTHx.js +0 -28
- package/dist/TC-D5HTaKiF-B617dRPG.js +0 -16
- package/dist/TD-DyIWvaGg-DEAyfWcU.js +0 -16
- package/dist/TF-BRsv64iE-OZ5rHUVQ.js +0 -16
- package/dist/TG-OhNa5jmt-CDagRQz6.js +0 -16
- package/dist/TH-F_ODV0JW-CvthTOB-.js +0 -16
- package/dist/TJ-BFkbbSmN-BwoTzrWD.js +0 -16
- package/dist/TK-Ct75yy7V-DgeRGfme.js +0 -16
- package/dist/TL-BzqVkHGw-Dc5k3K2l.js +0 -16
- package/dist/TM-CCAvd8qV-SEEpGUL-.js +0 -16
- package/dist/TN-CmYqbPEz-hHMNNXzq.js +0 -16
- package/dist/TO-BQQk9Xq_-epQQtqH4.js +0 -16
- package/dist/TR-_MKkCnUV-Bi0lUC3M.js +0 -16
- package/dist/TT-DoRURl1c-FYpDQKXO.js +0 -16
- package/dist/TV-Dt8uZCP4-B4pifP0Y.js +0 -16
- package/dist/TW-CvHugvex-Dk4ik8dm.js +0 -16
- package/dist/TZ-RbwBgiwb-Cr19HgOw.js +0 -16
- package/dist/TestView-eVidESBA.js +0 -14
- package/dist/TopSellingProductsContent-9dxbhM9p.js +0 -80
- package/dist/UA-BiXHPMqV-Be1-p6rI.js +0 -16
- package/dist/UG--it_LhSj-CucopFao.js +0 -16
- package/dist/UM-BFcTdeDD-BYNQj1pw.js +0 -16
- package/dist/US-BFcTdeDD-BYNQj1pw.js +0 -16
- package/dist/UY-C26Ndi4P-ChN7xCRj.js +0 -16
- package/dist/UZ-BK5ADwFW-KzDUyeB7.js +0 -16
- package/dist/UserIndicationsPage-xZeYb83U.js +0 -743
- package/dist/VA-Cpq1n4yW-BIaqq7IL.js +0 -16
- package/dist/VC-D1Fjbog5-kLOoQpU4.js +0 -16
- package/dist/VE-CeM-hea7-1AEjgGq-.js +0 -16
- package/dist/VG-qhjKl9TO-JEWIJy23.js +0 -16
- package/dist/VI-C-kcu42_-XCycNZbg.js +0 -16
- package/dist/VN-2yoryeK1-EINae3R3.js +0 -16
- package/dist/VU-CkLlsgzP-CdcFwq-M.js +0 -16
- package/dist/WF-BDa53dEz-DHQFNb5Z.js +0 -16
- package/dist/WS-CNi2O6Qm-CA4GZCc7.js +0 -16
- package/dist/WhatsappPreview.vue_vue_type_script_setup_true_lang-DAImcNVs.js +0 -157
- package/dist/WithdrawAdvance-_vPAZnNk.js +0 -17
- package/dist/WithdrawBalanceStore-DQkwNhZI.js +0 -504
- package/dist/WithdrawBankAccountStore-CsgkufhN.js +0 -130
- package/dist/WithdrawBlocked-DeGHYpPn.js +0 -133
- package/dist/WithdrawCompanyStore-Cm6O9hth.js +0 -80
- package/dist/WithdrawGuaranteeExtract-Cnl-j7Jw.js +0 -980
- package/dist/WithdrawHome-Birpcc8W.js +0 -1843
- package/dist/WithdrawHome-CsCf1D7b.js +0 -2448
- package/dist/WithdrawInternational-Qi-Aitg8.js +0 -17
- package/dist/WithdrawMaxStore-7ePtcs5p.js +0 -375
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-CPoErFIL.js +0 -531
- package/dist/WithdrawNoAccountWarning-mjBd5v7m.js +0 -233
- package/dist/WithdrawPermissionGuard-sMpLJkZO.js +0 -338
- package/dist/WithdrawRequest-B-mcl0vZ.js +0 -944
- package/dist/WithdrawRequest-DMRaNkox.js +0 -17
- package/dist/WithdrawRequestDetail-CIhQQ9-u.js +0 -284
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-TwPr7S6e.js +0 -937
- package/dist/YE-DxPZysMs-Cebnm5ya.js +0 -16
- package/dist/YT-BMJJ1U_T-BocTpDew.js +0 -16
- package/dist/ZA-BjQXS8mc-BUpsJuuH.js +0 -16
- package/dist/ZM-Dw0PmMTO-Ls8RSsB1.js +0 -16
- package/dist/ZW-D0UStZMr-vwrxYoFv.js +0 -16
- package/dist/affiliate-Bgt9fadK-hixP2Hte.js +0 -22
- package/dist/amex-CvNwRHhS-OQqDU9Ce.js +0 -16
- package/dist/api-QhZGVaLi.js +0 -11
- package/dist/apple_pay-DtsAzVjF-CA189A3a.js +0 -20
- package/dist/archive-CFoPOir7-BANAjF5v.js +0 -18
- package/dist/aura-D1VyKb6w-CEnL9imY.js +0 -23
- package/dist/boleto-BQZRi0Q5-B1MF0Eco.js +0 -18
- package/dist/box-DNrK38w2-B0jYq6fu.js +0 -20
- package/dist/cart-p5jccB8o-q_fYFxpc.js +0 -15
- package/dist/cash-FZcelZV1-CMovIxw4.js +0 -20
- package/dist/chart-YJ27XOr3-DajduLHL.js +0 -22
- package/dist/credit_card-CGrPYCJP-BFF2sNrO.js +0 -15
- package/dist/csv-CYa6aPS5-CfsoXGxb.js +0 -18
- package/dist/dayjs.min-Dxl2fTjj.js +0 -282
- package/dist/diners-CN_1suUM-BNdgjVAL.js +0 -26
- package/dist/discover-vVTOFEvv-bzwdsuU_.js +0 -22
- package/dist/ds-appmax-v322-D4aY6i0X.js +0 -52
- package/dist/ds-appmax-v327-3lLTAH4O.js +0 -69
- package/dist/ds-appmax-v330-CmzRwCrP.js +0 -48
- package/dist/ds-appmax-v335-Cc0krdD4.js +0 -278
- package/dist/elo-BaNbqhYS-BLeD8iJ0.js +0 -15
- package/dist/gear-BHOWpd7b-DcgyhmX5.js +0 -18
- package/dist/grid-B7I0mWry-CDdpk1OK.js +0 -18
- package/dist/hipercard-DBsszwxC-DrxqQuJn.js +0 -22
- package/dist/index-32ybeZZE.js +0 -1790
- package/dist/index-3BcaG1bC.js +0 -150
- package/dist/index-3P9193Qr.js +0 -961
- package/dist/index-ASlXY-d3.js +0 -153
- package/dist/index-BFzcRBzY.js +0 -106
- package/dist/index-B_fNvVLp.js +0 -11
- package/dist/index-Bf8_Z9fd.js +0 -275
- package/dist/index-Bq8cu7iX.js +0 -200
- package/dist/index-BrKSwDNb.js +0 -721
- package/dist/index-Bu3rqWcI.js +0 -92
- package/dist/index-Bwmv-zM_.js +0 -219
- package/dist/index-CENccsHU.js +0 -1433
- package/dist/index-CNsgQHp2.js +0 -67
- package/dist/index-COERH0cU.js +0 -409
- package/dist/index-CPi167qm.js +0 -83
- package/dist/index-CcyHq_3Z.js +0 -21
- package/dist/index-CgDYEEgt.js +0 -28
- package/dist/index-CgkCCIG6.js +0 -534
- package/dist/index-Cn2BtiIo.js +0 -808
- package/dist/index-D1qacMBp.js +0 -230
- package/dist/index-D2C_Acty.js +0 -21
- package/dist/index-DFqHYYbz.js +0 -18
- package/dist/index-DIVKawDX.js +0 -4133
- package/dist/index-DS0Ue369.js +0 -681
- package/dist/index-DSxm9nm7.js +0 -9812
- package/dist/index-DYPQlHd7.js +0 -62
- package/dist/index-DbY2chf4.js +0 -169
- package/dist/index-HFz2zvho.js +0 -217
- package/dist/index-ROqPPO1M.js +0 -117
- package/dist/index-kJtEX11o.js +0 -159
- package/dist/index-lXOsBLBy.js +0 -219
- package/dist/index-rHnA7vOI.js +0 -35
- package/dist/index-xaUD1Z1V.js +0 -332
- package/dist/index-zEc4H9nj.js +0 -1567
- package/dist/index.page-Dhk9b1uO.js +0 -828
- package/dist/infos-8KGPLXoE-DLzdh_vf.js +0 -18
- package/dist/integrations-UOltVEyj-DVd01BrC.js +0 -19
- package/dist/logs-Ce3fZY0v-CC23qGQn.js +0 -28
- package/dist/maestro-BMomgHxO-Cxk1clx8.js +0 -27
- package/dist/main-CgTDKCoi.js +0 -103911
- package/dist/mastercard-5I-dcOVV-BqLITAWU.js +0 -30
- package/dist/max_brand-Crj-SFUw-DhQLvvK3.js +0 -29
- package/dist/max_brand_active-BIkS5qkP-k06KKFBF.js +0 -27
- package/dist/max_brand_negative-BxvdIegN-BCt87NVt.js +0 -30
- package/dist/menu.page-BCL6MXk1.js +0 -274
- package/dist/money-DZpB5eTf-CPFwi3lp.js +0 -19
- package/dist/notification-DMezLtAj-1iZ_Jz88.js +0 -18
- package/dist/paypal-DMYjfEw0-DCnSu17y.js +0 -15
- package/dist/pix-DXdX91yj-B2Ol32f-.js +0 -22
- package/dist/pix_outline-D_xXXgCN-DClfzdzP.js +0 -16
- package/dist/pusher-ChM_mRds.js +0 -4010
- package/dist/shield-DS-Xf4WH-BHY_gALw.js +0 -15
- package/dist/solid_help-DNaqfgoc-G7KXaoIH.js +0 -20
- package/dist/solid_home-BDUiJDVY-BIK9FTru.js +0 -18
- package/dist/solid_leaderboard-DtqK7q9Y-DPRkypwV.js +0 -18
- package/dist/solid_store-Cfv6o4b8-BVrKug_m.js +0 -18
- package/dist/ticket_icon-DwvyLm7c-BBkwsCs7.js +0 -22
- package/dist/useQueryFilter-B1ka5TMR.js +0 -93
- package/dist/useRecurringTable-Crw9mmz1.js +0 -161
- package/dist/user-BRpwqYx8-CUaB9Lce.js +0 -18
- package/dist/validateURL.helper-C_1QruqW.js +0 -126
- package/dist/visa-tPjWcMbi-BmIJPdo1.js +0 -18
|
@@ -0,0 +1,1701 @@
|
|
|
1
|
+
import { ab as defineComponent, r as ref, o as onMounted, A as watch, a9 as resolveComponent, g as createElementBlock, h as openBlock, v as createBlock, w as withCtx, i as createVNode, a6 as renderSlot, E as mergeProps, j as createBaseVNode, l as unref, H as f, y, m as createTextVNode, t as toDisplayString, _ as _export_sfc, u as useI18n, k as createCommentVNode, n as normalizeClass, J as script, F as Fragment, q as renderList, $, bD as shallowRef, ag as h, f as onBeforeUnmount, bE as toRaw, bF as isProxy, c as useRouter, bB as formatMoneyChargeback, p as _, K as script$4, a as useToast, e as computed, ad as userService, G as ApiService } from "./main-BxSNdVUz.js";
|
|
2
|
+
import { A as AmSkeleton } from "./AmSkeleton-yk6Pzn4C.js";
|
|
3
|
+
import { C as Chart$1, B as BarController, L as LineController, a as CategoryScale, b as LinearScale, c as LineElement, d as BarElement, P as PointElement, p as plugin_title, e as plugin_tooltip, f as plugin_legend } from "./chart-Mi1_iotO.js";
|
|
4
|
+
import { C } from "./index-CDH6Q9OK.js";
|
|
5
|
+
import { s as script$1, a as script$2 } from "./index-B5D3_Xvi.js";
|
|
6
|
+
import { s as script$3 } from "./index-D9bN7Q-Y.js";
|
|
7
|
+
import { A as AmCardV3 } from "./AmCardV3-Bay9-BBN.js";
|
|
8
|
+
import { a as api } from "./ApiService-DrjuEh5o.js";
|
|
9
|
+
const companiesData = [
|
|
10
|
+
{
|
|
11
|
+
id: 4,
|
|
12
|
+
name: "Ship It",
|
|
13
|
+
cnpj: "35.879.980/0001-29"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: 112,
|
|
17
|
+
name: "TWD STORE EMPRESA",
|
|
18
|
+
cnpj: "28.072.802/0001-26"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: 290,
|
|
22
|
+
name: "Otmz Editora de Produtos Digitais LTDA",
|
|
23
|
+
cnpj: "22.950.548/0001-35"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: 369,
|
|
27
|
+
name: "",
|
|
28
|
+
cnpj: ""
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 370,
|
|
32
|
+
name: "",
|
|
33
|
+
cnpj: ""
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
id: 371,
|
|
37
|
+
name: "",
|
|
38
|
+
cnpj: ""
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: 372,
|
|
42
|
+
name: "",
|
|
43
|
+
cnpj: ""
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 474,
|
|
47
|
+
name: "Appmax Brasil",
|
|
48
|
+
cnpj: "24.063.241/0001-48"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: 544,
|
|
52
|
+
name: "Tttt",
|
|
53
|
+
cnpj: "11.111.111/1111-11"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 550,
|
|
57
|
+
name: "Hjbdxbhsx",
|
|
58
|
+
cnpj: "11.111.111/1111-11"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: 683,
|
|
62
|
+
name: "Dasfasf",
|
|
63
|
+
cnpj: "34.124.124/1241-24"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 685,
|
|
67
|
+
name: "Dasd",
|
|
68
|
+
cnpj: "34.141.241/2412-31"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: 997,
|
|
72
|
+
name: "Rodolfo dos santos nascimento",
|
|
73
|
+
cnpj: "37.467.949/0001-06"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: 1505,
|
|
77
|
+
name: ".",
|
|
78
|
+
cnpj: "."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: 1506,
|
|
82
|
+
name: ".",
|
|
83
|
+
cnpj: "."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: 1507,
|
|
87
|
+
name: ".",
|
|
88
|
+
cnpj: "."
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: 1508,
|
|
92
|
+
name: ".",
|
|
93
|
+
cnpj: "."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
id: 1551,
|
|
97
|
+
name: "Teste",
|
|
98
|
+
cnpj: ""
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
id: 1703,
|
|
102
|
+
name: "V2 Clica Store",
|
|
103
|
+
cnpj: "28.784.678/0001-21"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
id: 1907,
|
|
107
|
+
name: "Testesteste",
|
|
108
|
+
cnpj: "111111111111111111"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: 2082,
|
|
112
|
+
name: "Appmax Plataforma de Vendas LTDA",
|
|
113
|
+
cnpj: "27.000.511/0001-60"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
id: 2403,
|
|
117
|
+
name: "Atacado Brand Collection",
|
|
118
|
+
cnpj: "35.127.643/0001-85"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: 2497,
|
|
122
|
+
name: "BRUNO STOLLMEIER (P) V2",
|
|
123
|
+
cnpj: "41.512.259/0001-07"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
id: 2815,
|
|
127
|
+
name: "TESTE TESTE",
|
|
128
|
+
cnpj: "111111111111111111"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
id: 3769,
|
|
132
|
+
name: "PORTO HOSTEL PERUIBE",
|
|
133
|
+
cnpj: "40.038.288/0001-08"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: 3893,
|
|
137
|
+
name: "SIDNEY GUEDES DE ARAUJO EMPREENDIMENTOS DIGITAIS V2",
|
|
138
|
+
cnpj: "32.264.620/0001-24"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: 5751,
|
|
142
|
+
name: "Test",
|
|
143
|
+
cnpj: "191.000.000-00"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
id: 7948,
|
|
147
|
+
name: "Appmax Teste Taxas",
|
|
148
|
+
cnpj: "77.064.731/0001-25"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: 9071,
|
|
152
|
+
name: "Lucas Vasconcelos",
|
|
153
|
+
cnpj: "29.685.703/0001-82"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
id: 9719,
|
|
157
|
+
name: "Teste",
|
|
158
|
+
cnpj: "191.000.000-00"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
id: 13196,
|
|
162
|
+
name: "Teste 09 11 2022",
|
|
163
|
+
cnpj: ""
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
id: 13310,
|
|
167
|
+
name: "Clara teste TWD STORE",
|
|
168
|
+
cnpj: "84.093.814/0001-08"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
id: 13311,
|
|
172
|
+
name: "Clara teste empresa pf v2",
|
|
173
|
+
cnpj: ""
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
id: 14387,
|
|
177
|
+
name: "TAXAS APP - TESTE COMPANIES",
|
|
178
|
+
cnpj: "02.827.676/0001-89"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
id: 14750,
|
|
182
|
+
name: "Teste ge",
|
|
183
|
+
cnpj: "103.833.760-76"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
id: 14751,
|
|
187
|
+
name: "Teste ge",
|
|
188
|
+
cnpj: "103.833.760-76"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: 14752,
|
|
192
|
+
name: "Teste ge",
|
|
193
|
+
cnpj: "103.833.760-76"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
id: 14753,
|
|
197
|
+
name: "Teste ge",
|
|
198
|
+
cnpj: "80.985.977/0001-44"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
id: 15714,
|
|
202
|
+
name: "Teste Appmax Brasil Shopify",
|
|
203
|
+
cnpj: "58.088.775/0001-40"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
id: 15907,
|
|
207
|
+
name: "JULIO MEES SCHMITZ ME - NAO UTILIZAR",
|
|
208
|
+
cnpj: "26.689.924/0001-30"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
id: 19308,
|
|
212
|
+
name: "TWD - APPMAX BRASIL - TESTE",
|
|
213
|
+
cnpj: "856.395.720-19"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
id: 19321,
|
|
217
|
+
name: "TWD - Appmax Brasil - Cross",
|
|
218
|
+
cnpj: "1234567"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
id: 69524,
|
|
222
|
+
name: "Vtex Teste",
|
|
223
|
+
cnpj: "201.161.640-93"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
id: 138003,
|
|
227
|
+
name: "CLARA CREDENCIAMENTO TESTE",
|
|
228
|
+
cnpj: "01.281.821/0001-06"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: 141532,
|
|
232
|
+
name: "TWD Lu",
|
|
233
|
+
cnpj: "134.813.410-08"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
id: 142777,
|
|
237
|
+
name: "Teste Novo Campo",
|
|
238
|
+
cnpj: "028.522.740-86"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
id: 142779,
|
|
242
|
+
name: "Teste Novo Campo 2",
|
|
243
|
+
cnpj: "395.601.970-96"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
id: 154084,
|
|
247
|
+
name: "Digital LTDA",
|
|
248
|
+
cnpj: "19.599.635/0001-85"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
id: 1,
|
|
252
|
+
name: "Max Fórmula",
|
|
253
|
+
cnpj: "22.338.977/0001-56"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
id: 1639,
|
|
257
|
+
name: "HEADLIFE TECHNOLOGY",
|
|
258
|
+
cnpj: "37.604.905/0001-80"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
id: 1697,
|
|
262
|
+
name: "EDER TANAN",
|
|
263
|
+
cnpj: "30.018.003/0001-13"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
id: 64,
|
|
267
|
+
name: ".",
|
|
268
|
+
cnpj: "11.111.111/1111-11"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: 75080,
|
|
272
|
+
name: "PUPUS ACESSORIOS EM PRATA LTDA",
|
|
273
|
+
cnpj: "42.941.458/0001-95"
|
|
274
|
+
}
|
|
275
|
+
];
|
|
276
|
+
const _hoisted_1$4 = { class: "text-center am-popover" };
|
|
277
|
+
const _hoisted_2$3 = {
|
|
278
|
+
key: 1,
|
|
279
|
+
class: "text-center mobile"
|
|
280
|
+
};
|
|
281
|
+
const _hoisted_3$3 = { class: "px-3" };
|
|
282
|
+
const _hoisted_4$3 = { class: "mobile-header" };
|
|
283
|
+
const _hoisted_5$2 = { class: "flex items-center gap-3" };
|
|
284
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
285
|
+
__name: "AmPopover",
|
|
286
|
+
props: {
|
|
287
|
+
fullscreen: { type: Boolean },
|
|
288
|
+
isFilterOpen: { type: Boolean }
|
|
289
|
+
},
|
|
290
|
+
emits: ["updatedValue"],
|
|
291
|
+
setup(__props, { emit: __emit }) {
|
|
292
|
+
const isMobileSize = ref(false);
|
|
293
|
+
const localToggle = ref(false);
|
|
294
|
+
const overlay = ref(false);
|
|
295
|
+
const props = __props;
|
|
296
|
+
const emit = __emit;
|
|
297
|
+
onMounted(() => {
|
|
298
|
+
isMobileSize.value = document.body.clientWidth <= 775;
|
|
299
|
+
window.addEventListener(
|
|
300
|
+
"resize",
|
|
301
|
+
() => {
|
|
302
|
+
isMobileSize.value = document.body.clientWidth <= 775;
|
|
303
|
+
},
|
|
304
|
+
true
|
|
305
|
+
);
|
|
306
|
+
});
|
|
307
|
+
watch(
|
|
308
|
+
() => props.isFilterOpen,
|
|
309
|
+
(newVal) => {
|
|
310
|
+
if (newVal !== void 0) {
|
|
311
|
+
overlay.value = newVal;
|
|
312
|
+
localToggle.value = newVal;
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
{ immediate: true }
|
|
316
|
+
);
|
|
317
|
+
watch(overlay, (newVal) => {
|
|
318
|
+
if (newVal !== localToggle.value) {
|
|
319
|
+
localToggle.value = newVal;
|
|
320
|
+
if (props.isFilterOpen !== void 0 && newVal !== props.isFilterOpen) {
|
|
321
|
+
emit("updatedValue", newVal);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
});
|
|
325
|
+
return (_ctx, _cache) => {
|
|
326
|
+
const _component_v_btn = resolveComponent("v-btn");
|
|
327
|
+
const _component_v_card = resolveComponent("v-card");
|
|
328
|
+
const _component_v_menu = resolveComponent("v-menu");
|
|
329
|
+
const _component_v_overlay = resolveComponent("v-overlay");
|
|
330
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
331
|
+
!isMobileSize.value ? (openBlock(), createBlock(_component_v_menu, {
|
|
332
|
+
key: 0,
|
|
333
|
+
modelValue: localToggle.value,
|
|
334
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => localToggle.value = $event),
|
|
335
|
+
"close-on-content-click": true,
|
|
336
|
+
location: "bottom"
|
|
337
|
+
}, {
|
|
338
|
+
activator: withCtx(({ props: props2 }) => [
|
|
339
|
+
createVNode(_component_v_btn, mergeProps({ class: "v-btn-custom" }, props2), {
|
|
340
|
+
default: withCtx(() => [
|
|
341
|
+
renderSlot(_ctx.$slots, "activator", {}, void 0, true)
|
|
342
|
+
]),
|
|
343
|
+
_: 2
|
|
344
|
+
}, 1040)
|
|
345
|
+
]),
|
|
346
|
+
default: withCtx(() => [
|
|
347
|
+
createVNode(_component_v_card, null, {
|
|
348
|
+
default: withCtx(() => [
|
|
349
|
+
renderSlot(_ctx.$slots, "body", {}, void 0, true)
|
|
350
|
+
]),
|
|
351
|
+
_: 3
|
|
352
|
+
})
|
|
353
|
+
]),
|
|
354
|
+
_: 3
|
|
355
|
+
}, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
356
|
+
createVNode(_component_v_overlay, {
|
|
357
|
+
modelValue: overlay.value,
|
|
358
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => overlay.value = $event),
|
|
359
|
+
class: "mobile"
|
|
360
|
+
}, {
|
|
361
|
+
activator: withCtx(({ props: props2 }) => [
|
|
362
|
+
createVNode(_component_v_btn, mergeProps({ class: "v-btn-custom" }, props2), {
|
|
363
|
+
default: withCtx(() => [
|
|
364
|
+
renderSlot(_ctx.$slots, "activator", {}, void 0, true)
|
|
365
|
+
]),
|
|
366
|
+
_: 2
|
|
367
|
+
}, 1040)
|
|
368
|
+
]),
|
|
369
|
+
default: withCtx(() => [
|
|
370
|
+
createBaseVNode("div", _hoisted_3$3, [
|
|
371
|
+
createBaseVNode("div", _hoisted_4$3, [
|
|
372
|
+
createBaseVNode("div", _hoisted_5$2, [
|
|
373
|
+
createVNode(unref(f), {
|
|
374
|
+
icon: "arrow_back",
|
|
375
|
+
onClick: _cache[1] || (_cache[1] = ($event) => overlay.value = false),
|
|
376
|
+
class: "text-primary"
|
|
377
|
+
}),
|
|
378
|
+
createVNode(unref(y), {
|
|
379
|
+
variant: "title",
|
|
380
|
+
size: "small"
|
|
381
|
+
}, {
|
|
382
|
+
default: withCtx(() => [
|
|
383
|
+
createTextVNode(toDisplayString(_ctx.$t("chargeback.filterMonthLabel")), 1)
|
|
384
|
+
]),
|
|
385
|
+
_: 1
|
|
386
|
+
})
|
|
387
|
+
])
|
|
388
|
+
]),
|
|
389
|
+
renderSlot(_ctx.$slots, "body", {}, void 0, true)
|
|
390
|
+
])
|
|
391
|
+
]),
|
|
392
|
+
_: 3
|
|
393
|
+
}, 8, ["modelValue"])
|
|
394
|
+
]))
|
|
395
|
+
]);
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
const AmPopover = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-702d7546"]]);
|
|
400
|
+
const _hoisted_1$3 = {
|
|
401
|
+
ref: "chargebackFilter",
|
|
402
|
+
class: "company-filter chargeback-filter"
|
|
403
|
+
};
|
|
404
|
+
const _hoisted_2$2 = { class: "d-flex mt-2" };
|
|
405
|
+
const _hoisted_3$2 = { class: "d-flex" };
|
|
406
|
+
const _hoisted_4$2 = { class: "am-dropdown-custom" };
|
|
407
|
+
const _hoisted_5$1 = ["onClick"];
|
|
408
|
+
const _hoisted_6$1 = {
|
|
409
|
+
key: 2,
|
|
410
|
+
class: "d-flex justify-content-end"
|
|
411
|
+
};
|
|
412
|
+
const _hoisted_7 = {
|
|
413
|
+
key: 1,
|
|
414
|
+
class: "d-flex flex-column w-100 chargeback-filter mb-5 justify-content-between"
|
|
415
|
+
};
|
|
416
|
+
const _hoisted_8 = { class: "mb-4" };
|
|
417
|
+
const _sfc_main$4 = {
|
|
418
|
+
__name: "ChargebackCompanyFilter",
|
|
419
|
+
props: {
|
|
420
|
+
preSelectedFilter: {
|
|
421
|
+
type: Object,
|
|
422
|
+
required: false,
|
|
423
|
+
default: null
|
|
424
|
+
},
|
|
425
|
+
companyFilterData: {
|
|
426
|
+
type: Object,
|
|
427
|
+
required: false,
|
|
428
|
+
// eslint-disable-next-line vue/require-valid-default-prop
|
|
429
|
+
default: {
|
|
430
|
+
company: "",
|
|
431
|
+
year: ""
|
|
432
|
+
// monthGroup: 1,
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
isAnalytics: { type: Boolean, required: false, default: false },
|
|
436
|
+
isLoading: { type: Boolean, required: false, default: true },
|
|
437
|
+
companies: { type: Array, required: false, default: () => [] },
|
|
438
|
+
yearsFilter: { type: Array, required: false, default: () => [] },
|
|
439
|
+
periodLabel: { type: String, required: true }
|
|
440
|
+
},
|
|
441
|
+
emits: ["update", "update:companyFilterData"],
|
|
442
|
+
setup(__props, { emit: __emit }) {
|
|
443
|
+
const { t } = useI18n();
|
|
444
|
+
const isMobileSize = ref(false);
|
|
445
|
+
onMounted(() => {
|
|
446
|
+
isMobileSize.value = document.body.clientWidth <= 775;
|
|
447
|
+
window.addEventListener(
|
|
448
|
+
"resize",
|
|
449
|
+
() => {
|
|
450
|
+
isMobileSize.value = document.body.clientWidth <= 775;
|
|
451
|
+
},
|
|
452
|
+
true
|
|
453
|
+
);
|
|
454
|
+
});
|
|
455
|
+
const updtComponent = ref(0);
|
|
456
|
+
const isFilterOpen = ref(false);
|
|
457
|
+
const isFirstFetched = ref(false);
|
|
458
|
+
let renderCounter = 0;
|
|
459
|
+
const companyFilterDataLocal = ref({
|
|
460
|
+
company: "",
|
|
461
|
+
year: ""
|
|
462
|
+
// monthGroup: 1,
|
|
463
|
+
});
|
|
464
|
+
const handleYearSearch = (year) => {
|
|
465
|
+
companyFilterDataLocal.value.year = year;
|
|
466
|
+
search();
|
|
467
|
+
};
|
|
468
|
+
const changePopoverStatus = () => {
|
|
469
|
+
isFilterOpen.value = !isFilterOpen.value;
|
|
470
|
+
};
|
|
471
|
+
const search = () => {
|
|
472
|
+
emit(
|
|
473
|
+
"update:companyFilterData",
|
|
474
|
+
Object.assign({}, companyFilterDataLocal.value)
|
|
475
|
+
);
|
|
476
|
+
emit("search");
|
|
477
|
+
isFilterOpen.value = false;
|
|
478
|
+
};
|
|
479
|
+
const props = __props;
|
|
480
|
+
const emit = __emit;
|
|
481
|
+
watch(
|
|
482
|
+
() => companyFilterDataLocal.value.company,
|
|
483
|
+
async () => {
|
|
484
|
+
if (isFirstFetched.value === false && companyFilterDataLocal.value.year && companyFilterDataLocal.value.company) {
|
|
485
|
+
isFirstFetched.value = true;
|
|
486
|
+
emit(
|
|
487
|
+
"update:companyFilterData",
|
|
488
|
+
Object.assign({}, companyFilterDataLocal.value)
|
|
489
|
+
);
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{ deep: true, immediate: true }
|
|
493
|
+
);
|
|
494
|
+
watch(
|
|
495
|
+
() => props.companyFilterData,
|
|
496
|
+
async () => {
|
|
497
|
+
if (renderCounter === 0) {
|
|
498
|
+
companyFilterDataLocal.value = Object.assign({}, props.companyFilterData);
|
|
499
|
+
}
|
|
500
|
+
renderCounter += 1;
|
|
501
|
+
},
|
|
502
|
+
{ deep: true, immediate: true }
|
|
503
|
+
);
|
|
504
|
+
watch(
|
|
505
|
+
() => props.yearsFilter,
|
|
506
|
+
async () => {
|
|
507
|
+
if (props.yearsFilter.length >= 1) {
|
|
508
|
+
companyFilterDataLocal.value.year = props.yearsFilter[props.yearsFilter.length - 1].value;
|
|
509
|
+
if (isFirstFetched.value === false && companyFilterDataLocal.value.year && companyFilterDataLocal.value.company) {
|
|
510
|
+
emit(
|
|
511
|
+
"update:companyFilterData",
|
|
512
|
+
Object.assign({}, companyFilterDataLocal.value)
|
|
513
|
+
);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
{ deep: true, immediate: true }
|
|
518
|
+
);
|
|
519
|
+
watch(
|
|
520
|
+
() => props.companies,
|
|
521
|
+
async () => {
|
|
522
|
+
if (props.companies.length >= 1) {
|
|
523
|
+
companyFilterDataLocal.value.company = "all";
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
{ deep: true, immediate: true }
|
|
527
|
+
);
|
|
528
|
+
watch(
|
|
529
|
+
() => props.preSelectedFilter,
|
|
530
|
+
async () => {
|
|
531
|
+
if (Object.keys(props.preSelectedFilter).length > 1) {
|
|
532
|
+
if (props.companies.length >= 1) {
|
|
533
|
+
const company = props.preSelectedFilter.company;
|
|
534
|
+
companyFilterDataLocal.value.company = company !== "all" ? parseInt(company) : company;
|
|
535
|
+
}
|
|
536
|
+
if (props.yearsFilter.length >= 1) {
|
|
537
|
+
companyFilterDataLocal.value.year = props.preSelectedFilter.year;
|
|
538
|
+
}
|
|
539
|
+
if (isFirstFetched.value === false && companyFilterDataLocal.value.year && companyFilterDataLocal.value.company) {
|
|
540
|
+
emit(
|
|
541
|
+
"update:companyFilterData",
|
|
542
|
+
Object.assign({}, companyFilterDataLocal.value)
|
|
543
|
+
);
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
{ deep: true }
|
|
548
|
+
);
|
|
549
|
+
return (_ctx, _cache) => {
|
|
550
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
551
|
+
createBaseVNode("div", _hoisted_1$3, [
|
|
552
|
+
createBaseVNode("div", {
|
|
553
|
+
class: normalizeClass({ "invisible": !props.isAnalytics })
|
|
554
|
+
}, [
|
|
555
|
+
createVNode(unref(y), {
|
|
556
|
+
class: normalizeClass([{ "invisible": __props.isLoading && !isMobileSize.value }, "mb-2"]),
|
|
557
|
+
"font-type": "roboto",
|
|
558
|
+
"typography-style": "l5",
|
|
559
|
+
weight: "medium"
|
|
560
|
+
}, {
|
|
561
|
+
default: withCtx(() => [
|
|
562
|
+
createTextVNode(toDisplayString(unref(t)("chargeback.sitesLabel")), 1)
|
|
563
|
+
]),
|
|
564
|
+
_: 1
|
|
565
|
+
}, 8, ["class"]),
|
|
566
|
+
__props.companies.length >= 1 && !__props.isLoading ? (openBlock(), createBlock(unref(script), {
|
|
567
|
+
key: 0,
|
|
568
|
+
modelValue: companyFilterDataLocal.value.company,
|
|
569
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => companyFilterDataLocal.value.company = $event),
|
|
570
|
+
"data-test": "company-filter",
|
|
571
|
+
class: "mr-2",
|
|
572
|
+
options: __props.companies,
|
|
573
|
+
"option-label": "title",
|
|
574
|
+
"option-value": "value",
|
|
575
|
+
placeholder: unref(t)("chargeback.sites"),
|
|
576
|
+
onChange: _cache[1] || (_cache[1] = ($event) => search())
|
|
577
|
+
}, null, 8, ["modelValue", "options", "placeholder"])) : createCommentVNode("", true),
|
|
578
|
+
__props.isLoading ? (openBlock(), createBlock(AmSkeleton, {
|
|
579
|
+
key: 1,
|
|
580
|
+
"is-loading": __props.isLoading
|
|
581
|
+
}, {
|
|
582
|
+
default: withCtx(() => [
|
|
583
|
+
createVNode(unref(script), {
|
|
584
|
+
modelValue: companyFilterDataLocal.value.company,
|
|
585
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => companyFilterDataLocal.value.company = $event),
|
|
586
|
+
"data-test": "company-filter",
|
|
587
|
+
class: "mr-2",
|
|
588
|
+
options: __props.companies,
|
|
589
|
+
"option-label": "title",
|
|
590
|
+
"option-value": "value",
|
|
591
|
+
placeholder: unref(t)("chargeback.sites"),
|
|
592
|
+
onChange: _cache[3] || (_cache[3] = ($event) => search())
|
|
593
|
+
}, null, 8, ["modelValue", "options", "placeholder"])
|
|
594
|
+
]),
|
|
595
|
+
_: 1
|
|
596
|
+
}, 8, ["is-loading"])) : createCommentVNode("", true)
|
|
597
|
+
], 2),
|
|
598
|
+
createBaseVNode("div", _hoisted_2$2, [
|
|
599
|
+
__props.yearsFilter.length >= 1 && !__props.isLoading ? (openBlock(), createBlock(AmPopover, {
|
|
600
|
+
key: 0,
|
|
601
|
+
"is-filter-open": isFilterOpen.value,
|
|
602
|
+
fullscreen: isMobileSize.value,
|
|
603
|
+
class: "mr-2",
|
|
604
|
+
onUpdatedValue: _cache[4] || (_cache[4] = ($event) => changePopoverStatus())
|
|
605
|
+
}, {
|
|
606
|
+
activator: withCtx(() => [
|
|
607
|
+
createVNode(unref($), {
|
|
608
|
+
outlined: "",
|
|
609
|
+
"data-test": "month-filter",
|
|
610
|
+
class: "black-outlined-button",
|
|
611
|
+
variant: "material",
|
|
612
|
+
label: unref(t)("chargeback.filterMonthLabel"),
|
|
613
|
+
icon: "filter_list",
|
|
614
|
+
size: "small"
|
|
615
|
+
}, null, 8, ["label"])
|
|
616
|
+
]),
|
|
617
|
+
body: withCtx(() => [
|
|
618
|
+
(openBlock(), createElementBlock("div", { key: updtComponent.value }, [
|
|
619
|
+
createBaseVNode("div", _hoisted_3$2, [
|
|
620
|
+
createBaseVNode("ul", _hoisted_4$2, [
|
|
621
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.yearsFilter, (option) => {
|
|
622
|
+
return openBlock(), createElementBlock("li", { key: option }, [
|
|
623
|
+
createBaseVNode("a", {
|
|
624
|
+
"data-test": "year-filter",
|
|
625
|
+
class: normalizeClass({
|
|
626
|
+
active: option.value === companyFilterDataLocal.value.year
|
|
627
|
+
}),
|
|
628
|
+
onClick: ($event) => handleYearSearch(option.value, $event)
|
|
629
|
+
}, toDisplayString(option.value), 11, _hoisted_5$1)
|
|
630
|
+
]);
|
|
631
|
+
}), 128))
|
|
632
|
+
])
|
|
633
|
+
])
|
|
634
|
+
]))
|
|
635
|
+
]),
|
|
636
|
+
_: 1
|
|
637
|
+
}, 8, ["is-filter-open", "fullscreen"])) : props.isAnalytics ? (openBlock(), createBlock(AmSkeleton, {
|
|
638
|
+
key: 1,
|
|
639
|
+
class: "mr-2",
|
|
640
|
+
"is-loading": __props.isLoading
|
|
641
|
+
}, {
|
|
642
|
+
default: withCtx(() => [
|
|
643
|
+
createVNode(unref($), {
|
|
644
|
+
outlined: "",
|
|
645
|
+
"data-test": "export-button",
|
|
646
|
+
variant: "svg",
|
|
647
|
+
class: "black-outlined-button export-button",
|
|
648
|
+
label: unref(t)("chargeback.export"),
|
|
649
|
+
size: "small",
|
|
650
|
+
icon: "csv",
|
|
651
|
+
onClick: _cache[5] || (_cache[5] = ($event) => emit("export"))
|
|
652
|
+
}, null, 8, ["label"])
|
|
653
|
+
]),
|
|
654
|
+
_: 1
|
|
655
|
+
}, 8, ["is-loading"])) : createCommentVNode("", true),
|
|
656
|
+
!isMobileSize.value ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
657
|
+
createVNode(unref($), {
|
|
658
|
+
outlined: "",
|
|
659
|
+
"data-test": "export-button",
|
|
660
|
+
variant: "svg",
|
|
661
|
+
class: "black-outlined-button export-button",
|
|
662
|
+
label: unref(t)("chargeback.export"),
|
|
663
|
+
size: "small",
|
|
664
|
+
icon: "csv",
|
|
665
|
+
onClick: _cache[6] || (_cache[6] = ($event) => emit("export"))
|
|
666
|
+
}, null, 8, ["label"])
|
|
667
|
+
])) : createCommentVNode("", true)
|
|
668
|
+
])
|
|
669
|
+
], 512),
|
|
670
|
+
props.isAnalytics ? (openBlock(), createBlock(unref(y), {
|
|
671
|
+
key: 0,
|
|
672
|
+
class: "my-3 mt-7",
|
|
673
|
+
"font-type": "roboto",
|
|
674
|
+
"typography-style": "l6",
|
|
675
|
+
"text-color": "default-60",
|
|
676
|
+
weight: "regular"
|
|
677
|
+
}, {
|
|
678
|
+
default: withCtx(() => [
|
|
679
|
+
createTextVNode(toDisplayString(unref(t)("chargeback.analyticsSubtitle")), 1)
|
|
680
|
+
]),
|
|
681
|
+
_: 1
|
|
682
|
+
})) : createCommentVNode("", true),
|
|
683
|
+
isMobileSize.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
684
|
+
createBaseVNode("div", _hoisted_8, [
|
|
685
|
+
createVNode(unref(y), {
|
|
686
|
+
"font-type": "roboto",
|
|
687
|
+
"typography-style": "l6",
|
|
688
|
+
"text-color": "dark-80",
|
|
689
|
+
weight: "normal"
|
|
690
|
+
}, {
|
|
691
|
+
default: withCtx(() => [
|
|
692
|
+
createTextVNode(toDisplayString(unref(t)("chargeback.detailSubtitle", { period: __props.periodLabel })), 1)
|
|
693
|
+
]),
|
|
694
|
+
_: 1
|
|
695
|
+
})
|
|
696
|
+
]),
|
|
697
|
+
createVNode(unref($), {
|
|
698
|
+
outlined: "",
|
|
699
|
+
"data-test": "export-button",
|
|
700
|
+
variant: "svg",
|
|
701
|
+
class: "black-outlined-button w-100 export-button",
|
|
702
|
+
label: unref(t)("chargeback.export"),
|
|
703
|
+
size: "small",
|
|
704
|
+
icon: "csv",
|
|
705
|
+
onClick: _cache[7] || (_cache[7] = ($event) => emit("export"))
|
|
706
|
+
}, null, 8, ["label"])
|
|
707
|
+
])) : createCommentVNode("", true)
|
|
708
|
+
], 64);
|
|
709
|
+
};
|
|
710
|
+
}
|
|
711
|
+
};
|
|
712
|
+
const ChargebackCompanyFilter = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d4544d5b"]]);
|
|
713
|
+
const CommonProps = {
|
|
714
|
+
data: {
|
|
715
|
+
type: Object,
|
|
716
|
+
required: true
|
|
717
|
+
},
|
|
718
|
+
options: {
|
|
719
|
+
type: Object,
|
|
720
|
+
default: () => ({})
|
|
721
|
+
},
|
|
722
|
+
plugins: {
|
|
723
|
+
type: Array,
|
|
724
|
+
default: () => []
|
|
725
|
+
},
|
|
726
|
+
datasetIdKey: {
|
|
727
|
+
type: String,
|
|
728
|
+
default: "label"
|
|
729
|
+
},
|
|
730
|
+
updateMode: {
|
|
731
|
+
type: String,
|
|
732
|
+
default: void 0
|
|
733
|
+
}
|
|
734
|
+
};
|
|
735
|
+
const Props = {
|
|
736
|
+
type: {
|
|
737
|
+
type: String,
|
|
738
|
+
required: true
|
|
739
|
+
},
|
|
740
|
+
...CommonProps
|
|
741
|
+
};
|
|
742
|
+
function toRawIfProxy(obj) {
|
|
743
|
+
return isProxy(obj) ? toRaw(obj) : obj;
|
|
744
|
+
}
|
|
745
|
+
function cloneProxy(obj) {
|
|
746
|
+
let src = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : obj;
|
|
747
|
+
return isProxy(src) ? new Proxy(obj, {}) : obj;
|
|
748
|
+
}
|
|
749
|
+
function setOptions(chart, nextOptions) {
|
|
750
|
+
const options = chart.options;
|
|
751
|
+
if (options && nextOptions) {
|
|
752
|
+
Object.assign(options, nextOptions);
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
function setLabels(currentData, nextLabels) {
|
|
756
|
+
currentData.labels = nextLabels;
|
|
757
|
+
}
|
|
758
|
+
function setDatasets(currentData, nextDatasets, datasetIdKey) {
|
|
759
|
+
const addedDatasets = [];
|
|
760
|
+
currentData.datasets = nextDatasets.map((nextDataset) => {
|
|
761
|
+
const currentDataset = currentData.datasets.find((dataset) => dataset[datasetIdKey] === nextDataset[datasetIdKey]);
|
|
762
|
+
if (!currentDataset || !nextDataset.data || addedDatasets.includes(currentDataset)) {
|
|
763
|
+
return {
|
|
764
|
+
...nextDataset
|
|
765
|
+
};
|
|
766
|
+
}
|
|
767
|
+
addedDatasets.push(currentDataset);
|
|
768
|
+
Object.assign(currentDataset, nextDataset);
|
|
769
|
+
return currentDataset;
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
function cloneData(data, datasetIdKey) {
|
|
773
|
+
const nextData = {
|
|
774
|
+
labels: [],
|
|
775
|
+
datasets: []
|
|
776
|
+
};
|
|
777
|
+
setLabels(nextData, data.labels);
|
|
778
|
+
setDatasets(nextData, data.datasets, datasetIdKey);
|
|
779
|
+
return nextData;
|
|
780
|
+
}
|
|
781
|
+
const Chart = defineComponent({
|
|
782
|
+
props: Props,
|
|
783
|
+
setup(props, param) {
|
|
784
|
+
let { expose } = param;
|
|
785
|
+
const canvasRef = ref(null);
|
|
786
|
+
const chartRef = shallowRef(null);
|
|
787
|
+
expose({
|
|
788
|
+
chart: chartRef
|
|
789
|
+
});
|
|
790
|
+
const renderChart = () => {
|
|
791
|
+
if (!canvasRef.value) return;
|
|
792
|
+
const { type, data, options, plugins, datasetIdKey } = props;
|
|
793
|
+
const clonedData = cloneData(data, datasetIdKey);
|
|
794
|
+
const proxiedData = cloneProxy(clonedData, data);
|
|
795
|
+
chartRef.value = new Chart$1(canvasRef.value, {
|
|
796
|
+
type,
|
|
797
|
+
data: proxiedData,
|
|
798
|
+
options: {
|
|
799
|
+
...options
|
|
800
|
+
},
|
|
801
|
+
plugins
|
|
802
|
+
});
|
|
803
|
+
};
|
|
804
|
+
const destroyChart = () => {
|
|
805
|
+
const chart = toRaw(chartRef.value);
|
|
806
|
+
if (chart) {
|
|
807
|
+
chart.destroy();
|
|
808
|
+
chartRef.value = null;
|
|
809
|
+
}
|
|
810
|
+
};
|
|
811
|
+
const update = (chart) => {
|
|
812
|
+
chart.update(props.updateMode);
|
|
813
|
+
};
|
|
814
|
+
onMounted(renderChart);
|
|
815
|
+
onBeforeUnmount(destroyChart);
|
|
816
|
+
watch([
|
|
817
|
+
() => props.options,
|
|
818
|
+
() => props.data
|
|
819
|
+
], (param2, param1) => {
|
|
820
|
+
let [nextOptionsProxy, nextDataProxy] = param2, [prevOptionsProxy, prevDataProxy] = param1;
|
|
821
|
+
const chart = toRaw(chartRef.value);
|
|
822
|
+
if (!chart) {
|
|
823
|
+
return;
|
|
824
|
+
}
|
|
825
|
+
let shouldUpdate = false;
|
|
826
|
+
if (nextOptionsProxy) {
|
|
827
|
+
const nextOptions = toRawIfProxy(nextOptionsProxy);
|
|
828
|
+
const prevOptions = toRawIfProxy(prevOptionsProxy);
|
|
829
|
+
if (nextOptions && nextOptions !== prevOptions) {
|
|
830
|
+
setOptions(chart, nextOptions);
|
|
831
|
+
shouldUpdate = true;
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
if (nextDataProxy) {
|
|
835
|
+
const nextLabels = toRawIfProxy(nextDataProxy.labels);
|
|
836
|
+
const prevLabels = toRawIfProxy(prevDataProxy.labels);
|
|
837
|
+
const nextDatasets = toRawIfProxy(nextDataProxy.datasets);
|
|
838
|
+
const prevDatasets = toRawIfProxy(prevDataProxy.datasets);
|
|
839
|
+
if (nextLabels !== prevLabels) {
|
|
840
|
+
setLabels(chart.config.data, nextLabels);
|
|
841
|
+
shouldUpdate = true;
|
|
842
|
+
}
|
|
843
|
+
if (nextDatasets && nextDatasets !== prevDatasets) {
|
|
844
|
+
setDatasets(chart.config.data, nextDatasets, props.datasetIdKey);
|
|
845
|
+
shouldUpdate = true;
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
if (shouldUpdate) {
|
|
849
|
+
update(chart);
|
|
850
|
+
}
|
|
851
|
+
}, {
|
|
852
|
+
deep: true
|
|
853
|
+
});
|
|
854
|
+
return () => {
|
|
855
|
+
return h("canvas", {
|
|
856
|
+
ref: canvasRef
|
|
857
|
+
});
|
|
858
|
+
};
|
|
859
|
+
}
|
|
860
|
+
});
|
|
861
|
+
function createTypedChart(type, registerables) {
|
|
862
|
+
Chart$1.register(registerables);
|
|
863
|
+
return defineComponent({
|
|
864
|
+
props: CommonProps,
|
|
865
|
+
setup(props, param) {
|
|
866
|
+
let { expose } = param;
|
|
867
|
+
const ref2 = shallowRef(null);
|
|
868
|
+
const reforwardRef = (chartRef) => {
|
|
869
|
+
ref2.value = chartRef == null ? void 0 : chartRef.chart;
|
|
870
|
+
};
|
|
871
|
+
expose({
|
|
872
|
+
chart: ref2
|
|
873
|
+
});
|
|
874
|
+
return () => {
|
|
875
|
+
return h(Chart, {
|
|
876
|
+
ref: reforwardRef,
|
|
877
|
+
type,
|
|
878
|
+
...props
|
|
879
|
+
});
|
|
880
|
+
};
|
|
881
|
+
}
|
|
882
|
+
});
|
|
883
|
+
}
|
|
884
|
+
const Bar = /* @__PURE__ */ createTypedChart("bar", BarController);
|
|
885
|
+
Chart$1.register(
|
|
886
|
+
LineController,
|
|
887
|
+
CategoryScale,
|
|
888
|
+
LinearScale,
|
|
889
|
+
LineElement,
|
|
890
|
+
BarElement,
|
|
891
|
+
PointElement,
|
|
892
|
+
plugin_title,
|
|
893
|
+
plugin_tooltip,
|
|
894
|
+
plugin_legend
|
|
895
|
+
);
|
|
896
|
+
const monthNames = [
|
|
897
|
+
"Janeiro",
|
|
898
|
+
"Fevereiro",
|
|
899
|
+
"Março",
|
|
900
|
+
"Abril",
|
|
901
|
+
"Maio",
|
|
902
|
+
"Junho",
|
|
903
|
+
"Julho",
|
|
904
|
+
"Agosto",
|
|
905
|
+
"Setembro",
|
|
906
|
+
"Outubro",
|
|
907
|
+
"Novembro",
|
|
908
|
+
"Dezembro"
|
|
909
|
+
];
|
|
910
|
+
const months = {
|
|
911
|
+
"01": "JAN",
|
|
912
|
+
"02": "FEV",
|
|
913
|
+
"03": "MAR",
|
|
914
|
+
"04": "ABR",
|
|
915
|
+
"05": "MAI",
|
|
916
|
+
"06": "JUN",
|
|
917
|
+
"07": "JUL",
|
|
918
|
+
"08": "AGO",
|
|
919
|
+
"09": "SET",
|
|
920
|
+
10: "OUT",
|
|
921
|
+
11: "NOV",
|
|
922
|
+
12: "DEZ"
|
|
923
|
+
};
|
|
924
|
+
const _sfc_main$3 = {
|
|
925
|
+
name: "ChargebackChart",
|
|
926
|
+
components: {
|
|
927
|
+
Bar,
|
|
928
|
+
AmText: y,
|
|
929
|
+
AmCard: C
|
|
930
|
+
},
|
|
931
|
+
props: {
|
|
932
|
+
companyFilterData: { type: Object, required: true },
|
|
933
|
+
chartData: { type: Array, required: true, default: () => [] }
|
|
934
|
+
},
|
|
935
|
+
data() {
|
|
936
|
+
return {
|
|
937
|
+
options: {
|
|
938
|
+
responsive: true,
|
|
939
|
+
maintainAspectRatio: false,
|
|
940
|
+
plugins: {
|
|
941
|
+
legend: {
|
|
942
|
+
display: false,
|
|
943
|
+
position: "top"
|
|
944
|
+
},
|
|
945
|
+
title: {
|
|
946
|
+
display: false
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
};
|
|
951
|
+
},
|
|
952
|
+
computed: {
|
|
953
|
+
getCurrentYearFilter() {
|
|
954
|
+
if (this.companyFilterData.year) {
|
|
955
|
+
return this.companyFilterData.year;
|
|
956
|
+
} else if (Object.keys(this.getQueryParams(window.location.href)).length > 0) {
|
|
957
|
+
return this.getQueryParams(window.location.href).year;
|
|
958
|
+
} else if (this.chartData.length) {
|
|
959
|
+
return this.chartData[this.chartData.length - 1].year;
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
getChartLabel() {
|
|
963
|
+
if (this.getCurrentYearFilter && this.getUpdatedLabels) {
|
|
964
|
+
return `${this.getUpdatedLabels} ${this.$t("chargeback.of")} ${this.getCurrentYearFilter}`;
|
|
965
|
+
} else {
|
|
966
|
+
return this.$t("chargeback.withoutComparative");
|
|
967
|
+
}
|
|
968
|
+
},
|
|
969
|
+
orderAndChargebackData() {
|
|
970
|
+
let labels = [];
|
|
971
|
+
let orderData = [];
|
|
972
|
+
let chargebackData = [];
|
|
973
|
+
this.chartData.forEach((item) => {
|
|
974
|
+
labels.push(months[item.month]);
|
|
975
|
+
orderData.push(item.qtd_aprovado);
|
|
976
|
+
chargebackData.push(item.qtd_chargeback);
|
|
977
|
+
});
|
|
978
|
+
return { labels, orderData, chargebackData };
|
|
979
|
+
},
|
|
980
|
+
data() {
|
|
981
|
+
return {
|
|
982
|
+
labels: this.orderAndChargebackData.labels,
|
|
983
|
+
datasets: [
|
|
984
|
+
{
|
|
985
|
+
label: "Pedidos aprovados",
|
|
986
|
+
backgroundColor: "#C3A6FC",
|
|
987
|
+
data: this.orderAndChargebackData.orderData,
|
|
988
|
+
order: 1
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
label: "Chargeback",
|
|
992
|
+
backgroundColor: "#7B54C7",
|
|
993
|
+
borderColor: "#7B54C7",
|
|
994
|
+
data: this.orderAndChargebackData.chargebackData,
|
|
995
|
+
type: "line",
|
|
996
|
+
order: 0
|
|
997
|
+
}
|
|
998
|
+
]
|
|
999
|
+
};
|
|
1000
|
+
},
|
|
1001
|
+
getUpdatedLabels() {
|
|
1002
|
+
if (this.chartData.length > 0) {
|
|
1003
|
+
return `${monthNames[this.chartData[0].month - 1]} - ${monthNames[this.chartData[this.chartData.length - 1].month - 1]}`;
|
|
1004
|
+
}
|
|
1005
|
+
return null;
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
methods: {
|
|
1009
|
+
getQueryParams(qs) {
|
|
1010
|
+
if (!qs.includes("?")) return {};
|
|
1011
|
+
qs = qs.split("?")[1] || qs;
|
|
1012
|
+
return qs.split("&").reduce((params, param) => {
|
|
1013
|
+
let [key, value] = param.split("=");
|
|
1014
|
+
params[decodeURIComponent(key)] = decodeURIComponent(
|
|
1015
|
+
value.replace(/\+/g, " ")
|
|
1016
|
+
);
|
|
1017
|
+
return params;
|
|
1018
|
+
}, {});
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
const _hoisted_1$2 = { class: "chart-container" };
|
|
1023
|
+
const _hoisted_2$1 = { class: "flex flex-col gap-3" };
|
|
1024
|
+
const _hoisted_3$1 = { class: "flex items-center" };
|
|
1025
|
+
const _hoisted_4$1 = { class: "chart-size" };
|
|
1026
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1027
|
+
const _component_AmText = resolveComponent("AmText");
|
|
1028
|
+
const _component_Bar = resolveComponent("Bar");
|
|
1029
|
+
const _component_AmCard = resolveComponent("AmCard");
|
|
1030
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
1031
|
+
$props.companyFilterData ? (openBlock(), createBlock(_component_AmCard, {
|
|
1032
|
+
key: 0,
|
|
1033
|
+
class: "mb-3"
|
|
1034
|
+
}, {
|
|
1035
|
+
default: withCtx(() => [
|
|
1036
|
+
createBaseVNode("div", _hoisted_2$1, [
|
|
1037
|
+
createBaseVNode("div", _hoisted_3$1, [
|
|
1038
|
+
createVNode(_component_AmText, {
|
|
1039
|
+
"font-type": "roboto",
|
|
1040
|
+
variant: "title",
|
|
1041
|
+
size: "small",
|
|
1042
|
+
"typography-style": "l4",
|
|
1043
|
+
"is-strong": "",
|
|
1044
|
+
class: "mr-1"
|
|
1045
|
+
}, {
|
|
1046
|
+
default: withCtx(() => [
|
|
1047
|
+
createTextVNode(toDisplayString(_ctx.$t("chargeback.compare")), 1)
|
|
1048
|
+
]),
|
|
1049
|
+
_: 1
|
|
1050
|
+
}),
|
|
1051
|
+
createVNode(_component_AmText, {
|
|
1052
|
+
variant: "subtitle",
|
|
1053
|
+
"data-test": "period-label",
|
|
1054
|
+
"font-type": "roboto",
|
|
1055
|
+
"typography-style": "l5",
|
|
1056
|
+
weight: "regular"
|
|
1057
|
+
}, {
|
|
1058
|
+
default: withCtx(() => [
|
|
1059
|
+
createTextVNode(toDisplayString($options.getChartLabel), 1)
|
|
1060
|
+
]),
|
|
1061
|
+
_: 1
|
|
1062
|
+
})
|
|
1063
|
+
]),
|
|
1064
|
+
createVNode(_component_AmText, {
|
|
1065
|
+
"font-type": "roboto",
|
|
1066
|
+
"typography-style": "l6",
|
|
1067
|
+
"text-color": "text60",
|
|
1068
|
+
weight: "regular"
|
|
1069
|
+
}, {
|
|
1070
|
+
default: withCtx(() => [
|
|
1071
|
+
createTextVNode(toDisplayString(_ctx.$t("chargeback.chartSubtitle")), 1)
|
|
1072
|
+
]),
|
|
1073
|
+
_: 1
|
|
1074
|
+
}),
|
|
1075
|
+
createBaseVNode("div", _hoisted_4$1, [
|
|
1076
|
+
createVNode(_component_Bar, {
|
|
1077
|
+
"data-test": "chart",
|
|
1078
|
+
data: $options.data,
|
|
1079
|
+
options: $data.options
|
|
1080
|
+
}, null, 8, ["data", "options"])
|
|
1081
|
+
])
|
|
1082
|
+
])
|
|
1083
|
+
]),
|
|
1084
|
+
_: 1
|
|
1085
|
+
})) : createCommentVNode("", true)
|
|
1086
|
+
]);
|
|
1087
|
+
}
|
|
1088
|
+
const ChargebackChart = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render], ["__scopeId", "data-v-9802c115"]]);
|
|
1089
|
+
const _hoisted_1$1 = { class: "flex" };
|
|
1090
|
+
const _sfc_main$2 = {
|
|
1091
|
+
__name: "ChargebackIndex",
|
|
1092
|
+
props: {
|
|
1093
|
+
value: { type: String, required: true }
|
|
1094
|
+
},
|
|
1095
|
+
setup(__props) {
|
|
1096
|
+
return (_ctx, _cache) => {
|
|
1097
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
1098
|
+
createVNode(unref(y), {
|
|
1099
|
+
class: "mr-1",
|
|
1100
|
+
"font-type": "roboto",
|
|
1101
|
+
"text-color": "default-60",
|
|
1102
|
+
"typography-style": "l6",
|
|
1103
|
+
weight: "regular"
|
|
1104
|
+
}, {
|
|
1105
|
+
default: withCtx(() => [
|
|
1106
|
+
createTextVNode(toDisplayString(__props.value), 1)
|
|
1107
|
+
]),
|
|
1108
|
+
_: 1
|
|
1109
|
+
})
|
|
1110
|
+
]);
|
|
1111
|
+
};
|
|
1112
|
+
}
|
|
1113
|
+
};
|
|
1114
|
+
const ChargebackIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-a1f8d976"]]);
|
|
1115
|
+
const percentageRelative = (percent, total) => {
|
|
1116
|
+
if (total === 0) {
|
|
1117
|
+
return 0;
|
|
1118
|
+
}
|
|
1119
|
+
return (percent / total * 100).toFixed(2);
|
|
1120
|
+
};
|
|
1121
|
+
const formatPercentages = (value) => value ? `${value.toString().replace(".", ",")}%` : "";
|
|
1122
|
+
const _hoisted_1 = {
|
|
1123
|
+
key: 0,
|
|
1124
|
+
class: "chargeback-report-table"
|
|
1125
|
+
};
|
|
1126
|
+
const _hoisted_2 = { class: "flex flex-col" };
|
|
1127
|
+
const _hoisted_3 = ["onClick"];
|
|
1128
|
+
const _hoisted_4 = { class: "flex justify-between items-center" };
|
|
1129
|
+
const _hoisted_5 = {
|
|
1130
|
+
key: 0,
|
|
1131
|
+
class: "flex justify-between w-full"
|
|
1132
|
+
};
|
|
1133
|
+
const _hoisted_6 = { key: 0 };
|
|
1134
|
+
const _sfc_main$1 = {
|
|
1135
|
+
__name: "ChargebackAnalyticsTable",
|
|
1136
|
+
props: {
|
|
1137
|
+
year: { type: String, required: true, default: "" },
|
|
1138
|
+
data: { type: Array, required: true, default: () => [] },
|
|
1139
|
+
companies: { type: Array, required: true, default: () => [] },
|
|
1140
|
+
isLoadingTable: { type: Boolean, required: true, default: true }
|
|
1141
|
+
},
|
|
1142
|
+
setup(__props) {
|
|
1143
|
+
const isModalOpenLocal = ref(false);
|
|
1144
|
+
const isMobileSize = ref(false);
|
|
1145
|
+
const router = useRouter();
|
|
1146
|
+
const { t } = useI18n();
|
|
1147
|
+
onMounted(() => {
|
|
1148
|
+
isMobileSize.value = document.body.clientWidth <= 775;
|
|
1149
|
+
window.addEventListener(
|
|
1150
|
+
"resize",
|
|
1151
|
+
() => {
|
|
1152
|
+
isMobileSize.value = document.body.clientWidth <= 775;
|
|
1153
|
+
},
|
|
1154
|
+
true
|
|
1155
|
+
);
|
|
1156
|
+
});
|
|
1157
|
+
const props = __props;
|
|
1158
|
+
const listData = [
|
|
1159
|
+
"qtd_aprovado",
|
|
1160
|
+
"valor_aprovado",
|
|
1161
|
+
"qtd_chargeback",
|
|
1162
|
+
"valor_chargeback",
|
|
1163
|
+
"index"
|
|
1164
|
+
];
|
|
1165
|
+
const allSlotHeaders = [
|
|
1166
|
+
t("chargeback.month"),
|
|
1167
|
+
t("chargeback.approvedRate"),
|
|
1168
|
+
t("chargeback.approvedValue"),
|
|
1169
|
+
t("chargeback.chargebackRate"),
|
|
1170
|
+
t("chargeback.chargebackValue"),
|
|
1171
|
+
t("chargeback.index")
|
|
1172
|
+
];
|
|
1173
|
+
const monthNames2 = [
|
|
1174
|
+
"Janeiro",
|
|
1175
|
+
"Fevereiro",
|
|
1176
|
+
"Março",
|
|
1177
|
+
"Abril",
|
|
1178
|
+
"Maio",
|
|
1179
|
+
"Junho",
|
|
1180
|
+
"Julho",
|
|
1181
|
+
"Agosto",
|
|
1182
|
+
"Setembro",
|
|
1183
|
+
"Outubro",
|
|
1184
|
+
"Novembro",
|
|
1185
|
+
"Dezembro"
|
|
1186
|
+
];
|
|
1187
|
+
const getQueryParams = (qs) => {
|
|
1188
|
+
if (!qs.includes("?")) return {};
|
|
1189
|
+
return qs.split("?")[1] || qs;
|
|
1190
|
+
};
|
|
1191
|
+
const mountParamsObj = () => {
|
|
1192
|
+
const queryString = getQueryParams(window.location.href);
|
|
1193
|
+
if (!queryString) return {};
|
|
1194
|
+
const params = new URLSearchParams(queryString);
|
|
1195
|
+
let obj = {};
|
|
1196
|
+
for (let [key, value] of params.entries()) {
|
|
1197
|
+
if (obj[key]) {
|
|
1198
|
+
if (Array.isArray(obj[key])) {
|
|
1199
|
+
obj[key].push(value);
|
|
1200
|
+
} else {
|
|
1201
|
+
obj[key] = [obj[key], value];
|
|
1202
|
+
}
|
|
1203
|
+
} else {
|
|
1204
|
+
obj[key] = value;
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
return obj;
|
|
1208
|
+
};
|
|
1209
|
+
const removeQueryParams = (url, param) => {
|
|
1210
|
+
const urlObj = new URL(url);
|
|
1211
|
+
const params = urlObj.searchParams;
|
|
1212
|
+
params.delete(param);
|
|
1213
|
+
return urlObj.toString();
|
|
1214
|
+
};
|
|
1215
|
+
const redirectToDetailed = (row) => {
|
|
1216
|
+
if (row.qtd_chargeback === 0) {
|
|
1217
|
+
if (!isModalOpenLocal.value) {
|
|
1218
|
+
isModalOpenLocal.value = !isModalOpenLocal.value;
|
|
1219
|
+
} else {
|
|
1220
|
+
isModalOpenLocal.value = !isModalOpenLocal.value;
|
|
1221
|
+
setTimeout(() => {
|
|
1222
|
+
isModalOpenLocal.value = !isModalOpenLocal.value;
|
|
1223
|
+
}, 100);
|
|
1224
|
+
}
|
|
1225
|
+
} else {
|
|
1226
|
+
const removeCps = removeQueryParams(window.location.href, "cps");
|
|
1227
|
+
const removeYear = removeQueryParams(removeCps, "year");
|
|
1228
|
+
const updatedUrl = removeQueryParams(removeYear, "month");
|
|
1229
|
+
let params = `?cps=${row.company_id}&${getQueryParams(updatedUrl)}&month=${row.month}&year=${props.year}`;
|
|
1230
|
+
if (mountParamsObj().company === "all" || !row.company_id) {
|
|
1231
|
+
const companies_id = JSON.parse(row.companys_id);
|
|
1232
|
+
const companyParams = new URLSearchParams();
|
|
1233
|
+
companies_id.forEach((item) => companyParams.append("cps", item));
|
|
1234
|
+
params = `?${getQueryParams(
|
|
1235
|
+
updatedUrl
|
|
1236
|
+
)}&${companyParams.toString()}&month=${row.month}&year=${props.year}`;
|
|
1237
|
+
}
|
|
1238
|
+
router.push(`/v2/client/integration/chargeback${params}`);
|
|
1239
|
+
}
|
|
1240
|
+
};
|
|
1241
|
+
return (_ctx, _cache) => {
|
|
1242
|
+
return __props.data.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
1243
|
+
!isMobileSize.value && __props.data.length ? (openBlock(), createBlock(unref(script$2), {
|
|
1244
|
+
key: __props.data.length,
|
|
1245
|
+
"data-test": "chargeback-table",
|
|
1246
|
+
value: __props.data,
|
|
1247
|
+
class: "w-full"
|
|
1248
|
+
}, {
|
|
1249
|
+
default: withCtx(() => [
|
|
1250
|
+
createVNode(unref(script$1), {
|
|
1251
|
+
field: "month",
|
|
1252
|
+
header: unref(t)("chargeback.month")
|
|
1253
|
+
}, {
|
|
1254
|
+
body: withCtx((slotProps) => [
|
|
1255
|
+
createVNode(unref(y), {
|
|
1256
|
+
"text-color": "default-60",
|
|
1257
|
+
onClick: ($event) => redirectToDetailed(slotProps.data)
|
|
1258
|
+
}, {
|
|
1259
|
+
default: withCtx(() => [
|
|
1260
|
+
createTextVNode(toDisplayString(`${monthNames2[slotProps.data.month - 1]} ${slotProps.data.year}`), 1)
|
|
1261
|
+
]),
|
|
1262
|
+
_: 2
|
|
1263
|
+
}, 1032, ["onClick"])
|
|
1264
|
+
]),
|
|
1265
|
+
_: 1
|
|
1266
|
+
}, 8, ["header"]),
|
|
1267
|
+
createVNode(unref(script$1), {
|
|
1268
|
+
field: "qtd_aprovado",
|
|
1269
|
+
header: unref(t)("chargeback.approvedRate")
|
|
1270
|
+
}, {
|
|
1271
|
+
body: withCtx((slotProps) => [
|
|
1272
|
+
createVNode(unref(y), {
|
|
1273
|
+
"typography-style": "l6",
|
|
1274
|
+
"text-color": "default-60",
|
|
1275
|
+
onClick: ($event) => redirectToDetailed(slotProps.data)
|
|
1276
|
+
}, {
|
|
1277
|
+
default: withCtx(() => [
|
|
1278
|
+
createTextVNode(toDisplayString(slotProps.data.qtd_aprovado), 1)
|
|
1279
|
+
]),
|
|
1280
|
+
_: 2
|
|
1281
|
+
}, 1032, ["onClick"])
|
|
1282
|
+
]),
|
|
1283
|
+
_: 1
|
|
1284
|
+
}, 8, ["header"]),
|
|
1285
|
+
createVNode(unref(script$1), {
|
|
1286
|
+
field: "valor_aprovado",
|
|
1287
|
+
header: unref(t)("chargeback.approvedValue")
|
|
1288
|
+
}, {
|
|
1289
|
+
body: withCtx((slotProps) => [
|
|
1290
|
+
createVNode(unref(y), {
|
|
1291
|
+
variant: "body",
|
|
1292
|
+
size: "medium",
|
|
1293
|
+
onClick: ($event) => redirectToDetailed(slotProps.data)
|
|
1294
|
+
}, {
|
|
1295
|
+
default: withCtx(() => [
|
|
1296
|
+
createTextVNode(toDisplayString(unref(formatMoneyChargeback)(slotProps.data.valor_aprovado)), 1)
|
|
1297
|
+
]),
|
|
1298
|
+
_: 2
|
|
1299
|
+
}, 1032, ["onClick"])
|
|
1300
|
+
]),
|
|
1301
|
+
_: 1
|
|
1302
|
+
}, 8, ["header"]),
|
|
1303
|
+
createVNode(unref(script$1), {
|
|
1304
|
+
field: "qtd_chargeback",
|
|
1305
|
+
header: unref(t)("chargeback.chargebackRate")
|
|
1306
|
+
}, {
|
|
1307
|
+
body: withCtx((slotProps) => [
|
|
1308
|
+
createVNode(unref(y), {
|
|
1309
|
+
"typography-style": "l6",
|
|
1310
|
+
"text-color": "default-60",
|
|
1311
|
+
onClick: ($event) => redirectToDetailed(slotProps.data)
|
|
1312
|
+
}, {
|
|
1313
|
+
default: withCtx(() => [
|
|
1314
|
+
createTextVNode(toDisplayString(slotProps.data.qtd_chargeback), 1)
|
|
1315
|
+
]),
|
|
1316
|
+
_: 2
|
|
1317
|
+
}, 1032, ["onClick"])
|
|
1318
|
+
]),
|
|
1319
|
+
_: 1
|
|
1320
|
+
}, 8, ["header"]),
|
|
1321
|
+
createVNode(unref(script$1), {
|
|
1322
|
+
field: "valor_chargeback",
|
|
1323
|
+
header: unref(t)("chargeback.chargebackValue")
|
|
1324
|
+
}, {
|
|
1325
|
+
body: withCtx((slotProps) => [
|
|
1326
|
+
createVNode(unref(y), {
|
|
1327
|
+
variant: "body",
|
|
1328
|
+
size: "medium",
|
|
1329
|
+
onClick: ($event) => redirectToDetailed(slotProps.data)
|
|
1330
|
+
}, {
|
|
1331
|
+
default: withCtx(() => [
|
|
1332
|
+
createTextVNode(toDisplayString(unref(formatMoneyChargeback)(slotProps.data.valor_chargeback)), 1)
|
|
1333
|
+
]),
|
|
1334
|
+
_: 2
|
|
1335
|
+
}, 1032, ["onClick"])
|
|
1336
|
+
]),
|
|
1337
|
+
_: 1
|
|
1338
|
+
}, 8, ["header"]),
|
|
1339
|
+
createVNode(unref(script$1), {
|
|
1340
|
+
field: "index",
|
|
1341
|
+
header: unref(t)("chargeback.index")
|
|
1342
|
+
}, {
|
|
1343
|
+
body: withCtx((slotProps) => [
|
|
1344
|
+
createVNode(ChargebackIndex, {
|
|
1345
|
+
value: unref(formatPercentages)(unref(percentageRelative)(slotProps.data.qtd_chargeback, slotProps.data.qtd_aprovado)),
|
|
1346
|
+
onClick: ($event) => redirectToDetailed(slotProps.data)
|
|
1347
|
+
}, null, 8, ["value", "onClick"])
|
|
1348
|
+
]),
|
|
1349
|
+
_: 1
|
|
1350
|
+
}, 8, ["header"])
|
|
1351
|
+
]),
|
|
1352
|
+
_: 1
|
|
1353
|
+
}, 8, ["value"])) : (openBlock(), createBlock(unref(script$3), {
|
|
1354
|
+
key: 1,
|
|
1355
|
+
value: __props.data,
|
|
1356
|
+
layout: "list"
|
|
1357
|
+
}, {
|
|
1358
|
+
list: withCtx((slotProps) => [
|
|
1359
|
+
createBaseVNode("div", _hoisted_2, [
|
|
1360
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(slotProps.items, (item, index) => {
|
|
1361
|
+
return openBlock(), createElementBlock("div", {
|
|
1362
|
+
key: index,
|
|
1363
|
+
onClick: ($event) => redirectToDetailed(item)
|
|
1364
|
+
}, [
|
|
1365
|
+
createBaseVNode("div", _hoisted_4, [
|
|
1366
|
+
createVNode(unref(y), {
|
|
1367
|
+
class: "my-2",
|
|
1368
|
+
variant: "title",
|
|
1369
|
+
size: "small",
|
|
1370
|
+
"is-strong": ""
|
|
1371
|
+
}, {
|
|
1372
|
+
default: withCtx(() => [
|
|
1373
|
+
createTextVNode(toDisplayString(`${monthNames2[item.month - 1].substring(0, 3)} ${item.year}`), 1)
|
|
1374
|
+
]),
|
|
1375
|
+
_: 2
|
|
1376
|
+
}, 1024),
|
|
1377
|
+
createVNode(unref(_), {
|
|
1378
|
+
name: "chevron_right",
|
|
1379
|
+
"material-type": "outlined",
|
|
1380
|
+
size: "lg",
|
|
1381
|
+
class: "cursor-pointer",
|
|
1382
|
+
color: "#7B54C7"
|
|
1383
|
+
})
|
|
1384
|
+
]),
|
|
1385
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(allSlotHeaders, (header, i) => {
|
|
1386
|
+
return createBaseVNode("div", {
|
|
1387
|
+
key: i,
|
|
1388
|
+
class: "flex"
|
|
1389
|
+
}, [
|
|
1390
|
+
i >= 1 ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
1391
|
+
createVNode(unref(y), {
|
|
1392
|
+
class: "my-2",
|
|
1393
|
+
"font-type": "roboto",
|
|
1394
|
+
"typography-style": "l5",
|
|
1395
|
+
"text-color": "default-80"
|
|
1396
|
+
}, {
|
|
1397
|
+
default: withCtx(() => [
|
|
1398
|
+
createTextVNode(toDisplayString(header), 1)
|
|
1399
|
+
]),
|
|
1400
|
+
_: 2
|
|
1401
|
+
}, 1024),
|
|
1402
|
+
i == allSlotHeaders.length - 1 ? (openBlock(), createBlock(unref(y), {
|
|
1403
|
+
key: 0,
|
|
1404
|
+
class: "my-2 mr-2",
|
|
1405
|
+
"font-type": "roboto",
|
|
1406
|
+
"typography-style": "l5",
|
|
1407
|
+
"text-color": "default-80"
|
|
1408
|
+
}, {
|
|
1409
|
+
default: withCtx(() => [
|
|
1410
|
+
createTextVNode(toDisplayString(unref(formatPercentages)(unref(percentageRelative)(item.qtd_chargeback, item.qtd_aprovado))), 1)
|
|
1411
|
+
]),
|
|
1412
|
+
_: 2
|
|
1413
|
+
}, 1024)) : (openBlock(), createBlock(unref(y), {
|
|
1414
|
+
key: 1,
|
|
1415
|
+
class: "my-2 mr-2",
|
|
1416
|
+
"font-type": "roboto",
|
|
1417
|
+
"typography-style": "l5",
|
|
1418
|
+
"text-color": "default-80"
|
|
1419
|
+
}, {
|
|
1420
|
+
default: withCtx(() => [
|
|
1421
|
+
createTextVNode(toDisplayString(listData[i - 1].includes("valor") ? unref(formatMoneyChargeback)(item[listData[i - 1]]) : item[listData[i - 1]]), 1)
|
|
1422
|
+
]),
|
|
1423
|
+
_: 2
|
|
1424
|
+
}, 1024))
|
|
1425
|
+
])) : createCommentVNode("", true)
|
|
1426
|
+
]);
|
|
1427
|
+
}), 64)),
|
|
1428
|
+
index !== slotProps.items.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_6)) : createCommentVNode("", true)
|
|
1429
|
+
], 8, _hoisted_3);
|
|
1430
|
+
}), 128))
|
|
1431
|
+
])
|
|
1432
|
+
]),
|
|
1433
|
+
_: 1
|
|
1434
|
+
}, 8, ["value"])),
|
|
1435
|
+
createVNode(unref(script$4), {
|
|
1436
|
+
header: unref(t)("chargeback.withoutChargeback"),
|
|
1437
|
+
visible: isModalOpenLocal.value,
|
|
1438
|
+
style: { width: "600px" },
|
|
1439
|
+
"onUpdate:visible": _ctx.closeModal
|
|
1440
|
+
}, {
|
|
1441
|
+
default: withCtx(() => [
|
|
1442
|
+
createVNode(unref(y), {
|
|
1443
|
+
class: "my-5",
|
|
1444
|
+
"font-type": "roboto",
|
|
1445
|
+
"typography-style": "l5",
|
|
1446
|
+
"text-color": "default-60",
|
|
1447
|
+
weight: "regular"
|
|
1448
|
+
}, {
|
|
1449
|
+
default: withCtx(() => [
|
|
1450
|
+
createTextVNode(toDisplayString(unref(t)("chargeback.withoutChargebackDescription")), 1)
|
|
1451
|
+
]),
|
|
1452
|
+
_: 1
|
|
1453
|
+
})
|
|
1454
|
+
]),
|
|
1455
|
+
_: 1
|
|
1456
|
+
}, 8, ["header", "visible", "onUpdate:visible"])
|
|
1457
|
+
])) : createCommentVNode("", true);
|
|
1458
|
+
};
|
|
1459
|
+
}
|
|
1460
|
+
};
|
|
1461
|
+
const ChargebackAnalyticsTable = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-04f9bf88"]]);
|
|
1462
|
+
const userLocal = 597;
|
|
1463
|
+
const companyLocal = 474;
|
|
1464
|
+
const _sfc_main = {
|
|
1465
|
+
__name: "ChargebackAnalytics",
|
|
1466
|
+
setup(__props) {
|
|
1467
|
+
const { t } = useI18n();
|
|
1468
|
+
const toast = useToast();
|
|
1469
|
+
const isQa = window.location.origin.includes("qa");
|
|
1470
|
+
const updateTableComponent = ref(0);
|
|
1471
|
+
const yearsFilter = ref([]);
|
|
1472
|
+
const companies = ref([]);
|
|
1473
|
+
const allTableData = ref([]);
|
|
1474
|
+
const tableData = ref([]);
|
|
1475
|
+
const isLoadingTable = ref(true);
|
|
1476
|
+
const isLoadingCompany = ref(true);
|
|
1477
|
+
const companyFilterData = ref({
|
|
1478
|
+
company: "",
|
|
1479
|
+
year: ""
|
|
1480
|
+
});
|
|
1481
|
+
const allSlotHeaders = [
|
|
1482
|
+
t("chargeback.month"),
|
|
1483
|
+
t("chargeback.approvedRate"),
|
|
1484
|
+
t("chargeback.approvedValue"),
|
|
1485
|
+
t("chargeback.chargebackRate"),
|
|
1486
|
+
t("chargeback.chargebackValue"),
|
|
1487
|
+
t("chargeback.index")
|
|
1488
|
+
];
|
|
1489
|
+
const getQueryParams = (qs) => {
|
|
1490
|
+
if (!qs.includes("?")) return {};
|
|
1491
|
+
qs = qs.split("?")[1] || qs;
|
|
1492
|
+
return qs.split("&").reduce((params, param) => {
|
|
1493
|
+
let [key, value] = param.split("=");
|
|
1494
|
+
params[decodeURIComponent(key)] = decodeURIComponent(
|
|
1495
|
+
value.replace(/\+/g, " ")
|
|
1496
|
+
);
|
|
1497
|
+
return params;
|
|
1498
|
+
}, {});
|
|
1499
|
+
};
|
|
1500
|
+
const exportcsv = () => {
|
|
1501
|
+
const monthNames2 = [
|
|
1502
|
+
"Janeiro",
|
|
1503
|
+
"Fevereiro",
|
|
1504
|
+
"Março",
|
|
1505
|
+
"Abril",
|
|
1506
|
+
"Maio",
|
|
1507
|
+
"Junho",
|
|
1508
|
+
"Julho",
|
|
1509
|
+
"Agosto",
|
|
1510
|
+
"Setembro",
|
|
1511
|
+
"Outubro",
|
|
1512
|
+
"Novembro",
|
|
1513
|
+
"Dezembro"
|
|
1514
|
+
];
|
|
1515
|
+
const filteredArrCsv = tableData.value.map((row) => {
|
|
1516
|
+
return [
|
|
1517
|
+
`${monthNames2[row.month - 1]} ${row.year}`,
|
|
1518
|
+
row.qtd_aprovado.toString(),
|
|
1519
|
+
formatMoneyChargeback(row.valor_aprovado).toString().replace(".", " ").replace(",", "."),
|
|
1520
|
+
row.qtd_chargeback.toString(),
|
|
1521
|
+
formatMoneyChargeback(row.valor_chargeback).toString().replace(".", " ").replace(",", "."),
|
|
1522
|
+
formatPercentages(
|
|
1523
|
+
percentageRelative(row.qtd_chargeback, row.qtd_aprovado)
|
|
1524
|
+
).toString().replace(".", " ").replace(",", ".")
|
|
1525
|
+
];
|
|
1526
|
+
});
|
|
1527
|
+
const rows = [allSlotHeaders, ...filteredArrCsv];
|
|
1528
|
+
let csvContent = "data:text/csv;charset=utf-8," + rows.map((e) => e.join(",")).join("\n");
|
|
1529
|
+
var encodedUri = encodeURI(csvContent);
|
|
1530
|
+
var link = document.createElement("a");
|
|
1531
|
+
link.setAttribute("href", encodedUri);
|
|
1532
|
+
link.setAttribute(
|
|
1533
|
+
"download",
|
|
1534
|
+
`${t("chargeback.chargebackReport")} (${getCurrentYearFilter()}).csv`
|
|
1535
|
+
);
|
|
1536
|
+
document.body.appendChild(link);
|
|
1537
|
+
link.click();
|
|
1538
|
+
};
|
|
1539
|
+
onMounted(() => {
|
|
1540
|
+
mountCompaniesTree();
|
|
1541
|
+
getConsolidateData();
|
|
1542
|
+
});
|
|
1543
|
+
const preSelectedFilter = computed(() => {
|
|
1544
|
+
if (getQueryParams(window.location.href) && yearsFilter.value.length > 0 && companies.value.length > 0) {
|
|
1545
|
+
return getQueryParams(window.location.href);
|
|
1546
|
+
} else {
|
|
1547
|
+
return null;
|
|
1548
|
+
}
|
|
1549
|
+
});
|
|
1550
|
+
const updateQueryParams = (newParams) => {
|
|
1551
|
+
if (!companyFilterData.value.company) {
|
|
1552
|
+
delete newParams.company;
|
|
1553
|
+
}
|
|
1554
|
+
const currentParams = new URLSearchParams(window.location.search);
|
|
1555
|
+
Object.keys(newParams).forEach((key) => {
|
|
1556
|
+
if (newParams[key] === null) {
|
|
1557
|
+
currentParams.delete(key);
|
|
1558
|
+
} else {
|
|
1559
|
+
currentParams.set(key, newParams[key]);
|
|
1560
|
+
}
|
|
1561
|
+
});
|
|
1562
|
+
const newUrl = `${window.location.pathname}?${currentParams.toString()}`;
|
|
1563
|
+
window.history.pushState({}, "", newUrl);
|
|
1564
|
+
window.dispatchEvent(new Event("pushstate"));
|
|
1565
|
+
};
|
|
1566
|
+
const updateCompanyData = (event) => {
|
|
1567
|
+
if (!isLoadingTable.value) {
|
|
1568
|
+
companyFilterData.value = event;
|
|
1569
|
+
getUpdatedData(tableData.value);
|
|
1570
|
+
updateQueryParams(companyFilterData.value);
|
|
1571
|
+
}
|
|
1572
|
+
updateTableComponent.value += 1;
|
|
1573
|
+
};
|
|
1574
|
+
const getCurrentYearFilter = () => {
|
|
1575
|
+
if (companyFilterData.value.year) {
|
|
1576
|
+
return companyFilterData.value.year;
|
|
1577
|
+
} else if (Object.keys(getQueryParams(window.location.href)).length > 0) {
|
|
1578
|
+
return getQueryParams(window.location.href).year;
|
|
1579
|
+
} else if (yearsFilter.value.length) {
|
|
1580
|
+
return yearsFilter.value[yearsFilter.value.length - 1].value;
|
|
1581
|
+
}
|
|
1582
|
+
};
|
|
1583
|
+
const filterArr = (arr, filters) => {
|
|
1584
|
+
if (filters.year) {
|
|
1585
|
+
arr = allTableData.value.filter((objeto) => objeto.year === filters.year);
|
|
1586
|
+
}
|
|
1587
|
+
if (filters.company_id) {
|
|
1588
|
+
arr = arr.filter((objeto) => objeto.companys_id.includes(filters.company_id));
|
|
1589
|
+
}
|
|
1590
|
+
tableData.value = arr;
|
|
1591
|
+
};
|
|
1592
|
+
const getUpdatedData = (data) => {
|
|
1593
|
+
setTimeout(() => {
|
|
1594
|
+
const params = {
|
|
1595
|
+
year: getCurrentYearFilter(),
|
|
1596
|
+
company_id: isQa ? companyLocal : companyFilterData.value.company
|
|
1597
|
+
};
|
|
1598
|
+
if (companyFilterData.value.company === "all" || !companyFilterData.value.company) {
|
|
1599
|
+
delete params.company_id;
|
|
1600
|
+
}
|
|
1601
|
+
let url = "";
|
|
1602
|
+
Object.keys(params).forEach((item, i) => {
|
|
1603
|
+
if (i > 0) {
|
|
1604
|
+
url = url.concat(`&${item}=${params[item]}`);
|
|
1605
|
+
} else {
|
|
1606
|
+
url = url.concat(`?${item}=${params[item]}`);
|
|
1607
|
+
}
|
|
1608
|
+
});
|
|
1609
|
+
if (params.year !== "") {
|
|
1610
|
+
filterArr(data, params);
|
|
1611
|
+
}
|
|
1612
|
+
}, 500);
|
|
1613
|
+
};
|
|
1614
|
+
const getConsolidateData = (filters = "") => {
|
|
1615
|
+
isLoadingTable.value = true;
|
|
1616
|
+
api.get(
|
|
1617
|
+
`/consolidado/${isQa ? userLocal : userService.data.user.id}${filters}`
|
|
1618
|
+
).then(({ data }) => {
|
|
1619
|
+
if (filters === "") {
|
|
1620
|
+
let filteredYearArr = [];
|
|
1621
|
+
data.forEach((consolidated) => {
|
|
1622
|
+
if (!filteredYearArr.includes(consolidated.year)) {
|
|
1623
|
+
filteredYearArr.push(consolidated.year);
|
|
1624
|
+
}
|
|
1625
|
+
});
|
|
1626
|
+
yearsFilter.value = filteredYearArr.map((year) => {
|
|
1627
|
+
return { title: year, value: year };
|
|
1628
|
+
});
|
|
1629
|
+
getUpdatedData(data);
|
|
1630
|
+
allTableData.value = data;
|
|
1631
|
+
} else {
|
|
1632
|
+
filterArr(data);
|
|
1633
|
+
}
|
|
1634
|
+
}).catch((err) => {
|
|
1635
|
+
tableData.value = [];
|
|
1636
|
+
companyFilterData.value.year = "";
|
|
1637
|
+
if (err.response.status === 500) {
|
|
1638
|
+
toast.error(t("chargeback.error"), t("chargeback.errorService"));
|
|
1639
|
+
}
|
|
1640
|
+
}).finally(() => {
|
|
1641
|
+
isLoadingTable.value = false;
|
|
1642
|
+
updateTableComponent.value += 1;
|
|
1643
|
+
});
|
|
1644
|
+
};
|
|
1645
|
+
const mountCompaniesTree = () => {
|
|
1646
|
+
isLoadingCompany.value = true;
|
|
1647
|
+
ApiService.get("/api/companies").then(({ data }) => {
|
|
1648
|
+
const filteredCompanies = isQa ? companiesData : data.filter((company) => company.name && company.id !== void 0).reduce((acc, current) => {
|
|
1649
|
+
if (!acc.some((company) => company.id === current.id)) {
|
|
1650
|
+
acc.push(current);
|
|
1651
|
+
}
|
|
1652
|
+
return acc;
|
|
1653
|
+
}, []);
|
|
1654
|
+
companies.value = [
|
|
1655
|
+
{ title: t("chargeback.companies"), value: "all" },
|
|
1656
|
+
...filteredCompanies.map((company) => ({
|
|
1657
|
+
title: company.name,
|
|
1658
|
+
value: company.id
|
|
1659
|
+
}))
|
|
1660
|
+
];
|
|
1661
|
+
}).catch(() => {
|
|
1662
|
+
toast.error(t("chargeback.error"), t("chargeback.errorService"));
|
|
1663
|
+
}).finally(() => {
|
|
1664
|
+
isLoadingCompany.value = false;
|
|
1665
|
+
});
|
|
1666
|
+
};
|
|
1667
|
+
return (_ctx, _cache) => {
|
|
1668
|
+
return openBlock(), createBlock(AmCardV3, null, {
|
|
1669
|
+
default: withCtx(() => [
|
|
1670
|
+
createVNode(ChargebackCompanyFilter, {
|
|
1671
|
+
"is-analytics": "",
|
|
1672
|
+
"years-filter": yearsFilter.value,
|
|
1673
|
+
companies: companies.value,
|
|
1674
|
+
"is-loading": isLoadingCompany.value || isLoadingTable.value,
|
|
1675
|
+
"company-filter-data": companyFilterData.value,
|
|
1676
|
+
"pre-selected-filter": preSelectedFilter.value,
|
|
1677
|
+
class: "mb-4",
|
|
1678
|
+
"onUpdate:companyFilterData": _cache[0] || (_cache[0] = ($event) => updateCompanyData($event)),
|
|
1679
|
+
onExport: _cache[1] || (_cache[1] = ($event) => exportcsv())
|
|
1680
|
+
}, null, 8, ["years-filter", "companies", "is-loading", "company-filter-data", "pre-selected-filter"]),
|
|
1681
|
+
createVNode(ChargebackChart, {
|
|
1682
|
+
class: "mb-3",
|
|
1683
|
+
"company-filter-data": companyFilterData.value,
|
|
1684
|
+
"chart-data": isLoadingTable.value ? [] : tableData.value
|
|
1685
|
+
}, null, 8, ["company-filter-data", "chart-data"]),
|
|
1686
|
+
(openBlock(), createBlock(ChargebackAnalyticsTable, {
|
|
1687
|
+
key: updateTableComponent.value,
|
|
1688
|
+
year: getCurrentYearFilter(),
|
|
1689
|
+
companies: companies.value,
|
|
1690
|
+
data: tableData.value,
|
|
1691
|
+
"is-loading-table": isLoadingTable.value
|
|
1692
|
+
}, null, 8, ["year", "companies", "data", "is-loading-table"]))
|
|
1693
|
+
]),
|
|
1694
|
+
_: 1
|
|
1695
|
+
});
|
|
1696
|
+
};
|
|
1697
|
+
}
|
|
1698
|
+
};
|
|
1699
|
+
export {
|
|
1700
|
+
_sfc_main as default
|
|
1701
|
+
};
|