appmax-client-vue3 5.2.0 → 5.3.0
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-CaStLW_k.js +16 -0
- package/dist/AE-DiMVenwy-tCTBvWe6.js +16 -0
- package/dist/AF-DOrptOkS-BmkyHvvj.js +16 -0
- package/dist/AG-CzBMAtom-D-66qnRc.js +16 -0
- package/dist/AI-A2DnDGPS-Dg512PMR.js +16 -0
- package/dist/AL-BcGdPXjJ-Bse0WaNl.js +16 -0
- package/dist/AM-BC_r4gTd-CwLrLRNv.js +16 -0
- package/dist/AO-D6GK49nd-Co2jpv3h.js +16 -0
- package/dist/AQ-Eeziry42-FtHCrg2s.js +16 -0
- package/dist/AR-AbqVWszQ-CaGnmEsq.js +16 -0
- package/dist/AS-BWe_Gq8Z-Zhb2HXh0.js +16 -0
- package/dist/AT-b5CS9jSt-BqHe13jU.js +16 -0
- package/dist/AU-BUbOyX6Q-Cwz_khdC.js +16 -0
- package/dist/AW-CjVdJTYe-ZUsokcck.js +16 -0
- package/dist/AX-lNtwEmw2-Dy9QA5HY.js +16 -0
- package/dist/AZ-f8zSo9ut-CcitZSPQ.js +16 -0
- package/dist/AmBulletLegend-DstrWLHh.js +23 -0
- package/dist/AmCardV3-CvAuzYKv.js +22 -0
- package/dist/AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-CdRQ3GS8.js +36 -0
- package/dist/AmDoughnutChartAdapted-QLoXpn7p.js +203 -0
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-DQUtvLdp.js +86 -0
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-C9zkiCrI.js +40 -0
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-6Bal9nfk.js +46 -0
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-DKALXaAC.js +63 -0
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-BtpOAA4k.js +53 -0
- package/dist/AmLayoutFeedbackState-DgVo0rnP.js +48 -0
- package/dist/AmLayoutInnerData-IGTuxHhv.js +162 -0
- package/dist/AmModalV3-BSFquZzV.js +105 -0
- package/dist/AmOutlineCard-Bh8HAYte.js +25 -0
- package/dist/AmSkeleton-DX-AHvYt.js +35 -0
- package/dist/AmText-DuhStQJl.js +33 -0
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-CqeiBRES.js +64 -0
- package/dist/ApiService-B3jVHavv.js +11 -0
- package/dist/AppInstallationConfirmationPasswordModal-BOF-9KaG.js +535 -0
- package/dist/AppstoreAppView-B2BxH21R.js +315 -0
- package/dist/AppstoreHomeView-DjR3b3-J.js +1372 -0
- package/dist/BA-BfV7_7RP-BdL-YBIn.js +16 -0
- package/dist/BB-CC4768VM-DaL9pDMN.js +16 -0
- package/dist/BD-YQdTTbhg-BQyxu_9R.js +16 -0
- package/dist/BE-DUYoRyei-DpJQ3hHy.js +16 -0
- package/dist/BF-XZRLkaHX-C3qRHBUu.js +16 -0
- package/dist/BG-BAb8lAFP-63_NJKKy.js +16 -0
- package/dist/BH-C1LTB8Fj-D8uOJTUm.js +16 -0
- package/dist/BI-RjDfMipp-qNw1z0qs.js +16 -0
- package/dist/BJ-DAv61IMB-cvPel-Hp.js +16 -0
- package/dist/BL-CFW4iaQd-H-KSh3w4.js +16 -0
- package/dist/BM-DuK3dA1G-7cDLbFk6.js +16 -0
- package/dist/BN-BXHGopan-CoK5d1B-.js +16 -0
- package/dist/BO-CzuoErsx-BwuVGxDz.js +16 -0
- package/dist/BQ-BO-BlM1Uin3-Wp7h7_3_.js +16 -0
- package/dist/BQ-SA-BninfeHy-Dw0dplW0.js +16 -0
- package/dist/BQ-SE-tq-mCvpl-C7srOYC-.js +16 -0
- package/dist/BR-B1GEJ05L-BJ0PpIzF.js +16 -0
- package/dist/BS-MeULPH4e-D4IYZOTt.js +16 -0
- package/dist/BT-BCfQJS6a-BZkfMc1e.js +16 -0
- package/dist/BV-CfaYWvM--CG2OAdaE.js +16 -0
- package/dist/BW-jYbPMHhQ-CrYLVBMy.js +16 -0
- package/dist/BY-Ddffd2rT-h3e_T0Uk.js +16 -0
- package/dist/BZ-B7mGW2Jg-Cyx3A98h.js +16 -0
- package/dist/BankAccountCrossborderNew.page-z7cf0fZ-.js +152 -0
- package/dist/BankAccountList.page-Bb_-uvJo.js +331 -0
- package/dist/BankAccountNew.page-CYEg36AR.js +982 -0
- package/dist/CA-CHl-cqJL-Sopn-DxS.js +16 -0
- package/dist/CC-DSLZRwFz-CvnNDfSA.js +16 -0
- package/dist/CD-D4NJYkQm-tPDpXO_x.js +16 -0
- package/dist/CF-DoxRpaA9-DYz3x3QQ.js +16 -0
- package/dist/CG-Auzp6pC_-iEFNEAku.js +16 -0
- package/dist/CH-B5eEo1aL-VT_h1RLs.js +16 -0
- package/dist/CI-DFfmdeVw-BHQav5jU.js +16 -0
- package/dist/CK-CKWUhjXV-DpcbT2qQ.js +16 -0
- package/dist/CL-Di6p-p6X-Ceth7dQ5.js +16 -0
- package/dist/CM-B0ht31e3-DM2BO4iG.js +16 -0
- package/dist/CN-CKHlOciI-C79iDXKj.js +16 -0
- package/dist/CO-GBUkcePt-DYr9-6sc.js +16 -0
- package/dist/CR-Daw5JsjF-CAqSphgR.js +16 -0
- package/dist/CU-CVOkcTvR-CxlGsYxa.js +16 -0
- package/dist/CV-cyPoze-o-BuswS9gP.js +16 -0
- package/dist/CW-Bt-Pwg4j-ac61xZns.js +16 -0
- package/dist/CX-uhIZlYzy-DEb0ElOd.js +16 -0
- package/dist/CY-un4rgwPX-jmfQJBaR.js +16 -0
- package/dist/CZ-equ-r4iN-BVL3PxDO.js +16 -0
- package/dist/CashoutAntecipateContent-Cq-gMS19.js +42 -0
- package/dist/ChargebackAnalytics-DnSRAUko.js +1701 -0
- package/dist/ChargebackDetail-DWGlvfod.js +3469 -0
- package/dist/ChargebackRate-DxLt0toi.js +77 -0
- package/dist/ChatPlayground.page-Da2uFY-m.js +508 -0
- package/dist/ConfirmationModal-EylgN11q.js +105 -0
- package/dist/Create.page-CzW9XkZg.js +1390 -0
- package/dist/CreatePaymentLink-DJPu_ENI.js +856 -0
- package/dist/DE-zx7UmJ-V-GjA5JR8X.js +16 -0
- package/dist/DJ-BN1kIFYT-BtgGTOlG.js +16 -0
- package/dist/DK-CrXXNH_h-Hdv1p-Yl.js +16 -0
- package/dist/DM-B4nVdNww-WeIqwyT6.js +16 -0
- package/dist/DO-C7-NF2JD-DRx8vt5n.js +16 -0
- package/dist/DZ-DSDLbNRb-DMwoHVBX.js +16 -0
- package/dist/DashboardAmountDetailsContent-CQ-l97ge.js +65 -0
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-Cwi-8ldS.js +151 -0
- package/dist/DashboardApprovalRateInternationalContent-RSoNAXpn.js +19 -0
- package/dist/DashboardApprovalRateNationalContent-TBbAp4mZ.js +74 -0
- package/dist/DashboardCarouselContent-BvbmOGny.js +958 -0
- package/dist/DashboardDetailsContent-D8qqE8NN.js +58 -0
- package/dist/DashboardHome-DcSd_sLw.js +4247 -0
- package/dist/DetailSubscriptionRecurring-Ck8BxMA0.js +1296 -0
- package/dist/EC-C_bjTYWm-YuMlndYO.js +16 -0
- package/dist/EE-CQIjuoWO-DhCi_TVZ.js +16 -0
- package/dist/EG-Bs_BHfVR-B388uNdK.js +16 -0
- package/dist/EH-CnWam84F-BKgLTrFQ.js +16 -0
- package/dist/ER-Dcl4hJzq-MUR_QObd.js +16 -0
- package/dist/ES-Bpj2gAdj-DWCeAQQm.js +16 -0
- package/dist/ET-Dm3q0Ruz-x0Ua9KYE.js +16 -0
- package/dist/ExternalPendenciesList-BW6TYzMr.js +651 -0
- package/dist/FI-DCqfJeiQ-BC1JCNYj.js +16 -0
- package/dist/FJ-C6UrGUgI-B4OIBFDT.js +16 -0
- package/dist/FK-CAaec31K-pnF7YgM5.js +16 -0
- package/dist/FM-Cf2SIJ7h-CkvupLPI.js +16 -0
- package/dist/FO-DBb4psBV-DzXasrMo.js +16 -0
- package/dist/FR-CFW4iaQd-WoFZn18c.js +16 -0
- package/dist/FeatureFlagsPage-CYg6J-vI.js +271 -0
- package/dist/GA-D3NTxgTl-Ce12c-Gh.js +16 -0
- package/dist/GB-ENG-Cmkg6Zq8-D-7RcnKp.js +16 -0
- package/dist/GB-NIR-DKszcfHi-DcJN3tpX.js +16 -0
- package/dist/GB-SCT-BiivwJ71-mmaRyYhm.js +16 -0
- package/dist/GB-UKM-DgMBd3ib-DwcwUE2k.js +16 -0
- package/dist/GB-WLS-DLoDy9iv-B8gkEuyr.js +16 -0
- package/dist/GD-Bs1d4We7-C69NY5nw.js +16 -0
- package/dist/GE-DXG9iLk5-SM2PP-gD.js +16 -0
- package/dist/GF-B20s5gtx-tr9ACYwX.js +16 -0
- package/dist/GG-BAyrpIoO-DSP4ZOie.js +16 -0
- package/dist/GH-v3jh5r1X-CRHQ3Ma2.js +16 -0
- package/dist/GI-D39Krd4s-C9JThhoK.js +16 -0
- package/dist/GL-BDd_W5AU-CQSMqKk5.js +16 -0
- package/dist/GM-BNEHspzj-Qkzz8Yu-.js +16 -0
- package/dist/GN-DdIZ0X6d-BBodEZ-s.js +16 -0
- package/dist/GP-CFW4iaQd-CHmgkd4I.js +16 -0
- package/dist/GQ-CC3X6AMz-uos6zBOY.js +16 -0
- package/dist/GR-C_0rusTd-DZiAPLMj.js +16 -0
- package/dist/GS-Db5l22a1-DssKbveE.js +16 -0
- package/dist/GT-BhbkqUft-xAecItKL.js +16 -0
- package/dist/GU-C0HeItm1-BzjoGZgQ.js +16 -0
- package/dist/GW-BjLM1vg--CdxD8wcr.js +16 -0
- package/dist/GY-BreBVlhN-CaJvoDCO.js +16 -0
- package/dist/HK-BZn9ZQGS-C457d4F2.js +16 -0
- package/dist/HM-BUbOyX6Q-CLBk1jj_.js +16 -0
- package/dist/HN-D4wujIPC-ByFwLuyN.js +16 -0
- package/dist/HR-Jhi3QQ9F-R0Q9G7Dl.js +16 -0
- package/dist/HT-MMjMjr-R-DJqczBfG.js +16 -0
- package/dist/HU-CN5KmQ7F-BMSoySu7.js +16 -0
- package/dist/Home-D301DiRv.js +997 -0
- package/dist/ID-hVVUTKNG-NMgRTTKz.js +16 -0
- package/dist/IE-WN_vdKcS-CI2md1tn.js +16 -0
- package/dist/IL-D5Wr_Xxh-BS72ISQt.js +16 -0
- package/dist/IM-B-putc0k-BfQmY1DJ.js +16 -0
- package/dist/IN-CK40zbQD-DwVA29nH.js +16 -0
- package/dist/IO-CdvLck7D-Bl3C2KQX.js +16 -0
- package/dist/IQ-f_9wyurt-DOHVQFYp.js +16 -0
- package/dist/IR-B0yfWttH-CZr45QN8.js +16 -0
- package/dist/IS-Dvf-XQTq-0Znat9Zb.js +16 -0
- package/dist/IT-uY7cjdFI-Dcbr_e74.js +16 -0
- package/dist/ImportTrackingCode-DAlmud1r.js +1007 -0
- package/dist/InternalCompanyIssuesDetail-Su4iQ5m2.js +862 -0
- package/dist/InternalCompanyList-CScqADt6.js +351 -0
- package/dist/InternalPendencyDetail-DCbf9LQg.js +717 -0
- package/dist/JE-C95tN_VG-B5Xj8jgS.js +16 -0
- package/dist/JM-zOuEwaB3-DiuBUb9s.js +16 -0
- package/dist/JO-Cq88rrOD-DP8iQAIr.js +16 -0
- package/dist/JP-5evXgWxq-CgEKt8gb.js +16 -0
- package/dist/KE-PHx0d97Z-DSWNNmho.js +16 -0
- package/dist/KG-DT4JnieX-Dbeh3ZZI.js +16 -0
- package/dist/KH-ChwV2WTT-B4Y3-iZC.js +16 -0
- package/dist/KI-D212g4Lh-w_20L0YH.js +16 -0
- package/dist/KM-mPVp7AKS-BHby2dxn.js +16 -0
- package/dist/KN-AdXLXICN-BiGASaOj.js +16 -0
- package/dist/KP-CC6UIrEF-CP20ieVp.js +16 -0
- package/dist/KR-BtnmWR6C-C0dDL6Ve.js +16 -0
- package/dist/KW-gqahWVaw-BqhJm4OD.js +16 -0
- package/dist/KY-DjIb70VQ-Bncija55.js +16 -0
- package/dist/KZ-C_fRihiO-Cbn-kjVJ.js +16 -0
- package/dist/LA-KIULJHAb-fTYBTK5g.js +16 -0
- package/dist/LB-CrF8WJiI-DI7H-r3S.js +16 -0
- package/dist/LC-DGiHXm5V-DNEX3-3Y.js +16 -0
- package/dist/LI-BwB0b8M1-hrCqoKtE.js +16 -0
- package/dist/LK-BOC44ZgS-BH-XfQ_1.js +16 -0
- package/dist/LR-CWjRlWOZ-XxlG4mc2.js +16 -0
- package/dist/LS-B_EgU3p5-CgkfriyJ.js +16 -0
- package/dist/LT-BPyPiVx2-DaCLvoE_.js +16 -0
- package/dist/LU-B-De6aB--CckczOJE.js +16 -0
- package/dist/LV-D2Ewe3XC-DDPD_q1q.js +16 -0
- package/dist/LY-D1TSt6YI-9XTFLfBg.js +16 -0
- package/dist/MA-QY5gm-vM-C_l3Y1N8.js +16 -0
- package/dist/MC-BjlCjfCP-BeOUJYdd.js +16 -0
- package/dist/MD-rh-6rlSt-CVl8QTAX.js +16 -0
- package/dist/ME-D1euo0V2-BzJAg76l.js +16 -0
- package/dist/MF-CFW4iaQd-Dr98U_U5.js +16 -0
- package/dist/MG-ONnxn_5g-BfvgFZZ9.js +16 -0
- package/dist/MH-B8oC_VMS-U-nkoPu-.js +16 -0
- package/dist/MK-ByjICisj-N4uaO5oy.js +16 -0
- package/dist/ML-CKVAuhox-BM6xmuIc.js +16 -0
- package/dist/MM-doJuUjVT-C_JmyN5w.js +16 -0
- package/dist/MN-BFP303GE-C1rvBqSP.js +16 -0
- package/dist/MO-Dp4PTSYU-kyR7HBDr.js +16 -0
- package/dist/MP-CqKsnjHV-DBeLVhCr.js +16 -0
- package/dist/MQ-CFW4iaQd-BBzNZCzM.js +16 -0
- package/dist/MR-D73q_PiY-Dr9a8pXj.js +16 -0
- package/dist/MS-qhjKl9TO-dxLlZb6H.js +16 -0
- package/dist/MT-CZjbs1U--B8L8tsvP.js +16 -0
- package/dist/MU-D0EQOl0S-BEKNB4G5.js +16 -0
- package/dist/MV-BtwHRTMn-DSYCHyEu.js +16 -0
- package/dist/MW-CVnAR98j-CsZvY0fT.js +16 -0
- package/dist/MX-C7vXnCDY-68nUrmm-.js +16 -0
- package/dist/MY-DJcgH_o3-Rz7Flv8G.js +16 -0
- package/dist/MZ-BbLwl9DA-DD-QupDU.js +16 -0
- package/dist/Max.page-BMYP80uT.js +599 -0
- package/dist/MostSoldCountries-BjhcmqGq.js +22 -0
- package/dist/NA-5FKNjRGT-CAA1_Hgu.js +16 -0
- package/dist/NC-CFW4iaQd-DVUQLoua.js +16 -0
- package/dist/NE-DpLZJa7D-mzZy_4Or.js +16 -0
- package/dist/NF-BT-wIfwf-DPC24K_6.js +16 -0
- package/dist/NG-BAiR_q0H-B9RQy7ar.js +16 -0
- package/dist/NI-DylPDojG-CsBZH5SV.js +16 -0
- package/dist/NL-iozeFKPM-BwxBNUBx.js +16 -0
- package/dist/NO-CfaYWvM--BhWTKjt4.js +16 -0
- package/dist/NP-BGR_ZaqA-BVQ13apt.js +16 -0
- package/dist/NR-DHGW5Y3Q-C1RwTnYY.js +16 -0
- package/dist/NU-CcpcSx_x-DjIqYrh_.js +16 -0
- package/dist/NZ-DDYt6DcJ-BTbrY2Lw.js +16 -0
- package/dist/OM-D6hiar1r-DSeIRb1R.js +16 -0
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-DXUW8AdF.js +760 -0
- package/dist/OrderStatusChip-I8Ovjofk.js +30 -0
- package/dist/Orders.page-CT1ereGs.js +1636 -0
- package/dist/OrdersChartDataContent-P9ZwDFSk.js +221 -0
- package/dist/OrdersDetails.page-adhYTD6K.js +6158 -0
- package/dist/PA-Bi2blxjJ-Qw1aRIPv.js +16 -0
- package/dist/PE-D4DjQOlP-CTKuYHjF.js +16 -0
- package/dist/PF-DmOSfnYB-BWo8KA4y.js +16 -0
- package/dist/PG-DeOlZ7TA-BWZs4i0n.js +16 -0
- package/dist/PH-Dv4KdxU--nXdLeWuM.js +16 -0
- package/dist/PK-CRhM95F8-BhHcfiV_.js +16 -0
- package/dist/PL-BIdMQAtx-DNUOP-2d.js +16 -0
- package/dist/PM-BDa53dEz-d07qnvHW.js +16 -0
- package/dist/PN-Csu7Dufn-CTIyXohB.js +16 -0
- package/dist/PR-C_Acdbc_-DhGl5oJn.js +16 -0
- package/dist/PS-Dmg0ofZr-COK3SHRG.js +16 -0
- package/dist/PT-Bsck4nv8-DQoPwGd3.js +16 -0
- package/dist/PW-CBMqjpxh-rSYk8aO5.js +16 -0
- package/dist/PY-Be6zNh15-D1X8WUB5.js +16 -0
- package/dist/PaymentsLinks-CFPKROvV.js +675 -0
- package/dist/QA-CZmcW85r-C1Gb5K9z.js +16 -0
- package/dist/RE-CFW4iaQd-rwFpznHW.js +16 -0
- package/dist/RO-6H4O-gQF-DJvJibiK.js +16 -0
- package/dist/RS-DM7vMnHL-CBuTT3rz.js +16 -0
- package/dist/RU-HqKQeTq2-Dizu2SMe.js +16 -0
- package/dist/RW-DkH4VhfP-CWbS-vET.js +16 -0
- package/dist/RecurringSubscription-BEx2B2XE.js +548 -0
- package/dist/RecurringSubscriptionDashView-atocoByq.js +2012 -0
- package/dist/RiskPendenciesInternalService-BBHWbN4-.js +145 -0
- package/dist/SA-C2hBi4Lh-DCL5aN5-.js +16 -0
- package/dist/SB-CBu9QLGP-D9B9wKmz.js +16 -0
- package/dist/SC-CR6esM-V-fqCr3Jyq.js +16 -0
- package/dist/SD-VCXqBHrW-DDbZT37n.js +16 -0
- package/dist/SE-DbI0jJm9-DVcivSZO.js +16 -0
- package/dist/SG-DgprfMyV-BDUWsq4l.js +16 -0
- package/dist/SH-qhjKl9TO-Bl8en86i.js +16 -0
- package/dist/SI-C3dA03Yk-D2WHErHA.js +16 -0
- package/dist/SJ-CfaYWvM--Bp_NKPBl.js +16 -0
- package/dist/SK-CxbHN7aU-DKQ4qHfX.js +16 -0
- package/dist/SL-GXAaRXng-GwmYhJ0s.js +16 -0
- package/dist/SM-B2SteTdO-C6b_vY_6.js +16 -0
- package/dist/SN-B7Q__Lx_-BYvzYfWV.js +16 -0
- package/dist/SO-Bnd5-U9z-DQ_F_pTO.js +16 -0
- package/dist/SR-BHMDOkL2-Dn-I0CT7.js +16 -0
- package/dist/SS-CsTgWca1-f3OCNgII.js +16 -0
- package/dist/ST-DLqO0boT-CeWK06Yf.js +16 -0
- package/dist/SV-DNZizmQg-CSb_YEih.js +16 -0
- package/dist/SX-DWuXjLwS-dVwG2yoU.js +16 -0
- package/dist/SY-DeOQEBum-CJVsRgU4.js +16 -0
- package/dist/SZ-Bhe0qU5K-DTkQDbeD.js +16 -0
- package/dist/SalesRecovery-BuIzJn-h.js +594 -0
- package/dist/SalesRecoveryIA-Cuu3Xg9q.js +199 -0
- package/dist/SendCustomerRefundLinkPage-Bi56887G.js +137 -0
- package/dist/StatusDescriptionModal-CEN31dzB.js +60 -0
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-C8bGbrfT.js +28 -0
- package/dist/TC-D5HTaKiF-BYhsLbxl.js +16 -0
- package/dist/TD-DyIWvaGg-Ci4tDDuh.js +16 -0
- package/dist/TF-BRsv64iE-B5ScBl27.js +16 -0
- package/dist/TG-OhNa5jmt-C4ovC_x-.js +16 -0
- package/dist/TH-F_ODV0JW-BnPh3pSL.js +16 -0
- package/dist/TJ-BFkbbSmN-CMoMFPPY.js +16 -0
- package/dist/TK-Ct75yy7V-DsK9v85a.js +16 -0
- package/dist/TL-BzqVkHGw-Dd_V6o1b.js +16 -0
- package/dist/TM-CCAvd8qV-BE2w-MAc.js +16 -0
- package/dist/TN-CmYqbPEz-DwfQDWGH.js +16 -0
- package/dist/TO-BQQk9Xq_-Dql8D3aJ.js +16 -0
- package/dist/TR-_MKkCnUV-DZHmDVjb.js +16 -0
- package/dist/TT-DoRURl1c-Zqwc-0uX.js +16 -0
- package/dist/TV-Dt8uZCP4-CFOSZisa.js +16 -0
- package/dist/TW-CvHugvex-Bh47syym.js +16 -0
- package/dist/TZ-RbwBgiwb-rZG2FPOp.js +16 -0
- package/dist/TopSellingProductsContent-BE475tEv.js +80 -0
- package/dist/UA-BiXHPMqV-BAkCMh9p.js +16 -0
- package/dist/UG--it_LhSj-CIGgbAm6.js +16 -0
- package/dist/UM-BFcTdeDD-DnP9wCfe.js +16 -0
- package/dist/US-BFcTdeDD-DnP9wCfe.js +16 -0
- package/dist/UY-C26Ndi4P-CbGycLdL.js +16 -0
- package/dist/UZ-BK5ADwFW-iI0GFQKg.js +16 -0
- package/dist/UserIndicationsPage-Cc8PG2O-.js +723 -0
- package/dist/VA-Cpq1n4yW-r-enLBDw.js +16 -0
- package/dist/VC-D1Fjbog5-B64uuAFf.js +16 -0
- package/dist/VE-CeM-hea7-BerEIOab.js +16 -0
- package/dist/VG-qhjKl9TO-CV1YKc5Z.js +16 -0
- package/dist/VI-C-kcu42_-B82uqBQt.js +16 -0
- package/dist/VN-2yoryeK1-CUe-vfY5.js +16 -0
- package/dist/VU-CkLlsgzP-DKzGi2NO.js +16 -0
- package/dist/WF-BDa53dEz-C__M9f1z.js +16 -0
- package/dist/WS-CNi2O6Qm-BJ5CRXiK.js +16 -0
- package/dist/WithdrawAdvance-BCY0rX5F.js +17 -0
- package/dist/WithdrawBankAccountStore-BsaoATPX.js +283 -0
- package/dist/WithdrawBlocked-uZne9iC2.js +133 -0
- package/dist/WithdrawCompanyStore-DSIZaZtK.js +80 -0
- package/dist/WithdrawGuaranteeExtract-JtGsMnyI.js +994 -0
- package/dist/WithdrawHome-CBV7fYyi.js +2448 -0
- package/dist/WithdrawHome-CIWM1hhk.js +1843 -0
- package/dist/WithdrawInternational-YL9Juj5y.js +17 -0
- package/dist/WithdrawMaxStore-DWRS9twI.js +772 -0
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-DsBRkO3V.js +530 -0
- package/dist/WithdrawNoAccountWarning-C8BguS5P.js +233 -0
- package/dist/WithdrawPermissionGuard-BxOUmo1a.js +338 -0
- package/dist/WithdrawRequest-C-fVrk1K.js +944 -0
- package/dist/WithdrawRequest-DDIdDgj3.js +17 -0
- package/dist/WithdrawRequestDetail-Cx_wfzoO.js +284 -0
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-CI0njJiS.js +936 -0
- package/dist/YE-DxPZysMs-3mNmsFUd.js +16 -0
- package/dist/YT-BMJJ1U_T-nkoVJpQy.js +16 -0
- package/dist/ZA-BjQXS8mc-DGVz4X6v.js +16 -0
- package/dist/ZM-Dw0PmMTO-D6TOtwai.js +16 -0
- package/dist/ZW-D0UStZMr-C2clkAxs.js +16 -0
- package/dist/affiliate-Bgt9fadK-DfFhWGPV.js +22 -0
- package/dist/amex-CvNwRHhS-DCjNeDxN.js +16 -0
- package/dist/api-BxbRn45X.js +11 -0
- package/dist/apple_pay-DtsAzVjF-dnQnjBbc.js +20 -0
- package/dist/archive-CFoPOir7-CzMKAOQU.js +18 -0
- package/dist/aura-D1VyKb6w-Bp5DPiqn.js +23 -0
- package/dist/boleto-BQZRi0Q5-BuL3qQcM.js +18 -0
- package/dist/box-DNrK38w2-2wYKsV2K.js +20 -0
- package/dist/cart-p5jccB8o-B39MikQX.js +15 -0
- package/dist/cash-FZcelZV1-bad0tlFO.js +20 -0
- package/dist/chart-YJ27XOr3-BNpTQG41.js +22 -0
- package/dist/chat.page-rqBTjKL8.js +424 -0
- package/dist/credit_card-CGrPYCJP-BkQ1N-Ne.js +15 -0
- package/dist/csv-CYa6aPS5-DwXPZNzo.js +18 -0
- package/dist/dayjs.min-Dbcbl_Kc.js +282 -0
- package/dist/diners-CN_1suUM-CljVbeo-.js +26 -0
- package/dist/discover-vVTOFEvv-e8508vu7.js +22 -0
- package/dist/ds-appmax-v322-CytdpjPz.js +52 -0
- package/dist/ds-appmax-v327-CvnIjV6A.js +69 -0
- package/dist/ds-appmax-v330-C0uO9nF3.js +48 -0
- package/dist/ds-appmax-v335-QfNLVACK.js +278 -0
- package/dist/elo-BaNbqhYS-Djn2c-2s.js +15 -0
- package/dist/gear-BHOWpd7b-BBHum57T.js +18 -0
- package/dist/grid-B7I0mWry-BcnIfla2.js +18 -0
- package/dist/hipercard-DBsszwxC-X7ss0HjX.js +22 -0
- package/dist/index-B-PM3l6N.js +21 -0
- package/dist/index-BE295cOU.js +1204 -0
- package/dist/index-BW2oS8WN.js +21 -0
- package/dist/index-BeFonkDD.js +35 -0
- package/dist/index-Bp5qyvnE.js +83 -0
- package/dist/index-BpUuFotl.js +219 -0
- package/dist/index-BvAQmXZP.js +776 -0
- package/dist/index-CGekfbUR.js +217 -0
- package/dist/index-CSKAyAVf.js +1790 -0
- package/dist/index-CaVBT9Ak.js +275 -0
- package/dist/index-Cb0-K19b.js +681 -0
- package/dist/index-CpYBypmE.js +62 -0
- package/dist/index-D3MzM8KL.js +169 -0
- package/dist/index-D657cl8P.js +534 -0
- package/dist/index-D7yHZETo.js +409 -0
- package/dist/index-DKtXOlMC.js +117 -0
- package/dist/index-DOMGbnWd.js +92 -0
- package/dist/index-DW7Uy9lQ.js +1567 -0
- package/dist/index-DX86NWJM.js +200 -0
- package/dist/index-DZOFps7n.js +721 -0
- package/dist/index-DdlEDiGn.js +4133 -0
- package/dist/index-DiNMjeFz.js +11 -0
- package/dist/index-Difu87AE.js +67 -0
- package/dist/index-Dpeb_nR8.js +106 -0
- package/dist/index-Dqri1A-W.js +219 -0
- package/dist/index-DziJ4EWw.js +11240 -0
- package/dist/index-c1F4Whl4.js +332 -0
- package/dist/index-l1nHicUF.js +18 -0
- package/dist/index-uo8pXrXD.js +230 -0
- package/dist/index.page-BVhmKT0x.js +737 -0
- package/dist/index.page-T-g3q-3y.js +827 -0
- package/dist/index.page-kyUveHrU.js +165 -0
- package/dist/infos-8KGPLXoE-DETDfcOj.js +18 -0
- package/dist/integrations-UOltVEyj-D3b11_Dy.js +19 -0
- package/dist/logs-Ce3fZY0v-1saXbpV4.js +28 -0
- package/dist/maestro-BMomgHxO-Cn-KdK8u.js +27 -0
- package/dist/main-CJqq8LV_.js +106860 -0
- package/dist/main.js +1 -1
- package/dist/mastercard-5I-dcOVV-SVeECO9Z.js +30 -0
- package/dist/max_brand-Crj-SFUw-pdUkLtNn.js +29 -0
- package/dist/max_brand_active-BIkS5qkP-B8nADOMv.js +27 -0
- package/dist/max_brand_negative-BxvdIegN-B2T8V0sP.js +30 -0
- package/dist/max_brand_white-DdKi2YVX-B9c-Ke0i.js +29 -0
- package/dist/menu.page-Bb-361wx.js +274 -0
- package/dist/money-DZpB5eTf-8B_Ym89Z.js +19 -0
- package/dist/notification-DMezLtAj-DzfHWtsY.js +18 -0
- package/dist/paypal-DMYjfEw0-CoDp9MaS.js +15 -0
- package/dist/pix-DXdX91yj-BlHT604u.js +22 -0
- package/dist/pix_outline-D_xXXgCN-ChvjdFG9.js +16 -0
- package/dist/pix_white-CcVsnEF2-C-tHR6Ug.js +24 -0
- package/dist/pusher-BeXZm-KF.js +4010 -0
- package/dist/shield-DS-Xf4WH-Cvzgo1bU.js +15 -0
- package/dist/solid_help-DNaqfgoc-q4g44ePe.js +20 -0
- package/dist/solid_home-BDUiJDVY-CMjtmsil.js +18 -0
- package/dist/solid_leaderboard-DtqK7q9Y-55ihqI9p.js +18 -0
- package/dist/solid_store-Cfv6o4b8-BsKmNGdP.js +18 -0
- package/dist/ticket_icon-DwvyLm7c-iv7Jadui.js +22 -0
- package/dist/usePendingMessage-CMe39stE.js +191 -0
- package/dist/useQueryFilter-CWrCnTci.js +93 -0
- package/dist/useRecurringTable-bBcF6Br_.js +160 -0
- package/dist/user-BRpwqYx8-BIYr3X--.js +18 -0
- package/dist/validateURL.helper-BNTy-ybB.js +126 -0
- package/dist/visa-tPjWcMbi-DSzJKiVY.js +18 -0
- package/package.json +1 -1
- package/dist/AD-Ct_GVBfr-StkZNwKG.js +0 -16
- package/dist/AE-DiMVenwy-DxJiXpGV.js +0 -16
- package/dist/AF-DOrptOkS-XegbzW-w.js +0 -16
- package/dist/AG-CzBMAtom-3SnT-5Uu.js +0 -16
- package/dist/AI-A2DnDGPS-CRjXjwoJ.js +0 -16
- package/dist/AL-BcGdPXjJ-a6zDxVMc.js +0 -16
- package/dist/AM-BC_r4gTd-D4MMWySB.js +0 -16
- package/dist/AO-D6GK49nd-CRMJFOm-.js +0 -16
- package/dist/AQ-Eeziry42-iwkWssf1.js +0 -16
- package/dist/AR-AbqVWszQ-BLrhhG4H.js +0 -16
- package/dist/AS-BWe_Gq8Z-CGYxjZdZ.js +0 -16
- package/dist/AT-b5CS9jSt-jCk4CN1Q.js +0 -16
- package/dist/AU-BUbOyX6Q-_oWZ4t5s.js +0 -16
- package/dist/AW-CjVdJTYe-BUkLY2f-.js +0 -16
- package/dist/AX-lNtwEmw2-Dyvu77aH.js +0 -16
- package/dist/AZ-f8zSo9ut-08cW-_Ne.js +0 -16
- package/dist/AmBulletLegend-TLfX-igU.js +0 -23
- package/dist/AmCardV3-Lq-pDk8I.js +0 -22
- package/dist/AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-CWW7FYuq.js +0 -36
- package/dist/AmDoughnutChartAdapted-Sc1PXFRp.js +0 -203
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-CK5ScPbD.js +0 -86
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-DhLqJYa3.js +0 -40
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-n7ZDlDFc.js +0 -46
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-CSgyEEl4.js +0 -63
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-eMwsOwkH.js +0 -53
- package/dist/AmLayoutFeedbackState-Dmk2iK7m.js +0 -48
- package/dist/AmLayoutInnerData-jknggN9g.js +0 -162
- package/dist/AmModalV3-SnC7z-f1.js +0 -105
- package/dist/AmOutlineCard-TsZMM0uk.js +0 -25
- package/dist/AmSkeleton-CvModGAs.js +0 -35
- package/dist/AmText-Ix8DK3Xq.js +0 -33
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-CudRZsqY.js +0 -64
- package/dist/ApiService-DRzbmsKC.js +0 -11
- package/dist/AppInstallationConfirmationPasswordModal-J4K4jdAF.js +0 -535
- package/dist/AppstoreAppView-CiuQGC__.js +0 -315
- package/dist/AppstoreHomeView-BVTYPaA7.js +0 -1372
- package/dist/BA-BfV7_7RP-BmWvA7Az.js +0 -16
- package/dist/BB-CC4768VM-BrSXHBwy.js +0 -16
- package/dist/BD-YQdTTbhg-CsC8onAg.js +0 -16
- package/dist/BE-DUYoRyei-Cir1ALU_.js +0 -16
- package/dist/BF-XZRLkaHX-DjkqOK_I.js +0 -16
- package/dist/BG-BAb8lAFP-iIReheFM.js +0 -16
- package/dist/BH-C1LTB8Fj-C7u05hot.js +0 -16
- package/dist/BI-RjDfMipp-B6ky4VmW.js +0 -16
- package/dist/BJ-DAv61IMB-CZQvrwne.js +0 -16
- package/dist/BL-CFW4iaQd-vZjnKF5I.js +0 -16
- package/dist/BM-DuK3dA1G-CoDTQ8M1.js +0 -16
- package/dist/BN-BXHGopan-BsZXW4-r.js +0 -16
- package/dist/BO-CzuoErsx-Bp8LCvZk.js +0 -16
- package/dist/BQ-BO-BlM1Uin3-BH3lwALm.js +0 -16
- package/dist/BQ-SA-BninfeHy-5BXY4Pjt.js +0 -16
- package/dist/BQ-SE-tq-mCvpl-D2PYuSfE.js +0 -16
- package/dist/BR-B1GEJ05L-R3viz22_.js +0 -16
- package/dist/BS-MeULPH4e-CtTP5gDM.js +0 -16
- package/dist/BT-BCfQJS6a-DX6wGh8L.js +0 -16
- package/dist/BV-CfaYWvM--DBvI1GXv.js +0 -16
- package/dist/BW-jYbPMHhQ-DY6P1xlK.js +0 -16
- package/dist/BY-Ddffd2rT-COy4OMfV.js +0 -16
- package/dist/BZ-B7mGW2Jg-DaMlt_nO.js +0 -16
- package/dist/BankAccountCrossborderNew.page-DUwRE4gI.js +0 -152
- package/dist/BankAccountList.page-BSDHYGub.js +0 -331
- package/dist/BankAccountNew.page-C21O0_jS.js +0 -982
- package/dist/CA-CHl-cqJL-BtpvOOcu.js +0 -16
- package/dist/CC-DSLZRwFz-DDnxA_BE.js +0 -16
- package/dist/CD-D4NJYkQm-DQ6messd.js +0 -16
- package/dist/CF-DoxRpaA9-BTYIt_Vx.js +0 -16
- package/dist/CG-Auzp6pC_-BhNbuOmx.js +0 -16
- package/dist/CH-B5eEo1aL-5DHkWvgz.js +0 -16
- package/dist/CI-DFfmdeVw-jXEKQCoa.js +0 -16
- package/dist/CK-CKWUhjXV-DpYhyfzy.js +0 -16
- package/dist/CL-Di6p-p6X-CS-iO5wu.js +0 -16
- package/dist/CM-B0ht31e3-C_nJbzMB.js +0 -16
- package/dist/CN-CKHlOciI-KVe2Eb8p.js +0 -16
- package/dist/CO-GBUkcePt-T2c6qTQs.js +0 -16
- package/dist/CR-Daw5JsjF-CxEK9f-r.js +0 -16
- package/dist/CU-CVOkcTvR-Ch6PPqDZ.js +0 -16
- package/dist/CV-cyPoze-o-VEDXWOox.js +0 -16
- package/dist/CW-Bt-Pwg4j-koWsygmq.js +0 -16
- package/dist/CX-uhIZlYzy-CLgj3zMe.js +0 -16
- package/dist/CY-un4rgwPX-BCZvAZao.js +0 -16
- package/dist/CZ-equ-r4iN-lt0FzSxo.js +0 -16
- package/dist/CashoutAntecipateContent-SfCGolcD.js +0 -42
- package/dist/ChargebackAnalytics-DMevdeDv.js +0 -1701
- package/dist/ChargebackDetail-2d1DN7U0.js +0 -3469
- package/dist/ChargebackRate-7Uy-H1DI.js +0 -77
- package/dist/ChatPlayground.page-CO4jfzTo.js +0 -508
- package/dist/ConfirmationModal-CF_U-frW.js +0 -105
- package/dist/Create.page-DPbBOsj8.js +0 -1390
- package/dist/CreatePaymentLink-DSyQYfVP.js +0 -856
- package/dist/DE-zx7UmJ-V-DeXIS-VO.js +0 -16
- package/dist/DJ-BN1kIFYT-C5T2N2HN.js +0 -16
- package/dist/DK-CrXXNH_h-B5zm5lvp.js +0 -16
- package/dist/DM-B4nVdNww-NQlqLUyy.js +0 -16
- package/dist/DO-C7-NF2JD-BLUIGfTI.js +0 -16
- package/dist/DZ-DSDLbNRb-w7_Desad.js +0 -16
- package/dist/DashboardAmountDetailsContent-DsRKiy13.js +0 -65
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-W9oze5aE.js +0 -151
- package/dist/DashboardApprovalRateInternationalContent-DwZ_iCPM.js +0 -19
- package/dist/DashboardApprovalRateNationalContent-DPTDddWe.js +0 -74
- package/dist/DashboardCarouselContent-2fwlwNaA.js +0 -958
- package/dist/DashboardDetailsContent-DOaBSX6C.js +0 -58
- package/dist/DashboardHome-BWUDE46A.js +0 -4247
- package/dist/DetailSubscriptionRecurring-BwhVWSFe.js +0 -1296
- package/dist/EC-C_bjTYWm-CkIPnXtp.js +0 -16
- package/dist/EE-CQIjuoWO-eJzWYuFv.js +0 -16
- package/dist/EG-Bs_BHfVR-BUc-7Y5M.js +0 -16
- package/dist/EH-CnWam84F-BfLD5WtO.js +0 -16
- package/dist/ER-Dcl4hJzq-Cdnfo4Bc.js +0 -16
- package/dist/ES-Bpj2gAdj-CUZuk00J.js +0 -16
- package/dist/ET-Dm3q0Ruz-Xp4Kooq8.js +0 -16
- package/dist/ExternalPendenciesList-DaK1hoWT.js +0 -651
- package/dist/FI-DCqfJeiQ-Dg65w44y.js +0 -16
- package/dist/FJ-C6UrGUgI-BmqTBfls.js +0 -16
- package/dist/FK-CAaec31K-uu8TXGVh.js +0 -16
- package/dist/FM-Cf2SIJ7h-CjnhxBFa.js +0 -16
- package/dist/FO-DBb4psBV-B5mQD8--.js +0 -16
- package/dist/FR-CFW4iaQd-DcZT61H2.js +0 -16
- package/dist/FeatureFlagsPage-CBsbRl6D.js +0 -271
- package/dist/GA-D3NTxgTl-D2YIwQmr.js +0 -16
- package/dist/GB-ENG-Cmkg6Zq8-CAQ7T31R.js +0 -16
- package/dist/GB-NIR-DKszcfHi-BFFEYwvB.js +0 -16
- package/dist/GB-SCT-BiivwJ71-CxDx6od6.js +0 -16
- package/dist/GB-UKM-DgMBd3ib-CieAaPe1.js +0 -16
- package/dist/GB-WLS-DLoDy9iv-DMFfCAzk.js +0 -16
- package/dist/GD-Bs1d4We7-C-0qWGiJ.js +0 -16
- package/dist/GE-DXG9iLk5-lkTA9W--.js +0 -16
- package/dist/GF-B20s5gtx-BdEJtlYi.js +0 -16
- package/dist/GG-BAyrpIoO-CEp4nlb4.js +0 -16
- package/dist/GH-v3jh5r1X-sEdkkQNp.js +0 -16
- package/dist/GI-D39Krd4s-DFnkEJH8.js +0 -16
- package/dist/GL-BDd_W5AU-Bxy42WRY.js +0 -16
- package/dist/GM-BNEHspzj-Xqe99wsg.js +0 -16
- package/dist/GN-DdIZ0X6d-DUxQZuSu.js +0 -16
- package/dist/GP-CFW4iaQd-DOzMIWUU.js +0 -16
- package/dist/GQ-CC3X6AMz-6icEgnXe.js +0 -16
- package/dist/GR-C_0rusTd-mIM3xNh0.js +0 -16
- package/dist/GS-Db5l22a1-CdrX2Y5A.js +0 -16
- package/dist/GT-BhbkqUft-K3nNsWBc.js +0 -16
- package/dist/GU-C0HeItm1-D5xOZvA1.js +0 -16
- package/dist/GW-BjLM1vg--Cc2TkCJW.js +0 -16
- package/dist/GY-BreBVlhN-CRsMuRPu.js +0 -16
- package/dist/HK-BZn9ZQGS-i1VD08IL.js +0 -16
- package/dist/HM-BUbOyX6Q-CU-q_zyK.js +0 -16
- package/dist/HN-D4wujIPC-KAMhtxSX.js +0 -16
- package/dist/HR-Jhi3QQ9F-DFlEUgwE.js +0 -16
- package/dist/HT-MMjMjr-R-BqgEZJlK.js +0 -16
- package/dist/HU-CN5KmQ7F-DpYWZQce.js +0 -16
- package/dist/Home-w0zEZPLM.js +0 -997
- package/dist/ID-hVVUTKNG-DenQFi4u.js +0 -16
- package/dist/IE-WN_vdKcS-DmakqYH_.js +0 -16
- package/dist/IL-D5Wr_Xxh-DR1JQJAG.js +0 -16
- package/dist/IM-B-putc0k-BrB5mOrT.js +0 -16
- package/dist/IN-CK40zbQD-Cd_SCL4Q.js +0 -16
- package/dist/IO-CdvLck7D-B8cB7w_l.js +0 -16
- package/dist/IQ-f_9wyurt-Cn0ZuRNc.js +0 -16
- package/dist/IR-B0yfWttH-CI8EW92A.js +0 -16
- package/dist/IS-Dvf-XQTq-sfzt_VIB.js +0 -16
- package/dist/IT-uY7cjdFI-BdmhxsvZ.js +0 -16
- package/dist/ImportTrackingCode-Cwki8VEu.js +0 -1007
- package/dist/InternalCompanyIssuesDetail-BTFa349q.js +0 -862
- package/dist/InternalCompanyList-RZqevqas.js +0 -351
- package/dist/InternalPendencyDetail-Bi_kiYAJ.js +0 -717
- package/dist/JE-C95tN_VG-BM1b2jWY.js +0 -16
- package/dist/JM-zOuEwaB3-DakMHpsR.js +0 -16
- package/dist/JO-Cq88rrOD-Cz8lW1sE.js +0 -16
- package/dist/JP-5evXgWxq-CzBr_SVP.js +0 -16
- package/dist/KE-PHx0d97Z-DVzS4EC1.js +0 -16
- package/dist/KG-DT4JnieX-wDEt1dH0.js +0 -16
- package/dist/KH-ChwV2WTT-l5DkNXqr.js +0 -16
- package/dist/KI-D212g4Lh-Q_UgITmW.js +0 -16
- package/dist/KM-mPVp7AKS-BzQctsLg.js +0 -16
- package/dist/KN-AdXLXICN-Dz28lwO2.js +0 -16
- package/dist/KP-CC6UIrEF-DThiWjzQ.js +0 -16
- package/dist/KR-BtnmWR6C-CR6fjMs0.js +0 -16
- package/dist/KW-gqahWVaw-BkPvGzS_.js +0 -16
- package/dist/KY-DjIb70VQ-UuqAEB55.js +0 -16
- package/dist/KZ-C_fRihiO-B_za94A_.js +0 -16
- package/dist/LA-KIULJHAb-BPkxBWgt.js +0 -16
- package/dist/LB-CrF8WJiI-BdKdWg13.js +0 -16
- package/dist/LC-DGiHXm5V-CkJUFxuV.js +0 -16
- package/dist/LI-BwB0b8M1-BfCwQGk-.js +0 -16
- package/dist/LK-BOC44ZgS-BF3UITew.js +0 -16
- package/dist/LR-CWjRlWOZ-NgX1jbDo.js +0 -16
- package/dist/LS-B_EgU3p5-BPTRxTGe.js +0 -16
- package/dist/LT-BPyPiVx2-E20bXXtS.js +0 -16
- package/dist/LU-B-De6aB--CmvB2fVr.js +0 -16
- package/dist/LV-D2Ewe3XC-B1zMor1e.js +0 -16
- package/dist/LY-D1TSt6YI-bpysz8fH.js +0 -16
- package/dist/MA-QY5gm-vM-CsAOe4dd.js +0 -16
- package/dist/MC-BjlCjfCP-BNZJn2aT.js +0 -16
- package/dist/MD-rh-6rlSt-Bt22Bm16.js +0 -16
- package/dist/ME-D1euo0V2-Cf03c9AO.js +0 -16
- package/dist/MF-CFW4iaQd-9BRJjN4v.js +0 -16
- package/dist/MG-ONnxn_5g-CXZ-2z9e.js +0 -16
- package/dist/MH-B8oC_VMS-Dz9UrfiW.js +0 -16
- package/dist/MK-ByjICisj-COt2IDzo.js +0 -16
- package/dist/ML-CKVAuhox-Cp9dFrhj.js +0 -16
- package/dist/MM-doJuUjVT-BucIUrC-.js +0 -16
- package/dist/MN-BFP303GE-DYme6HEg.js +0 -16
- package/dist/MO-Dp4PTSYU-xjOpJPAh.js +0 -16
- package/dist/MP-CqKsnjHV-ChPYn2wP.js +0 -16
- package/dist/MQ-CFW4iaQd-DToalkVz.js +0 -16
- package/dist/MR-D73q_PiY-CYTp9zgT.js +0 -16
- package/dist/MS-qhjKl9TO-EYVm0-3d.js +0 -16
- package/dist/MT-CZjbs1U--CYxNYkeO.js +0 -16
- package/dist/MU-D0EQOl0S-DJ4m7oVM.js +0 -16
- package/dist/MV-BtwHRTMn-tJRMar24.js +0 -16
- package/dist/MW-CVnAR98j-C2m-9Drd.js +0 -16
- package/dist/MX-C7vXnCDY-BOFNqu0o.js +0 -16
- package/dist/MY-DJcgH_o3-D4O6580m.js +0 -16
- package/dist/MZ-BbLwl9DA-CdsWcHp4.js +0 -16
- package/dist/Max.page-ChNsHLUy.js +0 -599
- package/dist/MostSoldCountries-CX3vbXrx.js +0 -22
- package/dist/NA-5FKNjRGT-jKJ6qgWe.js +0 -16
- package/dist/NC-CFW4iaQd-ByYw5Ypb.js +0 -16
- package/dist/NE-DpLZJa7D-C65mma0D.js +0 -16
- package/dist/NF-BT-wIfwf-BzyXhqwy.js +0 -16
- package/dist/NG-BAiR_q0H-Cb8DUYFq.js +0 -16
- package/dist/NI-DylPDojG-D7w7ZfJ6.js +0 -16
- package/dist/NL-iozeFKPM-Cmjh0elD.js +0 -16
- package/dist/NO-CfaYWvM--CVbeIcbk.js +0 -16
- package/dist/NP-BGR_ZaqA-BImMeiCD.js +0 -16
- package/dist/NR-DHGW5Y3Q-C07PCDYH.js +0 -16
- package/dist/NU-CcpcSx_x-CYx4Kp7G.js +0 -16
- package/dist/NZ-DDYt6DcJ-Cif-Kw1W.js +0 -16
- package/dist/OM-D6hiar1r-4gACbfUf.js +0 -16
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-BbJIJmF8.js +0 -760
- package/dist/OrderStatusChip-Cds7Y7LK.js +0 -30
- package/dist/Orders.page-BtraAP-w.js +0 -1636
- package/dist/OrdersChartDataContent-8rFRC_RD.js +0 -221
- package/dist/OrdersDetails.page-BNevKFTI.js +0 -6158
- package/dist/PA-Bi2blxjJ-EvrqyGIe.js +0 -16
- package/dist/PE-D4DjQOlP-DpBNRnfU.js +0 -16
- package/dist/PF-DmOSfnYB-tINNWwnc.js +0 -16
- package/dist/PG-DeOlZ7TA-SBQflY15.js +0 -16
- package/dist/PH-Dv4KdxU--DR0uWmjE.js +0 -16
- package/dist/PK-CRhM95F8-B-JTqeWR.js +0 -16
- package/dist/PL-BIdMQAtx-DdwoxqMc.js +0 -16
- package/dist/PM-BDa53dEz-Z8n5-v2E.js +0 -16
- package/dist/PN-Csu7Dufn-Djck72yV.js +0 -16
- package/dist/PR-C_Acdbc_-BMguztAs.js +0 -16
- package/dist/PS-Dmg0ofZr-DHluTVpa.js +0 -16
- package/dist/PT-Bsck4nv8-CKdXVXaH.js +0 -16
- package/dist/PW-CBMqjpxh-C6TlBXby.js +0 -16
- package/dist/PY-Be6zNh15-Dvds5o_H.js +0 -16
- package/dist/PaymentsLinks-B30T5Q-g.js +0 -675
- package/dist/QA-CZmcW85r-De7cr0fM.js +0 -16
- package/dist/RE-CFW4iaQd-Ts9mumW3.js +0 -16
- package/dist/RO-6H4O-gQF-DlgiGUnn.js +0 -16
- package/dist/RS-DM7vMnHL-C0Ig11Dy.js +0 -16
- package/dist/RU-HqKQeTq2-Dakt9zzw.js +0 -16
- package/dist/RW-DkH4VhfP-djhs6njt.js +0 -16
- package/dist/RecurringSubscription-CbXWwUXZ.js +0 -548
- package/dist/RecurringSubscriptionDashView-DCLHpkB5.js +0 -2012
- package/dist/RiskPendenciesInternalService-CIkqWsf1.js +0 -145
- package/dist/SA-C2hBi4Lh-CEMgfmhc.js +0 -16
- package/dist/SB-CBu9QLGP-xJhpee_b.js +0 -16
- package/dist/SC-CR6esM-V-CjE9cQu2.js +0 -16
- package/dist/SD-VCXqBHrW-AGD4JnfB.js +0 -16
- package/dist/SE-DbI0jJm9-7a1GWcRl.js +0 -16
- package/dist/SG-DgprfMyV-BkfCZ_qU.js +0 -16
- package/dist/SH-qhjKl9TO-CvKK803k.js +0 -16
- package/dist/SI-C3dA03Yk-Bbg9awoo.js +0 -16
- package/dist/SJ-CfaYWvM--BOTuOUXE.js +0 -16
- package/dist/SK-CxbHN7aU-B-SPe9-l.js +0 -16
- package/dist/SL-GXAaRXng-DWdJyCQp.js +0 -16
- package/dist/SM-B2SteTdO-DutV2C0n.js +0 -16
- package/dist/SN-B7Q__Lx_-DCrQvK0i.js +0 -16
- package/dist/SO-Bnd5-U9z-D7i2PmVP.js +0 -16
- package/dist/SR-BHMDOkL2-DF_csy-l.js +0 -16
- package/dist/SS-CsTgWca1-B1BO_mMW.js +0 -16
- package/dist/ST-DLqO0boT-CSHITGDi.js +0 -16
- package/dist/SV-DNZizmQg-oXtH8Qo0.js +0 -16
- package/dist/SX-DWuXjLwS-BVmitxTF.js +0 -16
- package/dist/SY-DeOQEBum-Z56UhCsj.js +0 -16
- package/dist/SZ-Bhe0qU5K-BcbdfEaj.js +0 -16
- package/dist/SalesRecovery-rSlU4lBQ.js +0 -594
- package/dist/SalesRecoveryIA-BpZzq0Vs.js +0 -199
- package/dist/SendCustomerRefundLinkPage-w7W2n7-k.js +0 -137
- package/dist/StatusDescriptionModal-BY_a33a6.js +0 -60
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-DncPsF1g.js +0 -28
- package/dist/TC-D5HTaKiF-CTS2rJXb.js +0 -16
- package/dist/TD-DyIWvaGg-MZHpuz-U.js +0 -16
- package/dist/TF-BRsv64iE-C2_DF6G-.js +0 -16
- package/dist/TG-OhNa5jmt-BYGtjBEn.js +0 -16
- package/dist/TH-F_ODV0JW-BKdbGGvG.js +0 -16
- package/dist/TJ-BFkbbSmN-OjycTQth.js +0 -16
- package/dist/TK-Ct75yy7V-D37cowKt.js +0 -16
- package/dist/TL-BzqVkHGw-BHUqs5iR.js +0 -16
- package/dist/TM-CCAvd8qV-DJhm6ozi.js +0 -16
- package/dist/TN-CmYqbPEz-DG69dHnw.js +0 -16
- package/dist/TO-BQQk9Xq_-B8H_cU7r.js +0 -16
- package/dist/TR-_MKkCnUV-Ce8wrpJl.js +0 -16
- package/dist/TT-DoRURl1c-CqqJJH8i.js +0 -16
- package/dist/TV-Dt8uZCP4-CZ10Z60G.js +0 -16
- package/dist/TW-CvHugvex-CjuFIYLC.js +0 -16
- package/dist/TZ-RbwBgiwb-DN4WP_pA.js +0 -16
- package/dist/TopSellingProductsContent-B4dMSJOf.js +0 -80
- package/dist/UA-BiXHPMqV-D9Q0BnEU.js +0 -16
- package/dist/UG--it_LhSj-DVs7EoOP.js +0 -16
- package/dist/UM-BFcTdeDD-C2lQ620l.js +0 -16
- package/dist/US-BFcTdeDD-C2lQ620l.js +0 -16
- package/dist/UY-C26Ndi4P-BjClgfOW.js +0 -16
- package/dist/UZ-BK5ADwFW-DELXMWtL.js +0 -16
- package/dist/UserIndicationsPage-D5biAnZg.js +0 -723
- package/dist/VA-Cpq1n4yW-BexKS0bf.js +0 -16
- package/dist/VC-D1Fjbog5-BW8vaqSu.js +0 -16
- package/dist/VE-CeM-hea7-DZOWIOL5.js +0 -16
- package/dist/VG-qhjKl9TO-WsxCZhFN.js +0 -16
- package/dist/VI-C-kcu42_-DT17Uhx1.js +0 -16
- package/dist/VN-2yoryeK1-DeZyduWc.js +0 -16
- package/dist/VU-CkLlsgzP-DEOXeeOV.js +0 -16
- package/dist/WF-BDa53dEz-CXGhtx-6.js +0 -16
- package/dist/WS-CNi2O6Qm-CRGlGEFW.js +0 -16
- package/dist/WithdrawAdvance-Dqgu7kEr.js +0 -17
- package/dist/WithdrawBankAccountStore-CG3n2xu4.js +0 -283
- package/dist/WithdrawBlocked-CYHm42m2.js +0 -133
- package/dist/WithdrawCompanyStore-Ce2bG9Yf.js +0 -80
- package/dist/WithdrawGuaranteeExtract-DANbCSJl.js +0 -994
- package/dist/WithdrawHome-CYfRTuDN.js +0 -1843
- package/dist/WithdrawHome-N7nxIpRo.js +0 -2448
- package/dist/WithdrawInternational-CCGb0go1.js +0 -17
- package/dist/WithdrawMaxStore-Dwa--YNG.js +0 -772
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-CngvT-dM.js +0 -530
- package/dist/WithdrawNoAccountWarning-Bh2JLj6D.js +0 -233
- package/dist/WithdrawPermissionGuard-ByGCCs5c.js +0 -338
- package/dist/WithdrawRequest-DT2sn05r.js +0 -944
- package/dist/WithdrawRequest-DY_JlRRv.js +0 -17
- package/dist/WithdrawRequestDetail-B6aA7mvt.js +0 -284
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-BMgmOd3V.js +0 -936
- package/dist/YE-DxPZysMs-hp44jVzE.js +0 -16
- package/dist/YT-BMJJ1U_T--VLywbnY.js +0 -16
- package/dist/ZA-BjQXS8mc-jYojguAB.js +0 -16
- package/dist/ZM-Dw0PmMTO-DxJT8_H6.js +0 -16
- package/dist/ZW-D0UStZMr-CdsJJWqf.js +0 -16
- package/dist/affiliate-Bgt9fadK-DVa1p2Ax.js +0 -22
- package/dist/amex-CvNwRHhS-D7QA0ot0.js +0 -16
- package/dist/api-BXmQVd1G.js +0 -11
- package/dist/apple_pay-DtsAzVjF-B7P96imw.js +0 -20
- package/dist/archive-CFoPOir7-BqaAZDzV.js +0 -18
- package/dist/aura-D1VyKb6w-Dh2s6DM6.js +0 -23
- package/dist/boleto-BQZRi0Q5-Uqd1V5oX.js +0 -18
- package/dist/box-DNrK38w2-BPc8uAtv.js +0 -20
- package/dist/cart-p5jccB8o-Dk4jWhkE.js +0 -15
- package/dist/cash-FZcelZV1-BbEVmp6V.js +0 -20
- package/dist/chart-YJ27XOr3-_WmeeRjk.js +0 -22
- package/dist/chat.page-SnZZL-fu.js +0 -424
- package/dist/credit_card-CGrPYCJP-Dv3LRPJa.js +0 -15
- package/dist/csv-CYa6aPS5-r3Sm58wj.js +0 -18
- package/dist/dayjs.min-Da92Laf1.js +0 -282
- package/dist/diners-CN_1suUM-ByIzOVLB.js +0 -26
- package/dist/discover-vVTOFEvv-kW1bABpz.js +0 -22
- package/dist/ds-appmax-v322-DKdELPv0.js +0 -52
- package/dist/ds-appmax-v327-D_Ngcqh7.js +0 -69
- package/dist/ds-appmax-v330-BSYYSV8c.js +0 -48
- package/dist/ds-appmax-v335-DlWYejCt.js +0 -278
- package/dist/elo-BaNbqhYS-BL5vqnG1.js +0 -15
- package/dist/gear-BHOWpd7b-BXY-eNB8.js +0 -18
- package/dist/grid-B7I0mWry-6Fw-n1cc.js +0 -18
- package/dist/hipercard-DBsszwxC-CxTNMODi.js +0 -22
- package/dist/index-0erj0q9D.js +0 -106
- package/dist/index-5IxPxMNJ.js +0 -721
- package/dist/index-6YMHy5G2.js +0 -117
- package/dist/index-9BO81TgH.js +0 -200
- package/dist/index-B9ST15pA.js +0 -219
- package/dist/index-BA4Xl2x9.js +0 -21
- package/dist/index-BJqiiqE8.js +0 -18
- package/dist/index-BQAOXvOU.js +0 -409
- package/dist/index-BlfKgrZo.js +0 -681
- package/dist/index-BnJQRIjy.js +0 -1567
- package/dist/index-BwWFp7ZG.js +0 -83
- package/dist/index-CI3ydT1C.js +0 -62
- package/dist/index-CLX_IUEF.js +0 -332
- package/dist/index-CQBs9Ilw.js +0 -219
- package/dist/index-CuIL96-m.js +0 -230
- package/dist/index-CxvFaCZh.js +0 -1790
- package/dist/index-D079H_tW.js +0 -67
- package/dist/index-D8vz1ACh.js +0 -1204
- package/dist/index-DEQ5vo-Z.js +0 -169
- package/dist/index-DPZR8RXN.js +0 -11
- package/dist/index-DWqYaXlT.js +0 -92
- package/dist/index-D_ZU71du.js +0 -217
- package/dist/index-DrC8NJmf.js +0 -11240
- package/dist/index-FoTemvuc.js +0 -35
- package/dist/index-VHrwEDUR.js +0 -4133
- package/dist/index-VethgG0j.js +0 -21
- package/dist/index-WGpB5fbm.js +0 -534
- package/dist/index-Zc4sTzsf.js +0 -275
- package/dist/index-v9F6Flhh.js +0 -776
- package/dist/index.page-BNy_Hhbx.js +0 -165
- package/dist/index.page-CpvA2mnU.js +0 -737
- package/dist/index.page-DibEmry6.js +0 -827
- package/dist/infos-8KGPLXoE-CIlMJOwI.js +0 -18
- package/dist/integrations-UOltVEyj-BJ_hoiYF.js +0 -19
- package/dist/logs-Ce3fZY0v-BnG_9gF8.js +0 -28
- package/dist/maestro-BMomgHxO-DQUi6dYg.js +0 -27
- package/dist/main-B6czt4K3.js +0 -106858
- package/dist/mastercard-5I-dcOVV-dTf8yRon.js +0 -30
- package/dist/max_brand-Crj-SFUw-BxyRxraT.js +0 -29
- package/dist/max_brand_active-BIkS5qkP-DrWBa4Uz.js +0 -27
- package/dist/max_brand_negative-BxvdIegN-BIpVXAwH.js +0 -30
- package/dist/max_brand_white-DdKi2YVX-07zrB9Wd.js +0 -29
- package/dist/menu.page-C1f1VZ8V.js +0 -274
- package/dist/money-DZpB5eTf-D6BDmOZ7.js +0 -19
- package/dist/notification-DMezLtAj-DztcvB1_.js +0 -18
- package/dist/paypal-DMYjfEw0-D9u0bFsI.js +0 -15
- package/dist/pix-DXdX91yj-B8magsA0.js +0 -22
- package/dist/pix_outline-D_xXXgCN-D0MAR0H3.js +0 -16
- package/dist/pix_white-CcVsnEF2-y3M5kTGL.js +0 -24
- package/dist/pusher-Ctw2IJ_B.js +0 -4010
- package/dist/shield-DS-Xf4WH-CBSNQhR3.js +0 -15
- package/dist/solid_help-DNaqfgoc-D_TryZm4.js +0 -20
- package/dist/solid_home-BDUiJDVY-mXhot9z0.js +0 -18
- package/dist/solid_leaderboard-DtqK7q9Y-Di6Yx0Sk.js +0 -18
- package/dist/solid_store-Cfv6o4b8-BWBVlfl_.js +0 -18
- package/dist/ticket_icon-DwvyLm7c-Cql3ePbM.js +0 -22
- package/dist/usePendingMessage-B3Zd8A-q.js +0 -191
- package/dist/useQueryFilter-Co3MS7ew.js +0 -93
- package/dist/useRecurringTable-DjuqnEEK.js +0 -160
- package/dist/user-BRpwqYx8-rhpaCbxY.js +0 -18
- package/dist/validateURL.helper-CYNyNkTD.js +0 -126
- package/dist/visa-tPjWcMbi-BnoQ5R40.js +0 -18
|
@@ -1,1636 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { ba as snakeToCamelCase, E as ApiService, as as toRefs, x as reactive, aO as AxiosError, r as ref, ad as defineComponent, g as createElementBlock, h as openBlock, i as createVNode, w as withCtx, m as createTextVNode, t as toDisplayString, l as unref, y, $, e as computed, c3 as isEqualObj, aj as useAlertsStore, af as t, bI as toRaw, bM as CanceledError, a9 as resolveComponent, q as createBlock, F as Fragment, p as renderList, D as mergeProps, n as normalizeClass, j as createBaseVNode, d as useBreakpoint, V as C, ag as toaster, K as script$3, P, k as createCommentVNode, R, at as isRef, ay as script$4, G as f, ab as userService, c4 as delay, b_ as B$1, H as withModifiers, aL as script$5, av as script$6, z as watch, c5 as supportChatHelper, o as onMounted } from "./main-B6czt4K3.js";
|
|
5
|
-
import { H } from "./AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-eMwsOwkH.js";
|
|
6
|
-
import { a as script, s as script$1 } from "./index-DrC8NJmf.js";
|
|
7
|
-
import { p as parseDateChipLabel, a as parseSortedChipLabel, l as loadRemoteOrdersStatusPtBR, o as ordersService, _ as _sfc_main$k, b as _sfc_main$l, f as formatAttempDate, c as filterToParams } from "./OrderStatus.vue_vue_type_script_setup_true_lang-BbJIJmF8.js";
|
|
8
|
-
import { u as useQueryFilter } from "./useQueryFilter-Co3MS7ew.js";
|
|
9
|
-
import { s as script$2 } from "./index-CQBs9Ilw.js";
|
|
10
|
-
import { _ as _sfc_main$m } from "./AmLayoutFeedbackState-Dmk2iK7m.js";
|
|
11
|
-
import { P as Pusher } from "./pusher-Ctw2IJ_B.js";
|
|
12
|
-
import { O as OrderStatusChip } from "./OrderStatusChip-Cds7Y7LK.js";
|
|
13
|
-
import { z } from "./index-Dq110QZ7.js";
|
|
14
|
-
import { b } from "./AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-CWW7FYuq.js";
|
|
15
|
-
import { B } from "./index-CI3ydT1C.js";
|
|
16
|
-
import { k as ke } from "./index-v9F6Flhh.js";
|
|
17
|
-
import { b as script$7, s as script$8, a as script$9 } from "./index-BlfKgrZo.js";
|
|
18
|
-
import { s as script$a } from "./index-5IxPxMNJ.js";
|
|
19
|
-
import { A as AmCardV3 } from "./AmCardV3-Lq-pDk8I.js";
|
|
20
|
-
class UserInteractionsService {
|
|
21
|
-
constructor(apiService) {
|
|
22
|
-
__publicField(this, "route", "/api/users/interactions");
|
|
23
|
-
this.apiService = apiService;
|
|
24
|
-
}
|
|
25
|
-
async get(interactionKey) {
|
|
26
|
-
const { data } = await this.apiService.get(
|
|
27
|
-
`${this.route}?interaction_key=${interactionKey}`
|
|
28
|
-
);
|
|
29
|
-
return snakeToCamelCase(data.result);
|
|
30
|
-
}
|
|
31
|
-
async markAsOccurred(interactionKey) {
|
|
32
|
-
await this.apiService.post(this.route, {
|
|
33
|
-
interaction_key: interactionKey
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
async delete(id) {
|
|
37
|
-
await this.apiService.delete(this.route, { data: { id } });
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
const userInteractionsService = new UserInteractionsService(ApiService);
|
|
41
|
-
const TRANSPARENCY_MODAL_INTERACTION = "transparency-modal";
|
|
42
|
-
const ordersNotificationState = reactive({
|
|
43
|
-
elasticDisabled: false,
|
|
44
|
-
shopifyAntifraudMissing: false,
|
|
45
|
-
checkedTransparencyModalInteraction: false,
|
|
46
|
-
showTransparencyModal: false
|
|
47
|
-
});
|
|
48
|
-
const checkTransparencyModal$1 = async (orders) => {
|
|
49
|
-
try {
|
|
50
|
-
if (ordersNotificationState.checkedTransparencyModalInteraction) return;
|
|
51
|
-
if (!orders.length) return;
|
|
52
|
-
const hasRefusalRisk = orders.some((order) => order.status === "recusado_por_risco");
|
|
53
|
-
if (!hasRefusalRisk) return;
|
|
54
|
-
const { occurred } = await userInteractionsService.get(TRANSPARENCY_MODAL_INTERACTION);
|
|
55
|
-
ordersNotificationState.checkedTransparencyModalInteraction = occurred;
|
|
56
|
-
} catch (error) {
|
|
57
|
-
if (!(error instanceof AxiosError)) throw error;
|
|
58
|
-
if (error.request.status === 404) {
|
|
59
|
-
ordersNotificationState.showTransparencyModal = true;
|
|
60
|
-
ordersNotificationState.checkedTransparencyModalInteraction = true;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
const assignTransparencyModalInteraction = async () => {
|
|
65
|
-
try {
|
|
66
|
-
await userInteractionsService.markAsOccurred(TRANSPARENCY_MODAL_INTERACTION);
|
|
67
|
-
} catch {
|
|
68
|
-
console.error("Error marking transparency modal interaction as occurred");
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
const useOrdersNotification = () => ({
|
|
72
|
-
...toRefs(ordersNotificationState),
|
|
73
|
-
checkTransparencyModal: checkTransparencyModal$1,
|
|
74
|
-
assignTransparencyModalInteraction
|
|
75
|
-
});
|
|
76
|
-
const chips = ref([]);
|
|
77
|
-
const getLabelFromFieldOptions = (fields2) => (name, value) => {
|
|
78
|
-
const field = fields2.find((f2) => f2.name === name);
|
|
79
|
-
if (!field) return;
|
|
80
|
-
const option = field.options.find((o) => o.value === value);
|
|
81
|
-
if (!option) return;
|
|
82
|
-
return option.label;
|
|
83
|
-
};
|
|
84
|
-
const updateChips$1 = (fields2, filter2, term) => {
|
|
85
|
-
const newChips = [];
|
|
86
|
-
if (term.length) {
|
|
87
|
-
newChips.push(...term.map((value) => ({ name: "term", value })));
|
|
88
|
-
}
|
|
89
|
-
const valueToChip = (name, value) => {
|
|
90
|
-
const label = getLabelFromFieldOptions(fields2)(name, value);
|
|
91
|
-
return { name, value, label };
|
|
92
|
-
};
|
|
93
|
-
for (const name in filter2) {
|
|
94
|
-
const value = filter2[name];
|
|
95
|
-
if (name === "tab") continue;
|
|
96
|
-
if (name === "date") {
|
|
97
|
-
newChips.push({ name, value: parseDateChipLabel(value) });
|
|
98
|
-
continue;
|
|
99
|
-
}
|
|
100
|
-
if (name === "sorted") {
|
|
101
|
-
const [orderBy, sortedBy] = value;
|
|
102
|
-
newChips.push({ name, value: parseSortedChipLabel(orderBy, sortedBy) });
|
|
103
|
-
continue;
|
|
104
|
-
}
|
|
105
|
-
if (name === "trackingCode" && value === true) {
|
|
106
|
-
newChips.push({ name, value: "orders.filter.presets.options.pending_tracking_codes" });
|
|
107
|
-
continue;
|
|
108
|
-
}
|
|
109
|
-
if (Array.isArray(value)) {
|
|
110
|
-
newChips.push(...value.map((v) => valueToChip(name, v)));
|
|
111
|
-
} else {
|
|
112
|
-
newChips.push(valueToChip(name, value));
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
chips.value = newChips;
|
|
116
|
-
};
|
|
117
|
-
const onRemoveChip$1 = (chip, filter2, term) => {
|
|
118
|
-
if (chip.name === "term") {
|
|
119
|
-
return { ...filter2, term: term.filter((t2) => t2 !== chip.value), page: 1 };
|
|
120
|
-
}
|
|
121
|
-
if (chip.name === "date") {
|
|
122
|
-
return { ...filter2, date: void 0, page: 1 };
|
|
123
|
-
}
|
|
124
|
-
if (chip.name === "sorted") {
|
|
125
|
-
return { ...filter2, sorted: void 0, page: 1 };
|
|
126
|
-
}
|
|
127
|
-
const newFilter = {};
|
|
128
|
-
const value = filter2[chip.name];
|
|
129
|
-
if (Array.isArray(value)) {
|
|
130
|
-
newFilter[chip.name] = value.filter((v) => v !== chip.value);
|
|
131
|
-
} else {
|
|
132
|
-
newFilter[chip.name] = void 0;
|
|
133
|
-
}
|
|
134
|
-
return { ...filter2, ...newFilter, page: 1, term };
|
|
135
|
-
};
|
|
136
|
-
const _hoisted_1$d = {
|
|
137
|
-
"data-test": "antifraud-alert",
|
|
138
|
-
class: "flex md:!flex-row flex-col w-full justify-between gap-4"
|
|
139
|
-
};
|
|
140
|
-
const __default__$h = { name: "OrdersNotificationsAntifraudAlert" };
|
|
141
|
-
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
142
|
-
...__default__$h,
|
|
143
|
-
setup(__props) {
|
|
144
|
-
const REDIRECT_URL = "https://apps.shopify.com/appmax-antifraude?locale=pt-BR&st_source=autocomplete";
|
|
145
|
-
return (_ctx, _cache) => {
|
|
146
|
-
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
147
|
-
createVNode(unref(y), { "data-test": "antifraud-alert-message" }, {
|
|
148
|
-
default: withCtx(() => [
|
|
149
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.antifraud.alert.message")), 1)
|
|
150
|
-
]),
|
|
151
|
-
_: 1
|
|
152
|
-
}),
|
|
153
|
-
createVNode(unref($), {
|
|
154
|
-
size: "small",
|
|
155
|
-
severity: "warn",
|
|
156
|
-
class: "!min-w-fit !h-fit !whitespace-nowrap !w-fit",
|
|
157
|
-
href: REDIRECT_URL,
|
|
158
|
-
target: "_blank",
|
|
159
|
-
"data-test": "antifraud-alert-button",
|
|
160
|
-
label: _ctx.$t("orders.notification.antifraud.alert.button")
|
|
161
|
-
}, null, 8, ["label"])
|
|
162
|
-
]);
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
const { addAlert } = useAlertsStore();
|
|
167
|
-
const { checkTransparencyModal } = useOrdersNotification();
|
|
168
|
-
const ordersState = reactive({
|
|
169
|
-
loading: true,
|
|
170
|
-
isInitialized: false,
|
|
171
|
-
error: false,
|
|
172
|
-
orders: [],
|
|
173
|
-
pageSize: 0,
|
|
174
|
-
fields: [],
|
|
175
|
-
term: [],
|
|
176
|
-
page: 1,
|
|
177
|
-
presets: [],
|
|
178
|
-
more: [],
|
|
179
|
-
isSearchDisabled: true,
|
|
180
|
-
hasNextPage: false,
|
|
181
|
-
tab: 0
|
|
182
|
-
});
|
|
183
|
-
const filter = ref({});
|
|
184
|
-
const updateChips = () => updateChips$1(ordersState.fields, filter.value, ordersState.term);
|
|
185
|
-
const queryFilter = useQueryFilter({
|
|
186
|
-
fields: [],
|
|
187
|
-
onChange: async (newFilter) => {
|
|
188
|
-
const { term, page, ...rest } = newFilter;
|
|
189
|
-
ordersState.term = Array.isArray(term) ? term : [];
|
|
190
|
-
ordersState.page = Number(page) || 1;
|
|
191
|
-
ordersState.tab = Number(rest.tab) || 0;
|
|
192
|
-
filter.value = rest;
|
|
193
|
-
updateChips();
|
|
194
|
-
return getOrders();
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
const initializeQueryFilter = async () => {
|
|
198
|
-
queryFilter.configFields([
|
|
199
|
-
...ordersState.fields.map((field) => ({ name: field.name, valueType: field.valueType })),
|
|
200
|
-
{ name: "term", valueType: "string[]" },
|
|
201
|
-
{ name: "page", valueType: "number" },
|
|
202
|
-
{ name: "sorted", valueType: "string[]" },
|
|
203
|
-
{ name: "tab", valueType: "number" },
|
|
204
|
-
{ name: "trackingCode", valueType: "boolean" }
|
|
205
|
-
]);
|
|
206
|
-
return queryFilter.syncFilter();
|
|
207
|
-
};
|
|
208
|
-
const getOrders = async () => {
|
|
209
|
-
if (!ordersState.isInitialized) return;
|
|
210
|
-
try {
|
|
211
|
-
ordersState.loading = true;
|
|
212
|
-
ordersState.error = false;
|
|
213
|
-
const ordersFilter = getOrdersFilter();
|
|
214
|
-
const result = await ordersService.getOrders(ordersFilter);
|
|
215
|
-
ordersState.orders = result.orders;
|
|
216
|
-
ordersState.pageSize = result.pageSize;
|
|
217
|
-
ordersState.hasNextPage = result.hasNextPage;
|
|
218
|
-
ordersState.isSearchDisabled = !result.elasticEnabled;
|
|
219
|
-
ordersNotificationState.elasticDisabled = !result.elasticEnabled;
|
|
220
|
-
ordersNotificationState.shopifyAntifraudMissing = result.shopifyAntifraudMissing;
|
|
221
|
-
checkTransparencyModal(result.orders);
|
|
222
|
-
if (ordersNotificationState.elasticDisabled) {
|
|
223
|
-
addAlert({
|
|
224
|
-
name: "elasticDisabled",
|
|
225
|
-
severity: "warning",
|
|
226
|
-
description: computed(() => t("orders.notification.elastic.message")).value,
|
|
227
|
-
onlyRoutes: ["orders.home"]
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
if (ordersNotificationState.shopifyAntifraudMissing) {
|
|
231
|
-
addAlert({
|
|
232
|
-
name: "shopifyAntifraudMissing",
|
|
233
|
-
severity: "warning",
|
|
234
|
-
component: toRaw(_sfc_main$j),
|
|
235
|
-
onlyRoutes: ["orders.home"]
|
|
236
|
-
});
|
|
237
|
-
}
|
|
238
|
-
} catch (error) {
|
|
239
|
-
if (error instanceof CanceledError) return;
|
|
240
|
-
ordersState.error = true;
|
|
241
|
-
} finally {
|
|
242
|
-
ordersState.loading = false;
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
const initialize$2 = async () => {
|
|
246
|
-
try {
|
|
247
|
-
await loadRemoteOrdersStatusPtBR();
|
|
248
|
-
const [fields2, filters] = await Promise.all([
|
|
249
|
-
ordersService.getFields(),
|
|
250
|
-
ordersService.getPresetFilters()
|
|
251
|
-
]);
|
|
252
|
-
ordersState.fields = fields2;
|
|
253
|
-
ordersState.presets = filters.presets;
|
|
254
|
-
ordersState.more = filters.more;
|
|
255
|
-
ordersState.isInitialized = true;
|
|
256
|
-
return initializeQueryFilter();
|
|
257
|
-
} catch {
|
|
258
|
-
ordersState.error = true;
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
const onSearch = (search) => {
|
|
262
|
-
if (search.length < 3) return;
|
|
263
|
-
const term = ordersState.term.concat(search);
|
|
264
|
-
queryFilter.set({ ...filter.value, term, page: 1 });
|
|
265
|
-
};
|
|
266
|
-
const onChangePage = (page) => {
|
|
267
|
-
if (page === ordersState.page) return;
|
|
268
|
-
queryFilter.set({ ...filter.value, page, term: ordersState.term });
|
|
269
|
-
};
|
|
270
|
-
const onChangeFilter = (newFilter, tab) => {
|
|
271
|
-
if (isEqualObj(newFilter, filter.value)) return;
|
|
272
|
-
queryFilter.set({ ...newFilter, page: 1, term: ordersState.term, tab });
|
|
273
|
-
};
|
|
274
|
-
const getOrdersFilter = () => {
|
|
275
|
-
return {
|
|
276
|
-
...filter.value,
|
|
277
|
-
term: ordersState.term || void 0,
|
|
278
|
-
page: ordersState.page
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
const onSort = (sorted) => {
|
|
282
|
-
queryFilter.set({ ...filter.value, sorted, page: 1, term: ordersState.term });
|
|
283
|
-
};
|
|
284
|
-
const onRemoveChip = (chip) => {
|
|
285
|
-
const newFilter = onRemoveChip$1(chip, filter.value, ordersState.term);
|
|
286
|
-
queryFilter.set(newFilter);
|
|
287
|
-
};
|
|
288
|
-
const showPagination = computed(() => {
|
|
289
|
-
if (ordersState.loading || ordersState.error) return false;
|
|
290
|
-
if (ordersState.isSearchDisabled) return true;
|
|
291
|
-
return ordersState.pageSize > 0;
|
|
292
|
-
});
|
|
293
|
-
const getOrderRouterLink = (order) => {
|
|
294
|
-
return {
|
|
295
|
-
name: "orders.details",
|
|
296
|
-
params: { hash: order.hash }
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
const translateIfKey = (label) => {
|
|
300
|
-
return typeof label === "string" && label.startsWith("orders.") ? t(label) : label;
|
|
301
|
-
};
|
|
302
|
-
const fields = computed(() => {
|
|
303
|
-
return ordersState.fields.map((field) => {
|
|
304
|
-
return {
|
|
305
|
-
...field,
|
|
306
|
-
label: translateIfKey(field.label),
|
|
307
|
-
options: field.options.map((option) => {
|
|
308
|
-
return {
|
|
309
|
-
...option,
|
|
310
|
-
label: translateIfKey(option.label)
|
|
311
|
-
};
|
|
312
|
-
})
|
|
313
|
-
};
|
|
314
|
-
});
|
|
315
|
-
});
|
|
316
|
-
const useOrdersFilter = () => {
|
|
317
|
-
return {
|
|
318
|
-
...toRefs(ordersState),
|
|
319
|
-
fields,
|
|
320
|
-
filter,
|
|
321
|
-
getOrders,
|
|
322
|
-
onSearch,
|
|
323
|
-
onSort,
|
|
324
|
-
onChangePage,
|
|
325
|
-
onChangeFilter,
|
|
326
|
-
onRemoveChip,
|
|
327
|
-
initialize: initialize$2,
|
|
328
|
-
chips,
|
|
329
|
-
showPagination,
|
|
330
|
-
getOrderRouterLink
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
const __default__$g = { name: "OrdersTable" };
|
|
334
|
-
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
335
|
-
...__default__$g,
|
|
336
|
-
setup(__props) {
|
|
337
|
-
const { orders, onSort: onSort2, filter: filter2, getOrderRouterLink: getOrderRouterLink2 } = useOrdersFilter();
|
|
338
|
-
const columns = [
|
|
339
|
-
{
|
|
340
|
-
id: "id",
|
|
341
|
-
header: t("orders.list.table.columns.id"),
|
|
342
|
-
getter: (order) => ({ text: order.id.toString() }),
|
|
343
|
-
className: "w-20"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
id: "client",
|
|
347
|
-
header: t("orders.list.table.columns.client"),
|
|
348
|
-
getter: (order) => ({ title: order.name, text: order.email })
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
id: "date",
|
|
352
|
-
header: t("orders.list.table.columns.date"),
|
|
353
|
-
getter: (order) => ({ title: order.formattedDate, text: order.formattedDateSince }),
|
|
354
|
-
sortable: true,
|
|
355
|
-
sortField: "id"
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
id: "payment",
|
|
359
|
-
header: t("orders.list.table.columns.payment"),
|
|
360
|
-
getter: (order) => ({
|
|
361
|
-
icon: order.paymentTypeIcon,
|
|
362
|
-
title: order.formattedTotal,
|
|
363
|
-
text: order.paymentTypeLabel
|
|
364
|
-
}),
|
|
365
|
-
sortable: true,
|
|
366
|
-
sortField: "total"
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
id: "origin",
|
|
370
|
-
header: t("orders.list.table.columns.origin"),
|
|
371
|
-
getter: (order) => ({ icon: order.countryIcon, title: order.countryLabel, text: order.origin })
|
|
372
|
-
}
|
|
373
|
-
];
|
|
374
|
-
const columnStatusPt = {
|
|
375
|
-
columnHeaderContent: {
|
|
376
|
-
class: "flex-row-reverse justify-end",
|
|
377
|
-
bodyCell: { "data-test": `orders-table-column-status` }
|
|
378
|
-
}
|
|
379
|
-
};
|
|
380
|
-
const sortOrder = computed(() => {
|
|
381
|
-
var _a;
|
|
382
|
-
switch ((_a = filter2.value.sorted) == null ? void 0 : _a[1]) {
|
|
383
|
-
case "asc":
|
|
384
|
-
return 1;
|
|
385
|
-
case "desc":
|
|
386
|
-
return -1;
|
|
387
|
-
default:
|
|
388
|
-
return 0;
|
|
389
|
-
}
|
|
390
|
-
});
|
|
391
|
-
const sortField = computed(() => {
|
|
392
|
-
var _a;
|
|
393
|
-
return (_a = filter2.value.sorted) == null ? void 0 : _a[0];
|
|
394
|
-
});
|
|
395
|
-
const handleSort = (event) => {
|
|
396
|
-
if (typeof event.sortField !== "string" || typeof event.sortOrder !== "number") return onSort2([]);
|
|
397
|
-
onSort2([event.sortField, event.sortOrder === 1 ? "asc" : "desc"]);
|
|
398
|
-
};
|
|
399
|
-
return (_ctx, _cache) => {
|
|
400
|
-
const _component_router_link = resolveComponent("router-link");
|
|
401
|
-
return openBlock(), createBlock(unref(script), {
|
|
402
|
-
value: unref(orders),
|
|
403
|
-
class: "min-w-full",
|
|
404
|
-
rowHover: "",
|
|
405
|
-
onSort: handleSort,
|
|
406
|
-
removableSort: "",
|
|
407
|
-
sortOrder: sortOrder.value,
|
|
408
|
-
sortField: sortField.value
|
|
409
|
-
}, {
|
|
410
|
-
default: withCtx(() => [
|
|
411
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(columns, ({ id, className, header, getter, sortable, sortField: sortField2 }) => {
|
|
412
|
-
return createVNode(unref(script$1), {
|
|
413
|
-
key: id,
|
|
414
|
-
class: normalizeClass(className),
|
|
415
|
-
header,
|
|
416
|
-
sortable,
|
|
417
|
-
sortField: sortField2,
|
|
418
|
-
pt: { bodyCell: { "data-test": `orders-table-column-${id}`, class: "!p-0" } }
|
|
419
|
-
}, {
|
|
420
|
-
body: withCtx(({ data: order }) => [
|
|
421
|
-
createVNode(_component_router_link, {
|
|
422
|
-
to: unref(getOrderRouterLink2)(order),
|
|
423
|
-
class: "py-3 px-4 flex",
|
|
424
|
-
"data-test": "order-link"
|
|
425
|
-
}, {
|
|
426
|
-
default: withCtx(() => [
|
|
427
|
-
createVNode(_sfc_main$k, mergeProps({ ref_for: true }, getter(order), { "data-test-prefix": id }), null, 16, ["data-test-prefix"])
|
|
428
|
-
]),
|
|
429
|
-
_: 2
|
|
430
|
-
}, 1032, ["to"])
|
|
431
|
-
]),
|
|
432
|
-
_: 2
|
|
433
|
-
}, 1032, ["class", "header", "sortable", "sortField", "pt"]);
|
|
434
|
-
}), 64)),
|
|
435
|
-
createVNode(unref(script$1), {
|
|
436
|
-
header: unref(t)("orders.list.table.columns.status"),
|
|
437
|
-
pt: columnStatusPt,
|
|
438
|
-
class: "w-20"
|
|
439
|
-
}, {
|
|
440
|
-
body: withCtx(({ data: order }) => [
|
|
441
|
-
createVNode(unref(_sfc_main$l), {
|
|
442
|
-
status: order.status,
|
|
443
|
-
"order-id": order.id
|
|
444
|
-
}, null, 8, ["status", "order-id"])
|
|
445
|
-
]),
|
|
446
|
-
header: withCtx(() => [
|
|
447
|
-
createVNode(unref(H), {
|
|
448
|
-
tooltipPosition: "top",
|
|
449
|
-
tooltipText: unref(t)("orders.list.table.helper"),
|
|
450
|
-
color: "surface-300",
|
|
451
|
-
size: "sm"
|
|
452
|
-
}, null, 8, ["tooltipText"])
|
|
453
|
-
]),
|
|
454
|
-
_: 1
|
|
455
|
-
}, 8, ["header"])
|
|
456
|
-
]),
|
|
457
|
-
_: 1
|
|
458
|
-
}, 8, ["value", "sortOrder", "sortField"]);
|
|
459
|
-
};
|
|
460
|
-
}
|
|
461
|
-
});
|
|
462
|
-
const _hoisted_1$c = { class: "grid gap-4 w-full" };
|
|
463
|
-
const _hoisted_2$5 = { class: "space-y-4" };
|
|
464
|
-
const _hoisted_3 = { class: "grid sm:flex justify-between gap-4" };
|
|
465
|
-
const __default__$f = { name: "OrdersTableMobile" };
|
|
466
|
-
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
467
|
-
...__default__$f,
|
|
468
|
-
setup(__props) {
|
|
469
|
-
const { orders, getOrderRouterLink: getOrderRouterLink2 } = useOrdersFilter();
|
|
470
|
-
return (_ctx, _cache) => {
|
|
471
|
-
const _component_router_link = resolveComponent("router-link");
|
|
472
|
-
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
473
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(orders), (order) => {
|
|
474
|
-
return openBlock(), createBlock(_component_router_link, {
|
|
475
|
-
key: order.id,
|
|
476
|
-
"data-test": "order-link",
|
|
477
|
-
to: unref(getOrderRouterLink2)(order)
|
|
478
|
-
}, {
|
|
479
|
-
default: withCtx(() => [
|
|
480
|
-
createVNode(unref(script$2), null, {
|
|
481
|
-
header: withCtx(() => [
|
|
482
|
-
createVNode(_sfc_main$k, {
|
|
483
|
-
title: `#${order.id}`,
|
|
484
|
-
"data-test-prefix": "order-mobile-id"
|
|
485
|
-
}, null, 8, ["title"])
|
|
486
|
-
]),
|
|
487
|
-
default: withCtx(() => [
|
|
488
|
-
createBaseVNode("div", _hoisted_2$5, [
|
|
489
|
-
createVNode(_sfc_main$k, {
|
|
490
|
-
text: order.formattedDate,
|
|
491
|
-
"data-test-prefix": "date"
|
|
492
|
-
}, null, 8, ["text"]),
|
|
493
|
-
createBaseVNode("div", _hoisted_3, [
|
|
494
|
-
createVNode(_sfc_main$k, {
|
|
495
|
-
title: order.name,
|
|
496
|
-
text: order.email,
|
|
497
|
-
"data-test-prefix": "client"
|
|
498
|
-
}, null, 8, ["title", "text"]),
|
|
499
|
-
createVNode(_sfc_main$k, {
|
|
500
|
-
icon: order.paymentTypeIcon,
|
|
501
|
-
title: order.formattedTotal,
|
|
502
|
-
text: order.paymentTypeLabel,
|
|
503
|
-
"data-test-prefix": "payment"
|
|
504
|
-
}, null, 8, ["icon", "title", "text"])
|
|
505
|
-
]),
|
|
506
|
-
createVNode(_sfc_main$k, {
|
|
507
|
-
icon: order.countryIcon,
|
|
508
|
-
title: order.countryLabel,
|
|
509
|
-
text: order.origin,
|
|
510
|
-
"data-test-prefix": "origin"
|
|
511
|
-
}, null, 8, ["icon", "title", "text"]),
|
|
512
|
-
createVNode(unref(_sfc_main$l), {
|
|
513
|
-
status: order.status,
|
|
514
|
-
orderId: order.id
|
|
515
|
-
}, null, 8, ["status", "orderId"])
|
|
516
|
-
])
|
|
517
|
-
]),
|
|
518
|
-
_: 2
|
|
519
|
-
}, 1024)
|
|
520
|
-
]),
|
|
521
|
-
_: 2
|
|
522
|
-
}, 1032, ["to"]);
|
|
523
|
-
}), 128))
|
|
524
|
-
]);
|
|
525
|
-
};
|
|
526
|
-
}
|
|
527
|
-
});
|
|
528
|
-
const _hoisted_1$b = { class: "text-center pb-11" };
|
|
529
|
-
const __default__$e = { name: "OrdersListError" };
|
|
530
|
-
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
531
|
-
...__default__$e,
|
|
532
|
-
setup(__props) {
|
|
533
|
-
const { getOrders: getOrders2 } = useOrdersFilter();
|
|
534
|
-
return (_ctx, _cache) => {
|
|
535
|
-
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
536
|
-
createVNode(_sfc_main$m, {
|
|
537
|
-
iconName: "refresh",
|
|
538
|
-
title: _ctx.$t("orders.list.feedbackErrorTitle"),
|
|
539
|
-
text: _ctx.$t("orders.list.feedbackErrorText"),
|
|
540
|
-
class: "max-w-[400px] m-auto my-8"
|
|
541
|
-
}, null, 8, ["title", "text"]),
|
|
542
|
-
createVNode(unref($), {
|
|
543
|
-
icon: "refresh",
|
|
544
|
-
size: "small",
|
|
545
|
-
onClick: unref(getOrders2),
|
|
546
|
-
outlined: ""
|
|
547
|
-
}, {
|
|
548
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
549
|
-
createTextVNode("Tentar novamente")
|
|
550
|
-
])),
|
|
551
|
-
_: 1
|
|
552
|
-
}, 8, ["onClick"])
|
|
553
|
-
]);
|
|
554
|
-
};
|
|
555
|
-
}
|
|
556
|
-
});
|
|
557
|
-
const _hoisted_1$a = { class: "w-full overflow-x-auto" };
|
|
558
|
-
const __default__$d = { name: "OrdersList" };
|
|
559
|
-
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
560
|
-
...__default__$d,
|
|
561
|
-
setup(__props) {
|
|
562
|
-
const isDesktopSize = useBreakpoint("desktop");
|
|
563
|
-
const { loading, error, orders } = useOrdersFilter();
|
|
564
|
-
return (_ctx, _cache) => {
|
|
565
|
-
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
566
|
-
unref(error) ? (openBlock(), createBlock(_sfc_main$g, { key: 0 })) : unref(loading) ? (openBlock(), createBlock(unref(C), {
|
|
567
|
-
key: 1,
|
|
568
|
-
isLoading: "",
|
|
569
|
-
class: "m-auto my-36"
|
|
570
|
-
})) : !unref(orders).length ? (openBlock(), createBlock(_sfc_main$m, {
|
|
571
|
-
key: 2,
|
|
572
|
-
iconName: "folder",
|
|
573
|
-
title: _ctx.$t("orders.list.feedbackEmptyTitle"),
|
|
574
|
-
text: _ctx.$t("orders.list.feedbackEmptyText"),
|
|
575
|
-
class: "max-w-[400px] m-auto my-8"
|
|
576
|
-
}, null, 8, ["title", "text"])) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
577
|
-
unref(isDesktopSize) ? (openBlock(), createBlock(_sfc_main$i, { key: 0 })) : (openBlock(), createBlock(_sfc_main$h, { key: 1 }))
|
|
578
|
-
], 64))
|
|
579
|
-
]);
|
|
580
|
-
};
|
|
581
|
-
}
|
|
582
|
-
});
|
|
583
|
-
const parseJson = (json) => {
|
|
584
|
-
try {
|
|
585
|
-
return JSON.parse(json);
|
|
586
|
-
} catch {
|
|
587
|
-
return null;
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
class OrdersReintegrateService {
|
|
591
|
-
constructor(apiService) {
|
|
592
|
-
this.apiService = apiService;
|
|
593
|
-
}
|
|
594
|
-
async getData() {
|
|
595
|
-
const emptyData = {
|
|
596
|
-
has: false,
|
|
597
|
-
isRunning: false,
|
|
598
|
-
uuid: "",
|
|
599
|
-
quantity: 0,
|
|
600
|
-
updatedAt: "",
|
|
601
|
-
disabled: true
|
|
602
|
-
};
|
|
603
|
-
try {
|
|
604
|
-
const has = await this.has();
|
|
605
|
-
if (!has) return { ...emptyData, has };
|
|
606
|
-
const { isRunning, uuid, disabled } = await this.checkStatus();
|
|
607
|
-
const { quantity, updatedAt } = await this.getLastAttempt();
|
|
608
|
-
return { has, disabled, isRunning, uuid, quantity, updatedAt };
|
|
609
|
-
} catch (error) {
|
|
610
|
-
console.error(error);
|
|
611
|
-
return emptyData;
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
async reintegrateAll() {
|
|
615
|
-
try {
|
|
616
|
-
const route = "/api/orders/reintegrate";
|
|
617
|
-
const payload = { ordersHashs: [] };
|
|
618
|
-
await this.apiService.post(route, payload);
|
|
619
|
-
const uuid = await this.getUUID();
|
|
620
|
-
return { uuid, error: false };
|
|
621
|
-
} catch (error) {
|
|
622
|
-
console.error(error);
|
|
623
|
-
return { uuid: "", error: true };
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
async checkStatus() {
|
|
627
|
-
try {
|
|
628
|
-
const route = "/api/orders/check-reintegrate";
|
|
629
|
-
const { data } = await this.apiService.get(route);
|
|
630
|
-
const { is_running, uuid, is_employee } = data.data;
|
|
631
|
-
return {
|
|
632
|
-
isRunning: is_running,
|
|
633
|
-
uuid: uuid || "",
|
|
634
|
-
disabled: !!is_employee
|
|
635
|
-
};
|
|
636
|
-
} catch (error) {
|
|
637
|
-
return {
|
|
638
|
-
isRunning: false,
|
|
639
|
-
uuid: "",
|
|
640
|
-
disabled: true
|
|
641
|
-
};
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
async getLastAttempt() {
|
|
645
|
-
try {
|
|
646
|
-
const route = "/api/orders/get-total-reintegrate-last-attempt";
|
|
647
|
-
const { data } = await this.apiService.get(route);
|
|
648
|
-
const message = parseJson(data.data.message);
|
|
649
|
-
const quantity = Number(message == null ? void 0 : message.ini_orders_pending_integration_quantity) || 0;
|
|
650
|
-
const { updated_at: updatedAt } = data.data;
|
|
651
|
-
return { quantity, updatedAt: formatAttempDate(updatedAt) };
|
|
652
|
-
} catch (error) {
|
|
653
|
-
return { quantity: 0, updatedAt: "" };
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
async getUUID() {
|
|
657
|
-
try {
|
|
658
|
-
const route = "/api/orders/get-pusher-uuid";
|
|
659
|
-
const { data } = await this.apiService.get(route);
|
|
660
|
-
return data.data || "";
|
|
661
|
-
} catch (error) {
|
|
662
|
-
return "";
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
async has() {
|
|
666
|
-
try {
|
|
667
|
-
const route = "/api/order-statuses/exists-pending-integration";
|
|
668
|
-
const response = await this.apiService.get(route);
|
|
669
|
-
return response.data.data.exists;
|
|
670
|
-
} catch (error) {
|
|
671
|
-
return false;
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
const ordersReintegrateService = new OrdersReintegrateService(ApiService);
|
|
676
|
-
const pusher_key = "13180f6f668fb558d0c1";
|
|
677
|
-
const PUSHER_CLUSTER = "mt1";
|
|
678
|
-
const PUSHER_EVENT = "notify.order-integrated";
|
|
679
|
-
class OrdersPendingIntegratePusher {
|
|
680
|
-
constructor() {
|
|
681
|
-
__publicField(this, "pusher");
|
|
682
|
-
this.pusher = new Pusher(pusher_key, { cluster: PUSHER_CLUSTER });
|
|
683
|
-
}
|
|
684
|
-
on(uuid, callback) {
|
|
685
|
-
this.subscribe(uuid, PUSHER_EVENT, (data) => {
|
|
686
|
-
try {
|
|
687
|
-
callback(data);
|
|
688
|
-
} catch {
|
|
689
|
-
}
|
|
690
|
-
});
|
|
691
|
-
}
|
|
692
|
-
off(channel) {
|
|
693
|
-
this.unsubscribe(channel);
|
|
694
|
-
}
|
|
695
|
-
subscribe(channel, event, callback) {
|
|
696
|
-
this.pusher.subscribe(channel).bind(event, callback);
|
|
697
|
-
}
|
|
698
|
-
unsubscribe(channel) {
|
|
699
|
-
this.pusher.unsubscribe(channel);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
const ordersPendingIntegratePusher = new OrdersPendingIntegratePusher();
|
|
703
|
-
const initialized = ref(false);
|
|
704
|
-
const state$1 = reactive({
|
|
705
|
-
has: false,
|
|
706
|
-
isRunning: false,
|
|
707
|
-
uuid: "",
|
|
708
|
-
quantity: 0,
|
|
709
|
-
updatedAt: "",
|
|
710
|
-
disabled: true
|
|
711
|
-
});
|
|
712
|
-
const listenReintegrateProcess = async () => {
|
|
713
|
-
if (!state$1.uuid) return;
|
|
714
|
-
state$1.disabled = true;
|
|
715
|
-
ordersPendingIntegratePusher.on(state$1.uuid, (data) => {
|
|
716
|
-
var _a;
|
|
717
|
-
const quantity = Number((_a = data == null ? void 0 : data.message) == null ? void 0 : _a.orders_integrateds) || 0;
|
|
718
|
-
if (!quantity) return;
|
|
719
|
-
state$1.quantity = quantity;
|
|
720
|
-
state$1.updatedAt = (/* @__PURE__ */ new Date()).toISOString().replace(/T/, " às ").replace(/\..*/, "");
|
|
721
|
-
state$1.isRunning = false;
|
|
722
|
-
toaster.success({
|
|
723
|
-
title: t("orders.notification.reintegrate.feedback.successTitle"),
|
|
724
|
-
message: t("orders.notification.reintegrate.feedback.successTitle", { quantity })
|
|
725
|
-
});
|
|
726
|
-
});
|
|
727
|
-
};
|
|
728
|
-
const runReintegrate = async () => {
|
|
729
|
-
try {
|
|
730
|
-
state$1.isRunning = true;
|
|
731
|
-
const { uuid, error } = await ordersReintegrateService.reintegrateAll();
|
|
732
|
-
if (!uuid || error) {
|
|
733
|
-
throw new Error("Error reintegrating orders");
|
|
734
|
-
}
|
|
735
|
-
state$1.uuid = uuid;
|
|
736
|
-
listenReintegrateProcess();
|
|
737
|
-
} catch (error) {
|
|
738
|
-
console.error("Reintegrate error:", error);
|
|
739
|
-
state$1.isRunning = false;
|
|
740
|
-
toaster.error("Erro ao reintegrar pedidos");
|
|
741
|
-
}
|
|
742
|
-
};
|
|
743
|
-
const initialize$1 = async () => {
|
|
744
|
-
try {
|
|
745
|
-
initialized.value = true;
|
|
746
|
-
const data = await ordersReintegrateService.getData();
|
|
747
|
-
Object.assign(state$1, data);
|
|
748
|
-
if (state$1.isRunning) {
|
|
749
|
-
return listenReintegrateProcess();
|
|
750
|
-
}
|
|
751
|
-
} catch {
|
|
752
|
-
state$1.has = false;
|
|
753
|
-
state$1.disabled = true;
|
|
754
|
-
}
|
|
755
|
-
};
|
|
756
|
-
const useOrdersReintegrate = () => {
|
|
757
|
-
if (!initialized.value) initialize$1();
|
|
758
|
-
return {
|
|
759
|
-
...toRefs(state$1),
|
|
760
|
-
show: computed(() => {
|
|
761
|
-
var _a, _b;
|
|
762
|
-
return state$1.has && !!((_b = (_a = filter.value) == null ? void 0 : _a.status) == null ? void 0 : _b.includes("pendente_integracao"));
|
|
763
|
-
}),
|
|
764
|
-
runReintegrate,
|
|
765
|
-
initialize: initialize$1
|
|
766
|
-
};
|
|
767
|
-
};
|
|
768
|
-
const _hoisted_1$9 = { class: "flex flex-col gap-6" };
|
|
769
|
-
const _hoisted_2$4 = { class: "flex gap-6" };
|
|
770
|
-
const __default__$c = { name: "OrdersNotificationsAntifraud" };
|
|
771
|
-
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
772
|
-
...__default__$c,
|
|
773
|
-
setup(__props) {
|
|
774
|
-
const showModal = ref(true);
|
|
775
|
-
const APPMAX_LOGO = "https://admin.appmax.com.br/assets/admin/img/positive-appmax-logo.svg?v=20250212";
|
|
776
|
-
const REDIRECT_URL = "https://apps.shopify.com/appmax-antifraude?locale=pt-BR&st_source=autocomplete";
|
|
777
|
-
return (_ctx, _cache) => {
|
|
778
|
-
return openBlock(), createBlock(unref(script$3), {
|
|
779
|
-
visible: showModal.value,
|
|
780
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => showModal.value = $event),
|
|
781
|
-
modal: "",
|
|
782
|
-
header: _ctx.$t("orders.notification.antifraud.modal.header"),
|
|
783
|
-
class: "max-w-lg w-[90%]"
|
|
784
|
-
}, {
|
|
785
|
-
default: withCtx(() => [
|
|
786
|
-
createBaseVNode("div", _hoisted_1$9, [
|
|
787
|
-
createVNode(unref(y), {
|
|
788
|
-
variant: "subtitle",
|
|
789
|
-
class: "text-muted-color-emphasis",
|
|
790
|
-
"data-test": "antifraud-modal-header-subtitle"
|
|
791
|
-
}, {
|
|
792
|
-
default: withCtx(() => [
|
|
793
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.antifraud.modal.subtitle")), 1)
|
|
794
|
-
]),
|
|
795
|
-
_: 1
|
|
796
|
-
}),
|
|
797
|
-
createBaseVNode("div", _hoisted_2$4, [
|
|
798
|
-
createBaseVNode("img", {
|
|
799
|
-
alt: "Logo AppMax",
|
|
800
|
-
src: APPMAX_LOGO,
|
|
801
|
-
class: "object-contain",
|
|
802
|
-
"data-test": "antifraud-modal-logo"
|
|
803
|
-
}),
|
|
804
|
-
createBaseVNode("div", null, [
|
|
805
|
-
createVNode(unref(y), {
|
|
806
|
-
variant: "subtitle",
|
|
807
|
-
isStrong: "",
|
|
808
|
-
"data-test": "antifraud-modal-title"
|
|
809
|
-
}, {
|
|
810
|
-
default: withCtx(() => [
|
|
811
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.antifraud.modal.title")), 1)
|
|
812
|
-
]),
|
|
813
|
-
_: 1
|
|
814
|
-
}),
|
|
815
|
-
createVNode(unref(y), { "data-test": "antifraud-modal-text" }, {
|
|
816
|
-
default: withCtx(() => [
|
|
817
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.antifraud.modal.text")), 1)
|
|
818
|
-
]),
|
|
819
|
-
_: 1
|
|
820
|
-
})
|
|
821
|
-
])
|
|
822
|
-
]),
|
|
823
|
-
createVNode(unref($), {
|
|
824
|
-
size: "small",
|
|
825
|
-
href: REDIRECT_URL,
|
|
826
|
-
target: "_blank",
|
|
827
|
-
label: _ctx.$t("orders.notification.antifraud.modal.button"),
|
|
828
|
-
class: "self-end",
|
|
829
|
-
"data-test": "antifraud-modal-button"
|
|
830
|
-
}, null, 8, ["label"])
|
|
831
|
-
])
|
|
832
|
-
]),
|
|
833
|
-
_: 1
|
|
834
|
-
}, 8, ["visible", "header"]);
|
|
835
|
-
};
|
|
836
|
-
}
|
|
837
|
-
});
|
|
838
|
-
const _hoisted_1$8 = { class: "flex flex-col gap-6" };
|
|
839
|
-
const _hoisted_2$3 = { class: "d-flex justify-center gap-3" };
|
|
840
|
-
const __default__$b = { name: "OrdersNotificationsReintegrate" };
|
|
841
|
-
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
842
|
-
...__default__$b,
|
|
843
|
-
setup(__props) {
|
|
844
|
-
const { runReintegrate: runReintegrate2, isRunning, quantity, updatedAt, disabled } = useOrdersReintegrate();
|
|
845
|
-
const showModal = ref(false);
|
|
846
|
-
const openModal = () => showModal.value = true;
|
|
847
|
-
const closeModal = () => showModal.value = false;
|
|
848
|
-
const handleConfirm = () => {
|
|
849
|
-
closeModal();
|
|
850
|
-
runReintegrate2();
|
|
851
|
-
};
|
|
852
|
-
const HELPER_HREF = "https://help.appmax.com.br/pt-br/central-de-ajuda/como-resolver-pendentes-de-integra%C3%A7%C3%A3o";
|
|
853
|
-
return (_ctx, _cache) => {
|
|
854
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
855
|
-
createVNode(unref(R), {
|
|
856
|
-
title: _ctx.$t("orders.notification.reintegrate.title"),
|
|
857
|
-
dataTestPrefix: "reintegrate"
|
|
858
|
-
}, {
|
|
859
|
-
default: withCtx(() => [
|
|
860
|
-
createVNode(unref(y), null, {
|
|
861
|
-
default: withCtx(() => [
|
|
862
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.reintegrate.message")) + " ", 1),
|
|
863
|
-
createBaseVNode("a", {
|
|
864
|
-
href: HELPER_HREF,
|
|
865
|
-
target: "_blank",
|
|
866
|
-
class: "font-bold"
|
|
867
|
-
}, toDisplayString(_ctx.$t("orders.notification.reintegrate.link")), 1)
|
|
868
|
-
]),
|
|
869
|
-
_: 1
|
|
870
|
-
}),
|
|
871
|
-
unref(updatedAt) ? (openBlock(), createBlock(unref(y), {
|
|
872
|
-
key: 0,
|
|
873
|
-
class: "mt-2"
|
|
874
|
-
}, {
|
|
875
|
-
default: withCtx(() => [
|
|
876
|
-
createBaseVNode("span", null, toDisplayString(_ctx.$t("orders.notification.reintegrate.updatedAt", { updatedAt: unref(updatedAt) })), 1),
|
|
877
|
-
createBaseVNode("strong", null, toDisplayString(_ctx.$t("orders.notification.reintegrate.quantity", { quantity: unref(quantity) })), 1)
|
|
878
|
-
]),
|
|
879
|
-
_: 1
|
|
880
|
-
})) : createCommentVNode("", true)
|
|
881
|
-
]),
|
|
882
|
-
action: withCtx(() => [
|
|
883
|
-
unref(isRunning) ? (openBlock(), createBlock(unref($), {
|
|
884
|
-
key: 0,
|
|
885
|
-
size: "small",
|
|
886
|
-
severity: "warn",
|
|
887
|
-
disabled: "",
|
|
888
|
-
"data-test": "reintegrate-notification-running-button"
|
|
889
|
-
}, {
|
|
890
|
-
default: withCtx(() => [
|
|
891
|
-
createVNode(unref(P), {
|
|
892
|
-
variant: "material",
|
|
893
|
-
icon: "progress_activity",
|
|
894
|
-
size: "md",
|
|
895
|
-
class: "animate-spin",
|
|
896
|
-
"data-test": "reintegrate-notification-running-icon"
|
|
897
|
-
}),
|
|
898
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("orders.notification.reintegrate.running")), 1)
|
|
899
|
-
]),
|
|
900
|
-
_: 1
|
|
901
|
-
})) : (openBlock(), createBlock(unref($), {
|
|
902
|
-
key: 1,
|
|
903
|
-
size: "small",
|
|
904
|
-
severity: "warn",
|
|
905
|
-
disabled: unref(disabled),
|
|
906
|
-
"data-test": "reintegrate-notification-button",
|
|
907
|
-
onClick: openModal
|
|
908
|
-
}, {
|
|
909
|
-
default: withCtx(() => [
|
|
910
|
-
createVNode(unref(P), {
|
|
911
|
-
variant: "material",
|
|
912
|
-
icon: "refresh",
|
|
913
|
-
size: "md",
|
|
914
|
-
"data-test": "reintegrate-notification-icon"
|
|
915
|
-
}),
|
|
916
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("orders.notification.reintegrate.button")), 1)
|
|
917
|
-
]),
|
|
918
|
-
_: 1
|
|
919
|
-
}, 8, ["disabled"]))
|
|
920
|
-
]),
|
|
921
|
-
_: 1
|
|
922
|
-
}, 8, ["title"]),
|
|
923
|
-
createVNode(unref(script$3), {
|
|
924
|
-
visible: showModal.value,
|
|
925
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => showModal.value = $event),
|
|
926
|
-
modal: "",
|
|
927
|
-
header: _ctx.$t("orders.notification.reintegrate.dialogHeader"),
|
|
928
|
-
class: "max-w-md w-[90%]"
|
|
929
|
-
}, {
|
|
930
|
-
default: withCtx(() => [
|
|
931
|
-
createBaseVNode("div", _hoisted_1$8, [
|
|
932
|
-
createVNode(unref(y), {
|
|
933
|
-
variant: "subtitle",
|
|
934
|
-
"data-test": "reintegrate-dialog-text"
|
|
935
|
-
}, {
|
|
936
|
-
default: withCtx(() => [
|
|
937
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.reintegrate.confirm")), 1)
|
|
938
|
-
]),
|
|
939
|
-
_: 1
|
|
940
|
-
}),
|
|
941
|
-
createBaseVNode("div", _hoisted_2$3, [
|
|
942
|
-
createVNode(unref($), {
|
|
943
|
-
size: "small",
|
|
944
|
-
outlined: "",
|
|
945
|
-
fluid: "",
|
|
946
|
-
label: _ctx.$t("orders.notification.reintegrate.no"),
|
|
947
|
-
"data-test": "reintegrate-dialog-no-button",
|
|
948
|
-
onClick: closeModal
|
|
949
|
-
}, null, 8, ["label"]),
|
|
950
|
-
createVNode(unref($), {
|
|
951
|
-
size: "small",
|
|
952
|
-
fluid: "",
|
|
953
|
-
label: _ctx.$t("orders.notification.reintegrate.yes"),
|
|
954
|
-
"data-test": "reintegrate-dialog-yes-button",
|
|
955
|
-
onClick: handleConfirm
|
|
956
|
-
}, null, 8, ["label"])
|
|
957
|
-
])
|
|
958
|
-
])
|
|
959
|
-
]),
|
|
960
|
-
_: 1
|
|
961
|
-
}, 8, ["visible", "header"])
|
|
962
|
-
], 64);
|
|
963
|
-
};
|
|
964
|
-
}
|
|
965
|
-
});
|
|
966
|
-
const _hoisted_1$7 = { class: "list-disc list-inside mt-2 space-y-1" };
|
|
967
|
-
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
968
|
-
...{ name: "TransparencyAntifraudModal" },
|
|
969
|
-
__name: "TransparencyAntifraudModal",
|
|
970
|
-
setup(__props) {
|
|
971
|
-
const { assignTransparencyModalInteraction: assignTransparencyModalInteraction2, showTransparencyModal } = useOrdersNotification();
|
|
972
|
-
return (_ctx, _cache) => {
|
|
973
|
-
return openBlock(), createBlock(unref(script$3), {
|
|
974
|
-
visible: unref(showTransparencyModal),
|
|
975
|
-
"onUpdate:visible": [
|
|
976
|
-
_cache[0] || (_cache[0] = ($event) => isRef(showTransparencyModal) ? showTransparencyModal.value = $event : null),
|
|
977
|
-
unref(assignTransparencyModalInteraction2)
|
|
978
|
-
],
|
|
979
|
-
modal: "",
|
|
980
|
-
header: _ctx.$t("orders.transparency.header"),
|
|
981
|
-
class: "max-w-lg w-[90%]",
|
|
982
|
-
"pt:title": "!w-full !text-center",
|
|
983
|
-
"pt:content": "!grid !gap-4"
|
|
984
|
-
}, {
|
|
985
|
-
default: withCtx(() => [
|
|
986
|
-
createVNode(unref(script$2), {
|
|
987
|
-
class: "!bg-surface-200 !border-surface-300",
|
|
988
|
-
"pt:content": "!pb-0",
|
|
989
|
-
"pt:header": "!hidden"
|
|
990
|
-
}, {
|
|
991
|
-
default: withCtx(() => [
|
|
992
|
-
createVNode(unref(script$2), {
|
|
993
|
-
class: "!pointer-events-none !rounded-none !border-0",
|
|
994
|
-
"pt:headeractions": "!hidden",
|
|
995
|
-
"pt:header": "pb-3"
|
|
996
|
-
}, {
|
|
997
|
-
header: withCtx(() => [
|
|
998
|
-
createVNode(OrderStatusChip, {
|
|
999
|
-
status: "recusado_por_risco",
|
|
1000
|
-
type: "danger",
|
|
1001
|
-
label: _ctx.$t("orders.status.recusado_por_risco.label")
|
|
1002
|
-
}, null, 8, ["label"]),
|
|
1003
|
-
createVNode(unref(f), { icon: "close" })
|
|
1004
|
-
]),
|
|
1005
|
-
default: withCtx(() => [
|
|
1006
|
-
createVNode(unref(y), null, {
|
|
1007
|
-
default: withCtx(() => [
|
|
1008
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.status.recusado_por_risco.text")), 1)
|
|
1009
|
-
]),
|
|
1010
|
-
_: 1
|
|
1011
|
-
}),
|
|
1012
|
-
createVNode(unref($), {
|
|
1013
|
-
outlined: "",
|
|
1014
|
-
size: "small",
|
|
1015
|
-
class: "!text-primary mt-4",
|
|
1016
|
-
label: _ctx.$t("orders.status.linkLabel")
|
|
1017
|
-
}, null, 8, ["label"]),
|
|
1018
|
-
createVNode(unref(script$4)),
|
|
1019
|
-
createVNode(unref(y), { class: "rounded bg-surface-200 w-fit px-2 py-1" }, {
|
|
1020
|
-
default: withCtx(() => [
|
|
1021
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.status.refusal")), 1)
|
|
1022
|
-
]),
|
|
1023
|
-
_: 1
|
|
1024
|
-
}),
|
|
1025
|
-
createBaseVNode("ul", _hoisted_1$7, [
|
|
1026
|
-
createVNode(unref(y), { as: "li" }, {
|
|
1027
|
-
default: withCtx(() => [
|
|
1028
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.transparency.refusalExemples.phone")), 1)
|
|
1029
|
-
]),
|
|
1030
|
-
_: 1
|
|
1031
|
-
}),
|
|
1032
|
-
createVNode(unref(y), { as: "li" }, {
|
|
1033
|
-
default: withCtx(() => [
|
|
1034
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.transparency.refusalExemples.email")), 1)
|
|
1035
|
-
]),
|
|
1036
|
-
_: 1
|
|
1037
|
-
})
|
|
1038
|
-
])
|
|
1039
|
-
]),
|
|
1040
|
-
_: 1
|
|
1041
|
-
})
|
|
1042
|
-
]),
|
|
1043
|
-
_: 1
|
|
1044
|
-
}),
|
|
1045
|
-
createVNode(unref(y), {
|
|
1046
|
-
variant: "title",
|
|
1047
|
-
size: "small",
|
|
1048
|
-
isStrong: "",
|
|
1049
|
-
class: "w-full text-center",
|
|
1050
|
-
"data-test": "transparency-antifraud-subtitle"
|
|
1051
|
-
}, {
|
|
1052
|
-
default: withCtx(() => [
|
|
1053
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.transparency.subtitle")), 1)
|
|
1054
|
-
]),
|
|
1055
|
-
_: 1
|
|
1056
|
-
}),
|
|
1057
|
-
createVNode(unref(y), {
|
|
1058
|
-
variant: "subtitle",
|
|
1059
|
-
class: "w-full text-center",
|
|
1060
|
-
"data-test": "transparency-antifraud-description"
|
|
1061
|
-
}, {
|
|
1062
|
-
default: withCtx(() => [
|
|
1063
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.transparency.description")), 1)
|
|
1064
|
-
]),
|
|
1065
|
-
_: 1
|
|
1066
|
-
})
|
|
1067
|
-
]),
|
|
1068
|
-
_: 1
|
|
1069
|
-
}, 8, ["visible", "header", "onUpdate:visible"]);
|
|
1070
|
-
};
|
|
1071
|
-
}
|
|
1072
|
-
});
|
|
1073
|
-
const __default__$a = { name: "OrdersNotifications" };
|
|
1074
|
-
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
1075
|
-
...__default__$a,
|
|
1076
|
-
setup(__props) {
|
|
1077
|
-
const { shopifyAntifraudMissing, showTransparencyModal } = useOrdersNotification();
|
|
1078
|
-
const { show: showOrdersReintegrate } = useOrdersReintegrate();
|
|
1079
|
-
return (_ctx, _cache) => {
|
|
1080
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1081
|
-
unref(showTransparencyModal) ? (openBlock(), createBlock(_sfc_main$c, { key: 0 })) : createCommentVNode("", true),
|
|
1082
|
-
unref(shopifyAntifraudMissing) ? (openBlock(), createBlock(_sfc_main$e, { key: 1 })) : createCommentVNode("", true),
|
|
1083
|
-
unref(showOrdersReintegrate) ? (openBlock(), createBlock(_sfc_main$d, { key: 2 })) : createCommentVNode("", true)
|
|
1084
|
-
], 64);
|
|
1085
|
-
};
|
|
1086
|
-
}
|
|
1087
|
-
});
|
|
1088
|
-
class OrdersExportService {
|
|
1089
|
-
constructor(apiService) {
|
|
1090
|
-
this.apiService = apiService;
|
|
1091
|
-
}
|
|
1092
|
-
async sendOrdersToExport(emails, filter2) {
|
|
1093
|
-
const route = "/api/orders/export-orders";
|
|
1094
|
-
const payload = this.serializePayload(emails, filter2);
|
|
1095
|
-
return this.apiService.post(route, payload);
|
|
1096
|
-
}
|
|
1097
|
-
serializePayload(emails, filter2) {
|
|
1098
|
-
const params = filterToParams(filter2);
|
|
1099
|
-
const payload = { emails };
|
|
1100
|
-
for (const key in params) {
|
|
1101
|
-
const value = params[key];
|
|
1102
|
-
if (!value) continue;
|
|
1103
|
-
if (/date/.test(key)) continue;
|
|
1104
|
-
payload[key] = value;
|
|
1105
|
-
}
|
|
1106
|
-
if (params.date_from && params.date_to) {
|
|
1107
|
-
payload["date"] = [params.date_from, params.date_to];
|
|
1108
|
-
}
|
|
1109
|
-
return payload;
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1112
|
-
const ordersExportService = new OrdersExportService(ApiService);
|
|
1113
|
-
const state = reactive({
|
|
1114
|
-
email: "",
|
|
1115
|
-
hasPermissionToExport: false,
|
|
1116
|
-
isVisibleModal: false,
|
|
1117
|
-
requestingExport: false
|
|
1118
|
-
});
|
|
1119
|
-
const EXPORT_ORDERS_PERMISSION = "admin:spa-orders.user-has-export-permission";
|
|
1120
|
-
const setModalVisibility = (value) => {
|
|
1121
|
-
state.isVisibleModal = value;
|
|
1122
|
-
};
|
|
1123
|
-
const initialize = async () => {
|
|
1124
|
-
var _a;
|
|
1125
|
-
state.email = (_a = userService.data) == null ? void 0 : _a.user.email;
|
|
1126
|
-
state.hasPermissionToExport = userService.hasPermission(EXPORT_ORDERS_PERMISSION);
|
|
1127
|
-
};
|
|
1128
|
-
const useOrdersExport = () => {
|
|
1129
|
-
const emailSchema = z.object({
|
|
1130
|
-
default: z.string().optional().transform(() => state.email),
|
|
1131
|
-
opt1: z.string().optional().nullable().refine(
|
|
1132
|
-
(value) => !value || value.trim() === "" || z.string().email().safeParse(value).success,
|
|
1133
|
-
{
|
|
1134
|
-
message: t("orders.filter.export.feedback.email")
|
|
1135
|
-
}
|
|
1136
|
-
),
|
|
1137
|
-
opt2: z.string().optional().nullable().refine(
|
|
1138
|
-
(value) => !value || value.trim() === "" || z.string().email().safeParse(value).success,
|
|
1139
|
-
{
|
|
1140
|
-
message: t("orders.filter.export.feedback.email")
|
|
1141
|
-
}
|
|
1142
|
-
),
|
|
1143
|
-
opt3: z.string().optional().nullable().refine(
|
|
1144
|
-
(value) => !value || value.trim() === "" || z.string().email().safeParse(value).success,
|
|
1145
|
-
{
|
|
1146
|
-
message: t("orders.filter.export.feedback.email")
|
|
1147
|
-
}
|
|
1148
|
-
)
|
|
1149
|
-
});
|
|
1150
|
-
const exportOrders = async (emails) => {
|
|
1151
|
-
try {
|
|
1152
|
-
state.requestingExport = true;
|
|
1153
|
-
const { filter: filter2 } = useOrdersFilter();
|
|
1154
|
-
await ordersExportService.sendOrdersToExport(emails, filter2.value);
|
|
1155
|
-
toaster.success({
|
|
1156
|
-
title: t("orders.filter.export.feedback.successTitle"),
|
|
1157
|
-
message: t("orders.filter.export.feedback.successText")
|
|
1158
|
-
});
|
|
1159
|
-
} catch {
|
|
1160
|
-
toaster.error({
|
|
1161
|
-
title: t("orders.filter.export.feedback.errorTitle"),
|
|
1162
|
-
message: t("orders.filter.export.feedback.errorText")
|
|
1163
|
-
});
|
|
1164
|
-
} finally {
|
|
1165
|
-
setModalVisibility(false);
|
|
1166
|
-
await delay();
|
|
1167
|
-
state.requestingExport = false;
|
|
1168
|
-
}
|
|
1169
|
-
};
|
|
1170
|
-
const formSubmit = ({ valid, values }) => {
|
|
1171
|
-
if (!valid) return;
|
|
1172
|
-
const emails = Object.values(values).filter(Boolean);
|
|
1173
|
-
return exportOrders(emails);
|
|
1174
|
-
};
|
|
1175
|
-
initialize();
|
|
1176
|
-
return {
|
|
1177
|
-
...toRefs(state),
|
|
1178
|
-
formSubmit,
|
|
1179
|
-
setModalVisibility,
|
|
1180
|
-
emailSchema
|
|
1181
|
-
};
|
|
1182
|
-
};
|
|
1183
|
-
const _hoisted_1$6 = { class: "flex gap-2 flex-wrap" };
|
|
1184
|
-
const __default__$9 = { name: "OrdersFilterChips" };
|
|
1185
|
-
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
1186
|
-
...__default__$9,
|
|
1187
|
-
setup(__props) {
|
|
1188
|
-
const { chips: chips2, onRemoveChip: onRemoveChip2 } = useOrdersFilter();
|
|
1189
|
-
return (_ctx, _cache) => {
|
|
1190
|
-
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
1191
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(chips2), (chip) => {
|
|
1192
|
-
return openBlock(), createBlock(unref(b), {
|
|
1193
|
-
removable: "",
|
|
1194
|
-
onRemove: ($event) => unref(onRemoveChip2)(chip),
|
|
1195
|
-
"data-test": "order-filter-chip"
|
|
1196
|
-
}, {
|
|
1197
|
-
default: withCtx(() => [
|
|
1198
|
-
createTextVNode(toDisplayString(_ctx.$t(chip.label || chip.value)), 1)
|
|
1199
|
-
]),
|
|
1200
|
-
_: 2
|
|
1201
|
-
}, 1032, ["onRemove"]);
|
|
1202
|
-
}), 256))
|
|
1203
|
-
]);
|
|
1204
|
-
};
|
|
1205
|
-
}
|
|
1206
|
-
});
|
|
1207
|
-
const _hoisted_1$5 = {
|
|
1208
|
-
key: 0,
|
|
1209
|
-
class: "grid gap-4 w-full"
|
|
1210
|
-
};
|
|
1211
|
-
const __default__$8 = { name: "OrdersExportModal" };
|
|
1212
|
-
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
1213
|
-
...__default__$8,
|
|
1214
|
-
setup(__props) {
|
|
1215
|
-
const { formSubmit, isVisibleModal, requestingExport, emailSchema, email } = useOrdersExport();
|
|
1216
|
-
const expanded = ref(false);
|
|
1217
|
-
return (_ctx, _cache) => {
|
|
1218
|
-
return openBlock(), createBlock(unref(script$3), {
|
|
1219
|
-
visible: unref(isVisibleModal),
|
|
1220
|
-
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => isRef(isVisibleModal) ? isVisibleModal.value = $event : null),
|
|
1221
|
-
modal: "",
|
|
1222
|
-
header: _ctx.$t("orders.filter.export.modal.title"),
|
|
1223
|
-
class: "w-[90%] sm:!w-[500px]"
|
|
1224
|
-
}, {
|
|
1225
|
-
default: withCtx(() => [
|
|
1226
|
-
unref(requestingExport) ? (openBlock(), createBlock(unref(C), {
|
|
1227
|
-
key: 0,
|
|
1228
|
-
"is-loading": "",
|
|
1229
|
-
class: "absolute"
|
|
1230
|
-
})) : createCommentVNode("", true),
|
|
1231
|
-
createBaseVNode("div", {
|
|
1232
|
-
class: normalizeClass(["grid gap-4", { invisible: unref(requestingExport) }])
|
|
1233
|
-
}, [
|
|
1234
|
-
createVNode(unref(y), {
|
|
1235
|
-
class: "text-center",
|
|
1236
|
-
variant: "subtitle",
|
|
1237
|
-
"data-test": "orders-export-modal-subtitle"
|
|
1238
|
-
}, {
|
|
1239
|
-
default: withCtx(() => [
|
|
1240
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.filter.export.modal.text")) + " ", 1),
|
|
1241
|
-
createBaseVNode("strong", null, toDisplayString(unref(email)), 1)
|
|
1242
|
-
]),
|
|
1243
|
-
_: 1
|
|
1244
|
-
}),
|
|
1245
|
-
!expanded.value ? (openBlock(), createBlock(unref($), {
|
|
1246
|
-
key: 0,
|
|
1247
|
-
text: "",
|
|
1248
|
-
"data-test": "orders-export-modal-expand-button",
|
|
1249
|
-
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = true)
|
|
1250
|
-
}, {
|
|
1251
|
-
default: withCtx(() => [
|
|
1252
|
-
createVNode(unref(P), { icon: "add" }),
|
|
1253
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("orders.filter.export.modal.add")), 1)
|
|
1254
|
-
]),
|
|
1255
|
-
_: 1
|
|
1256
|
-
})) : createCommentVNode("", true),
|
|
1257
|
-
createVNode(unref(B), {
|
|
1258
|
-
class: "grid gap-4 w-full",
|
|
1259
|
-
autocomplete: "off",
|
|
1260
|
-
schema: unref(emailSchema),
|
|
1261
|
-
onSubmit: unref(formSubmit)
|
|
1262
|
-
}, {
|
|
1263
|
-
default: withCtx(($form) => [
|
|
1264
|
-
expanded.value ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
1265
|
-
createVNode(unref(B$1), {
|
|
1266
|
-
name: "opt1",
|
|
1267
|
-
"data-test-prefix": "orders-export-modal-email-input-opt1",
|
|
1268
|
-
placeholder: _ctx.$t("orders.filter.export.modal.placeholder"),
|
|
1269
|
-
autocomplete: "off"
|
|
1270
|
-
}, null, 8, ["placeholder"]),
|
|
1271
|
-
createVNode(unref(B$1), {
|
|
1272
|
-
name: "opt2",
|
|
1273
|
-
"data-test-prefix": "orders-export-modal-email-input-opt2",
|
|
1274
|
-
placeholder: _ctx.$t("orders.filter.export.modal.placeholder"),
|
|
1275
|
-
autocomplete: "off"
|
|
1276
|
-
}, null, 8, ["placeholder"]),
|
|
1277
|
-
createVNode(unref(B$1), {
|
|
1278
|
-
name: "opt3",
|
|
1279
|
-
"data-test-prefix": "orders-export-modal-email-input-opt3",
|
|
1280
|
-
placeholder: _ctx.$t("orders.filter.export.modal.placeholder"),
|
|
1281
|
-
autocomplete: "off"
|
|
1282
|
-
}, null, 8, ["placeholder"])
|
|
1283
|
-
])) : createCommentVNode("", true),
|
|
1284
|
-
createVNode(unref($), {
|
|
1285
|
-
type: "submit",
|
|
1286
|
-
disabled: !$form.valid,
|
|
1287
|
-
label: _ctx.$t("orders.filter.export.modal.button"),
|
|
1288
|
-
"data-test": "orders-export-modal-submit-button"
|
|
1289
|
-
}, null, 8, ["disabled", "label"])
|
|
1290
|
-
]),
|
|
1291
|
-
_: 1
|
|
1292
|
-
}, 8, ["schema", "onSubmit"])
|
|
1293
|
-
], 2)
|
|
1294
|
-
]),
|
|
1295
|
-
_: 1
|
|
1296
|
-
}, 8, ["visible", "header"]);
|
|
1297
|
-
};
|
|
1298
|
-
}
|
|
1299
|
-
});
|
|
1300
|
-
const __default__$7 = { name: "OrdersExport" };
|
|
1301
|
-
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
1302
|
-
...__default__$7,
|
|
1303
|
-
setup(__props) {
|
|
1304
|
-
const { setModalVisibility: setModalVisibility2 } = useOrdersExport();
|
|
1305
|
-
return (_ctx, _cache) => {
|
|
1306
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1307
|
-
createVNode(unref($), {
|
|
1308
|
-
type: "button",
|
|
1309
|
-
class: "min-w-[140px] w-full md:w-fit",
|
|
1310
|
-
outlined: "",
|
|
1311
|
-
"data-test": "order-export-button",
|
|
1312
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(setModalVisibility2)(true))
|
|
1313
|
-
}, {
|
|
1314
|
-
default: withCtx(() => [
|
|
1315
|
-
createVNode(unref(P), {
|
|
1316
|
-
variant: "svg",
|
|
1317
|
-
icon: "csv",
|
|
1318
|
-
size: "md",
|
|
1319
|
-
color: "primary-500"
|
|
1320
|
-
}),
|
|
1321
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("orders.filter.export.button")), 1)
|
|
1322
|
-
]),
|
|
1323
|
-
_: 1
|
|
1324
|
-
}),
|
|
1325
|
-
createVNode(_sfc_main$9)
|
|
1326
|
-
], 64);
|
|
1327
|
-
};
|
|
1328
|
-
}
|
|
1329
|
-
});
|
|
1330
|
-
const __default__$6 = { name: "OrdersFilterSearch" };
|
|
1331
|
-
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
1332
|
-
...__default__$6,
|
|
1333
|
-
setup(__props) {
|
|
1334
|
-
const { isSearchDisabled, onSearch: onSearch2 } = useOrdersFilter();
|
|
1335
|
-
const search = ref("");
|
|
1336
|
-
const showHelper = ref(false);
|
|
1337
|
-
const handleSubmit = () => {
|
|
1338
|
-
if (search.value.length < 3) {
|
|
1339
|
-
showHelper.value = true;
|
|
1340
|
-
return;
|
|
1341
|
-
}
|
|
1342
|
-
onSearch2(search.value);
|
|
1343
|
-
search.value = "";
|
|
1344
|
-
showHelper.value = false;
|
|
1345
|
-
};
|
|
1346
|
-
const isInvalid = computed(() => {
|
|
1347
|
-
if (!search.value.length) return false;
|
|
1348
|
-
return showHelper.value && search.value.length < 3;
|
|
1349
|
-
});
|
|
1350
|
-
const disabledSubmit = computed(
|
|
1351
|
-
() => isSearchDisabled.value || isInvalid.value || !search.value.length
|
|
1352
|
-
);
|
|
1353
|
-
return (_ctx, _cache) => {
|
|
1354
|
-
return openBlock(), createElementBlock("form", {
|
|
1355
|
-
class: "grid w-full md:flex-1 gap-1",
|
|
1356
|
-
onSubmit: withModifiers(handleSubmit, ["prevent"])
|
|
1357
|
-
}, [
|
|
1358
|
-
createVNode(unref(script$5), null, {
|
|
1359
|
-
default: withCtx(() => [
|
|
1360
|
-
createVNode(unref(script$6), {
|
|
1361
|
-
modelValue: search.value,
|
|
1362
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
|
|
1363
|
-
class: "w-full",
|
|
1364
|
-
name: "search",
|
|
1365
|
-
invalid: isInvalid.value,
|
|
1366
|
-
disabled: unref(isSearchDisabled),
|
|
1367
|
-
"data-test": "sales-order-home-search-input",
|
|
1368
|
-
placeholder: _ctx.$t("orders.filter.search.placeholder")
|
|
1369
|
-
}, null, 8, ["modelValue", "invalid", "disabled", "placeholder"]),
|
|
1370
|
-
createVNode(unref($), {
|
|
1371
|
-
type: "submit",
|
|
1372
|
-
disabled: disabledSubmit.value,
|
|
1373
|
-
"data-test": "sales-order-home-search-button"
|
|
1374
|
-
}, {
|
|
1375
|
-
default: withCtx(() => [
|
|
1376
|
-
createVNode(unref(P), { icon: "search" })
|
|
1377
|
-
]),
|
|
1378
|
-
_: 1
|
|
1379
|
-
}, 8, ["disabled"])
|
|
1380
|
-
]),
|
|
1381
|
-
_: 1
|
|
1382
|
-
}),
|
|
1383
|
-
isInvalid.value ? (openBlock(), createBlock(unref(y), {
|
|
1384
|
-
key: 0,
|
|
1385
|
-
class: "text-error mt-1",
|
|
1386
|
-
size: "small",
|
|
1387
|
-
"data-test": "sales-order-home-search-error"
|
|
1388
|
-
}, {
|
|
1389
|
-
default: withCtx(() => [
|
|
1390
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.filter.search.message")), 1)
|
|
1391
|
-
]),
|
|
1392
|
-
_: 1
|
|
1393
|
-
})) : createCommentVNode("", true)
|
|
1394
|
-
], 32);
|
|
1395
|
-
};
|
|
1396
|
-
}
|
|
1397
|
-
});
|
|
1398
|
-
const _hoisted_1$4 = { class: "flex items-center gap-1" };
|
|
1399
|
-
const __default__$5 = { name: "OrdersFilterOptions" };
|
|
1400
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
1401
|
-
...__default__$5,
|
|
1402
|
-
setup(__props) {
|
|
1403
|
-
const { filter: filter2, fields: fields2, onChangeFilter: onChangeFilter2 } = useOrdersFilter();
|
|
1404
|
-
const visible = ref(false);
|
|
1405
|
-
const openFilter = () => visible.value = true;
|
|
1406
|
-
watch(
|
|
1407
|
-
() => visible.value,
|
|
1408
|
-
(newValue) => supportChatHelper.toggle(!newValue)
|
|
1409
|
-
);
|
|
1410
|
-
return (_ctx, _cache) => {
|
|
1411
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1412
|
-
createVNode(unref($), {
|
|
1413
|
-
outlined: "",
|
|
1414
|
-
class: "w-full md:w-fit min-w-[140px]",
|
|
1415
|
-
"data-test": "order-list-toggle-filters-button",
|
|
1416
|
-
onClick: openFilter
|
|
1417
|
-
}, {
|
|
1418
|
-
default: withCtx(() => [
|
|
1419
|
-
createBaseVNode("div", _hoisted_1$4, [
|
|
1420
|
-
createVNode(unref(P), { icon: "filter_list" }),
|
|
1421
|
-
createBaseVNode("span", null, toDisplayString(_ctx.$t("orders.filter.options.button")), 1)
|
|
1422
|
-
])
|
|
1423
|
-
]),
|
|
1424
|
-
_: 1
|
|
1425
|
-
}),
|
|
1426
|
-
createVNode(unref(ke), {
|
|
1427
|
-
visible: visible.value,
|
|
1428
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
1429
|
-
title: _ctx.$t("orders.filter.title"),
|
|
1430
|
-
confirmButtonText: _ctx.$t("orders.filter.buttons.confirm"),
|
|
1431
|
-
buttonClearText: _ctx.$t("orders.filter.buttons.clear"),
|
|
1432
|
-
buttonApplyText: _ctx.$t("orders.filter.buttons.apply"),
|
|
1433
|
-
fields: unref(fields2),
|
|
1434
|
-
"model-value": unref(filter2),
|
|
1435
|
-
"data-test-prefix": "orders-filter",
|
|
1436
|
-
"onUpdate:modelValue": unref(onChangeFilter2)
|
|
1437
|
-
}, null, 8, ["visible", "title", "confirmButtonText", "buttonClearText", "buttonApplyText", "fields", "model-value", "onUpdate:modelValue"])
|
|
1438
|
-
], 64);
|
|
1439
|
-
};
|
|
1440
|
-
}
|
|
1441
|
-
});
|
|
1442
|
-
const _hoisted_1$3 = { class: "flex flex-wrap items-start gap-2" };
|
|
1443
|
-
const __default__$4 = { name: "OrdersFilter" };
|
|
1444
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
1445
|
-
...__default__$4,
|
|
1446
|
-
setup(__props) {
|
|
1447
|
-
const { hasPermissionToExport } = useOrdersExport();
|
|
1448
|
-
return (_ctx, _cache) => {
|
|
1449
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1450
|
-
createBaseVNode("div", _hoisted_1$3, [
|
|
1451
|
-
createVNode(_sfc_main$7),
|
|
1452
|
-
createVNode(_sfc_main$6),
|
|
1453
|
-
unref(hasPermissionToExport) ? (openBlock(), createBlock(_sfc_main$8, { key: 0 })) : createCommentVNode("", true)
|
|
1454
|
-
]),
|
|
1455
|
-
createVNode(_sfc_main$a)
|
|
1456
|
-
], 64);
|
|
1457
|
-
};
|
|
1458
|
-
}
|
|
1459
|
-
});
|
|
1460
|
-
const __default__$3 = { name: "OrdersPresetsFilter" };
|
|
1461
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
1462
|
-
...__default__$3,
|
|
1463
|
-
setup(__props) {
|
|
1464
|
-
const { presets, onChangeFilter: onChangeFilter2, tab } = useOrdersFilter();
|
|
1465
|
-
const { has: hasOrdersReintegrate } = useOrdersReintegrate();
|
|
1466
|
-
return (_ctx, _cache) => {
|
|
1467
|
-
return openBlock(), createBlock(unref(script$7), {
|
|
1468
|
-
value: unref(tab),
|
|
1469
|
-
"data-test": "order-pages-tabs",
|
|
1470
|
-
scrollable: ""
|
|
1471
|
-
}, {
|
|
1472
|
-
default: withCtx(() => [
|
|
1473
|
-
createVNode(unref(script$8), { "data-test": "order-pages-tab-list" }, {
|
|
1474
|
-
default: withCtx(() => [
|
|
1475
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(presets), (tab2, index) => {
|
|
1476
|
-
return openBlock(), createBlock(unref(script$9), {
|
|
1477
|
-
key: tab2.id,
|
|
1478
|
-
value: index,
|
|
1479
|
-
class: "flex items-center justify-center gap-1 !p-3 flex-auto",
|
|
1480
|
-
"data-test": `order-pages-tab-button-${tab2.id}`,
|
|
1481
|
-
onClick: ($event) => unref(onChangeFilter2)(tab2.filter, index)
|
|
1482
|
-
}, {
|
|
1483
|
-
default: withCtx(() => [
|
|
1484
|
-
tab2.id === "pending_integration" || tab2.id === "pending_tracking_codes" ? (openBlock(), createBlock(unref(P), {
|
|
1485
|
-
key: 0,
|
|
1486
|
-
icon: "warning",
|
|
1487
|
-
class: normalizeClass(unref(hasOrdersReintegrate) ? "text-warning-500" : "text-gray-500")
|
|
1488
|
-
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
1489
|
-
createVNode(unref(y), {
|
|
1490
|
-
class: "text-wrap",
|
|
1491
|
-
"data-test": `order-pages-tab-label-${tab2.id}`
|
|
1492
|
-
}, {
|
|
1493
|
-
default: withCtx(() => [
|
|
1494
|
-
createTextVNode(toDisplayString(unref(t)(tab2.label)), 1)
|
|
1495
|
-
]),
|
|
1496
|
-
_: 2
|
|
1497
|
-
}, 1032, ["data-test"])
|
|
1498
|
-
]),
|
|
1499
|
-
_: 2
|
|
1500
|
-
}, 1032, ["value", "data-test", "onClick"]);
|
|
1501
|
-
}), 128))
|
|
1502
|
-
]),
|
|
1503
|
-
_: 1
|
|
1504
|
-
})
|
|
1505
|
-
]),
|
|
1506
|
-
_: 1
|
|
1507
|
-
}, 8, ["value"]);
|
|
1508
|
-
};
|
|
1509
|
-
}
|
|
1510
|
-
});
|
|
1511
|
-
const _hoisted_1$2 = { class: "flex items-center gap-1" };
|
|
1512
|
-
const _hoisted_2$2 = ["href", "data-test"];
|
|
1513
|
-
const __default__$2 = { name: "OrdersPresetsMore" };
|
|
1514
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
1515
|
-
...__default__$2,
|
|
1516
|
-
setup(__props) {
|
|
1517
|
-
const { more } = useOrdersFilter();
|
|
1518
|
-
const menu = ref();
|
|
1519
|
-
const toggle = (event) => {
|
|
1520
|
-
var _a;
|
|
1521
|
-
return (_a = menu.value) == null ? void 0 : _a.toggle(event);
|
|
1522
|
-
};
|
|
1523
|
-
return (_ctx, _cache) => {
|
|
1524
|
-
return unref(more).length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1525
|
-
createVNode(unref($), {
|
|
1526
|
-
class: "text-nowrap w-full md:w-fit min-w-[140px]",
|
|
1527
|
-
outlined: "",
|
|
1528
|
-
onClick: toggle,
|
|
1529
|
-
"data-test": "order-pages-more-button"
|
|
1530
|
-
}, {
|
|
1531
|
-
default: withCtx(() => [
|
|
1532
|
-
createBaseVNode("div", _hoisted_1$2, [
|
|
1533
|
-
createBaseVNode("span", null, toDisplayString(unref(t)("orders.filter.presets.options.button")), 1),
|
|
1534
|
-
createVNode(unref(P), { icon: "arrow_drop_down" })
|
|
1535
|
-
])
|
|
1536
|
-
]),
|
|
1537
|
-
_: 1
|
|
1538
|
-
}),
|
|
1539
|
-
createVNode(unref(script$a), {
|
|
1540
|
-
ref_key: "menu",
|
|
1541
|
-
ref: menu,
|
|
1542
|
-
model: unref(more),
|
|
1543
|
-
popup: ""
|
|
1544
|
-
}, {
|
|
1545
|
-
item: withCtx(({ item }) => [
|
|
1546
|
-
createBaseVNode("a", {
|
|
1547
|
-
href: item.href,
|
|
1548
|
-
class: "px-4 py-3 flex min-w-[220px]",
|
|
1549
|
-
"data-test": `order-pages-more-item-${item.label}`
|
|
1550
|
-
}, toDisplayString(unref(t)(typeof item.label === "string" ? item.label : "")), 9, _hoisted_2$2)
|
|
1551
|
-
]),
|
|
1552
|
-
_: 1
|
|
1553
|
-
}, 8, ["model"])
|
|
1554
|
-
], 64)) : createCommentVNode("", true);
|
|
1555
|
-
};
|
|
1556
|
-
}
|
|
1557
|
-
});
|
|
1558
|
-
const _hoisted_1$1 = { class: "flex flex-col md:!flex-row gap-4 items-end w-full overflow-hidden" };
|
|
1559
|
-
const _hoisted_2$1 = { class: "w-full overflow-hidden" };
|
|
1560
|
-
const __default__$1 = { name: "OrdersPresets" };
|
|
1561
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
1562
|
-
...__default__$1,
|
|
1563
|
-
setup(__props) {
|
|
1564
|
-
return (_ctx, _cache) => {
|
|
1565
|
-
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
1566
|
-
createBaseVNode("div", _hoisted_2$1, [
|
|
1567
|
-
createVNode(_sfc_main$4)
|
|
1568
|
-
]),
|
|
1569
|
-
createVNode(_sfc_main$3)
|
|
1570
|
-
]);
|
|
1571
|
-
};
|
|
1572
|
-
}
|
|
1573
|
-
});
|
|
1574
|
-
const _hoisted_1 = {
|
|
1575
|
-
key: 0,
|
|
1576
|
-
class: "flex justify-between items-center gap-2"
|
|
1577
|
-
};
|
|
1578
|
-
const _hoisted_2 = { class: "flex gap-2" };
|
|
1579
|
-
const __default__ = { name: "OrdersPagination" };
|
|
1580
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
1581
|
-
...__default__,
|
|
1582
|
-
setup(__props) {
|
|
1583
|
-
const { page, pageSize, hasNextPage, showPagination: showPagination2, onChangePage: onChangePage2 } = useOrdersFilter();
|
|
1584
|
-
return (_ctx, _cache) => {
|
|
1585
|
-
return unref(showPagination2) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
1586
|
-
unref(pageSize) ? (openBlock(), createBlock(unref(y), { key: 0 }, {
|
|
1587
|
-
default: withCtx(() => [
|
|
1588
|
-
createTextVNode(toDisplayString(unref(t)("orders.list.pagination", { page: unref(page), pageSize: unref(pageSize) })), 1)
|
|
1589
|
-
]),
|
|
1590
|
-
_: 1
|
|
1591
|
-
})) : (openBlock(), createBlock(unref(y), { key: 1 }, {
|
|
1592
|
-
default: withCtx(() => [
|
|
1593
|
-
createTextVNode(toDisplayString(unref(t)("orders.list.currentPage", { page: unref(page) })), 1)
|
|
1594
|
-
]),
|
|
1595
|
-
_: 1
|
|
1596
|
-
})),
|
|
1597
|
-
createBaseVNode("div", _hoisted_2, [
|
|
1598
|
-
createVNode(unref(f), {
|
|
1599
|
-
icon: "chevron_left",
|
|
1600
|
-
disabled: unref(page) === 1,
|
|
1601
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(onChangePage2)(unref(page) - 1))
|
|
1602
|
-
}, null, 8, ["disabled"]),
|
|
1603
|
-
createVNode(unref(f), {
|
|
1604
|
-
icon: "chevron_right",
|
|
1605
|
-
disabled: !unref(hasNextPage),
|
|
1606
|
-
onClick: _cache[1] || (_cache[1] = ($event) => unref(onChangePage2)(unref(page) + 1))
|
|
1607
|
-
}, null, 8, ["disabled"])
|
|
1608
|
-
])
|
|
1609
|
-
])) : createCommentVNode("", true);
|
|
1610
|
-
};
|
|
1611
|
-
}
|
|
1612
|
-
});
|
|
1613
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1614
|
-
__name: "Orders.page",
|
|
1615
|
-
setup(__props) {
|
|
1616
|
-
const { isInitialized, initialize: initialize2 } = useOrdersFilter();
|
|
1617
|
-
onMounted(initialize2);
|
|
1618
|
-
return (_ctx, _cache) => {
|
|
1619
|
-
return openBlock(), createBlock(AmCardV3, { class: "grid gap-4" }, {
|
|
1620
|
-
default: withCtx(() => [
|
|
1621
|
-
unref(isInitialized) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1622
|
-
createVNode(_sfc_main$2),
|
|
1623
|
-
createVNode(_sfc_main$5),
|
|
1624
|
-
createVNode(_sfc_main$b)
|
|
1625
|
-
], 64)) : createCommentVNode("", true),
|
|
1626
|
-
createVNode(_sfc_main$f),
|
|
1627
|
-
createVNode(_sfc_main$1)
|
|
1628
|
-
]),
|
|
1629
|
-
_: 1
|
|
1630
|
-
});
|
|
1631
|
-
};
|
|
1632
|
-
}
|
|
1633
|
-
});
|
|
1634
|
-
export {
|
|
1635
|
-
_sfc_main as default
|
|
1636
|
-
};
|