appmax-client-vue3 5.0.7 → 5.0.8
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-DRbFShLY.js +16 -0
- package/dist/AE-DiMVenwy-BcXU6u3W.js +16 -0
- package/dist/AF-DOrptOkS-BoMuLN7S.js +16 -0
- package/dist/AG-CzBMAtom-Q0wFS21b.js +16 -0
- package/dist/AI-A2DnDGPS-DWTrZE8Z.js +16 -0
- package/dist/AL-BcGdPXjJ-DOynk-S4.js +16 -0
- package/dist/AM-BC_r4gTd-DKjmfMa3.js +16 -0
- package/dist/AO-D6GK49nd-BrIavzRy.js +16 -0
- package/dist/AQ-Eeziry42-BU64FVcI.js +16 -0
- package/dist/AR-AbqVWszQ-FEH_CG3b.js +16 -0
- package/dist/AS-BWe_Gq8Z-DGZm_aNo.js +16 -0
- package/dist/AT-b5CS9jSt-BLQsPNyK.js +16 -0
- package/dist/AU-BUbOyX6Q-DwJ5DptY.js +16 -0
- package/dist/AW-CjVdJTYe-CO3MND9G.js +16 -0
- package/dist/AX-lNtwEmw2-C6hViaiN.js +16 -0
- package/dist/AZ-f8zSo9ut-YL8XpBao.js +16 -0
- package/dist/AmBulletLegend-B2pkdEOE.js +23 -0
- package/dist/AmCardV3-CakGY86Z.js +22 -0
- package/dist/AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-DQFHhHIQ.js +36 -0
- package/dist/AmDoughnutChartAdapted-HgtZeCcr.js +203 -0
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-CTPY2YSP.js +86 -0
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-BXv2KnIr.js +40 -0
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-UnSR1Vba.js +46 -0
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-DIvxbYEl.js +63 -0
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-TGhWgTvu.js +53 -0
- package/dist/AmLayoutFeedbackState-DHqs9hZr.js +48 -0
- package/dist/AmLayoutInnerData-5bP8bXeY.js +162 -0
- package/dist/AmModalV3-DR6i6gUx.js +105 -0
- package/dist/AmOutlineCard-apIK8Nok.js +25 -0
- package/dist/AmSkeleton-CAPdsnd3.js +35 -0
- package/dist/AmText-DO6mjQgl.js +33 -0
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-yX6uCjkA.js +64 -0
- package/dist/ApiService-DuFZJsaL.js +11 -0
- package/dist/AppInstallationConfirmationPasswordModal-wIE-I7C8.js +535 -0
- package/dist/AppstoreAppView-Lc3b_JA9.js +315 -0
- package/dist/AppstoreHomeView-BX5BrjLa.js +1372 -0
- package/dist/BA-BfV7_7RP-ZvPt2oyX.js +16 -0
- package/dist/BB-CC4768VM-CU4cH8ha.js +16 -0
- package/dist/BD-YQdTTbhg-hKAxRyrj.js +16 -0
- package/dist/BE-DUYoRyei-CG8ZOzVp.js +16 -0
- package/dist/BF-XZRLkaHX-Eq0E0Uh9.js +16 -0
- package/dist/BG-BAb8lAFP-BXUIymFd.js +16 -0
- package/dist/BH-C1LTB8Fj-BpTCGq0-.js +16 -0
- package/dist/BI-RjDfMipp-RGRRJP7L.js +16 -0
- package/dist/BJ-DAv61IMB-D6mAO2GZ.js +16 -0
- package/dist/BL-CFW4iaQd-DN7d21rB.js +16 -0
- package/dist/BM-DuK3dA1G-CauJJpV0.js +16 -0
- package/dist/BN-BXHGopan-BitFVfTm.js +16 -0
- package/dist/BO-CzuoErsx-DlbG2Vz_.js +16 -0
- package/dist/BQ-BO-BlM1Uin3-k2K8-yhQ.js +16 -0
- package/dist/BQ-SA-BninfeHy-nXVLJKZq.js +16 -0
- package/dist/BQ-SE-tq-mCvpl-BASc9TNv.js +16 -0
- package/dist/BR-B1GEJ05L-C7IXqf7E.js +16 -0
- package/dist/BS-MeULPH4e-B0IOWMJA.js +16 -0
- package/dist/BT-BCfQJS6a-DnPc3pYI.js +16 -0
- package/dist/BV-CfaYWvM--C6s9jrO3.js +16 -0
- package/dist/BW-jYbPMHhQ-6pG9RxjA.js +16 -0
- package/dist/BY-Ddffd2rT-CKM6J23Z.js +16 -0
- package/dist/BZ-B7mGW2Jg-HnjrUktZ.js +16 -0
- package/dist/BankAccountCrossborderNew.page-BahGFGLp.js +152 -0
- package/dist/BankAccountList.page-lyv36SjK.js +331 -0
- package/dist/BankAccountNew.page-Cvb8BGgk.js +982 -0
- package/dist/CA-CHl-cqJL-a4TQfh-w.js +16 -0
- package/dist/CC-DSLZRwFz-BbFJM4eZ.js +16 -0
- package/dist/CD-D4NJYkQm-D5HyCIhg.js +16 -0
- package/dist/CF-DoxRpaA9-Bk8Ay7zP.js +16 -0
- package/dist/CG-Auzp6pC_-O4iY1Yh-.js +16 -0
- package/dist/CH-B5eEo1aL-CGABP5Q8.js +16 -0
- package/dist/CI-DFfmdeVw-S85khu3Z.js +16 -0
- package/dist/CK-CKWUhjXV-CE1KAnXf.js +16 -0
- package/dist/CL-Di6p-p6X-58nm_zri.js +16 -0
- package/dist/CM-B0ht31e3-CO0tuXU5.js +16 -0
- package/dist/CN-CKHlOciI--a_MVJFU.js +16 -0
- package/dist/CO-GBUkcePt-BBV10PJC.js +16 -0
- package/dist/CR-Daw5JsjF-BrJLABVB.js +16 -0
- package/dist/CU-CVOkcTvR-CZfvAdcE.js +16 -0
- package/dist/CV-cyPoze-o-Cy9KcouU.js +16 -0
- package/dist/CW-Bt-Pwg4j-RXhTnyZB.js +16 -0
- package/dist/CX-uhIZlYzy-B4J_ZgX8.js +16 -0
- package/dist/CY-un4rgwPX-BMFoKfZK.js +16 -0
- package/dist/CZ-equ-r4iN-DP-F93h-.js +16 -0
- package/dist/CashoutAntecipateContent-CR_mieMP.js +42 -0
- package/dist/ChargebackAnalytics-BlPDh-60.js +1701 -0
- package/dist/ChargebackDetail-B38LIJ1J.js +3469 -0
- package/dist/ChargebackRate-58S5tUzT.js +77 -0
- package/dist/ChatPlayground.page-D06HpSUA.js +508 -0
- package/dist/ConfirmationModal-DZS3sqcS.js +105 -0
- package/dist/Create.page-CxRbqoZU.js +1390 -0
- package/dist/CreatePaymentLink-BDRMV4JU.js +856 -0
- package/dist/DE-zx7UmJ-V-CV3UNBz-.js +16 -0
- package/dist/DJ-BN1kIFYT-BSJ5VKxz.js +16 -0
- package/dist/DK-CrXXNH_h-B5g1-7iK.js +16 -0
- package/dist/DM-B4nVdNww-BeW-7Oy5.js +16 -0
- package/dist/DO-C7-NF2JD-NsQY5SkV.js +16 -0
- package/dist/DZ-DSDLbNRb-TxkZRhch.js +16 -0
- package/dist/DashboardAmountDetailsContent-CF7H6OIY.js +65 -0
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-0HZPfbIx.js +151 -0
- package/dist/DashboardApprovalRateInternationalContent-C4GVKNOQ.js +19 -0
- package/dist/DashboardApprovalRateNationalContent-IULFsW6H.js +74 -0
- package/dist/DashboardCarouselContent-BMVqG5fX.js +958 -0
- package/dist/DashboardDetailsContent-D4WEpsYd.js +58 -0
- package/dist/DashboardHome-CYtJ0nfh.js +4247 -0
- package/dist/DetailSubscriptionRecurring-ulgWXmb_.js +1296 -0
- package/dist/EC-C_bjTYWm-BAkDHTK5.js +16 -0
- package/dist/EE-CQIjuoWO-B2-Obn6Z.js +16 -0
- package/dist/EG-Bs_BHfVR-Dj7SoRkb.js +16 -0
- package/dist/EH-CnWam84F-DJ_fhc11.js +16 -0
- package/dist/ER-Dcl4hJzq-DiF4pzSy.js +16 -0
- package/dist/ES-Bpj2gAdj-SLtQ1nQS.js +16 -0
- package/dist/ET-Dm3q0Ruz-CFwn0zEf.js +16 -0
- package/dist/ExternalPendenciesList-DHHMA-LL.js +651 -0
- package/dist/FI-DCqfJeiQ-DB0TMhMy.js +16 -0
- package/dist/FJ-C6UrGUgI-CeDIq8F3.js +16 -0
- package/dist/FK-CAaec31K-kr0lRfh5.js +16 -0
- package/dist/FM-Cf2SIJ7h-BY7-OrJi.js +16 -0
- package/dist/FO-DBb4psBV-BzcogWxp.js +16 -0
- package/dist/FR-CFW4iaQd-CQphemFz.js +16 -0
- package/dist/FeatureFlagsPage-D5KwOp6Z.js +271 -0
- package/dist/GA-D3NTxgTl-B4r7fuWc.js +16 -0
- package/dist/GB-ENG-Cmkg6Zq8-D2D9SiPn.js +16 -0
- package/dist/GB-NIR-DKszcfHi-CMwxsiP0.js +16 -0
- package/dist/GB-SCT-BiivwJ71-SFR1VIUu.js +16 -0
- package/dist/GB-UKM-DgMBd3ib-DYHIxlcz.js +16 -0
- package/dist/GB-WLS-DLoDy9iv-Dtzr3PSm.js +16 -0
- package/dist/GD-Bs1d4We7-DzXWtuP-.js +16 -0
- package/dist/GE-DXG9iLk5-BsqhiKYF.js +16 -0
- package/dist/GF-B20s5gtx-DO-uBb3J.js +16 -0
- package/dist/GG-BAyrpIoO-DGNuXhYq.js +16 -0
- package/dist/GH-v3jh5r1X-BghkK0Bi.js +16 -0
- package/dist/GI-D39Krd4s-h24HeHH7.js +16 -0
- package/dist/GL-BDd_W5AU-2g635Vbp.js +16 -0
- package/dist/GM-BNEHspzj-OviEvU6A.js +16 -0
- package/dist/GN-DdIZ0X6d-DI_81H-4.js +16 -0
- package/dist/GP-CFW4iaQd-DkDHaQqp.js +16 -0
- package/dist/GQ-CC3X6AMz-D_MjXLGg.js +16 -0
- package/dist/GR-C_0rusTd-DEi6E4Ii.js +16 -0
- package/dist/GS-Db5l22a1-BDpuRY3u.js +16 -0
- package/dist/GT-BhbkqUft-BOuy2UHz.js +16 -0
- package/dist/GU-C0HeItm1-DluiVtyy.js +16 -0
- package/dist/GW-BjLM1vg--C2jke7-_.js +16 -0
- package/dist/GY-BreBVlhN-DpQvtcu7.js +16 -0
- package/dist/HK-BZn9ZQGS-DyP9p672.js +16 -0
- package/dist/HM-BUbOyX6Q-BbGwQjih.js +16 -0
- package/dist/HN-D4wujIPC-DkTn-7Om.js +16 -0
- package/dist/HR-Jhi3QQ9F-BX1dpbVc.js +16 -0
- package/dist/HT-MMjMjr-R-DNZRt1la.js +16 -0
- package/dist/HU-CN5KmQ7F-B9fMorlx.js +16 -0
- package/dist/Home-BOqrHl5r.js +997 -0
- package/dist/ID-hVVUTKNG-BvDVnbm4.js +16 -0
- package/dist/IE-WN_vdKcS-BeHCMZm2.js +16 -0
- package/dist/IL-D5Wr_Xxh-DgogBteh.js +16 -0
- package/dist/IM-B-putc0k-B0Jw-LDk.js +16 -0
- package/dist/IN-CK40zbQD-D1o1UBy5.js +16 -0
- package/dist/IO-CdvLck7D-DxUZ5q8A.js +16 -0
- package/dist/IQ-f_9wyurt-Bientxy1.js +16 -0
- package/dist/IR-B0yfWttH-D4pO2wma.js +16 -0
- package/dist/IS-Dvf-XQTq-CDUpus5x.js +16 -0
- package/dist/IT-uY7cjdFI-CYfZrRbt.js +16 -0
- package/dist/ImportTrackingCode-BU2xvxWg.js +1007 -0
- package/dist/InternalCompanyIssuesDetail-CgrW6tqx.js +862 -0
- package/dist/InternalCompanyList-DSaBa2nW.js +351 -0
- package/dist/InternalPendencyDetail-mN6iNNg1.js +717 -0
- package/dist/JE-C95tN_VG-DsdbJR5e.js +16 -0
- package/dist/JM-zOuEwaB3-B7KnEjO0.js +16 -0
- package/dist/JO-Cq88rrOD-f3-XOSNU.js +16 -0
- package/dist/JP-5evXgWxq-QJlJ-n7-.js +16 -0
- package/dist/KE-PHx0d97Z-BTHFAiYm.js +16 -0
- package/dist/KG-DT4JnieX-UhcGQpLU.js +16 -0
- package/dist/KH-ChwV2WTT-Bm638udP.js +16 -0
- package/dist/KI-D212g4Lh-9Ip5VaQL.js +16 -0
- package/dist/KM-mPVp7AKS-VqYHKBaP.js +16 -0
- package/dist/KN-AdXLXICN-ccCSQrY4.js +16 -0
- package/dist/KP-CC6UIrEF-xIpDb6LA.js +16 -0
- package/dist/KR-BtnmWR6C-ByKbhIC4.js +16 -0
- package/dist/KW-gqahWVaw-CQyn-UF0.js +16 -0
- package/dist/KY-DjIb70VQ-DRvQx4oD.js +16 -0
- package/dist/KZ-C_fRihiO-BAYtQlVb.js +16 -0
- package/dist/LA-KIULJHAb-D_91F3qu.js +16 -0
- package/dist/LB-CrF8WJiI-DFkFN19R.js +16 -0
- package/dist/LC-DGiHXm5V-ktdz6v0J.js +16 -0
- package/dist/LI-BwB0b8M1-DqFMvOoO.js +16 -0
- package/dist/LK-BOC44ZgS-DZ-2CzPr.js +16 -0
- package/dist/LR-CWjRlWOZ-BJQkmhKP.js +16 -0
- package/dist/LS-B_EgU3p5-Hh56yHIl.js +16 -0
- package/dist/LT-BPyPiVx2-CNqUct0Y.js +16 -0
- package/dist/LU-B-De6aB--W_UvF5lA.js +16 -0
- package/dist/LV-D2Ewe3XC-CQZRpz6D.js +16 -0
- package/dist/LY-D1TSt6YI-ARZsTB9C.js +16 -0
- package/dist/MA-QY5gm-vM-CMhFKYX8.js +16 -0
- package/dist/MC-BjlCjfCP-wNMouipl.js +16 -0
- package/dist/MD-rh-6rlSt-DkDC6-Sc.js +16 -0
- package/dist/ME-D1euo0V2-CuUoJvzu.js +16 -0
- package/dist/MF-CFW4iaQd-Bc6ySiIp.js +16 -0
- package/dist/MG-ONnxn_5g-CknvuiQt.js +16 -0
- package/dist/MH-B8oC_VMS-WQVVtROf.js +16 -0
- package/dist/MK-ByjICisj-DUg_BViv.js +16 -0
- package/dist/ML-CKVAuhox-CaCfLKwz.js +16 -0
- package/dist/MM-doJuUjVT-B0jY1-6a.js +16 -0
- package/dist/MN-BFP303GE-let5RR-Y.js +16 -0
- package/dist/MO-Dp4PTSYU-CRwm7um4.js +16 -0
- package/dist/MP-CqKsnjHV-CPSQ1q94.js +16 -0
- package/dist/MQ-CFW4iaQd-vUUtDA4Y.js +16 -0
- package/dist/MR-D73q_PiY-CkzPrY6t.js +16 -0
- package/dist/MS-qhjKl9TO-CLGxmx_z.js +16 -0
- package/dist/MT-CZjbs1U--CWNEHFW0.js +16 -0
- package/dist/MU-D0EQOl0S-DniWREWX.js +16 -0
- package/dist/MV-BtwHRTMn-kX6H1ofi.js +16 -0
- package/dist/MW-CVnAR98j-Ct0efH5x.js +16 -0
- package/dist/MX-C7vXnCDY-BY2HSr3z.js +16 -0
- package/dist/MY-DJcgH_o3-DqPv983u.js +16 -0
- package/dist/MZ-BbLwl9DA-15Oksar-.js +16 -0
- package/dist/Max.page-ByPOpR4R.js +599 -0
- package/dist/MostSoldCountries-DfmnTgLa.js +22 -0
- package/dist/NA-5FKNjRGT-DDOCtZAF.js +16 -0
- package/dist/NC-CFW4iaQd-BIRMd-Te.js +16 -0
- package/dist/NE-DpLZJa7D-BjbL019K.js +16 -0
- package/dist/NF-BT-wIfwf-CKPriU9x.js +16 -0
- package/dist/NG-BAiR_q0H-Za89Bf3J.js +16 -0
- package/dist/NI-DylPDojG-DsSHGuBY.js +16 -0
- package/dist/NL-iozeFKPM-CYwMpblF.js +16 -0
- package/dist/NO-CfaYWvM--8sfUBG4-.js +16 -0
- package/dist/NP-BGR_ZaqA-BXDE2VcI.js +16 -0
- package/dist/NR-DHGW5Y3Q-BZuTZa9P.js +16 -0
- package/dist/NU-CcpcSx_x-BgS5xZoz.js +16 -0
- package/dist/NZ-DDYt6DcJ-DUlCbnaF.js +16 -0
- package/dist/OM-D6hiar1r-BBh5osbe.js +16 -0
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-duAbvcr_.js +760 -0
- package/dist/OrderStatusChip-CAcbWIU5.js +30 -0
- package/dist/Orders.page-CiJzZrqz.js +1636 -0
- package/dist/OrdersChartDataContent-Dx9KeWZ5.js +221 -0
- package/dist/OrdersDetails.page-COPX98NM.js +6158 -0
- package/dist/PA-Bi2blxjJ-Zbul3wWf.js +16 -0
- package/dist/PE-D4DjQOlP-M1R5cm6I.js +16 -0
- package/dist/PF-DmOSfnYB-CYFlWyP3.js +16 -0
- package/dist/PG-DeOlZ7TA-C9xuQvS4.js +16 -0
- package/dist/PH-Dv4KdxU--DQ2I_z99.js +16 -0
- package/dist/PK-CRhM95F8-B722MXoL.js +16 -0
- package/dist/PL-BIdMQAtx-cfmLV44_.js +16 -0
- package/dist/PM-BDa53dEz-n6hsmpDs.js +16 -0
- package/dist/PN-Csu7Dufn-DupnLmMg.js +16 -0
- package/dist/PR-C_Acdbc_-D1adXIDy.js +16 -0
- package/dist/PS-Dmg0ofZr-7d7pSLhm.js +16 -0
- package/dist/PT-Bsck4nv8-DmL2dcnV.js +16 -0
- package/dist/PW-CBMqjpxh-De-5xXXR.js +16 -0
- package/dist/PY-Be6zNh15-Y9BkSdYH.js +16 -0
- package/dist/PaymentsLinks-DL868Zi0.js +675 -0
- package/dist/QA-CZmcW85r-BQq35K2F.js +16 -0
- package/dist/RE-CFW4iaQd-BQiTIADY.js +16 -0
- package/dist/RO-6H4O-gQF-c2MIFhHs.js +16 -0
- package/dist/RS-DM7vMnHL-D7HwS0M9.js +16 -0
- package/dist/RU-HqKQeTq2-BKGUPzTP.js +16 -0
- package/dist/RW-DkH4VhfP-BIBd5i9n.js +16 -0
- package/dist/RecurringSubscription-HHoysNWq.js +548 -0
- package/dist/RecurringSubscriptionDashView-ziNbeXFJ.js +2012 -0
- package/dist/RiskPendenciesInternalService-Blg9ez6Q.js +145 -0
- package/dist/SA-C2hBi4Lh-BhpsO5od.js +16 -0
- package/dist/SB-CBu9QLGP-BKAIpTXu.js +16 -0
- package/dist/SC-CR6esM-V-B8G0RZdT.js +16 -0
- package/dist/SD-VCXqBHrW-BxaV6Jbz.js +16 -0
- package/dist/SE-DbI0jJm9-jS9y9FBF.js +16 -0
- package/dist/SG-DgprfMyV-9b7RI-8a.js +16 -0
- package/dist/SH-qhjKl9TO-Ct0xVq98.js +16 -0
- package/dist/SI-C3dA03Yk-BmIEY9M3.js +16 -0
- package/dist/SJ-CfaYWvM--BgosjnKK.js +16 -0
- package/dist/SK-CxbHN7aU-BwT5K6nl.js +16 -0
- package/dist/SL-GXAaRXng-DSgcRo_I.js +16 -0
- package/dist/SM-B2SteTdO-DjZCr1WO.js +16 -0
- package/dist/SN-B7Q__Lx_-D2j8nXIb.js +16 -0
- package/dist/SO-Bnd5-U9z-CKK_ZNhB.js +16 -0
- package/dist/SR-BHMDOkL2-NUK6lxOc.js +16 -0
- package/dist/SS-CsTgWca1-DmDdXuRu.js +16 -0
- package/dist/ST-DLqO0boT-Bb7vOcG3.js +16 -0
- package/dist/SV-DNZizmQg-D4QwcG3R.js +16 -0
- package/dist/SX-DWuXjLwS-Cz9XsPbc.js +16 -0
- package/dist/SY-DeOQEBum-BWXp3RwA.js +16 -0
- package/dist/SZ-Bhe0qU5K-DLQBPBOz.js +16 -0
- package/dist/SalesRecovery-DU6dmW3Y.js +594 -0
- package/dist/SalesRecoveryIA-B-M8s2Wk.js +199 -0
- package/dist/SendCustomerRefundLinkPage-CEJPKPAw.js +137 -0
- package/dist/StatusDescriptionModal-DDtt3gSo.js +60 -0
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-BHjDEYAK.js +28 -0
- package/dist/TC-D5HTaKiF-Lm0kCxJj.js +16 -0
- package/dist/TD-DyIWvaGg-CpiaehTC.js +16 -0
- package/dist/TF-BRsv64iE-DBjtuJq9.js +16 -0
- package/dist/TG-OhNa5jmt-DFS-CUSL.js +16 -0
- package/dist/TH-F_ODV0JW-BJyCHLKn.js +16 -0
- package/dist/TJ-BFkbbSmN-BPZp4Xiw.js +16 -0
- package/dist/TK-Ct75yy7V-Dg6Y1TEs.js +16 -0
- package/dist/TL-BzqVkHGw-dCZmjYfN.js +16 -0
- package/dist/TM-CCAvd8qV-DJQ4CldP.js +16 -0
- package/dist/TN-CmYqbPEz-CRtXbx2S.js +16 -0
- package/dist/TO-BQQk9Xq_-CgBN_VdG.js +16 -0
- package/dist/TR-_MKkCnUV-lOCMmQ4v.js +16 -0
- package/dist/TT-DoRURl1c-dkBvwsqx.js +16 -0
- package/dist/TV-Dt8uZCP4-BZJU8bxh.js +16 -0
- package/dist/TW-CvHugvex-Cpi9rnPk.js +16 -0
- package/dist/TZ-RbwBgiwb-B83rVHrZ.js +16 -0
- package/dist/TopSellingProductsContent-BAIdYn11.js +80 -0
- package/dist/UA-BiXHPMqV-CHePFIvO.js +16 -0
- package/dist/UG--it_LhSj-GT0llrhZ.js +16 -0
- package/dist/UM-BFcTdeDD-Ctdm6ckN.js +16 -0
- package/dist/US-BFcTdeDD-Ctdm6ckN.js +16 -0
- package/dist/UY-C26Ndi4P-DxVHRnB7.js +16 -0
- package/dist/UZ-BK5ADwFW-C36os4Bj.js +16 -0
- package/dist/UserIndicationsPage-ZmwWF6WW.js +723 -0
- package/dist/VA-Cpq1n4yW-D9_yUwX7.js +16 -0
- package/dist/VC-D1Fjbog5-BuDpC9ha.js +16 -0
- package/dist/VE-CeM-hea7-CT55Djn8.js +16 -0
- package/dist/VG-qhjKl9TO-7ogDjBuK.js +16 -0
- package/dist/VI-C-kcu42_-CYsCwi19.js +16 -0
- package/dist/VN-2yoryeK1-BZJuSWgF.js +16 -0
- package/dist/VU-CkLlsgzP-lBleFqBJ.js +16 -0
- package/dist/WF-BDa53dEz-Db-6rBE5.js +16 -0
- package/dist/WS-CNi2O6Qm-BTF6sF-I.js +16 -0
- package/dist/WithdrawAdvance-BNygzN7Z.js +17 -0
- package/dist/WithdrawBankAccountStore-BZTP9I7U.js +283 -0
- package/dist/WithdrawBlocked-D5983ca7.js +133 -0
- package/dist/WithdrawCompanyStore-DYwzPHGY.js +80 -0
- package/dist/WithdrawGuaranteeExtract-CyE1jswr.js +994 -0
- package/dist/WithdrawHome-BdAxcMTo.js +1843 -0
- package/dist/WithdrawHome-Cm5S9t8a.js +2448 -0
- package/dist/WithdrawInternational-qMpT2jkD.js +17 -0
- package/dist/WithdrawMaxStore-CX-6jA5A.js +772 -0
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-D7c6XixI.js +530 -0
- package/dist/WithdrawNoAccountWarning-Cj47sH8c.js +233 -0
- package/dist/WithdrawPermissionGuard-D-FzAdzE.js +338 -0
- package/dist/WithdrawRequest-BuW4tloJ.js +17 -0
- package/dist/WithdrawRequest-_X_9fiJp.js +944 -0
- package/dist/WithdrawRequestDetail-BCmG5j1B.js +284 -0
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-AaYEWKl7.js +936 -0
- package/dist/YE-DxPZysMs-DHdpb7Bs.js +16 -0
- package/dist/YT-BMJJ1U_T-CbuUs0hM.js +16 -0
- package/dist/ZA-BjQXS8mc-C_4Q49fV.js +16 -0
- package/dist/ZM-Dw0PmMTO-DeZ_10vL.js +16 -0
- package/dist/ZW-D0UStZMr-CeILBBPs.js +16 -0
- package/dist/affiliate-Bgt9fadK-bZOLFdvf.js +22 -0
- package/dist/amex-CvNwRHhS-FQNEYQIL.js +16 -0
- package/dist/api-DroAQshN.js +11 -0
- package/dist/apple_pay-DtsAzVjF-B-HiD0ip.js +20 -0
- package/dist/archive-CFoPOir7-ou5CqppH.js +18 -0
- package/dist/aura-D1VyKb6w-COagvv5w.js +23 -0
- package/dist/boleto-BQZRi0Q5-B89hiknW.js +18 -0
- package/dist/box-DNrK38w2-BuAg0sw0.js +20 -0
- package/dist/cart-p5jccB8o-Bpx-GEb3.js +15 -0
- package/dist/cash-FZcelZV1-DHsd1CZv.js +20 -0
- package/dist/chart-YJ27XOr3-DLfgfvvk.js +22 -0
- package/dist/chat.page-ChgrUS1H.js +314 -0
- package/dist/credit_card-CGrPYCJP-BDmKQuUK.js +15 -0
- package/dist/csv-CYa6aPS5-DCqX0U0K.js +18 -0
- package/dist/dayjs.min--qQOVNtR.js +282 -0
- package/dist/diners-CN_1suUM-DbqLBtp-.js +26 -0
- package/dist/discover-vVTOFEvv-Df8YHljg.js +22 -0
- package/dist/ds-appmax-v322-b2MibrEW.js +52 -0
- package/dist/ds-appmax-v327-DJGlxDnH.js +69 -0
- package/dist/ds-appmax-v330-CW8qiKde.js +48 -0
- package/dist/ds-appmax-v335-CiJ3HxY_.js +278 -0
- package/dist/elo-BaNbqhYS-CFrpQ-ll.js +15 -0
- package/dist/gear-BHOWpd7b-CaYw4JlP.js +18 -0
- package/dist/grid-B7I0mWry-BtAvrOem.js +18 -0
- package/dist/hipercard-DBsszwxC-DWqNIdyH.js +22 -0
- package/dist/index--9zCRLHX.js +83 -0
- package/dist/index-BHhklSB7.js +275 -0
- package/dist/index-BIkTis4A.js +776 -0
- package/dist/index-BcMSTXgh.js +219 -0
- package/dist/index-BeIVZbA2.js +35 -0
- package/dist/index-BhaJIqEs.js +4133 -0
- package/dist/index-Bm095gAm.js +332 -0
- package/dist/index-Br_k-Ae3.js +67 -0
- package/dist/index-Bu2kSWwV.js +200 -0
- package/dist/index-ByimnjDr.js +169 -0
- package/dist/index-C0P7HtBp.js +11 -0
- package/dist/index-CDSUr50p.js +681 -0
- package/dist/index-CK5sMVto.js +1567 -0
- package/dist/index-CNPy5utO.js +18 -0
- package/dist/index-CPb6cSaj.js +11240 -0
- package/dist/index-CtPp3hlI.js +409 -0
- package/dist/index-D6KPS2Jz.js +1790 -0
- package/dist/index-DDrsDhX7.js +106 -0
- package/dist/index-DEy6UvQp.js +230 -0
- package/dist/index-DGe5ofER.js +21 -0
- package/dist/index-DIOCZZLm.js +721 -0
- package/dist/index-DhikyLfd.js +21 -0
- package/dist/index-DnkvvAB6.js +534 -0
- package/dist/index-NjQk10uO.js +62 -0
- package/dist/index-NpJ1AAwU.js +1204 -0
- package/dist/index-XYWObUOq.js +92 -0
- package/dist/index-gZzHERlA.js +117 -0
- package/dist/index-nBJgiaBD.js +217 -0
- package/dist/index-wyIWAsZ0.js +219 -0
- package/dist/index.page-B1lW1df2.js +827 -0
- package/dist/index.page-Cqi1cczW.js +737 -0
- package/dist/index.page-DUyoqGFu.js +165 -0
- package/dist/infos-8KGPLXoE-CSdnCV_7.js +18 -0
- package/dist/integrations-UOltVEyj-DtZnvgQc.js +19 -0
- package/dist/logs-Ce3fZY0v-CMMkWd42.js +28 -0
- package/dist/maestro-BMomgHxO-9RX8kkRo.js +27 -0
- package/dist/main-BygV61P0.js +106856 -0
- package/dist/main.js +1 -1
- package/dist/mastercard-5I-dcOVV-RWsv7kfc.js +30 -0
- package/dist/max_brand-Crj-SFUw-DnsrReIF.js +29 -0
- package/dist/max_brand_active-BIkS5qkP-DmmI8eEx.js +27 -0
- package/dist/max_brand_negative-BxvdIegN-RbM-uB21.js +30 -0
- package/dist/max_brand_white-DdKi2YVX-wR1Zp9YF.js +29 -0
- package/dist/menu.page-uMx36IiO.js +274 -0
- package/dist/money-DZpB5eTf-nJr36YIf.js +19 -0
- package/dist/notification-DMezLtAj-BgScWfkC.js +18 -0
- package/dist/paypal-DMYjfEw0-bOyrUBKt.js +15 -0
- package/dist/pix-DXdX91yj-DDbD18-w.js +22 -0
- package/dist/pix_outline-D_xXXgCN-DTpYK0ea.js +16 -0
- package/dist/pix_white-CcVsnEF2-W4MbrCWf.js +24 -0
- package/dist/pusher-DCGskbZB.js +4010 -0
- package/dist/shield-DS-Xf4WH-EV-DIWZw.js +15 -0
- package/dist/solid_help-DNaqfgoc-Ce3Wu12e.js +20 -0
- package/dist/solid_home-BDUiJDVY-B-srcO-C.js +18 -0
- package/dist/solid_leaderboard-DtqK7q9Y-CacyClvM.js +18 -0
- package/dist/solid_store-Cfv6o4b8-D14YgD_A.js +18 -0
- package/dist/ticket_icon-DwvyLm7c-cK4WUm86.js +22 -0
- package/dist/usePendingMessage-8h3BsoV8.js +191 -0
- package/dist/useQueryFilter-U5UROaOZ.js +93 -0
- package/dist/useRecurringTable-td0aJwjE.js +160 -0
- package/dist/user-BRpwqYx8-DbyAL5VZ.js +18 -0
- package/dist/validateURL.helper-DOZFmOBm.js +126 -0
- package/dist/visa-tPjWcMbi-DO9gEg5w.js +18 -0
- package/package.json +1 -1
- package/dist/AD-Ct_GVBfr-HH_TfVlV.js +0 -16
- package/dist/AE-DiMVenwy-CWT3c_i6.js +0 -16
- package/dist/AF-DOrptOkS-Cp-fTOPV.js +0 -16
- package/dist/AG-CzBMAtom-CfE6Csui.js +0 -16
- package/dist/AI-A2DnDGPS-CK1ndtTo.js +0 -16
- package/dist/AL-BcGdPXjJ-D59MzTj8.js +0 -16
- package/dist/AM-BC_r4gTd-DBX8FLX2.js +0 -16
- package/dist/AO-D6GK49nd-5G9fAw19.js +0 -16
- package/dist/AQ-Eeziry42-DFD06SJD.js +0 -16
- package/dist/AR-AbqVWszQ-B-ctQcDn.js +0 -16
- package/dist/AS-BWe_Gq8Z-Bf4PQXKr.js +0 -16
- package/dist/AT-b5CS9jSt-C4xhn2VJ.js +0 -16
- package/dist/AU-BUbOyX6Q-CAM3TKcp.js +0 -16
- package/dist/AW-CjVdJTYe-DaPVVg4z.js +0 -16
- package/dist/AX-lNtwEmw2-C3PI_nov.js +0 -16
- package/dist/AZ-f8zSo9ut-CHQnHdc2.js +0 -16
- package/dist/AmBulletLegend-CC68JAIv.js +0 -23
- package/dist/AmCardV3-eLIe47Pk.js +0 -22
- package/dist/AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-DXEOLtKB.js +0 -36
- package/dist/AmDoughnutChartAdapted-Bf72z95C.js +0 -203
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-DREhNuhi.js +0 -86
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-CUMUR1Xp.js +0 -40
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-BNfkkl6a.js +0 -46
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-Bm2ahgv1.js +0 -63
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-D1RcJAOd.js +0 -53
- package/dist/AmLayoutFeedbackState-HfUcDHay.js +0 -48
- package/dist/AmLayoutInnerData-C-wa1FOa.js +0 -162
- package/dist/AmModalV3-DoeNs1Di.js +0 -105
- package/dist/AmOutlineCard-y7WpwqrY.js +0 -25
- package/dist/AmSkeleton-BfSLbJ2o.js +0 -35
- package/dist/AmText-D9XRosEj.js +0 -33
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-DZUe9c65.js +0 -64
- package/dist/ApiService-BClcpsjH.js +0 -11
- package/dist/AppInstallationConfirmationPasswordModal-BDx3TebW.js +0 -535
- package/dist/AppstoreAppView-D0NOC6i1.js +0 -315
- package/dist/AppstoreHomeView-tj_ATcWq.js +0 -1372
- package/dist/BA-BfV7_7RP-BVJ-UX2E.js +0 -16
- package/dist/BB-CC4768VM-Bxz_FKuI.js +0 -16
- package/dist/BD-YQdTTbhg-CSR0qIQm.js +0 -16
- package/dist/BE-DUYoRyei-BjwEbYaV.js +0 -16
- package/dist/BF-XZRLkaHX-bBw-eINn.js +0 -16
- package/dist/BG-BAb8lAFP-HgfcC0_o.js +0 -16
- package/dist/BH-C1LTB8Fj-C46wyhwr.js +0 -16
- package/dist/BI-RjDfMipp-Buxtdkca.js +0 -16
- package/dist/BJ-DAv61IMB-CFr-IMcp.js +0 -16
- package/dist/BL-CFW4iaQd-CgC6iwj_.js +0 -16
- package/dist/BM-DuK3dA1G-x5qjOxAF.js +0 -16
- package/dist/BN-BXHGopan-DL3EK0lu.js +0 -16
- package/dist/BO-CzuoErsx-B6cK8xLS.js +0 -16
- package/dist/BQ-BO-BlM1Uin3-CgNV9pML.js +0 -16
- package/dist/BQ-SA-BninfeHy-TSDgS_iG.js +0 -16
- package/dist/BQ-SE-tq-mCvpl-DZI4Q2A2.js +0 -16
- package/dist/BR-B1GEJ05L-CKbpdk6t.js +0 -16
- package/dist/BS-MeULPH4e-BsvkTCz-.js +0 -16
- package/dist/BT-BCfQJS6a-BMaGY-m8.js +0 -16
- package/dist/BV-CfaYWvM--Ae8oIiuo.js +0 -16
- package/dist/BW-jYbPMHhQ-_Rha-ble.js +0 -16
- package/dist/BY-Ddffd2rT-C8rQ6TNz.js +0 -16
- package/dist/BZ-B7mGW2Jg-rLkS97m8.js +0 -16
- package/dist/BankAccountCrossborderNew.page-u1CDLww6.js +0 -152
- package/dist/BankAccountList.page-DpE5TnQi.js +0 -331
- package/dist/BankAccountNew.page-BOTttfs1.js +0 -982
- package/dist/CA-CHl-cqJL-BjSL7YJs.js +0 -16
- package/dist/CC-DSLZRwFz-YwkOKybu.js +0 -16
- package/dist/CD-D4NJYkQm-CbleRD1s.js +0 -16
- package/dist/CF-DoxRpaA9-0hBrQNuf.js +0 -16
- package/dist/CG-Auzp6pC_-d_T2APPr.js +0 -16
- package/dist/CH-B5eEo1aL-CE8J0KXf.js +0 -16
- package/dist/CI-DFfmdeVw-B4EWQACt.js +0 -16
- package/dist/CK-CKWUhjXV-BnuWXo8g.js +0 -16
- package/dist/CL-Di6p-p6X-lZ9EeSaP.js +0 -16
- package/dist/CM-B0ht31e3-BN0W9EaP.js +0 -16
- package/dist/CN-CKHlOciI-C5Dqf0RY.js +0 -16
- package/dist/CO-GBUkcePt-DQN8VFfw.js +0 -16
- package/dist/CR-Daw5JsjF-C-ksciT_.js +0 -16
- package/dist/CU-CVOkcTvR-rRzAeBap.js +0 -16
- package/dist/CV-cyPoze-o-Cq4NThbW.js +0 -16
- package/dist/CW-Bt-Pwg4j-BiQJRh5b.js +0 -16
- package/dist/CX-uhIZlYzy-yivVaQ_7.js +0 -16
- package/dist/CY-un4rgwPX-CyPnAXdg.js +0 -16
- package/dist/CZ-equ-r4iN-WduwJzTo.js +0 -16
- package/dist/CashoutAntecipateContent-yPs8loRU.js +0 -42
- package/dist/ChargebackAnalytics-CdI3Jbdb.js +0 -1701
- package/dist/ChargebackDetail-MncTbw6k.js +0 -3469
- package/dist/ChargebackRate-CO5qmwIZ.js +0 -77
- package/dist/ChatPlayground.page-C9ajQgAk.js +0 -508
- package/dist/ConfirmationModal-DOSIb7ER.js +0 -105
- package/dist/Create.page-BSbC7bDu.js +0 -1390
- package/dist/CreatePaymentLink-VyXSGObO.js +0 -856
- package/dist/DE-zx7UmJ-V-CMdSdDZ0.js +0 -16
- package/dist/DJ-BN1kIFYT-BLE_tyaW.js +0 -16
- package/dist/DK-CrXXNH_h-dKJG4rJF.js +0 -16
- package/dist/DM-B4nVdNww-PF3gRQuh.js +0 -16
- package/dist/DO-C7-NF2JD-DB1uCjvI.js +0 -16
- package/dist/DZ-DSDLbNRb-B2ycl7DV.js +0 -16
- package/dist/DashboardAmountDetailsContent-BMR0QRjc.js +0 -65
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-CwFXgUzp.js +0 -151
- package/dist/DashboardApprovalRateInternationalContent-WhOmuKPh.js +0 -19
- package/dist/DashboardApprovalRateNationalContent-CJvR-Qpd.js +0 -74
- package/dist/DashboardCarouselContent-xf8Ae7xW.js +0 -958
- package/dist/DashboardDetailsContent-CkWO8HWq.js +0 -58
- package/dist/DashboardHome-oFY0oz7L.js +0 -4247
- package/dist/DetailSubscriptionRecurring-CeZhv3nF.js +0 -1296
- package/dist/EC-C_bjTYWm-BUlvGBlR.js +0 -16
- package/dist/EE-CQIjuoWO-CUgT2weo.js +0 -16
- package/dist/EG-Bs_BHfVR-BrYp2xyx.js +0 -16
- package/dist/EH-CnWam84F-sPCAnqAj.js +0 -16
- package/dist/ER-Dcl4hJzq-CoG1D_Py.js +0 -16
- package/dist/ES-Bpj2gAdj-BVkhbnuF.js +0 -16
- package/dist/ET-Dm3q0Ruz-4c0CSixk.js +0 -16
- package/dist/ExternalPendenciesList-D8BaV7A9.js +0 -651
- package/dist/FI-DCqfJeiQ-CbeRSW2J.js +0 -16
- package/dist/FJ-C6UrGUgI-B7zKa34R.js +0 -16
- package/dist/FK-CAaec31K-C65KvI7R.js +0 -16
- package/dist/FM-Cf2SIJ7h-VEzlcNR7.js +0 -16
- package/dist/FO-DBb4psBV-Csrha4B2.js +0 -16
- package/dist/FR-CFW4iaQd-DkgIbP5L.js +0 -16
- package/dist/FeatureFlagsPage-V1AVtf1V.js +0 -271
- package/dist/GA-D3NTxgTl--U4f6wvA.js +0 -16
- package/dist/GB-ENG-Cmkg6Zq8-BNBoJDTv.js +0 -16
- package/dist/GB-NIR-DKszcfHi-BWloP-RR.js +0 -16
- package/dist/GB-SCT-BiivwJ71-CL-Mh9Fl.js +0 -16
- package/dist/GB-UKM-DgMBd3ib-BSnb7fSN.js +0 -16
- package/dist/GB-WLS-DLoDy9iv-DVhQ4uBZ.js +0 -16
- package/dist/GD-Bs1d4We7-unm7M1aE.js +0 -16
- package/dist/GE-DXG9iLk5-ZYx_2a3O.js +0 -16
- package/dist/GF-B20s5gtx-C2SjA9kn.js +0 -16
- package/dist/GG-BAyrpIoO-C9xDHDYx.js +0 -16
- package/dist/GH-v3jh5r1X-scGyZTlP.js +0 -16
- package/dist/GI-D39Krd4s-DJcU0Dt8.js +0 -16
- package/dist/GL-BDd_W5AU-D_KSbey0.js +0 -16
- package/dist/GM-BNEHspzj-Cl98Eoz_.js +0 -16
- package/dist/GN-DdIZ0X6d-D3TwTkM6.js +0 -16
- package/dist/GP-CFW4iaQd-CCTi-MH4.js +0 -16
- package/dist/GQ-CC3X6AMz-PutU4Bt8.js +0 -16
- package/dist/GR-C_0rusTd-Mx2PzJYN.js +0 -16
- package/dist/GS-Db5l22a1-Ci__aU38.js +0 -16
- package/dist/GT-BhbkqUft-CVGS_d-R.js +0 -16
- package/dist/GU-C0HeItm1-Dl0xBsvH.js +0 -16
- package/dist/GW-BjLM1vg--CeRmwwq0.js +0 -16
- package/dist/GY-BreBVlhN-6lcb-GcJ.js +0 -16
- package/dist/HK-BZn9ZQGS-Csos1x1-.js +0 -16
- package/dist/HM-BUbOyX6Q-eNwatz5G.js +0 -16
- package/dist/HN-D4wujIPC-CAoAEBDO.js +0 -16
- package/dist/HR-Jhi3QQ9F-Dj8oxcYe.js +0 -16
- package/dist/HT-MMjMjr-R-U8u-AQgK.js +0 -16
- package/dist/HU-CN5KmQ7F-DSV5yltn.js +0 -16
- package/dist/Home-CWR2Iuq3.js +0 -997
- package/dist/ID-hVVUTKNG-GVm-Cmw8.js +0 -16
- package/dist/IE-WN_vdKcS-CLcqZ4xJ.js +0 -16
- package/dist/IL-D5Wr_Xxh--vB5hJpE.js +0 -16
- package/dist/IM-B-putc0k-DdeDK5ZX.js +0 -16
- package/dist/IN-CK40zbQD-BCuP3oKH.js +0 -16
- package/dist/IO-CdvLck7D-CtyqQwX3.js +0 -16
- package/dist/IQ-f_9wyurt-s_q2A6D-.js +0 -16
- package/dist/IR-B0yfWttH-DPeJhz63.js +0 -16
- package/dist/IS-Dvf-XQTq-B4VGxLlX.js +0 -16
- package/dist/IT-uY7cjdFI-CCsyhYKu.js +0 -16
- package/dist/ImportTrackingCode-SGfxZCC4.js +0 -1007
- package/dist/InternalCompanyIssuesDetail-CexYVQdu.js +0 -862
- package/dist/InternalCompanyList-DDoHn_Ml.js +0 -351
- package/dist/InternalPendencyDetail-CKP1sGFT.js +0 -717
- package/dist/JE-C95tN_VG-Bu_Dvjdg.js +0 -16
- package/dist/JM-zOuEwaB3-9SbPeNWT.js +0 -16
- package/dist/JO-Cq88rrOD-BpoomFna.js +0 -16
- package/dist/JP-5evXgWxq-Bo7lhCH3.js +0 -16
- package/dist/KE-PHx0d97Z-DUnJpkG8.js +0 -16
- package/dist/KG-DT4JnieX-C9gSd4OR.js +0 -16
- package/dist/KH-ChwV2WTT-CE5ADz9F.js +0 -16
- package/dist/KI-D212g4Lh-Bn9a1Cs0.js +0 -16
- package/dist/KM-mPVp7AKS-DHLGn2Aj.js +0 -16
- package/dist/KN-AdXLXICN-DAEAOX1F.js +0 -16
- package/dist/KP-CC6UIrEF-DbRxQ96s.js +0 -16
- package/dist/KR-BtnmWR6C-BO4xOvLM.js +0 -16
- package/dist/KW-gqahWVaw-DdueBdAc.js +0 -16
- package/dist/KY-DjIb70VQ-Cvo6l87v.js +0 -16
- package/dist/KZ-C_fRihiO-BQufiS4-.js +0 -16
- package/dist/LA-KIULJHAb-BnRB5d6f.js +0 -16
- package/dist/LB-CrF8WJiI-CA4uXm44.js +0 -16
- package/dist/LC-DGiHXm5V-DUpYMFBn.js +0 -16
- package/dist/LI-BwB0b8M1-BVf3VTls.js +0 -16
- package/dist/LK-BOC44ZgS-LgNfgEPH.js +0 -16
- package/dist/LR-CWjRlWOZ-8ezGoZrP.js +0 -16
- package/dist/LS-B_EgU3p5-vaer2JxS.js +0 -16
- package/dist/LT-BPyPiVx2--7GFCWCD.js +0 -16
- package/dist/LU-B-De6aB--DyHNG82i.js +0 -16
- package/dist/LV-D2Ewe3XC-CKMslILy.js +0 -16
- package/dist/LY-D1TSt6YI-Dn_19IZi.js +0 -16
- package/dist/MA-QY5gm-vM-DMMhV4xB.js +0 -16
- package/dist/MC-BjlCjfCP-DWHsu2yM.js +0 -16
- package/dist/MD-rh-6rlSt-Vc0QVa-p.js +0 -16
- package/dist/ME-D1euo0V2-BtwaKYhr.js +0 -16
- package/dist/MF-CFW4iaQd-rp1pZ09B.js +0 -16
- package/dist/MG-ONnxn_5g-BOcb_Zsn.js +0 -16
- package/dist/MH-B8oC_VMS-0dR4qjJJ.js +0 -16
- package/dist/MK-ByjICisj-87U9LCVb.js +0 -16
- package/dist/ML-CKVAuhox-D9uVAWNl.js +0 -16
- package/dist/MM-doJuUjVT-BiObAegb.js +0 -16
- package/dist/MN-BFP303GE-Y0JP-ike.js +0 -16
- package/dist/MO-Dp4PTSYU-DAlpzQ2K.js +0 -16
- package/dist/MP-CqKsnjHV-z3w5_P4Z.js +0 -16
- package/dist/MQ-CFW4iaQd-CK5bZ5eM.js +0 -16
- package/dist/MR-D73q_PiY-zAeabv15.js +0 -16
- package/dist/MS-qhjKl9TO-BJnk-2s1.js +0 -16
- package/dist/MT-CZjbs1U--BUVEtQJ7.js +0 -16
- package/dist/MU-D0EQOl0S-zzQxxHjz.js +0 -16
- package/dist/MV-BtwHRTMn-hDjyU3Sn.js +0 -16
- package/dist/MW-CVnAR98j-BR-nq2Jp.js +0 -16
- package/dist/MX-C7vXnCDY-rOpaS3Hh.js +0 -16
- package/dist/MY-DJcgH_o3-CtaVbE2a.js +0 -16
- package/dist/MZ-BbLwl9DA-BaRqBS0k.js +0 -16
- package/dist/Max.page-1P5LVk1m.js +0 -599
- package/dist/MostSoldCountries-B9CU30mN.js +0 -22
- package/dist/NA-5FKNjRGT-B3wpQkc8.js +0 -16
- package/dist/NC-CFW4iaQd-DmlxHhXl.js +0 -16
- package/dist/NE-DpLZJa7D-DtL-pjgt.js +0 -16
- package/dist/NF-BT-wIfwf-DX6zolnn.js +0 -16
- package/dist/NG-BAiR_q0H-BcYHX6ap.js +0 -16
- package/dist/NI-DylPDojG-CQNA62b2.js +0 -16
- package/dist/NL-iozeFKPM-DnpL_AYS.js +0 -16
- package/dist/NO-CfaYWvM--DQOzb_IT.js +0 -16
- package/dist/NP-BGR_ZaqA-hMycP6Av.js +0 -16
- package/dist/NR-DHGW5Y3Q-2VJNfwpr.js +0 -16
- package/dist/NU-CcpcSx_x-BeaFmvO8.js +0 -16
- package/dist/NZ-DDYt6DcJ-BzjpO45r.js +0 -16
- package/dist/OM-D6hiar1r-DksBctyM.js +0 -16
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-L7qHfn8t.js +0 -760
- package/dist/OrderStatusChip-BTFzb39z.js +0 -30
- package/dist/Orders.page-B5a9iomB.js +0 -1636
- package/dist/OrdersChartDataContent-BIcrUTbx.js +0 -221
- package/dist/OrdersDetails.page-CUDlusP0.js +0 -6158
- package/dist/PA-Bi2blxjJ-DaHYNJTd.js +0 -16
- package/dist/PE-D4DjQOlP-NgiK8xrD.js +0 -16
- package/dist/PF-DmOSfnYB-DDfW5vap.js +0 -16
- package/dist/PG-DeOlZ7TA-CUxqIusH.js +0 -16
- package/dist/PH-Dv4KdxU--DYMBTiv9.js +0 -16
- package/dist/PK-CRhM95F8-BLbR1H2I.js +0 -16
- package/dist/PL-BIdMQAtx-BWQyuXU7.js +0 -16
- package/dist/PM-BDa53dEz-dpDbpjbx.js +0 -16
- package/dist/PN-Csu7Dufn-M1Qrem3Z.js +0 -16
- package/dist/PR-C_Acdbc_-C985_DHf.js +0 -16
- package/dist/PS-Dmg0ofZr-BJtRKD38.js +0 -16
- package/dist/PT-Bsck4nv8-CUz1soMN.js +0 -16
- package/dist/PW-CBMqjpxh-Thuy4N-j.js +0 -16
- package/dist/PY-Be6zNh15-rnhWqD1f.js +0 -16
- package/dist/PaymentsLinks-1GCVTn3u.js +0 -675
- package/dist/QA-CZmcW85r-DgCklZQY.js +0 -16
- package/dist/RE-CFW4iaQd-CbK9XROz.js +0 -16
- package/dist/RO-6H4O-gQF-D8omUJqm.js +0 -16
- package/dist/RS-DM7vMnHL-DwrjCJUA.js +0 -16
- package/dist/RU-HqKQeTq2-D24i3QgC.js +0 -16
- package/dist/RW-DkH4VhfP-BZfAPD8Y.js +0 -16
- package/dist/RecurringSubscription-qoGIRjAz.js +0 -548
- package/dist/RecurringSubscriptionDashView-CKt9rzDu.js +0 -2012
- package/dist/RiskPendenciesInternalService-BZ2JdLaT.js +0 -145
- package/dist/SA-C2hBi4Lh-CyK6TMC3.js +0 -16
- package/dist/SB-CBu9QLGP-AI35N8BM.js +0 -16
- package/dist/SC-CR6esM-V-D1f_5zXv.js +0 -16
- package/dist/SD-VCXqBHrW-BpvZmAg0.js +0 -16
- package/dist/SE-DbI0jJm9-iNrg3nCt.js +0 -16
- package/dist/SG-DgprfMyV-CMwwxdTM.js +0 -16
- package/dist/SH-qhjKl9TO-CZBr0JDv.js +0 -16
- package/dist/SI-C3dA03Yk-DqxON_mz.js +0 -16
- package/dist/SJ-CfaYWvM--BV_Vz0Gz.js +0 -16
- package/dist/SK-CxbHN7aU-CTfnzNaR.js +0 -16
- package/dist/SL-GXAaRXng-CajPm1A6.js +0 -16
- package/dist/SM-B2SteTdO-BiZFEl-K.js +0 -16
- package/dist/SN-B7Q__Lx_-B2GBZnML.js +0 -16
- package/dist/SO-Bnd5-U9z-Dm4TP9CS.js +0 -16
- package/dist/SR-BHMDOkL2-Cx2y0tYW.js +0 -16
- package/dist/SS-CsTgWca1-DlGQclO6.js +0 -16
- package/dist/ST-DLqO0boT-DrNCjTfZ.js +0 -16
- package/dist/SV-DNZizmQg-DVyExXP3.js +0 -16
- package/dist/SX-DWuXjLwS-DO3zffsg.js +0 -16
- package/dist/SY-DeOQEBum-Lf-mMFPa.js +0 -16
- package/dist/SZ-Bhe0qU5K-xz81eOM7.js +0 -16
- package/dist/SalesRecovery-DGtgZPVv.js +0 -594
- package/dist/SalesRecoveryIA-Cz1YvQBg.js +0 -199
- package/dist/SendCustomerRefundLinkPage-BE9fJWgC.js +0 -137
- package/dist/StatusDescriptionModal-DQuXxApU.js +0 -60
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-DbVpHA90.js +0 -28
- package/dist/TC-D5HTaKiF-B-Vd2qWE.js +0 -16
- package/dist/TD-DyIWvaGg-CB8K23-8.js +0 -16
- package/dist/TF-BRsv64iE-D2M-fNeg.js +0 -16
- package/dist/TG-OhNa5jmt-BS1nX9eA.js +0 -16
- package/dist/TH-F_ODV0JW-Czz-vEwO.js +0 -16
- package/dist/TJ-BFkbbSmN-DvtSxx4I.js +0 -16
- package/dist/TK-Ct75yy7V-BUkPGW1C.js +0 -16
- package/dist/TL-BzqVkHGw-CFHiYZuI.js +0 -16
- package/dist/TM-CCAvd8qV-D-OpwIkU.js +0 -16
- package/dist/TN-CmYqbPEz-CT9s4DaX.js +0 -16
- package/dist/TO-BQQk9Xq_-CusKGN5y.js +0 -16
- package/dist/TR-_MKkCnUV-Hu6R_XMI.js +0 -16
- package/dist/TT-DoRURl1c-BFA3gvAu.js +0 -16
- package/dist/TV-Dt8uZCP4-B3h9Pb0Y.js +0 -16
- package/dist/TW-CvHugvex-CAaf1GJW.js +0 -16
- package/dist/TZ-RbwBgiwb-DJRAzBrz.js +0 -16
- package/dist/TopSellingProductsContent-Dz4zDLCH.js +0 -80
- package/dist/UA-BiXHPMqV-DsHMSsoa.js +0 -16
- package/dist/UG--it_LhSj-CFlaIv79.js +0 -16
- package/dist/UM-BFcTdeDD-CrNUnJAR.js +0 -16
- package/dist/US-BFcTdeDD-CrNUnJAR.js +0 -16
- package/dist/UY-C26Ndi4P-nDGUSoU-.js +0 -16
- package/dist/UZ-BK5ADwFW-SL5lgLBb.js +0 -16
- package/dist/UserIndicationsPage-618a7qhG.js +0 -723
- package/dist/VA-Cpq1n4yW-DGwFOlxg.js +0 -16
- package/dist/VC-D1Fjbog5-C1LoOLOh.js +0 -16
- package/dist/VE-CeM-hea7-BxXZrCp3.js +0 -16
- package/dist/VG-qhjKl9TO-CTsytRCi.js +0 -16
- package/dist/VI-C-kcu42_-BljkIWkL.js +0 -16
- package/dist/VN-2yoryeK1-DUUsw17d.js +0 -16
- package/dist/VU-CkLlsgzP-BHxFE50K.js +0 -16
- package/dist/WF-BDa53dEz-B0uCgPHF.js +0 -16
- package/dist/WS-CNi2O6Qm-DJeH8gfT.js +0 -16
- package/dist/WithdrawAdvance-DvuRKy78.js +0 -17
- package/dist/WithdrawBankAccountStore-XigRRt3u.js +0 -283
- package/dist/WithdrawBlocked-B-v8nVPF.js +0 -133
- package/dist/WithdrawCompanyStore-BTkD2R0M.js +0 -80
- package/dist/WithdrawGuaranteeExtract-C5L0f4eE.js +0 -994
- package/dist/WithdrawHome-B-Ru_Jg0.js +0 -2448
- package/dist/WithdrawHome-cqcNB5qN.js +0 -1843
- package/dist/WithdrawInternational-CjuIQdcC.js +0 -17
- package/dist/WithdrawMaxStore-BqAws3H-.js +0 -772
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-BGU5IiSx.js +0 -530
- package/dist/WithdrawNoAccountWarning-BMM8h-cO.js +0 -233
- package/dist/WithdrawPermissionGuard-DRCany--.js +0 -338
- package/dist/WithdrawRequest-NebtJP5T.js +0 -17
- package/dist/WithdrawRequest-Pxp_8KOI.js +0 -944
- package/dist/WithdrawRequestDetail-Cq76t5N_.js +0 -284
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-DzZ_WTNz.js +0 -936
- package/dist/YE-DxPZysMs-DE7eLqib.js +0 -16
- package/dist/YT-BMJJ1U_T-DYedOyjh.js +0 -16
- package/dist/ZA-BjQXS8mc-G7a0hl3g.js +0 -16
- package/dist/ZM-Dw0PmMTO-BFi4v-1n.js +0 -16
- package/dist/ZW-D0UStZMr-DynRoImX.js +0 -16
- package/dist/affiliate-Bgt9fadK-ZU1of4xK.js +0 -22
- package/dist/amex-CvNwRHhS-CQqMmGu2.js +0 -16
- package/dist/api-D4-Ir0Ud.js +0 -11
- package/dist/apple_pay-DtsAzVjF-DA1YQKXR.js +0 -20
- package/dist/archive-CFoPOir7-BZAomcvH.js +0 -18
- package/dist/aura-D1VyKb6w-B1MQOSNG.js +0 -23
- package/dist/boleto-BQZRi0Q5-DhLNryVm.js +0 -18
- package/dist/box-DNrK38w2-C2K4bICG.js +0 -20
- package/dist/cart-p5jccB8o-CycF1Jnz.js +0 -15
- package/dist/cash-FZcelZV1-B5s4l_-w.js +0 -20
- package/dist/chart-YJ27XOr3-De1Uv-zT.js +0 -22
- package/dist/chat.page-BANDz3Mj.js +0 -314
- package/dist/credit_card-CGrPYCJP-DxjaeRSN.js +0 -15
- package/dist/csv-CYa6aPS5-CpBCfoor.js +0 -18
- package/dist/dayjs.min-Cz90GqA9.js +0 -282
- package/dist/diners-CN_1suUM-DhLDaiH7.js +0 -26
- package/dist/discover-vVTOFEvv-BWPXWKjk.js +0 -22
- package/dist/ds-appmax-v322-C7decuMm.js +0 -52
- package/dist/ds-appmax-v327-Bo6e8KEI.js +0 -69
- package/dist/ds-appmax-v330-D4xJw3T6.js +0 -48
- package/dist/ds-appmax-v335-CFGCq2eV.js +0 -278
- package/dist/elo-BaNbqhYS-0W4zVflJ.js +0 -15
- package/dist/gear-BHOWpd7b-C5IiKTsm.js +0 -18
- package/dist/grid-B7I0mWry-cx3gnRyM.js +0 -18
- package/dist/hipercard-DBsszwxC-oEMVfHJk.js +0 -22
- package/dist/index-3QpZwHFe.js +0 -83
- package/dist/index-B-VygwhD.js +0 -4133
- package/dist/index-BCHSaCF7.js +0 -219
- package/dist/index-BZMINRd5.js +0 -409
- package/dist/index-Bc1IRcj0.js +0 -1567
- package/dist/index-BeAG5erI.js +0 -169
- package/dist/index-BlyroRzr.js +0 -217
- package/dist/index-C1U1EETP.js +0 -117
- package/dist/index-C3gak0J6.js +0 -230
- package/dist/index-CBP3_Szn.js +0 -219
- package/dist/index-CICGk-1k.js +0 -200
- package/dist/index-CN8YGGju.js +0 -18
- package/dist/index-CSUijYtg.js +0 -1790
- package/dist/index-Ce33jThj.js +0 -21
- package/dist/index-CfYPATHA.js +0 -67
- package/dist/index-CksveYN8.js +0 -106
- package/dist/index-D1jiz0cG.js +0 -275
- package/dist/index-DFPBGyyG.js +0 -35
- package/dist/index-DLXgvpNZ.js +0 -534
- package/dist/index-DgkP3WPj.js +0 -11
- package/dist/index-Di6xmPmB.js +0 -1204
- package/dist/index-DvZrVlj4.js +0 -92
- package/dist/index-NjpW1Pxr.js +0 -11240
- package/dist/index-Xo8GeFPq.js +0 -62
- package/dist/index-bgIaKbtu.js +0 -21
- package/dist/index-mvm0BVIu.js +0 -332
- package/dist/index-tjs_XU5D.js +0 -776
- package/dist/index-wFhKdA5M.js +0 -721
- package/dist/index-xnGvAt-H.js +0 -681
- package/dist/index.page-94Z0DSve.js +0 -165
- package/dist/index.page-COB20LwV.js +0 -737
- package/dist/index.page-DVhWYRhm.js +0 -827
- package/dist/infos-8KGPLXoE-DYsg3ui_.js +0 -18
- package/dist/integrations-UOltVEyj-DICVd8m3.js +0 -19
- package/dist/logs-Ce3fZY0v-ngQ0z-S5.js +0 -28
- package/dist/maestro-BMomgHxO-vOU-QWql.js +0 -27
- package/dist/main-Cc-i2rHY.js +0 -106856
- package/dist/mastercard-5I-dcOVV-DwfNheq3.js +0 -30
- package/dist/max_brand-Crj-SFUw-CwHxY80l.js +0 -29
- package/dist/max_brand_active-BIkS5qkP-DRA2snSB.js +0 -27
- package/dist/max_brand_negative-BxvdIegN-BZ8UajNq.js +0 -30
- package/dist/max_brand_white-DdKi2YVX-xWZBpP08.js +0 -29
- package/dist/menu.page-DhSguMY6.js +0 -274
- package/dist/money-DZpB5eTf-C1Z9Splt.js +0 -19
- package/dist/notification-DMezLtAj-DdKRDNX3.js +0 -18
- package/dist/paypal-DMYjfEw0-U8O2Lval.js +0 -15
- package/dist/pix-DXdX91yj-DMuK0Sck.js +0 -22
- package/dist/pix_outline-D_xXXgCN-CNovmSkW.js +0 -16
- package/dist/pix_white-CcVsnEF2-b6OkpjzX.js +0 -24
- package/dist/pusher-C5wfOfDN.js +0 -4010
- package/dist/shield-DS-Xf4WH-7ZJyPm0A.js +0 -15
- package/dist/solid_help-DNaqfgoc-CY28J5vD.js +0 -20
- package/dist/solid_home-BDUiJDVY-CG99aZs7.js +0 -18
- package/dist/solid_leaderboard-DtqK7q9Y-B6sftvlG.js +0 -18
- package/dist/solid_store-Cfv6o4b8-y2_zBdTJ.js +0 -18
- package/dist/ticket_icon-DwvyLm7c-CHfuVjAU.js +0 -22
- package/dist/usePendingMessage-DySADOYA.js +0 -191
- package/dist/useQueryFilter-CJQGAMwC.js +0 -93
- package/dist/useRecurringTable-DNgQoiep.js +0 -160
- package/dist/user-BRpwqYx8-BZIaGsUj.js +0 -18
- package/dist/validateURL.helper-JrbHw1Tv.js +0 -126
- package/dist/visa-tPjWcMbi-DgS6Nw7y.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-Cc-i2rHY.js";
|
|
5
|
-
import { H } from "./AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-D1RcJAOd.js";
|
|
6
|
-
import { a as script, s as script$1 } from "./index-NjpW1Pxr.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-L7qHfn8t.js";
|
|
8
|
-
import { u as useQueryFilter } from "./useQueryFilter-CJQGAMwC.js";
|
|
9
|
-
import { s as script$2 } from "./index-BCHSaCF7.js";
|
|
10
|
-
import { _ as _sfc_main$m } from "./AmLayoutFeedbackState-HfUcDHay.js";
|
|
11
|
-
import { P as Pusher } from "./pusher-C5wfOfDN.js";
|
|
12
|
-
import { O as OrderStatusChip } from "./OrderStatusChip-BTFzb39z.js";
|
|
13
|
-
import { z } from "./index-Dq110QZ7.js";
|
|
14
|
-
import { b } from "./AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-DXEOLtKB.js";
|
|
15
|
-
import { B } from "./index-Xo8GeFPq.js";
|
|
16
|
-
import { k as ke } from "./index-tjs_XU5D.js";
|
|
17
|
-
import { b as script$7, s as script$8, a as script$9 } from "./index-xnGvAt-H.js";
|
|
18
|
-
import { s as script$a } from "./index-wFhKdA5M.js";
|
|
19
|
-
import { A as AmCardV3 } from "./AmCardV3-eLIe47Pk.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
|
-
};
|