appmax-client-vue3 5.5.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AD-Ct_GVBfr-B_1aR5Ka.js +16 -0
- package/dist/AE-DiMVenwy-Co6k1Ogm.js +16 -0
- package/dist/AF-DOrptOkS-BRPW9XDn.js +16 -0
- package/dist/AG-CzBMAtom-Dig5ACOy.js +16 -0
- package/dist/AI-A2DnDGPS-edpHF60l.js +16 -0
- package/dist/AL-BcGdPXjJ-aEoASVPX.js +16 -0
- package/dist/AM-BC_r4gTd-CLIiJLvA.js +16 -0
- package/dist/AO-D6GK49nd-DocoQ6bg.js +16 -0
- package/dist/AQ-Eeziry42-BFIdTt53.js +16 -0
- package/dist/AR-AbqVWszQ-CfXL6Zn9.js +16 -0
- package/dist/AS-BWe_Gq8Z-CMOJ7Gzz.js +16 -0
- package/dist/AT-b5CS9jSt-BWMTbUYB.js +16 -0
- package/dist/AU-BUbOyX6Q-kuthTQhw.js +16 -0
- package/dist/AW-CjVdJTYe-UjcPe9ER.js +16 -0
- package/dist/AX-lNtwEmw2-DzCSGigp.js +16 -0
- package/dist/AZ-f8zSo9ut-BmRwPXn3.js +16 -0
- package/dist/AmBulletLegend-B8iil_lZ.js +23 -0
- package/dist/AmCardV3-C487NvTL.js +22 -0
- package/dist/AmDoughnutChartAdapted-BZ7CvUO1.js +203 -0
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-DbEYzfCw.js +86 -0
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-DrfwYn3g.js +40 -0
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-DLZ5NKpo.js +46 -0
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-f4Xn8LC6.js +63 -0
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-D2zQmEN--BK0RpQfM.js +53 -0
- package/dist/AmLayoutFeedbackState-HBIMh8WK.js +48 -0
- package/dist/AmLayoutInnerData-7AKh68vS.js +162 -0
- package/dist/AmOutlineCard-DUVvoZKk.js +25 -0
- package/dist/AmSkeleton-DbpC0aEn.js +35 -0
- package/dist/AmText-cwjRhC4c.js +33 -0
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-BaxS6Ek6.js +64 -0
- package/dist/ApiService-D4pgw_Qn.js +11 -0
- package/dist/AppInstallationConfirmationPasswordModal-DOagqoAu.js +535 -0
- package/dist/AppstoreAppView-DKsi4L_A.js +315 -0
- package/dist/AppstoreHomeView-CKKjRd2_.js +1372 -0
- package/dist/BA-BfV7_7RP-C2tH7Eg5.js +16 -0
- package/dist/BB-CC4768VM-D37twDoq.js +16 -0
- package/dist/BD-YQdTTbhg-OswMMmEk.js +16 -0
- package/dist/BE-DUYoRyei-Cnfq5-rz.js +16 -0
- package/dist/BF-XZRLkaHX-D065qBrF.js +16 -0
- package/dist/BG-BAb8lAFP-C2W3fKWT.js +16 -0
- package/dist/BH-C1LTB8Fj-CgPuc5I8.js +16 -0
- package/dist/BI-RjDfMipp-DjKbPe8t.js +16 -0
- package/dist/BJ-DAv61IMB-Bvb-pd9Y.js +16 -0
- package/dist/BL-CFW4iaQd-DM_wgey1.js +16 -0
- package/dist/BM-DuK3dA1G-CCDCZ7la.js +16 -0
- package/dist/BN-BXHGopan-BiaLe02K.js +16 -0
- package/dist/BO-CzuoErsx-3MyPMv1a.js +16 -0
- package/dist/BQ-BO-BlM1Uin3-fKn68Mu_.js +16 -0
- package/dist/BQ-SA-BninfeHy-Dfa6_9Z4.js +16 -0
- package/dist/BQ-SE-tq-mCvpl-DJvKPba-.js +16 -0
- package/dist/BR-B1GEJ05L-BH-CxFe-.js +16 -0
- package/dist/BS-MeULPH4e-DtQi2I_H.js +16 -0
- package/dist/BT-BCfQJS6a-D2fGzuo-.js +16 -0
- package/dist/BV-CfaYWvM--CBYVkfkZ.js +16 -0
- package/dist/BW-jYbPMHhQ-Cae25IXK.js +16 -0
- package/dist/BY-Ddffd2rT-CNBTIYGN.js +16 -0
- package/dist/BZ-B7mGW2Jg-08iPHjBV.js +16 -0
- package/dist/BankAccountCrossborderNew.page-B-l2Ed8q.js +152 -0
- package/dist/BankAccountList.page-DZdB8DoV.js +331 -0
- package/dist/BankAccountNew.page-Dc87sDuH.js +982 -0
- package/dist/CA-CHl-cqJL-rOEilGN6.js +16 -0
- package/dist/CC-DSLZRwFz-CNMyGuR8.js +16 -0
- package/dist/CD-D4NJYkQm-DdbuzlgT.js +16 -0
- package/dist/CF-DoxRpaA9-C0dqLEWW.js +16 -0
- package/dist/CG-Auzp6pC_-EZ8_erMR.js +16 -0
- package/dist/CH-B5eEo1aL-BqeG-uB_.js +16 -0
- package/dist/CI-DFfmdeVw-Te1lBuQd.js +16 -0
- package/dist/CK-CKWUhjXV-D0f7DwX2.js +16 -0
- package/dist/CL-Di6p-p6X-DoWHCeWD.js +16 -0
- package/dist/CM-B0ht31e3-CzpeHC_h.js +16 -0
- package/dist/CN-CKHlOciI-D94zRW8Q.js +16 -0
- package/dist/CO-GBUkcePt-CPUu97vd.js +16 -0
- package/dist/CR-Daw5JsjF-2xLlo6DL.js +16 -0
- package/dist/CU-CVOkcTvR-5aTaXkuY.js +16 -0
- package/dist/CV-cyPoze-o-vhVQMH1E.js +16 -0
- package/dist/CW-Bt-Pwg4j-CWGjk47c.js +16 -0
- package/dist/CX-uhIZlYzy-D1UTt-WL.js +16 -0
- package/dist/CY-un4rgwPX-DImfHkxS.js +16 -0
- package/dist/CZ-equ-r4iN-B2G7WA9-.js +16 -0
- package/dist/CashoutAntecipateContent-DLyBwNAU.js +42 -0
- package/dist/ChargebackAnalytics-Cb2JVoMv.js +1701 -0
- package/dist/ChargebackDetail-y-p3c2oE.js +3470 -0
- package/dist/ConfirmationModal-DFvvpakq.js +105 -0
- package/dist/Create.page-DgatO5_7.js +1409 -0
- package/dist/CreatePaymentLink-BzUdiomI.js +857 -0
- package/dist/DE-zx7UmJ-V-BC79EbbQ.js +16 -0
- package/dist/DJ-BN1kIFYT-C9xMwPxl.js +16 -0
- package/dist/DK-CrXXNH_h-Baejh1U_.js +16 -0
- package/dist/DM-B4nVdNww-DSLuSJ6H.js +16 -0
- package/dist/DO-C7-NF2JD-x3wlYBxx.js +16 -0
- package/dist/DZ-DSDLbNRb-DfdIwqLe.js +16 -0
- package/dist/DashboardAmountDetailsContent-Db3dxCz9.js +65 -0
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-DclfZ3aj.js +151 -0
- package/dist/DashboardApprovalRateInternationalContent-BJx72KgC.js +19 -0
- package/dist/DashboardApprovalRateNationalContent-BYPNmIVE.js +74 -0
- package/dist/DashboardCarouselContent-D0qbElxe.js +963 -0
- package/dist/DashboardDetailsContent-BLVHAYU-.js +58 -0
- package/dist/DashboardHome-DY_iPv2S.js +5402 -0
- package/dist/DetailSubscriptionRecurring-uNiHLtHK.js +1314 -0
- package/dist/EC-C_bjTYWm-D7m8z8zL.js +16 -0
- package/dist/EE-CQIjuoWO-BvRMOYI5.js +16 -0
- package/dist/EG-Bs_BHfVR-DzJFAzWZ.js +16 -0
- package/dist/EH-CnWam84F-BqDpRqYC.js +16 -0
- package/dist/ER-Dcl4hJzq-DbMkb6M1.js +16 -0
- package/dist/ES-Bpj2gAdj-Dne1E2xX.js +16 -0
- package/dist/ET-Dm3q0Ruz-7ff5Ocue.js +16 -0
- package/dist/ExternalPendenciesList-DQe7vP4O.js +651 -0
- package/dist/FI-DCqfJeiQ-BhTiy_Ke.js +16 -0
- package/dist/FJ-C6UrGUgI-DnW9MI74.js +16 -0
- package/dist/FK-CAaec31K-CMBFHAkJ.js +16 -0
- package/dist/FM-Cf2SIJ7h-rqUhIGuS.js +16 -0
- package/dist/FO-DBb4psBV-CTMMCWQH.js +16 -0
- package/dist/FR-CFW4iaQd-CgFanSEo.js +16 -0
- package/dist/FeatureFlagsPage-BQgO7hs1.js +271 -0
- package/dist/Form.page-Cp9ZLXPO.js +624 -0
- package/dist/GA-D3NTxgTl-DH79YyxJ.js +16 -0
- package/dist/GB-ENG-Cmkg6Zq8-Cz3K8Ouk.js +16 -0
- package/dist/GB-NIR-DKszcfHi-Bo7f-0Pv.js +16 -0
- package/dist/GB-SCT-BiivwJ71-cejHj8pR.js +16 -0
- package/dist/GB-UKM-DgMBd3ib-P38rOaBz.js +16 -0
- package/dist/GB-WLS-DLoDy9iv-Ci_OuUwt.js +16 -0
- package/dist/GD-Bs1d4We7-CC8KJq29.js +16 -0
- package/dist/GE-DXG9iLk5-BlI6o3wS.js +16 -0
- package/dist/GF-B20s5gtx-BOmj2mX4.js +16 -0
- package/dist/GG-BAyrpIoO-CyNudl4E.js +16 -0
- package/dist/GH-v3jh5r1X-BhsfZa-S.js +16 -0
- package/dist/GI-D39Krd4s-WpPEbwSB.js +16 -0
- package/dist/GL-BDd_W5AU-D8vGEWOp.js +16 -0
- package/dist/GM-BNEHspzj-UGMeNCx1.js +16 -0
- package/dist/GN-DdIZ0X6d-6fnpB4gm.js +16 -0
- package/dist/GP-CFW4iaQd-D2i0giJ2.js +16 -0
- package/dist/GQ-CC3X6AMz-BvpsuG6y.js +16 -0
- package/dist/GR-C_0rusTd-BzaDygqZ.js +16 -0
- package/dist/GS-Db5l22a1-D2_pPKTB.js +16 -0
- package/dist/GT-BhbkqUft-BOw79DgF.js +16 -0
- package/dist/GU-C0HeItm1-DkJytSYr.js +16 -0
- package/dist/GW-BjLM1vg--BbFmnOCw.js +16 -0
- package/dist/GY-BreBVlhN-Dlh4y13D.js +16 -0
- package/dist/Giftmax-CJhxCfgx.js +489 -0
- package/dist/HK-BZn9ZQGS-ZlvIDo6Y.js +16 -0
- package/dist/HM-BUbOyX6Q-BVNSU-9S.js +16 -0
- package/dist/HN-D4wujIPC-Cw8OZaV9.js +16 -0
- package/dist/HR-Jhi3QQ9F-C56vP7sE.js +16 -0
- package/dist/HT-MMjMjr-R-Cw8ufuF4.js +16 -0
- package/dist/HU-CN5KmQ7F--TeBtEXZ.js +16 -0
- package/dist/Home-LSoihNTA.js +997 -0
- package/dist/Home.page-D1b2Wy5o.js +499 -0
- package/dist/ID-hVVUTKNG-DyVPafzE.js +16 -0
- package/dist/IE-WN_vdKcS-DARRcSRx.js +16 -0
- package/dist/IL-D5Wr_Xxh-BeHA4xoS.js +16 -0
- package/dist/IM-B-putc0k-XnMZqASi.js +16 -0
- package/dist/IN-CK40zbQD-Cf-qqWwG.js +16 -0
- package/dist/IO-CdvLck7D-Bdx0v3R2.js +16 -0
- package/dist/IQ-f_9wyurt-hRpS4VUd.js +16 -0
- package/dist/IR-B0yfWttH-DOq_mTbq.js +16 -0
- package/dist/IS-Dvf-XQTq-DDnUx90H.js +16 -0
- package/dist/IT-uY7cjdFI-C87tRmuU.js +16 -0
- package/dist/ImportTrackingCode-CC-bo77J.js +1007 -0
- package/dist/InternalCompanyIssuesDetail-COfRTe7V.js +862 -0
- package/dist/InternalCompanyList-C3pPJKDd.js +351 -0
- package/dist/InternalPendencyDetail-z0SvRCTi.js +717 -0
- package/dist/JE-C95tN_VG-tIgBKLZX.js +16 -0
- package/dist/JM-zOuEwaB3-CSNpPRc2.js +16 -0
- package/dist/JO-Cq88rrOD-DVlPmiJE.js +16 -0
- package/dist/JP-5evXgWxq-Vasz8Jga.js +16 -0
- package/dist/KE-PHx0d97Z-DcbAZxUo.js +16 -0
- package/dist/KG-DT4JnieX-Olba0Vo4.js +16 -0
- package/dist/KH-ChwV2WTT-YRSBQaaW.js +16 -0
- package/dist/KI-D212g4Lh-BCDl8Zkn.js +16 -0
- package/dist/KM-mPVp7AKS-DR1HKlVY.js +16 -0
- package/dist/KN-AdXLXICN-C5p1N7yI.js +16 -0
- package/dist/KP-CC6UIrEF-CQLAtRH6.js +16 -0
- package/dist/KR-BtnmWR6C-DM5QZnLm.js +16 -0
- package/dist/KW-gqahWVaw-OGXDbYDk.js +16 -0
- package/dist/KY-DjIb70VQ-CBBLjaf6.js +16 -0
- package/dist/KZ-C_fRihiO-jk5eGzGI.js +16 -0
- package/dist/LA-KIULJHAb-ll1hi0KA.js +16 -0
- package/dist/LB-CrF8WJiI-BHSkVqPj.js +16 -0
- package/dist/LC-DGiHXm5V-C9mzR9Rn.js +16 -0
- package/dist/LI-BwB0b8M1-D0OObgtX.js +16 -0
- package/dist/LK-BOC44ZgS-CrGwmvWe.js +16 -0
- package/dist/LR-CWjRlWOZ-CqX8Shbs.js +16 -0
- package/dist/LS-B_EgU3p5-pFWjS1J7.js +16 -0
- package/dist/LT-BPyPiVx2-SSvFqMyx.js +16 -0
- package/dist/LU-B-De6aB--D6cPGhWy.js +16 -0
- package/dist/LV-D2Ewe3XC-ZBpi7ecs.js +16 -0
- package/dist/LY-D1TSt6YI-D32vcNQL.js +16 -0
- package/dist/MA-QY5gm-vM-CFc5uWzD.js +16 -0
- package/dist/MC-BjlCjfCP-Cro2rhu7.js +16 -0
- package/dist/MD-rh-6rlSt-BMwu9LtI.js +16 -0
- package/dist/ME-D1euo0V2-BSkWnZup.js +16 -0
- package/dist/MF-CFW4iaQd-CU8D-xNz.js +16 -0
- package/dist/MG-ONnxn_5g-daV5-VQv.js +16 -0
- package/dist/MH-B8oC_VMS-C8MkzIsg.js +16 -0
- package/dist/MK-ByjICisj-DDqs7ImM.js +16 -0
- package/dist/ML-CKVAuhox-CwKs-6dP.js +16 -0
- package/dist/MM-doJuUjVT-CUXjxOro.js +16 -0
- package/dist/MN-BFP303GE-1pfBPath.js +16 -0
- package/dist/MO-Dp4PTSYU-C4eHa4TU.js +16 -0
- package/dist/MP-CqKsnjHV-G4yQawpE.js +16 -0
- package/dist/MQ-CFW4iaQd-_JcJHbXn.js +16 -0
- package/dist/MR-D73q_PiY-BFsKPNyC.js +16 -0
- package/dist/MS-qhjKl9TO-CRCfrWBB.js +16 -0
- package/dist/MT-CZjbs1U--DVhoS4H9.js +16 -0
- package/dist/MU-D0EQOl0S-DQR9E8_g.js +16 -0
- package/dist/MV-BtwHRTMn-DTu2WHSx.js +16 -0
- package/dist/MW-CVnAR98j-CRU2pS-j.js +16 -0
- package/dist/MX-C7vXnCDY-BWo6IxhQ.js +16 -0
- package/dist/MY-DJcgH_o3-DbFgz3a5.js +16 -0
- package/dist/MZ-BbLwl9DA-D5nMtrbf.js +16 -0
- package/dist/Max.page-2CVjxgAN.js +879 -0
- package/dist/MostSoldCountries-CnP-7ayD.js +22 -0
- package/dist/NA-5FKNjRGT-Cr-FE13k.js +16 -0
- package/dist/NC-CFW4iaQd-COon2a1H.js +16 -0
- package/dist/NE-DpLZJa7D-CI68c_LJ.js +16 -0
- package/dist/NF-BT-wIfwf-Wi_TvyIB.js +16 -0
- package/dist/NG-BAiR_q0H-BWU-eY48.js +16 -0
- package/dist/NI-DylPDojG-wnVJvIpJ.js +16 -0
- package/dist/NL-iozeFKPM-Bdo3rd_d.js +16 -0
- package/dist/NO-CfaYWvM--BPiUkdlw.js +16 -0
- package/dist/NP-BGR_ZaqA-XJnVvCsm.js +16 -0
- package/dist/NR-DHGW5Y3Q-xPy1iiVt.js +16 -0
- package/dist/NU-CcpcSx_x-D0cHilfu.js +16 -0
- package/dist/NZ-DDYt6DcJ-Dhe4NcyS.js +16 -0
- package/dist/OM-D6hiar1r-B9e2bqD2.js +16 -0
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-D2y3ameb.js +790 -0
- package/dist/OrderStatusChip-CpGRd3tE.js +30 -0
- package/dist/Orders.page-BowER1o9.js +1636 -0
- package/dist/OrdersChartDataContent-ktnuT9u4.js +221 -0
- package/dist/OrdersDetails.page-CLzV3HJg.js +6194 -0
- package/dist/PA-Bi2blxjJ-DVvS0ajv.js +16 -0
- package/dist/PE-D4DjQOlP-DbUVnemA.js +16 -0
- package/dist/PF-DmOSfnYB-DI9Vg8gq.js +16 -0
- package/dist/PG-DeOlZ7TA-3sFYlb9G.js +16 -0
- package/dist/PH-Dv4KdxU--Dfp2GzOk.js +16 -0
- package/dist/PK-CRhM95F8-BeBgrUpJ.js +16 -0
- package/dist/PL-BIdMQAtx-s7INMjQN.js +16 -0
- package/dist/PM-BDa53dEz-fJjC9YGI.js +16 -0
- package/dist/PN-Csu7Dufn-CGc97A4W.js +16 -0
- package/dist/PR-C_Acdbc_-CFg41NLb.js +16 -0
- package/dist/PS-Dmg0ofZr-BNIACcTB.js +16 -0
- package/dist/PT-Bsck4nv8-D2ER7D2R.js +16 -0
- package/dist/PW-CBMqjpxh-FrZmcqHS.js +16 -0
- package/dist/PY-Be6zNh15-Cx_L69TE.js +16 -0
- package/dist/PaymentsLinks-DMhPiPD4.js +675 -0
- package/dist/QA-CZmcW85r-BHBXshGd.js +16 -0
- package/dist/RE-CFW4iaQd-DI6LqDKy.js +16 -0
- package/dist/RO-6H4O-gQF-DghCLzq0.js +16 -0
- package/dist/RS-DM7vMnHL-BVWPs3J9.js +16 -0
- package/dist/RU-HqKQeTq2-Da35Zohv.js +16 -0
- package/dist/RW-DkH4VhfP-C5LBMgqW.js +16 -0
- package/dist/RecurringSubscription--PStkglg.js +639 -0
- package/dist/RecurringSubscriptionDashView-BxfnjGR1.js +2051 -0
- package/dist/RefundChargeback-BXosK-h6.js +97 -0
- package/dist/RiskPendenciesInternalService-C0C0uv_7.js +145 -0
- package/dist/SA-C2hBi4Lh-B2Yv5SPV.js +16 -0
- package/dist/SB-CBu9QLGP-CUqwg5Ui.js +16 -0
- package/dist/SC-CR6esM-V-1uufQbgd.js +16 -0
- package/dist/SD-VCXqBHrW-BW7plXIv.js +16 -0
- package/dist/SE-DbI0jJm9-DDI_MGx6.js +16 -0
- package/dist/SG-DgprfMyV-DLE7Lo7n.js +16 -0
- package/dist/SH-qhjKl9TO-CPe6ZduN.js +16 -0
- package/dist/SI-C3dA03Yk-3q0HE9OQ.js +16 -0
- package/dist/SJ-CfaYWvM--MYon2ajx.js +16 -0
- package/dist/SK-CxbHN7aU-Ddn-kPjK.js +16 -0
- package/dist/SL-GXAaRXng-BzD3LFew.js +16 -0
- package/dist/SM-B2SteTdO-Choued15.js +16 -0
- package/dist/SN-B7Q__Lx_-_ggqwiVK.js +16 -0
- package/dist/SO-Bnd5-U9z-DZrrGE9x.js +16 -0
- package/dist/SR-BHMDOkL2-4PMoHqUx.js +16 -0
- package/dist/SS-CsTgWca1-CtFL-VoN.js +16 -0
- package/dist/ST-DLqO0boT-C4d2nMRQ.js +16 -0
- package/dist/SV-DNZizmQg-rbkcVBBb.js +16 -0
- package/dist/SX-DWuXjLwS-C5Po43xv.js +16 -0
- package/dist/SY-DeOQEBum-DjMxfiYQ.js +16 -0
- package/dist/SZ-Bhe0qU5K-C1z4Q2Qx.js +16 -0
- package/dist/SalesRecovery-DjGpspLj.js +595 -0
- package/dist/SalesRecoveryIA-BAkt7I1Q.js +199 -0
- package/dist/SendCustomerRefundLinkPage-1cgmB2vi.js +137 -0
- package/dist/StatusDescriptionModal-25pkZETI.js +60 -0
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-CpDEaRkM.js +28 -0
- package/dist/TC-D5HTaKiF-CgFFKpvD.js +16 -0
- package/dist/TD-DyIWvaGg-BeV38hfA.js +16 -0
- package/dist/TF-BRsv64iE-xVkGgorG.js +16 -0
- package/dist/TG-OhNa5jmt-BUbfiHQk.js +16 -0
- package/dist/TH-F_ODV0JW-IqVJvth9.js +16 -0
- package/dist/TJ-BFkbbSmN-CRa7VfCj.js +16 -0
- package/dist/TK-Ct75yy7V-s2omZlja.js +16 -0
- package/dist/TL-BzqVkHGw-3o_R1fXh.js +16 -0
- package/dist/TM-CCAvd8qV-Csbptnso.js +16 -0
- package/dist/TN-CmYqbPEz-BrxCzB38.js +16 -0
- package/dist/TO-BQQk9Xq_-DrITyJCx.js +16 -0
- package/dist/TR-_MKkCnUV-COKovSla.js +16 -0
- package/dist/TT-DoRURl1c-CGrhZbqa.js +16 -0
- package/dist/TV-Dt8uZCP4-Dlf4zAfl.js +16 -0
- package/dist/TW-CvHugvex-P_iJQHSS.js +16 -0
- package/dist/TZ-RbwBgiwb-C6wrLALC.js +16 -0
- package/dist/TestView-BikKnmlj.js +14 -0
- package/dist/TopSellingProductsContent-TQ-LBhEz.js +80 -0
- package/dist/UA-BiXHPMqV-DtjBBklx.js +16 -0
- package/dist/UG--it_LhSj-D19FfO7C.js +16 -0
- package/dist/UM-BFcTdeDD-DNURGbxG.js +16 -0
- package/dist/US-BFcTdeDD-DNURGbxG.js +16 -0
- package/dist/UY-C26Ndi4P-DYzzlpiT.js +16 -0
- package/dist/UZ-BK5ADwFW-C_Z8xpYH.js +16 -0
- package/dist/UserIndicationsPage-ChVFQ7ok.js +743 -0
- package/dist/VA-Cpq1n4yW-kMZu-bu4.js +16 -0
- package/dist/VC-D1Fjbog5-CJePLbQo.js +16 -0
- package/dist/VE-CeM-hea7-C4-qMiu9.js +16 -0
- package/dist/VG-qhjKl9TO-HpoD13c2.js +16 -0
- package/dist/VI-C-kcu42_-B8uset2G.js +16 -0
- package/dist/VN-2yoryeK1-D_S4KwFp.js +16 -0
- package/dist/VU-CkLlsgzP-DjVyTl2S.js +16 -0
- package/dist/WF-BDa53dEz-CM5EWKL8.js +16 -0
- package/dist/WS-CNi2O6Qm-BeYI92-C.js +16 -0
- package/dist/WhatsappPreview.vue_vue_type_script_setup_true_lang-BFZM3H9i.js +157 -0
- package/dist/WithdrawAdvance-BDHmhG0J.js +17 -0
- package/dist/WithdrawBalanceStore-CsJxkCNk.js +504 -0
- package/dist/WithdrawBankAccountStore--6jQPz35.js +130 -0
- package/dist/WithdrawBlocked-BrAoupZ3.js +133 -0
- package/dist/WithdrawCompanyStore-BJxv08Av.js +80 -0
- package/dist/WithdrawGuaranteeExtract-Bu_Xsngp.js +980 -0
- package/dist/WithdrawHome-BHgCFycZ.js +1843 -0
- package/dist/WithdrawHome-DQ3Elosw.js +2448 -0
- package/dist/WithdrawInternational-DREe0F6U.js +17 -0
- package/dist/WithdrawMaxStore-CjsQqqv1.js +375 -0
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-BuqeELGP.js +531 -0
- package/dist/WithdrawNoAccountWarning-FrFFT0Yj.js +233 -0
- package/dist/WithdrawPermissionGuard-A4hP1sfr.js +338 -0
- package/dist/WithdrawRequest-D4PrI5DJ.js +17 -0
- package/dist/WithdrawRequest-ae1W_STE.js +944 -0
- package/dist/WithdrawRequestDetail-BYY_Qe4A.js +284 -0
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-BcVBhI0x.js +937 -0
- package/dist/YE-DxPZysMs-DRP_ZQff.js +16 -0
- package/dist/YT-BMJJ1U_T-CD7xzHQC.js +16 -0
- package/dist/ZA-BjQXS8mc-DfjLRcUE.js +16 -0
- package/dist/ZM-Dw0PmMTO-CJ-6YeRk.js +16 -0
- package/dist/ZW-D0UStZMr-CsM5oUzf.js +16 -0
- package/dist/affiliate-Bgt9fadK-BUa_FLAP.js +22 -0
- package/dist/amex-CvNwRHhS-8O8tMHdr.js +16 -0
- package/dist/api-D_mWkjIh.js +11 -0
- package/dist/apple_pay-DtsAzVjF-e8pUAkkZ.js +20 -0
- package/dist/archive-CFoPOir7-Crpv0HWt.js +18 -0
- package/dist/aura-D1VyKb6w-dH2yKMpJ.js +23 -0
- package/dist/boleto-BQZRi0Q5-DyDYpwKE.js +18 -0
- package/dist/box-DNrK38w2-BnAI4RgT.js +20 -0
- package/dist/cart-p5jccB8o-CpSNpdic.js +15 -0
- package/dist/cash-FZcelZV1-CjnC85QT.js +20 -0
- package/dist/chart-YJ27XOr3-CsYWgRFF.js +22 -0
- package/dist/credit_card-CGrPYCJP-CGCdO630.js +15 -0
- package/dist/csv-CYa6aPS5-CLdKH_eV.js +18 -0
- package/dist/dayjs.min-lile4sr9.js +282 -0
- package/dist/diners-CN_1suUM-DTjKzudJ.js +26 -0
- package/dist/discover-vVTOFEvv-DrcUyDHa.js +22 -0
- package/dist/ds-appmax-v322-BRXgdUOl.js +52 -0
- package/dist/ds-appmax-v327-Bi9pUUp6.js +69 -0
- package/dist/ds-appmax-v330-C2alt7ZO.js +48 -0
- package/dist/ds-appmax-v335-e4t96ehL.js +278 -0
- package/dist/elo-BaNbqhYS-DMFnOtMX.js +15 -0
- package/dist/gear-BHOWpd7b-DmCnxnQN.js +18 -0
- package/dist/grid-B7I0mWry-B_eCH2ju.js +18 -0
- package/dist/hipercard-DBsszwxC-CVplO2P8.js +22 -0
- package/dist/index-2iM7y-v2.js +11 -0
- package/dist/index-B4Cr8Tq3.js +1567 -0
- package/dist/index-BI5eFkiV.js +1433 -0
- package/dist/index-BJX5eYDm.js +1790 -0
- package/dist/index-BNJSm9I7.js +159 -0
- package/dist/index-BPdFVyuW.js +961 -0
- package/dist/index-BTdGfHTb.js +219 -0
- package/dist/index-BYuDmJME.js +169 -0
- package/dist/index-BjG5O93D.js +332 -0
- package/dist/index-BpvshXHd.js +681 -0
- package/dist/index-BzgUUz85.js +28 -0
- package/dist/index-C5LwNJ4v.js +219 -0
- package/dist/index-C6C93EFt.js +409 -0
- package/dist/index-C6CDMO1b.js +534 -0
- package/dist/index-CLCt8c7X.js +275 -0
- package/dist/index-CRY1q0gm.js +92 -0
- package/dist/index-CX0fuTK6.js +230 -0
- package/dist/index-CXV6J4DC.js +150 -0
- package/dist/index-CaYExPIa.js +21 -0
- package/dist/index-Cu1wLOM1.js +9812 -0
- package/dist/index-DEP-n39H.js +35 -0
- package/dist/index-DMERkWd2.js +721 -0
- package/dist/index-DZh-l_pI.js +200 -0
- package/dist/index-Ds72WIOj.js +117 -0
- package/dist/index-Dsf2UZnw.js +67 -0
- package/dist/index-Dten90HK.js +21 -0
- package/dist/index-DvbQkchL.js +808 -0
- package/dist/index-DytUNHuU.js +106 -0
- package/dist/index-WewRK0IL.js +217 -0
- package/dist/index-j-6DSjDS.js +83 -0
- package/dist/index-lAU487G5.js +62 -0
- package/dist/index-li36gNfD.js +153 -0
- package/dist/index-o95E5U3_.js +18 -0
- package/dist/index-vXQsnQcq.js +4133 -0
- package/dist/index.page-b2t43lhS.js +828 -0
- package/dist/infos-8KGPLXoE-CdL8OZsc.js +18 -0
- package/dist/integrations-UOltVEyj-Dy_y816n.js +19 -0
- package/dist/logs-Ce3fZY0v-D6GK4wah.js +28 -0
- package/dist/maestro-BMomgHxO-D4dXFFvj.js +27 -0
- package/dist/main-Co25L4rd.js +103911 -0
- package/dist/main.js +1 -1
- package/dist/mastercard-5I-dcOVV-BlaIcYCC.js +30 -0
- package/dist/max_brand-Crj-SFUw-Bb4dIbc0.js +29 -0
- package/dist/max_brand_active-BIkS5qkP-D2bE7bC6.js +27 -0
- package/dist/max_brand_negative-BxvdIegN-Dk-r7hIt.js +30 -0
- package/dist/menu.page-DE47m--n.js +274 -0
- package/dist/money-DZpB5eTf-BOfOS_IG.js +19 -0
- package/dist/notification-DMezLtAj-B3CnYTzu.js +18 -0
- package/dist/paypal-DMYjfEw0-DQaE8sz6.js +15 -0
- package/dist/pix-DXdX91yj-Bnl7R2B2.js +22 -0
- package/dist/pix_outline-D_xXXgCN-CnSTwHle.js +16 -0
- package/dist/pusher-CJACS8TM.js +4010 -0
- package/dist/shield-DS-Xf4WH-q-d8lXUm.js +15 -0
- package/dist/solid_help-DNaqfgoc-DniYRCpI.js +20 -0
- package/dist/solid_home-BDUiJDVY-e4rvJ1Vc.js +18 -0
- package/dist/solid_leaderboard-DtqK7q9Y-vZNhyPt5.js +18 -0
- package/dist/solid_store-Cfv6o4b8-DDpILG74.js +18 -0
- package/dist/ticket_icon-DwvyLm7c-C8u5uka_.js +22 -0
- package/dist/useQueryFilter-CbXFeUpT.js +93 -0
- package/dist/useRecurringTable-DNyJLk8k.js +161 -0
- package/dist/user-BRpwqYx8-WD3EnecL.js +18 -0
- package/dist/validateURL.helper-AqtQSrfU.js +126 -0
- package/dist/visa-tPjWcMbi-Dtq7RkAQ.js +18 -0
- package/package.json +1 -1
- package/dist/AD-Ct_GVBfr-C86Dnkk5.js +0 -16
- package/dist/AE-DiMVenwy-CUxjmGqB.js +0 -16
- package/dist/AF-DOrptOkS-DGtV2Lmi.js +0 -16
- package/dist/AG-CzBMAtom-CREsP7Dj.js +0 -16
- package/dist/AI-A2DnDGPS-KQCklMih.js +0 -16
- package/dist/AL-BcGdPXjJ-b5epu3Ah.js +0 -16
- package/dist/AM-BC_r4gTd-Bn9lYUqo.js +0 -16
- package/dist/AO-D6GK49nd-DiSjTD8I.js +0 -16
- package/dist/AQ-Eeziry42-CluW7rGt.js +0 -16
- package/dist/AR-AbqVWszQ-mqMdBVgk.js +0 -16
- package/dist/AS-BWe_Gq8Z-B8UKaziE.js +0 -16
- package/dist/AT-b5CS9jSt-C_gaGqEg.js +0 -16
- package/dist/AU-BUbOyX6Q-BaRIHp4M.js +0 -16
- package/dist/AW-CjVdJTYe-D54q5djv.js +0 -16
- package/dist/AX-lNtwEmw2-C2SlvH3E.js +0 -16
- package/dist/AZ-f8zSo9ut-Db_Co8hK.js +0 -16
- package/dist/AmBulletLegend-BHAb_dm7.js +0 -23
- package/dist/AmCardV3-B0CzN6zc.js +0 -22
- package/dist/AmDoughnutChartAdapted-BVApmgPb.js +0 -203
- package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-C0amDMj2.js +0 -86
- package/dist/AmFilterLevelDateSelect-BbVyzCa5-Zz_AHtUl.js +0 -40
- package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-BiVS57Jv.js +0 -46
- package/dist/AmFilterLevelSelectFilter-Be3LFJno-DJoFFSx0.js +0 -63
- package/dist/AmHelper.vue_vue_type_script_setup_true_lang-D2zQmEN--D9ADJ3uP.js +0 -53
- package/dist/AmLayoutFeedbackState-BQGNqPs9.js +0 -48
- package/dist/AmLayoutInnerData-Bjk8uVpz.js +0 -162
- package/dist/AmOutlineCard-1N0vjTlL.js +0 -25
- package/dist/AmSkeleton-BTGxmXVn.js +0 -35
- package/dist/AmText-C5enKEBL.js +0 -33
- package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-Ci0I1jPX.js +0 -64
- package/dist/ApiService-w8p-A55E.js +0 -11
- package/dist/AppInstallationConfirmationPasswordModal-BXU4tHBZ.js +0 -535
- package/dist/AppstoreAppView-Ck3163xr.js +0 -315
- package/dist/AppstoreHomeView-Ck_-sCNC.js +0 -1372
- package/dist/BA-BfV7_7RP-Cg444v1v.js +0 -16
- package/dist/BB-CC4768VM-DvwMzuLn.js +0 -16
- package/dist/BD-YQdTTbhg-C7Fpetuo.js +0 -16
- package/dist/BE-DUYoRyei-Dax74oaq.js +0 -16
- package/dist/BF-XZRLkaHX-B2TffmvE.js +0 -16
- package/dist/BG-BAb8lAFP-BkWZQuc2.js +0 -16
- package/dist/BH-C1LTB8Fj-Bw-U4Rhl.js +0 -16
- package/dist/BI-RjDfMipp-D-uq3J83.js +0 -16
- package/dist/BJ-DAv61IMB-i_aZh8Fv.js +0 -16
- package/dist/BL-CFW4iaQd-Co_Hj0wH.js +0 -16
- package/dist/BM-DuK3dA1G-DkPvb5Os.js +0 -16
- package/dist/BN-BXHGopan-Bzf8Lz7g.js +0 -16
- package/dist/BO-CzuoErsx-Cpo5W2PT.js +0 -16
- package/dist/BQ-BO-BlM1Uin3-DKg5JMpP.js +0 -16
- package/dist/BQ-SA-BninfeHy-B_0fznMW.js +0 -16
- package/dist/BQ-SE-tq-mCvpl-D8YwLR4Y.js +0 -16
- package/dist/BR-B1GEJ05L-BclY6m47.js +0 -16
- package/dist/BS-MeULPH4e-nZgpaniR.js +0 -16
- package/dist/BT-BCfQJS6a-CkAtkDPk.js +0 -16
- package/dist/BV-CfaYWvM--C4zwKGhY.js +0 -16
- package/dist/BW-jYbPMHhQ-Bp1Q33ai.js +0 -16
- package/dist/BY-Ddffd2rT-IZ3nlSWO.js +0 -16
- package/dist/BZ-B7mGW2Jg-BO9XGeOH.js +0 -16
- package/dist/BankAccountCrossborderNew.page-DxH81Pnl.js +0 -152
- package/dist/BankAccountList.page-CTJgUSyz.js +0 -331
- package/dist/BankAccountNew.page-CSBt0AwZ.js +0 -982
- package/dist/CA-CHl-cqJL-BTC7IutC.js +0 -16
- package/dist/CC-DSLZRwFz-BCE1-8LY.js +0 -16
- package/dist/CD-D4NJYkQm-CACNHJKx.js +0 -16
- package/dist/CF-DoxRpaA9-BCCi6cUe.js +0 -16
- package/dist/CG-Auzp6pC_--H4iE77e.js +0 -16
- package/dist/CH-B5eEo1aL-CqLVsmWJ.js +0 -16
- package/dist/CI-DFfmdeVw-CfKGKxmP.js +0 -16
- package/dist/CK-CKWUhjXV-C4kJbReS.js +0 -16
- package/dist/CL-Di6p-p6X-BRq0IKnW.js +0 -16
- package/dist/CM-B0ht31e3-Br_FbARW.js +0 -16
- package/dist/CN-CKHlOciI-D_IRYIcm.js +0 -16
- package/dist/CO-GBUkcePt-DK3LCnaU.js +0 -16
- package/dist/CR-Daw5JsjF-B8J-UQrH.js +0 -16
- package/dist/CU-CVOkcTvR-DSB_T6-a.js +0 -16
- package/dist/CV-cyPoze-o-CCeDJ1fh.js +0 -16
- package/dist/CW-Bt-Pwg4j-CnjNgwWf.js +0 -16
- package/dist/CX-uhIZlYzy-n8qIJEZc.js +0 -16
- package/dist/CY-un4rgwPX-YjCE0uXa.js +0 -16
- package/dist/CZ-equ-r4iN-BUPnlEim.js +0 -16
- package/dist/CashoutAntecipateContent-xrL0kQQl.js +0 -42
- package/dist/ChargebackAnalytics-Wvry7JqL.js +0 -1701
- package/dist/ChargebackDetail-BaFM6byb.js +0 -3470
- package/dist/ConfirmationModal-DFL7hU3n.js +0 -105
- package/dist/Create.page-BJR5tXbQ.js +0 -1409
- package/dist/CreatePaymentLink-D_TmqdNl.js +0 -857
- package/dist/DE-zx7UmJ-V-DVmdS1Ly.js +0 -16
- package/dist/DJ-BN1kIFYT-CHT9STIb.js +0 -16
- package/dist/DK-CrXXNH_h-DdO-zSY4.js +0 -16
- package/dist/DM-B4nVdNww-CpJZrRQl.js +0 -16
- package/dist/DO-C7-NF2JD-DYv1LQWo.js +0 -16
- package/dist/DZ-DSDLbNRb-CX60XcNC.js +0 -16
- package/dist/DashboardAmountDetailsContent-B3XqwEOK.js +0 -65
- package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-B3tuiOQ6.js +0 -151
- package/dist/DashboardApprovalRateInternationalContent-fsiVMR3i.js +0 -19
- package/dist/DashboardApprovalRateNationalContent-BzLbrpAK.js +0 -74
- package/dist/DashboardCarouselContent-DBLTelUG.js +0 -963
- package/dist/DashboardDetailsContent-Btgr6NIy.js +0 -58
- package/dist/DashboardHome-CVC16ue1.js +0 -5401
- package/dist/DetailSubscriptionRecurring-ChEr1YKV.js +0 -1314
- package/dist/EC-C_bjTYWm-DWlDjgCz.js +0 -16
- package/dist/EE-CQIjuoWO-BBrPgs3C.js +0 -16
- package/dist/EG-Bs_BHfVR-DcCIkvbZ.js +0 -16
- package/dist/EH-CnWam84F-79kv9fl7.js +0 -16
- package/dist/ER-Dcl4hJzq-SWqbLaTD.js +0 -16
- package/dist/ES-Bpj2gAdj-cMIVIKRH.js +0 -16
- package/dist/ET-Dm3q0Ruz-yTRkLd6n.js +0 -16
- package/dist/ExternalPendenciesList-BLzFQDGA.js +0 -651
- package/dist/FI-DCqfJeiQ-D26ef17J.js +0 -16
- package/dist/FJ-C6UrGUgI-Csc-RFZf.js +0 -16
- package/dist/FK-CAaec31K-tCl39hJz.js +0 -16
- package/dist/FM-Cf2SIJ7h-DpM_t_Kt.js +0 -16
- package/dist/FO-DBb4psBV-w35LvFLb.js +0 -16
- package/dist/FR-CFW4iaQd-zekrK8WZ.js +0 -16
- package/dist/FeatureFlagsPage-RkH1taKK.js +0 -271
- package/dist/Form.page-DjAAL7IX.js +0 -624
- package/dist/GA-D3NTxgTl-CZtACOxB.js +0 -16
- package/dist/GB-ENG-Cmkg6Zq8-Bddvxl1y.js +0 -16
- package/dist/GB-NIR-DKszcfHi-D_cbo6OZ.js +0 -16
- package/dist/GB-SCT-BiivwJ71-BtsFN5l_.js +0 -16
- package/dist/GB-UKM-DgMBd3ib-5CG5Nalg.js +0 -16
- package/dist/GB-WLS-DLoDy9iv-BKjoNCiv.js +0 -16
- package/dist/GD-Bs1d4We7-CmIs1kzl.js +0 -16
- package/dist/GE-DXG9iLk5-rCMRTwcL.js +0 -16
- package/dist/GF-B20s5gtx-D6LnXufv.js +0 -16
- package/dist/GG-BAyrpIoO-CQngLR0I.js +0 -16
- package/dist/GH-v3jh5r1X-1P6nd4dJ.js +0 -16
- package/dist/GI-D39Krd4s-B9YcqzYm.js +0 -16
- package/dist/GL-BDd_W5AU-DR08K7Gj.js +0 -16
- package/dist/GM-BNEHspzj-DZq97GLi.js +0 -16
- package/dist/GN-DdIZ0X6d-DPxhngJJ.js +0 -16
- package/dist/GP-CFW4iaQd-NwUvsClv.js +0 -16
- package/dist/GQ-CC3X6AMz-BuVyVEal.js +0 -16
- package/dist/GR-C_0rusTd-ip_2ZqLy.js +0 -16
- package/dist/GS-Db5l22a1-Bk3Q7XEg.js +0 -16
- package/dist/GT-BhbkqUft-Bo3bTqKa.js +0 -16
- package/dist/GU-C0HeItm1-MnYINTYl.js +0 -16
- package/dist/GW-BjLM1vg--CSPRhxoY.js +0 -16
- package/dist/GY-BreBVlhN-BT9gPzbP.js +0 -16
- package/dist/Giftmax-DhoOvmzP.js +0 -489
- package/dist/HK-BZn9ZQGS-BlllhwDK.js +0 -16
- package/dist/HM-BUbOyX6Q-vtvrshfJ.js +0 -16
- package/dist/HN-D4wujIPC-B7Ob_maP.js +0 -16
- package/dist/HR-Jhi3QQ9F-D21S11AL.js +0 -16
- package/dist/HT-MMjMjr-R-CTFnpe4K.js +0 -16
- package/dist/HU-CN5KmQ7F-DIii_OzE.js +0 -16
- package/dist/Home-CU7LmE_B.js +0 -997
- package/dist/Home.page-DdV3oPd8.js +0 -499
- package/dist/ID-hVVUTKNG-BsWrokUo.js +0 -16
- package/dist/IE-WN_vdKcS-COcxuhGA.js +0 -16
- package/dist/IL-D5Wr_Xxh-BVrL3eHN.js +0 -16
- package/dist/IM-B-putc0k-6mrWT4Qs.js +0 -16
- package/dist/IN-CK40zbQD-Bxx4anYh.js +0 -16
- package/dist/IO-CdvLck7D-pyI_GRjZ.js +0 -16
- package/dist/IQ-f_9wyurt-CVjY_RAZ.js +0 -16
- package/dist/IR-B0yfWttH-DTug70YQ.js +0 -16
- package/dist/IS-Dvf-XQTq-BRf0X1pY.js +0 -16
- package/dist/IT-uY7cjdFI-ClvuL2_c.js +0 -16
- package/dist/ImportTrackingCode-czY267vC.js +0 -1007
- package/dist/InternalCompanyIssuesDetail-BGeFCQiJ.js +0 -862
- package/dist/InternalCompanyList-C6ephzBR.js +0 -351
- package/dist/InternalPendencyDetail-Cy_gq30F.js +0 -717
- package/dist/JE-C95tN_VG-8ZovfXkv.js +0 -16
- package/dist/JM-zOuEwaB3-B9ZUiT-E.js +0 -16
- package/dist/JO-Cq88rrOD-V7uf7NW7.js +0 -16
- package/dist/JP-5evXgWxq-ZMjjOqlT.js +0 -16
- package/dist/KE-PHx0d97Z-CGRJxRUG.js +0 -16
- package/dist/KG-DT4JnieX-hKg2OVGn.js +0 -16
- package/dist/KH-ChwV2WTT-CtHNIkZA.js +0 -16
- package/dist/KI-D212g4Lh-vw06NggS.js +0 -16
- package/dist/KM-mPVp7AKS-Ff96rozU.js +0 -16
- package/dist/KN-AdXLXICN-1mgFKJ-I.js +0 -16
- package/dist/KP-CC6UIrEF-B1H9zDgg.js +0 -16
- package/dist/KR-BtnmWR6C-Cbm0Tg8-.js +0 -16
- package/dist/KW-gqahWVaw-DjCploTd.js +0 -16
- package/dist/KY-DjIb70VQ-BJd4Lsyj.js +0 -16
- package/dist/KZ-C_fRihiO-CPqn2qz0.js +0 -16
- package/dist/LA-KIULJHAb-B151vpqt.js +0 -16
- package/dist/LB-CrF8WJiI-DNfZaINh.js +0 -16
- package/dist/LC-DGiHXm5V-B58XCEc3.js +0 -16
- package/dist/LI-BwB0b8M1-nq9Dbs2f.js +0 -16
- package/dist/LK-BOC44ZgS-BN0B2-Q7.js +0 -16
- package/dist/LR-CWjRlWOZ-Aa1aVoIw.js +0 -16
- package/dist/LS-B_EgU3p5-BNF5CeoA.js +0 -16
- package/dist/LT-BPyPiVx2-CjPZEd7N.js +0 -16
- package/dist/LU-B-De6aB--VKz585QS.js +0 -16
- package/dist/LV-D2Ewe3XC-hu4SLp1d.js +0 -16
- package/dist/LY-D1TSt6YI-B3olLqNY.js +0 -16
- package/dist/MA-QY5gm-vM-DNgJUApc.js +0 -16
- package/dist/MC-BjlCjfCP-ByqNRJdg.js +0 -16
- package/dist/MD-rh-6rlSt-CuWl15Za.js +0 -16
- package/dist/ME-D1euo0V2-OhSfa8cg.js +0 -16
- package/dist/MF-CFW4iaQd-DXeF08Vl.js +0 -16
- package/dist/MG-ONnxn_5g-oIYo_oep.js +0 -16
- package/dist/MH-B8oC_VMS-CxZtlPfC.js +0 -16
- package/dist/MK-ByjICisj-DJsFeyYp.js +0 -16
- package/dist/ML-CKVAuhox-D7dtNgog.js +0 -16
- package/dist/MM-doJuUjVT-DiEvpWHK.js +0 -16
- package/dist/MN-BFP303GE-D-Yv9boh.js +0 -16
- package/dist/MO-Dp4PTSYU-Czr_p0iB.js +0 -16
- package/dist/MP-CqKsnjHV-DbDqGRxI.js +0 -16
- package/dist/MQ-CFW4iaQd-BNvoWmWL.js +0 -16
- package/dist/MR-D73q_PiY-ChRqMv8b.js +0 -16
- package/dist/MS-qhjKl9TO-DpbMiEAx.js +0 -16
- package/dist/MT-CZjbs1U--C_hEl2kE.js +0 -16
- package/dist/MU-D0EQOl0S-B5DNyfcp.js +0 -16
- package/dist/MV-BtwHRTMn-DiZGWDWP.js +0 -16
- package/dist/MW-CVnAR98j-ByMELEd3.js +0 -16
- package/dist/MX-C7vXnCDY-C8vVUjci.js +0 -16
- package/dist/MY-DJcgH_o3-CBaAVBYq.js +0 -16
- package/dist/MZ-BbLwl9DA-BNTZ3DDl.js +0 -16
- package/dist/Max.page-Duf8rayi.js +0 -879
- package/dist/MostSoldCountries-B3ZZFBSz.js +0 -22
- package/dist/NA-5FKNjRGT-Mk-SyJVr.js +0 -16
- package/dist/NC-CFW4iaQd-68J1bUgm.js +0 -16
- package/dist/NE-DpLZJa7D-CBHYt2lI.js +0 -16
- package/dist/NF-BT-wIfwf-qQ1cpJid.js +0 -16
- package/dist/NG-BAiR_q0H-Co38WYwc.js +0 -16
- package/dist/NI-DylPDojG-OL_NEEGi.js +0 -16
- package/dist/NL-iozeFKPM-BZLs2lxx.js +0 -16
- package/dist/NO-CfaYWvM--_xGOOO8t.js +0 -16
- package/dist/NP-BGR_ZaqA--B-K2qP0.js +0 -16
- package/dist/NR-DHGW5Y3Q-2a3TcrsL.js +0 -16
- package/dist/NU-CcpcSx_x-CxpEbJqW.js +0 -16
- package/dist/NZ-DDYt6DcJ-1tnjmnmM.js +0 -16
- package/dist/OM-D6hiar1r-lEqQkwNb.js +0 -16
- package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-zmLsPbu5.js +0 -790
- package/dist/OrderStatusChip-CPjOUGv-.js +0 -30
- package/dist/Orders.page-CvknwImH.js +0 -1636
- package/dist/OrdersChartDataContent-Dcc2OnPg.js +0 -221
- package/dist/OrdersDetails.page-DWNsF4xR.js +0 -6194
- package/dist/PA-Bi2blxjJ-DL7BALKR.js +0 -16
- package/dist/PE-D4DjQOlP-oU4Suo8h.js +0 -16
- package/dist/PF-DmOSfnYB-bLJPzv8A.js +0 -16
- package/dist/PG-DeOlZ7TA-CJd01-HS.js +0 -16
- package/dist/PH-Dv4KdxU--CLYmzT0m.js +0 -16
- package/dist/PK-CRhM95F8-CdS4-ut1.js +0 -16
- package/dist/PL-BIdMQAtx-C4bXZ78b.js +0 -16
- package/dist/PM-BDa53dEz-D-XFMn7j.js +0 -16
- package/dist/PN-Csu7Dufn-C3IM7_Te.js +0 -16
- package/dist/PR-C_Acdbc_-CxPw-gzi.js +0 -16
- package/dist/PS-Dmg0ofZr-YRYzw212.js +0 -16
- package/dist/PT-Bsck4nv8-BD4L7P6b.js +0 -16
- package/dist/PW-CBMqjpxh-BauzjWAE.js +0 -16
- package/dist/PY-Be6zNh15-DH5r8VJK.js +0 -16
- package/dist/PaymentsLinks-CBxt_fk0.js +0 -675
- package/dist/QA-CZmcW85r-B8WGzufe.js +0 -16
- package/dist/RE-CFW4iaQd-EpLEcVWg.js +0 -16
- package/dist/RO-6H4O-gQF-clJxN1mh.js +0 -16
- package/dist/RS-DM7vMnHL-tq38AdA5.js +0 -16
- package/dist/RU-HqKQeTq2-CZpQKUVi.js +0 -16
- package/dist/RW-DkH4VhfP-D82h_zIG.js +0 -16
- package/dist/RecurringSubscription--4DCMLOi.js +0 -639
- package/dist/RecurringSubscriptionDashView-BxWtzD1v.js +0 -2051
- package/dist/RefundChargeback-ChOfqPSz.js +0 -97
- package/dist/RiskPendenciesInternalService-B5LR8MND.js +0 -145
- package/dist/SA-C2hBi4Lh-C7tx6gcS.js +0 -16
- package/dist/SB-CBu9QLGP-Yt_d5gIq.js +0 -16
- package/dist/SC-CR6esM-V-DiRStcJo.js +0 -16
- package/dist/SD-VCXqBHrW-HJG0uPBs.js +0 -16
- package/dist/SE-DbI0jJm9-DNAnVogG.js +0 -16
- package/dist/SG-DgprfMyV-OT06lg1w.js +0 -16
- package/dist/SH-qhjKl9TO-BFsBltOM.js +0 -16
- package/dist/SI-C3dA03Yk-DdzIDbXb.js +0 -16
- package/dist/SJ-CfaYWvM--UQ65DUgd.js +0 -16
- package/dist/SK-CxbHN7aU-DbbkcGmr.js +0 -16
- package/dist/SL-GXAaRXng-Bi4FpAcZ.js +0 -16
- package/dist/SM-B2SteTdO-85A-tdkC.js +0 -16
- package/dist/SN-B7Q__Lx_-CDk735SM.js +0 -16
- package/dist/SO-Bnd5-U9z-CjXpORXk.js +0 -16
- package/dist/SR-BHMDOkL2-BGv3qzs3.js +0 -16
- package/dist/SS-CsTgWca1-B67QZ8ET.js +0 -16
- package/dist/ST-DLqO0boT-BzpJPXGU.js +0 -16
- package/dist/SV-DNZizmQg-Dd5HYdrU.js +0 -16
- package/dist/SX-DWuXjLwS-D1cPwBuc.js +0 -16
- package/dist/SY-DeOQEBum-CnHR-Qld.js +0 -16
- package/dist/SZ-Bhe0qU5K-Bo8flRCu.js +0 -16
- package/dist/SalesRecovery-DiyUEOhW.js +0 -595
- package/dist/SalesRecoveryIA-BPP_LXiq.js +0 -199
- package/dist/SendCustomerRefundLinkPage-CnOaMNtS.js +0 -137
- package/dist/StatusDescriptionModal-DdnZ3xID.js +0 -60
- package/dist/StatusTag.vue_vue_type_script_setup_true_lang-DI1UjADO.js +0 -28
- package/dist/TC-D5HTaKiF-CoV6dI8u.js +0 -16
- package/dist/TD-DyIWvaGg-BVQ4RG_E.js +0 -16
- package/dist/TF-BRsv64iE-CKAe3Mn6.js +0 -16
- package/dist/TG-OhNa5jmt-DIs9X9Qf.js +0 -16
- package/dist/TH-F_ODV0JW-C7hLagoh.js +0 -16
- package/dist/TJ-BFkbbSmN-Dhb_VKez.js +0 -16
- package/dist/TK-Ct75yy7V-DCJR9i6L.js +0 -16
- package/dist/TL-BzqVkHGw-AMNJukaO.js +0 -16
- package/dist/TM-CCAvd8qV-CsWb8tle.js +0 -16
- package/dist/TN-CmYqbPEz-CnjHDPfg.js +0 -16
- package/dist/TO-BQQk9Xq_-Ck9k_Kgy.js +0 -16
- package/dist/TR-_MKkCnUV-BKRUAAJs.js +0 -16
- package/dist/TT-DoRURl1c-veIRGair.js +0 -16
- package/dist/TV-Dt8uZCP4-iGNfQr-e.js +0 -16
- package/dist/TW-CvHugvex-CZ78r6h1.js +0 -16
- package/dist/TZ-RbwBgiwb-VXnvwZ7B.js +0 -16
- package/dist/TestView-DhRacpKF.js +0 -14
- package/dist/TopSellingProductsContent-DBU0sMeO.js +0 -80
- package/dist/UA-BiXHPMqV-CQ5SAH98.js +0 -16
- package/dist/UG--it_LhSj-ttC5IBD2.js +0 -16
- package/dist/UM-BFcTdeDD-NnOepHO3.js +0 -16
- package/dist/US-BFcTdeDD-NnOepHO3.js +0 -16
- package/dist/UY-C26Ndi4P-CFxqCy-n.js +0 -16
- package/dist/UZ-BK5ADwFW-BTWQWi5-.js +0 -16
- package/dist/UserIndicationsPage-B_725W95.js +0 -743
- package/dist/VA-Cpq1n4yW-Dro08tUz.js +0 -16
- package/dist/VC-D1Fjbog5-CPv0knbo.js +0 -16
- package/dist/VE-CeM-hea7-BISynsep.js +0 -16
- package/dist/VG-qhjKl9TO-EJSAmg_o.js +0 -16
- package/dist/VI-C-kcu42_-C2zDfOzM.js +0 -16
- package/dist/VN-2yoryeK1-DBTCougf.js +0 -16
- package/dist/VU-CkLlsgzP-CO8QwnvI.js +0 -16
- package/dist/WF-BDa53dEz-zIL4_8PZ.js +0 -16
- package/dist/WS-CNi2O6Qm-DDXFrcx3.js +0 -16
- package/dist/WhatsappPreview.vue_vue_type_script_setup_true_lang-DNjnnbMS.js +0 -157
- package/dist/WithdrawAdvance-Cq30SWI8.js +0 -17
- package/dist/WithdrawBalanceStore-B0vq4sMF.js +0 -504
- package/dist/WithdrawBankAccountStore-C6ur1CKF.js +0 -130
- package/dist/WithdrawBlocked-ByCnfrHR.js +0 -133
- package/dist/WithdrawCompanyStore-Dh2T3OWL.js +0 -80
- package/dist/WithdrawGuaranteeExtract-CDFmkibx.js +0 -980
- package/dist/WithdrawHome-CgY8GgpK.js +0 -1843
- package/dist/WithdrawHome-JhHgBhXz.js +0 -2448
- package/dist/WithdrawInternational-DStj55uj.js +0 -17
- package/dist/WithdrawMaxStore-ByAQdPEG.js +0 -375
- package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-sE__H_7b.js +0 -531
- package/dist/WithdrawNoAccountWarning-BTiojhX3.js +0 -233
- package/dist/WithdrawPermissionGuard-hNL-PpS6.js +0 -338
- package/dist/WithdrawRequest-BL20Dzhc.js +0 -944
- package/dist/WithdrawRequest-DG3mYEwA.js +0 -17
- package/dist/WithdrawRequestDetail-wdUshh7a.js +0 -284
- package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-Cmx3yggn.js +0 -937
- package/dist/YE-DxPZysMs-Zd5qNtwV.js +0 -16
- package/dist/YT-BMJJ1U_T-e6eVZUfT.js +0 -16
- package/dist/ZA-BjQXS8mc-B-jKB0qz.js +0 -16
- package/dist/ZM-Dw0PmMTO-pwdMiHwU.js +0 -16
- package/dist/ZW-D0UStZMr-BfCUJw4s.js +0 -16
- package/dist/affiliate-Bgt9fadK-XxiaKfd2.js +0 -22
- package/dist/amex-CvNwRHhS-B0Kfzusn.js +0 -16
- package/dist/api-hjZUB779.js +0 -11
- package/dist/apple_pay-DtsAzVjF--iuv-Th1.js +0 -20
- package/dist/archive-CFoPOir7-BZC0KzZ6.js +0 -18
- package/dist/aura-D1VyKb6w-DnlcoxPP.js +0 -23
- package/dist/boleto-BQZRi0Q5-BlX9cPy1.js +0 -18
- package/dist/box-DNrK38w2-A8CmxGf0.js +0 -20
- package/dist/cart-p5jccB8o-DTXHfESo.js +0 -15
- package/dist/cash-FZcelZV1-CIwGZkza.js +0 -20
- package/dist/chart-YJ27XOr3-jgdPJbLg.js +0 -22
- package/dist/credit_card-CGrPYCJP-BGxNS1MT.js +0 -15
- package/dist/csv-CYa6aPS5-nhwuBfzs.js +0 -18
- package/dist/dayjs.min-CMD0sKTS.js +0 -282
- package/dist/diners-CN_1suUM-Dvz-q43i.js +0 -26
- package/dist/discover-vVTOFEvv-CzC5XWJa.js +0 -22
- package/dist/ds-appmax-v322-D61gkBfZ.js +0 -52
- package/dist/ds-appmax-v327-Djmdq6Wn.js +0 -69
- package/dist/ds-appmax-v330-svCr4mUQ.js +0 -48
- package/dist/ds-appmax-v335-DMxhPSFl.js +0 -278
- package/dist/elo-BaNbqhYS-B7NCSGr4.js +0 -15
- package/dist/gear-BHOWpd7b-B_5xp6LJ.js +0 -18
- package/dist/grid-B7I0mWry-C5f8aGlA.js +0 -18
- package/dist/hipercard-DBsszwxC-ln4bGVX9.js +0 -22
- package/dist/index-B3GQvjI1.js +0 -28
- package/dist/index-BBYPsJ89.js +0 -230
- package/dist/index-BZCKKBTU.js +0 -83
- package/dist/index-Bg1QDeBU.js +0 -67
- package/dist/index-Bg4HW3i4.js +0 -721
- package/dist/index-Bgn0uPOR.js +0 -217
- package/dist/index-BkY15KBV.js +0 -62
- package/dist/index-BoyJMoBU.js +0 -409
- package/dist/index-BsauZrFi.js +0 -159
- package/dist/index-C3FLO2eF.js +0 -275
- package/dist/index-CAdyW2b0.js +0 -18
- package/dist/index-CGgr-Fc8.js +0 -21
- package/dist/index-CIEkErho.js +0 -1433
- package/dist/index-CT-RYb8P.js +0 -332
- package/dist/index-CfOXxlHa.js +0 -35
- package/dist/index-Cm5F4WNW.js +0 -92
- package/dist/index-CmXM2l7D.js +0 -200
- package/dist/index-Cp6EAAPD.js +0 -169
- package/dist/index-CxMrDwV2.js +0 -1790
- package/dist/index-D5bqq1ai.js +0 -1567
- package/dist/index-DAKL4KCT.js +0 -106
- package/dist/index-DE5XhJ1d.js +0 -11
- package/dist/index-DOw8vxpM.js +0 -150
- package/dist/index-DRzxgo6o.js +0 -219
- package/dist/index-DU7cH3O_.js +0 -808
- package/dist/index-DYTAASaF.js +0 -534
- package/dist/index-DZB8dtk5.js +0 -961
- package/dist/index-DhO56kAh.js +0 -9812
- package/dist/index-Nvm85dUr.js +0 -153
- package/dist/index-XW9tWiEk.js +0 -219
- package/dist/index-cUai3I2F.js +0 -4133
- package/dist/index-gFCjiTtP.js +0 -681
- package/dist/index-jbPEpCcU.js +0 -117
- package/dist/index-pkHW6b-9.js +0 -21
- package/dist/index.page-BWf_BZrz.js +0 -828
- package/dist/infos-8KGPLXoE-35xUpWXf.js +0 -18
- package/dist/integrations-UOltVEyj-CpwjQ3Os.js +0 -19
- package/dist/logs-Ce3fZY0v-PLJaJYR4.js +0 -28
- package/dist/maestro-BMomgHxO-unvdz301.js +0 -27
- package/dist/main-CGDQR_6u.js +0 -103911
- package/dist/mastercard-5I-dcOVV-C3FGNRhG.js +0 -30
- package/dist/max_brand-Crj-SFUw-Dj364hLG.js +0 -29
- package/dist/max_brand_active-BIkS5qkP-Dau8qhtf.js +0 -27
- package/dist/max_brand_negative-BxvdIegN-C9StFrAI.js +0 -30
- package/dist/menu.page-gHx3PWF5.js +0 -274
- package/dist/money-DZpB5eTf-Cjc5AxNe.js +0 -19
- package/dist/notification-DMezLtAj-XscUWjOG.js +0 -18
- package/dist/paypal-DMYjfEw0-CdYdLIP5.js +0 -15
- package/dist/pix-DXdX91yj-BKxh1f0V.js +0 -22
- package/dist/pix_outline-D_xXXgCN-CQ9h-nVl.js +0 -16
- package/dist/pusher-C051NCpr.js +0 -4010
- package/dist/shield-DS-Xf4WH-BfBnbgVf.js +0 -15
- package/dist/solid_help-DNaqfgoc-1kuKfo5q.js +0 -20
- package/dist/solid_home-BDUiJDVY-CYEFzgrN.js +0 -18
- package/dist/solid_leaderboard-DtqK7q9Y-CHhrPRp9.js +0 -18
- package/dist/solid_store-Cfv6o4b8-BoZ81bI4.js +0 -18
- package/dist/ticket_icon-DwvyLm7c-LVfeWbpF.js +0 -22
- package/dist/useQueryFilter-BWCbDaUr.js +0 -93
- package/dist/useRecurringTable-BRV1uHIa.js +0 -161
- package/dist/user-BRpwqYx8-C_O3Q-2M.js +0 -18
- package/dist/validateURL.helper-fiqZUzov.js +0 -126
- package/dist/visa-tPjWcMbi-DWN2o-BG.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 { az as toRefs, z as reactive, aL as AxiosError, r as ref, ab 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, bX as isEqualObj, at as useAlertsStore, ap as t, bE as toRaw, bI as CanceledError, a9 as resolveComponent, v as createBlock, F as Fragment, q as renderList, E as mergeProps, n as normalizeClass, j as createBaseVNode, d as useBreakpoint, V as C, G as ApiService, aq as toaster, K as script$3, p as _, k as createCommentVNode, R, aA as isRef, aE as script$4, H as f, ad as userService, bY as delay, bS as B$1, I as withModifiers, aI as script$5, aB as script$6, A as watch, bZ as supportChatHelper, o as onMounted } from "./main-CGDQR_6u.js";
|
|
5
|
-
import { H } from "./AmHelper.vue_vue_type_script_setup_true_lang-D2zQmEN--D9ADJ3uP.js";
|
|
6
|
-
import { a as script, s as script$1 } from "./index-DhO56kAh.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-zmLsPbu5.js";
|
|
8
|
-
import { u as useQueryFilter } from "./useQueryFilter-BWCbDaUr.js";
|
|
9
|
-
import { u as userInteractionsService } from "./index-B3GQvjI1.js";
|
|
10
|
-
import { s as script$2 } from "./index-DRzxgo6o.js";
|
|
11
|
-
import { _ as _sfc_main$m } from "./AmLayoutFeedbackState-BQGNqPs9.js";
|
|
12
|
-
import { P as Pusher } from "./pusher-C051NCpr.js";
|
|
13
|
-
import { O as OrderStatusChip } from "./OrderStatusChip-CPjOUGv-.js";
|
|
14
|
-
import { z } from "./index-Dq110QZ7.js";
|
|
15
|
-
import { b, k as ke } from "./index-DU7cH3O_.js";
|
|
16
|
-
import { B } from "./index-BkY15KBV.js";
|
|
17
|
-
import { b as script$7, s as script$8, a as script$9 } from "./index-gFCjiTtP.js";
|
|
18
|
-
import { s as script$a } from "./index-Bg4HW3i4.js";
|
|
19
|
-
import { A as AmCardV3 } from "./AmCardV3-B0CzN6zc.js";
|
|
20
|
-
const TRANSPARENCY_MODAL_INTERACTION = "transparency-modal";
|
|
21
|
-
const ordersNotificationState = reactive({
|
|
22
|
-
elasticDisabled: false,
|
|
23
|
-
shopifyAntifraudMissing: false,
|
|
24
|
-
checkedTransparencyModalInteraction: false,
|
|
25
|
-
showTransparencyModal: false
|
|
26
|
-
});
|
|
27
|
-
const checkTransparencyModal$1 = async (orders) => {
|
|
28
|
-
try {
|
|
29
|
-
if (ordersNotificationState.checkedTransparencyModalInteraction) return;
|
|
30
|
-
if (!orders.length) return;
|
|
31
|
-
const hasRefusalRisk = orders.some((order) => order.status === "recusado_por_risco");
|
|
32
|
-
if (!hasRefusalRisk) return;
|
|
33
|
-
const { occurred } = await userInteractionsService.get(TRANSPARENCY_MODAL_INTERACTION);
|
|
34
|
-
ordersNotificationState.checkedTransparencyModalInteraction = occurred;
|
|
35
|
-
} catch (error) {
|
|
36
|
-
if (!(error instanceof AxiosError)) throw error;
|
|
37
|
-
if (error.request.status === 404) {
|
|
38
|
-
ordersNotificationState.showTransparencyModal = true;
|
|
39
|
-
ordersNotificationState.checkedTransparencyModalInteraction = true;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const assignTransparencyModalInteraction = async () => {
|
|
44
|
-
try {
|
|
45
|
-
await userInteractionsService.markAsOccurred(TRANSPARENCY_MODAL_INTERACTION);
|
|
46
|
-
} catch {
|
|
47
|
-
console.error("Error marking transparency modal interaction as occurred");
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
const useOrdersNotification = () => ({
|
|
51
|
-
...toRefs(ordersNotificationState),
|
|
52
|
-
checkTransparencyModal: checkTransparencyModal$1,
|
|
53
|
-
assignTransparencyModalInteraction
|
|
54
|
-
});
|
|
55
|
-
const chips = ref([]);
|
|
56
|
-
const getLabelFromFieldOptions = (fields2) => (name, value) => {
|
|
57
|
-
const field = fields2.find((f2) => f2.name === name);
|
|
58
|
-
if (!field) return;
|
|
59
|
-
const option = field.options.find((o) => o.value === value);
|
|
60
|
-
if (!option) return;
|
|
61
|
-
return option.label;
|
|
62
|
-
};
|
|
63
|
-
const updateChips$1 = (fields2, filter2, term) => {
|
|
64
|
-
const newChips = [];
|
|
65
|
-
if (term.length) {
|
|
66
|
-
newChips.push(...term.map((value) => ({ name: "term", value })));
|
|
67
|
-
}
|
|
68
|
-
const valueToChip = (name, value) => {
|
|
69
|
-
const label = getLabelFromFieldOptions(fields2)(name, value);
|
|
70
|
-
return { name, value, label };
|
|
71
|
-
};
|
|
72
|
-
for (const name in filter2) {
|
|
73
|
-
const value = filter2[name];
|
|
74
|
-
if (name === "tab") continue;
|
|
75
|
-
if (name === "date") {
|
|
76
|
-
newChips.push({ name, value: parseDateChipLabel(value) });
|
|
77
|
-
continue;
|
|
78
|
-
}
|
|
79
|
-
if (name === "sorted") {
|
|
80
|
-
const [orderBy, sortedBy] = value;
|
|
81
|
-
newChips.push({ name, value: parseSortedChipLabel(orderBy, sortedBy) });
|
|
82
|
-
continue;
|
|
83
|
-
}
|
|
84
|
-
if (name === "trackingCode" && value === true) {
|
|
85
|
-
newChips.push({ name, value: "orders.filter.presets.options.pending_tracking_codes" });
|
|
86
|
-
continue;
|
|
87
|
-
}
|
|
88
|
-
if (name === "giftmax" && value === true) {
|
|
89
|
-
newChips.push({ name, value: "orders.filter.options.more.giftmax" });
|
|
90
|
-
continue;
|
|
91
|
-
}
|
|
92
|
-
if (Array.isArray(value)) {
|
|
93
|
-
newChips.push(...value.map((v) => valueToChip(name, v)));
|
|
94
|
-
} else {
|
|
95
|
-
newChips.push(valueToChip(name, value));
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
chips.value = newChips;
|
|
99
|
-
};
|
|
100
|
-
const onRemoveChip$1 = (chip, filter2, term) => {
|
|
101
|
-
if (chip.name === "term") {
|
|
102
|
-
return { ...filter2, term: term.filter((t2) => t2 !== chip.value), page: 1 };
|
|
103
|
-
}
|
|
104
|
-
if (chip.name === "date") {
|
|
105
|
-
return { ...filter2, date: void 0, page: 1 };
|
|
106
|
-
}
|
|
107
|
-
if (chip.name === "sorted") {
|
|
108
|
-
return { ...filter2, sorted: void 0, page: 1 };
|
|
109
|
-
}
|
|
110
|
-
const newFilter = {};
|
|
111
|
-
const value = filter2[chip.name];
|
|
112
|
-
if (Array.isArray(value)) {
|
|
113
|
-
newFilter[chip.name] = value.filter((v) => v !== chip.value);
|
|
114
|
-
} else {
|
|
115
|
-
newFilter[chip.name] = void 0;
|
|
116
|
-
}
|
|
117
|
-
return { ...filter2, ...newFilter, page: 1, term };
|
|
118
|
-
};
|
|
119
|
-
const _hoisted_1$d = {
|
|
120
|
-
"data-test": "antifraud-alert",
|
|
121
|
-
class: "flex md:!flex-row flex-col w-full justify-between gap-4"
|
|
122
|
-
};
|
|
123
|
-
const __default__$h = { name: "OrdersNotificationsAntifraudAlert" };
|
|
124
|
-
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
125
|
-
...__default__$h,
|
|
126
|
-
setup(__props) {
|
|
127
|
-
const REDIRECT_URL = "https://apps.shopify.com/appmax-antifraude?locale=pt-BR&st_source=autocomplete";
|
|
128
|
-
return (_ctx, _cache) => {
|
|
129
|
-
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
130
|
-
createVNode(unref(y), { "data-test": "antifraud-alert-message" }, {
|
|
131
|
-
default: withCtx(() => [
|
|
132
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.antifraud.alert.message")), 1)
|
|
133
|
-
]),
|
|
134
|
-
_: 1
|
|
135
|
-
}),
|
|
136
|
-
createVNode(unref($), {
|
|
137
|
-
size: "small",
|
|
138
|
-
severity: "warn",
|
|
139
|
-
class: "!min-w-fit !h-fit !whitespace-nowrap !w-fit",
|
|
140
|
-
href: REDIRECT_URL,
|
|
141
|
-
target: "_blank",
|
|
142
|
-
"data-test": "antifraud-alert-button",
|
|
143
|
-
label: _ctx.$t("orders.notification.antifraud.alert.button")
|
|
144
|
-
}, null, 8, ["label"])
|
|
145
|
-
]);
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
const { addAlert } = useAlertsStore();
|
|
150
|
-
const { checkTransparencyModal } = useOrdersNotification();
|
|
151
|
-
const ordersState = reactive({
|
|
152
|
-
loading: true,
|
|
153
|
-
isInitialized: false,
|
|
154
|
-
error: false,
|
|
155
|
-
orders: [],
|
|
156
|
-
pageSize: 0,
|
|
157
|
-
fields: [],
|
|
158
|
-
term: [],
|
|
159
|
-
page: 1,
|
|
160
|
-
presets: [],
|
|
161
|
-
more: [],
|
|
162
|
-
isSearchDisabled: true,
|
|
163
|
-
hasNextPage: false,
|
|
164
|
-
tab: 0
|
|
165
|
-
});
|
|
166
|
-
const filter = ref({});
|
|
167
|
-
const updateChips = () => updateChips$1(ordersState.fields, filter.value, ordersState.term);
|
|
168
|
-
const queryFilter = useQueryFilter({
|
|
169
|
-
fields: [],
|
|
170
|
-
onChange: async (newFilter) => {
|
|
171
|
-
const { term, page, ...rest } = newFilter;
|
|
172
|
-
ordersState.term = Array.isArray(term) ? term : [];
|
|
173
|
-
ordersState.page = Number(page) || 1;
|
|
174
|
-
ordersState.tab = Number(rest.tab) || 0;
|
|
175
|
-
filter.value = rest;
|
|
176
|
-
updateChips();
|
|
177
|
-
return getOrders();
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
const initializeQueryFilter = async () => {
|
|
181
|
-
queryFilter.configFields([
|
|
182
|
-
...ordersState.fields.map((field) => ({ name: field.name, valueType: field.valueType })),
|
|
183
|
-
{ name: "term", valueType: "string[]" },
|
|
184
|
-
{ name: "page", valueType: "number" },
|
|
185
|
-
{ name: "sorted", valueType: "string[]" },
|
|
186
|
-
{ name: "tab", valueType: "number" },
|
|
187
|
-
{ name: "trackingCode", valueType: "boolean" },
|
|
188
|
-
{ name: "giftmax", valueType: "boolean" }
|
|
189
|
-
]);
|
|
190
|
-
return queryFilter.syncFilter();
|
|
191
|
-
};
|
|
192
|
-
const getOrders = async () => {
|
|
193
|
-
if (!ordersState.isInitialized) return;
|
|
194
|
-
try {
|
|
195
|
-
ordersState.loading = true;
|
|
196
|
-
ordersState.error = false;
|
|
197
|
-
const ordersFilter = getOrdersFilter();
|
|
198
|
-
const result = await ordersService.getOrders(ordersFilter);
|
|
199
|
-
ordersState.orders = result.orders;
|
|
200
|
-
ordersState.pageSize = result.pageSize;
|
|
201
|
-
ordersState.hasNextPage = result.hasNextPage;
|
|
202
|
-
ordersState.isSearchDisabled = !result.elasticEnabled;
|
|
203
|
-
ordersNotificationState.elasticDisabled = !result.elasticEnabled;
|
|
204
|
-
ordersNotificationState.shopifyAntifraudMissing = result.shopifyAntifraudMissing;
|
|
205
|
-
checkTransparencyModal(result.orders);
|
|
206
|
-
if (ordersNotificationState.elasticDisabled) {
|
|
207
|
-
addAlert({
|
|
208
|
-
name: "elasticDisabled",
|
|
209
|
-
severity: "warning",
|
|
210
|
-
description: computed(() => t("orders.notification.elastic.message")).value,
|
|
211
|
-
onlyRoutes: ["orders.home"]
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
if (ordersNotificationState.shopifyAntifraudMissing) {
|
|
215
|
-
addAlert({
|
|
216
|
-
name: "shopifyAntifraudMissing",
|
|
217
|
-
severity: "warning",
|
|
218
|
-
component: toRaw(_sfc_main$j),
|
|
219
|
-
onlyRoutes: ["orders.home"]
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
} catch (error) {
|
|
223
|
-
if (error instanceof CanceledError) return;
|
|
224
|
-
ordersState.error = true;
|
|
225
|
-
} finally {
|
|
226
|
-
ordersState.loading = false;
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
const initialize$2 = async () => {
|
|
230
|
-
try {
|
|
231
|
-
await loadRemoteOrdersStatusPtBR();
|
|
232
|
-
const [fields2, filters] = await Promise.all([
|
|
233
|
-
ordersService.getFields(),
|
|
234
|
-
ordersService.getPresetFilters()
|
|
235
|
-
]);
|
|
236
|
-
ordersState.fields = fields2;
|
|
237
|
-
ordersState.presets = filters.presets;
|
|
238
|
-
ordersState.more = filters.more;
|
|
239
|
-
ordersState.isInitialized = true;
|
|
240
|
-
return initializeQueryFilter();
|
|
241
|
-
} catch {
|
|
242
|
-
ordersState.error = true;
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
const onSearch = (search) => {
|
|
246
|
-
if (search.length < 3) return;
|
|
247
|
-
const term = ordersState.term.concat(search);
|
|
248
|
-
queryFilter.set({ ...filter.value, term, page: 1 });
|
|
249
|
-
};
|
|
250
|
-
const onChangePage = (page) => {
|
|
251
|
-
if (page === ordersState.page) return;
|
|
252
|
-
queryFilter.set({ ...filter.value, page, term: ordersState.term });
|
|
253
|
-
};
|
|
254
|
-
const onChangeFilter = (newFilter, tab) => {
|
|
255
|
-
if (isEqualObj(newFilter, filter.value)) return;
|
|
256
|
-
queryFilter.set({ ...newFilter, page: 1, term: ordersState.term, tab });
|
|
257
|
-
};
|
|
258
|
-
const getOrdersFilter = () => {
|
|
259
|
-
return {
|
|
260
|
-
...filter.value,
|
|
261
|
-
term: ordersState.term || void 0,
|
|
262
|
-
page: ordersState.page
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
const onSort = (sorted) => {
|
|
266
|
-
queryFilter.set({ ...filter.value, sorted, page: 1, term: ordersState.term });
|
|
267
|
-
};
|
|
268
|
-
const onRemoveChip = (chip) => {
|
|
269
|
-
const newFilter = onRemoveChip$1(chip, filter.value, ordersState.term);
|
|
270
|
-
queryFilter.set(newFilter);
|
|
271
|
-
};
|
|
272
|
-
const showPagination = computed(() => {
|
|
273
|
-
if (ordersState.loading || ordersState.error) return false;
|
|
274
|
-
if (ordersState.isSearchDisabled) return true;
|
|
275
|
-
return ordersState.pageSize > 0;
|
|
276
|
-
});
|
|
277
|
-
const getOrderRouterLink = (order) => {
|
|
278
|
-
return {
|
|
279
|
-
name: "orders.details",
|
|
280
|
-
params: { hash: order.hash }
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
const translateIfKey = (label) => {
|
|
284
|
-
return typeof label === "string" && label.startsWith("orders.") ? t(label) : label;
|
|
285
|
-
};
|
|
286
|
-
const fields = computed(() => {
|
|
287
|
-
return ordersState.fields.map((field) => {
|
|
288
|
-
return {
|
|
289
|
-
...field,
|
|
290
|
-
label: translateIfKey(field.label),
|
|
291
|
-
options: field.options.map((option) => {
|
|
292
|
-
return {
|
|
293
|
-
...option,
|
|
294
|
-
label: translateIfKey(option.label)
|
|
295
|
-
};
|
|
296
|
-
})
|
|
297
|
-
};
|
|
298
|
-
});
|
|
299
|
-
});
|
|
300
|
-
const useOrdersFilter = () => {
|
|
301
|
-
return {
|
|
302
|
-
...toRefs(ordersState),
|
|
303
|
-
fields,
|
|
304
|
-
filter,
|
|
305
|
-
getOrders,
|
|
306
|
-
onSearch,
|
|
307
|
-
onSort,
|
|
308
|
-
onChangePage,
|
|
309
|
-
onChangeFilter,
|
|
310
|
-
onRemoveChip,
|
|
311
|
-
initialize: initialize$2,
|
|
312
|
-
chips,
|
|
313
|
-
showPagination,
|
|
314
|
-
getOrderRouterLink
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
const __default__$g = { name: "OrdersTable" };
|
|
318
|
-
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
319
|
-
...__default__$g,
|
|
320
|
-
setup(__props) {
|
|
321
|
-
const { orders, onSort: onSort2, filter: filter2, getOrderRouterLink: getOrderRouterLink2 } = useOrdersFilter();
|
|
322
|
-
const columns = [
|
|
323
|
-
{
|
|
324
|
-
id: "id",
|
|
325
|
-
header: t("orders.list.table.columns.id"),
|
|
326
|
-
getter: (order) => ({ text: order.id.toString() }),
|
|
327
|
-
className: "w-20"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
id: "client",
|
|
331
|
-
header: t("orders.list.table.columns.client"),
|
|
332
|
-
getter: (order) => ({ title: order.name, text: order.email })
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
id: "date",
|
|
336
|
-
header: t("orders.list.table.columns.date"),
|
|
337
|
-
getter: (order) => ({ title: order.formattedDate, text: order.formattedDateSince }),
|
|
338
|
-
sortable: true,
|
|
339
|
-
sortField: "id"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
id: "payment",
|
|
343
|
-
header: t("orders.list.table.columns.payment"),
|
|
344
|
-
getter: (order) => ({
|
|
345
|
-
icon: order.paymentTypeIcon,
|
|
346
|
-
title: order.formattedTotal,
|
|
347
|
-
text: order.paymentTypeLabel,
|
|
348
|
-
giftmax: order.formatedGiftmax,
|
|
349
|
-
cashbackStatus: order.cashbackStatus,
|
|
350
|
-
cashbackStatusLabel: order.cashbackStatusLabel
|
|
351
|
-
}),
|
|
352
|
-
sortable: true,
|
|
353
|
-
sortField: "total"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
id: "origin",
|
|
357
|
-
header: t("orders.list.table.columns.origin"),
|
|
358
|
-
getter: (order) => ({ icon: order.countryIcon, title: order.countryLabel, text: order.origin })
|
|
359
|
-
}
|
|
360
|
-
];
|
|
361
|
-
const columnStatusPt = {
|
|
362
|
-
columnHeaderContent: {
|
|
363
|
-
class: "flex-row-reverse justify-end",
|
|
364
|
-
bodyCell: { "data-test": `orders-table-column-status` }
|
|
365
|
-
}
|
|
366
|
-
};
|
|
367
|
-
const sortOrder = computed(() => {
|
|
368
|
-
var _a;
|
|
369
|
-
switch ((_a = filter2.value.sorted) == null ? void 0 : _a[1]) {
|
|
370
|
-
case "asc":
|
|
371
|
-
return 1;
|
|
372
|
-
case "desc":
|
|
373
|
-
return -1;
|
|
374
|
-
default:
|
|
375
|
-
return 0;
|
|
376
|
-
}
|
|
377
|
-
});
|
|
378
|
-
const sortField = computed(() => {
|
|
379
|
-
var _a;
|
|
380
|
-
return (_a = filter2.value.sorted) == null ? void 0 : _a[0];
|
|
381
|
-
});
|
|
382
|
-
const handleSort = (event) => {
|
|
383
|
-
if (typeof event.sortField !== "string" || typeof event.sortOrder !== "number") return onSort2([]);
|
|
384
|
-
onSort2([event.sortField, event.sortOrder === 1 ? "asc" : "desc"]);
|
|
385
|
-
};
|
|
386
|
-
return (_ctx, _cache) => {
|
|
387
|
-
const _component_router_link = resolveComponent("router-link");
|
|
388
|
-
return openBlock(), createBlock(unref(script), {
|
|
389
|
-
value: unref(orders),
|
|
390
|
-
class: "min-w-full",
|
|
391
|
-
rowHover: "",
|
|
392
|
-
onSort: handleSort,
|
|
393
|
-
removableSort: "",
|
|
394
|
-
sortOrder: sortOrder.value,
|
|
395
|
-
sortField: sortField.value
|
|
396
|
-
}, {
|
|
397
|
-
default: withCtx(() => [
|
|
398
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(columns, ({ id, className, header, getter, sortable, sortField: sortField2 }) => {
|
|
399
|
-
return createVNode(unref(script$1), {
|
|
400
|
-
key: id,
|
|
401
|
-
class: normalizeClass(className),
|
|
402
|
-
header,
|
|
403
|
-
sortable,
|
|
404
|
-
sortField: sortField2,
|
|
405
|
-
pt: { bodyCell: { "data-test": `orders-table-column-${id}`, class: "!p-0" } }
|
|
406
|
-
}, {
|
|
407
|
-
body: withCtx(({ data: order }) => [
|
|
408
|
-
createVNode(_component_router_link, {
|
|
409
|
-
to: unref(getOrderRouterLink2)(order),
|
|
410
|
-
class: "py-3 px-4 flex",
|
|
411
|
-
"data-test": "order-link"
|
|
412
|
-
}, {
|
|
413
|
-
default: withCtx(() => [
|
|
414
|
-
createVNode(_sfc_main$k, mergeProps({ ref_for: true }, getter(order), { "data-test-prefix": id }), null, 16, ["data-test-prefix"])
|
|
415
|
-
]),
|
|
416
|
-
_: 2
|
|
417
|
-
}, 1032, ["to"])
|
|
418
|
-
]),
|
|
419
|
-
_: 2
|
|
420
|
-
}, 1032, ["class", "header", "sortable", "sortField", "pt"]);
|
|
421
|
-
}), 64)),
|
|
422
|
-
createVNode(unref(script$1), {
|
|
423
|
-
header: unref(t)("orders.list.table.columns.status"),
|
|
424
|
-
pt: columnStatusPt,
|
|
425
|
-
class: "w-20"
|
|
426
|
-
}, {
|
|
427
|
-
body: withCtx(({ data: order }) => [
|
|
428
|
-
createVNode(unref(_sfc_main$l), {
|
|
429
|
-
status: order.status,
|
|
430
|
-
"order-id": order.id
|
|
431
|
-
}, null, 8, ["status", "order-id"])
|
|
432
|
-
]),
|
|
433
|
-
header: withCtx(() => [
|
|
434
|
-
createVNode(unref(H), {
|
|
435
|
-
tooltipPosition: "top",
|
|
436
|
-
tooltipText: unref(t)("orders.list.table.helper"),
|
|
437
|
-
color: "surface-300",
|
|
438
|
-
size: "sm"
|
|
439
|
-
}, null, 8, ["tooltipText"])
|
|
440
|
-
]),
|
|
441
|
-
_: 1
|
|
442
|
-
}, 8, ["header"])
|
|
443
|
-
]),
|
|
444
|
-
_: 1
|
|
445
|
-
}, 8, ["value", "sortOrder", "sortField"]);
|
|
446
|
-
};
|
|
447
|
-
}
|
|
448
|
-
});
|
|
449
|
-
const _hoisted_1$c = { class: "grid gap-4 w-full" };
|
|
450
|
-
const _hoisted_2$5 = { class: "space-y-4" };
|
|
451
|
-
const _hoisted_3$1 = { class: "grid sm:flex justify-between gap-4" };
|
|
452
|
-
const __default__$f = { name: "OrdersTableMobile" };
|
|
453
|
-
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
454
|
-
...__default__$f,
|
|
455
|
-
setup(__props) {
|
|
456
|
-
const { orders, getOrderRouterLink: getOrderRouterLink2 } = useOrdersFilter();
|
|
457
|
-
return (_ctx, _cache) => {
|
|
458
|
-
const _component_router_link = resolveComponent("router-link");
|
|
459
|
-
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
460
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(orders), (order) => {
|
|
461
|
-
return openBlock(), createBlock(_component_router_link, {
|
|
462
|
-
key: order.id,
|
|
463
|
-
"data-test": "order-link",
|
|
464
|
-
to: unref(getOrderRouterLink2)(order)
|
|
465
|
-
}, {
|
|
466
|
-
default: withCtx(() => [
|
|
467
|
-
createVNode(unref(script$2), null, {
|
|
468
|
-
header: withCtx(() => [
|
|
469
|
-
createVNode(_sfc_main$k, {
|
|
470
|
-
title: `#${order.id}`,
|
|
471
|
-
"data-test-prefix": "order-mobile-id"
|
|
472
|
-
}, null, 8, ["title"])
|
|
473
|
-
]),
|
|
474
|
-
default: withCtx(() => [
|
|
475
|
-
createBaseVNode("div", _hoisted_2$5, [
|
|
476
|
-
createVNode(_sfc_main$k, {
|
|
477
|
-
text: order.formattedDate,
|
|
478
|
-
"data-test-prefix": "date"
|
|
479
|
-
}, null, 8, ["text"]),
|
|
480
|
-
createBaseVNode("div", _hoisted_3$1, [
|
|
481
|
-
createVNode(_sfc_main$k, {
|
|
482
|
-
title: order.name,
|
|
483
|
-
text: order.email,
|
|
484
|
-
"data-test-prefix": "client"
|
|
485
|
-
}, null, 8, ["title", "text"]),
|
|
486
|
-
createVNode(_sfc_main$k, {
|
|
487
|
-
icon: order.paymentTypeIcon,
|
|
488
|
-
title: order.formattedTotal,
|
|
489
|
-
text: order.paymentTypeLabel,
|
|
490
|
-
giftmax: order.formatedGiftmax,
|
|
491
|
-
"data-test-prefix": "payment"
|
|
492
|
-
}, null, 8, ["icon", "title", "text", "giftmax"])
|
|
493
|
-
]),
|
|
494
|
-
createVNode(_sfc_main$k, {
|
|
495
|
-
icon: order.countryIcon,
|
|
496
|
-
title: order.countryLabel,
|
|
497
|
-
text: order.origin,
|
|
498
|
-
"data-test-prefix": "origin"
|
|
499
|
-
}, null, 8, ["icon", "title", "text"]),
|
|
500
|
-
createVNode(unref(_sfc_main$l), {
|
|
501
|
-
status: order.status,
|
|
502
|
-
orderId: order.id
|
|
503
|
-
}, null, 8, ["status", "orderId"])
|
|
504
|
-
])
|
|
505
|
-
]),
|
|
506
|
-
_: 2
|
|
507
|
-
}, 1024)
|
|
508
|
-
]),
|
|
509
|
-
_: 2
|
|
510
|
-
}, 1032, ["to"]);
|
|
511
|
-
}), 128))
|
|
512
|
-
]);
|
|
513
|
-
};
|
|
514
|
-
}
|
|
515
|
-
});
|
|
516
|
-
const _hoisted_1$b = { class: "text-center pb-11" };
|
|
517
|
-
const __default__$e = { name: "OrdersListError" };
|
|
518
|
-
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
519
|
-
...__default__$e,
|
|
520
|
-
setup(__props) {
|
|
521
|
-
const { getOrders: getOrders2 } = useOrdersFilter();
|
|
522
|
-
return (_ctx, _cache) => {
|
|
523
|
-
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
524
|
-
createVNode(_sfc_main$m, {
|
|
525
|
-
iconName: "refresh",
|
|
526
|
-
title: _ctx.$t("orders.list.feedbackErrorTitle"),
|
|
527
|
-
text: _ctx.$t("orders.list.feedbackErrorText"),
|
|
528
|
-
class: "max-w-[400px] m-auto my-8"
|
|
529
|
-
}, null, 8, ["title", "text"]),
|
|
530
|
-
createVNode(unref($), {
|
|
531
|
-
icon: "refresh",
|
|
532
|
-
size: "small",
|
|
533
|
-
onClick: unref(getOrders2),
|
|
534
|
-
outlined: ""
|
|
535
|
-
}, {
|
|
536
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
537
|
-
createTextVNode("Tentar novamente")
|
|
538
|
-
])),
|
|
539
|
-
_: 1
|
|
540
|
-
}, 8, ["onClick"])
|
|
541
|
-
]);
|
|
542
|
-
};
|
|
543
|
-
}
|
|
544
|
-
});
|
|
545
|
-
const _hoisted_1$a = { class: "w-full overflow-x-auto" };
|
|
546
|
-
const __default__$d = { name: "OrdersList" };
|
|
547
|
-
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
548
|
-
...__default__$d,
|
|
549
|
-
setup(__props) {
|
|
550
|
-
const isDesktopSize = useBreakpoint("desktop");
|
|
551
|
-
const { loading, error, orders } = useOrdersFilter();
|
|
552
|
-
return (_ctx, _cache) => {
|
|
553
|
-
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
554
|
-
unref(error) ? (openBlock(), createBlock(_sfc_main$g, { key: 0 })) : unref(loading) ? (openBlock(), createBlock(unref(C), {
|
|
555
|
-
key: 1,
|
|
556
|
-
isLoading: "",
|
|
557
|
-
class: "m-auto my-36"
|
|
558
|
-
})) : !unref(orders).length ? (openBlock(), createBlock(_sfc_main$m, {
|
|
559
|
-
key: 2,
|
|
560
|
-
iconName: "folder",
|
|
561
|
-
title: _ctx.$t("orders.list.feedbackEmptyTitle"),
|
|
562
|
-
text: _ctx.$t("orders.list.feedbackEmptyText"),
|
|
563
|
-
class: "max-w-[400px] m-auto my-8"
|
|
564
|
-
}, null, 8, ["title", "text"])) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
565
|
-
unref(isDesktopSize) ? (openBlock(), createBlock(_sfc_main$i, { key: 0 })) : (openBlock(), createBlock(_sfc_main$h, { key: 1 }))
|
|
566
|
-
], 64))
|
|
567
|
-
]);
|
|
568
|
-
};
|
|
569
|
-
}
|
|
570
|
-
});
|
|
571
|
-
const parseJson = (json) => {
|
|
572
|
-
try {
|
|
573
|
-
return JSON.parse(json);
|
|
574
|
-
} catch {
|
|
575
|
-
return null;
|
|
576
|
-
}
|
|
577
|
-
};
|
|
578
|
-
class OrdersReintegrateService {
|
|
579
|
-
constructor(apiService) {
|
|
580
|
-
this.apiService = apiService;
|
|
581
|
-
}
|
|
582
|
-
async getData() {
|
|
583
|
-
const emptyData = {
|
|
584
|
-
has: false,
|
|
585
|
-
isRunning: false,
|
|
586
|
-
uuid: "",
|
|
587
|
-
quantity: 0,
|
|
588
|
-
updatedAt: "",
|
|
589
|
-
disabled: true
|
|
590
|
-
};
|
|
591
|
-
try {
|
|
592
|
-
const has = await this.has();
|
|
593
|
-
if (!has) return { ...emptyData, has };
|
|
594
|
-
const { isRunning, uuid, disabled } = await this.checkStatus();
|
|
595
|
-
const { quantity, updatedAt } = await this.getLastAttempt();
|
|
596
|
-
return { has, disabled, isRunning, uuid, quantity, updatedAt };
|
|
597
|
-
} catch (error) {
|
|
598
|
-
console.error(error);
|
|
599
|
-
return emptyData;
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
async reintegrateAll() {
|
|
603
|
-
try {
|
|
604
|
-
const route = "/api/orders/reintegrate";
|
|
605
|
-
const payload = { ordersHashs: [] };
|
|
606
|
-
await this.apiService.post(route, payload);
|
|
607
|
-
const uuid = await this.getUUID();
|
|
608
|
-
return { uuid, error: false };
|
|
609
|
-
} catch (error) {
|
|
610
|
-
console.error(error);
|
|
611
|
-
return { uuid: "", error: true };
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
async checkStatus() {
|
|
615
|
-
try {
|
|
616
|
-
const route = "/api/orders/check-reintegrate";
|
|
617
|
-
const { data } = await this.apiService.get(route);
|
|
618
|
-
const { is_running, uuid, is_employee } = data.data;
|
|
619
|
-
return {
|
|
620
|
-
isRunning: is_running,
|
|
621
|
-
uuid: uuid || "",
|
|
622
|
-
disabled: !!is_employee
|
|
623
|
-
};
|
|
624
|
-
} catch (error) {
|
|
625
|
-
return {
|
|
626
|
-
isRunning: false,
|
|
627
|
-
uuid: "",
|
|
628
|
-
disabled: true
|
|
629
|
-
};
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
async getLastAttempt() {
|
|
633
|
-
try {
|
|
634
|
-
const route = "/api/orders/get-total-reintegrate-last-attempt";
|
|
635
|
-
const { data } = await this.apiService.get(route);
|
|
636
|
-
const message = parseJson(data.data.message);
|
|
637
|
-
const quantity = Number(message == null ? void 0 : message.ini_orders_pending_integration_quantity) || 0;
|
|
638
|
-
const { updated_at: updatedAt } = data.data;
|
|
639
|
-
return { quantity, updatedAt: formatAttempDate(updatedAt) };
|
|
640
|
-
} catch (error) {
|
|
641
|
-
return { quantity: 0, updatedAt: "" };
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
async getUUID() {
|
|
645
|
-
try {
|
|
646
|
-
const route = "/api/orders/get-pusher-uuid";
|
|
647
|
-
const { data } = await this.apiService.get(route);
|
|
648
|
-
return data.data || "";
|
|
649
|
-
} catch (error) {
|
|
650
|
-
return "";
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
async has() {
|
|
654
|
-
try {
|
|
655
|
-
const route = "/api/order-statuses/exists-pending-integration";
|
|
656
|
-
const response = await this.apiService.get(route);
|
|
657
|
-
return response.data.data.exists;
|
|
658
|
-
} catch (error) {
|
|
659
|
-
return false;
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
const ordersReintegrateService = new OrdersReintegrateService(ApiService);
|
|
664
|
-
const pusher_key = "13180f6f668fb558d0c1";
|
|
665
|
-
const PUSHER_CLUSTER = "mt1";
|
|
666
|
-
const PUSHER_EVENT = "notify.order-integrated";
|
|
667
|
-
class OrdersPendingIntegratePusher {
|
|
668
|
-
constructor() {
|
|
669
|
-
__publicField(this, "pusher");
|
|
670
|
-
this.pusher = new Pusher(pusher_key, { cluster: PUSHER_CLUSTER });
|
|
671
|
-
}
|
|
672
|
-
on(uuid, callback) {
|
|
673
|
-
this.subscribe(uuid, PUSHER_EVENT, (data) => {
|
|
674
|
-
try {
|
|
675
|
-
callback(data);
|
|
676
|
-
} catch {
|
|
677
|
-
}
|
|
678
|
-
});
|
|
679
|
-
}
|
|
680
|
-
off(channel) {
|
|
681
|
-
this.unsubscribe(channel);
|
|
682
|
-
}
|
|
683
|
-
subscribe(channel, event, callback) {
|
|
684
|
-
this.pusher.subscribe(channel).bind(event, callback);
|
|
685
|
-
}
|
|
686
|
-
unsubscribe(channel) {
|
|
687
|
-
this.pusher.unsubscribe(channel);
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
const ordersPendingIntegratePusher = new OrdersPendingIntegratePusher();
|
|
691
|
-
const initialized = ref(false);
|
|
692
|
-
const state$1 = reactive({
|
|
693
|
-
has: false,
|
|
694
|
-
isRunning: false,
|
|
695
|
-
uuid: "",
|
|
696
|
-
quantity: 0,
|
|
697
|
-
updatedAt: "",
|
|
698
|
-
disabled: true
|
|
699
|
-
});
|
|
700
|
-
const listenReintegrateProcess = async () => {
|
|
701
|
-
if (!state$1.uuid) return;
|
|
702
|
-
state$1.disabled = true;
|
|
703
|
-
ordersPendingIntegratePusher.on(state$1.uuid, (data) => {
|
|
704
|
-
var _a;
|
|
705
|
-
const quantity = Number((_a = data == null ? void 0 : data.message) == null ? void 0 : _a.orders_integrateds) || 0;
|
|
706
|
-
if (!quantity) return;
|
|
707
|
-
state$1.quantity = quantity;
|
|
708
|
-
state$1.updatedAt = (/* @__PURE__ */ new Date()).toISOString().replace(/T/, " às ").replace(/\..*/, "");
|
|
709
|
-
state$1.isRunning = false;
|
|
710
|
-
toaster.success({
|
|
711
|
-
title: t("orders.notification.reintegrate.feedback.successTitle"),
|
|
712
|
-
message: t("orders.notification.reintegrate.feedback.successTitle", { quantity })
|
|
713
|
-
});
|
|
714
|
-
});
|
|
715
|
-
};
|
|
716
|
-
const runReintegrate = async () => {
|
|
717
|
-
try {
|
|
718
|
-
state$1.isRunning = true;
|
|
719
|
-
const { uuid, error } = await ordersReintegrateService.reintegrateAll();
|
|
720
|
-
if (!uuid || error) {
|
|
721
|
-
throw new Error("Error reintegrating orders");
|
|
722
|
-
}
|
|
723
|
-
state$1.uuid = uuid;
|
|
724
|
-
listenReintegrateProcess();
|
|
725
|
-
} catch (error) {
|
|
726
|
-
console.error("Reintegrate error:", error);
|
|
727
|
-
state$1.isRunning = false;
|
|
728
|
-
toaster.error("Erro ao reintegrar pedidos");
|
|
729
|
-
}
|
|
730
|
-
};
|
|
731
|
-
const initialize$1 = async () => {
|
|
732
|
-
try {
|
|
733
|
-
initialized.value = true;
|
|
734
|
-
const data = await ordersReintegrateService.getData();
|
|
735
|
-
Object.assign(state$1, data);
|
|
736
|
-
if (state$1.isRunning) {
|
|
737
|
-
return listenReintegrateProcess();
|
|
738
|
-
}
|
|
739
|
-
} catch {
|
|
740
|
-
state$1.has = false;
|
|
741
|
-
state$1.disabled = true;
|
|
742
|
-
}
|
|
743
|
-
};
|
|
744
|
-
const useOrdersReintegrate = () => {
|
|
745
|
-
if (!initialized.value) initialize$1();
|
|
746
|
-
return {
|
|
747
|
-
...toRefs(state$1),
|
|
748
|
-
show: computed(() => {
|
|
749
|
-
var _a, _b;
|
|
750
|
-
return state$1.has && !!((_b = (_a = filter.value) == null ? void 0 : _a.status) == null ? void 0 : _b.includes("pendente_integracao"));
|
|
751
|
-
}),
|
|
752
|
-
runReintegrate,
|
|
753
|
-
initialize: initialize$1
|
|
754
|
-
};
|
|
755
|
-
};
|
|
756
|
-
const _hoisted_1$9 = { class: "flex flex-col gap-6" };
|
|
757
|
-
const _hoisted_2$4 = { class: "flex gap-6" };
|
|
758
|
-
const __default__$c = { name: "OrdersNotificationsAntifraud" };
|
|
759
|
-
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
760
|
-
...__default__$c,
|
|
761
|
-
setup(__props) {
|
|
762
|
-
const showModal = ref(true);
|
|
763
|
-
const APPMAX_LOGO = "https://admin.appmax.com.br/assets/admin/img/positive-appmax-logo.svg?v=20250212";
|
|
764
|
-
const REDIRECT_URL = "https://apps.shopify.com/appmax-antifraude?locale=pt-BR&st_source=autocomplete";
|
|
765
|
-
return (_ctx, _cache) => {
|
|
766
|
-
return openBlock(), createBlock(unref(script$3), {
|
|
767
|
-
visible: showModal.value,
|
|
768
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => showModal.value = $event),
|
|
769
|
-
modal: "",
|
|
770
|
-
header: _ctx.$t("orders.notification.antifraud.modal.header"),
|
|
771
|
-
class: "max-w-lg w-[90%]"
|
|
772
|
-
}, {
|
|
773
|
-
default: withCtx(() => [
|
|
774
|
-
createBaseVNode("div", _hoisted_1$9, [
|
|
775
|
-
createVNode(unref(y), {
|
|
776
|
-
variant: "subtitle",
|
|
777
|
-
class: "text-muted-color-emphasis",
|
|
778
|
-
"data-test": "antifraud-modal-header-subtitle"
|
|
779
|
-
}, {
|
|
780
|
-
default: withCtx(() => [
|
|
781
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.antifraud.modal.subtitle")), 1)
|
|
782
|
-
]),
|
|
783
|
-
_: 1
|
|
784
|
-
}),
|
|
785
|
-
createBaseVNode("div", _hoisted_2$4, [
|
|
786
|
-
createBaseVNode("img", {
|
|
787
|
-
alt: "Logo AppMax",
|
|
788
|
-
src: APPMAX_LOGO,
|
|
789
|
-
class: "object-contain",
|
|
790
|
-
"data-test": "antifraud-modal-logo"
|
|
791
|
-
}),
|
|
792
|
-
createBaseVNode("div", null, [
|
|
793
|
-
createVNode(unref(y), {
|
|
794
|
-
variant: "subtitle",
|
|
795
|
-
isStrong: "",
|
|
796
|
-
"data-test": "antifraud-modal-title"
|
|
797
|
-
}, {
|
|
798
|
-
default: withCtx(() => [
|
|
799
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.antifraud.modal.title")), 1)
|
|
800
|
-
]),
|
|
801
|
-
_: 1
|
|
802
|
-
}),
|
|
803
|
-
createVNode(unref(y), { "data-test": "antifraud-modal-text" }, {
|
|
804
|
-
default: withCtx(() => [
|
|
805
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.antifraud.modal.text")), 1)
|
|
806
|
-
]),
|
|
807
|
-
_: 1
|
|
808
|
-
})
|
|
809
|
-
])
|
|
810
|
-
]),
|
|
811
|
-
createVNode(unref($), {
|
|
812
|
-
size: "small",
|
|
813
|
-
href: REDIRECT_URL,
|
|
814
|
-
target: "_blank",
|
|
815
|
-
label: _ctx.$t("orders.notification.antifraud.modal.button"),
|
|
816
|
-
class: "self-end",
|
|
817
|
-
"data-test": "antifraud-modal-button"
|
|
818
|
-
}, null, 8, ["label"])
|
|
819
|
-
])
|
|
820
|
-
]),
|
|
821
|
-
_: 1
|
|
822
|
-
}, 8, ["visible", "header"]);
|
|
823
|
-
};
|
|
824
|
-
}
|
|
825
|
-
});
|
|
826
|
-
const _hoisted_1$8 = { class: "flex flex-col gap-6" };
|
|
827
|
-
const _hoisted_2$3 = { class: "d-flex justify-center gap-3" };
|
|
828
|
-
const __default__$b = { name: "OrdersNotificationsReintegrate" };
|
|
829
|
-
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
830
|
-
...__default__$b,
|
|
831
|
-
setup(__props) {
|
|
832
|
-
const { runReintegrate: runReintegrate2, isRunning, quantity, updatedAt, disabled } = useOrdersReintegrate();
|
|
833
|
-
const showModal = ref(false);
|
|
834
|
-
const openModal = () => showModal.value = true;
|
|
835
|
-
const closeModal = () => showModal.value = false;
|
|
836
|
-
const handleConfirm = () => {
|
|
837
|
-
closeModal();
|
|
838
|
-
runReintegrate2();
|
|
839
|
-
};
|
|
840
|
-
const HELPER_HREF = "https://help.appmax.com.br/pt-br/central-de-ajuda/como-resolver-pendentes-de-integra%C3%A7%C3%A3o";
|
|
841
|
-
return (_ctx, _cache) => {
|
|
842
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
843
|
-
createVNode(unref(R), {
|
|
844
|
-
title: _ctx.$t("orders.notification.reintegrate.title"),
|
|
845
|
-
dataTestPrefix: "reintegrate"
|
|
846
|
-
}, {
|
|
847
|
-
default: withCtx(() => [
|
|
848
|
-
createVNode(unref(y), null, {
|
|
849
|
-
default: withCtx(() => [
|
|
850
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.reintegrate.message")) + " ", 1),
|
|
851
|
-
createBaseVNode("a", {
|
|
852
|
-
href: HELPER_HREF,
|
|
853
|
-
target: "_blank",
|
|
854
|
-
class: "font-bold"
|
|
855
|
-
}, toDisplayString(_ctx.$t("orders.notification.reintegrate.link")), 1)
|
|
856
|
-
]),
|
|
857
|
-
_: 1
|
|
858
|
-
}),
|
|
859
|
-
unref(updatedAt) ? (openBlock(), createBlock(unref(y), {
|
|
860
|
-
key: 0,
|
|
861
|
-
class: "mt-2"
|
|
862
|
-
}, {
|
|
863
|
-
default: withCtx(() => [
|
|
864
|
-
createBaseVNode("span", null, toDisplayString(_ctx.$t("orders.notification.reintegrate.updatedAt", { updatedAt: unref(updatedAt) })), 1),
|
|
865
|
-
createBaseVNode("strong", null, toDisplayString(_ctx.$t("orders.notification.reintegrate.quantity", { quantity: unref(quantity) })), 1)
|
|
866
|
-
]),
|
|
867
|
-
_: 1
|
|
868
|
-
})) : createCommentVNode("", true)
|
|
869
|
-
]),
|
|
870
|
-
action: withCtx(() => [
|
|
871
|
-
unref(isRunning) ? (openBlock(), createBlock(unref($), {
|
|
872
|
-
key: 0,
|
|
873
|
-
size: "small",
|
|
874
|
-
severity: "warn",
|
|
875
|
-
disabled: "",
|
|
876
|
-
"data-test": "reintegrate-notification-running-button"
|
|
877
|
-
}, {
|
|
878
|
-
default: withCtx(() => [
|
|
879
|
-
createVNode(unref(_), {
|
|
880
|
-
variant: "material",
|
|
881
|
-
icon: "progress_activity",
|
|
882
|
-
size: "md",
|
|
883
|
-
class: "animate-spin",
|
|
884
|
-
"data-test": "reintegrate-notification-running-icon"
|
|
885
|
-
}),
|
|
886
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("orders.notification.reintegrate.running")), 1)
|
|
887
|
-
]),
|
|
888
|
-
_: 1
|
|
889
|
-
})) : (openBlock(), createBlock(unref($), {
|
|
890
|
-
key: 1,
|
|
891
|
-
size: "small",
|
|
892
|
-
severity: "warn",
|
|
893
|
-
disabled: unref(disabled),
|
|
894
|
-
"data-test": "reintegrate-notification-button",
|
|
895
|
-
onClick: openModal
|
|
896
|
-
}, {
|
|
897
|
-
default: withCtx(() => [
|
|
898
|
-
createVNode(unref(_), {
|
|
899
|
-
variant: "material",
|
|
900
|
-
icon: "refresh",
|
|
901
|
-
size: "md",
|
|
902
|
-
"data-test": "reintegrate-notification-icon"
|
|
903
|
-
}),
|
|
904
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("orders.notification.reintegrate.button")), 1)
|
|
905
|
-
]),
|
|
906
|
-
_: 1
|
|
907
|
-
}, 8, ["disabled"]))
|
|
908
|
-
]),
|
|
909
|
-
_: 1
|
|
910
|
-
}, 8, ["title"]),
|
|
911
|
-
createVNode(unref(script$3), {
|
|
912
|
-
visible: showModal.value,
|
|
913
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => showModal.value = $event),
|
|
914
|
-
modal: "",
|
|
915
|
-
header: _ctx.$t("orders.notification.reintegrate.dialogHeader"),
|
|
916
|
-
class: "max-w-md w-[90%]"
|
|
917
|
-
}, {
|
|
918
|
-
default: withCtx(() => [
|
|
919
|
-
createBaseVNode("div", _hoisted_1$8, [
|
|
920
|
-
createVNode(unref(y), {
|
|
921
|
-
variant: "subtitle",
|
|
922
|
-
"data-test": "reintegrate-dialog-text"
|
|
923
|
-
}, {
|
|
924
|
-
default: withCtx(() => [
|
|
925
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.notification.reintegrate.confirm")), 1)
|
|
926
|
-
]),
|
|
927
|
-
_: 1
|
|
928
|
-
}),
|
|
929
|
-
createBaseVNode("div", _hoisted_2$3, [
|
|
930
|
-
createVNode(unref($), {
|
|
931
|
-
size: "small",
|
|
932
|
-
outlined: "",
|
|
933
|
-
fluid: "",
|
|
934
|
-
label: _ctx.$t("orders.notification.reintegrate.no"),
|
|
935
|
-
"data-test": "reintegrate-dialog-no-button",
|
|
936
|
-
onClick: closeModal
|
|
937
|
-
}, null, 8, ["label"]),
|
|
938
|
-
createVNode(unref($), {
|
|
939
|
-
size: "small",
|
|
940
|
-
fluid: "",
|
|
941
|
-
label: _ctx.$t("orders.notification.reintegrate.yes"),
|
|
942
|
-
"data-test": "reintegrate-dialog-yes-button",
|
|
943
|
-
onClick: handleConfirm
|
|
944
|
-
}, null, 8, ["label"])
|
|
945
|
-
])
|
|
946
|
-
])
|
|
947
|
-
]),
|
|
948
|
-
_: 1
|
|
949
|
-
}, 8, ["visible", "header"])
|
|
950
|
-
], 64);
|
|
951
|
-
};
|
|
952
|
-
}
|
|
953
|
-
});
|
|
954
|
-
const _hoisted_1$7 = { class: "list-disc list-inside mt-2 space-y-1" };
|
|
955
|
-
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
956
|
-
...{ name: "TransparencyAntifraudModal" },
|
|
957
|
-
__name: "TransparencyAntifraudModal",
|
|
958
|
-
setup(__props) {
|
|
959
|
-
const { assignTransparencyModalInteraction: assignTransparencyModalInteraction2, showTransparencyModal } = useOrdersNotification();
|
|
960
|
-
return (_ctx, _cache) => {
|
|
961
|
-
return openBlock(), createBlock(unref(script$3), {
|
|
962
|
-
visible: unref(showTransparencyModal),
|
|
963
|
-
"onUpdate:visible": [
|
|
964
|
-
_cache[0] || (_cache[0] = ($event) => isRef(showTransparencyModal) ? showTransparencyModal.value = $event : null),
|
|
965
|
-
unref(assignTransparencyModalInteraction2)
|
|
966
|
-
],
|
|
967
|
-
modal: "",
|
|
968
|
-
header: _ctx.$t("orders.transparency.header"),
|
|
969
|
-
class: "max-w-lg w-[90%]",
|
|
970
|
-
"pt:title": "!w-full !text-center",
|
|
971
|
-
"pt:content": "!grid !gap-4"
|
|
972
|
-
}, {
|
|
973
|
-
default: withCtx(() => [
|
|
974
|
-
createVNode(unref(script$2), {
|
|
975
|
-
class: "!bg-surface-200 !border-surface-300",
|
|
976
|
-
"pt:content": "!pb-0",
|
|
977
|
-
"pt:header": "!hidden"
|
|
978
|
-
}, {
|
|
979
|
-
default: withCtx(() => [
|
|
980
|
-
createVNode(unref(script$2), {
|
|
981
|
-
class: "!pointer-events-none !rounded-none !border-0",
|
|
982
|
-
"pt:headeractions": "!hidden",
|
|
983
|
-
"pt:header": "pb-3"
|
|
984
|
-
}, {
|
|
985
|
-
header: withCtx(() => [
|
|
986
|
-
createVNode(OrderStatusChip, {
|
|
987
|
-
status: "recusado_por_risco",
|
|
988
|
-
type: "danger",
|
|
989
|
-
label: _ctx.$t("orders.status.recusado_por_risco.label")
|
|
990
|
-
}, null, 8, ["label"]),
|
|
991
|
-
createVNode(unref(f), { icon: "close" })
|
|
992
|
-
]),
|
|
993
|
-
default: withCtx(() => [
|
|
994
|
-
createVNode(unref(y), null, {
|
|
995
|
-
default: withCtx(() => [
|
|
996
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.status.recusado_por_risco.text")), 1)
|
|
997
|
-
]),
|
|
998
|
-
_: 1
|
|
999
|
-
}),
|
|
1000
|
-
createVNode(unref($), {
|
|
1001
|
-
outlined: "",
|
|
1002
|
-
size: "small",
|
|
1003
|
-
class: "!text-primary mt-4",
|
|
1004
|
-
label: _ctx.$t("orders.status.linkLabel")
|
|
1005
|
-
}, null, 8, ["label"]),
|
|
1006
|
-
createVNode(unref(script$4)),
|
|
1007
|
-
createVNode(unref(y), { class: "rounded bg-surface-200 w-fit px-2 py-1" }, {
|
|
1008
|
-
default: withCtx(() => [
|
|
1009
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.status.refusal")), 1)
|
|
1010
|
-
]),
|
|
1011
|
-
_: 1
|
|
1012
|
-
}),
|
|
1013
|
-
createBaseVNode("ul", _hoisted_1$7, [
|
|
1014
|
-
createVNode(unref(y), { as: "li" }, {
|
|
1015
|
-
default: withCtx(() => [
|
|
1016
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.transparency.refusalExemples.phone")), 1)
|
|
1017
|
-
]),
|
|
1018
|
-
_: 1
|
|
1019
|
-
}),
|
|
1020
|
-
createVNode(unref(y), { as: "li" }, {
|
|
1021
|
-
default: withCtx(() => [
|
|
1022
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.transparency.refusalExemples.email")), 1)
|
|
1023
|
-
]),
|
|
1024
|
-
_: 1
|
|
1025
|
-
})
|
|
1026
|
-
])
|
|
1027
|
-
]),
|
|
1028
|
-
_: 1
|
|
1029
|
-
})
|
|
1030
|
-
]),
|
|
1031
|
-
_: 1
|
|
1032
|
-
}),
|
|
1033
|
-
createVNode(unref(y), {
|
|
1034
|
-
variant: "title",
|
|
1035
|
-
size: "small",
|
|
1036
|
-
isStrong: "",
|
|
1037
|
-
class: "w-full text-center",
|
|
1038
|
-
"data-test": "transparency-antifraud-subtitle"
|
|
1039
|
-
}, {
|
|
1040
|
-
default: withCtx(() => [
|
|
1041
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.transparency.subtitle")), 1)
|
|
1042
|
-
]),
|
|
1043
|
-
_: 1
|
|
1044
|
-
}),
|
|
1045
|
-
createVNode(unref(y), {
|
|
1046
|
-
variant: "subtitle",
|
|
1047
|
-
class: "w-full text-center",
|
|
1048
|
-
"data-test": "transparency-antifraud-description"
|
|
1049
|
-
}, {
|
|
1050
|
-
default: withCtx(() => [
|
|
1051
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.transparency.description")), 1)
|
|
1052
|
-
]),
|
|
1053
|
-
_: 1
|
|
1054
|
-
})
|
|
1055
|
-
]),
|
|
1056
|
-
_: 1
|
|
1057
|
-
}, 8, ["visible", "header", "onUpdate:visible"]);
|
|
1058
|
-
};
|
|
1059
|
-
}
|
|
1060
|
-
});
|
|
1061
|
-
const __default__$a = { name: "OrdersNotifications" };
|
|
1062
|
-
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
1063
|
-
...__default__$a,
|
|
1064
|
-
setup(__props) {
|
|
1065
|
-
const { shopifyAntifraudMissing, showTransparencyModal } = useOrdersNotification();
|
|
1066
|
-
const { show: showOrdersReintegrate } = useOrdersReintegrate();
|
|
1067
|
-
return (_ctx, _cache) => {
|
|
1068
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1069
|
-
unref(showTransparencyModal) ? (openBlock(), createBlock(_sfc_main$c, { key: 0 })) : createCommentVNode("", true),
|
|
1070
|
-
unref(shopifyAntifraudMissing) ? (openBlock(), createBlock(_sfc_main$e, { key: 1 })) : createCommentVNode("", true),
|
|
1071
|
-
unref(showOrdersReintegrate) ? (openBlock(), createBlock(_sfc_main$d, { key: 2 })) : createCommentVNode("", true)
|
|
1072
|
-
], 64);
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
});
|
|
1076
|
-
class OrdersExportService {
|
|
1077
|
-
constructor(apiService) {
|
|
1078
|
-
this.apiService = apiService;
|
|
1079
|
-
}
|
|
1080
|
-
async sendOrdersToExport(emails, filter2) {
|
|
1081
|
-
const route = "/api/orders/export-orders";
|
|
1082
|
-
const payload = this.serializePayload(emails, filter2);
|
|
1083
|
-
return this.apiService.post(route, payload);
|
|
1084
|
-
}
|
|
1085
|
-
serializePayload(emails, filter2) {
|
|
1086
|
-
const params = filterToParams(filter2);
|
|
1087
|
-
const payload = { emails };
|
|
1088
|
-
for (const key in params) {
|
|
1089
|
-
const value = params[key];
|
|
1090
|
-
if (!value) continue;
|
|
1091
|
-
if (/date/.test(key)) continue;
|
|
1092
|
-
payload[key] = value;
|
|
1093
|
-
}
|
|
1094
|
-
if (params.date_from && params.date_to) {
|
|
1095
|
-
payload["date"] = [params.date_from, params.date_to];
|
|
1096
|
-
}
|
|
1097
|
-
return payload;
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
const ordersExportService = new OrdersExportService(ApiService);
|
|
1101
|
-
const state = reactive({
|
|
1102
|
-
email: "",
|
|
1103
|
-
hasPermissionToExport: false,
|
|
1104
|
-
isVisibleModal: false,
|
|
1105
|
-
requestingExport: false
|
|
1106
|
-
});
|
|
1107
|
-
const EXPORT_ORDERS_PERMISSION = "admin:spa-orders.user-has-export-permission";
|
|
1108
|
-
const setModalVisibility = (value) => {
|
|
1109
|
-
state.isVisibleModal = value;
|
|
1110
|
-
};
|
|
1111
|
-
const initialize = async () => {
|
|
1112
|
-
var _a;
|
|
1113
|
-
state.email = (_a = userService.data) == null ? void 0 : _a.user.email;
|
|
1114
|
-
state.hasPermissionToExport = userService.hasPermission(EXPORT_ORDERS_PERMISSION);
|
|
1115
|
-
};
|
|
1116
|
-
const useOrdersExport = () => {
|
|
1117
|
-
const emailSchema = z.object({
|
|
1118
|
-
default: z.string().optional().transform(() => state.email),
|
|
1119
|
-
opt1: z.string().optional().nullable().refine(
|
|
1120
|
-
(value) => !value || value.trim() === "" || z.string().email().safeParse(value).success,
|
|
1121
|
-
{
|
|
1122
|
-
message: t("orders.filter.export.feedback.email")
|
|
1123
|
-
}
|
|
1124
|
-
),
|
|
1125
|
-
opt2: z.string().optional().nullable().refine(
|
|
1126
|
-
(value) => !value || value.trim() === "" || z.string().email().safeParse(value).success,
|
|
1127
|
-
{
|
|
1128
|
-
message: t("orders.filter.export.feedback.email")
|
|
1129
|
-
}
|
|
1130
|
-
),
|
|
1131
|
-
opt3: 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
|
-
});
|
|
1138
|
-
const exportOrders = async (emails) => {
|
|
1139
|
-
try {
|
|
1140
|
-
state.requestingExport = true;
|
|
1141
|
-
const { filter: filter2 } = useOrdersFilter();
|
|
1142
|
-
await ordersExportService.sendOrdersToExport(emails, filter2.value);
|
|
1143
|
-
toaster.success({
|
|
1144
|
-
title: t("orders.filter.export.feedback.successTitle"),
|
|
1145
|
-
message: t("orders.filter.export.feedback.successText")
|
|
1146
|
-
});
|
|
1147
|
-
} catch {
|
|
1148
|
-
toaster.error({
|
|
1149
|
-
title: t("orders.filter.export.feedback.errorTitle"),
|
|
1150
|
-
message: t("orders.filter.export.feedback.errorText")
|
|
1151
|
-
});
|
|
1152
|
-
} finally {
|
|
1153
|
-
setModalVisibility(false);
|
|
1154
|
-
await delay();
|
|
1155
|
-
state.requestingExport = false;
|
|
1156
|
-
}
|
|
1157
|
-
};
|
|
1158
|
-
const formSubmit = ({ valid, values }) => {
|
|
1159
|
-
if (!valid) return;
|
|
1160
|
-
const emails = Object.values(values).filter(Boolean);
|
|
1161
|
-
return exportOrders(emails);
|
|
1162
|
-
};
|
|
1163
|
-
initialize();
|
|
1164
|
-
return {
|
|
1165
|
-
...toRefs(state),
|
|
1166
|
-
formSubmit,
|
|
1167
|
-
setModalVisibility,
|
|
1168
|
-
emailSchema
|
|
1169
|
-
};
|
|
1170
|
-
};
|
|
1171
|
-
const _hoisted_1$6 = { class: "flex gap-2 flex-wrap" };
|
|
1172
|
-
const __default__$9 = { name: "OrdersFilterChips" };
|
|
1173
|
-
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
1174
|
-
...__default__$9,
|
|
1175
|
-
setup(__props) {
|
|
1176
|
-
const { chips: chips2, onRemoveChip: onRemoveChip2 } = useOrdersFilter();
|
|
1177
|
-
return (_ctx, _cache) => {
|
|
1178
|
-
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
1179
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(chips2), (chip) => {
|
|
1180
|
-
return openBlock(), createBlock(unref(b), {
|
|
1181
|
-
removable: "",
|
|
1182
|
-
onRemove: ($event) => unref(onRemoveChip2)(chip),
|
|
1183
|
-
"data-test": "order-filter-chip"
|
|
1184
|
-
}, {
|
|
1185
|
-
default: withCtx(() => [
|
|
1186
|
-
createTextVNode(toDisplayString(_ctx.$t(chip.label || chip.value)), 1)
|
|
1187
|
-
]),
|
|
1188
|
-
_: 2
|
|
1189
|
-
}, 1032, ["onRemove"]);
|
|
1190
|
-
}), 256))
|
|
1191
|
-
]);
|
|
1192
|
-
};
|
|
1193
|
-
}
|
|
1194
|
-
});
|
|
1195
|
-
const _hoisted_1$5 = {
|
|
1196
|
-
key: 0,
|
|
1197
|
-
class: "grid gap-4 w-full"
|
|
1198
|
-
};
|
|
1199
|
-
const __default__$8 = { name: "OrdersExportModal" };
|
|
1200
|
-
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
1201
|
-
...__default__$8,
|
|
1202
|
-
setup(__props) {
|
|
1203
|
-
const { formSubmit, isVisibleModal, requestingExport, emailSchema, email } = useOrdersExport();
|
|
1204
|
-
const expanded = ref(false);
|
|
1205
|
-
return (_ctx, _cache) => {
|
|
1206
|
-
return openBlock(), createBlock(unref(script$3), {
|
|
1207
|
-
visible: unref(isVisibleModal),
|
|
1208
|
-
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => isRef(isVisibleModal) ? isVisibleModal.value = $event : null),
|
|
1209
|
-
modal: "",
|
|
1210
|
-
header: _ctx.$t("orders.filter.export.modal.title"),
|
|
1211
|
-
class: "w-[90%] sm:!w-[500px]"
|
|
1212
|
-
}, {
|
|
1213
|
-
default: withCtx(() => [
|
|
1214
|
-
unref(requestingExport) ? (openBlock(), createBlock(unref(C), {
|
|
1215
|
-
key: 0,
|
|
1216
|
-
"is-loading": "",
|
|
1217
|
-
class: "absolute"
|
|
1218
|
-
})) : createCommentVNode("", true),
|
|
1219
|
-
createBaseVNode("div", {
|
|
1220
|
-
class: normalizeClass(["grid gap-4", { invisible: unref(requestingExport) }])
|
|
1221
|
-
}, [
|
|
1222
|
-
createVNode(unref(y), {
|
|
1223
|
-
class: "text-center",
|
|
1224
|
-
variant: "subtitle",
|
|
1225
|
-
"data-test": "orders-export-modal-subtitle"
|
|
1226
|
-
}, {
|
|
1227
|
-
default: withCtx(() => [
|
|
1228
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.filter.export.modal.text")) + " ", 1),
|
|
1229
|
-
createBaseVNode("strong", null, toDisplayString(unref(email)), 1)
|
|
1230
|
-
]),
|
|
1231
|
-
_: 1
|
|
1232
|
-
}),
|
|
1233
|
-
!expanded.value ? (openBlock(), createBlock(unref($), {
|
|
1234
|
-
key: 0,
|
|
1235
|
-
text: "",
|
|
1236
|
-
"data-test": "orders-export-modal-expand-button",
|
|
1237
|
-
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = true)
|
|
1238
|
-
}, {
|
|
1239
|
-
default: withCtx(() => [
|
|
1240
|
-
createVNode(unref(_), { icon: "add" }),
|
|
1241
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("orders.filter.export.modal.add")), 1)
|
|
1242
|
-
]),
|
|
1243
|
-
_: 1
|
|
1244
|
-
})) : createCommentVNode("", true),
|
|
1245
|
-
createVNode(unref(B), {
|
|
1246
|
-
class: "grid gap-4 w-full",
|
|
1247
|
-
autocomplete: "off",
|
|
1248
|
-
schema: unref(emailSchema),
|
|
1249
|
-
onSubmit: unref(formSubmit)
|
|
1250
|
-
}, {
|
|
1251
|
-
default: withCtx(($form) => [
|
|
1252
|
-
expanded.value ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
1253
|
-
createVNode(unref(B$1), {
|
|
1254
|
-
name: "opt1",
|
|
1255
|
-
"data-test-prefix": "orders-export-modal-email-input-opt1",
|
|
1256
|
-
placeholder: _ctx.$t("orders.filter.export.modal.placeholder"),
|
|
1257
|
-
autocomplete: "off"
|
|
1258
|
-
}, null, 8, ["placeholder"]),
|
|
1259
|
-
createVNode(unref(B$1), {
|
|
1260
|
-
name: "opt2",
|
|
1261
|
-
"data-test-prefix": "orders-export-modal-email-input-opt2",
|
|
1262
|
-
placeholder: _ctx.$t("orders.filter.export.modal.placeholder"),
|
|
1263
|
-
autocomplete: "off"
|
|
1264
|
-
}, null, 8, ["placeholder"]),
|
|
1265
|
-
createVNode(unref(B$1), {
|
|
1266
|
-
name: "opt3",
|
|
1267
|
-
"data-test-prefix": "orders-export-modal-email-input-opt3",
|
|
1268
|
-
placeholder: _ctx.$t("orders.filter.export.modal.placeholder"),
|
|
1269
|
-
autocomplete: "off"
|
|
1270
|
-
}, null, 8, ["placeholder"])
|
|
1271
|
-
])) : createCommentVNode("", true),
|
|
1272
|
-
createVNode(unref($), {
|
|
1273
|
-
type: "submit",
|
|
1274
|
-
disabled: !$form.valid,
|
|
1275
|
-
label: _ctx.$t("orders.filter.export.modal.button"),
|
|
1276
|
-
"data-test": "orders-export-modal-submit-button"
|
|
1277
|
-
}, null, 8, ["disabled", "label"])
|
|
1278
|
-
]),
|
|
1279
|
-
_: 1
|
|
1280
|
-
}, 8, ["schema", "onSubmit"])
|
|
1281
|
-
], 2)
|
|
1282
|
-
]),
|
|
1283
|
-
_: 1
|
|
1284
|
-
}, 8, ["visible", "header"]);
|
|
1285
|
-
};
|
|
1286
|
-
}
|
|
1287
|
-
});
|
|
1288
|
-
const __default__$7 = { name: "OrdersExport" };
|
|
1289
|
-
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
1290
|
-
...__default__$7,
|
|
1291
|
-
setup(__props) {
|
|
1292
|
-
const { setModalVisibility: setModalVisibility2 } = useOrdersExport();
|
|
1293
|
-
return (_ctx, _cache) => {
|
|
1294
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1295
|
-
createVNode(unref($), {
|
|
1296
|
-
type: "button",
|
|
1297
|
-
class: "min-w-[140px] w-full md:w-fit",
|
|
1298
|
-
outlined: "",
|
|
1299
|
-
"data-test": "order-export-button",
|
|
1300
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(setModalVisibility2)(true))
|
|
1301
|
-
}, {
|
|
1302
|
-
default: withCtx(() => [
|
|
1303
|
-
createVNode(unref(_), {
|
|
1304
|
-
variant: "svg",
|
|
1305
|
-
icon: "csv",
|
|
1306
|
-
size: "md",
|
|
1307
|
-
color: "primary-500"
|
|
1308
|
-
}),
|
|
1309
|
-
createTextVNode(" " + toDisplayString(_ctx.$t("orders.filter.export.button")), 1)
|
|
1310
|
-
]),
|
|
1311
|
-
_: 1
|
|
1312
|
-
}),
|
|
1313
|
-
createVNode(_sfc_main$9)
|
|
1314
|
-
], 64);
|
|
1315
|
-
};
|
|
1316
|
-
}
|
|
1317
|
-
});
|
|
1318
|
-
const __default__$6 = { name: "OrdersFilterSearch" };
|
|
1319
|
-
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
1320
|
-
...__default__$6,
|
|
1321
|
-
setup(__props) {
|
|
1322
|
-
const { isSearchDisabled, onSearch: onSearch2 } = useOrdersFilter();
|
|
1323
|
-
const search = ref("");
|
|
1324
|
-
const showHelper = ref(false);
|
|
1325
|
-
const handleSubmit = () => {
|
|
1326
|
-
if (search.value.length < 3) {
|
|
1327
|
-
showHelper.value = true;
|
|
1328
|
-
return;
|
|
1329
|
-
}
|
|
1330
|
-
onSearch2(search.value);
|
|
1331
|
-
search.value = "";
|
|
1332
|
-
showHelper.value = false;
|
|
1333
|
-
};
|
|
1334
|
-
const isInvalid = computed(() => {
|
|
1335
|
-
if (!search.value.length) return false;
|
|
1336
|
-
return showHelper.value && search.value.length < 3;
|
|
1337
|
-
});
|
|
1338
|
-
const disabledSubmit = computed(
|
|
1339
|
-
() => isSearchDisabled.value || isInvalid.value || !search.value.length
|
|
1340
|
-
);
|
|
1341
|
-
return (_ctx, _cache) => {
|
|
1342
|
-
return openBlock(), createElementBlock("form", {
|
|
1343
|
-
class: "grid w-full md:flex-1 gap-1",
|
|
1344
|
-
onSubmit: withModifiers(handleSubmit, ["prevent"])
|
|
1345
|
-
}, [
|
|
1346
|
-
createVNode(unref(script$5), null, {
|
|
1347
|
-
default: withCtx(() => [
|
|
1348
|
-
createVNode(unref(script$6), {
|
|
1349
|
-
modelValue: search.value,
|
|
1350
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
|
|
1351
|
-
class: "w-full",
|
|
1352
|
-
name: "search",
|
|
1353
|
-
invalid: isInvalid.value,
|
|
1354
|
-
disabled: unref(isSearchDisabled),
|
|
1355
|
-
"data-test": "sales-order-home-search-input",
|
|
1356
|
-
placeholder: _ctx.$t("orders.filter.search.placeholder")
|
|
1357
|
-
}, null, 8, ["modelValue", "invalid", "disabled", "placeholder"]),
|
|
1358
|
-
createVNode(unref($), {
|
|
1359
|
-
type: "submit",
|
|
1360
|
-
disabled: disabledSubmit.value,
|
|
1361
|
-
"data-test": "sales-order-home-search-button"
|
|
1362
|
-
}, {
|
|
1363
|
-
default: withCtx(() => [
|
|
1364
|
-
createVNode(unref(_), { icon: "search" })
|
|
1365
|
-
]),
|
|
1366
|
-
_: 1
|
|
1367
|
-
}, 8, ["disabled"])
|
|
1368
|
-
]),
|
|
1369
|
-
_: 1
|
|
1370
|
-
}),
|
|
1371
|
-
isInvalid.value ? (openBlock(), createBlock(unref(y), {
|
|
1372
|
-
key: 0,
|
|
1373
|
-
class: "text-error mt-1",
|
|
1374
|
-
size: "small",
|
|
1375
|
-
"data-test": "sales-order-home-search-error"
|
|
1376
|
-
}, {
|
|
1377
|
-
default: withCtx(() => [
|
|
1378
|
-
createTextVNode(toDisplayString(_ctx.$t("orders.filter.search.message")), 1)
|
|
1379
|
-
]),
|
|
1380
|
-
_: 1
|
|
1381
|
-
})) : createCommentVNode("", true)
|
|
1382
|
-
], 32);
|
|
1383
|
-
};
|
|
1384
|
-
}
|
|
1385
|
-
});
|
|
1386
|
-
const _hoisted_1$4 = { class: "flex items-center gap-1" };
|
|
1387
|
-
const __default__$5 = { name: "OrdersFilterOptions" };
|
|
1388
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
1389
|
-
...__default__$5,
|
|
1390
|
-
setup(__props) {
|
|
1391
|
-
const { filter: filter2, fields: fields2, onChangeFilter: onChangeFilter2 } = useOrdersFilter();
|
|
1392
|
-
const visible = ref(false);
|
|
1393
|
-
const openFilter = () => visible.value = true;
|
|
1394
|
-
watch(
|
|
1395
|
-
() => visible.value,
|
|
1396
|
-
(newValue) => supportChatHelper.toggle(!newValue)
|
|
1397
|
-
);
|
|
1398
|
-
return (_ctx, _cache) => {
|
|
1399
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1400
|
-
createVNode(unref($), {
|
|
1401
|
-
outlined: "",
|
|
1402
|
-
class: "w-full md:w-fit min-w-[140px]",
|
|
1403
|
-
"data-test": "order-list-toggle-filters-button",
|
|
1404
|
-
onClick: openFilter
|
|
1405
|
-
}, {
|
|
1406
|
-
default: withCtx(() => [
|
|
1407
|
-
createBaseVNode("div", _hoisted_1$4, [
|
|
1408
|
-
createVNode(unref(_), { icon: "filter_list" }),
|
|
1409
|
-
createBaseVNode("span", null, toDisplayString(_ctx.$t("orders.filter.options.button")), 1)
|
|
1410
|
-
])
|
|
1411
|
-
]),
|
|
1412
|
-
_: 1
|
|
1413
|
-
}),
|
|
1414
|
-
createVNode(unref(ke), {
|
|
1415
|
-
visible: visible.value,
|
|
1416
|
-
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
1417
|
-
title: _ctx.$t("orders.filter.title"),
|
|
1418
|
-
confirmButtonText: _ctx.$t("orders.filter.buttons.confirm"),
|
|
1419
|
-
buttonClearText: _ctx.$t("orders.filter.buttons.clear"),
|
|
1420
|
-
buttonApplyText: _ctx.$t("orders.filter.buttons.apply"),
|
|
1421
|
-
fields: unref(fields2),
|
|
1422
|
-
"model-value": unref(filter2),
|
|
1423
|
-
"data-test-prefix": "orders-filter",
|
|
1424
|
-
"onUpdate:modelValue": unref(onChangeFilter2)
|
|
1425
|
-
}, null, 8, ["visible", "title", "confirmButtonText", "buttonClearText", "buttonApplyText", "fields", "model-value", "onUpdate:modelValue"])
|
|
1426
|
-
], 64);
|
|
1427
|
-
};
|
|
1428
|
-
}
|
|
1429
|
-
});
|
|
1430
|
-
const _hoisted_1$3 = { class: "flex flex-wrap items-start gap-2" };
|
|
1431
|
-
const __default__$4 = { name: "OrdersFilter" };
|
|
1432
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
1433
|
-
...__default__$4,
|
|
1434
|
-
setup(__props) {
|
|
1435
|
-
const { hasPermissionToExport } = useOrdersExport();
|
|
1436
|
-
return (_ctx, _cache) => {
|
|
1437
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
1438
|
-
createBaseVNode("div", _hoisted_1$3, [
|
|
1439
|
-
createVNode(_sfc_main$7),
|
|
1440
|
-
createVNode(_sfc_main$6),
|
|
1441
|
-
unref(hasPermissionToExport) ? (openBlock(), createBlock(_sfc_main$8, { key: 0 })) : createCommentVNode("", true)
|
|
1442
|
-
]),
|
|
1443
|
-
createVNode(_sfc_main$a)
|
|
1444
|
-
], 64);
|
|
1445
|
-
};
|
|
1446
|
-
}
|
|
1447
|
-
});
|
|
1448
|
-
const __default__$3 = { name: "OrdersPresetsFilter" };
|
|
1449
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
1450
|
-
...__default__$3,
|
|
1451
|
-
setup(__props) {
|
|
1452
|
-
const { presets, onChangeFilter: onChangeFilter2, tab } = useOrdersFilter();
|
|
1453
|
-
const { has: hasOrdersReintegrate } = useOrdersReintegrate();
|
|
1454
|
-
return (_ctx, _cache) => {
|
|
1455
|
-
return openBlock(), createBlock(unref(script$7), {
|
|
1456
|
-
value: unref(tab),
|
|
1457
|
-
"data-test": "order-pages-tabs",
|
|
1458
|
-
scrollable: ""
|
|
1459
|
-
}, {
|
|
1460
|
-
default: withCtx(() => [
|
|
1461
|
-
createVNode(unref(script$8), { "data-test": "order-pages-tab-list" }, {
|
|
1462
|
-
default: withCtx(() => [
|
|
1463
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(presets), (tab2, index) => {
|
|
1464
|
-
return openBlock(), createBlock(unref(script$9), {
|
|
1465
|
-
key: tab2.id,
|
|
1466
|
-
value: index,
|
|
1467
|
-
class: "flex items-center justify-center gap-1 !p-3 flex-auto",
|
|
1468
|
-
"data-test": `order-pages-tab-button-${tab2.id}`,
|
|
1469
|
-
onClick: ($event) => unref(onChangeFilter2)(tab2.filter, index)
|
|
1470
|
-
}, {
|
|
1471
|
-
default: withCtx(() => [
|
|
1472
|
-
tab2.id === "pending_integration" || tab2.id === "pending_tracking_codes" ? (openBlock(), createBlock(unref(_), {
|
|
1473
|
-
key: 0,
|
|
1474
|
-
icon: "warning",
|
|
1475
|
-
class: normalizeClass(unref(hasOrdersReintegrate) ? "text-warning-500" : "text-gray-500")
|
|
1476
|
-
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
1477
|
-
createVNode(unref(y), {
|
|
1478
|
-
class: "text-wrap",
|
|
1479
|
-
"data-test": `order-pages-tab-label-${tab2.id}`
|
|
1480
|
-
}, {
|
|
1481
|
-
default: withCtx(() => [
|
|
1482
|
-
createTextVNode(toDisplayString(unref(t)(tab2.label)), 1)
|
|
1483
|
-
]),
|
|
1484
|
-
_: 2
|
|
1485
|
-
}, 1032, ["data-test"])
|
|
1486
|
-
]),
|
|
1487
|
-
_: 2
|
|
1488
|
-
}, 1032, ["value", "data-test", "onClick"]);
|
|
1489
|
-
}), 128))
|
|
1490
|
-
]),
|
|
1491
|
-
_: 1
|
|
1492
|
-
})
|
|
1493
|
-
]),
|
|
1494
|
-
_: 1
|
|
1495
|
-
}, 8, ["value"]);
|
|
1496
|
-
};
|
|
1497
|
-
}
|
|
1498
|
-
});
|
|
1499
|
-
const _hoisted_1$2 = { class: "flex items-center gap-1" };
|
|
1500
|
-
const _hoisted_2$2 = ["href", "data-test"];
|
|
1501
|
-
const _hoisted_3 = ["data-test", "onClick"];
|
|
1502
|
-
const __default__$2 = { name: "OrdersPresetsMore" };
|
|
1503
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
1504
|
-
...__default__$2,
|
|
1505
|
-
setup(__props) {
|
|
1506
|
-
const { more, onChangeFilter: onChangeFilter2 } = useOrdersFilter();
|
|
1507
|
-
const menu = ref();
|
|
1508
|
-
const toggle = (event) => {
|
|
1509
|
-
var _a;
|
|
1510
|
-
return (_a = menu.value) == null ? void 0 : _a.toggle(event);
|
|
1511
|
-
};
|
|
1512
|
-
const handleFilterClick = (filter2) => {
|
|
1513
|
-
var _a;
|
|
1514
|
-
onChangeFilter2(filter2, 0);
|
|
1515
|
-
(_a = menu.value) == null ? void 0 : _a.hide();
|
|
1516
|
-
};
|
|
1517
|
-
return (_ctx, _cache) => {
|
|
1518
|
-
return unref(more).length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1519
|
-
createVNode(unref($), {
|
|
1520
|
-
class: "text-nowrap w-full md:w-fit min-w-[140px]",
|
|
1521
|
-
outlined: "",
|
|
1522
|
-
onClick: toggle,
|
|
1523
|
-
"data-test": "order-pages-more-button"
|
|
1524
|
-
}, {
|
|
1525
|
-
default: withCtx(() => [
|
|
1526
|
-
createBaseVNode("div", _hoisted_1$2, [
|
|
1527
|
-
createBaseVNode("span", null, toDisplayString(unref(t)("orders.filter.presets.options.button")), 1),
|
|
1528
|
-
createVNode(unref(_), { icon: "arrow_drop_down" })
|
|
1529
|
-
])
|
|
1530
|
-
]),
|
|
1531
|
-
_: 1
|
|
1532
|
-
}),
|
|
1533
|
-
createVNode(unref(script$a), {
|
|
1534
|
-
ref_key: "menu",
|
|
1535
|
-
ref: menu,
|
|
1536
|
-
model: unref(more),
|
|
1537
|
-
popup: ""
|
|
1538
|
-
}, {
|
|
1539
|
-
item: withCtx(({ item }) => [
|
|
1540
|
-
item.href ? (openBlock(), createElementBlock("a", {
|
|
1541
|
-
key: 0,
|
|
1542
|
-
href: item.href,
|
|
1543
|
-
class: "px-4 py-3 flex min-w-[220px]",
|
|
1544
|
-
"data-test": `order-pages-more-item-${item.label}`
|
|
1545
|
-
}, toDisplayString(unref(t)(typeof item.label === "string" ? item.label : "")), 9, _hoisted_2$2)) : item.filter ? (openBlock(), createElementBlock("a", {
|
|
1546
|
-
key: 1,
|
|
1547
|
-
class: "px-4 py-3 flex min-w-[220px] cursor-pointer",
|
|
1548
|
-
"data-test": `order-pages-more-item-${item.label}`,
|
|
1549
|
-
onClick: ($event) => handleFilterClick(item.filter)
|
|
1550
|
-
}, toDisplayString(unref(t)(typeof item.label === "string" ? item.label : "")), 9, _hoisted_3)) : createCommentVNode("", true)
|
|
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
|
-
};
|