{"version":3,"sources":["utils/History.js","hooks/react-auth0-spa.js","components/session/PrivateRoute.js","components/session/Login.js","components/session/Logout.js","api/AxiosConfig.js","api/userBalanceData.js","api/WarehouseShippingAPI.js","context/dataContext.jsx","context/QuoteDataContext.jsx","context/CountriesContext.jsx","components/template/NavbarRoutes.js","utils/SetRoutes.js","components/template/Header.js","utils/PirceFormatter.js","components/template/CustomAppBar.js","pages/dashboard/TopCards.js","pages/dashboard/ProductsOutOfStock.js","components/CustomLineChart.js","pages/dashboard/ProductsSelledCurrentMonth.js","pages/home.js","pages/Index.js","components/tables/CustonTabs.js","hooks/useToggle.js","components/tables/Table.js","api/ProductAPI.js","pages/products/ColumnActions.js","pages/warehouseProducts/ColumnActions.js","pages/updateProducts/ColumnsActionsUpdateProducts.js","pages/updateProducts/DetailsChanges.js","utils/States.js","pages/warehouseShipping/ColumnActions.js","pages/manualDispatch/SelectedProducts.js","pages/manualDispatch/FlexibleSelectedProductsByIntegration.js","components/generals/Loader.jsx","pages/manualDispatch/StrictSelectedProductsByIntegration.js","pages/quoter/containers/LottieContainer.jsx","pages/quoter/containers/CardContainer.jsx","pages/quoter/containers/InputContainer.jsx","images/countriesFlags/afghanistan.svg","images/countriesFlags/aland-islands.svg","images/countriesFlags/albania.svg","images/countriesFlags/algeria.svg","images/countriesFlags/american-samoa.svg","images/countriesFlags/andorra.svg","images/countriesFlags/angola.svg","images/countriesFlags/anguilla.svg","images/countriesFlags/argentina.svg","images/countriesFlags/armenia.svg","images/countriesFlags/aruba.svg","images/countriesFlags/australia.svg","images/countriesFlags/austria.svg","images/countriesFlags/azerbaijan.svg","images/countriesFlags/bahamas.svg","images/countriesFlags/bahrain.svg","images/countriesFlags/bangladesh.svg","images/countriesFlags/barbados.svg","images/countriesFlags/belarus.svg","images/countriesFlags/belgium.svg","images/countriesFlags/belize.svg","images/countriesFlags/benin.svg","images/countriesFlags/bermuda.svg","images/countriesFlags/bhutan.svg","images/countriesFlags/bolivia.svg","images/countriesFlags/bosnia.svg","images/countriesFlags/botswana.svg","images/countriesFlags/brazil.svg","images/countriesFlags/british-indian-ocean-territory.svg","images/countriesFlags/brunei.svg","images/countriesFlags/bulgaria.svg","images/countriesFlags/burkina-faso.svg","images/countriesFlags/burundi.svg","images/countriesFlags/cambodia.svg","images/countriesFlags/cameroon.svg","images/countriesFlags/canada.svg","images/countriesFlags/cape-verde.svg","images/countriesFlags/cayman-islands.svg","images/countriesFlags/central-african-republic.svg","images/countriesFlags/chad.svg","images/countriesFlags/chile.svg","images/countriesFlags/china.svg","images/countriesFlags/christmas-island.svg","images/countriesFlags/cocos-island.svg","images/countriesFlags/colombia.svg","images/countriesFlags/comoros.svg","images/countriesFlags/congo.svg","images/countriesFlags/cook-islands.svg","images/countriesFlags/costa-rica.svg","images/countriesFlags/croatia.svg","images/countriesFlags/cuba.svg","images/countriesFlags/cyprus.svg","images/countriesFlags/czech-republic.svg","images/countriesFlags/denmark.svg","images/countriesFlags/djibouti.svg","images/countriesFlags/dominica.svg","images/countriesFlags/dominican-republic.svg","images/countriesFlags/ecuador.svg","images/countriesFlags/egypt.svg","images/countriesFlags/salvador.svg","images/countriesFlags/equatorial-guinea.svg","images/countriesFlags/eritrea.svg","images/countriesFlags/estonia.svg","images/countriesFlags/ethiopia.svg","images/countriesFlags/falkland-islands.svg","images/countriesFlags/faroe-islands.svg","images/countriesFlags/fiji.svg","images/countriesFlags/finland.svg","images/countriesFlags/france.svg","images/countriesFlags/french-polynesia.svg","images/countriesFlags/gabon.svg","images/countriesFlags/gambia.svg","images/countriesFlags/georgia.svg","images/countriesFlags/germany.svg","images/countriesFlags/ghana.svg","images/countriesFlags/gibraltar.svg","images/countriesFlags/greece.svg","images/countriesFlags/greenland.svg","images/countriesFlags/grenada.svg","images/countriesFlags/guam.svg","images/countriesFlags/guatemala.svg","images/countriesFlags/guernsey.svg","images/countriesFlags/guinea.svg","images/countriesFlags/guyana.svg","images/countriesFlags/haiti.svg","images/countriesFlags/honduras.svg","images/countriesFlags/hong-kong.svg","images/countriesFlags/hungary.svg","images/countriesFlags/iceland.svg","images/countriesFlags/india.svg","images/countriesFlags/indonesia.svg","images/countriesFlags/iran.svg","images/countriesFlags/iraq.svg","images/countriesFlags/ireland.svg","images/countriesFlags/isle-of-man.svg","images/countriesFlags/israel.svg","images/countriesFlags/italy.svg","images/countriesFlags/jamaica.svg","images/countriesFlags/japan.svg","images/countriesFlags/jersey.svg","images/countriesFlags/jordan.svg","images/countriesFlags/kazakhstan.svg","images/countriesFlags/kenya.svg","images/countriesFlags/kiribati.svg","images/countriesFlags/north-korea.svg","images/countriesFlags/south-korea.svg","images/countriesFlags/kuwait.svg","images/countriesFlags/kyrgyzstan.svg","images/countriesFlags/laos.svg","images/countriesFlags/latvia.svg","images/countriesFlags/lebanon.svg","images/countriesFlags/lesotho.svg","images/countriesFlags/liberia.svg","images/countriesFlags/libya.svg","images/countriesFlags/liechtenstein.svg","images/countriesFlags/lithuania.svg","images/countriesFlags/luxembourg.svg","images/countriesFlags/macao.svg","images/countriesFlags/republic-of-macedonia.svg","images/countriesFlags/madagascar.svg","images/countriesFlags/malawi.svg","images/countriesFlags/malaysia.svg","images/countriesFlags/maldives.svg","images/countriesFlags/mali.svg","images/countriesFlags/malta.svg","images/countriesFlags/marshall-island.svg","images/countriesFlags/martinique.svg","images/countriesFlags/mauritania.svg","images/countriesFlags/mauritius.svg","images/countriesFlags/mexico.svg","images/countriesFlags/micronesia.svg","images/countriesFlags/moldova.svg","images/countriesFlags/monaco.svg","images/countriesFlags/mongolia.svg","images/countriesFlags/montserrat.svg","images/countriesFlags/morocco.svg","images/countriesFlags/mozambique.svg","images/countriesFlags/myanmar.svg","images/countriesFlags/namibia.svg","images/countriesFlags/nauru.svg","images/countriesFlags/nepal.svg","images/countriesFlags/netherlands.svg","pages/quoter/countrySettings/allCountries.js","images/countriesFlags/new-zealand.svg","images/countriesFlags/nicaragua.svg","images/countriesFlags/niger.svg","images/countriesFlags/nigeria.svg","images/countriesFlags/niue.svg","images/countriesFlags/norfolk-island.svg","images/countriesFlags/northern-marianas-islands.svg","images/countriesFlags/norway.svg","images/countriesFlags/oman.svg","images/countriesFlags/pakistan.svg","images/countriesFlags/palau.svg","images/countriesFlags/palestine.svg","images/countriesFlags/panama.svg","images/countriesFlags/papua-new-guinea.svg","images/countriesFlags/paraguay.svg","images/countriesFlags/peru.svg","images/countriesFlags/philippines.svg","images/countriesFlags/pitcairn-islands.svg","images/countriesFlags/republic-of-poland.svg","images/countriesFlags/portugal.svg","images/countriesFlags/puerto-rico.svg","images/countriesFlags/qatar.svg","images/countriesFlags/romania.svg","images/countriesFlags/russia.svg","images/countriesFlags/rwanda.svg","images/countriesFlags/saint-kitts-and-nevis.svg","images/countriesFlags/st-lucia.svg","images/countriesFlags/st-vincent-and-the-grenadines.svg","images/countriesFlags/samoa.svg","images/countriesFlags/san-marino.svg","images/countriesFlags/sao-tome-and-principe.svg","images/countriesFlags/saudi-arabia.svg","images/countriesFlags/senegal.svg","images/countriesFlags/serbia.svg","images/countriesFlags/seychelles.svg","images/countriesFlags/sierra-leone.svg","images/countriesFlags/singapore.svg","images/countriesFlags/slovakia.svg","images/countriesFlags/slovenia.svg","images/countriesFlags/solomon-islands.svg","images/countriesFlags/somalia.svg","images/countriesFlags/south-africa.svg","images/countriesFlags/spain.svg","images/countriesFlags/sri-lanka.svg","images/countriesFlags/sudan.svg","images/countriesFlags/suriname.svg","images/countriesFlags/swaziland.svg","images/countriesFlags/sweden.svg","images/countriesFlags/switzerland.svg","images/countriesFlags/syria.svg","images/countriesFlags/taiwan.svg","images/countriesFlags/tajikistan.svg","images/countriesFlags/tanzania.svg","images/countriesFlags/thailand.svg","images/countriesFlags/togo.svg","images/countriesFlags/tokelau.svg","images/countriesFlags/tonga.svg","images/countriesFlags/trinidad-and-tobago.svg","images/countriesFlags/tunisia.svg","images/countriesFlags/turkey.svg","images/countriesFlags/turkmenistan.svg","images/countriesFlags/turks-and-caicos.svg","images/countriesFlags/tuvalu.svg","images/countriesFlags/uganda.svg","images/countriesFlags/ukraine.svg","images/countriesFlags/united-arab-emirates.svg","images/countriesFlags/united-kingdom.svg","images/countriesFlags/united-states-of-america.svg","images/countriesFlags/uruguay.svg","images/countriesFlags/uzbekistn.svg","images/countriesFlags/vanuatu.svg","images/countriesFlags/venezuela.svg","images/countriesFlags/vietnam.svg","images/countriesFlags/virgin-islands.svg","images/countriesFlags/wales.svg","images/countriesFlags/western-sahara.svg","images/countriesFlags/yemen.svg","images/countriesFlags/zambia.svg","images/countriesFlags/zimbabwe.svg","images/images/mexico.svg","images/images/peru.svg","images/images/colombia.svg","images/images/united-states-of-america.svg","images/images/canada.svg","pages/quoter/countrySettings/countriesSettings.js","pages/quoter/containers/InputCountriesContainer.jsx","pages/quoter/containers/ModalContainer.jsx","pages/quoter/utils/quote.js","pages/quoter/form/FillMultipackageForm.jsx","pages/quoter/steps/PostalCodeQuote.jsx","images/parcelLogos/estafeta.png","images/parcelLogos/redpack.png","images/parcelLogos/carssa.png","images/parcelLogos/quiken.png","images/parcelLogos/scm.png","images/parcelLogos/ampm.png","images/parcelLogos/sendex.png","images/parcelLogos/dhl.png","images/parcelLogos/ivoy.png","images/parcelLogos/fedex.png","images/parcelLogos/mensajerosUrbanos.png","images/parcelLogos/noventa9minutos.png","images/parcelLogos/paquetexpress.png","images/parcelLogos/uber.png","images/parcelLogos/testDrenvio.png","images/parcelLogos/ups.png","images/parcelLogos/coordinadora.png","images/parcelLogos/Interrapidisimo-Gris.png","images/parcelLogos/redServi.png","images/parcelLogos/serviEntrega.png","images/parcelLogos/Deprisa-Morado.png","images/parcelLogos/Interrapidisimo-Morado.png","images/parcelLogos/interrapidisimo-logo.png","images/parcelLogos/Inter-Rapidisimo.png","images/parcelLogos/aExpress.png","images/parcelLogos/jtexpress.png","images/parcelLogos/borzo.png","images/parcelLogos/tresguerras.png","images/parcelLogos/treggo.png","images/parcelLogos/pickit.png","images/parcelLogos/moova.png","images/parcelLogos/olva.png","images/parcelLogos/nirex.png","images/parcelLogos/enviaco.png","images/parcelLogos/picap.png","images/parcelDashboard/estafeta.webp","images/parcelDashboard/redpack.webp","images/parcelDashboard/carssa.webp","images/parcelDashboard/quiken.webp","images/parcelDashboard/scm.webp","images/parcelDashboard/ampm.webp","images/parcelDashboard/sendex.webp","images/parcelDashboard/dhl.webp","images/parcelDashboard/ivoy.webp","images/parcelDashboard/fedex.webp","images/parcelDashboard/mensajerosUrbanos.webp","images/parcelDashboard/noventa9minutos.webp","images/parcelDashboard/paquetexpress.webp","images/parcelDashboard/uber.webp","images/parcelDashboard/ups.webp","images/parcelDashboard/jtexpress.webp","images/parcelDashboard/borzo.webp","images/parcelDashboard/tresguerras.webp","images/parcelDashboard/RedSErvi.png","images/parcelDashboard/aexpress.png","images/parcelDashboard/coordina.png","images/parcelDashboard/servientrega.png","images/parcelDashboard/interrapidisimo.png","images/parcelDashboard/treggo.webp","images/parcelDashboard/moova.webp","images/parcelDashboard/olva.webp","images/parcelDashboard/nirex.webp","images/parcelDashboard/enviaco.webp","images/parcelDashboard/picap.webp","pages/quoter/countrySettings/allParcels.js","images/parcelDashboard/pickit.png","pages/quoter/containers/CardContraEntregaContainer.jsx","pages/quoter/components/LoadingAnimation.jsx","pages/quoter/components/Tips.jsx","pages/quoter/utils/userRoles.js","pages/quoter/utils/quoteMessages.js","pages/quoter/steps/SelectFavParcel.jsx","pages/quoter/steps/FillGuideInfoForm.jsx","api/OutboundShipmentsAPI.js","pages/quoter/steps/GuideSuccesScreen.js","pages/quoter/Quotes.jsx","pages/manualDispatch/RateModal.js","pages/tracking/InfoMovements.js","components/tables/schemaColumn.js","components/tables/schemaDownload.js","components/generals/ProductSelector.jsx","pages/products/ActiveProducts.js","pages/products/InactiveProducts.js","pages/integrationsDispatch/integrations-array.js","pages/products/IntegrationStock/Mercadolibre.js","pages/products/IntegrationStock/CustomWarehouse/CustomWarehouse.js","pages/products/IntegrationStock/SelectIntegration.js","pages/products/Index.js","pages/products/Edit.js","pages/products/Create.js","pages/warehouseShipping/WarehouseShipments.js","pages/warehouseShipping/Index.js","pages/warehouseShipping/Info.js","pages/warehouseShipping/Create.js","pages/warehouseReceive/Index.js","api/WarehouseOutputAPI.js","pages/warehouseOutput/Scan.js","pages/warehouseOutput/Index.js","pages/manualDispatch/Index.js","pages/outboundShipments/createOutboundShipments.jsx","pages/outboundShipments/outboundShipmentDetail.jsx","pages/warehouseProducts/ActiveProductsAdmin.js","pages/warehouseProducts/InactiveProductsAdmin.js","pages/warehouseProducts/Index.js","pages/updateProducts/index.js","pages/tracking/Index.js","pages/outboundShipments/OutboundShipments.jsx","pages/outboundShipments/index.jsx","pages/testSection/BarcodeScanner.js","pages/testSection/index.js","pages/products/CreateWithXLSX.js","pages/statistics/TopCards.js","pages/statistics/Graph.js","pages/statistics/GraphList.js","pages/statistics/ProductStatistics.js","pages/statistics/WarehouseShipmentStatistics.js","pages/statistics/OutboundShipmentStatistics.js","pages/statistics/index.js","images/StoreLogos/WixStores.png.webp","images/StoreLogos/MercadoLibre.png","images/StoreLogos/TiendaNube.png.webp","images/StoreLogos/ebayLogo.png","images/StoreLogos/amazonLogo.webp","images/StoreLogos/WooCommerce.png","images/StoreLogos/Shopify.png","utils/StoreLogos.js","pages/integrationsDispatch/Customers.js","pages/integrationsDispatch/CustomerOrders.js","pages/integrationsDispatch/index.js","pages/products/config/CustomFields.js","pages/products/config/CustomStock.js","pages/products/config/ConfigProducts.js","pages/integrationsDispatch/IntegrationAuthPage.js","App.js","reportWebVitals.js","index.js"],"names":["createBrowserHistory","DEFAULT_REDIRECT_CALLBACK","window","history","replaceState","document","title","location","pathname","Auth0Context","createContext","useAuth0","useContext","Auth0Provider","_ref","children","onRedirecrCallback","initOptions","isAuthenticated","setIsAuthenticated","useState","user","setUser","auth0Client","setAuth0Client","loading","setLoading","popupOpen","setPopupOpen","useEffect","async","auth0FromHook","createAuth0Client","URLSearchParams","search","get","cookies","cookie","split","i","length","name","appState","handleRedirectCallback","error","getUser","role","initAuth0","_jsx","Provider","value","loginWithPopup","params","arguments","undefined","console","getIdTokenClaims","_len","p","Array","_key","loginWithRedirect","_len2","_key2","getTokenWithPopup","_len3","_key3","getTokenSilently","_len4","_key4","logout","_len5","_key5","PrivateRoute","component","Component","path","rest","targetUrl","fn","Route","render","props","Login","_Fragment","_jsxs","Button","onClick","mode","Logout","axiosBase","axios","create","baseURL","GetAllUsers","token","filterByColumns","res","post","headers","Authorization","log","data","err","ActionsCustomWarehouses","request","GetShippmentByCode","codigoEnvio","DataContext","DataContextProvider","isLoading","setIsLoading","userWarehouses","setUserWarehouses","productType","setProductType","inventoryId","setInventoryId","setData","userBalanceData","wareHouseShipmentData","outboundShipmentDetail","updateData","getUserData","ValidateAuth","sub","response","FetchUserInfo","success","balance","userInfo","dataFetcher","GetAllShipments","getCustomerWarehouses","GetUserWarehouses","alert","initialQuoteState","PackageData","PackageArray","AddressData","OriginData","DestinyData","FetchedParcelsArray","QuoteDataContext","quoteData","QuoteDataContextProvider","setQuoteData","shipmentTypeSelected","setShipmentTypeSelected","commercialInvoice","setCommercialInvoice","quoteStep","setQuoteStep","label","setLabel","waitingGuide","setQWaitingGuide","customerIntegrationData","setCustomerIntegrationData","previousQuoteStep","setPreviousQuoteStep","setQuoteStepTransition","stepSelected","setTimeout","tl","anime","timeline","targets","duration","easing","add","opacity","resetQuoteStepTransition","initialSelectedData","Name","SvgFlag","Currency","Language","PhoneExtension","PostalCodesLength","AllowedParcels","StoreTabImages","TopUpRechargeComponents","CountriesContext","initialSelectedCountry","CountriesContextProvider","currentSelectedCountry","setCurrentSelectedCountry","currentCountrySelectedData","setCurrentCountrySelectedData","formatPrice","price","Intl","NumberFormat","format","NavbarRoutes","Products","route","type","description","icon","BarcodeOutlined","WarehouseShipment","ShoppingCartOutlined","OutboundShipment","SendOutlined","WarehouseReceive","ScanOutlined","WarehouseOutput","TruckOutlined","WarehouseProducts","ProductOutlined","RequestUpdateProducts","EditOutlined","Movements","HistoryOutlined","SetRoutes","routes","useLocation","setTitle","setDescription","Object","values","push","includes","_route","__route__","find","r","Header","Title","Typography","level","style","margin","color","formatearPrecio","precio","currency","CustomAppBar","_formatearPrecio","Content","Footer","Sider","Layout","width","height","breakpoint","collapsedWidth","onBreakpoint","broken","onCollapse","collapsed","Menu","padding","zIndex","display","placeItems","alt","src","Item","HomeOutlined","Link","to","map","section","_data$userInfo","_data$userInfo2","roles","SubMenu","item","className","boxShadow","alignItems","justifyContent","fontSize","userSelect","HeaderRoutes","LoadingOutlined","Tooltip","cursor","borderRadius","fontWeight","border","CircularProgress","size","LogoutOutlined","danger","marginLeft","overflowY","textAlign","Date","getFullYear","TopCards","_shipmentsToday$shipm","_shipmentsCurrentMont","shipmentsToday","setShipmentsToday","shipmentsCurrentMonth","setShipmentsCurrentMonth","productsSentThisMonth","setProductsSentThisMonth","reduce","acc","current","count","getProductsSentCurrentMonth","responseShipmentsToday","responseShipmentsCurrentMonth","fetchData","Row","gutter","Col","xs","sm","md","lg","Card","background","shipmentsThisMonth","ProductsOutOfStock","span","maxHeight","marginTop","_item$SKUCliente","_item$Nombre","_item$CantidadEnInven","quantity","React","Fragment","SKUCliente","Nombre","CantidadEnInventario","marginRight","CustomLineChart","horizontal","serieName","options","chart","stacked","plotOptions","bar","series","dataChart","Data","filter","_id","charts","x","toUpperCase","y","Chart","ProductsSelledCurrentMonth","Home","Index","styles","backgroundColor","CustonTabs","tabs","Tabs","rootClassName","index","TabPane","tab","useToggle","initialValue","state","setState","toggle","CustomTable","columns","config","isShipments","filters","stateValues","onChangePage","onChangeRowsPerPage","total","optionalContent","tableType","noFormattedDate","reload","toggleFiltersModal","isButtonLoading","setIsButtonLoading","searchInputText","setSearchInputText","beforeDownload","fileType","downloadExcel","formatedData","worksheet","XLSX","json_to_sheet","workbook","book_new","book_append_sheet","bookType","tempFilters","handleStateFilterByColumns","country","currentPage","searchText","Search","Input","Table","scroll","pagination","pageSize","rowsPerPages","pageSizeOptions","onChange","page","handleTableChange","disableExport","flexDirection","ProfileOutlined","disableFilters","placeholder","e","target","onSearch","filterBySearchText","ReloadOutlined","dataSource","rowSelection","selection","GetAllProductsByAuthId","authId","CreateMassiveProducts","products","productsArray","getCustomFields","userId","ColumnActions","handleReload","openModal","setOpenModal","updateValue","setUpdateValue","thermalPrintModal","setThermalPrintModal","IpValue","setIpValue","allData","History","useHistory","useAlert","Box","Grid","container","PrintIcon","ReceiptIcon","EditIcon","Popconfirm","onConfirm","_response$data","t","VisibilityCustomWarehouses","SKUFulfillment","UsuarioId","_response$data$error","status","message","rta","SkuFulfillment","delete","DeleteProduct","_rta$error","code","okText","cancelText","DeleteIcon","Modal","open","onCancel","footer","InputLabel","product","info","shortId","slice","canvas","createElement","bwipjs","toCanvas","bcid","text","scale","includetext","imgData","toDataURL","pdf","jsPDF","pageWidth","internal","pageHeight","spacing","codeWidth","codeHeight","codesPerRow","codesPerPage","addPage","Math","floor","setFontSize","setDrawColor","setLineWidth","rect","addImage","setFont","align","Largo","Ancho","Altura","save","generateBarCode","imageData","ip","generateBarCodeForThermalPrinter","initialState","Descripcion","refetch","openModalEdit","setOpenModalEdit","openTypeModal","setOpenTypeModal","updateValueEdit","setUpdateValueEdit","setType","updateInventoryQty","productId","newValue","userToken","Number","put","UpdateQTYProduct","openModalByType","_data$Nombre","_data$Descripcion","_data$SKUCliente","centered","Badge","ColumnActionsUpdateProducts","disabled","setDisabled","handleRequest","approved","_data$error","DetailsChanges","requestDate","setRequestDate","before","setBefore","after","setAfter","Tracking","Revised","Before","After","InfoIcon","toLocaleString","Fotografia","PesoKG","ValorMercancia","imgStye","icons","Pendiente","ReportProblemOutlinedIcon","Procesado","CheckCircleOutlinedIcon","Enviado","SendOutlinedIcon","Recibido","InboxOutlinedIcon","Programado","EventOutlinedIcon","Cancelado","ClearIcon","Modificacion","Edit","Venta","DollarCircleOutlined","WarehouseShipmentStates","OutboundShipmentStates","MovementsStates","IntegrationShipmentStatus","Tag","MercadoLibreStates","setIsRefetching","cancelWarehouseShipment","shipmentId","CancelWarehouseShipment","Summarize","wrShipment","EnvioId","wr","totalProducts","InfoEnvioProductos","totalUnits","acum","CantidadEnviada","startY","setFillColor","line","detailsStartY","forEach","yPosition","Producto","generateSummary","textxalign","textsize","imageX","imageY","imageWidth","imageHeight","Codigo","Guia","Proveedor","Numero","initialStateProduct","Cantidad","useStyles","makeStyles","theme","textField","textFieldSmall","SelectedProducts","handleShipment","handleStep","saveData","classes","searchProduct","setSearchProduct","shipment","setShipment","setProduct","setProducts","errorMessage","setErrorMessage","onChangeInputProduct","currentProduct","updatedProduct","saveProducts","_saveData$productsDat","_saveData$productsDat2","_saveData$productsDat3","productsData","active","getUserProducts","CardContent","autoComplete","onSubmit","preventDefault","productFound","productToSave","FormControl","variant","fullWidth","required","AutoComplete","allowClear","filterOption","inputValue","option","indexOf","onClear","onSelect","chosenProduct","TextField","inputProps","min","justify","Text","mt","TableContainer","Paper","TableHead","TableRow","TableCell","TableBody","id","CloseOutlined","onDeleteProduct","minHeight","overflow","integrationCard","radio","itemRadio","skuCliente","containerMainInfo","borderColor","marginBottom","containerInfo","verticalAlign","FlexibleSelectedProductsByIntegration","_integrationOrder$ord","_integrationOrder$ord2","_integrationOrder$ord4","integrationOrder","alertMessage","setAlertMessage","integrationProducts","setIntegrationProducts","selectedIntegrationProducts","setSelectedIntegrationProducts","quantityIntegrationProducts","orderData","product_items","_integrationOrder$ord3","selectedProduct","Info","order_number","Result","dataIndex","Radio","checked","_item$id","List","grid","renderItem","_foundProduct$Fotogra","foundProduct","img","Avatar","Loader","Spin","validations","gap","validationsItem","validationsItemTitle","button","StrictSelectedProductsByIntegration","currentProducts","setCurrentProducts","validation","setValidation","_data$res","productsIntegrationIds","integrationProduct","fetchedProducts","productsFetchIds","currentProductIntegration","drevfill","integration","quantityMatch","hasInvalidItem","some","getProducts","_item$integration2","_item$drevfill$Fotogr","_item$drevfill3","_item$drevfill$Nombre","_item$drevfill4","_item$integration3","_item$integration4","avatar","Meta","CheckCircleFilled","CloseCircleFilled","handleSubmit","formatedProducts","_item$drevfill","_item$integration","_item$drevfill2","LottieContainer","lottieSelected","lottieSpeed","lottieState","lottieOptions","lottieStyle","lottieTrigger","animationData","loop","autoplay","initialSegment","Lottie","useLottie","setSpeed","play","pause","playSegments","View","CardContainer","CardContainerProps","_CardContainerProps$i","_CardContainerProps$i2","_CardContainerProps$i3","ItemsStyling","iconOrImg","contrastColor","iconOrImgStyle","titleStyle","subtitle","subtitleStyle","cardComponentsCount","setCardComponentsCount","totalCount","isArray","textList","hoverEffect","onMouseEnter","onHover","containerStyle","position","cardStyle","itemsSpacing","itemsOrder","_CardContainerProps$i4","direction","responsiveText","column","textListDecoration","RightCircleOutlined","RightSquareOutlined","textListStyle","entries","entry","key","InputContainer","Option","Select","restProps","showCount","getComponent","_inputProps$counters5","_inputProps$counters6","Form","valueContainerName","hasFeedback","noFeedback","rules","pattern","regexpPattern","validator","_","inputName","_inputProps$counters","_inputProps$counters2","toString","counters","Promise","reject","Error","_inputProps$counters3","_inputProps$counters4","AntInput","Password","iconRender","visible","EyeTwoTone","EyeInvisibleOutlined","suffix","prefix","InputNumber","defaultValue","addonAfter","controls","parser","formatter","maxLength","max","valuePropName","noStyle","Checkbox","Group","optionsList","buttonType","block","ghost","htmlType","shape","iconOrReactElement","multiple","showSearch","canSearch","clearIcon","right","bottom","secondIcon","addonBefore","allCountries","svgFlag","AF_flag","numExt","AX_flag","AL_flag","DZ_flag","AS_flag","AD_flag","AO_flag","AI_flag","AR_flag","AM_flag","AW_flag","AU_flag","AT_flag","AZ_flag","BS_flag","BH_flag","BD_flag","BB_flag","BY_flag","BE_flag","BZ_flag","BJ_flag","BM_flag","BT_flag","BO_flag","BA_flag","BW_flag","BR_flag","IO_flag","BN_flag","BG_flag","BF_flag","BI_flag","KH_flag","CM_flag","CA_flag","CV_flag","KY_flag","CF_flag","TD_flag","CL_flag","CN_flag","CX_flag","CC_flag","CO_flag","KM_flag","CG_flag","CD_flag","CK_flag","CR_flag","HR_flag","CU_flag","CY_flag","CZ_flag","DK_flag","DJ_flag","DM_flag","DO_flag","EC_flag","EG_flag","SV_flag","GQ_flag","ER_flag","EE_flag","ET_flag","FK_flag","FO_flag","FJ_flag","FI_flag","FR_flag","PF_flag","GA_flag","GM_flag","GE_flag","DE_flag","GH_flag","GI_flag","GR_flag","GL_flag","GD_flag","GU_flag","GT_flag","GG_flag","GN_flag","GW_flag","GY_flag","HT_flag","HN_flag","HK_flag","HU_flag","IS_flag","IN_flag","ID_flag","IR_flag","IQ_flag","IE_flag","IM_flag","IL_flag","IT_flag","JM_flag","JP_flag","JE_flag","JO_flag","KZ_flag","KE_flag","KI_flag","KP_flag","KR_flag","KW_flag","KG_flag","LA_flag","LV_flag","LB_flag","LS_flag","LR_flag","LY_flag","LI_flag","LT_flag","LU_flag","MO_flag","MK_flag","MG_flag","MW_flag","MY_flag","MV_flag","ML_flag","MT_flag","MH_flag","MQ_flag","MR_flag","MU_flag","MX_flag","FM_flag","MD_flag","MC_flag","MN_flag","MS_flag","MA_flag","MZ_flag","MM_flag","NA_flag","NR_flag","NP_flag","NL_flag","AN_flag","CountriesSettings","Map","set","MexicoSvg","FormExtraFields","PeruSvg","ColombiaSvg","USSvg","CanadaSvg","MapableCountriesSettings","countryData","InputCountriesContainer","inputTypingTimer","countrySelected","setCountrySelected","initialCountry2DigitCode","fetchedStates","setFetchedStates","fetchedDirections","setFetchedDirections","fullData","optimizedData","fetchedPostalCodes","setFetchedPostalCodes","zip_code","locality","suburbs","coordinates","regions","fetchedFavoriteAddresses","setFetchedFavoriteAddresses","drawerState","setDrawerState","innerListsState","setInnerListsState","postalCodes","userAddresses","onlyCp","setOnlyCp","inputedText","setInputedText","optionSelected","setOptionSelected","loadingStates","setLoadingStates","userFavoriteAddresses","selectedValue","setSelectedValue","clearPostalCodeInput","userFormHook","setFieldsValue","initialPostalCode","_inputProps$userFormH","onPostalCodeChange","postalCode","entireString","addressType","onSelected","_postalCode","_postalCode$toString","_postalCode$split$","replace","prevLoadingStates","postalCodeDataSave","trim","isNaN","then","_postalCode$split$2","fetchedData","optimizedFetchedData","addressDirection","adminName1","region_1","adminName2","region_2","placeName","postalcode","selectValue","idValue","additionalInfo","matchingAddress","catch","finally","fetchPostalCodes","_wordToFilter$split$","wordToFilterDataSave","wordToFilter","_wordToFilter$split$2","fetchedAddresses","optimizedFetchedAddresses","postal_code","city","address","fetchUserAddresses","optimizedFetchedFavoriteAddresses","fetchUserfavoriteAddress","_inputProps$userFormH2","selectedAddressType","selectedAddresID","entireObjectData","_address$_id","_address$_id2","notification","entireObject","_inputProps$userFormH3","fetchCountryStates","containerRef","useRef","handleClickOutside","event","contains","addEventListener","removeEventListener","PostalCodeItem","handleItemClick","xl","xxl","dropdownMatchSelectWidth","_inputProps$userFormH4","countryResult","onCountryChange","input","toLowerCase","textPlaceHolder","enterButton","SearchOutlined","pointerEvents","clearTimeout","ref","prevListsState","UpCircleOutlined","transition","transform","NumberOutlined","flex","_ref2","disabledState","_state$code_3_digits","code_2_digits","code_3_digits","substring","modalSizes","modalHeight","modalHeader","modalContent","ModalContainer","modalContainerProps","customWidth","onOk","okType","body","generateUUID","d","getTime","c","random","FillMultipackageForm","modalIsOpen","setModalIsOpen","multipaq","setMultipaq","form","useForm","SwitchShipmentType","getFieldValue","TransitionShipmentType","Active","Saved","Height","Length","Width","Weight","okButtonProps","placement","cancelButtonProps","savePackages","el","QuestionCircleOutlined","SaveOutlined","Alert","showIcon","pack","MultipackageForm","selectedContainer","setSelectedContainer","insuranceActive","setInsuranceActive","savedPackageSelected","setSavedPackageSelected","packagesSaved","setPackagesSaved","savepack","setSavePack","getUserPackages","OriginPCSelectedCountry","onFinish","newPackages","Container","onFinishFailed","initialValues","top","LockLottie","DeleteOutlined","resetFields","packageName","packageContent","packageSaved","content","weight","gridGap","newMultipack","PlusCircleOutlined","defaultOriginPC","PostalCodeQuote","initAddressData","destinationData","outboundData","setOutboundData","IntegrationCompletePC","useMemo","_integrationOrder$shi","shipping_address","customer_details","first_name","IntegrationCompleteOriginPC","_integrationOrder$ori","_integrationOrder$mer","_integrationOrder$ori2","origin_address","merchant_details","AddressCompleteOriginPC","Destiny","AddressCompleteDestinyPC","Origin","userData","volumetricWeight","setVolumetricWeight","contraEntregaActive","setContraEntregaActive","setInitialState","isInternational","setIsInternational","storeExtraData","setStoreExtraData","district","savedAddress","setSavedAddress","destiny","origin","onSave","mapKey","CheckVolumetricWeight","VolumetricWeight","toFixed","result","_integrationOrder$shi2","_destinationData$post","_quoteData$PackageArr","_quoteData$PackageArr2","_quoteData$PackageArr3","_quoteData$PackageArr4","destinyData","NationalLottie","InternationalLottie","PalletLottie","ContraEntregaLottie","ListLottie","_savedAddress$destiny","_savedAddress$destiny2","PostalCodeComplete","DestinyPCSelectedCountry","_savedAddress$origin$","_savedAddress$destiny3","email","phone","company","int_number","number","street","reference","_savedAddress$origin$2","_savedAddress$origin$3","_savedAddress$origin$4","_savedAddress$origin$5","_savedAddress$origin$6","_savedAddress$origin$7","_savedAddress$origin$8","_savedAddress$origin$9","_savedAddress$origin$10","_savedAddress$origin$11","_savedAddress$origin$12","_savedAddress$origin$13","_savedAddress$origin$14","_savedAddress$origin$15","_savedAddress$origin$16","_savedAddress$origin$17","_savedAddress$origin$18","_savedAddress$origin$19","full_name","province","neighborhood","insuranceValidation","Insurance","fetchedInputQuoteData","ShippingType","ContraEntrega","contraEntrega","errorInfo","showUserAddresses","borderBottom","deletePackagesArray","selectedPackage","_e$split$","_e$split$1$replace","alignContent","InfoCircleOutlined","handMoney","app_country","submit","parcel_map","test","fedex","sendex","dhl","ups","redpack","carssa","ivoy","scm","quiken","ampm","estafeta","noventa9Minutos","mensajerosUrbanos","uber","aExpress","coordinadora","interRapidisimo","redServi","serviEntrega","deprisa","vencedor","paquetexpress","jtexpress","borzo","interrapidisimo","tresguerras","treggo","pickit","moova","olva","nirex","envia","picap","parcel_comercial_name","allParcels","imgSrc","testDrenvio","activated","image","comercialName","dashboardImageSrc","fedexDashboard","dhlDashboard","estafetaDashboard","redpackDashboard","carssaDashboard","quikenDashboard","scmDashboard","sendexDashboard","ampmDashboard","ivoyDashboard","mensajerosUrbanosDashboard","noventa9minutos","noventa9minutosDashboard","paquetexpressDashboard","uberDashboard","upsDashboard","aexpressDashboard","coordinadoraDashboard","interrapidisimo_v2","redserviDashboard","servientregaDashboard","interrapidisimo2","interrapidisimoDashboard","jtexpressDashboard","borzoDashboard","treguerras","treguerrasDashboard","treggoDashboard","moovaDashboard","olvaDashboard","nirexDashboard","enviaco","enviacoDashboard","picapDashboard","allParcelsMapeable","languageData","CardContraEntregaContainer","LoadingAnimation","animationType","loadingText","fullPage","xmlns","fill","stroke","strokeWidth","strokeLinecap","strokeLinejoin","strokeDasharray","strokeDashoffset","LoadingGradient","letterSpacing","tips","Paragraph","userRoles","quoteErrorMessage","SelectFavParcel","_quoteData$FetchedPar","_userData$security","_quoteData$FetchedPar2","isIntegration","isMobile","isTablet","dataFetchingStatus","setDataFetchingStatus","apiCallResultString","setApiCallResultString","RandomTip","service","setFilterOption","textToFilter","setTextToFilter","filteredParcels","sort","a","b","priceABigger","priceBBigger","timeABigger","parseInt","days","timeBBigger","carrierACloser","carrier","carrierBCloser","priceCompared","parcelCompared","serviceCompared","timeCompared","currentParcelsData","userPreferences","_CountriesSettings$ge","OptimizedParcelsData","OptimizedMapeableParcelsData","parcelData","carriers","parcel","Dynamic","Mapeable","getPreferences","CarriersActivated","promises","_saveData$integration","destination","packages","declaredValue","Price","volumetric","insurance","metadata","integrations","profileId","CarriersFetched","prevData","msg","allSettled","QuoteApiPost","cleanup","security","vip","prevOption","SortDescendingOutlined","SortAscendingOutlined","ArrowDownOutlined","textDecoration","borderTop","borderLeft","borderRight","borderBottomLeftRadius","borderBottomRightRadius","paddingLeft","outline","paddingTop","paddingBottom","rowGap","_parcel$metadata$exte","_parcel$metadata$exte2","_parcel$metadata$exte3","_allParcels$get","_parcel$metadata","_parcel$metadata2","_parcel$metadata3","_parcel$metadata4","_allParcels$get2","_parcel$metadata7","_t","_parcel$metadata8","_parcel$service_id","_parcel$service_id2","_allParcels$get4","_parcel$carrier","traduction","parcelI18N","_parcel$days","extended_area","account_id","comision","ocurre","service_id","_allParcels$get3","_parcel$metadata5","_parcel$metadata6","ShippingID","ShippingId","Image","Time","Type","ObjectId","Service_Id","account_price","maxWidth","_quoteData$AddressDat","_quoteData$AddressDat2","_quoteData$AddressDat3","_quoteData$AddressDat4","_allParcels$get5","_parcel$metadata9","_parcel$metadata10","international_senders","AnalyticsLottie","ArrowLeftOutlined","InitialState","estadosMexico","FillGuideInfoForm","_quoteData$PackageDat","_quoteData$PackageDat2","_quoteData$PackageDat3","_quoteData$PackageDat4","_quoteData$PackageDat5","_quoteData$PackageDat6","handleResumen","setOptions","blockButton","setBlockButton","getSATProducts","param","formattedOptions","DESCRIPTION","PRODUCT_ID","handleSearch","useCallback","debounce","_quoteData$AddressDat5","_quoteData$AddressDat6","_quoteData$AddressDat7","_quoteData$AddressDat8","_quoteData$AddressDat9","_quoteData$AddressDat10","_quoteData$AddressDat11","_quoteData$AddressDat12","_quoteData$AddressDat13","_quoteData$AddressDat14","_quoteData$AddressDat15","_quoteData$AddressDat16","_quoteData$AddressDat17","_quoteData$AddressDat18","_quoteData$AddressDat19","_quoteData$AddressDat20","_quoteData$AddressDat21","_quoteData$AddressDat22","packageType","_e$company$trim","_e$company","_destinationData$envi","SATCode","envioId","Boolean","fulfillment_info","order","integrationInfo","quantityToSend","pckg","_response$data4","GenerateShippingGuide","_response$data2","_response$data3","errorMsg","join","_response$data5","_response$data5$data","href","minLength","_quoteData$PackageDat7","_product$Nombre","_product$CantidadEnvi","_product$Producto$sli","GuideSuccesScreen","handleStep3","updateOrdersData","CheckOutlined","Quotes","handleFinish","DestinationData","QuoteStepComponentsList","RateModal","customerData","isFlexible","Icon","setUserId","setToken","step","setStep","isFinish","setIsFinish","integrationData","setIntegrationData","handleModal","handleStep1","handleStep2","_customerData$ApiClie","_customerData$ApiClie2","ApiClientsV2","prod_token","ArrowRightOutlined","maskClosable","Steps","items","handleTransition","InfoMovements","contentType","_data$metadata","_data$metadata$packag","_pckg$volumetric","_data$metadata2","_data$metadata$tracki","_data$metadata3","_data$metadata4","_data$metadata5","_data$metadata6","_data$metadata6$packa","_data$metadata7","_data$metadata7$desti","_data$metadata8","_data$metadata8$desti","_data$metadata9","_data$metadata9$desti","_data$metadata10","_data$metadata10$dest","_data$metadata11","_data$metadata11$dest","_data$metadata12","_data$metadata12$dest","_data$metadata$destin","_data$metadata13","_data$metadata13$dest","_data$metadata$destin2","_data$metadata14","_data$metadata14$dest","_data$metadata$destin3","_data$metadata15","_data$metadata15$dest","_data$metadata17","_data$metadata18","_data$metadata18$newD","_data$metadata19","_data$metadata19$newD","_data$metadata20","_data$metadata20$newD","_data$metadata21","_data$metadata21$newD","_data$metadata22","_data$metadata$newDat","_data$metadata23","_data$metadata23$newD","_data$metadata$newDat2","_data$metadata24","_data$metadata24$newD","tracking","created_at","DownloadOutlined","_data$metadata16","newData","InfoTypeSwitch","productsColumns","customFields","productActivate","baseColumns","showSorterTooltip","sorter","lineBreak","rowData","_rowData$totalShipmen","totalShipmentsThisMonth","obj","formattedCustomFields","fieldName","CustomFields","ColumnActionsUserProducts","customWarehouseProductsColumns","warehouseProductsColumn","handleFecthing","_obj$user","_rowData$totalShipmen2","ColumnActionsAdminProducts","warehouseShipmentsColumns","_data$EnvioId","justifyItems","Estatus","FechaEnvio","FechaRecepcion","_data$Guia","_data$Guia2","_data$Guia3","ProveedorDeGuia","NumeroDeGuia","updateProducts","outboundShipments","_data$EnvioId2","VisibilityIcon","outboundShipmentsAdmin","_data$envioId","_data$email","estatus","fechaEnvio","usersByIntegration","setUserIntegrationData","onSaveIntegrationData","productsDownloads","warehouseShipmentsDownloads","_item$Guia","_item$Guia2","_item$Guia3","CodigoEnvio","manualDispatchDownloads","date","fulfill","createdAt","movementsDownloads","_item$customer$email","_item$customer","_item$type","_item$description","_item$metadata$before","_item$metadata","_item$metadata$after_","_item$metadata2","_item$user$email","_item$user","Cliente","customer","Tipo","Fecha","before_mod","after_mod","usersByIntegrationDownloads","_rowData$userIntegrat","_rowData$userIntegrat2","_rowData$name","_rowData$type","Usuario","userIntegrations","Email","outboundsDownloads","_item$EnvioId","ProductSelector","labelId","MenuItem","_shipment$InfoEnvioPr","shipmentIds","i2","_shipment$InfoEnvioPr2","currentProductExtended","_currentProductExtend","filterByColumnsFactory","isAdmin","searched","range","from","filter_values","ActiveProducts","_productsColumns","apiCustomFields","setApiCustomFields","massiveDownload","setMassiveDownload","setCurrentPage","setRowPerPages","setTotal","refetching","setSearchText","dataColumns","setDataColumns","setFilterByColumns","setReload","initRender","setInitRender","handleFecth","saveState","_data$data","getAllCustomFields","customFilters","row","schemaDownload","filterDownloads","isDownload","customFilterByColumns","handleMassiveDownloadModal","InactiveProducts","patch","ActivateProduct","_rowData$pictures$","_rowData$title","pictures","secure_url","_rowData$price","_rowData$currency_id","currency_id","Mercadolibre","filteredData","setFilteredData","hasMore","setHasMore","selectedStatus","setSelectedStatus","setPageSize","fetchMoreData","offset","limit","getStockByMercadolibre","exportToExcel","fileName","filtered","showSizeChanger","onShowSizeChange","handlePageSizeChange","handlePageChange","ceil","hideOnSinglePage","rowKey","record","WarehouseCustomProducts","_customWarehouseProdu","_ref3","SelectIntegration","CustomWarehouse","setTabs","switchTitle","userIntegrationCheck","_response$res","_response$res2","UserIntegrationCheck","hasIntegration","activeIntegrations","_int","prevState","Visible","numberValues","ProductEdit","Fotografia64","images","setImages","_productRes$CustomFie","productRes","GetProductBySKU","match","onChangeInput","onChangeCustomInput","gutterBottom","UpdateProductCustomWarehouses","UpdateProduct","elevation","InputProps","endAdornment","InputAdornment","VentaAmazon","VentaMeli","VentaEcommerce","Divider","textTransform","removeFotografia","ImageUploading","onChangeImage","imageList","addUpdateIndex","data_url","maxNumber","dataURLKey","acceptType","onImageUpload","onImageRemoveAll","onImageUpdate","onImageRemove","isDragging","dragProps","ProductCreate","productsOptions","setProductsOptions","loadingProducts","setLoadingProducts","drevfillProducts","setDrevfillProducts","selectedProducts","setSelectedProducts","getAllDrevfillProducts","columsProducts","deleteProduct","productName","CreateProduct","InventoryId","CreateCustomProductWarehouses","UpdatedAt","CreatedAt","_option$label","onCancelAdd","WarehouseShipments","_warehouseShipmentsCo","WarehouseShipmentsTabs","WarehouseShippingInfo","Dialog","showDialog","onClose","displayInfoDialog","DialogTitle","DialogContent","DialogActions","WarehouseShippingCreate","setShowDialog","shipmentType","setShipmentType","warehouseShippment","CreateShippment","envioInitialState","WarehouseReceiveIndex","setCodigoEnvio","codigoProducto","setCodigoProducto","envio","setEnvio","cleanEnvioInfo","helperText","autoFocus","productoCapturado","CantidadRecibida","ml","colSpan","confirm","FinishScanShippment","WarehouseOutputScan","idEnvio","GetOutputInfo","_Producto$Fotografia","_Producto$Nombre","_Producto$SKUFulfillm","_Producto$Nombre2","_Producto$Descripcion","_Producto$SKUCliente","_Producto$PesoKG","_Producto$Largo","_Producto$Ancho","_Producto$Altura","output","ScanOutput","WarehouseOutputIndex","_openModal$data","_openModal$data$produ","_openModal$data2","_openModal$data3","_openModal$data4","_openModal$data6","_outboundShipmentsAdm","allUsers","filteredUsers","newArray","_item$Estatus","_item$FechaEnvio","_item$UsuarioId","_filteredUsers$find$A","_filteredUsers$find","fi","producto","_producto$CantidadEnv","_producto$CantidadRec","GuiaURL","_openModal$data5","ManualDispatch","_manualDispatch","CreateOutboundShipments","formCP","quoteInfo","setQuoteInfo","GetAllProducts","formattedProducts","establishToken","SKU","ProductId","optionFilterProp","_quoteInfo$entireStri","_quoteInfo$entireObje","_quoteInfo$entireObje2","quote","CreateOutboundShipmentV2","OutboundShipmentDetail","shippmentsResponse","outboundShipmentId","GetOutboundShipmentDetail","infoProducts","ActiveProductsAdmin","_warehouseProductsCol","InactiveProductsAdmin","ProductsAdmin","UpdateProducts","_updateProducts","_movementsColumns","_data$customer$email","_data$customer","_MovementsStates","_data$description","_data$metadata$before","_data$metadata$after_","_data$user$email","_data$user","OutboundShipments","_openModal$data$Track","_openModal$data8","_outboundShipments","TrackingNumber","_openModal$data7","OutboundShipmentsTabs","BarcodeScanner","barcode","setBarcode","codes","setCodes","eventKey","setEventKey","onKeyDown","prevCodes","reloadTest","TestSectionTabs","InitialLoadingState","buttonDownload","table","buttonSubmit","buttonSave","CreateWithXLSX","uploadData","setUploadData","renameFields","field","downloadTemplate","wb","ws_data","aoa_to_sheet","Upload","beforeUpload","_info$fileList$","file","fileList","originFileObj","reader","FileReader","onload","Uint8Array","firstSheetName","SheetNames","Sheets","counter","formatData","sheet_to_json","header","readAsArrayBuffer","listType","UploadOutlined","showSubtitle","BarChartOutlined","Graph","chartType","filterType","categories","setCategories","setHeight","day","countsDays","orderedMonths","month","months","counts","handleData","trackingScreen","innerWidth","xaxis","yaxis","labels","donutOptions","donutSeries","GraphList","ProductStatistics","_fetchingData$res$pro","_fetchingData$res","_fetchingData$res$pro2","_fetchingData$res$pro3","_fetchingData$res2","_fetchingData$res2$pr","_fetchingData$res3","_fetchingData$res3$pr","_fetchingData$res4","_fetchingData$res4$pr","fetchingData","setFetchingData","statisticsType","handleFecthStatistics","warehouseShipments","totalProductsPerDay","totalProductsPerMonth","productsPerDay","productsPerMonth","WarehouseShipmentStatistics","_fetchingData$res$war","_fetchingData$res$war2","_fetchingData$res$war3","_fetchingData$res2$wa","_fetchingData$res3$wa","_fetchingData$res4$wa","totalWarehouseShipmentsPerDay","totalWarehouseShipmentsPerMonth","warehouseShipmentsPerDay","warehouseShipmentsPerMonth","OutboundShipmentStatistics","_fetchingData$res$out","_fetchingData$res$out2","_fetchingData$res$out3","_fetchingData$res2$ou","_fetchingData$res3$ou","_fetchingData$res4$ou","totalOutboundShipmentsPerDay","totalOutboundShipmentsPerMonth","outboundShipmentsPerDay","outboundShipmentsPerMonth","Statistics","StoreLogo","WixLogo","WooCommerce","MercadoLibre","TiendaNube","Ebay","Amazon","Shopify","IntegrationCustomers","_usersByIntegration","setShowIntegration","show","CustomerOrders","_customerIntegrationD2","_customerIntegrationD5","_customerIntegrationD6","_customerIntegrationD7","_customerIntegrationD8","filterOptions","setFilterOptions","ordersData","setOrdersData","currentPageOrders","setCurrentPageOrders","rowsPerPagesOrders","setRowPerPagesOrders","table_orders_columns","_data$customer_detail","_data$customer_detail2","_data$customer_detail3","_data$shipping_addres","_data$shipping_addres2","_data$shipping_addres3","_data$shipping_addres4","_data$shipping_addres5","_data$shipping_addres6","_data$shipping_addres7","_data$shipping_addres8","_data$shipping_addres9","_data$shipping_addres10","_data$shipping_addres11","_data$shipping_addres12","changeDefaultValue","onFilter","DollarOutlined","_data$fulfillment_inf","_data$fulfillment_inf2","_data$fulfillment_inf3","optionsWoocommerce","request_to_update","fulfillmentData","store","_customerIntegrationD3","_customerIntegrationD4","customerToken","table_columns","updated_at","orderResponse","orderListIntegration","orderListApi","filteredOrderList","getCustomerOrders","optionsFilters","_customerIntegrationD","handleTableOrdersChange","IntegrationsDispatch","showIntegration","gridTemplateColumns","fieldTypes","setCustomFields","editingField","setEditingField","whOptions","setWhOptions","actionApiCustomField","customId","actionType","action","actionCustomField","warehouseOptions","formatWarehouseOptions","updatedFields","newField","prevFields","layout","onEdit","onDelete","createCustomFields","EyeOutlined","DeleteOutline","CustomStock","editCustomWarehouse","moment","deleteCustomWarehouse","visibleCustomWarehouse","_openModal$data$Title","defaultFields","CreateCustomWarehouse","ConfigProducts","IntegrationAuthPage","queryParams","queryString","parse","createMuiTheme","palette","primary","main","App","Router","Switch","exact","domain","client_id","clientId","redirect_uri","audience","MuiThemeProvider","WarehouseShippingIndex","OutboundShipmentsCreate","element","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","alertOptions","positions","BOTTOM_RIGHT","timeout","transitions","SCALE","ReactDOM","AlertProvider","template","AlertTemplate","getElementById"],"mappings":"2vi6CAEeA,gB,kCCEf,MAAMC,EAA4BA,IAChCC,OAAOC,QAAQC,aAAa,GAAIC,SAASC,MAAOJ,OAAOK,SAASC,UAErDC,EAAeC,0BAEfC,EAAWA,IAAMC,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,OAAEC,EAAM,OAAEC,EAAM,OAAEC,EAAM,QAAEC,GAASpvE,EACpEgvE,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,O,UCCd,MAAMO,GAAe,CAEnB/9C,SAAUg+C,KAAUC,aACpBC,QAAS,IACT5b,OAAQ,OAERlsB,WAAY+nC,KAAYC,OAG1BC,IAASxrE,OACPjC,cAAC0tE,KAAa,CAACC,SAAUC,QAAmBT,GAAYpvE,SACtDiC,cAAC8rE,GAAG,MAENzuE,SAASwwE,eAAe,SAM1BlB,O","file":"static/js/main.a72ce1b9.chunk.js","sourcesContent":["import { createBrowserHistory } from \"history\";\n\nexport default createBrowserHistory();","import React, { useEffect, useContext, useState, createContext } from \"react\";\nimport createAuth0Client from \"@auth0/auth0-spa-js\";\nimport propTypes from \"prop-types\";\n\nconst DEFAULT_REDIRECT_CALLBACK = () =>\n window.history.replaceState({}, document.title, window.location.pathname);\n\nexport const Auth0Context = createContext();\n\nexport const useAuth0 = () => useContext(Auth0Context);\n\nconst Auth0Provider = ({\n children,\n onRedirecrCallback = DEFAULT_REDIRECT_CALLBACK,\n ...initOptions\n}) => {\n const [isAuthenticated, setIsAuthenticated] = useState();\n const [user, setUser] = useState();\n const [auth0Client, setAuth0Client] = useState();\n const [loading, setLoading] = useState(true);\n const [popupOpen, setPopupOpen] = useState(false);\n useEffect(() => {\n const initAuth0 = async () => {\n const auth0FromHook = await createAuth0Client(initOptions);\n setAuth0Client(auth0FromHook);\n const urlParams = new URLSearchParams(window.location.search);\n if (urlParams.get(\"code\")) {\n /**Delete all cookies */\n try {\n const cookies = document.cookie.split(\";\");\n\n for (let i = 0; i < cookies.length; i++) {\n let cookie = cookies[i];\n let name = cookie.split(\"=\")[0];\n document.cookie =\n name + \"=; expires=expires=Thu, 01 Jan 1970 00:00:00 GMT\";\n }\n\n // eslint-disable-next-line\n const { appState } = await auth0FromHook.handleRedirectCallback();\n } catch (error) {\n // console.log(error);\n }\n onRedirecrCallback();\n }\n\n const isAuthenticated = await auth0FromHook.isAuthenticated();\n setIsAuthenticated(isAuthenticated);\n\n if (isAuthenticated) {\n let user = await auth0FromHook.getUser();\n \n if(user['https://drenvio.com/roles']) {\n const role = user['https://drenvio.com/roles']; \n user = {\n ...user,\n role\n }\n }\n setUser(user);\n }\n\n setLoading(false);\n };\n initAuth0();\n // eslint-disable-next-line\n }, []);\n\n const loginWithPopup = async (params = {}) => {\n setPopupOpen(true);\n try {\n await auth0Client.loginWithPopup(params);\n } catch (error) {\n console.error(error);\n } finally {\n setPopupOpen(false);\n }\n const user = await auth0Client.getUser();\n setUser(user);\n setIsAuthenticated(true);\n };\n\n const handleRedirectCallback = async () => {\n setLoading(true);\n await auth0Client.handleRedirectCallback();\n const user = await auth0Client.getUser();\n setLoading(false);\n setIsAuthenticated(true);\n setUser(user);\n };\n\n return (\n auth0Client?.getIdTokenClaims(...p),\n loginWithRedirect: (...p) => auth0Client?.loginWithRedirect(...p),\n getTokenWithPopup: (...p) => auth0Client?.getTokenWithPopup(...p),\n getTokenSilently: (...p) => auth0Client?.getTokenSilently(...p),\n logout: (...p) => auth0Client?.logout(...p),\n }}\n >\n {children}\n \n );\n};\n\nAuth0Provider.propTypes = {\n children: propTypes.object.isRequired,\n onRedirecrCallback: propTypes.func.isRequired,\n};\n\nexport { Auth0Provider };\n","import React, { useEffect } from \"react\";\nimport { Route } from \"react-router-dom\";\nimport propTypes from \"prop-types\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\n\nconst PrivateRoute = ({ component: Component, path, ...rest }) => {\n const { loading, isAuthenticated, loginWithRedirect } = useAuth0();\n useEffect(() => {\n if (loading || isAuthenticated) {\n return;\n }\n const fn = async () => {\n await loginWithRedirect({\n appState: { targetUrl: \"/\" },\n });\n };\n fn();\n }, [loading, isAuthenticated, loginWithRedirect, path]);\n\n const render = (props) =>\n isAuthenticated === true ? : null;\n\n return ;\n};\n\nPrivateRoute.propTypes = {\n component: propTypes.func,\n path: propTypes.string,\n};\n\nexport default PrivateRoute;\n","import React from \"react\";\nimport Button from \"@material-ui/core/Button\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\n\nconst Login = () => {\n const { isAuthenticated, loginWithRedirect } = useAuth0();\n // console.log(loginWithRedirect, typeof loginWithRedirect);\n return (\n <>\n {isAuthenticated ? (\n

Logged

\n ) : (\n <>\n

Not logged

\n \n loginWithRedirect({\n mode: \"signUp\",\n })\n }\n >\n Login\n \n \n )}\n \n );\n};\n\nexport default Login;\n","import React from \"react\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\n\nconst Logout = () => {\n const { logout, isAuthenticated } = useAuth0();\n if (!isAuthenticated) {\n return (\n <>\n

Cerrando sesión

\n \n );\n }\n logout();\n return (\n <>\n

Cerrando sesión

\n

Saliendo...

\n \n );\n };\n\n export default Logout;","import axios from \"axios\";\n\nexport const axiosBase = axios.create({\n //baseURL: 'https://fulfillment-backend.vercel.app/api'\n // baseURL: 'http://localhost:5000/api'\n baseURL: 'https://api.drevfill.com/api'\n //baseURL: 'http://157.245.242.244:3000/api'\n // baseURL: \"https://drevfillback.com/api\",\n});\n","import { axiosBase as axios } from \"./AxiosConfig\";\n\nexport const FetchUserInfo = async (token) => {\n try {\n const res = await axios.get(\n `${\n process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL ||\n \"https://prod.api-drenvio.com/v2\"\n }/users/info`,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return res.data;\n } catch (err) {\n return err;\n }\n};\n\nexport const GetAllUsersByAuthId = async (token, userIds) => {\n try {\n const res = await axios.post(\n `${\n process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL ||\n \"https://prod.api-drenvio.com/v2\"\n }/users/infoByAuthIds`,\n userIds,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return res.data.res;\n } catch (err) {\n return err;\n }\n};\n\nexport const GetAllUsers = async (token, filterByColumns) => {\n try {\n const res = await axios.post(\n `${\n process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL ||\n \"https://prod.api-drenvio.com/v2\"\n }/users/fulfillment`,\n filterByColumns,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n\n console.log(\"res ==>\", res)\n\n return res.data;\n } catch (err) {\n return err;\n }\n};\n\nexport const ValidateAuth = async (token, user) => {\n try {\n const res = await axios.post(\n `${\n process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL ||\n \"https://prod.api-drenvio.com/v2\"\n }/users/fulfillment/auth`,\n { user },\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return res.data.res;\n } catch (err) {\n return err;\n }\n};\n\nexport const UserIntegrationCheck = async(token) => {\n try {\n const response = await axios.get(\n `/integrations/check`,\n {\n headers: {\n Authorization: `Bearer ${token}`\n }\n }\n )\n return response.data\n } catch (error) {\n return error\n }\n}\n\nexport const CreateCustomWarehouse = async (token, request) => {\n try {\n const res = await axios.post(\n `/customWarehouse/create`,\n request,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return res;\n } catch (err) {\n return err;\n }\n};\n\nexport const GetUserWarehouses = async (token) => {\n try {\n const response = await axios.get(\n `/customWarehouse/get`,\n {\n headers: {\n Authorization: `Bearer ${token}`\n }\n }\n )\n return response\n } catch (error) {\n return error\n }\n}\n\nexport const ActionsCustomWarehouses = async (token, request) => {\n try {\n const res = await axios.post(\n `/customWarehouse/actions`,\n request,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return res;\n } catch (err) {\n return err;\n }\n};\n\nexport const VisibilityCustomWarehouses = async (token, request) => {\n try {\n const res = await axios.post(\n `/customWarehouse/visibility`,\n request,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return res;\n } catch (err) {\n return err;\n }\n};\n\nexport const UpdateProductCustomWarehouses = async (token, request) => {\n try {\n const res = await axios.put(\n `/customWarehouse/products/update`,\n request,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return res;\n } catch (err) {\n return err;\n }\n};\n\nexport const CreateCustomProductWarehouses = async (token, request) => {\n try {\n const res = await axios.post(\n `/customWarehouse/products/add`,\n request,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return res;\n } catch (err) {\n return err;\n }\n};","import { axiosBase as axios } from \"./AxiosConfig\";\n\nexport const GetAllShipments = async (token) => {\n try {\n const response = await axios.get(\"/warehouseShipments\", {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const CreateShippment = async (token, warehouseShippment) => {\n try {\n const response = await axios.post(\n \"/warehouseShipments\",\n warehouseShippment,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const GetShippmentByCode = async (token, codigoEnvio) => {\n try {\n const response = await axios.get(`/warehouseShipments/${codigoEnvio}`, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n\n //return shipment2;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const FinishScanShippment = async (token, envio) => {\n try {\n const response = await axios.post(\n `/warehouseShipments/scan/${envio.EnvioId}`,\n envio,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const GenerateBarCodePDF = async (token, EnvioId) => {\n try {\n const response = await axios.get(\n `/barcode/generate/warehouse-shipment/${EnvioId}`,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n responseType: \"blob\",\n }\n );\n return response;\n } catch (error) {\n return error;\n }\n};\n\nexport const CancelWarehouseShipment = async (token, shipmentId) => {\n try {\n const response = await axios.post(\n `/warehouseShipments/cancel`,\n { shipmentId },\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n )\n return response\n } catch (error) {\n console.log('Error at CancelWarehouseShipment', error)\n return error\n }\n}\n\n// Shipment Data for Teseting Purposes\n\n// const shipments = [\n// {\n// Codigo: \"0000001\",\n// Estatus: \"Enviado\",\n// FechaEnvio: \"12/05/2021\",\n// FechaRecepcion: null,\n// Guia: {\n// Proveedor: \"Fedex\",\n// Numero: \"6540684\",\n// },\n// Productos: [\n// {\n// SkuFulfillment: \"3043540\",\n// Cantidad: 2,\n// },\n// ],\n// },\n// {\n// Codigo: \"0000002\",\n// Estatus: \"Enviado\",\n// FechaEnvio: \"12/05/2021\",\n// FechaRecepcion: null,\n// Guia: {\n// Proveedor: \"DHL\",\n// Numero: \"5135103\",\n// },\n// Productos: [\n// {\n// SkuFulfillment: \"3043540\",\n// Cantidad: 2,\n// },\n// {\n// SkuFulfillment: \"3043550\",\n// Cantidad: 1,\n// },\n// ],\n// },\n// {\n// Codigo: \"0000003\",\n// Estatus: \"Recibido en Almacén\",\n// FechaEnvio: \"12/05/2021\",\n// FechaRecepcion: \"15/05/2021\",\n// Guia: {\n// Proveedor: \"DHL\",\n// Numero: \"5135143\",\n// },\n// Productos: [\n// {\n// SkuFulfillment: \"3043540\",\n// Cantidad: 2,\n// },\n// {\n// SkuFulfillment: \"3043550\",\n// Cantidad: 1,\n// },\n// ],\n// },\n// ];\n\n// const shipment = {\n// Codigo: \"0000002\",\n// Estatus: \"Por Confirmar envio\",\n// Guia: {\n// Proveedor: \"DHL\",\n// Numero: \"5135103\",\n// },\n// Productos: [\n// {\n// SkuFulfillment: \"3043540\",\n// Cantidad: 2,\n// },\n// {\n// SkuFulfillment: \"3043550\",\n// Cantidad: 1,\n// },\n// ],\n// };\n\n// const shipment2 = {\n// UsuarioId: \"google-oauth2|2342341423\",\n// EnvioId: \"60977a4f40b701bde85f2283\",\n// Estatus: \"Pendiente envío\",\n// Guia: \"AS123\",\n// ProveedorGuia: \"FEDEX\",\n// InfoEnvioProductos: [\n// {\n// Producto: {\n// SKUCliente: \"54541\",\n// Nombre: \"Tablero de ajedrez\",\n// PesoKG: 1,\n// Largo: 20,\n// Ancho: 20,\n// Altura: 20,\n// ValorMercancia: 200,\n// Descripcion: \"Tablero profesional de ajedrez\",\n// Fotografia:\n// \"https://images-na.ssl-images-amazon.com/images/I/61ERJDxLSgL._AC_UX466_.jpg\",\n// SKUFulfillment: \"60977a4f40b701bde87f3282\",\n// },\n// CantidadEnviada: 2,\n// CantidadRecibida: 0\n// },\n// {\n// Producto: {\n// SKUCliente: \"50468\",\n// Nombre: \"Reloj de ajedrez\",\n// PesoKG: 3,\n// Largo: 20,\n// Ancho: 20,\n// Altura: 20,\n// ValorMercancia: 200,\n// Descripcion: \"Reloj profesional de ajedrez\",\n// Fotografia:\n// \"https://images-na.ssl-images-amazon.com/images/I/617VFU3qPFL._AC_SX425_.jpg\",\n// SKUFulfillment: \"609c6761af6f5e5ee4175eca\",\n// },\n// CantidadEnviada: 5,\n// CantidadRecibida: 0\n// },\n// ]\n// }\n","import React, { createContext, useState, useEffect, useContext } from \"react\";\nimport { Auth0Context } from \"./../hooks/react-auth0-spa\";\n\n// Api Fetchers\nimport {FetchUserInfo, GetUserWarehouses} from \"./../api/userBalanceData\";\nimport { GetAllShipments } from \"./../api/WarehouseShippingAPI\";\nimport { ValidateAuth } from \"../api/userBalanceData\";\n\nexport const DataContext = createContext();\n\nexport const DataContextProvider = (props) => {\n\n const [isLoading, setIsLoading] = useState(false)\n const [userWarehouses, setUserWarehouses] = useState([]);\n const [productType, setProductType] = useState('default');\n const [inventoryId, setInventoryId] = useState(\"default\")\n const [data, setData] = useState({\n userBalanceData: 0,\n wareHouseShipmentData: [],\n outboundShipmentDetail: [],\n updateData: true,\n });\n\n const { user, getTokenSilently, isAuthenticated } = useContext(Auth0Context);\n\n const getUserData = async() => {\n setIsLoading(true)\n const token = await getTokenSilently();\n await ValidateAuth(token, user.sub)\n const response = await FetchUserInfo(token, user.sub)\n if(response.success){\n setData({\n ...data,\n userBalanceData: response.res.balance,\n userInfo: response.res \n })\n }\n setIsLoading(false)\n }\n\n useEffect(() => {\n if(isAuthenticated && user){\n getUserData()\n }\n }, [getTokenSilently, isAuthenticated, user])//eslint-disable-line\n\n useEffect(() => {\n const dataFetcher = async () => {\n setIsLoading(true)\n const token = await getTokenSilently();\n\n // Fetch All User Data\n const wareHouseShipmentData = await GetAllShipments(token);\n\n setData({\n ...data,\n wareHouseShipmentData: wareHouseShipmentData,\n updateData: false,\n });\n\n setIsLoading(false)\n };\n\n if (user && isAuthenticated && data.updateData) {\n dataFetcher();\n getCustomerWarehouses();\n }\n }, [user, data, getTokenSilently, isAuthenticated]);//eslint-disable-line\n\n // Context data for customFields and customWarehouses\n\n const getCustomerWarehouses = async() => {\n setIsLoading(true)\n const token = await getTokenSilently();\n try {\n const response = await GetUserWarehouses(token)\n setUserWarehouses(response.data)\n setIsLoading(false)\n } catch (error) {\n // console.log('[ ERROR - CONTEXT ] Get Customer Warehouses: ', error);\n setIsLoading(false)\n return alert.error('Error al obtener inventarios, recarga la pagina.')\n }\n }\n\n return (\n \n {props.children}\n \n );\n};\n","import anime from 'animejs'\nimport React, { useState, createContext } from \"react\"\n\nexport const initialQuoteState = {\n PackageData: {},\n PackageArray: [],\n AddressData: {\n OriginData: {},\n DestinyData: {}\n },\n FetchedParcelsArray: []\n}\n\nexport const QuoteDataContext = createContext({\n quoteData: initialQuoteState,\n})\n\nexport const QuoteDataContextProvider = (props) => {\n const [quoteData, setQuoteData] = useState(initialQuoteState)\n const [shipmentTypeSelected, setShipmentTypeSelected] = useState('awaiting...')\n const [commercialInvoice, setCommercialInvoice] = useState(null)\n\n const [quoteStep, setQuoteStep] = useState('1) Quote based on Postal Codes')\n const [label, setLabel] = useState(null)\n const [waitingGuide, setQWaitingGuide] = useState(true)\n\n const [customerIntegrationData, setCustomerIntegrationData] = useState({})\n const [previousQuoteStep, setPreviousQuoteStep] = useState(\n '1) Quote based on Postal Codes'\n )\n\n const setQuoteStepTransition = (stepSelected) => {\n setPreviousQuoteStep(quoteStep)\n setTimeout(() => {\n setQuoteStep(stepSelected)\n }, 650)\n const tl = anime.timeline({\n targets: '.dashboardSection',\n duration: 500,\n easing: 'linear'\n })\n\n tl.add({\n opacity: 0\n })\n tl.add(\n {\n opacity: 1\n },\n '+=400'\n )\n }\n\n const resetQuoteStepTransition = (stepSelected) => {\n setPreviousQuoteStep(quoteStep)\n setQuoteStep(stepSelected)\n }\n\n\n return (\n \n {props.children}\n \n )\n}\n","// Imports\nimport React, { createContext, useState } from 'react'\n\nconst initialSelectedCountry = 'MX'\nconst initialSelectedData = {\n Name: 'México',\n SvgFlag: 'MexicoSvg',\n Currency: 'mxn',\n Language: 'es',\n PhoneExtension: '+52',\n PostalCodesLength: 4,\n AllowedParcels: [\n 'estafeta',\n 'mensajerosUrbanos',\n 'noventa9Minutos',\n 'quiken',\n 'fedex',\n 'dhl',\n 'redpack',\n 'carssa',\n 'scm',\n 'sendex',\n 'ampm',\n 'ivoy',\n 'paquetexpress',\n 'ups',\n 'jtexpress',\n 'borzo',\n 'treggo',\n 'uber',\n 'pickit'\n ],\n StoreTabImages: [],\n TopUpRechargeComponents: []\n // FormExtraFields: InputProps[],\n}\n\nexport const CountriesContext = createContext({\n initialSelectedCountry,\n initialSelectedData\n})\n\nexport const CountriesContextProvider = (props) => {\n const [currentSelectedCountry, setCurrentSelectedCountry] = useState(initialSelectedCountry)\n const [currentCountrySelectedData, setCurrentCountrySelectedData] = useState(initialSelectedData)\n\n const formatPrice = (price) => {\n return Intl.NumberFormat(\n `${currentCountrySelectedData?.Language}-${currentSelectedCountry}`\n ).format(price)\n }\n\n return (\n \n {props.children}\n \n )\n}\n","import {\n BarcodeOutlined,\n ProductOutlined,\n ScanOutlined,\n SendOutlined,\n ShoppingCartOutlined,\n TruckOutlined,\n EditOutlined,\n HistoryOutlined,\n} from \"@ant-design/icons\";\n\nexport const NavbarRoutes = {\n\n // ---- RUTAS NORMALES ---- //\n // Products: {\n // title: \"Mis productos\",\n // route: \"/products\",\n // type: \"item\",\n // icon: ,\n // role: \"COMMON\",\n // description: \"Administra los productos que vendes\"\n // },\n Products: {\n title: \"Mis productos\",\n route: \"/products\",\n type: \"subitem\",\n children: [\n { title: \"Inventario\", route: \"/products\", description: \"Administra los productos que vendes\" },\n { title: \"Configuración\", route: \"/products/config\", description: \"Configura o personaliza tus productos\" },\n ],\n icon: ,\n role: \"COMMON\",\n },\n WarehouseShipment: {\n title: \"Envíos al almacén\",\n route: \"/warehouseshippment\",\n type: \"item\",\n icon: ,\n role: \"COMMON\",\n description: \"Monitorea y envía tus productos al almacén\"\n },\n OutboundShipment: {\n title: \"Ordenes de envío\",\n route: \"/outboundshipments\",\n type: \"item\",\n icon: ,\n role: \"COMMON\",\n description: \"Crea y visualiza los despachos de tus productos\"\n },\n \n // Statistics: {\n // title: \"Estadisticas\",\n // route: \"/statistics\",\n // type: \"item\",\n // icon: ,\n // role: \"COMMON\",\n // description: \"Mira las estadisticas de todos tus movimientos\"\n // },\n\n // ----- RUTAS DE ADMIN ----- //\n\n WarehouseReceive: {\n title: \"Recibir mercancía\",\n route: \"/warehousereceive\",\n type: \"item\",\n icon: ,\n role: \"ADMIN\",\n description: \"Escanea los productos para ingresarlos en el almacén\"\n },\n\n WarehouseOutput: {\n title: \"Enviar mercancía\",\n type: \"subitem\",\n children: [\n { title: \"Ver salidas programadas\", route: \"/warehouseoutput\", description: \"Realiza los despachos que los clientes realizaron manualmente\" },\n { title: \"Despachar manualmente\", route: \"/warehouseoutput/dispatch\", description: \"Busca al cliente y despacha una guia desde su cuenta de Drenvio\" },\n { title: \"Integraciones\", route: \"/warehouseoutput/integrations\", description: \"Despacha las ordenes de las integraciones\" },\n ],\n icon: ,\n role: \"ADMIN\",\n },\n WarehouseProducts: {\n title: \"Tabla de productos\",\n route: \"/warehouseproducts\",\n type: \"item\",\n icon: ,\n role: \"ADMIN\",\n description: \"Inventario de la bodega\"\n },\n RequestUpdateProducts: {\n title: \"Solicitudes de edición\",\n route: \"/updateproducts\",\n type: \"item\",\n icon: ,\n role: \"ADMIN\",\n description: \"Solicitud de cambios hecha por usuarios\"\n },\n Movements: {\n title: \"Movimientos\",\n route: \"/movements\",\n type: 'item',\n icon: ,\n role: \"ADMIN\",\n description: \"Seguimiento de la plataforma\"\n },\n // TestSection: {\n // title: \"Sección de pruebas\",\n // route: \"/testing\",\n // type: \"item\",\n // icon: ,\n // role: 'ADMIN',\n // description: \"Sección destinada para pruebas en producción\"\n // }\n\n}","import { useEffect, useState } from 'react'\nimport { useLocation } from 'react-router-dom'\n\nconst SetRoutes = (routes) => {\n const location = useLocation();\n\n const [ title, setTitle ] = useState('');\n const [ description, setDescription ] = useState('');\n\n\n useEffect(() => {\n\n const route = Object.values(routes);\n\n if(location.pathname === '/'){\n route.push({\n route: \"/\",\n title: \"Inicio\",\n description: \"Visualiza las estadisticas\",\n })\n }\n\n if(location.pathname.includes('/warehouseoutput/scan')){\n setTitle(\"Salidas programadas\")\n setDescription(\"Procesa las salidas programadas por los clientes\")\n }\n if(location.pathname.includes('/products/create')){\n setDescription(\"Agrega tus productos, verifica bien los datos antes de crearlo\")\n }\n if(location.pathname.includes('/outboundshipments/detail')){\n setTitle(\"Ordenes de envío\")\n setDescription(\"Revisa los detalles de tu orden\")\n }\n\n for(let _route of route) {\n if(_route.route === location.pathname) {\n setTitle(_route.title)\n setDescription(_route.description)\n }\n if(_route.type === 'subitem') {\n const __route__ = _route.children.find(r => r.route === location.pathname)\n if(__route__) {\n setTitle(__route__.title)\n setDescription(__route__.description)\n }\n }\n }\n\n }, [location, routes])\n\n return [title, description]\n}\n\nexport default SetRoutes","import { Typography } from 'antd';\nimport {NavbarRoutes} from \"./NavbarRoutes\";\nimport SetRoutes from \"../../utils/SetRoutes\";\n\nconst Header = () => {\n\n const [ title, description ] = SetRoutes(NavbarRoutes);\n const { Title } = Typography;\n\n return (\n
\n \n { title }\n \n \n { description }\n \n
\n )\n}\n\nexport default Header","function formatearPrecio(precio) {\n return new Intl.NumberFormat('es-MX', { style: 'currency', currency: 'MXN' }).format(precio);\n}\n\nexport default formatearPrecio;","import React, { useContext } from \"react\";\nimport {\n CircularProgress,\n Tooltip,\n} from \"@material-ui/core\";\n// import LogoDrevFill from \"../../../public/Logo-2.png\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport { DataContext } from \"./../../context/dataContext\";\nimport { Button, Layout, Menu } from \"antd\";\nimport { HomeOutlined, LoadingOutlined, LogoutOutlined } from '@ant-design/icons';\nimport { NavbarRoutes } from \"./NavbarRoutes\";\nimport { Link } from \"react-router-dom\";\nimport HeaderRoutes from './Header'\nimport formatearPrecio from \"../../utils/PirceFormatter\";\n\n\nconst CustomAppBar = (props) => {\n const { user, logout } = useAuth0();\n const { data } = useContext(DataContext);\n\n const { Header, Content, Footer, Sider } = Layout;\n\n return (\n <>\n \n {\n console.log(broken);\n }}\n onCollapse={(collapsed, type) => {\n console.log(collapsed, type);\n }}\n >\n \n
\n \"DrevFill-Logo\"\n
\n }\n >\n \n Inicio\n \n \n {Object.values(NavbarRoutes).map((section) => {\n return (\n <>\n {section.type === \"item\" && data?.userInfo?.roles.includes(section.role) ? (\n \n \n {section.title}\n \n \n ) : (\n data?.userInfo?.roles.includes(section.role) && section.type === \"subitem\" &&\n section.children && (\n \n {section.children.map((item) => {\n return (\n \n \n {item.title}\n \n \n )\n })}\n \n )\n )\n }\n \n )\n })}\n \n \n \n \n
\n

\n {!user \n ? (\n \n )\n : (\n

\n \n

\n )\n }\n

\n
\n \n \n \n \n
\n
\n \n \n {props.children}\n \n
\n Drevfill © {new Date().getFullYear()} Created by Drevfill\n
\n
\n
\n \n );\n};\n\nexport default CustomAppBar;\n","import {\n BarcodeOutlined,\n SendOutlined, TruckOutlined,\n} from \"@ant-design/icons\"\nimport {Card, Col, Row} from \"antd\";\nimport { axiosBase as axios} from \"../../api/AxiosConfig\";\nimport {useEffect, useState} from \"react\";\nimport {useAuth0} from \"../../hooks/react-auth0-spa\";\n\nconst TopCards = () => {\n\n const [shipmentsToday, setShipmentsToday] = useState([])\n const [shipmentsCurrentMonth, setShipmentsCurrentMonth] = useState([])\n const [productsSentThisMonth, setProductsSentThisMonth] = useState(0)\n const { getTokenSilently, isAuthenticated } = useAuth0()\n\n // console.log('isAuthenticated: ', isAuthenticated)\n\n const getProductsSentCurrentMonth = async () => {\n const token = await getTokenSilently()\n const headers = { Authorization: `Bearer ${token}` }\n\n try {\n const response = await axios.get('/statistics/productsSelledCurrentMonth', { headers })\n if(response.data){\n setProductsSentThisMonth(response.data.reduce((acc, current) => acc + current.count, 0))\n }\n } catch (error) {\n console.log('Error at getProductsSentCurrentMonth: ', error)\n }\n }\n\n const fetchData = async () => {\n const token = await getTokenSilently()\n const headers = { Authorization: `Bearer ${token}` }\n try {\n const responseShipmentsToday = await axios(\"/statistics/shipmentsToday\",{ headers })\n const responseShipmentsCurrentMonth = await axios(\"/statistics/shipmentsCurrentMonth\",{ headers })\n\n if(responseShipmentsToday) setShipmentsToday(responseShipmentsToday.data[0])\n if(responseShipmentsCurrentMonth) setShipmentsCurrentMonth(responseShipmentsCurrentMonth.data[0])\n } catch (error) {\n console.log(error)\n }\n }\n\n // console.log('Respuestas shipmentsToday: ', shipmentsToday)\n // console.log('Respuestas shipmentsCurrentMonth: ', shipmentsCurrentMonth)\n // console.log('Respuestas productsSentThisMonth: ', productsSentThisMonth)\n\n useEffect(() => {\n if(isAuthenticated) {\n getProductsSentCurrentMonth()\n fetchData()\n }\n }, [getTokenSilently, isAuthenticated])//eslint-disable-line\n\n return (\n \n\n \n \n
\n

{ shipmentsToday?.shipmentsToday ?? 0 }

\n
\n \n
\n
\n

Envíos hoy

\n
\n \n\n \n \n
\n

{ shipmentsCurrentMonth?.shipmentsThisMonth ?? 0 }

\n
\n \n
\n
\n

Envíos este mes

\n
\n \n\n \n \n
\n

{ productsSentThisMonth ?? 0 }

\n
\n \n
\n
\n

Productos vendidos mes

\n
\n \n\n
\n )\n}\n\nexport default TopCards","import React, {useEffect, useState} from 'react';\nimport {Card, Col, Row, Tooltip} from \"antd\";\nimport {useAuth0} from \"../../hooks/react-auth0-spa\";\nimport { axiosBase as axios } from \"../../api/AxiosConfig\";\n\nfunction ProductsOutOfStock(props) {\n\n const [data, setData] = useState([])\n const [isLoading, setIsLoading] = useState(false)\n\n const getBlinkClass = (quantity) => {\n if (quantity <= 4) return 'blink-red';\n if (quantity > 4 && quantity < 8) return 'blink-orange';\n return 'blink-green'; // Sin efecto si no cumple las condiciones\n };\n\n const { getTokenSilently } = useAuth0()\n\n const fetchData = async () => {\n setIsLoading(true)\n const token = await getTokenSilently()\n const headers = { Authorization: `Bearer ${token}` }\n\n try {\n const response = await axios.get('/statistics/productsOutOfStock', { headers })\n if(response.data){\n setData(response.data)\n }\n setIsLoading(false)\n } catch (error) {\n setIsLoading(false)\n console.log('Error at ProductsOutOfStock: ', error)\n }\n }\n\n console.log('Data: ', data)\n\n useEffect(() => {\n fetchData()\n },[])//eslint-disable-line\n\n return (\n \n Productos por agotarse

}>\n \n \n

\n Producto\n

\n \n \n

\n Cantidad\n

\n \n
\n \n {\n isLoading ? (

Cargando ...

)\n : data.length > 0\n ? data.map((item) => (\n \n \n \n {item?.Nombre ?? \"NA\"}\n \n \n \n

\n {item?.CantidadEnInventario ?? \"0\"}\n

\n \n
\n )) : (\n

No hay datos para mostrar

\n )\n }\n
\n {/**/}\n \n \n );\n}\n\nexport default ProductsOutOfStock;","import React from 'react';\nimport Chart from 'react-apexcharts'\n\nconst CustomLineChart = ({ data, horizontal, serieName, type }) => {\n\n const dataChart = () => {\n const Data = data?.filter(\n (item) => item?._id !== null && item?._id !== \"\" && item._id !== undefined\n )\n return Data?.map((charts) => ({\n x: (charts._id).toUpperCase(),\n y: charts?.count,\n }))\n }\n\n const options = {\n chart: {\n stacked: true,\n },\n plotOptions: {\n bar: {\n horizontal: horizontal,\n },\n },\n }\n\n const series = [\n {\n data: dataChart(),\n name: serieName ?? \"serie\",\n },\n ]\n\n return (\n
\n \n
\n );\n};\n\nexport default CustomLineChart;","import React, {useEffect, useState} from 'react';\nimport {Card, Col} from \"antd\";\nimport CustomLineChart from \"../../components/CustomLineChart\";\nimport {useAuth0} from \"../../hooks/react-auth0-spa\";\nimport {axiosBase as axios} from \"../../api/AxiosConfig\";\n\nfunction ProductsSelledCurrentMonth(props) {\n\n const [data, setData] = useState([])\n\n const { getTokenSilently, isAuthenticated } = useAuth0()\n\n const fetchData = async () => {\n const token = await getTokenSilently()\n const headers = { Authorization: `Bearer ${token}` }\n\n try {\n const response = await axios.get('/statistics/productsSelledCurrentMonth', { headers })\n if(response.data){\n setData(response.data)\n }\n } catch (error) {\n console.log('Error at ProductsSelledCurrentMonth: ', error)\n }\n }\n\n // console.log('Data: ', data)\n useEffect(() => {\n if(isAuthenticated) fetchData()\n },[getTokenSilently, isAuthenticated])//eslint-disable-line\n\n return (\n \n Productos vendidos este mes

}>\n \n
\n \n );\n}\n\nexport default ProductsSelledCurrentMonth;","import React from \"react\";\nimport TopCards from \"./dashboard/TopCards\";\nimport ProductsOutOfStock from \"./dashboard/ProductsOutOfStock\";\nimport {Col, Row} from \"antd\";\nimport ProductsSelledCurrentMonth from \"./dashboard/ProductsSelledCurrentMonth\";\n\nconst Home = () => {\n\n return (\n <>\n \n \n \n \n \n \n \n \n );\n};\n\nexport default Home;\n","import React from \"react\";\nimport Home from \"./home\";\n\nconst Index = () => {\n return (\n \n );\n};\n\nexport default Index;\n","import React from 'react';\nimport { Tabs } from \"antd\"\nimport TabPane from \"antd/es/tabs/TabPane\"\n\nconst styles = { \n width: '100%', \n backgroundColor: 'white', \n borderRadius: '8px', \n padding: '15px 30px'\n}\n\nconst CustonTabs = ({ tabs }) => {\n return (\n
\n \n {tabs.map((item, index) => (\n \n {item.component}\n \n ))}\n \n
\n )\n}\n\nexport default CustonTabs","import { useState } from 'react'\n\nexport const useToggle = (initialValue = false) => {\n const [state, setState] = useState(initialValue)\n \n const toggle = () => setState(!state)\n\n return { state, toggle}\n}\n","// import moment from 'moment'\nimport * as XLSX from 'xlsx'\nimport Title from 'antd/lib/typography/Title'\nimport { useEffect, useState } from 'react'\nimport {Button, Table, Input, Tooltip} from 'antd'\nimport {ProfileOutlined, ReloadOutlined} from '@ant-design/icons'\nimport { useToggle } from '../../hooks/useToggle'\n// import { ModalDataPicker } from './ModalDataPicker'\n// import ModalContainer from './ModalContainer'\n// import TabsFilterContainer from './TabsFilterContainer'\n// import { ColumnsType } from 'antd/es/table'\n// import { AllColumnsType, GetAllFilteredShipmentsQuery } from '../interfaces/tableSchema'\n// import { useLocation } from 'react-router-dom'\n\nconst CustomTable = ({\n columns,\n data,\n title,\n config,\n isShipments,\n filters,\n isLoading,\n stateValues,\n onChangePage,\n onChangeRowsPerPage,\n total,\n optionalContent,\n tableType,\n noFormattedDate,\n reload,\n ...rest\n}) => {\n const { toggle } = useToggle()\n const { toggle: toggleFiltersModal } = useToggle()\n const [isButtonLoading, setIsButtonLoading] = useState(false)\n // const [fileType, setFileType] = useState('xlsx')\n // const [rangeDate, setRangeDate] = useState(null) // [string, string] | null\n // const setFilterRange = useState([null, null])[1] // [Date | null, Date | null]\n const [searchInputText, setSearchInputText] = useState('') // string \n // const [actionSelected, setActionSelected] = useState(null) // string | null\n\n// xlsx | csv\n const beforeDownload = (fileType) => {\n downloadExcel(fileType)\n // setFileType(fileType)\n // toggle()\n }\n\n\n // xlsx | csv\n const downloadExcel = async (type) => {\n setIsButtonLoading(true)\n try { \n let formatedData = data \n // if (rangeDate !== null && (rangeDate?.[0] || rangeDate[1])){\n \n // const downloadFilters = { \n // isDownload: true, \n // country: stateValues.country, \n // currentPage: 1, \n // rowsPerPages: 10000000000000000 \n // }\n \n // if (stateValues?.user){\n // downloadFilters.user = stateValues.user ? stateValues.user : undefined\n // downloadFilters.isAdmin = stateValues.user ? false : true\n // }\n \n // const customFilters = filters.filterByColumnsFactory(downloadFilters)\n \n // customFilters.columns.forEach((column, index ) => { \n // if (column.id === 'createdAt' || column.id === 'created_at'){\n // customFilters.columns[index] = {\n // id: column.id,\n // find: true,\n // filters: {\n // sort: false,\n // filter: true,\n // filter_values: [\n // rangeDate?.[0],\n // rangeDate?.[1] \n // ]\n // }\n // }\n // }\n // })\n \n // const updateData = await filters.filterDownloads(customFilters)\n // formatedData = rest.schemaDownload(updateData, noFormattedDate)\n // } \n\n const worksheet = XLSX.utils.json_to_sheet(formatedData)\n const workbook = XLSX.utils.book_new()\n XLSX.utils.book_append_sheet(workbook, worksheet, `${title}`)\n XLSX.writeFile(workbook, `${title}.${type}`, { bookType: type })\n } catch (err) {\n console.log({ err })\n } finally {\n setIsButtonLoading(false)\n toggle()\n }\n }\n\n const handleTableChange = (pagination) => {\n const { page, pageSize } = pagination\n\n let tempFilters = stateValues.filterByColumns\n if (stateValues.rowsPerPages !== pageSize){\n tempFilters = filters.handleStateFilterByColumns({ country: stateValues.country, currentPage: 1, rowsPerPages: pageSize })\n } else {\n tempFilters = filters.handleStateFilterByColumns({ country: stateValues.country, currentPage: page })\n }\n filters?.filterByColumns && filters?.filterByColumns(tempFilters)\n }\n\n // prospects\n// const handleFiltersTableTitle = (tableType) => {\n// switch (tableType) {\n// case 'prospects':\n// return \"mis prospectos\"\n// }\n// }\n\n useEffect(() => {\n const tempFilters = filters.handleStateFilterByColumns({ country: stateValues.country, currentPage: 1, searchText: stateValues?.searchText })\n filters?.filterByColumns && filters?.filterByColumns(tempFilters)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [stateValues?.searchText])\n\n const { Search } = Input\n \n return (\n <>\n handleTableChange({ page, pageSize })\n }}\n title={() => (\n
\n {title && {title}}\n
\n {!config?.disableExport && (\n
\n
\n
\n beforeDownload('csv')}\n style={{ marginRight: '1rem', alignItems: 'center', display: 'flex' }}\n icon={}\n >\n {\"Descargar CSV\"}\n \n
\n
\n beforeDownload('xlsx')}\n style={{ marginRight: '1rem', alignItems: 'center', display: 'flex' }}\n icon={}\n >\n {\"Descargar XLSX\"}\n \n
\n
\n
\n {!config?.disableFilters && (\n
\n {\n toggleFiltersModal()\n }}\n >\n {\"Filtrar\"}\n \n
\n )}\n {optionalContent?.options && (optionalContent?.options)}\n
\n
\n )}\n
\n
\n {\n setSearchInputText(e.target.value)\n }}\n onSearch={() => {\n filters?.filterBySearchText(searchInputText)\n }}\n style={{\n width: 200,\n marginTop: '15px',\n marginLeft: 'none',\n marginRight: '10px'\n }}\n\n />\n {\n reload && (\n \n
\n
\n )}\n columns={columns}\n dataSource={data}\n rowSelection={config?.selection ? config?.selection : undefined}\n />\n {/* {\n if (!rangeDate?.[0] || !rangeDate[1]) {\n notification.warning({\n message: \"Debe completar los campos\"\n })\n return\n }\n downloadExcel(fileType)\n }}\n isOpen={state}\n onCancel={toggle}\n setState={(e) => {\n setRangeDate([moment(e[0].$d).format('YYYY-MM-DD'), moment(e[1].$d).format('YYYY-MM-DD')])\n }}\n /> */}\n {/* \n \n */}\n \n )\n}\n\nexport default CustomTable","import { axiosBase as axios } from \"./AxiosConfig\";\n\nexport const GetAllProducts = async (token) => {\n try {\n const response = await axios.get(\"/products\", {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const GetAllProductsByAuthId = async (token, authId, options) => {\n try {\n const response = await axios.post(\n `/allProductsByAuthId/${authId}`,\n options,\n { headers: { Authorization: `Bearer ${token}` }}\n );\n\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const CreateProduct = async (token, product) => {\n try {\n const response = await axios.post(\"/products\", product, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const GetProductBySKU = async (token, SkuFulfillment, type) => {\n try {\n const response = await axios.get(`/products/${SkuFulfillment}/${type}`, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const UpdateProduct = async (token, SkuFulfillment, product) => {\n try {\n const response = await axios.put(`/products/${SkuFulfillment}`, product, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const DeleteProduct = async (token, SkuFulfillment) => {\n try {\n const response = await axios.delete(`/products/${SkuFulfillment}`, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const ActivateProduct = async (token, productId) => {\n try {\n const response = await axios.patch(`/products/activate/${productId}`, {},{\n headers: {\n Authorization: `Bearer ${token}`,\n }\n });\n return response;\n } catch (error) {\n return error\n }\n}\n\nexport const UpdateQTYProduct = async (token, data) => {\n try {\n const response = await axios.put(`/product/update`, data, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response;\n } catch (error) {\n console.error(error);\n return error;\n }\n}\n\nexport const CreateMassiveProducts = async (token, products, type) => {\n try {\n const response = await axios.post(\"/products/create/massive\", { productsArray: products, type }, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const createCustomFields = async (token, data) => {\n try {\n return await axios.post(\n `/products/customFields`,\n data,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n )\n } catch (error) {\n return error\n }\n}\n\nexport const getCustomFields = async (token, userId, inventoryId) => {\n try {\n return await axios.get(\n `/products/customFields/${userId}/${inventoryId ?? \"\"}`,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n )\n } catch (error) {\n return error\n }\n}\n\nexport const actionCustomField = async (token, userId, customId, action, inventoryId) => {\n try {\n return await axios.delete(\n `/products/customFields/${userId}/${customId}/${action}/${inventoryId}`,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n )\n } catch (error) {\n return error\n }\n}\n\nexport const getStockByMercadolibre = async(token, data) => {\n try {\n return await axios.post(\n `/products/mercadolibre`,\n data,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n )\n } catch (error) {\n return error\n }\n}\n\n","import React, {useContext, useState} from 'react'\nimport { useHistory } from 'react-router-dom';\n\nimport PrintIcon from \"@material-ui/icons/Print\";\nimport ReceiptIcon from \"@material-ui/icons/Receipt\";\nimport EditIcon from \"@material-ui/icons/Edit\";\n\nimport bwipjs from 'bwip-js';\nimport { jsPDF } from 'jspdf';\nimport { Box, Grid, Link, Input, InputLabel } from '@material-ui/core';\nimport { useAuth0 } from '../../hooks/react-auth0-spa';\nimport { DeleteProduct } from '../../api/ProductAPI';\nimport { Button, Modal, Popconfirm } from 'antd';\nimport DeleteIcon from \"@material-ui/icons/Delete\";\nimport { useAlert } from 'react-alert';\nimport { DataContext } from '../../context/dataContext';\nimport { Tooltip } from 'antd';\nimport { axiosBase as axios } from '../../api/AxiosConfig';\nimport {VisibilityCustomWarehouses} from \"../../api/userBalanceData\";\n\nconst ColumnActions = ({ data, handleReload, type }) => {\n const [openModal, setOpenModal] = useState(false)\n const [updateValue, setUpdateValue] = useState(1)\n const [thermalPrintModal, setThermalPrintModal] = useState(false)\n const [IpValue, setIpValue] = useState('')\n const { getTokenSilently, user } = useAuth0();\n const { data: allData, setData, setProductType } = useContext(DataContext)\n const History = useHistory();\n const alert = useAlert();\n\n const generateBarCode = async (product, value) => {\n if (value <= 0) {\n alert.info('Debe seleccionar uno como mínimo')\n return\n }\n \n try {\n const shortId = product.SKUFulfillment.slice(-12)\n const canvas = document.createElement('canvas')\n bwipjs.toCanvas(canvas, {\n bcid: 'code128',\n text: shortId,\n scale: 4,\n height: 10,\n includetext: false,\n })\n const imgData = canvas.toDataURL('image/png')\n const pdf = new jsPDF()\n const pageWidth = pdf.internal.pageSize.width\n const pageHeight = pdf.internal.pageSize.height\n \n const margin = 10\n const spacing = 5\n const codeWidth = (pageWidth - margin * 2 - spacing * 2) / 3\n const codeHeight = (pageHeight - margin * 2 - spacing * 9) / 10\n \n const codesPerRow = 3\n const codesPerColumn = 10\n const codesPerPage = codesPerRow * codesPerColumn\n \n for (let i = 0; i < value; i++) {\n if (i % codesPerPage === 0 && i !== 0) {\n pdf.addPage()\n } \n const x = margin + (i % codesPerPage % codesPerRow) * (codeWidth + spacing)\n const y = margin + Math.floor((i % codesPerPage) / codesPerRow) * (codeHeight + spacing)\n \n pdf.setFontSize(7)\n pdf.setDrawColor(200) // Gris claro\n pdf.setLineWidth(0.2)\n pdf.rect(x, y, codeWidth, codeHeight) // Borde\n \n pdf.addImage(imgData, 'PNG', x + (codeWidth - codeWidth * 0.6) / 2, y + 2, codeWidth * 0.6, codeHeight * 0.4)\n \n pdf.setFont(\"helvetica\", \"bold\")\n pdf.setFontSize(8)\n pdf.text(shortId, x + codeWidth / 2, y + codeHeight * 0.45 + 5, { align: \"center\" })\n \n pdf.setFont(\"helvetica\", \"normal\")\n pdf.setFontSize(6)\n pdf.text(product.Nombre.length > 17 ? `${product.Nombre.slice(0,17)}...` : product.Nombre, x + 2, y + codeHeight * 0.7)\n pdf.text(`${product.Largo} x ${product.Ancho} x ${product.Altura}`, x + 2, y + codeHeight * 0.8)\n pdf.text(`SKU: ${product.SKUCliente}`, x + 2, y + codeHeight * 0.9)\n }\n \n pdf.save(`${shortId}.pdf`)\n setOpenModal(false)\n } catch (err) {\n console.error('Error generating barcode:', err)\n alert.error(\"Error al generar etiqueta, revisa bien el producto.\")\n }\n }\n\n const generateBarCodeForThermalPrinter = async (product, IpValue) => {\n if (IpValue === ''){\n alert.info('Debe ingresar la direccion IP de la impresora')\n return\n }\n \n try {\n const shortId = product.SKUFulfillment.slice(-12)\n const canvas = document.createElement('canvas')\n bwipjs.toCanvas(canvas, {\n bcid: 'code128',\n text: shortId,\n scale: 4,\n height: 10,\n includetext: false,\n })\n\n const imageData = canvas.toDataURL('image/png')\n \n const token = await getTokenSilently()\n const response = await axios.post(\n \"/barcode/generateForThermalPrinter\",\n { ip: IpValue, imageData: imageData },\n { headers: { Authorization: `Bearer ${token}` } }\n )\n\n if (response.code === 200) {\n alert.success('Impresión enviada correctamente')\n } else {\n alert.error('Error al enviar la impresión')\n }\n \n } catch (err) {\n console.error('Error print barcode:', err)\n alert.error(\"Error al enviar la impresión\")\n }\n }\n\n const deleteCustomWarehouseProduct = async () => {\n try {\n const t = await getTokenSilently();\n const response = await VisibilityCustomWarehouses(t, { SKUFulfillment: data._id, UsuarioId: user.sub })\n // console.log('Response delete: ', response)\n if (response?.status !== 200){\n alert.error(response?.data.error?.message)\n return\n }\n handleReload()\n setData({ ...allData, updateData: true })\n alert.success(response?.data?.res);\n } catch (err) {\n alert.error(\"Error al eliminar el producto\");\n }\n };\n\n const deleteProduct = async () => {\n try {\n const t = await getTokenSilently();\n const rta = await DeleteProduct(t, data._id); \n if (rta?.code !== 200){\n alert.error(rta?.error?.message)\n return \n }\n handleReload()\n setData({ ...allData, updateData: true })\n alert.success(rta?.res);\n } catch (err) {\n alert.error(\"Error al eliminar el producto\");\n }\n };\n\n const editProduct = () => {\n setProductType(type ?? \"default\")\n History.push(`products/edit/${data._id}`)\n }\n\n return (\n \n \n \n setOpenModal(true)} style={{ cursor:'pointer' }}/>\n \n\n \n \n setThermalPrintModal(true)} style={{ cursor:'pointer' }}/>\n \n \n \n \n editProduct()}\n >\n \n \n \n \n \n \n \n \n \n setOpenModal(false)}\n footer={<>}\n title=\"Descargar codigos de barras\"\n width={'300px'}\n >\n \n \n \n Para ahorrar papel, puedes seleccionar la cantidad de codigos de barras que deseas\n \n setUpdateValue(e.target.value)}\n />\n \n \n \n \n \n \n \n \n \n \n setThermalPrintModal(false)}\n footer={<>}\n title=\"Impresiones termicas\"\n width={'300px'}\n >\n \n \n \n Ingresa la direccion IP de tu impresora termica\n \n setIpValue(e.target.value)}\n />\n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default ColumnActions","import React, { useEffect, useState } from 'react'\n\nimport { Box, Grid, Input, InputLabel } from '@material-ui/core'\n\nimport PrintIcon from \"@material-ui/icons/Print\";\nimport EditIcon from \"@material-ui/icons/Edit\";\n\nimport bwipjs from 'bwip-js';\nimport { jsPDF } from 'jspdf';\nimport { UpdateQTYProduct } from '../../api/ProductAPI';\nimport {Badge, Button, Col, Modal, Popconfirm, Row} from 'antd';\nimport { useAlert } from 'react-alert';\nimport { useAuth0 } from '../../hooks/react-auth0-spa';\n\nconst initialState = { Nombre:'', Descripcion:'', SKUCliente:'', CantidadEnInventario:'' }\n\nconst ColumnActions = ({ data, refetch, filterByColumns }) => {\n const [openModalEdit, setOpenModalEdit] = useState(false)\n const [openModal, setOpenModal] = useState(false)\n const [openTypeModal, setOpenTypeModal] = useState(false)\n\n const [updateValueEdit, setUpdateValueEdit] = useState(initialState)\n const [updateValue, setUpdateValue] = useState(0)\n const [type, setType] = useState(\"\") // sale - modification\n\n const alert = useAlert();\n const { getTokenSilently } = useAuth0();\n\n const generateBarCode = async (product, value) => {\n if (value <= 0) {\n alert.info('Debe seleccionar uno como mínimo')\n return\n }\n\n try {\n const shortId = product.SKUFulfillment.slice(-12)\n const canvas = document.createElement('canvas')\n bwipjs.toCanvas(canvas, {\n bcid: 'code128',\n text: shortId,\n scale: 4,\n height: 10,\n includetext: false,\n })\n const imgData = canvas.toDataURL('image/png')\n const pdf = new jsPDF()\n const pageWidth = pdf.internal.pageSize.width\n const pageHeight = pdf.internal.pageSize.height\n\n const margin = 10\n const spacing = 5\n const codeWidth = (pageWidth - margin * 2 - spacing * 2) / 3\n const codeHeight = (pageHeight - margin * 2 - spacing * 9) / 10\n\n const codesPerRow = 3\n const codesPerColumn = 10\n const codesPerPage = codesPerRow * codesPerColumn\n\n for (let i = 0; i < value; i++) {\n if (i % codesPerPage === 0 && i !== 0) {\n pdf.addPage()\n } \n\n const x = margin + (i % codesPerPage % codesPerRow) * (codeWidth + spacing)\n const y = margin + Math.floor((i % codesPerPage) / codesPerRow) * (codeHeight + spacing)\n\n pdf.setFontSize(7)\n pdf.setDrawColor(200) // Gris claro\n pdf.setLineWidth(0.2)\n pdf.rect(x, y, codeWidth, codeHeight) // Borde\n\n pdf.addImage(imgData, 'PNG', x + (codeWidth - codeWidth * 0.6) / 2, y + 2, codeWidth * 0.6, codeHeight * 0.4)\n\n pdf.setFont(\"helvetica\", \"bold\")\n pdf.setFontSize(8)\n pdf.text(shortId, x + codeWidth / 2, y + codeHeight * 0.45 + 5, { align: \"center\" })\n\n pdf.setFont(\"helvetica\", \"normal\")\n pdf.setFontSize(6)\n pdf.text(product.Nombre.length > 17 ? `${product.Nombre.slice(0,17)}...` : product.Nombre, x + 2, y + codeHeight * 0.7)\n pdf.text(`${product.Largo} x ${product.Ancho} x ${product.Altura}`, x + 2, y + codeHeight * 0.8)\n pdf.text(`SKU: ${product.SKUCliente}`, x + 2, y + codeHeight * 0.9)\n }\n\n pdf.save(`${shortId}.pdf`)\n setOpenModal(false)\n } catch (err) {\n console.error('Error generating barcode:', err)\n alert.error(\"Error al generar etiqueta, revisa bien el producto.\")\n }\n}\n\n const updateInventoryQty = async(productId, newValue) => {\n const userToken = await getTokenSilently()\n if(\n Number(newValue.CantidadEnInventario) === data.CantidadEnInventario\n && newValue.Nombre === data.Nombre\n && newValue.Descripcion === data.Descripcion\n && newValue.SKUCliente === data.SKUCliente\n && type === 'modification'\n ){\n setOpenModalEdit(false)\n alert.info('Producto sin modificar')\n }\n\n if(type === 'sale'){\n if(data.CantidadEnInventario < Number(newValue.CantidadEnInventario)){\n alert.info('No hay suficientes productos.')\n return\n }\n if(Number(newValue.CantidadEnInventario) <= 0){\n alert.info('Debes de vender al menos 1 producto.')\n return\n }\n newValue['CantidadEnInventario'] = data.CantidadEnInventario - Number(newValue.CantidadEnInventario)\n }\n if(type === 'modification'){\n newValue['CantidadEnInventario'] = Number(newValue.CantidadEnInventario)\n }\n\n try {\n const response = await UpdateQTYProduct(userToken,{ productId, newValue, type })\n if(response.status !== 200){\n return alert.error(\"Error al actualizar cantidad de producto\")\n }\n setOpenModalEdit(false)\n await refetch(filterByColumns)\n } catch (error) {\n console.log('Error at updateInventoryQty', error)\n alert.error(\"Error al actualizar cantidad de producto\")\n }\n }\n\n const openModalByType = (type) => {\n setType(type)\n setOpenTypeModal(false)\n setOpenModalEdit(true)\n }\n\n useEffect(() => {\n console.log('Type: ', type)\n setUpdateValueEdit({\n Nombre: data?.Nombre ?? \"\",\n Descripcion: data?.Descripcion ?? \"\",\n SKUCliente: data?.SKUCliente ?? \"\",\n CantidadEnInventario: (type === 'sale' && \"0\") || (type === 'modification' && data?.CantidadEnInventario)\n })\n }, [data, type])\n\n return (\n <>\n \n \n \n setOpenTypeModal(true)}/>\n \n \n setOpenModal(true)} />\n \n \n \n\n {/* ***************** MODAL SELECCION DE TYPE ***************** */}\n setOpenTypeModal(!openTypeModal)}\n footer={<>}\n centered={true}\n width={\"400px\"}\n >\n \n
\n

¿Descontaras un producto para vender?

\n \n \n \n \n \n \n \n \n \n\n {/* ***************** MODAL DE EDICION DE PRODUCTO ***************** */}\n setOpenModalEdit(!openModalEdit)}\n footer={<>}\n title={(type === 'sale' && `Vender ${data.Nombre}`) || (type === 'modification' && \"Editar producto\")}\n centered={true}\n width={'300px'}\n >\n \n {\n type !== 'sale' && (\n <>\n \n Nombre\n setUpdateValueEdit({ ...updateValueEdit, [e.target.name]: e.target.value })} />\n \n \n Descripción\n setUpdateValueEdit({ ...updateValueEdit, [e.target.name]: e.target.value })}/>\n \n \n SKU\n setUpdateValueEdit({ ...updateValueEdit, [e.target.name]: e.target.value } )}/>\n \n \n )\n }\n { type === 'sale' && (\n <>\n \n \n )}\n \n {(type === 'sale' && \"Cant. productos a vender\") || (type === 'modification' && \"Cant. productos en inventario\")}\n setUpdateValueEdit({ ...updateValueEdit, [e.target.name]: e.target.value })}/>\n \n \n \n \n \n updateInventoryQty(data._id, updateValueEdit)}\n okText={(type === 'sale' && \"Vender\") || (type === 'modification' && \"Actualizar\")}\n cancelText=\"Cancelar\"\n >\n \n \n \n \n \n\n {/* ***************** MODAL DESCARGAR CODIGO DE BARRAS ***************** */}\n setOpenModal(false)}\n footer={<>}\n title=\"Descargar codigos de barras\"\n centered={true}\n width={'300px'}\n >\n \n \n \n Para ahorrar papel, puedes seleccionar la cantidad de codigos de barras que deseas\n \n setUpdateValue(e.target.value)}\n />\n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default ColumnActions","import React, { useEffect, useState } from 'react'\nimport { Box, Grid } from '@material-ui/core'\nimport { Button } from 'antd';\nimport { useAlert } from 'react-alert';\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { useAuth0 } from '../../hooks/react-auth0-spa'\n\nconst styles = {\n buttons: {\n cursor:'pointer', \n fontWeight: 'bold', \n color: 'white', \n borderRadius: '12px'\n }\n}\n\nconst ColumnActionsUpdateProducts = ({ data: product, handleReload }) => {\n const alert = useAlert();\n const { getTokenSilently } = useAuth0();\n const [disabled, setDisabled] = useState(false)\n\n const handleRequest = async (state)=> {\n setDisabled(true)\n try {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/products/update/${product.SKUFulfillment}`, \n { approved: state }, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n if (data.code !== 200){\n setDisabled(false)\n alert.error(data?.error?.message)\n return \n }\n\n alert.success(data?.res)\n setDisabled(false)\n handleReload()\n } catch (err){\n setDisabled(false)\n alert.error(\"Ha ocurrido un error\")\n }\n }\n \n useEffect(() => {\n }, [product])\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default ColumnActionsUpdateProducts","import React, { useEffect, useState } from 'react'\nimport { Box, Grid } from '@material-ui/core'\nimport { Modal } from 'antd';\nimport InfoIcon from \"@material-ui/icons/Info\";\n\nconst DetailsChanges = ({ data: product }) => {\n const [openModal, setOpenModal] = useState(false)\n const [requestDate, setRequestDate] = useState('')\n const [before, setBefore] = useState(null)\n const [after, setAfter] = useState(null);\n\n useEffect(()=> {\n const find = product.Tracking.find(item => !item.Revised)\n if (find){\n setRequestDate(find?.Date)\n setBefore(find.Before)\n setAfter(find.After)\n }\n }, [product])\n\n return (\n <>\n \n \n setOpenModal(true)} />\n \n \n setOpenModal(false)}\n footer={<>}\n width={'95%'}\n height={\"95%\"}\n >\n

Fecha de solicitud: {new Date(requestDate).toLocaleString()}

\n \n {(before && after) && (\n <>\n \n

Antes

\n

\n \n

\n

SKU: {before.SKUCliente}

\n

Nombre: {before.Nombre}

\n

Altura: {before.Altura}

\n

Largo: {before.Largo}

\n

Ancho: {before.Ancho}

\n

PesoKG: {before.PesoKG}

\n

Descripcion: {before.Descripcion}

\n

ValorMercancia: {before.ValorMercancia}

\n
\n \n

Despues

\n

\n \n

\n

SKU: {after.SKUCliente}

\n

Nombre: {after.Nombre}

\n

Altura: {after.Altura}

\n

Largo: {after.Largo}

\n

Ancho: {after.Ancho}

\n

PesoKG: {after.PesoKG}

\n

Descripcion: {after.Descripcion}

\n

ValorMercancia: {after.ValorMercancia}

\n
\n \n )}\n
\n \n \n )\n}\n\nexport default DetailsChanges","import ReportProblemOutlinedIcon from '@material-ui/icons/ReportProblemOutlined';\nimport CheckCircleOutlinedIcon from '@material-ui/icons/CheckCircleOutlined';\nimport SendOutlinedIcon from '@material-ui/icons/SendOutlined';\nimport InboxOutlinedIcon from '@material-ui/icons/InboxOutlined';\nimport EventOutlinedIcon from '@material-ui/icons/EventOutlined';\nimport ClearIcon from '@material-ui/icons/Clear';\nimport Edit from '@material-ui/icons/Edit';\nimport {Tag} from \"antd\";\nimport {DollarCircleOutlined} from \"@ant-design/icons\";\n\nlet styles = {\n display: 'flex',\n fontWeight: '500',\n width: '125px',\n height: '25px',\n borderRadius: '30px',\n justifyContent: 'center',\n alignItems: 'center',\n color: 'white',\n padding: '10px 0',\n imgStye: { \n margin: '5px', \n width: '17px', \n color: 'white' \n }\n}\n\nconst icons = {\n Pendiente: ,\n Procesado: ,\n Enviado: ,\n Recibido: ,\n Programado: ,\n Cancelado: ,\n Modificacion: ,\n Venta: \n}\n\nexport const WarehouseOutputStates = (state)=> {\n // eslint-disable-next-line default-case\n switch (state) {\n case 0:\n styles.backgroundColor = '#54C0F9'\n return (\n
\n {icons.Pendiente} Pendiente\n
\n )\n case 1:\n styles.backgroundColor = '#5FCE8C'\n return (\n
\n {icons.Procesado} Procesado\n
\n )\n }\n}\n\nexport const WarehouseShipmentStates = (state)=> {\n // eslint-disable-next-line default-case\n switch (state) {\n case 0:\n styles.backgroundColor = '#54C0F9'\n return (\n
\n {icons.Enviado} Enviado\n
\n )\n case 1:\n styles.backgroundColor = '#5FCE8C'\n return (\n
\n {icons.Recibido} Recibido\n
\n )\n case 2:\n styles.backgroundColor = '#FF4D4F'\n return (\n
\n {icons.Cancelado} Cancelado\n
\n )\n }\n}\n \nexport const OutboundShipmentStates = (state)=> {\n // eslint-disable-next-line default-case\n switch (state) {\n case 0:\n styles.backgroundColor = '#54C0F9'\n return (\n
\n {icons.Programado} Programado\n
\n )\n case 1:\n styles.backgroundColor = '#5FCE8C'\n return (\n
\n {icons.Enviado} Enviado\n
\n )\n }\n}\n\nexport const MovementsStates = (state)=> {\n // eslint-disable-next-line default-case\n switch (state) {\n case 'MODIFICACION':\n styles.backgroundColor = '#ffba00'\n return (\n
\n {icons.Modificacion} Modificación\n
\n )\n case \"CANCELACION\":\n styles.backgroundColor = '#FF4D4F'\n return (\n
\n {icons.Cancelado} Cancelado\n
\n )\n case \"RECEPCION\":\n styles.backgroundColor = '#5FCE8C'\n return (\n
\n {icons.Recibido} Recepción\n
\n )\n case 'ENVIO':\n styles.backgroundColor = '#54c0f9'\n return (\n
\n {icons.Enviado} Envío\n
\n )\n case 'VENTA':\n styles.backgroundColor = '#5bad63'\n return (\n
\n {icons.Venta} Venta\n
\n )\n }\n}\n\nexport const IntegrationShipmentStatus = (state, type) => {\n switch (type) {\n case 'BADGE':\n switch (state) {\n case 'ready_to_ship':\n case 'processing':\n return (\n \n Procesando\n \n )\n case 'IN_PROGRESS':\n return (\n \n En progreso\n \n )\n case 'delivered':\n return (\n \n Enviado\n \n )\n case 'shipped':\n return (\n \n Entregado\n \n )\n case 'completed':\n case 'FULFILLED':\n return (\n \n Completado\n \n )\n case 'cancelled':\n return (\n \n Cancelado\n \n )\n case 'pending':\n return (\n \n Pendiente\n \n )\n case 'OPEN':\n return (\n \n Abierto\n \n )\n case 'on-hold':\n case 'ON_HOLD':\n return (\n \n En espera\n \n )\n case 'failed':\n return (\n \n Fallido\n \n )\n case 'UNFULFILLED':\n return (\n \n No cumplido\n \n )\n case 'refunded':\n return (\n \n Reembolsado\n \n )\n default:\n return (\n \n { state }\n \n )\n }\n case 'NORMALIZE':\n switch (state) {\n case 'ready_to_ship':\n case 'processing':\n return \"Procesando\"\n case 'IN_PROGRESS':\n return \"En progreso\"\n case 'delivered':\n return \"Enviado\"\n case 'shipped':\n return \"Entregado\"\n case 'completed':\n case 'FULFILLED':\n return \"Completado\"\n case 'cancelled':\n return \"Cancelado\"\n case 'pending':\n return \"Pendiente\"\n case 'OPEN':\n return \"Abierto\"\n case 'on-hold':\n case 'ON_HOLD':\n return \"En espera\"\n case 'failed':\n return \"Fallido\"\n case 'UNFULFILLED':\n return \"No cumplido\"\n case 'refunded':\n return \"Reembolsado\"\n default:\n return state\n }\n default:\n return state\n }\n}\n\nexport const MercadoLibreStates = (state)=> {\n // eslint-disable-next-line default-case\n switch (state) {\n case 'paused':\n styles.backgroundColor = '#ffba00'\n return (\n
\n Pausado\n
\n )\n case \"cancelled\":\n styles.backgroundColor = '#FF4D4F'\n return (\n
\n Cancelado\n
\n )\n case \"active\":\n styles.backgroundColor = '#5FCE8C'\n return (\n
\n Activo\n
\n )\n default:\n styles.backgroundColor = '#54C0F9'\n return (\n
\n state\n
\n )\n }\n}\n","import React from 'react'\nimport { Grid } from '@material-ui/core'\nimport { Popconfirm, Tooltip } from 'antd'\nimport Summarize from \"@material-ui/icons/Description\";\nimport PrintIcon from \"@material-ui/icons/Print\";\nimport DeleteIcon from \"@material-ui/icons/Delete\";\nimport { jsPDF } from 'jspdf';\nimport bwipjs from 'bwip-js';\nimport { CancelWarehouseShipment, GetShippmentByCode } from \"../../api/WarehouseShippingAPI\";\nimport { useAuth0 } from '../../hooks/react-auth0-spa';\nimport { useAlert } from 'react-alert';\n\nconst ColumnActions = ({ data, status, setIsRefetching }) => {\n\n const { getTokenSilently } = useAuth0();\n const alert = useAlert()\n\n const generateBarCode = async (wrShipment) => {\n try {\n const shortId = wrShipment.EnvioId.slice(-12)\n const canvas = document.createElement('canvas');\n bwipjs.toCanvas(canvas, {\n bcid: 'code128',\n text: shortId,\n scale: 5,\n height: 7,\n includetext: true,\n textxalign: 'center',\n textsize: 5,\n })\n \n const pdf = new jsPDF();\n const imgData = canvas.toDataURL('image/png');\n const pageWidth = pdf.internal.pageSize.width // 210.0015555555555\n // const pageHeight = pdf.internal.pageSize.height // 297.0000833333333\n const imageX = 10\n const imageY = 15\n const imageWidth = pageWidth / 2\n const imageHeight = 40\n \n pdf.addImage(imgData, 'PNG', imageX, imageY, imageWidth, imageHeight);\n pdf.save(`${shortId}.pdf`);\n } catch (err) {\n console.error('Error generating barcode:', err);\n alert.error(\"Error al generar etiqueta, revisa bien el producto.\")\n }\n }\n \n const generateSummary = async (wrShipment) => {\n try {\n const t = await getTokenSilently();\n const data = await GetShippmentByCode(t, wrShipment.EnvioId.slice(-12));\n \n if (data.code !== 200){\n alert.error(\"Ha ocurrido un error\")\n return \n }\n \n const wr = data.res\n const shortId = wr.EnvioId.slice(-12)\n const totalProducts = wr.InfoEnvioProductos.length\n const totalUnits = wr.InfoEnvioProductos.reduce((acum, item)=> acum += item.CantidadEnviada, 0)\n \n const pdf = new jsPDF();\n \n pdf.setFontSize(10)\n pdf.setFont(undefined, 'normal')\n pdf.text(`Envío: #${shortId}`, 10, 10)\n \n pdf.setFontSize(18)\n pdf.setFont(undefined, 'bold')\n pdf.text(\"Listado de productos e instrucciones de preparación\", 10, 20)\n \n pdf.setFontSize(10)\n pdf.setFont(undefined, 'normal')\n pdf.text(`Productos del envío: ${totalProducts} | Total de unidades: ${totalUnits}`, 10, 28)\n \n const startY = 40\n \n pdf.setFillColor(230, 230, 230)\n pdf.rect(10, startY, 190, 10, 'F') \n pdf.setFont(undefined, 'bold')\n pdf.setFontSize(6)\n pdf.text(\"PRODUCTO\", 12, startY + 7)\n pdf.text(\"UNIDADES\", 75, startY + 7)\n pdf.text(\"REQUIERE ETIQUETA\", 105, startY + 7)\n pdf.text(\"INSTRUCCIÓN DE PREPARACIÓN\", 145, startY + 7)\n \n pdf.setFont(undefined, 'normal')\n pdf.rect(10, startY, 190, 10) \n pdf.line(70, startY, 70, startY + 10) // Línea entre PRODUCTO y UNIDADES\n pdf.line(100, startY, 100, startY + 10) // Línea entre UNIDADES y REQUIERE ETIQUETA\n pdf.line(140, startY, 140, startY + 10) // Línea entre REQUIERE ETIQUETA y INSTRUCCIÓN DE PREPARACIÓN\n \n const detailsStartY = startY + 10\n wr.InfoEnvioProductos.forEach((product, index) => {\n console.log(\"product ==> \", product)\n const yPosition = detailsStartY + (index * 20)\n \n pdf.rect(10, yPosition, 190, 20)\n pdf.line(70, yPosition, 70, yPosition + 20) // Línea entre PRODUCTO y UNIDADES\n pdf.line(100, yPosition, 100, yPosition + 20) // Línea entre UNIDADES y REQUIERE ETIQUETA\n pdf.line(140, yPosition, 140, yPosition + 20) // Línea entre REQUIERE ETIQUETA y INSTRUCCIÓN DE PREPARACIÓN\n \n pdf.text(`SKU: ${product.Producto.SKUCliente}`, 12, yPosition + 7)\n pdf.text(`Nombre: ${product.Producto.Nombre}`, 12, yPosition + 10)\n \n pdf.text(`${product.CantidadEnviada}`, 75, yPosition + 7)\n \n pdf.text(\"Cada unidad debe tener la etiqueta\", 105, yPosition + 7)\n pdf.setFont(undefined, 'bold')\n pdf.text(`#${product.Producto.SKUFulfillment.slice(-12)}`, 105, yPosition + 10)\n \n pdf.text(\"Revisa el empaque de tus productos\", 145, yPosition + 7)\n pdf.setFont(undefined, 'normal')\n pdf.text(\"• Cada unidad debe tener un empaque que la cubra\", 145, yPosition + 10)\n pdf.text(\" por completo para estar resguardada en la bodega.\", 145, yPosition + 12)\n pdf.text(\" Si no lo tienen, agrégales uno.\", 145, yPosition + 14)\n })\n \n pdf.save(`${shortId}.pdf`)\n } catch (err) {\n console.error('Error generating detail pdf:', err)\n alert.error(\"Error al generar PDF de detalles.\")\n }\n }\n\n const cancelWarehouseShipment = async(shipmentId) => {\n try {\n const t = await getTokenSilently();\n const response = await CancelWarehouseShipment(t, shipmentId)\n if(response.status === 200){\n setIsRefetching(true)\n return alert.success('Envío cancelado correctamente')\n }\n } catch (error) {\n return alert.error('Error al cancelar envío, inténtalo nuevamente.')\n }\n }\n\n return (\n \n \n \n generateSummary(data)} />\n \n \n \n \n generateBarCode(data)} />\n \n \n {\n status === 0 && (\n \n \n cancelWarehouseShipment(data.EnvioId)}\n okText=\"Cancelar Envio\"\n cancelText=\"NO Cancelar\"\n >\n \n \n \n \n )\n }\n \n )\n}\n\nexport default ColumnActions","import React, { Fragment, useState, useEffect } from \"react\"\nimport { makeStyles } from \"@material-ui/core/styles\"\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport { CloseOutlined } from '@ant-design/icons';\nimport {\n Grid,\n Box,\n Card,\n CardContent,\n TextField,\n InputLabel,\n Button,\n FormControl,\n TableContainer,\n Table,\n TableHead,\n TableBody,\n TableRow,\n TableCell,\n Paper,\n} from \"@material-ui/core\"\nimport { GetAllProductsByAuthId } from \"../../api/ProductAPI\"\nimport { AutoComplete, Typography } from 'antd';\n\nconst initialState = {\n Codigo: \"\",\n Guia: {\n Proveedor: \"\",\n Numero: \"\",\n },\n InfoEnvioProductos: [],\n}\nconst initialStateProduct = {\n SKUFulfillment: \"\",\n Cantidad: \"\",\n}\n\nconst useStyles = makeStyles((theme) => ({\n textField: {\n marginTop: theme.spacing(3),\n },\n textFieldSmall: {\n marginLeft: theme.spacing(2),\n },\n}))\n\nconst SelectedProducts = ({ userId, handleShipment, handleStep, saveData }) => {\n const classes = useStyles()\n const [searchProduct, setSearchProduct] = useState('')\n const [shipment, setShipment] = useState(initialState)\n const [product, setProduct] = useState(initialStateProduct)\n const [products, setProducts] = useState([])\n const [isLoading, setIsLoading] = useState(false)\n const [errorMessage, setErrorMessage] = useState('')\n const { getTokenSilently } = useAuth0()\n\n const getUserProducts = async() => {\n setIsLoading(true)\n const token = await getTokenSilently()\n try {\n if(token){\n const response = await GetAllProductsByAuthId(token, userId, { active: true })\n if(response) setProducts(response.res)\n }\n setIsLoading(false)\n } catch (error) {\n setIsLoading(false)\n console.log('Error at getUserProducts', error)\n }\n }\n\n const onChangeInputProduct = (e) => {\n const { name, value } = e.target\n let currentProduct\n\n let updatedProduct = {\n ...product,\n [name]: value,\n }\n\n if (name === \"SKUFulfillment\") {\n currentProduct = products.find((product) => product.SKUFulfillment === value)\n if (currentProduct) {\n updatedProduct = {\n ...updatedProduct,\n Nombre: currentProduct.Nombre,\n }\n }\n }\n\n setProduct(updatedProduct)\n }\n\n const onDeleteProduct = async (SKUFulfillment) => {\n setShipment({\n ...shipment,\n InfoEnvioProductos: [\n ...shipment.InfoEnvioProductos.filter(item => item.Producto !== SKUFulfillment)\n\n ],\n })\n\n setProduct(initialStateProduct)\n setSearchProduct('')\n }\n\n const onSubmitProduct = async (e) => {\n e.preventDefault()\n\n if (product.Cantidad <= 0){\n setErrorMessage('Debe seleccionar al menos una unidad del producto.')\n return \n }\n\n const productFound = products.find(item => item.SKUFulfillment === product.SKUFulfillment)\n if (productFound.CantidadEnInventario < product.Cantidad){\n setErrorMessage(`La cantidad seleccionada (${product.Cantidad}) supera la cantidad disponible en inventario (${productFound.CantidadEnInventario}).`)\n return \n }\n\n setErrorMessage('')\n\n const productToSave = {\n Producto: product.SKUFulfillment,\n CantidadEnviada: product.Cantidad,\n Nombre: product.Nombre,\n }\n\n setShipment({\n ...shipment,\n InfoEnvioProductos: [...shipment.InfoEnvioProductos, productToSave],\n })\n\n setProduct(initialStateProduct)\n setSearchProduct('')\n }\n\n const onSubmit = async (e) => {\n e.preventDefault()\n handleShipment(shipment)\n handleStep()\n }\n\n useEffect(() => {\n if(saveData.InfoEnvioProductos){\n const saveProducts = saveData.InfoEnvioProductos.map((product) => ({\n Producto: product.Producto,\n CantidadEnviada: product.CantidadEnviada,\n Nombre: saveData?.productsData?.find(item => item._id === product.Producto)?.Nombre ?? \"\",\n }))\n\n setShipment({\n ...shipment,\n InfoEnvioProductos: saveProducts,\n })\n }\n getUserProducts()\n //eslint-disable-next-line\n }, [])\n\n return (\n \n \n \n \n \n \n
\n \n Productos\n \n \n \n \n ({\n label: `${item.SKUCliente} - ${item.Nombre}`,\n value: item.SKUFulfillment\n }))\n }\n filterOption={(inputValue, option) =>\n option.label.toUpperCase().indexOf(inputValue.toUpperCase()) !== -1\n }\n onSearch={(value)=> setSearchProduct(value)}\n onClear={()=> {\n setSearchProduct('')\n setProduct({ SKUFulfillment: '', Cantidad: product.Cantidad })\n }}\n onSelect={(value)=> {\n if (value !== 'No hay productos'){\n const chosenProduct = products.find((product) => product?.SKUFulfillment === value)\n setSearchProduct(`${chosenProduct?.SKUCliente} - ${chosenProduct?.Nombre}`)\n onChangeInputProduct({ target: { name: 'SKUFulfillment', value }})\n } else {\n setSearchProduct(value)\n }\n }}\n />\n \n \n \n \n \n \n \n `${currentProduct.SKUCliente} - ${currentProduct.Nombre}` === searchProduct &&\n currentProduct?.SKUFulfillment === product?.SKUFulfillment\n ))\n }\n type=\"submit\"\n className={classes.textField}\n variant=\"outlined\"\n color=\"primary\"\n >\n Agregar producto\n \n \n \n \n \n {errorMessage !== '' && (\n {errorMessage}\n )}\n \n \n \n \n \n
\n \n \n Producto\n Nombre\n Cantidad\n \n \n \n \n {shipment.InfoEnvioProductos.map((item, index) => (\n \n {item.Producto}\n {item.Nombre}\n {item.CantidadEnviada}\n \n onDeleteProduct(item.Producto)}\n />\n \n \n ))}\n \n
\n \n \n \n \n
\n \n \n \n Continuar\n \n \n \n
\n \n
\n \n \n )\n}\n\nexport default SelectedProducts\n","import React, { Fragment, useState, useEffect } from \"react\"\nimport { makeStyles } from \"@material-ui/core/styles\"\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport {\n Grid,\n Box,\n Card,\n CardContent,\n TextField,\n InputLabel,\n Button,\n FormControl,\n} from \"@material-ui/core\"\nimport { GetAllProductsByAuthId } from \"../../api/ProductAPI\"\nimport { AutoComplete, Radio, Result, List, Avatar, Table } from 'antd';\nimport Info from '@material-ui/icons/Info'\n\nconst initialState = {\n Codigo: \"\",\n Guia: {\n Proveedor: \"\",\n Numero: \"\",\n },\n InfoEnvioProductos: [],\n}\nconst initialStateProduct = {\n SKUFulfillment: \"\",\n Cantidad: \"\",\n}\n\nconst useStyles = makeStyles((theme) => ({\n textField: {\n marginTop: theme.spacing(3),\n },\n textFieldSmall: {\n marginLeft: theme.spacing(2),\n },\n}))\n\nconst styles = {\n container: {\n minHeight: '300px',\n maxHeight: '100px',\n overflow: 'auto',\n padding: '0 20px',\n marginTop: '24px',\n marginRight: '20px',\n boxShadow: '1px 1px 2px 2px rgba(140, 140, 140, 0.35)',\n borderRadius: '12px'\n },\n integrationCard: {\n display: 'flex',\n },\n radio: { margin: '8px 0px'},\n itemRadio: { display: 'flex', flexDirection: 'column', margin: '0px 15px'},\n skuCliente: { margin: '0', fontWeight: 'bold'},\n description: { margin: '0'},\n quantity: { fontWeight: 'bold' },\n containerMainInfo: {\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n width: '100%', \n minHeight: '50px',\n color: '#096dd9',\n backgroundColor: '#e6f7ff',\n borderColor: '#91d5ff',\n borderRadius: '4px',\n padding: '8px',\n marginBottom: '30px',\n },\n containerInfo: {\n color: '#d93025',\n backgroundColor: '#fdecea',\n borderColor: '#f5c2c7',\n borderRadius: '4px',\n padding: '8px',\n margin: '10px 0',\n },\n info: {\n fontSize: '18px', \n marginRight: '6px', \n verticalAlign: 'middle'\n },\n}\n\nconst FlexibleSelectedProductsByIntegration = ({ userId, handleShipment, handleStep, integrationOrder }) => {\n const classes = useStyles()\n const { getTokenSilently } = useAuth0()\n \n const [isLoading, setIsLoading] = useState(false)\n const [alertMessage, setAlertMessage] = useState('')\n \n const [searchProduct, setSearchProduct] = useState('')\n const [shipment, setShipment] = useState(initialState)\n const [product, setProduct] = useState(initialStateProduct)\n const [products, setProducts] = useState([])\n\n const [integrationProducts, setIntegrationProducts] = useState([])\n const [selectedIntegrationProducts, setSelectedIntegrationProducts] = useState(null)\n const [quantityIntegrationProducts] = useState(integrationOrder?.orderData?.product_items?.length)\n\n const getUserProducts = async() => {\n try {\n setIsLoading(true)\n\n // integration products \n const integrationProducts = [ ...integrationOrder?.orderData?.product_items ]\n setIntegrationProducts(integrationProducts)\n\n // api products \n const token = await getTokenSilently()\n const response = await GetAllProductsByAuthId(token, userId, { active: true })\n if(response) setProducts(response.res)\n setIsLoading(false)\n } catch (error) {\n setIsLoading(false)\n console.log('Error at getUserProducts', error)\n }\n }\n\n const onChangeInputProduct = (e) => {\n const { name, value } = e.target\n let currentProduct\n\n let updatedProduct = {\n ...product,\n [name]: value,\n }\n\n if (name === \"SKUFulfillment\") {\n currentProduct = products.find((product) => product.SKUFulfillment === value)\n if (currentProduct) {\n updatedProduct = {\n ...updatedProduct,\n Nombre: currentProduct.Nombre,\n }\n }\n }\n\n setProduct(updatedProduct)\n setAlertMessage('')\n }\n\n const onSubmitProduct = async (e) => {\n e.preventDefault()\n\n const selectedProduct = products.find(item => item.SKUFulfillment === product.SKUFulfillment) \n if (product.Cantidad > selectedIntegrationProducts.quantity){\n setAlertMessage('La cantidad seleccionada excede el número de unidades disponibles en la orden.')\n return \n }\n\n if (selectedProduct.CantidadEnInventario < product.Cantidad){\n setAlertMessage('La cantidad disponible en inventario es insuficiente para cubrir la cantidad solicitada')\n return \n }\n \n const productToSave = {\n Producto: product.SKUFulfillment,\n CantidadEnviada: product.Cantidad,\n Nombre: product.Nombre,\n }\n\n setShipment({\n ...shipment,\n InfoEnvioProductos: [...shipment.InfoEnvioProductos, productToSave],\n })\n\n setProduct(initialStateProduct)\n setIntegrationProducts([ ...integrationProducts.filter(item => item.id !== selectedIntegrationProducts.id)])\n setSelectedIntegrationProducts(null)\n setSearchProduct('')\n }\n\n const onSubmit = async (e) => {\n e.preventDefault()\n handleShipment(shipment)\n handleStep()\n }\n\n useEffect(() => {\n getUserProducts()\n //eslint-disable-next-line\n }, [])\n\n return (\n \n \n \n \n \n \n
\n \n
\n \n Selecciona y vincula los productos de la orden con los productos de tu inventario interno para mantener el control de existencias.\n
\n
\n \n Productos de orden {integrationOrder?.orderData?.order_number}\n \n \n \n
\n {shipment.InfoEnvioProductos.length === quantityIntegrationProducts ? (\n \n ) : (\n // setSelectedIntegrationProducts(e.target.value)}>\n // {integrationProducts.map(item => (\n //
\n // \n //
\n //

{`${item.id}`}

\n //

{item.quantity} {item.name}

\n //
\n //
\n //
\n // ))}\n //
\n (\n setSelectedIntegrationProducts(e.target.value)}\n />\n ),\n },\n {\n title: \"SKU Cliente\",\n dataIndex: \"\",\n render: (item) => (\n

{item?.id?.length > 30 ? 'N/A' : item?.id}

\n ),\n align: 'center',\n },\n {\n title: \"Descripción\",\n dataIndex: \"\",\n render: (item) => (\n

{ item?.name || item?.title || 'N/A' }

\n ),\n align: 'center',\n },\n {\n title: \"Cantidad\",\n dataIndex: \"quantity\",\n align: 'center',\n },\n ]}\n dataSource={integrationProducts}\n pagination={false}\n />\n )}\n
\n
\n \n \n \n ({\n label: `${item.SKUCliente} - ${item.Nombre}`,\n value: item.SKUFulfillment\n }))\n }\n filterOption={(inputValue, option) =>\n option.label.toUpperCase().indexOf(inputValue.toUpperCase()) !== -1\n }\n onSearch={(value)=> setSearchProduct(value)}\n onClear={()=> {\n setSearchProduct('')\n setAlertMessage('')\n setProduct({ SKUFulfillment: '', Cantidad: product.Cantidad })\n }}\n onSelect={(value)=> {\n if (value !== 'No hay productos'){\n const chosenProduct = products.find((product) => product?.SKUFulfillment === value)\n setSearchProduct(`${chosenProduct?.SKUCliente} - ${chosenProduct?.Nombre}`)\n onChangeInputProduct({ target: { name: 'SKUFulfillment', value }})\n } else {\n setSearchProduct(value)\n setAlertMessage('')\n }\n }}\n />\n \n \n\n \n \n \n\n {alertMessage !== '' && (\n \n
\n \n {alertMessage}\n
\n
\n )}\n\n \n \n `${currentProduct.SKUCliente} - ${currentProduct.Nombre}` === searchProduct &&\n currentProduct?.SKUFulfillment === product?.SKUFulfillment\n ))\n }\n type=\"submit\"\n className={classes.textField}\n variant=\"outlined\"\n color=\"primary\"\n >\n Agregar producto\n \n
\n \n \n \n \n \n {\n const foundProduct = products.find(product => product._id === item.Producto)\n const img = foundProduct?.Fotografia ?? ''\n\n return (\n \n \n
\n
\n \n
\n
\n

Producto: {item.Producto}

\n

Nombre: {item.Nombre}

\n

Cantidad: {item.CantidadEnviada}

\n
\n
\n
\n
\n )\n }}\n />\n
\n
\n
\n
\n \n \n \n Continuar\n \n \n \n
\n
\n
\n
\n
\n )\n}\n\nexport default FlexibleSelectedProductsByIntegration","import { Spin } from \"antd\"\n\nconst Loader = ()=> {\n return (\n
\n \n
\n ) \n}\n\nexport default Loader","import { useEffect, useState } from \"react\"\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport Loader from \"../../components/generals/Loader\"\nimport { Avatar, List, Tooltip } from 'antd'\nimport { CheckCircleFilled, CloseCircleFilled } from '@ant-design/icons'\nimport { Button } from \"@material-ui/core\"\n\nconst placeholderImg = 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSF9ftKCp4wA5IyCFrY-vdMvZ9D1Lkx1am2QseOlaSqnWLpIZ5ao2t5VBuADaKHEtccT_Q&usqp=CAU'\n\nconst styles = {\n container: {\n minHeight: '300px',\n maxHeight: '100px',\n overflow: 'auto',\n padding: '0 16px',\n border: '1px solid rgba(140, 140, 140, 0.35)',\n },\n description: { \n fontWeight: 'bold', \n color: 'black'\n },\n validations: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n gap: '0 20px'\n },\n validationsItem: { \n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-around',\n alignItems: 'center'\n },\n validationsItemTitle: {\n margin: '5px 0'\n },\n icons: {\n fontSize: '24px'\n },\n button: { \n display: 'flex', \n justifyContent: 'flex-end', \n marginTop: '20px' \n }\n}\n\nconst StrictSelectedProductsByIntegration = ({ userId, handleShipment, handleStep, integrationOrder }) => {\n const { getTokenSilently } = useAuth0()\n const [currentProducts, setCurrentProducts] = useState([])\n const [loading, setLoading] = useState(false)\n const [validation, setValidation] = useState(true)\n\n const getProducts = async ()=> {\n try {\n setLoading(true)\n const integrationProducts = integrationOrder?.orderData?.product_items\n const productsIntegrationIds = integrationProducts?.map(integrationProduct => integrationProduct?.id)\n \n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/allProductsOnSkuArray`, \n productsIntegrationIds, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n const current = []\n const fetchedProducts = data?.res\n const productsFetchIds = data?.res?.map(item => item?.SKUCliente)\n\n fetchedProducts.forEach((item) => {\n if (productsIntegrationIds.includes(item?.SKUCliente)){\n const currentProductIntegration = integrationProducts.find(ip => ip.id === item?.SKUCliente)\n current.push({\n drevfill: item,\n integration: currentProductIntegration,\n quantityMatch: item?.CantidadEnInventario >= currentProductIntegration?.quantity\n })\n }\n })\n \n integrationProducts.forEach((item) => {\n if (!productsFetchIds.includes(item?.id)){\n current.push({\n drevfill: null,\n integration: item,\n quantityMatch: false\n })\n } \n })\n\n const hasInvalidItem = current.some(item => item.drevfill === null || item.quantityMatch === false)\n setValidation(hasInvalidItem)\n setCurrentProducts(current)\n setLoading(false)\n } catch (e){\n console.log(e)\n setLoading(false)\n }\n }\n\n const handleSubmit = ()=> {\n const formatedProducts = currentProducts.map(item => ({\n Producto: item?.drevfill?.SKUFulfillment,\n CantidadEnviada: item?.integration?.quantity,\n Nombre: item?.drevfill?.Nombre,\n }))\n\n handleShipment({ InfoEnvioProductos: formatedProducts })\n handleStep()\n }\n\n useEffect(()=> {\n getProducts()\n }, [integrationOrder?.orderData])//eslint-disable-line\n\n if (loading) {\n return \n }\n\n return (\n <>\n
\n {\n const id = item?.integration?.id\n const avatar = item?.drevfill?.Fotografia ?? placeholderImg\n const description = item?.drevfill?.Nombre ?? item?.integration?.name\n const quantity = item?.integration?.quantity\n\n return (\n \n }\n title={{id}}\n description={{quantity} {description}}\n />\n
\n
\n

Coincidencia

\n
\n {item?.drevfill \n ? \n : \n \n \n }\n
\n
\n
\n

Cantidad

\n
\n {item?.quantityMatch \n ? \n : \n \n \n }\n
\n
\n
\n
\n )\n }}\n />\n\n
\n
\n \n Continuar\n \n
\n \n )\n}\n\nexport default StrictSelectedProductsByIntegration","import { useEffect } from \"react\";\nimport { useLottie } from \"lottie-react\";\n\nconst LottieContainer = ({\n lottieSelected,\n lottieSpeed,\n lottieState,\n lottieOptions,\n lottieStyle,\n lottieTrigger,\n}) => {\n const options = {\n animationData: lottieSelected,\n loop: lottieOptions.loop,\n autoplay: lottieOptions.autoplay,\n initialSegment: lottieOptions.initialSegment\n ? lottieOptions.initialSegment\n : undefined,\n style: { width: \"100%\", height: \"100%\", ...lottieStyle },\n };\n const Lottie = useLottie(options);\n\n useEffect(() => {\n lottieSpeed && Lottie.setSpeed(lottieSpeed);\n\n if (lottieState) {\n if (lottieState[0] === \"play\") {\n Lottie.play();\n return;\n } else if (lottieState[0] === \"pause\") {\n Lottie.pause();\n return;\n } else if (lottieState[0] === \"playSegment\") {\n if (lottieState[1]) {\n Lottie.playSegments(lottieState[1], true);\n return;\n }\n }\n }\n }, [lottieTrigger]); //eslint-disable-line\n\n return Lottie.View;\n};\n\nexport default LottieContainer;\n","import React, { useEffect, useState } from 'react'\nimport { Row, Col, Typography, List } from 'antd'\nimport { RightCircleOutlined, RightSquareOutlined } from '@ant-design/icons'\n\nconst CardContainer = (CardContainerProps) => {\n const ItemsStyling = {\n iconOrImg: {\n width: CardContainerProps.iconOrImg?.type === 'img' ? '100%' : '40px',\n height: CardContainerProps.iconOrImg?.type === 'img' ? '100%' : '40px',\n margin: CardContainerProps.iconOrImg?.type === 'img' ? '0px auto' : '0px',\n borderRadius: '10px',\n border: '1px solid transparent',\n backgroundColor: CardContainerProps.contrastColor\n ? CardContainerProps.contrastColor\n : 'transparent',\n display: 'grid',\n placeItems: 'center',\n ...CardContainerProps.iconOrImgStyle\n },\n title: {\n margin: 'auto',\n fontWeight: 'bolder',\n width: '100%',\n height: '100%',\n display: 'grid',\n placeItems: 'center left',\n ...CardContainerProps.titleStyle\n },\n subtitle: {\n margin: 'auto',\n fontWeight: 'bolder',\n color: '#2d1b6e',\n fontSize: '2rem',\n width: '100%',\n height: '100%',\n display: 'grid',\n placeItems: 'center left',\n ...CardContainerProps.subtitleStyle\n }\n }\n const { Text } = Typography\n const [cardComponentsCount, setCardComponentsCount] = useState(0)\n\n useEffect(() => {\n let totalCount = 0\n CardContainerProps.iconOrImg && totalCount++\n CardContainerProps.title && totalCount++\n CardContainerProps.subtitle && totalCount++\n CardContainerProps.children && totalCount++\n // typeof CardContainerProps.textList === \"object\" &&\n // (totalCount += Object.values(CardContainerProps.textList).length);\n\n Array.isArray(CardContainerProps.textList) && (totalCount += CardContainerProps.textList.length)\n\n setCardComponentsCount(totalCount)\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n return (\n {}\n }\n >\n \n {CardContainerProps.itemsOrder ? (\n <>\n {CardContainerProps.itemsOrder.map((item) => {\n return (\n \n {CardContainerProps[item]}\n \n )\n })}\n \n ) : (\n <>\n {CardContainerProps.iconOrImg ? (\n \n
\n {CardContainerProps.iconOrImg}\n
\n \n ) : null}\n\n {CardContainerProps.title ? (\n \n \n {CardContainerProps.title}\n \n \n ) : null}\n\n {CardContainerProps.subtitle ? (\n \n \n {CardContainerProps.subtitle}\n \n \n ) : null}\n\n {CardContainerProps.textList ? (\n \n {Array.isArray(CardContainerProps.textList) ? (\n (\n \n \n ) : CardContainerProps.textListDecoration === 'squares' ? (\n \n ) : CardContainerProps.textListDecoration === 'numbers' ? (\n \n {index + 1}.\n \n ) : undefined\n }\n title={\n \n {item}\n \n }\n />\n \n )}\n />\n ) : (\n {\n const [key, value] = entry\n return {\n title: key,\n description: value\n }\n })}\n renderItem={(item) => (\n \n \n {item.title}\n \n }\n description={\n \n {item.description}\n \n }\n />\n \n )}\n />\n )}\n \n ) : null}\n\n {CardContainerProps.children ? (\n \n {CardContainerProps.children}\n \n ) : null}\n \n )}\n \n \n )\n}\n\nexport default CardContainer\n","import React from 'react'\nimport {\n Input as AntInput,\n InputNumber,\n Radio,\n Button,\n Tooltip,\n Form,\n Checkbox,\n Select\n} from 'antd'\nimport { EyeTwoTone, EyeInvisibleOutlined, CloseCircleFilled } from '@ant-design/icons'\n// import s from '../Common/toolsbar.module.css';\n\n\nconst InputContainer = (inputProps) => {\n const { Option } = Select\n const { ...restProps } = { \n showCount: true \n } \n\n const getComponent = () => {\n switch (inputProps.type) {\n case 'text':\n case 'email':\n case 'number':\n case 'password':\n return (\n {\n if (\n inputName &&\n inputName.toString().length <\n (inputProps.counters?.min ? inputProps.counters?.min : 1)\n ) {\n return Promise.reject(\n new Error('Los campos deben tener al menos 2 carácteres')\n )\n }\n }\n }\n ]\n : [\n {\n required: inputProps.required,\n type:\n inputProps.type === 'text' || inputProps.type === 'password'\n ? 'string'\n : inputProps.type,\n message: inputProps.errorMessage\n ? inputProps.errorMessage\n : 'campo incompleto'\n },\n {\n pattern: inputProps.regexpPattern,\n message: inputProps.errorMessage\n ? inputProps.errorMessage\n : 'campo incompleto',\n validator: async (_, inputName) => {\n if (\n inputName &&\n inputName.length <\n (inputProps.counters?.min ? inputProps.counters?.min : 2)\n ) {\n return Promise.reject(\n new Error('Los campos deben tener al menos 2 carácteres')\n )\n }\n }\n }\n ]\n }\n >\n {inputProps.type === 'password' ? (\n (visible ? : )}\n suffix={inputProps.suffix}\n prefix={inputProps.prefix}\n disabled={inputProps.disabled}\n placeholder={inputProps.placeholder}\n onClick={inputProps.onClick}\n onChange={inputProps.onChange}\n style={{\n width: '100%',\n margin: '10px 0px',\n ...inputProps.style\n }}\n />\n ) : inputProps.type === 'number' ? (\n \n ) : (\n \n )}\n \n )\n case 'checkbox':\n return (\n \n \n {inputProps.placeholder}\n \n \n )\n case 'multipleRadio':\n return (\n \n \n {typeof inputProps.optionsList !== 'string'\n ? inputProps.optionsList.map((value, index) => {\n return (\n \n {value}\n \n )\n })\n : null}\n \n \n )\n case 'button':\n case 'submitButton':\n return (\n \n {inputProps.title}\n \n )\n case 'iconTitleHoverButton':\n return (\n \n \n \n )\n case 'select':\n return (\n \n \n }\n >\n {inputProps.optionsList !== undefined\n ? inputProps.optionsList.map((value, index) => {\n if (value.label && value.value) {\n return (\n \n )\n }\n return (\n \n )\n })\n : null}\n \n \n )\n case 'prePostTab':\n return (\n \n \n \n )\n default:\n return null\n }\n }\n\n return <>{getComponent()}\n}\n\nexport default InputContainer\n","export default __webpack_public_path__ + \"static/media/afghanistan.1bce6d79.svg\";","export default __webpack_public_path__ + \"static/media/aland-islands.fddfff5d.svg\";","export default __webpack_public_path__ + \"static/media/albania.7962bd6f.svg\";","export default __webpack_public_path__ + \"static/media/algeria.3ac9750e.svg\";","export default __webpack_public_path__ + \"static/media/american-samoa.c36146db.svg\";","export default __webpack_public_path__ + \"static/media/andorra.d0453350.svg\";","export default __webpack_public_path__ + \"static/media/angola.a7aea1ec.svg\";","export default __webpack_public_path__ + \"static/media/anguilla.81d6d851.svg\";","export default __webpack_public_path__ + \"static/media/argentina.40e1bd77.svg\";","export default __webpack_public_path__ + \"static/media/armenia.357e7a22.svg\";","export default __webpack_public_path__ + \"static/media/aruba.339c0267.svg\";","export default __webpack_public_path__ + \"static/media/australia.5c483105.svg\";","export default __webpack_public_path__ + \"static/media/austria.269acacc.svg\";","export default __webpack_public_path__ + \"static/media/azerbaijan.19f3c098.svg\";","export default __webpack_public_path__ + \"static/media/bahamas.02d3ad6b.svg\";","export default __webpack_public_path__ + \"static/media/bahrain.8bee1107.svg\";","export default __webpack_public_path__ + \"static/media/bangladesh.c09a53f9.svg\";","export default __webpack_public_path__ + \"static/media/barbados.9e8e37f3.svg\";","export default __webpack_public_path__ + \"static/media/belarus.ecda8664.svg\";","export default __webpack_public_path__ + \"static/media/belgium.a4ae29bf.svg\";","export default __webpack_public_path__ + \"static/media/belize.6db1b625.svg\";","export default __webpack_public_path__ + \"static/media/benin.b3d61c7d.svg\";","export default __webpack_public_path__ + \"static/media/bermuda.75f28cae.svg\";","export default __webpack_public_path__ + \"static/media/bhutan.b08ee880.svg\";","export default __webpack_public_path__ + \"static/media/bolivia.b8171a13.svg\";","export default __webpack_public_path__ + \"static/media/bosnia.efac4a2a.svg\";","export default __webpack_public_path__ + \"static/media/botswana.94adfd17.svg\";","export default __webpack_public_path__ + \"static/media/brazil.2f9c54e9.svg\";","export default __webpack_public_path__ + \"static/media/british-indian-ocean-territory.79e9ddfa.svg\";","export default __webpack_public_path__ + \"static/media/brunei.78090155.svg\";","export default __webpack_public_path__ + \"static/media/bulgaria.4d52fb5e.svg\";","export default __webpack_public_path__ + \"static/media/burkina-faso.6c15daf7.svg\";","export default __webpack_public_path__ + \"static/media/burundi.c0a3d649.svg\";","export default __webpack_public_path__ + \"static/media/cambodia.9d0e1db6.svg\";","export default __webpack_public_path__ + \"static/media/cameroon.dad8bdad.svg\";","export default __webpack_public_path__ + \"static/media/canada.7a52d60f.svg\";","export default __webpack_public_path__ + \"static/media/cape-verde.a9e22df0.svg\";","export default __webpack_public_path__ + \"static/media/cayman-islands.106eeaa9.svg\";","export default __webpack_public_path__ + \"static/media/central-african-republic.c80dea52.svg\";","export default __webpack_public_path__ + \"static/media/chad.e41e7117.svg\";","export default __webpack_public_path__ + \"static/media/chile.f06f7d4d.svg\";","export default __webpack_public_path__ + \"static/media/china.94a91784.svg\";","export default __webpack_public_path__ + \"static/media/christmas-island.386b4b4c.svg\";","export default __webpack_public_path__ + \"static/media/cocos-island.1d6a910c.svg\";","export default __webpack_public_path__ + \"static/media/colombia.c55bf57c.svg\";","export default __webpack_public_path__ + \"static/media/comoros.1d0b517f.svg\";","export default __webpack_public_path__ + \"static/media/congo.d4b42525.svg\";","export default __webpack_public_path__ + \"static/media/cook-islands.76a7512f.svg\";","export default __webpack_public_path__ + \"static/media/costa-rica.60a59d98.svg\";","export default __webpack_public_path__ + \"static/media/croatia.d894134b.svg\";","export default __webpack_public_path__ + \"static/media/cuba.28524a27.svg\";","export default __webpack_public_path__ + \"static/media/cyprus.47a3dae2.svg\";","export default __webpack_public_path__ + \"static/media/czech-republic.6d9eed92.svg\";","export default __webpack_public_path__ + \"static/media/denmark.fd926fc1.svg\";","export default __webpack_public_path__ + \"static/media/djibouti.068efad7.svg\";","export default __webpack_public_path__ + \"static/media/dominica.73a87d98.svg\";","export default __webpack_public_path__ + \"static/media/dominican-republic.1555b0b2.svg\";","export default __webpack_public_path__ + \"static/media/ecuador.c5bcc88d.svg\";","export default __webpack_public_path__ + \"static/media/egypt.5478388b.svg\";","export default __webpack_public_path__ + \"static/media/salvador.f2d4d241.svg\";","export default __webpack_public_path__ + \"static/media/equatorial-guinea.1f96c16f.svg\";","export default __webpack_public_path__ + \"static/media/eritrea.5ac8cd62.svg\";","export default __webpack_public_path__ + \"static/media/estonia.a6a964be.svg\";","export default __webpack_public_path__ + \"static/media/ethiopia.cc085bc3.svg\";","export default __webpack_public_path__ + \"static/media/falkland-islands.e143de07.svg\";","export default __webpack_public_path__ + \"static/media/faroe-islands.23357a43.svg\";","export default __webpack_public_path__ + \"static/media/fiji.887cc0e8.svg\";","export default __webpack_public_path__ + \"static/media/finland.a2cb109d.svg\";","export default __webpack_public_path__ + \"static/media/france.0a00ceb7.svg\";","export default __webpack_public_path__ + \"static/media/french-polynesia.906260bc.svg\";","export default __webpack_public_path__ + \"static/media/gabon.3f6455cd.svg\";","export default __webpack_public_path__ + \"static/media/gambia.ab544f70.svg\";","export default __webpack_public_path__ + \"static/media/georgia.45c093a7.svg\";","export default __webpack_public_path__ + \"static/media/germany.b3118925.svg\";","export default __webpack_public_path__ + \"static/media/ghana.6d447dea.svg\";","export default __webpack_public_path__ + \"static/media/gibraltar.56deca68.svg\";","export default __webpack_public_path__ + \"static/media/greece.67eb66c2.svg\";","export default __webpack_public_path__ + \"static/media/greenland.3fa46f69.svg\";","export default __webpack_public_path__ + \"static/media/grenada.1b136c86.svg\";","export default __webpack_public_path__ + \"static/media/guam.0dbc7dc9.svg\";","export default __webpack_public_path__ + \"static/media/guatemala.e5b20f9b.svg\";","export default __webpack_public_path__ + \"static/media/guernsey.b149b89d.svg\";","export default __webpack_public_path__ + \"static/media/guinea.b0014adb.svg\";","export default __webpack_public_path__ + \"static/media/guyana.a873c7e2.svg\";","export default __webpack_public_path__ + \"static/media/haiti.dbd5b866.svg\";","export default __webpack_public_path__ + \"static/media/honduras.7c0d1730.svg\";","export default __webpack_public_path__ + \"static/media/hong-kong.d07ef24f.svg\";","export default __webpack_public_path__ + \"static/media/hungary.7a862d56.svg\";","export default __webpack_public_path__ + \"static/media/iceland.c74f8dd2.svg\";","export default __webpack_public_path__ + \"static/media/india.32a56a3c.svg\";","export default __webpack_public_path__ + \"static/media/indonesia.d86b0a3e.svg\";","export default __webpack_public_path__ + \"static/media/iran.854365a8.svg\";","export default __webpack_public_path__ + \"static/media/iraq.ee0e8cbb.svg\";","export default __webpack_public_path__ + \"static/media/ireland.abb7d2bb.svg\";","export default __webpack_public_path__ + \"static/media/isle-of-man.bc189614.svg\";","export default __webpack_public_path__ + \"static/media/israel.59a41401.svg\";","export default __webpack_public_path__ + \"static/media/italy.c157e934.svg\";","export default __webpack_public_path__ + \"static/media/jamaica.7e8f0e9b.svg\";","export default __webpack_public_path__ + \"static/media/japan.ccbe3ff8.svg\";","export default __webpack_public_path__ + \"static/media/jersey.a95a9d2f.svg\";","export default __webpack_public_path__ + \"static/media/jordan.5cf1f182.svg\";","export default __webpack_public_path__ + \"static/media/kazakhstan.4d849aef.svg\";","export default __webpack_public_path__ + \"static/media/kenya.41ed64b0.svg\";","export default __webpack_public_path__ + \"static/media/kiribati.5791f759.svg\";","export default __webpack_public_path__ + \"static/media/north-korea.53137d00.svg\";","export default __webpack_public_path__ + \"static/media/south-korea.c15a504e.svg\";","export default __webpack_public_path__ + \"static/media/kuwait.a0041a59.svg\";","export default __webpack_public_path__ + \"static/media/kyrgyzstan.3e426fa4.svg\";","export default __webpack_public_path__ + \"static/media/laos.653e931e.svg\";","export default __webpack_public_path__ + \"static/media/latvia.2aff0b22.svg\";","export default __webpack_public_path__ + \"static/media/lebanon.418e18ef.svg\";","export default __webpack_public_path__ + \"static/media/lesotho.1c1f926e.svg\";","export default __webpack_public_path__ + \"static/media/liberia.4d975f3f.svg\";","export default __webpack_public_path__ + \"static/media/libya.79f2cabb.svg\";","export default __webpack_public_path__ + \"static/media/liechtenstein.98c0deef.svg\";","export default __webpack_public_path__ + \"static/media/lithuania.af20889f.svg\";","export default __webpack_public_path__ + \"static/media/luxembourg.f173fc95.svg\";","export default __webpack_public_path__ + \"static/media/macao.51ecde2a.svg\";","export default __webpack_public_path__ + \"static/media/republic-of-macedonia.24c8b9a5.svg\";","export default __webpack_public_path__ + \"static/media/madagascar.b08170a8.svg\";","export default __webpack_public_path__ + \"static/media/malawi.b02df709.svg\";","export default __webpack_public_path__ + \"static/media/malaysia.57c7e472.svg\";","export default __webpack_public_path__ + \"static/media/maldives.6a0c493d.svg\";","export default __webpack_public_path__ + \"static/media/mali.f6a80e4b.svg\";","export default __webpack_public_path__ + \"static/media/malta.1478196e.svg\";","export default __webpack_public_path__ + \"static/media/marshall-island.7e24f9e1.svg\";","export default __webpack_public_path__ + \"static/media/martinique.a2b431a8.svg\";","export default __webpack_public_path__ + \"static/media/mauritania.746f51f9.svg\";","export default __webpack_public_path__ + \"static/media/mauritius.79a29a5a.svg\";","export default __webpack_public_path__ + \"static/media/mexico.5ff57154.svg\";","export default __webpack_public_path__ + \"static/media/micronesia.9484e761.svg\";","export default __webpack_public_path__ + \"static/media/moldova.5805ef5b.svg\";","export default __webpack_public_path__ + \"static/media/monaco.443bb564.svg\";","export default __webpack_public_path__ + \"static/media/mongolia.a32c66d0.svg\";","export default __webpack_public_path__ + \"static/media/montserrat.7327f92c.svg\";","export default __webpack_public_path__ + \"static/media/morocco.9edffdf9.svg\";","export default __webpack_public_path__ + \"static/media/mozambique.2fa5e30f.svg\";","export default __webpack_public_path__ + \"static/media/myanmar.faeeb7d3.svg\";","export default __webpack_public_path__ + \"static/media/namibia.d21063e2.svg\";","export default __webpack_public_path__ + \"static/media/nauru.d596013c.svg\";","export default __webpack_public_path__ + \"static/media/nepal.caceea0f.svg\";","export default __webpack_public_path__ + \"static/media/netherlands.d30286ac.svg\";","import AF_flag from '../../../images/countriesFlags/afghanistan.svg'\nimport AX_flag from '../../../images/countriesFlags/aland-islands.svg'\nimport AL_flag from '../../../images/countriesFlags/albania.svg'\nimport DZ_flag from '../../../images/countriesFlags/algeria.svg'\nimport AS_flag from '../../../images/countriesFlags/american-samoa.svg'\nimport AD_flag from '../../../images/countriesFlags/andorra.svg'\nimport AO_flag from '../../../images/countriesFlags/angola.svg'\nimport AI_flag from '../../../images/countriesFlags/anguilla.svg'\n// import AQ_flag from '../assets/countriesFlags/antarctica.svg'\n// import AG_flag from '../assets/countriesFlags/antigua.svg'\nimport AR_flag from '../../../images/countriesFlags/argentina.svg'\nimport AM_flag from '../../../images/countriesFlags/armenia.svg'\nimport AW_flag from '../../../images/countriesFlags/aruba.svg'\nimport AU_flag from '../../../images/countriesFlags/australia.svg'\nimport AT_flag from '../../../images/countriesFlags/austria.svg'\nimport AZ_flag from '../../../images/countriesFlags/azerbaijan.svg'\nimport BS_flag from '../../../images/countriesFlags/bahamas.svg'\nimport BH_flag from '../../../images/countriesFlags/bahrain.svg'\nimport BD_flag from '../../../images/countriesFlags/bangladesh.svg'\nimport BB_flag from '../../../images/countriesFlags/barbados.svg'\nimport BY_flag from '../../../images/countriesFlags/belarus.svg'\nimport BE_flag from '../../../images/countriesFlags/belgium.svg'\nimport BZ_flag from '../../../images/countriesFlags/belize.svg'\nimport BJ_flag from '../../../images/countriesFlags/benin.svg'\nimport BM_flag from '../../../images/countriesFlags/bermuda.svg'\nimport BT_flag from '../../../images/countriesFlags/bhutan.svg'\nimport BO_flag from '../../../images/countriesFlags/bolivia.svg'\nimport BA_flag from '../../../images/countriesFlags/bosnia.svg'\nimport BW_flag from '../../../images/countriesFlags/botswana.svg'\n// import BV_flag from '../assets/countriesFlags/bouvet.svg'\nimport BR_flag from '../../../images/countriesFlags/brazil.svg'\nimport IO_flag from '../../../images/countriesFlags/british-indian-ocean-territory.svg'\nimport BN_flag from '../../../images/countriesFlags/brunei.svg'\nimport BG_flag from '../../../images/countriesFlags/bulgaria.svg'\nimport BF_flag from '../../../images/countriesFlags/burkina-faso.svg'\nimport BI_flag from '../../../images/countriesFlags/burundi.svg'\nimport KH_flag from '../../../images/countriesFlags/cambodia.svg'\nimport CM_flag from '../../../images/countriesFlags/cameroon.svg'\nimport CA_flag from '../../../images/countriesFlags/canada.svg'\nimport CV_flag from '../../../images/countriesFlags/cape-verde.svg'\nimport KY_flag from '../../../images/countriesFlags/cayman-islands.svg'\nimport CF_flag from '../../../images/countriesFlags/central-african-republic.svg'\nimport TD_flag from '../../../images/countriesFlags/chad.svg'\nimport CL_flag from '../../../images/countriesFlags/chile.svg'\nimport CN_flag from '../../../images/countriesFlags/china.svg'\nimport CX_flag from '../../../images/countriesFlags/christmas-island.svg'\nimport CC_flag from '../../../images/countriesFlags/cocos-island.svg'\nimport CO_flag from '../../../images/countriesFlags/colombia.svg'\nimport KM_flag from '../../../images/countriesFlags/comoros.svg'\nimport CG_flag from '../../../images/countriesFlags/congo.svg'\nimport CD_flag from '../../../images/countriesFlags/congo.svg'\nimport CK_flag from '../../../images/countriesFlags/cook-islands.svg'\nimport CR_flag from '../../../images/countriesFlags/costa-rica.svg'\n// import CI_flag from '../assets/countriesFlags/cote.svg'\nimport HR_flag from '../../../images/countriesFlags/croatia.svg'\nimport CU_flag from '../../../images/countriesFlags/cuba.svg'\nimport CY_flag from '../../../images/countriesFlags/cyprus.svg'\nimport CZ_flag from '../../../images/countriesFlags/czech-republic.svg'\nimport DK_flag from '../../../images/countriesFlags/denmark.svg'\nimport DJ_flag from '../../../images/countriesFlags/djibouti.svg'\nimport DM_flag from '../../../images/countriesFlags/dominica.svg'\nimport DO_flag from '../../../images/countriesFlags/dominican-republic.svg'\nimport EC_flag from '../../../images/countriesFlags/ecuador.svg'\nimport EG_flag from '../../../images/countriesFlags/egypt.svg'\nimport SV_flag from '../../../images/countriesFlags/salvador.svg'\nimport GQ_flag from '../../../images/countriesFlags/equatorial-guinea.svg'\nimport ER_flag from '../../../images/countriesFlags/eritrea.svg'\nimport EE_flag from '../../../images/countriesFlags/estonia.svg'\nimport ET_flag from '../../../images/countriesFlags/ethiopia.svg'\nimport FK_flag from '../../../images/countriesFlags/falkland-islands.svg'\nimport FO_flag from '../../../images/countriesFlags/faroe-islands.svg'\nimport FJ_flag from '../../../images/countriesFlags/fiji.svg'\nimport FI_flag from '../../../images/countriesFlags/finland.svg'\nimport FR_flag from '../../../images/countriesFlags/france.svg'\n// import GF_flag from '../assets/countriesFlags/french-guiana.svg'\nimport PF_flag from '../../../images/countriesFlags/french-polynesia.svg'\n// import TF_flag from '../assets/countriesFlags/french-souther-territories.svg'\nimport GA_flag from '../../../images/countriesFlags/gabon.svg'\nimport GM_flag from '../../../images/countriesFlags/gambia.svg'\nimport GE_flag from '../../../images/countriesFlags/georgia.svg'\nimport DE_flag from '../../../images/countriesFlags/germany.svg'\nimport GH_flag from '../../../images/countriesFlags/ghana.svg'\nimport GI_flag from '../../../images/countriesFlags/gibraltar.svg'\nimport GR_flag from '../../../images/countriesFlags/greece.svg'\nimport GL_flag from '../../../images/countriesFlags/greenland.svg'\nimport GD_flag from '../../../images/countriesFlags/grenada.svg'\n// import GP_flag from '../assets/countriesFlags/guadeloupe.svg'\nimport GU_flag from '../../../images/countriesFlags/guam.svg'\nimport GT_flag from '../../../images/countriesFlags/guatemala.svg'\nimport GG_flag from '../../../images/countriesFlags/guernsey.svg'\nimport GN_flag from '../../../images/countriesFlags/guinea.svg'\nimport GW_flag from '../../../images/countriesFlags/guinea.svg'\nimport GY_flag from '../../../images/countriesFlags/guyana.svg'\nimport HT_flag from '../../../images/countriesFlags/haiti.svg'\n// import HM_flag from '../assets/countriesFlags/heard.svg'\n// import VA_flag from '../assets/countriesFlags/holy.svg'\nimport HN_flag from '../../../images/countriesFlags/honduras.svg'\nimport HK_flag from '../../../images/countriesFlags/hong-kong.svg'\nimport HU_flag from '../../../images/countriesFlags/hungary.svg'\nimport IS_flag from '../../../images/countriesFlags/iceland.svg'\nimport IN_flag from '../../../images/countriesFlags/india.svg'\nimport ID_flag from '../../../images/countriesFlags/indonesia.svg'\nimport IR_flag from '../../../images/countriesFlags/iran.svg'\nimport IQ_flag from '../../../images/countriesFlags/iraq.svg'\nimport IE_flag from '../../../images/countriesFlags/ireland.svg'\nimport IM_flag from '../../../images/countriesFlags/isle-of-man.svg'\nimport IL_flag from '../../../images/countriesFlags/israel.svg'\nimport IT_flag from '../../../images/countriesFlags/italy.svg'\nimport JM_flag from '../../../images/countriesFlags/jamaica.svg'\nimport JP_flag from '../../../images/countriesFlags/japan.svg'\nimport JE_flag from '../../../images/countriesFlags/jersey.svg'\nimport JO_flag from '../../../images/countriesFlags/jordan.svg'\nimport KZ_flag from '../../../images/countriesFlags/kazakhstan.svg'\nimport KE_flag from '../../../images/countriesFlags/kenya.svg'\nimport KI_flag from '../../../images/countriesFlags/kiribati.svg'\nimport KP_flag from '../../../images/countriesFlags/north-korea.svg'\nimport KR_flag from '../../../images/countriesFlags/south-korea.svg'\nimport KW_flag from '../../../images/countriesFlags/kuwait.svg'\nimport KG_flag from '../../../images/countriesFlags/kyrgyzstan.svg'\nimport LA_flag from '../../../images/countriesFlags/laos.svg'\nimport LV_flag from '../../../images/countriesFlags/latvia.svg'\nimport LB_flag from '../../../images/countriesFlags/lebanon.svg'\nimport LS_flag from '../../../images/countriesFlags/lesotho.svg'\nimport LR_flag from '../../../images/countriesFlags/liberia.svg'\nimport LY_flag from '../../../images/countriesFlags/libya.svg'\nimport LI_flag from '../../../images/countriesFlags/liechtenstein.svg'\nimport LT_flag from '../../../images/countriesFlags/lithuania.svg'\nimport LU_flag from '../../../images/countriesFlags/luxembourg.svg'\nimport MO_flag from '../../../images/countriesFlags/macao.svg'\nimport MK_flag from '../../../images/countriesFlags/republic-of-macedonia.svg'\nimport MG_flag from '../../../images/countriesFlags/madagascar.svg'\nimport MW_flag from '../../../images/countriesFlags/malawi.svg'\nimport MY_flag from '../../../images/countriesFlags/malaysia.svg'\nimport MV_flag from '../../../images/countriesFlags/maldives.svg'\nimport ML_flag from '../../../images/countriesFlags/mali.svg'\nimport MT_flag from '../../../images/countriesFlags/malta.svg'\nimport MH_flag from '../../../images/countriesFlags/marshall-island.svg'\nimport MQ_flag from '../../../images/countriesFlags/martinique.svg'\nimport MR_flag from '../../../images/countriesFlags/mauritania.svg'\nimport MU_flag from '../../../images/countriesFlags/mauritius.svg'\n// import YT_flag from '../assets/countriesFlags/mayotte.svg'\nimport MX_flag from '../../../images/countriesFlags/mexico.svg'\nimport FM_flag from '../../../images/countriesFlags/micronesia.svg'\nimport MD_flag from '../../../images/countriesFlags/moldova.svg'\nimport MC_flag from '../../../images/countriesFlags/monaco.svg'\nimport MN_flag from '../../../images/countriesFlags/mongolia.svg'\nimport MS_flag from '../../../images/countriesFlags/montserrat.svg'\nimport MA_flag from '../../../images/countriesFlags/morocco.svg'\nimport MZ_flag from '../../../images/countriesFlags/mozambique.svg'\nimport MM_flag from '../../../images/countriesFlags/myanmar.svg'\nimport NA_flag from '../../../images/countriesFlags/namibia.svg'\nimport NR_flag from '../../../images/countriesFlags/nauru.svg'\nimport NP_flag from '../../../images/countriesFlags/nepal.svg'\nimport NL_flag from '../../../images/countriesFlags/netherlands.svg'\nimport AN_flag from '../../../images/countriesFlags/netherlands.svg'\n// import NC_flag from '../assets/countriesFlags/new.svg'\nimport NZ_flag from '../../../images/countriesFlags/new-zealand.svg'\nimport NI_flag from '../../../images/countriesFlags/nicaragua.svg'\nimport NE_flag from '../../../images/countriesFlags/niger.svg'\nimport NG_flag from '../../../images/countriesFlags/nigeria.svg'\nimport NU_flag from '../../../images/countriesFlags/niue.svg'\nimport NF_flag from '../../../images/countriesFlags/norfolk-island.svg'\nimport MP_flag from '../../../images/countriesFlags/northern-marianas-islands.svg'\nimport NO_flag from '../../../images/countriesFlags/norway.svg'\nimport OM_flag from '../../../images/countriesFlags/oman.svg'\nimport PK_flag from '../../../images/countriesFlags/pakistan.svg'\nimport PW_flag from '../../../images/countriesFlags/palau.svg'\nimport PS_flag from '../../../images/countriesFlags/palestine.svg'\nimport PA_flag from '../../../images/countriesFlags/panama.svg'\nimport PG_flag from '../../../images/countriesFlags/papua-new-guinea.svg'\nimport PY_flag from '../../../images/countriesFlags/paraguay.svg'\nimport PE_flag from '../../../images/countriesFlags/peru.svg'\nimport PH_flag from '../../../images/countriesFlags/philippines.svg'\nimport PN_flag from '../../../images/countriesFlags/pitcairn-islands.svg'\nimport PL_flag from '../../../images/countriesFlags/republic-of-poland.svg'\nimport PT_flag from '../../../images/countriesFlags/portugal.svg'\nimport PR_flag from '../../../images/countriesFlags/puerto-rico.svg'\nimport QA_flag from '../../../images/countriesFlags/qatar.svg'\n// import RE_flag from '../assets/countriesFlags/reunion.svg'\nimport RO_flag from '../../../images/countriesFlags/romania.svg'\nimport RU_flag from '../../../images/countriesFlags/russia.svg'\nimport RW_flag from '../../../images/countriesFlags/rwanda.svg'\n\n// import SH_flag from '../assets/countriesFlags/saint.svg'\nimport KN_flag from '../../../images/countriesFlags/saint-kitts-and-nevis.svg'\nimport LC_flag from '../../../images/countriesFlags/st-lucia.svg'\n// import PM_flag from '../assets/countriesFlags/saint.svg'\nimport VC_flag from '../../../images/countriesFlags/st-vincent-and-the-grenadines.svg'\nimport WS_flag from '../../../images/countriesFlags/samoa.svg'\nimport SM_flag from '../../../images/countriesFlags/san-marino.svg'\nimport ST_flag from '../../../images/countriesFlags/sao-tome-and-principe.svg'\nimport SA_flag from '../../../images/countriesFlags/saudi-arabia.svg'\nimport SN_flag from '../../../images/countriesFlags/senegal.svg'\nimport CS_flag from '../../../images/countriesFlags/serbia.svg'\nimport SC_flag from '../../../images/countriesFlags/seychelles.svg'\nimport SL_flag from '../../../images/countriesFlags/sierra-leone.svg'\nimport SG_flag from '../../../images/countriesFlags/singapore.svg'\nimport SK_flag from '../../../images/countriesFlags/slovakia.svg'\nimport SI_flag from '../../../images/countriesFlags/slovenia.svg'\nimport SB_flag from '../../../images/countriesFlags/solomon-islands.svg'\nimport SO_flag from '../../../images/countriesFlags/somalia.svg'\nimport ZA_flag from '../../../images/countriesFlags/south-africa.svg'\n// import GS_flag from '../assets/countriesFlags/south.svg'\nimport ES_flag from '../../../images/countriesFlags/spain.svg'\nimport LK_flag from '../../../images/countriesFlags/sri-lanka.svg'\nimport SD_flag from '../../../images/countriesFlags/sudan.svg'\nimport SR_flag from '../../../images/countriesFlags/suriname.svg'\n// import SJ_flag from '../assets/countriesFlags/svalbard.svg'\nimport SZ_flag from '../../../images/countriesFlags/swaziland.svg'\nimport SE_flag from '../../../images/countriesFlags/sweden.svg'\nimport CH_flag from '../../../images/countriesFlags/switzerland.svg'\nimport SY_flag from '../../../images/countriesFlags/syria.svg'\nimport TW_flag from '../../../images/countriesFlags/taiwan.svg'\nimport TJ_flag from '../../../images/countriesFlags/tajikistan.svg'\nimport TZ_flag from '../../../images/countriesFlags/tanzania.svg'\nimport TH_flag from '../../../images/countriesFlags/thailand.svg'\n// import TL_flag from '../assets/countriesFlags/timor.svg'\nimport TG_flag from '../../../images/countriesFlags/togo.svg'\nimport TK_flag from '../../../images/countriesFlags/tokelau.svg'\nimport TO_flag from '../../../images/countriesFlags/tonga.svg'\nimport TT_flag from '../../../images/countriesFlags/trinidad-and-tobago.svg'\nimport TN_flag from '../../../images/countriesFlags/tunisia.svg'\nimport TR_flag from '../../../images/countriesFlags/turkey.svg'\nimport TM_flag from '../../../images/countriesFlags/turkmenistan.svg'\nimport TC_flag from '../../../images/countriesFlags/turks-and-caicos.svg'\nimport TV_flag from '../../../images/countriesFlags/tuvalu.svg'\nimport UG_flag from '../../../images/countriesFlags/uganda.svg'\nimport UA_flag from '../../../images/countriesFlags/ukraine.svg'\nimport AE_flag from '../../../images/countriesFlags/united-arab-emirates.svg'\nimport GB_flag from '../../../images/countriesFlags/united-kingdom.svg'\nimport US_flag from '../../../images/countriesFlags/united-states-of-america.svg'\n// import UM_flag from '../assets/countriesFlags/united-states-minor-outlying-islands.svg'\nimport UY_flag from '../../../images/countriesFlags/uruguay.svg'\nimport UZ_flag from '../../../images/countriesFlags/uzbekistn.svg'\nimport VU_flag from '../../../images/countriesFlags/vanuatu.svg'\nimport VE_flag from '../../../images/countriesFlags/venezuela.svg'\nimport VN_flag from '../../../images/countriesFlags/vietnam.svg'\nimport VI_flag from '../../../images/countriesFlags/virgin-islands.svg'\nimport WF_flag from '../../../images/countriesFlags/wales.svg'\nimport EH_flag from '../../../images/countriesFlags/western-sahara.svg'\nimport YE_flag from '../../../images/countriesFlags/yemen.svg'\nimport ZM_flag from '../../../images/countriesFlags/zambia.svg'\nimport ZW_flag from '../../../images/countriesFlags/zimbabwe.svg'\n\nexport const allCountries = [\n { label: 'Afghanistan', value: 'AF', svgFlag: AF_flag, numExt: '+93' },\n { label: 'Åland Islands', value: 'AX', svgFlag: AX_flag, numExt: '+358' },\n { label: 'Albania', value: 'AL', svgFlag: AL_flag, numExt: '+355' },\n { label: 'Argelia', value: 'DZ', svgFlag: DZ_flag, numExt: '+213' },\n { label: 'American Samoa', value: 'AS', svgFlag: AS_flag, numExt: '+1684' },\n { label: 'Andorra', value: 'AD', svgFlag: AD_flag, numExt: '+376' },\n { label: 'Angola', value: 'AO', svgFlag: AO_flag, numExt: '+244' },\n { label: 'Anguilla', value: 'AI', svgFlag: AI_flag, numExt: '+1264' },\n // { label: 'Antarctica', value: 'AQ', svgFlag: AQ_flag, numExt: \"\" },\n // { label: 'Antigua and Barbuda', value: 'AG', svgFlag: AG_flag, numExt: \"\" },\n { label: 'Argentina', value: 'AR', svgFlag: AR_flag, numExt: '+54' },\n { label: 'Armenia', value: 'AM', svgFlag: AM_flag, numExt: '+374' },\n { label: 'Aruba', value: 'AW', svgFlag: AW_flag, numExt: '+297' },\n { label: 'Australia', value: 'AU', svgFlag: AU_flag, numExt: '+61' },\n { label: 'Austria', value: 'AT', svgFlag: AT_flag, numExt: '+43' },\n { label: 'Azerbaijan', value: 'AZ', svgFlag: AZ_flag, numExt: '+994' },\n { label: 'Bahamas', value: 'BS', svgFlag: BS_flag, numExt: '+1242' },\n { label: 'Bahrain', value: 'BH', svgFlag: BH_flag, numExt: '+973' },\n { label: 'Bangladesh', value: 'BD', svgFlag: BD_flag, numExt: '+880' },\n { label: 'Barbados', value: 'BB', svgFlag: BB_flag, numExt: '+1246' },\n { label: 'Belarus', value: 'BY', svgFlag: BY_flag, numExt: '+375' },\n { label: 'Belgium', value: 'BE', svgFlag: BE_flag, numExt: '+32' },\n { label: 'Belize', value: 'BZ', svgFlag: BZ_flag, numExt: '+501' },\n { label: 'Benin', value: 'BJ', svgFlag: BJ_flag, numExt: '+229' },\n { label: 'Bermuda', value: 'BM', svgFlag: BM_flag, numExt: '+1441' },\n { label: 'Bhutan', value: 'BT', svgFlag: BT_flag, numExt: '+975' },\n { label: 'Bolivia', value: 'BO', svgFlag: BO_flag, numExt: '+591' },\n { label: 'Bosnia and Herzegovina', value: 'BA', svgFlag: BA_flag, numExt: '+387' },\n { label: 'Botswana', value: 'BW', svgFlag: BW_flag, numExt: '+267' },\n // { label: 'Bouvet Island', value: 'BV', svgFlag: BV_flag, numExt: \"\" },\n { label: 'Brazil', value: 'BR', svgFlag: BR_flag, numExt: '+55' },\n { label: 'British Indian Ocean Territory', value: 'IO', svgFlag: IO_flag, numExt: '+246' },\n { label: 'Brunei Darussalam', value: 'BN', svgFlag: BN_flag, numExt: '+673' },\n { label: 'Bulgaria', value: 'BG', svgFlag: BG_flag, numExt: '+359' },\n { label: 'Burkina Faso', value: 'BF', svgFlag: BF_flag, numExt: '+226' },\n { label: 'Burundi', value: 'BI', svgFlag: BI_flag, numExt: '+257' },\n { label: 'Cambodia', value: 'KH', svgFlag: KH_flag, numExt: '+855' },\n { label: 'Cameroon', value: 'CM', svgFlag: CM_flag, numExt: '+237' },\n { label: 'Canada', value: 'CA', svgFlag: CA_flag, numExt: '+1' },\n { label: 'Cape Verde', value: 'CV', svgFlag: CV_flag, numExt: '+238' },\n { label: 'Cayman Islands', value: 'KY', svgFlag: KY_flag, numExt: '+345' },\n { label: 'Central African Republic', value: 'CF', svgFlag: CF_flag, numExt: '+236' },\n { label: 'Chad', value: 'TD', svgFlag: TD_flag, numExt: '+235' },\n { label: 'Chile', value: 'CL', svgFlag: CL_flag, numExt: '+56' },\n { label: 'China', value: 'CN', svgFlag: CN_flag, numExt: '+86' },\n { label: 'Christmas Island', value: 'CX', svgFlag: CX_flag, numExt: '+61' },\n { label: 'Cocos (Keeling) Islands', value: 'CC', svgFlag: CC_flag, numExt: '+61' },\n { label: 'Colombia', value: 'CO', svgFlag: CO_flag, numExt: '+57' },\n { label: 'Comoros', value: 'KM', svgFlag: KM_flag, numExt: '+269' },\n { label: 'Congo', value: 'CG', svgFlag: CG_flag, numExt: '+242' },\n { label: 'Congo, The Democratic Republic of the', value: 'CD', svgFlag: CD_flag, numExt: '+243' },\n { label: 'Cook Islands', value: 'CK', svgFlag: CK_flag, numExt: '+682' },\n { label: 'Costa Rica', value: 'CR', svgFlag: CR_flag, numExt: '+506' },\n // { label: \"Cote D'Ivoire\", value: 'CI', svgFlag: CI_flag, numExt: \"\" },\n { label: 'Croatia', value: 'HR', svgFlag: HR_flag, numExt: '+385' },\n { label: 'Cuba', value: 'CU', svgFlag: CU_flag, numExt: '+53' },\n { label: 'Cyprus', value: 'CY', svgFlag: CY_flag, numExt: '+537' },\n { label: 'Czech Republic', value: 'CZ', svgFlag: CZ_flag, numExt: '+420' },\n { label: 'Denmark', value: 'DK', svgFlag: DK_flag, numExt: '+45' },\n { label: 'Djibouti', value: 'DJ', svgFlag: DJ_flag, numExt: '+253' },\n { label: 'Dominica', value: 'DM', svgFlag: DM_flag, numExt: '+1767' },\n { label: 'Dominican Republic', value: 'DO', svgFlag: DO_flag, numExt: '+1849' },\n { label: 'Ecuador', value: 'EC', svgFlag: EC_flag, numExt: '+593' },\n { label: 'Egypt', value: 'EG', svgFlag: EG_flag, numExt: '+20' },\n { label: 'El Salvador', value: 'SV', svgFlag: SV_flag, numExt: '+503' },\n { label: 'Equatorial Guinea', value: 'GQ', svgFlag: GQ_flag, numExt: '+240' },\n { label: 'Eritrea', value: 'ER', svgFlag: ER_flag, numExt: '+291' },\n { label: 'Estonia', value: 'EE', svgFlag: EE_flag, numExt: '+372' },\n { label: 'Ethiopia', value: 'ET', svgFlag: ET_flag, numExt: '+251' },\n { label: 'Falkland Islands (Malvinas)', value: 'FK', svgFlag: FK_flag, numExt: '+500' },\n { label: 'Faroe Islands', value: 'FO', svgFlag: FO_flag, numExt: '+298' },\n { label: 'Fiji', value: 'FJ', svgFlag: FJ_flag, numExt: '+679' },\n { label: 'Finland', value: 'FI', svgFlag: FI_flag, numExt: '+358' },\n { label: 'France', value: 'FR', svgFlag: FR_flag, numExt: '+33' },\n // { label: 'French Guiana', value: 'GF', svgFlag: GF_flag, numExt: \"\" },\n { label: 'French Polynesia', value: 'PF', svgFlag: PF_flag, numExt: '+689' },\n // { label: 'French Southern Territories', value: 'TF', svgFlag: TF_flag, numExt: \"\" },\n { label: 'Gabon', value: 'GA', svgFlag: GA_flag, numExt: '+241' },\n { label: 'Gambia', value: 'GM', svgFlag: GM_flag, numExt: '+220' },\n { label: 'Georgia', value: 'GE', svgFlag: GE_flag, numExt: '+995' },\n { label: 'Germany', value: 'DE', svgFlag: DE_flag, numExt: '+49' },\n { label: 'Ghana', value: 'GH', svgFlag: GH_flag, numExt: '+233' },\n { label: 'Gibraltar', value: 'GI', svgFlag: GI_flag, numExt: '+350' },\n { label: 'Greece', value: 'GR', svgFlag: GR_flag, numExt: '+30' },\n { label: 'Greenland', value: 'GL', svgFlag: GL_flag, numExt: '+299' },\n { label: 'Grenada', value: 'GD', svgFlag: GD_flag, numExt: '+1473' },\n // { label: 'Guadeloupe', value: 'GP', svgFlag: GP_flag, numExt: \"\" },\n { label: 'Guam', value: 'GU', svgFlag: GU_flag, numExt: '+1671' },\n { label: 'Guatemala', value: 'GT', svgFlag: GT_flag, numExt: '+502' },\n { label: 'Guernsey', value: 'GG', svgFlag: GG_flag, numExt: '+44' },\n { label: 'Guinea', value: 'GN', svgFlag: GN_flag, numExt: '+224' },\n { label: 'Guinea-Bissau', value: 'GW', svgFlag: GW_flag, numExt: '+245' },\n { label: 'Guyana', value: 'GY', svgFlag: GY_flag, numExt: '+595' },\n { label: 'Haiti', value: 'HT', svgFlag: HT_flag, numExt: '+509' },\n // { label: 'Heard Island and Mcdonald Islands', value: 'HM', svgFlag: HM_flag, numExt: \"\" },\n // { label: 'Holy See (Vatican City State)', value: 'VA', svgFlag: VA_flag, numExt: \"\" },\n { label: 'Honduras', value: 'HN', svgFlag: HN_flag, numExt: '+504' },\n { label: 'Hong Kong', value: 'HK', svgFlag: HK_flag, numExt: '+852' },\n { label: 'Hungary', value: 'HU', svgFlag: HU_flag, numExt: '+36' },\n { label: 'Iceland', value: 'IS', svgFlag: IS_flag, numExt: '+354' },\n { label: 'India', value: 'IN', svgFlag: IN_flag, numExt: '+91' },\n { label: 'Indonesia', value: 'ID', svgFlag: ID_flag, numExt: '+62' },\n { label: 'Iran, Islamic Republic Of', value: 'IR', svgFlag: IR_flag, numExt: '+98' },\n { label: 'Iraq', value: 'IQ', svgFlag: IQ_flag, numExt: '+964' },\n { label: 'Ireland', value: 'IE', svgFlag: IE_flag, numExt: '+353' },\n { label: 'Isle of Man', value: 'IM', svgFlag: IM_flag, numExt: '+44' },\n { label: 'Israel', value: 'IL', svgFlag: IL_flag, numExt: '+972' },\n { label: 'Italy', value: 'IT', svgFlag: IT_flag, numExt: '+39' },\n { label: 'Jamaica', value: 'JM', svgFlag: JM_flag, numExt: '+1876' },\n { label: 'Japan', value: 'JP', svgFlag: JP_flag, numExt: '+81' },\n { label: 'Jersey', value: 'JE', svgFlag: JE_flag, numExt: '+44' },\n { label: 'Jordan', value: 'JO', svgFlag: JO_flag, numExt: '+962' },\n { label: 'Kazakhstan', value: 'KZ', svgFlag: KZ_flag, numExt: '+7' },\n { label: 'Kenya', value: 'KE', svgFlag: KE_flag, numExt: '+254' },\n { label: 'Kiribati', value: 'KI', svgFlag: KI_flag, numExt: '+686' },\n {\n label: \"Korea, Democratic People'S Republic of\",\n value: 'KP',\n svgFlag: KP_flag,\n numExt: '+850'\n },\n { label: 'Korea, Republic of', value: 'KR', svgFlag: KR_flag, numExt: '+82' },\n { label: 'Kuwait', value: 'KW', svgFlag: KW_flag, numExt: '+965' },\n { label: 'Kyrgyzstan', value: 'KG', svgFlag: KG_flag, numExt: '+996' },\n { label: \"Lao People'S Democratic Republic\", value: 'LA', svgFlag: LA_flag, numExt: '+856' },\n { label: 'Latvia', value: 'LV', svgFlag: LV_flag, numExt: '+371' },\n { label: 'Lebanon', value: 'LB', svgFlag: LB_flag, numExt: '+961' },\n { label: 'Lesotho', value: 'LS', svgFlag: LS_flag, numExt: '+266' },\n { label: 'Liberia', value: 'LR', svgFlag: LR_flag, numExt: '+231' },\n { label: 'Libyan Arab Jamahiriya', value: 'LY', svgFlag: LY_flag, numExt: '+218' },\n { label: 'Liechtenstein', value: 'LI', svgFlag: LI_flag, numExt: '+423' },\n { label: 'Lithuania', value: 'LT', svgFlag: LT_flag, numExt: '+370' },\n { label: 'Luxembourg', value: 'LU', svgFlag: LU_flag, numExt: '+352' },\n { label: 'Macao', value: 'MO', svgFlag: MO_flag, numExt: '+853' },\n {\n label: 'Macedonia, The Former Yugoslav Republic of',\n value: 'MK',\n svgFlag: MK_flag,\n numExt: '+389'\n },\n { label: 'Madagascar', value: 'MG', svgFlag: MG_flag, numExt: '+261' },\n { label: 'Malawi', value: 'MW', svgFlag: MW_flag, numExt: '+265' },\n { label: 'Malaysia', value: 'MY', svgFlag: MY_flag, numExt: '+60' },\n { label: 'Maldives', value: 'MV', svgFlag: MV_flag, numExt: '+960' },\n { label: 'Mali', value: 'ML', svgFlag: ML_flag, numExt: '+223' },\n { label: 'Malta', value: 'MT', svgFlag: MT_flag, numExt: '+356' },\n { label: 'Marshall Islands', value: 'MH', svgFlag: MH_flag, numExt: '+692' },\n { label: 'Martinique', value: 'MQ', svgFlag: MQ_flag, numExt: '+596' },\n { label: 'Mauritania', value: 'MR', svgFlag: MR_flag, numExt: '+222' },\n { label: 'Mauritius', value: 'MU', svgFlag: MU_flag, numExt: '+230' },\n // { label: 'Mayotte', value: 'YT', svgFlag: YT_flag, numExt: \"\" },\n { label: 'Mexico', value: 'MX', svgFlag: MX_flag, numExt: '+52' },\n { label: 'Micronesia, Federated States of', value: 'FM', svgFlag: FM_flag, numExt: '+691' },\n { label: 'Moldova, Republic of', value: 'MD', svgFlag: MD_flag, numExt: '+373' },\n { label: 'Monaco', value: 'MC', svgFlag: MC_flag, numExt: '+377' },\n { label: 'Mongolia', value: 'MN', svgFlag: MN_flag, numExt: '+976' },\n { label: 'Montserrat', value: 'MS', svgFlag: MS_flag, numExt: '+1664' },\n { label: 'Morocco', value: 'MA', svgFlag: MA_flag, numExt: '+212' },\n { label: 'Mozambique', value: 'MZ', svgFlag: MZ_flag, numExt: '+258' },\n { label: 'Myanmar', value: 'MM', svgFlag: MM_flag, numExt: '+95' },\n { label: 'Namibia', value: 'NA', svgFlag: NA_flag, numExt: '+264' },\n { label: 'Nauru', value: 'NR', svgFlag: NR_flag, numExt: '+674' },\n { label: 'Nepal', value: 'NP', svgFlag: NP_flag, numExt: '+977' },\n { label: 'Netherlands', value: 'NL', svgFlag: NL_flag, numExt: '+31' },\n { label: 'Netherlands Antilles', value: 'AN', svgFlag: AN_flag, numExt: '+599' },\n // { label: 'New Caledonia', value: 'NC', svgFlag: NC_flag, numExt: \"\" },\n { label: 'New Zealand', value: 'NZ', svgFlag: NZ_flag, numExt: '+64' },\n { label: 'Nicaragua', value: 'NI', svgFlag: NI_flag, numExt: '+505' },\n { label: 'Niger', value: 'NE', svgFlag: NE_flag, numExt: '+227' },\n { label: 'Nigeria', value: 'NG', svgFlag: NG_flag, numExt: '+234' },\n { label: 'Niue', value: 'NU', svgFlag: NU_flag, numExt: '+683' },\n { label: 'Norfolk Island', value: 'NF', svgFlag: NF_flag, numExt: '+672' },\n { label: 'Northern Mariana Islands', value: 'MP', svgFlag: MP_flag, numExt: '+1670' },\n { label: 'Norway', value: 'NO', svgFlag: NO_flag, numExt: '+47' },\n { label: 'Oman', value: 'OM', svgFlag: OM_flag, numExt: '+968' },\n { label: 'Pakistan', value: 'PK', svgFlag: PK_flag, numExt: '+92' },\n { label: 'Palau', value: 'PW', svgFlag: PW_flag, numExt: '+680' },\n { label: 'Palestinian Territory, Occupied', value: 'PS', svgFlag: PS_flag, numExt: '+970' },\n { label: 'Panama', value: 'PA', svgFlag: PA_flag, numExt: '+507' },\n { label: 'Papua New Guinea', value: 'PG', svgFlag: PG_flag, numExt: '+675' },\n { label: 'Paraguay', value: 'PY', svgFlag: PY_flag, numExt: '+595' },\n { label: 'Peru', value: 'PE', svgFlag: PE_flag, numExt: '+51' },\n { label: 'Philippines', value: 'PH', svgFlag: PH_flag, numExt: '+63' },\n { label: 'Pitcairn', value: 'PN', svgFlag: PN_flag, numExt: '+872' },\n { label: 'Poland', value: 'PL', svgFlag: PL_flag, numExt: '+48' },\n { label: 'Portugal', value: 'PT', svgFlag: PT_flag, numExt: '+351' },\n { label: 'Puerto Rico', value: 'PR', svgFlag: PR_flag, numExt: '+1939' },\n { label: 'Qatar', value: 'QA', svgFlag: QA_flag, numExt: '+974' },\n // { label: 'Reunion', value: 'RE', svgFlag: RE_flag, numExt: \"\" },\n { label: 'Romania', value: 'RO', svgFlag: RO_flag, numExt: '+40' },\n { label: 'Russian Federation', value: 'RU', svgFlag: RU_flag, numExt: '+7' },\n { label: 'Rwanda', value: 'RW', svgFlag: RW_flag, numExt: '+250' },\n // { label: 'Saint Helena', value: 'SH', svgFlag: SH_flag, numExt: \"\" },\n { label: 'Saint Kitts and Nevis', value: 'KN', svgFlag: KN_flag, numExt: '+1869' },\n { label: 'Saint Lucia', value: 'LC', svgFlag: LC_flag, numExt: '+1758' },\n // { label: 'Saint Pierre and Miquelon', value: 'PM', svgFlag: PM_flag, numExt: \"\" },\n { label: 'Saint Vincent and the Grenadines', value: 'VC', svgFlag: VC_flag, numExt: '+1784' },\n { label: 'Samoa', value: 'WS', svgFlag: WS_flag, numExt: '+685' },\n { label: 'San Marino', value: 'SM', svgFlag: SM_flag, numExt: '+378' },\n { label: 'Sao Tome and Principe', value: 'ST', svgFlag: ST_flag, numExt: '+239' },\n { label: 'Saudi Arabia', value: 'SA', svgFlag: SA_flag, numExt: '+966' },\n { label: 'Senegal', value: 'SN', svgFlag: SN_flag, numExt: '+221' },\n { label: 'Serbia and Montenegro', value: 'CS', svgFlag: CS_flag, numExt: '+381' },\n { label: 'Seychelles', value: 'SC', svgFlag: SC_flag, numExt: '+248' },\n { label: 'Sierra Leone', value: 'SL', svgFlag: SL_flag, numExt: '+232' },\n { label: 'Singapore', value: 'SG', svgFlag: SG_flag, numExt: '+65' },\n { label: 'Slovakia', value: 'SK', svgFlag: SK_flag, numExt: '+421' },\n { label: 'Slovenia', value: 'SI', svgFlag: SI_flag, numExt: '+386' },\n { label: 'Solomon Islands', value: 'SB', svgFlag: SB_flag, numExt: '+677' },\n { label: 'Somalia', value: 'SO', svgFlag: SO_flag, numExt: '+252' },\n { label: 'South Africa', value: 'ZA', svgFlag: ZA_flag, numExt: '+27' },\n // { label: 'South Georgia and the South Sandwich Islands', value: 'GS', svgFlag: GS_flag, numExt: \"\" },\n { label: 'Spain', value: 'ES', svgFlag: ES_flag, numExt: '+34' },\n { label: 'Sri Lanka', value: 'LK', svgFlag: LK_flag, numExt: '+94' },\n { label: 'Sudan', value: 'SD', svgFlag: SD_flag, numExt: '+249' },\n { label: 'Suriname', value: 'SR', svgFlag: SR_flag, numExt: '+597' },\n // { label: 'Svalbard and Jan Mayen', value: 'SJ', svgFlag: SJ_flag, numExt: \"\" },\n { label: 'Swaziland', value: 'SZ', svgFlag: SZ_flag, numExt: '+268' },\n { label: 'Sweden', value: 'SE', svgFlag: SE_flag, numExt: '+46' },\n { label: 'Switzerland', value: 'CH', svgFlag: CH_flag, numExt: '+41' },\n { label: 'Syrian Arab Republic', value: 'SY', svgFlag: SY_flag, numExt: '+963' },\n { label: 'Taiwan, Province of China', value: 'TW', svgFlag: TW_flag, numExt: '+886' },\n { label: 'Tajikistan', value: 'TJ', svgFlag: TJ_flag, numExt: '+992' },\n { label: 'Tanzania, United Republic of', value: 'TZ', svgFlag: TZ_flag, numExt: '+255' },\n { label: 'Thailand', value: 'TH', svgFlag: TH_flag, numExt: '+66' },\n // { label: 'Timor-Leste', value: 'TL', svgFlag: TL_flag, numExt: \"\" },\n { label: 'Togo', value: 'TG', svgFlag: TG_flag, numExt: '+228' },\n { label: 'Tokelau', value: 'TK', svgFlag: TK_flag, numExt: '+690' },\n { label: 'Tonga', value: 'TO', svgFlag: TO_flag, numExt: '+676' },\n { label: 'Trinidad and Tobago', value: 'TT', svgFlag: TT_flag, numExt: '+1868' },\n { label: 'Tunisia', value: 'TN', svgFlag: TN_flag, numExt: '+216' },\n { label: 'Turkey', value: 'TR', svgFlag: TR_flag, numExt: '+90' },\n { label: 'Turkmenistan', value: 'TM', svgFlag: TM_flag, numExt: '+993' },\n { label: 'Turks and Caicos Islands', value: 'TC', svgFlag: TC_flag, numExt: '+1649' },\n { label: 'Tuvalu', value: 'TV', svgFlag: TV_flag, numExt: '+688' },\n { label: 'Uganda', value: 'UG', svgFlag: UG_flag, numExt: '+256' },\n { label: 'Ukraine', value: 'UA', svgFlag: UA_flag, numExt: '+380' },\n { label: 'United Arab Emirates', value: 'AE', svgFlag: AE_flag, numExt: '+971' },\n { label: 'United Kingdom', value: 'GB', svgFlag: GB_flag, numExt: '+44' },\n { label: 'United States', value: 'US', svgFlag: US_flag, numExt: '+1' },\n // { label: 'United States Minor Outlying Islands', value: 'UM', svgFlag: UM_flag, numExt: \"\" },\n { label: 'Uruguay', value: 'UY', svgFlag: UY_flag, numExt: '+598' },\n { label: 'Uzbekistan', value: 'UZ', svgFlag: UZ_flag, numExt: '+998' },\n { label: 'Vanuatu', value: 'VU', svgFlag: VU_flag, numExt: '+678' },\n { label: 'Venezuela', value: 'VE', svgFlag: VE_flag, numExt: '+58' },\n { label: 'Vietnam', value: 'VN', svgFlag: VN_flag, numExt: '+84' },\n // { label: 'Virgin Islands, British', value: 'VG', svgFlag: VG_flag, numExt: \"\" },\n { label: 'Virgin Islands, U.S.', value: 'VI', svgFlag: VI_flag, numExt: '+1284' },\n { label: 'Wallis and Futuna', value: 'WF', svgFlag: WF_flag, numExt: '+681' },\n { label: 'Western Sahara', value: 'EH', svgFlag: EH_flag, numExt: '+212' },\n { label: 'Yemen', value: 'YE', svgFlag: YE_flag, numExt: '+967' },\n { label: 'Zambia', value: 'ZM', svgFlag: ZM_flag, numExt: '+260' },\n { label: 'Zimbabwe', value: 'ZW', svgFlag: ZW_flag, numExt: '+263' }\n]\n","export default __webpack_public_path__ + \"static/media/new-zealand.b926f2ef.svg\";","export default __webpack_public_path__ + \"static/media/nicaragua.b3cf1bbd.svg\";","export default __webpack_public_path__ + \"static/media/niger.9cc90ff7.svg\";","export default __webpack_public_path__ + \"static/media/nigeria.5677786f.svg\";","export default __webpack_public_path__ + \"static/media/niue.e38150a0.svg\";","export default __webpack_public_path__ + \"static/media/norfolk-island.5cc2afbe.svg\";","export default __webpack_public_path__ + \"static/media/northern-marianas-islands.4e354998.svg\";","export default __webpack_public_path__ + \"static/media/norway.6db693ee.svg\";","export default __webpack_public_path__ + \"static/media/oman.8d4cc245.svg\";","export default __webpack_public_path__ + \"static/media/pakistan.46cbcf05.svg\";","export default __webpack_public_path__ + \"static/media/palau.9420fc14.svg\";","export default __webpack_public_path__ + \"static/media/palestine.6437c314.svg\";","export default __webpack_public_path__ + \"static/media/panama.bbdd60a3.svg\";","export default __webpack_public_path__ + \"static/media/papua-new-guinea.7cda0dfa.svg\";","export default __webpack_public_path__ + \"static/media/paraguay.3cd4a427.svg\";","export default __webpack_public_path__ + \"static/media/peru.facad627.svg\";","export default __webpack_public_path__ + \"static/media/philippines.c948cbbc.svg\";","export default __webpack_public_path__ + \"static/media/pitcairn-islands.0fe47089.svg\";","export default __webpack_public_path__ + \"static/media/republic-of-poland.2fb54a0f.svg\";","export default __webpack_public_path__ + \"static/media/portugal.6d40581d.svg\";","export default __webpack_public_path__ + \"static/media/puerto-rico.e92e3a34.svg\";","export default __webpack_public_path__ + \"static/media/qatar.ae010674.svg\";","export default __webpack_public_path__ + \"static/media/romania.f872b54d.svg\";","export default __webpack_public_path__ + \"static/media/russia.8e2dcc8d.svg\";","export default __webpack_public_path__ + \"static/media/rwanda.5336a698.svg\";","export default __webpack_public_path__ + \"static/media/saint-kitts-and-nevis.dc59e629.svg\";","export default __webpack_public_path__ + \"static/media/st-lucia.e18c7675.svg\";","export default __webpack_public_path__ + \"static/media/st-vincent-and-the-grenadines.b71a3032.svg\";","export default __webpack_public_path__ + \"static/media/samoa.e92ec5fa.svg\";","export default __webpack_public_path__ + \"static/media/san-marino.31155508.svg\";","export default __webpack_public_path__ + \"static/media/sao-tome-and-principe.230f6be4.svg\";","export default __webpack_public_path__ + \"static/media/saudi-arabia.f5f84c51.svg\";","export default __webpack_public_path__ + \"static/media/senegal.9d9b83f4.svg\";","export default __webpack_public_path__ + \"static/media/serbia.a87368f7.svg\";","export default __webpack_public_path__ + \"static/media/seychelles.07bb6b9b.svg\";","export default __webpack_public_path__ + \"static/media/sierra-leone.5a145366.svg\";","export default __webpack_public_path__ + \"static/media/singapore.f7c365a4.svg\";","export default __webpack_public_path__ + \"static/media/slovakia.2fb724d5.svg\";","export default __webpack_public_path__ + \"static/media/slovenia.3ee402ed.svg\";","export default __webpack_public_path__ + \"static/media/solomon-islands.09036595.svg\";","export default __webpack_public_path__ + \"static/media/somalia.95d3326a.svg\";","export default __webpack_public_path__ + \"static/media/south-africa.ee7343a2.svg\";","export default __webpack_public_path__ + \"static/media/spain.1f934d46.svg\";","export default __webpack_public_path__ + \"static/media/sri-lanka.d19c0fb3.svg\";","export default __webpack_public_path__ + \"static/media/sudan.3a0a09e9.svg\";","export default __webpack_public_path__ + \"static/media/suriname.47934a86.svg\";","export default __webpack_public_path__ + \"static/media/swaziland.d9b6aa3c.svg\";","export default __webpack_public_path__ + \"static/media/sweden.33c81cf6.svg\";","export default __webpack_public_path__ + \"static/media/switzerland.36af5e5e.svg\";","export default __webpack_public_path__ + \"static/media/syria.281a9923.svg\";","export default __webpack_public_path__ + \"static/media/taiwan.3cda2c7c.svg\";","export default __webpack_public_path__ + \"static/media/tajikistan.114b6368.svg\";","export default __webpack_public_path__ + \"static/media/tanzania.8b90f07b.svg\";","export default __webpack_public_path__ + \"static/media/thailand.0791923b.svg\";","export default __webpack_public_path__ + \"static/media/togo.a3a17dbd.svg\";","export default __webpack_public_path__ + \"static/media/tokelau.242aa8da.svg\";","export default __webpack_public_path__ + \"static/media/tonga.970a9832.svg\";","export default __webpack_public_path__ + \"static/media/trinidad-and-tobago.726cdae3.svg\";","export default __webpack_public_path__ + \"static/media/tunisia.6cd968f2.svg\";","export default __webpack_public_path__ + \"static/media/turkey.654da20f.svg\";","export default __webpack_public_path__ + \"static/media/turkmenistan.3231a0ba.svg\";","export default __webpack_public_path__ + \"static/media/turks-and-caicos.c99b9b4b.svg\";","export default __webpack_public_path__ + \"static/media/tuvalu.7da7a8ba.svg\";","export default __webpack_public_path__ + \"static/media/uganda.c89415ff.svg\";","export default __webpack_public_path__ + \"static/media/ukraine.f837fc7d.svg\";","export default __webpack_public_path__ + \"static/media/united-arab-emirates.bc33e42c.svg\";","export default __webpack_public_path__ + \"static/media/united-kingdom.70e4e37f.svg\";","export default __webpack_public_path__ + \"static/media/united-states-of-america.923a5cc9.svg\";","export default __webpack_public_path__ + \"static/media/uruguay.c2a9d604.svg\";","export default __webpack_public_path__ + \"static/media/uzbekistn.ba3f3cf2.svg\";","export default __webpack_public_path__ + \"static/media/vanuatu.c935bbf5.svg\";","export default __webpack_public_path__ + \"static/media/venezuela.d01fcd29.svg\";","export default __webpack_public_path__ + \"static/media/vietnam.02a173af.svg\";","export default __webpack_public_path__ + \"static/media/virgin-islands.48479a1a.svg\";","export default __webpack_public_path__ + \"static/media/wales.8ab22d29.svg\";","export default __webpack_public_path__ + \"static/media/western-sahara.c1e466e7.svg\";","export default __webpack_public_path__ + \"static/media/yemen.3ac11834.svg\";","export default __webpack_public_path__ + \"static/media/zambia.c72ee68d.svg\";","export default __webpack_public_path__ + \"static/media/zimbabwe.a879ab0e.svg\";","export default __webpack_public_path__ + \"static/media/mexico.5ff57154.svg\";","export default __webpack_public_path__ + \"static/media/peru.facad627.svg\";","export default __webpack_public_path__ + \"static/media/colombia.c55bf57c.svg\";","export default __webpack_public_path__ + \"static/media/united-states-of-america.923a5cc9.svg\";","export default __webpack_public_path__ + \"static/media/canada.7a52d60f.svg\";","import MexicoSvg from '../../../images/images/mexico.svg'\nimport PeruSvg from '../../../images/images/peru.svg'\nimport ColombiaSvg from '../../../images/images/colombia.svg'\nimport USSvg from '../../../images/images/united-states-of-america.svg'\nimport CanadaSvg from '../../../images/images/canada.svg'\n\nconst CountriesSettings = new Map([])\n\nCountriesSettings.set('MX', {\n Name: 'México',\n SvgFlag: MexicoSvg,\n Currency: 'mxn',\n Language: 'es',\n PhoneExtension: '+52',\n PostalCodesLength: 4,\n AllowedParcels: [\n 'estafeta',\n 'mensajerosUrbanos',\n 'noventa9Minutos',\n 'quiken',\n 'fedex',\n 'dhl',\n 'redpack',\n 'carssa',\n 'scm',\n 'sendex',\n 'ampm',\n 'ivoy',\n 'paquetexpress',\n // 'tracusa',\n 'uber',\n 'ups',\n 'vencedor',\n 'jtexpress',\n 'borzo',\n 'tresguerras',\n 'treggo',\n 'pickit'\n ],\n StoreTabImages: [],\n TopUpRechargeComponents: [],\n FormExtraFields: {}\n})\n\nCountriesSettings.set('PE', {\n Name: 'Perú',\n SvgFlag: PeruSvg,\n Currency: 'pen',\n Language: 'es',\n PhoneExtension: '+51',\n PostalCodesLength: 4,\n AllowedParcels: [\n 'estafeta',\n 'mensajerosUrbanos',\n 'noventa9Minutos',\n 'quiken',\n 'fedex',\n 'dhl',\n 'redpack',\n 'carssa',\n 'scm',\n 'sendex',\n 'ampm',\n 'ivoy',\n 'paquetexpress',\n // 'tracusa',\n 'uber',\n 'ups',\n 'vencedor',\n 'jtexpress',\n 'borzo',\n 'tresguerras',\n 'treggo',\n 'pickit'\n ],\n StoreTabImages: [],\n TopUpRechargeComponents: [],\n FormExtraFields: {}\n})\n\nCountriesSettings.set('CO', {\n Name: 'Colombia',\n SvgFlag: ColombiaSvg,\n Currency: 'cop',\n Language: 'es',\n PhoneExtension: '+57',\n PostalCodesLength: 6,\n AllowedParcels: [\n 'fedex',\n 'dhl',\n 'ivoy',\n 'mensajerosUrbanos',\n 'noventa9Minutos',\n 'aExpress',\n 'coordinadora',\n 'redServi',\n 'serviEntrega',\n 'deprisa',\n 'interrapidisimo',\n 'moova',\n 'picap'\n ],\n StoreTabImages: [],\n TopUpRechargeComponents: [],\n FormExtraFields: {}\n})\n\nCountriesSettings.set('PE', {\n Name: 'peru',\n SvgFlag: PeruSvg,\n Currency: 'pen',\n Language: 'es',\n PhoneExtension: '+51',\n PostalCodesLength: 6,\n AllowedParcels: [\n 'olva', 'nirex'\n ],\n StoreTabImages: [],\n TopUpRechargeComponents: [],\n FormExtraFields: {}\n})\n\nCountriesSettings.set('US', {\n Name: 'United States',\n SvgFlag: USSvg,\n Currency: 'usd',\n Language: 'en',\n PhoneExtension: '+1',\n PostalCodesLength: 5,\n AllowedParcels: ['fedex', 'dhl', 'ups'],\n StoreTabImages: [],\n TopUpRechargeComponents: []\n})\n\nCountriesSettings.set('CA', {\n Name: 'Canada',\n SvgFlag: CanadaSvg,\n Currency: 'usd',\n Language: 'es',\n PhoneExtension: '+1',\n PostalCodesLength: 6,\n AllowedParcels: ['fedex', 'dhl', 'ups'],\n StoreTabImages: [],\n TopUpRechargeComponents: []\n})\n\nconst MapableCountriesSettings = []\nCountriesSettings.forEach((countryData, key) => MapableCountriesSettings.push([key, countryData]))\n\nexport { CountriesSettings, MapableCountriesSettings }\n","import React, { useContext, useEffect, useState, useRef } from 'react'\n// import { StateProps } from '../../constants/CountrySettings/countriesTypes'\nimport { allCountries } from '../countrySettings/allCountries'\n// import { FormInstance } from 'antd'\nimport axios from 'axios'\nimport { Form, Select, Row, Col, notification, Input } from 'antd'\nimport { MapableCountriesSettings } from '../countrySettings/countriesSettings'\nimport { CountriesContext } from '../../../context/CountriesContext'\n// import {\n// fetchedAddressesData,\n// fetchedPostalCodesData,\n// InputReturnData\n// } from '../../interfaces/directions.interfaces'\nimport {\n LoadingOutlined,\n SearchOutlined,\n UpCircleOutlined,\n CloseOutlined,\n NumberOutlined\n} from '@ant-design/icons'\n// import { ApiContext } from '../../context/apiContext'\n\nconst InputCountriesContainer = (inputProps) => {\n // Global State and Variables\n// const { backendApiCall } = useContext(ApiContext)\n const { Search } = Input\n const { Option } = Select\n let inputTypingTimer\n const { currentSelectedCountry } = useContext(CountriesContext)\n const [countrySelected, setCountrySelected] = useState(\n inputProps.initialCountry2DigitCode\n ? inputProps.initialCountry2DigitCode\n : currentSelectedCountry\n )\n\n // Data Container Variables for States and Directions\n const [fetchedStates, setFetchedStates] = useState([])\n useState(undefined)\n const [fetchedDirections, setFetchedDirections] = useState({\n fullData: [],\n optimizedData: []\n })\n const [fetchedPostalCodes, setFetchedPostalCodes] = useState({\n fullData: {\n zip_code: '',\n country: {},\n state: {\n code: {}\n },\n locality: '',\n suburbs: [],\n coordinates: {},\n info: {},\n regions: {}\n },\n optimizedData: []\n })\n const [fetchedFavoriteAddresses, setFetchedFavoriteAddresses] = useState({\n fullData: [],\n optimizedData: []\n })\n // Drawers State Variable Managers\n const [drawerState, setDrawerState] = useState('Closed')\n const [innerListsState, setInnerListsState] = useState({\n postalCodes: 'Closed',\n userAddresses: 'Closed'\n })\n // Variable para validar si se selecciono el CP escrito\n const [onlyCp, setOnlyCp] = useState(false)\n\n // Text Input and Loading Fetch Variables\n const [inputedText, setInputedText] = useState(undefined)\n const [optionSelected, setOptionSelected] = useState(undefined)\n const [loadingStates, setLoadingStates] = useState({\n postalCodes: 'Init',\n userAddresses: 'Init',\n userFavoriteAddresses: 'Init'\n })\n\n //Cambio de label a valor (Input Countries)\n const [selectedValue, setSelectedValue] = useState('MX')\n\n const fetchUserAddresses = async (wordToFilter) => {\n setLoadingStates((prevLoadingStates) => {\n return { ...prevLoadingStates, userAddresses: 'Fetching' }\n })\n\n //Variable que filtra si hay o no hay CP completo (CP's Usuario Guardados)\n const wordToFilterDataSave = wordToFilter.split('~')[0]?.trim() || wordToFilter\n await axios.get(\n `${process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL}/users/address/search?wordToFilter=${wordToFilterDataSave}`,\n { headers: { Authorization: `Bearer ${inputProps.token}` }}\n )\n .then((res) => {\n if (res.data.length !== 0) {\n const fetchedAddresses = res.data\n // setFetchedDirections(res.data.data)\n const optimizedFetchedAddresses = fetchedAddresses\n .filter((direction) => {\n return direction.country === countrySelected\n })\n .map((direction) => {\n return {\n selectValue: `${direction.postal_code} ~ ${direction.name} ~ ${direction.city} ${direction.state}`,\n idValue: `${direction.postal_code} ~ ${direction.name} ~ ${direction.city} ${direction.state} ~ ${direction._id}`\n }\n })\n\n setFetchedDirections({\n optimizedData: optimizedFetchedAddresses,\n fullData: fetchedAddresses\n })\n\n // Verificar si hay información adicional después del ~\n const additionalInfo = wordToFilter.split('~')[1]?.trim()\n // Si hay información adicional, seleccionar automáticamente la dirección correspondiente\n if (additionalInfo) {\n const matchingAddress = optimizedFetchedAddresses.find((address) =>\n address.selectValue.includes(additionalInfo)\n )\n if (matchingAddress) {\n setOptionSelected(matchingAddress.idValue)\n setDrawerState('Closed')\n }\n }\n }\n })\n .catch((err) => {\n console.error(err)\n // setFetchedDirections([])\n // resolve(0)\n })\n .finally(() => {\n setLoadingStates((prevLoadingStates) => {\n return { ...prevLoadingStates, userAddresses: 'Fetched' }\n })\n })\n }\n const fetchUserfavoriteAddress = async () => {\n setLoadingStates((prevLoadingStates) => {\n return { ...prevLoadingStates, userFavoriteAddresses: 'Fetching' }\n })\n\n await axios.get(\n `${process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL}/users/address/favorites`,\n { headers: { Authorization: `Bearer ${inputProps.token}` }}\n )\n .then((res) => {\n if (res.data.length !== 0) {\n const fetchedAddresses = res.data\n // setFetchedDirections(res.data.data)\n const optimizedFetchedFavoriteAddresses = fetchedAddresses\n .filter((direction) => {\n return direction.country === countrySelected\n })\n .map((direction) => {\n return {\n selectValue: `${direction.postal_code} ~ ${direction.name} ~ ${direction.city} ${direction.state}`,\n idValue: `${direction.postal_code} ~ ${direction.name} ~ ${direction.city} ${direction.state} ~ ${direction._id}`\n }\n })\n setFetchedFavoriteAddresses({\n fullData: fetchedAddresses,\n optimizedData: optimizedFetchedFavoriteAddresses\n })\n }\n })\n .catch((err) => {\n console.error(err)\n })\n .finally(() => {\n setLoadingStates((prevLoadingStates) => {\n return { ...prevLoadingStates, userFavoriteAddresses: 'Fetched' }\n })\n })\n }\n const fetchPostalCodes = async (postalCode) => {\n postalCode = postalCode?.toString()?.replace(/\\s|-/g, '');\n\n setLoadingStates((prevLoadingStates) => {\n return { ...prevLoadingStates, postalCodes: 'Fetching' }\n })\n\n //Variable que filtra si hay o no hay CP completo (CP's)\n const postalCodeDataSave = postalCode.split('~')[0]?.trim() || postalCode\n\n // @ts-ignore\n if (\n typeof (isNaN(Number(postalCodeDataSave)) ? null : +postalCodeDataSave) === 'number' &&\n postalCode.length >= 4\n ) {\n\n await axios\n .get(`https://geocodes.envia.com/zipcode/${countrySelected}/${postalCodeDataSave}`, {\n headers: {\n Authorization: `${process.env.REACT_APP_ENVIA_POSTAL_CODES_TOKEN}`\n }\n })\n .then((res) => {\n if (res.data[0]) {\n const fetchedData = res.data[0].suburbs\n const organizedFetchedData =\n fetchedData.length !== 0\n ? fetchedData.map((addressDirection) => {\n return {\n adminName1: res.data[0].regions.region_1,\n adminName2: res.data[0].regions.region_2,\n placeName: `~ ${addressDirection}`,\n postalcode: res.data[0].zip_code\n }\n })\n : [\n {\n adminName1: res.data[0].regions.region_1,\n adminName2: res.data[0].regions.region_2,\n placeName: '',\n postalcode: res.data[0].zip_code\n }\n ]\n const optimizedFetchedData = organizedFetchedData.map((entry) => {\n return {\n selectValue: `${entry.postalcode} ${entry.placeName} ~ ${entry.adminName2} (${entry.adminName1})`,\n idValue: `${entry.postalcode} ${entry.placeName} ~ ${entry.adminName2} (${entry.adminName1})`\n }\n })\n\n setFetchedPostalCodes({\n optimizedData: optimizedFetchedData,\n fullData: res.data[0]\n })\n // resolve(optimizedFetchedData.length)\n\n // Verificar si hay información adicional después del ~\n const additionalInfo = postalCode.split('~')[1]?.trim()\n\n // Si hay información adicional, seleccionar automáticamente la dirección correspondiente\n if (additionalInfo) {\n const matchingAddress = fetchedData.find((addressDirection) =>\n addressDirection.includes(additionalInfo)\n )\n if (matchingAddress) {\n setOptionSelected(matchingAddress.idValue)\n setDrawerState('Closed')\n }\n }\n } else {\n // resolve(0)\n }\n })\n .catch((err) => {\n console.error(err)\n // setFetchedPostalCodes({\n // fullData: [],\n // optimizedData: []\n // })\n // resolve(0)\n })\n .finally(() => {\n setLoadingStates((prevLoadingStates) => {\n return { ...prevLoadingStates, postalCodes: 'Fetched' }\n })\n })\n } else {\n setLoadingStates((prevLoadingStates) => {\n return { ...prevLoadingStates, postalCodes: 'Fetched' }\n })\n // resolve(0)\n }\n }\n\n const fetchCountryStates = async () => {\n await axios\n .get(`https://queries.envia.com/state?country_code=${countrySelected}`, {\n headers: {\n Authorization: `${process.env.REACT_APP_ENVIA_POSTAL_CODES_TOKEN}`\n }\n })\n .then((res) => {\n setFetchedStates(res.data.data)\n // console.log(res.data.data)\n })\n .catch((err) => {\n console.error(err)\n })\n }\n\n const clearPostalCodeInput = () => {\n setDrawerState('Closed')\n setOptionSelected(undefined)\n setInputedText(undefined)\n\n setLoadingStates({\n postalCodes: 'Init',\n userAddresses: 'Init',\n userFavoriteAddresses: 'Init'\n })\n setInnerListsState({\n postalCodes: 'Closed',\n userAddresses: 'Closed'\n })\n setFetchedPostalCodes({\n fullData: {\n zip_code: '',\n country: {},\n state: {\n code: {}\n },\n locality: '',\n suburbs: [],\n coordinates: {},\n info: {},\n regions: {}\n },\n optimizedData: []\n })\n setFetchedDirections({\n fullData: [],\n optimizedData: []\n })\n inputProps.userFormHook &&\n inputProps.userFormHook.setFieldsValue({\n [inputProps.valueContainerName]: undefined\n })\n }\n\n // Poner el Pais del Usuario como Inicial\n useEffect(() => {\n inputProps.userFormHook &&\n inputProps.userFormHook.setFieldsValue({\n [`${inputProps.valueContainerName}SelectedCountry`]: countrySelected\n })\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n // If initialPostalCode is passed, set it as the inputedText\n useEffect(() => {\n if (inputProps.initialPostalCode) {\n // clearPostalCodeInput()\n setInputedText(inputProps.initialPostalCode)\n }\n }, [inputProps.initialPostalCode]) //eslint-disable-line\n\n // Fetch Postal Codes , saved and favorite addresses\n useEffect(() => {\n if (inputedText) {\n inputProps.userFormHook?.setFieldsValue({\n [`${inputProps.valueContainerName}`]: inputedText\n })\n\n !inputProps.initialPostalCode && setDrawerState('Open')\n\n inputProps.onPostalCodeChange &&\n !inputProps.initialPostalCode &&\n inputProps.onPostalCodeChange({\n postalCode: inputedText,\n entireString: inputedText,\n addressType: 'ManualPC',\n onSelected: inputProps.valueContainerName\n })\n\n fetchPostalCodes(inputedText)\n fetchUserAddresses(inputedText)\n fetchUserfavoriteAddress()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [inputedText])\n\n // Estudy the optionSelected and return the data\n useEffect(() => {\n if (optionSelected) {\n inputProps.userFormHook?.setFieldsValue({\n [`${inputProps.valueContainerName}`]: optionSelected\n })\n // console.log(optionSelected)\n // Return data logic here\n const selectedAddressType = optionSelected\n ?.split('~')\n [optionSelected?.split('~').length - 1].trim()\n .includes(')')\n ? 'FetchedAddress'\n : 'SavedAddress'\n\n const selectedAddresID =\n selectedAddressType === 'SavedAddress' ? optionSelected.split('~')[3].trim() : 'none'\n\n const entireObjectData =\n selectedAddressType === 'FetchedAddress'\n ? fetchedPostalCodes.fullData\n : fetchedDirections?.fullData.filter(\n (address) => address._id?.trim() === selectedAddresID\n )[0] ||\n fetchedFavoriteAddresses?.fullData.filter(\n (address) => address._id?.trim() === selectedAddresID\n )[0]\n\n if (!entireObjectData) {\n notification.error({\n message: 'Hay un error con la dirección que seleccionaste, por favor utiliza otra'\n })\n clearPostalCodeInput()\n }\n\n // console.log(selectedAddressType)\n // console.log(entireObjectData)\n\n inputProps.onPostalCodeChange &&\n inputProps.onPostalCodeChange({\n postalCode: optionSelected?.split('~')[0].trim(),\n entireString: optionSelected,\n addressType: selectedAddressType,\n // @ts-ignore\n entireObject: entireObjectData,\n onSelected: inputProps.valueContainerName\n })\n } else {\n inputProps.userFormHook?.setFieldsValue({\n [`${inputProps.valueContainerName}`]: undefined\n })\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [optionSelected])\n\n useEffect(() => {\n if (\n inputProps.type === 'allCountriesStatesInputs' ||\n inputProps.type === 'localCountriesStatesInputs'\n ) {\n fetchCountryStates()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [countrySelected])\n\n const containerRef = useRef(null)\n\n useEffect(() => {\n // Función para manejar clics dentro del contenedor\n const handleClickOutside = (event) => {\n if (containerRef.current && !containerRef.current.contains(event.target)) {\n // Si el clic ocurrió fuera del div, oculta el div.\n setDrawerState('Closed')\n if (\n fetchedPostalCodes.optimizedData.length > 0 &&\n optionSelected === undefined &&\n onlyCp === false\n ) {\n setOptionSelected(fetchedPostalCodes?.optimizedData[0].idValue)\n }\n }\n }\n\n // Agregar un event listener al documento para manejar clics dentro del contenedor\n document.addEventListener('mousedown', handleClickOutside)\n return () => {\n // Eliminar el event listener al desmontar el componente\n document.removeEventListener('mousedown', handleClickOutside)\n }\n // Sin dependencias, solo se agrega una vez\n }, [fetchedPostalCodes, optionSelected, onlyCp]) //eslint-disable-line\n\n const handleSelectChange = (value) => {\n setSelectedValue(value)\n }\n\n // Componente individual para representar cada elemento\n function PostalCodeItem({ postalCode, setOptionSelected, setDrawerState }) {\n const handleItemClick = () => {\n setOptionSelected(postalCode.idValue)\n setDrawerState('Closed')\n }\n\n return (\n
\n

{postalCode.selectValue}

\n
\n )\n }\n\n const getComponent = () => {\n switch (inputProps.type) {\n case 'allCountriesPostalCodeInputs':\n case 'localCountriesPostalCodesInputs':\n return (\n \n \n \n {\n handleSelectChange(e)\n const countryResult = e\n inputProps.onCountryChange && inputProps.onCountryChange(countryResult)\n\n clearPostalCodeInput()\n // setFetchedPostalCodes({\n // optimizedData: [],\n // fullData: []\n // })\n inputProps.valueContainerName &&\n inputProps.userFormHook?.setFieldsValue({\n [inputProps.valueContainerName]: undefined\n })\n setCountrySelected(e)\n }}\n // disabled={\n // inputProps.type === 'localCountriesPostalCodesInputs'\n // ? true\n // : inputProps.disabled\n // }\n placeholder={'Selecciona Un País'}\n filterOption={(input, option) =>\n // @ts-ignore\n (option?.children[1])\n .toLowerCase()\n .includes(input.toLowerCase())\n }\n >\n {allCountries.map((country) => {\n return (\n \n \n \n \n {selectedValue === country.value ? country.value : country.label}\n \n )\n })}\n \n \n \n \n \n \n \n setDrawerState('Open')}\n onSearch={() => {\n clearPostalCodeInput()\n }}\n enterButton={\n \n {loadingStates.postalCodes === 'Init' &&\n loadingStates.userAddresses === 'Init' ? (\n \n ) : loadingStates.postalCodes === 'Fetching' ||\n loadingStates.userAddresses === 'Fetching' ||\n loadingStates.userFavoriteAddresses === 'Fetching' ? (\n \n ) : (\n \n )}\n \n }\n onChange={(e) => {\n if (optionSelected === undefined) {\n // console.log(e.target.value)\n clearTimeout(inputTypingTimer)\n if (e.target.value !== '') {\n inputTypingTimer = setTimeout(() => {\n setInputedText(e.target.value)\n }, 1200)\n } else {\n clearPostalCodeInput()\n }\n }\n }}\n />\n \n\n \n
\n {loadingStates.postalCodes === 'Init' &&\n loadingStates.userAddresses === 'Init' ? (\n

\n {\n 'Escribe un Código Postal o el nombre de Una Dirección Guardada para Buscarla'\n }{' '}\n

\n ) : (\n \n {/* CPs Genericos de Envia */}\n \n {loadingStates.postalCodes === 'Fetching' ? (\n \n \n

{'Cargando Códigos Postales'}

\n
\n ) : (\n <>\n 0\n ? 'rgba(111, 115, 246, 0.3)'\n : 'rgba(251, 150, 150, 0.5)',\n width: '100%'\n }}\n onClick={() => {\n if (fetchedPostalCodes.optimizedData.length > 0) {\n setInnerListsState((prevListsState) => {\n return {\n ...prevListsState,\n postalCodes:\n prevListsState.postalCodes === 'Closed'\n ? 'Open'\n : 'Closed'\n }\n })\n }\n }}\n >\n \n

\n {fetchedPostalCodes.optimizedData.length > 0\n ? 'Códigos Postales'\n : 'No se encontraron Códigos Postales'}\n

\n \n {fetchedPostalCodes.optimizedData.map((postalCode) => (\n \n ))}\n \n )}\n \n\n {/* Direcciones Guardadas */}\n \n {loadingStates.userAddresses === 'Fetching' ? (\n \n \n

{'Cargando Direcciones'}

\n \n ) : (\n <>\n 0\n ? 'rgba(111, 115, 246, 0.3)'\n : 'rgba(251, 150, 150, 0.5)'\n }}\n onClick={() => {\n if (fetchedDirections.optimizedData.length > 0) {\n setInnerListsState((prevListsState) => {\n return {\n ...prevListsState,\n userAddresses:\n prevListsState.userAddresses === 'Closed'\n ? 'Open'\n : 'Closed'\n }\n })\n }\n }}\n >\n \n

\n {fetchedDirections.optimizedData.length > 0\n ? 'Direcciones Guardadas'\n : 'No se encontraron Direcciones'}\n

\n \n {fetchedDirections.optimizedData.map((direction, index) => {\n return (\n {\n setOptionSelected(direction.idValue)\n setDrawerState('Closed')\n }}\n >\n

{direction.selectValue}

\n \n )\n })}\n \n )}\n \n {/* Usar Codigo Postal */}\n
\n {\n setDrawerState('Closed')\n setOnlyCp(true)\n }}\n >\n \n

{'Usar CP Escrito'}

\n
\n \n {/* Favorite address */}\n \n {loadingStates.userFavoriteAddresses === 'Fetching' ? (\n \n \n

{'Cargando direcciones favoritas'}

\n \n ) : (\n <>\n 0\n ? 'rgba(111, 115, 246, 0.3)'\n : 'rgba(251, 150, 150, 0.5)'\n }}\n onClick={() => {\n if (fetchedFavoriteAddresses.optimizedData.length > 0) {\n setInnerListsState((prevListsState) => {\n return {\n ...prevListsState,\n userAddresses:\n prevListsState.userAddresses === 'Closed'\n ? 'Open'\n : 'Closed'\n }\n })\n }\n }}\n >\n \n

\n {fetchedFavoriteAddresses.optimizedData.length > 0\n ? 'Direcciones Favoritas'\n : 'No se encontraron direcciones favoritas'}\n

\n \n {fetchedFavoriteAddresses.optimizedData.map((direction, index) => {\n return (\n {\n setOptionSelected(direction.idValue)\n setDrawerState('Closed')\n }}\n >\n

{direction.selectValue}

\n \n )\n })}\n \n )}\n \n \n )}\n \n \n \n
\n \n
\n )\n case 'allCountriesStatesInputs':\n case 'localCountriesStatesInputs':\n return (\n \n \n \n {\n setCountrySelected(data)\n inputProps.onCountryChange && inputProps.onCountryChange(data)\n }}\n placeholder={'Selecciona Un País'}\n disabled={inputProps.disabled}\n filterOption={(input, option) =>\n // @ts-ignore\n // (option!.children[1] as unknown as string)\n (option.children[1])\n .toLowerCase()\n .includes(input.toLowerCase())\n }\n >\n {inputProps.type === 'localCountriesStatesInputs'\n ? MapableCountriesSettings.map(([key, country]) => {\n return (\n \n )\n })\n : allCountries.map((country) => {\n return (\n \n )\n })}\n \n \n \n \n \n \n // (option!.children as unknown as string)\n (option.children)\n .toLowerCase()\n .includes(input.toLowerCase())\n }\n >\n {fetchedStates.map((state) => {\n return (\n \n {state.name}\n \n )\n })}\n \n \n \n \n )\n default:\n return null\n }\n }\n\n return <>{getComponent()}\n}\n\nexport default InputCountriesContainer\n","import React from 'react'\nimport { Modal, Row, Col } from 'antd'\n// import useDevice from '../../utils/hooks/useDevice'\n\nexport const modalSizes = {\n EXTRABIG: '90%',\n BIG: '800px',\n LARGE: '700px',\n MEDIUM: '600px',\n SHORT: '500px',\n MINI: '400px'\n}\n \nexport const modalHeight = {\n EXTRABIG: '80%',\n BIG: '500px',\n LARGE: '400px',\n MEDIUM: '300px',\n SHORT: '200px',\n MAX: '100%'\n}\n\nconst styles = {\n title: {\n margin: 0,\n padding: 0,\n fontWeight: 'bolder',\n width: '100%',\n height: '100%',\n display: 'grid',\n placeItems: 'center left',\n color: '#2D1B6E',\n fontSize: '2em'\n },\n modalHeader: {\n display: 'flex',\n alignItems: 'flex-start',\n padding: '10px 0'\n },\n modalContent: {\n display: 'grid',\n alignItems: 'flex-start',\n height: '300px',\n padding: '16px 4px',\n overflow: 'hidden scroll'\n }\n}\n\nconst ModalContainer = (modalContainerProps) => {\n// const { isMobile, isTablet } = useDevice()\n// const [isMobile, setIsMobile] = useState(false)\n// const [isTablet, setIsTablet] = useState(false)\n\n const {\n customWidth,\n // size = `${(isMobile && '100vw') || (isTablet && '80vw') || customWidth ? customWidth : '50vw'}`,\n size = `${('100vw') || ('80vw') || customWidth ? customWidth : '50vw'}`,\n height = '100%',\n visible,\n title,\n children,\n onCancel,\n onOk,\n footer,\n okType,\n integration = false\n } = modalContainerProps\n\n return (\n <>\n \n \n \n

{title}

\n \n
\n {children}\n \n \n )\n}\n\nexport default ModalContainer\n","export const generateUUID = () => {\n var d = new Date().getTime();\n var uuid = 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n var r = (d + Math.random() * 16) % 16 | 0;\n d = Math.floor(d / 16);\n //eslint-disable-next-line\n return (c == 'x' ? r : (r & 0x3 | 0x8)).toString(16);\n });\n return uuid;\n }\n\n","import axios from 'axios'\nimport anime from 'animejs'\nimport React, { useContext, useState, useEffect } from 'react'\nimport { Row, Col, Form, Button, Alert, Tag, Popconfirm } from 'antd'\nimport {\n PlusCircleOutlined,\n DeleteOutlined,\n EditOutlined,\n QuestionCircleOutlined,\n SaveOutlined\n} from '@ant-design/icons'\n\nimport { QuoteDataContext } from '../../../context/QuoteDataContext'\nimport { CountriesContext } from '../../../context/CountriesContext'\n\nimport LottieContainer from '../containers/LottieContainer'\nimport CardContainer from '../containers/CardContainer'\nimport InputContainer from '../containers/InputContainer'\nimport ModalContainer, { modalHeight, modalSizes } from '../containers/ModalContainer'\n\nimport LockLottie from '../lotties/lock.json'\nimport { generateUUID } from '../utils/quote'\n// import { useGet } from '../../../hooks/useGet'\n// import { getUserPackages } from '../../../services/packages_s'\n\n// import { TPackagesResponse } from '../../../interfaces/packages.interfaces'\n\nexport const FillMultipackageForm = ({\n modalIsOpen,\n setModalIsOpen,\n multipaq,\n setMultipaq,\n token\n}) => {\n const { shipmentTypeSelected, setShipmentTypeSelected, quoteData, setQuoteData } =\n useContext(QuoteDataContext)\n const [form] = Form.useForm()\n\n const SwitchShipmentType = () => {\n if (\n form.getFieldValue('OriginPCSelectedCountry') &&\n form.getFieldValue('DestinyPCSelectedCountry')\n ) {\n if (\n form.getFieldValue('OriginPCSelectedCountry') ===\n form.getFieldValue('DestinyPCSelectedCountry')\n )\n TransitionShipmentType('National')\n if (\n form.getFieldValue('OriginPCSelectedCountry') !==\n form.getFieldValue('DestinyPCSelectedCountry')\n )\n TransitionShipmentType('International')\n }\n }\n\n const TransitionShipmentType = (type) => {\n if (type === shipmentTypeSelected) {\n } else {\n setTimeout(() => {\n setShipmentTypeSelected(type)\n }, 666)\n anime({\n targets: '#leftPostalQuoteContainer',\n opacity: [1, 0, 1],\n easing: 'linear',\n duration: 1000\n })\n }\n }\n\n const savePackages = () => {\n setQuoteData({\n ...quoteData,\n PackageArray: multipaq.filter((el) => el.Active === true && el.Saved === true)\n })\n setModalIsOpen(!modalIsOpen)\n }\n\n useEffect(() => {\n if (modalIsOpen && multipaq.length === 0) {\n setMultipaq([\n {\n id: generateUUID(),\n Active: true,\n Saved: false,\n Height: undefined,\n Length: undefined,\n Width: undefined,\n Weight: undefined\n }\n ])\n }\n //eslint-disable-next-line\n }, [modalIsOpen])\n\n return (\n setModalIsOpen(!modalIsOpen)}\n onOk={() => setModalIsOpen(!modalIsOpen)}\n footer={[\n \n \n }\n okText={'Si'}\n cancelText={'No'}\n disabled={\n multipaq.filter((el) => el.Saved === true).length < 2 ? true : false\n }\n >\n }\n style={{ display: 'flex', alignItems: 'center' }}\n type=\"primary\"\n disabled={\n multipaq.filter((el) => el.Saved === true).length < 2 ? true : false\n }\n >\n {'Continuar'}\n \n \n \n ]}\n >\n \n \n {multipaq.map((pack, index) => (\n <>\n {pack.Active ? (\n \n ) : null}\n \n ))}\n \n \n )\n}\n\nconst MultipackageForm = ({\n pack,\n multipaq,\n setMultipaq,\n TransitionShipmentType,\n SwitchShipmentType,\n token,\n}) => {\n const [selectedContainer, setSelectedContainer] = useState('box') //eslint-disable-line\n const [insuranceActive, setInsuranceActive] = useState(false)\n const [savedPackageSelected, setSavedPackageSelected] = useState(false)\n const { currentCountrySelectedData, currentSelectedCountry } = useContext(CountriesContext)\n const [packagesSaved, setPackagesSaved] = useState([])\n const [savepack, setSavePack] = useState(false)\n const [loading, setLoading] = useState(false)\n const [form] = Form.useForm()\n\n useEffect(() => {\n const getUserPackages = async ()=> {\n setLoading(true)\n const { data } = await axios.get(\n `${process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL}/users/packages/all`,\n { headers: { Authorization: `Bearer ${token}` }}\n )\n setPackagesSaved(data)\n setLoading(false)\n }\n\n getUserPackages()\n //eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n form.setFieldsValue({\n OriginPCSelectedCountry: currentSelectedCountry\n // DestinyPCSelectedCountry: currentSelectedCountry,\n })\n }, [currentSelectedCountry]) //eslint-disable-line\n\n const onFinish = (data) => {\n const newPackages = multipaq.map((el) => {\n if (el.id === pack.id) {\n return {\n ...data,\n id: el.id,\n Container: selectedContainer,\n Active: true,\n Saved: true\n }\n }\n return el\n })\n setMultipaq(newPackages)\n setSavePack(true)\n }\n\n const onFinishFailed = () => {}\n\n return (\n <>\n \n \n \n {/* \n {\n if (e.target.value === 1) {\n SwitchShipmentType()\n setSelectedContainer('envelope')\n form.setFieldsValue({\n Height: 10,\n Length: 10,\n Width: 10,\n Weight: 1\n })\n } else {\n setSelectedContainer('box')\n setSavedPackageSelected(false)\n form.setFieldsValue({\n Height: undefined,\n Length: undefined,\n Width: undefined,\n Weight: undefined\n })\n }\n }}\n />\n */}\n \n \n \n {\n setInsuranceActive(!insuranceActive)\n }}\n title=\"Asegurar Envío\"\n type=\"iconTitleHoverButton\"\n shape={'circle'}\n iconOrReactElement={\n \n }\n />\n \n \n \n \n \n \n \n {multipaq.filter((el) => el.Active === true).length > 1 && (\n }\n danger\n onClick={() => {\n setMultipaq(\n multipaq.map((el) => {\n if (el.id === pack.id) {\n return {\n ...el,\n Active: false,\n Saved: false\n }\n }\n return el\n })\n )\n }}\n >\n {'Eliminar'}\n \n )}\n \n \n\n \n \n
\n {\n setSavedPackageSelected(false)\n form.resetFields(['Height', 'Length', 'Width', 'Weight'])\n }}\n onChange={(e) => {\n const packageName = e.split('[')[0].trim()\n const packageContent = e.split('[')[1].replace(/\\]/g, '').trim()\n packagesSaved?.forEach((packageSaved) => {\n if (\n packageSaved.name === packageName &&\n packageSaved.content === packageContent\n ) {\n setSavedPackageSelected(true)\n form.resetFields(['Height'])\n form.setFieldsValue({\n Height: packageSaved.height,\n Length: packageSaved.length,\n Width: packageSaved.width,\n Weight: packageSaved.weight\n })\n }\n })\n }}\n optionsList={\n packagesSaved\n ? packagesSaved?.map((packageSaved) => {\n return `${packageSaved.name} [ ${packageSaved.content} ]`\n })\n : []\n }\n />\n
\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n {\n if (e >= 69) TransitionShipmentType('Pallet')\n SwitchShipmentType()\n }}\n />\n \n \n \n \n {savepack ? (\n <>\n \n {'Paquete Confirmado'}\n \n }\n type=\"primary\"\n ghost\n onClick={() => {\n const newMultipack = multipaq.map((el) => {\n if (el.id === pack.id) {\n return {\n ...el,\n Saved: false\n }\n }\n return el\n })\n setMultipaq(newMultipack)\n setSavePack(false)\n }}\n >\n {'Editar paquete'}\n \n \n ) : (\n \n )}\n \n \n \n {multipaq.filter((el) => el.Active === true).length < 20 &&\n multipaq.filter((el) => el.Active === true)[\n multipaq.filter((el) => el.Active === true).length - 1\n ].id === pack.id && (\n \n }\n onClick={() => {\n setMultipaq([\n ...multipaq,\n {\n id: generateUUID(),\n Active: true,\n Saved: false,\n Height: undefined,\n Length: undefined,\n Width: undefined,\n Weight: undefined\n }\n ])\n }}\n >\n {'Agregar nuevo paquete'}\n \n \n )}\n \n \n )\n}\n","import axios from 'axios'\nimport React, { useContext, useState, useEffect, useMemo } from 'react'\nimport { Row, Col, Form, Button, Tag, notification, Tooltip, Typography } from 'antd'\nimport anime from 'animejs'\n\nimport { QuoteDataContext } from '../../../context/QuoteDataContext'\nimport { DataContext } from '../../../context/dataContext'\nimport { CountriesContext } from '../../../context/CountriesContext'\n\n// import useDevice from '../../../utils/hooks/useDevice'\n// import { useGet } from '../../../hooks/useGet'\n// import { getUserPackages } from '../../../services/packages_s'\n// import { TPackagesResponse } from '../../../interfaces/packages.interfaces'\n// import { useTranslation } from 'react-i18next'\n\nimport LottieContainer from '../containers/LottieContainer'\nimport CardContainer from '../containers/CardContainer'\nimport InputContainer from '../containers/InputContainer'\nimport InputCountriesContainer from '../containers/InputCountriesContainer'\n\nimport { FillMultipackageForm } from '../form/FillMultipackageForm'\n\n// Lotties\nimport NationalLottie from '../lotties/delivery.json'\nimport InternationalLottie from '../lotties/purpleWorld.json'\nimport PalletLottie from '../lotties/palletTruck.json'\nimport ContraEntregaLottie from '../lotties/contraEntrega.json'\nimport LockLottie from '../lotties/lock.json'\nimport ListLottie from '../lotties/purpleList.json'\nimport handMoney from '../lotties/handMoney.json'\n\nimport { DeleteOutlined, InfoCircleOutlined, PlusCircleOutlined, EditOutlined } from '@ant-design/icons'\n\n//tour\n// import useTour from '../../../utils/Tour/useTour'\n// import { STEPSCOTIZAR } from '../../../constants/tourStep'\n\n//Response Parcels\n// const STEPS = STEPSCOTIZAR\n\n// const defaultOriginPC = {\n// postalCode: \"64720\",\n// entireString: \"64720 ~ Independencia ~ Monterrey (Nuevo León)\",\n// addressType: \"FetchedAddress\",\n// entireObject: {\n// zip_code: \"64720\",\n// country: {\n// name: \"México\",\n// code: \"MX\"\n// },\n// state: {\n// name: \"Nuevo León\",\n// iso_code: \"MX-NLE\",\n// code: {\n// \"1digit\": null,\n// \"2digit\": \"NL\",\n// \"3digit\": \"NLE\"\n// }\n// },\n// locality: \"Monterrey\",\n// additional_info: {\n// street: null\n// },\n// suburbs: [\n// \"Alfonso Reyes\",\n// \"Ancira\",\n// \"Benito Juárez (F-96)\",\n// \"Centro\",\n// \"Contry\",\n// \"Independencia\",\n// \"Loma Larga\",\n// \"Monterrey Centro\",\n// \"Nuevo Repueblo\",\n// \"Obispado\",\n// \"Roma\",\n// \"Unión Miguel Barrera\",\n// \"Unión de Colonos A Reyes\",\n// \"Victoria\"\n// ],\n// coordinates: {\n// latitude: \"25.652378\",\n// longitude: \"-100.307463\"\n// },\n// info: {\n// stat: \"194358\",\n// stat_8digit: \"19435800\",\n// time_zone: \"America/Monterrey\",\n// utc: \"-06:00\"\n// },\n// regions: {\n// region_1: \"Nuevo León\",\n// region_2: \"Monterrey\",\n// region_3: \"\",\n// region_4: \"\"\n// }\n// },\n// onSelected: \"OriginPC\"\n// }\n\nconst defaultOriginPC = {\n \"postalCode\": \"66478\",\n \"entireString\": \"66478 ~ Los Angeles 3er Sector ~ San Nicolás de los Garza (Nuevo León)\",\n \"addressType\": \"FetchedAddress\",\n \"entireObject\": {\n \"zip_code\": \"66478\",\n \"country\": {\n \"name\": \"México\",\n \"code\": \"MX\"\n },\n \"state\": {\n \"name\": \"Nuevo León\",\n \"iso_code\": \"MX-NLE\",\n \"code\": {\n \"1digit\": null,\n \"2digit\": \"NL\",\n \"3digit\": \"NLE\"\n }\n },\n \"locality\": \"San Nicolás de Los Garza\",\n \"additional_info\": {\n \"street\": null\n },\n \"suburbs\": [\n \"Arboledas de San Cristóbal\",\n \"Casa Blanca San Ángel\",\n \"Cerradas de Casa Blanca\",\n \"Fresnos del Lago\",\n \"Fresnos del Lago 1er Sector\",\n \"Fresnos del Lago 2.o Sector\",\n \"Fresnos del Lago 3er Sector\",\n \"Los Angeles 1er Sector\",\n \"Los Angeles 3er Sector\",\n \"Los Angeles 4.o Sector\",\n \"Los Angeles 5.o Sector\",\n \"Los Pinos\",\n \"Los Ángeles Sector 3\",\n \"Los Ángeles Sector 4\",\n \"Los Ángeles Sector 5\",\n \"Mision Casa Blanca 1er Sector\",\n \"Mision Casa Blanca 2.o Sector\",\n \"Misiones de San Cristóbal\",\n \"Misión de Casa Blanca\",\n \"Misión de San Cristóbal\",\n \"Palmas Diamante\",\n \"Privadas de Casa Blanca\",\n \"Quinta Montecarlo\",\n \"Residencial San Cristobal 1er Sector\",\n \"Residencial San Cristobal 2.o Sector\",\n \"Residencial San Cristobal 3er Sector\",\n \"Residencial San Cristóbal\",\n \"Residencial San Cristóbal Sector Tres\",\n \"Residencial los Angeles Sect 1\",\n \"Residencial los Angeles Sect 2\",\n \"Rincon de Casa Blanca 2.o Sector\",\n \"Rincón de Casa Blanca 1er Sector\",\n \"Rincón de Casa Blanca Sector 2\",\n \"Rincón de los Ángeles\",\n \"San Cristóbal\",\n \"Sin Nombre de Colonia 18\",\n \"Sin Nombre de Colonia 34\",\n \"Valle Casa Blanca\",\n \"Valle de Casa Blanca\",\n \"Valle de Casa Blanca 1er Sector\",\n \"Villas de San Cristobal 1er Sector\",\n \"Villas de San Cristobal 2.o Sector\",\n \"Villas de San Cristóbal\"\n ],\n \"coordinates\": {\n \"latitude\": \"25.736000\",\n \"longitude\": \"-100.236258\"\n },\n \"info\": {\n \"stat\": \"193685\",\n \"stat_8digit\": \"19368500\",\n \"time_zone\": \"America/Monterrey\",\n \"utc\": \"-06:00\"\n },\n \"regions\": {\n \"region_1\": \"Nuevo León\",\n \"region_2\": \"San Nicolás de los Garza\",\n \"region_3\": \"\",\n \"region_4\": \"\"\n }\n },\n \"onSelected\": \"OriginPC\"\n}\n\nconst insuranceValidation = (value, country) => {\n switch (country) {\n case 'MX':\n if (value > 10000) return true\n return false\n case 'CO':\n if (value > 2350000) return true\n return false\n default:\n return false\n }\n}\n\nconst PostalCodeQuote = ({ token, integrationOrder, initAddressData, destinationData }) => {\n // const { isMobile } = useDevice()\n const { Text } = Typography\n const [outboundData, setOutboundData] = useState(undefined)\n\n const IntegrationCompletePC = useMemo(() => {\n return `${integrationOrder?.shipping_address?.zip_code} ~ ${integrationOrder?.customer_details.name.first_name} ~ ${integrationOrder?.shipping_address.address}`\n }, [integrationOrder])\n\n const IntegrationCompleteOriginPC = useMemo(() => {\n return `${integrationOrder?.origin_address?.zip_code} ~ ${integrationOrder?.merchant_details?.name.first_name} ~ ${integrationOrder?.origin_address?.address}`\n }, [integrationOrder])\n\n const AddressCompleteOriginPC = useMemo(() => {\n return `${initAddressData?.Destiny.postal_code} ~ ${initAddressData?.Destiny.name} ~ ${initAddressData?.Destiny.city} ~ ${initAddressData?.Destiny.state}`\n }, [initAddressData])\n\n const AddressCompleteDestinyPC = useMemo(() => {\n return `${initAddressData?.Origin.postal_code} ~ ${initAddressData?.Origin.name} ~ ${initAddressData?.Origin.city} ~ ${initAddressData?.Origin.state}`\n }, [initAddressData])\n\n const {\n quoteData,\n setQuoteStepTransition,\n shipmentTypeSelected,\n setShipmentTypeSelected,\n setQuoteData\n } = useContext(QuoteDataContext)\n\n const [packagesSaved, setPackagesSaved] = useState([])\n const { currentCountrySelectedData, currentSelectedCountry } = useContext(CountriesContext)\n const { data: { userInfo: userData } } = useContext(DataContext)\n const [selectedContainer, setSelectedContainer] = useState('box')\n const [volumetricWeight, setVolumetricWeight] = useState(0)\n const [savedPackageSelected, setSavedPackageSelected] = useState(false)\n const [insuranceActive, setInsuranceActive] = useState(false)\n const [contraEntregaActive, setContraEntregaActive] = useState(false)\n const [modalIsOpen, setModalIsOpen] = useState(false)\n const [initialState, setInitialState] = useState(true)\n const [isInternational, setIsInternational] = useState(false)\n const [storeExtraData, setStoreExtraData] = useState({\n district: '',\n state: '',\n country: ''\n })\n\n const [savedAddress, setSavedAddress] = useState({\n destiny: {\n postalCode: '',\n entireString: '',\n addressType: 'SavedAddress',\n entireObject: {},\n onSelected: undefined\n },\n origin: defaultOriginPC\n })\n\n console.log(\"savedAddress => \", savedAddress)\n\n const [multipaq, setMultipaq] = useState([])\n const [form] = Form.useForm()\n const onFinish = (values) => {\n let OriginData = {\n PostalCodeComplete: integrationOrder\n ? IntegrationCompleteOriginPC\n : savedAddress.origin.entireString,\n country: values.OriginPCSelectedCountry,\n postal_code: savedAddress?.origin.postalCode\n }\n let DestinyData = {\n PostalCodeComplete: integrationOrder\n ? IntegrationCompletePC\n : savedAddress.destiny.entireString,\n country: values.DestinyPCSelectedCountry,\n postal_code: savedAddress?.destiny?.postalCode ?? outboundData?.entireString ?? savedAddress?.destiny.postalCode\n }\n\n // Revisar el tipo de Codigo Postal Seleccionado y poner Información de Origen Específica\n if (savedAddress?.origin.addressType === 'FetchedAddress') {\n OriginData = {\n ...OriginData,\n // Si es de Mexico ocupa ciudad normal, si es de colocmbia la ocupa en 8 digitos\n city: savedAddress.origin.entireObject.locality,\n state: savedAddress.origin.entireObject.state.code['2digit'],\n district: savedAddress.origin.entireString?.split('~')[1].trim()\n }\n } else if (savedAddress?.origin.addressType === 'SavedAddress') {\n const {\n name,\n email,\n phone,\n company,\n int_number,\n number,\n street,\n reference,\n city,\n state,\n district\n } = savedAddress.origin.entireObject\n\n OriginData = {\n ...OriginData,\n name,\n email,\n phone,\n company,\n int_number,\n number,\n street,\n reference,\n city,\n state,\n district\n }\n } else if (savedAddress?.origin.addressType === 'StoreAddress') {\n OriginData = {\n ...OriginData,\n name: savedAddress.origin.entireObject?.merchant_details?.name.full_name,\n email: savedAddress.origin.entireObject?.merchant_details?.email,\n phone: savedAddress.origin.entireObject?.merchant_details?.phone,\n company: savedAddress.origin.entireObject?.merchant_details?.company,\n street: savedAddress.origin.entireObject?.origin_address?.address,\n reference: savedAddress.origin.entireObject?.origin_address?.reference,\n city: savedAddress.origin.entireObject?.origin_address?.city,\n state:\n storeExtraData.state !== ''\n ? storeExtraData.state\n : savedAddress.origin.entireObject?.origin_address?.province.code.substring(0, 2),\n district:\n storeExtraData.district !== ''\n ? savedAddress.origin.entireObject?.origin_address?.neighborhood\n : storeExtraData.district\n }\n }\n\n // Revisar el Codigo Postal Seleccionado y poner Información de Destino Específica\n if (savedAddress?.destiny.addressType === 'FetchedAddress') {\n DestinyData = {\n ...DestinyData,\n // Si es de Mexico ocupa ciudad normal, si es de colocmbia la ocupa en 8 digitos\n city: savedAddress.destiny.entireObject.locality,\n state: savedAddress.destiny.entireObject.state.code['2digit'],\n district: savedAddress.destiny.entireString?.split('~')[1].trim()\n }\n } else if (savedAddress?.destiny.addressType === 'SavedAddress') {\n const {\n name,\n email,\n phone,\n company,\n int_number,\n number,\n street,\n reference,\n city,\n state,\n district\n } = savedAddress.destiny.entireObject\n\n DestinyData = {\n ...DestinyData,\n name,\n email,\n phone,\n company,\n int_number,\n number,\n street,\n reference,\n city,\n state,\n district\n }\n } else if (savedAddress?.destiny.addressType === 'StoreAddress') {\n DestinyData = {\n ...DestinyData,\n name: savedAddress.destiny.entireObject.customer_details.name.full_name,\n email: savedAddress.destiny.entireObject.customer_details.email,\n phone: savedAddress.destiny.entireObject.customer_details.phone,\n company: savedAddress.destiny.entireObject.customer_details.company,\n street: savedAddress.destiny.entireObject.shipping_address.address,\n reference: savedAddress.destiny.entireObject.shipping_address.reference,\n city: savedAddress.destiny.entireObject.shipping_address.city,\n state:\n storeExtraData.state !== ''\n ? storeExtraData.state\n : savedAddress.destiny.entireObject.shipping_address.province.code.substring(0, 2),\n district:\n storeExtraData.district !== ''\n ? savedAddress.destiny.entireObject.shipping_address.neighborhood\n : storeExtraData.district\n }\n }\n\n if (insuranceValidation(values.Insurance, values.OriginPCSelectedCountry))\n return notification.info({\n message: 'Valor del seguro inválido'\n })\n\n const fetchedInputQuoteData = {\n ...quoteData,\n AddressData: {\n OriginData,\n DestinyData\n },\n PackageData: {\n Height: values.Height,\n Length: values.Length,\n Weight: values.Weight,\n Width: values.Width,\n Container: selectedContainer,\n Insurance: values.Insurance,\n ShippingType: shipmentTypeSelected,\n ContraEntrega: values.contraEntrega\n }\n }\n\n setQuoteData(fetchedInputQuoteData)\n setQuoteStepTransition('2) Select your favorite parcel')\n }\n\n const onFinishFailed = (errorInfo) => {\n console.log(errorInfo)\n }\n\n const deletePackagesArray = () => {\n setQuoteData({\n ...quoteData,\n PackageArray: []\n })\n\n setMultipaq([])\n }\n\n const onSave = (e) => {\n const mapKey = e.onSelected === 'OriginPC' ? 'origin' : 'destiny'\n\n if (integrationOrder && (mapKey === 'destiny' || mapKey === 'origin') && e.addressType === 'FetchedAddress') {\n setStoreExtraData({\n district: e.entireObject.suburbs[1] || '',\n state: e.entireObject.state.code['2digit'] ,\n country: e.entireObject.country.code\n })\n return\n } else if (initAddressData) {\n return\n } else {\n setSavedAddress({\n ...savedAddress,\n [mapKey]: {\n ...e\n }\n })\n }\n }\n const SwitchShipmentType = () => {\n setTimeout(() => {\n //Este if lo coloco, para que animación no se trunque.\n if (contraEntregaActive) {\n TransitionShipmentType('ContraEntrega')\n return\n }\n if (selectedContainer === 'pallet') {\n TransitionShipmentType('Pallet')\n CheckVolumetricWeight()\n return\n }\n if (\n form.getFieldValue('OriginPCSelectedCountry') ===\n form.getFieldValue('DestinyPCSelectedCountry')\n )\n TransitionShipmentType('National')\n if (\n form.getFieldValue('OriginPCSelectedCountry') !==\n form.getFieldValue('DestinyPCSelectedCountry') &&\n form.getFieldValue('OriginPCSelectedCountry') === currentSelectedCountry\n ) {\n TransitionShipmentType('International')\n }\n if (\n form.getFieldValue('OriginPCSelectedCountry') !== currentSelectedCountry &&\n form.getFieldValue('DestinyPCSelectedCountry') === currentSelectedCountry\n ) {\n TransitionShipmentType('Import')\n }\n CheckVolumetricWeight()\n }, 250)\n }\n\n const CheckVolumetricWeight = () => {\n setTimeout(() => {\n const Width = form.getFieldValue('Width')\n const Length = form.getFieldValue('Length')\n const Height = form.getFieldValue('Height')\n\n const VolumetricWeight = Number(((Width * Length * Height) / 5000).toFixed(2))\n const result = isNaN(VolumetricWeight) ? 0 : VolumetricWeight\n setVolumetricWeight(result)\n\n if (selectedContainer === 'pallet') {\n TransitionShipmentType('Pallet')\n }\n }, 250)\n }\n\n const TransitionShipmentType = (type) => {\n if (type === shipmentTypeSelected) {\n } else {\n setTimeout(() => {\n setShipmentTypeSelected(type)\n }, 666)\n anime({\n targets: '#leftPostalQuoteContainer',\n opacity: [1, 0, 1],\n easing: 'linear',\n duration: 1000\n })\n }\n }\n\n useEffect(() => {\n if (!initialState) {\n SwitchShipmentType()\n }\n }, [selectedContainer, contraEntregaActive]) //eslint-disable-line\n\n useEffect(() => {\n if (integrationOrder) {\n setSavedAddress({\n ...savedAddress,\n // origin: {\n // postalCode: integrationOrder.origin_address?.zip_code ?? '',\n // entireString: IntegrationCompletePC,\n // addressType: 'StoreAddress',\n // entireObject: integrationOrder,\n // onSelected: 'OriginPC'\n // },\n destiny: {\n postalCode: integrationOrder.shipping_address?.zip_code,\n entireString: IntegrationCompletePC,\n addressType: 'StoreAddress',\n entireObject: integrationOrder,\n onSelected: 'DestinyPC'\n }\n })\n } else if (initAddressData) {\n setSavedAddress({\n destiny: {\n addressType: 'SavedAddress',\n postalCode: initAddressData.Destiny.postal_code\n ? initAddressData.Destiny.postal_code\n : destinationData?.postal_code ?? \"\",\n entireObject: initAddressData.Destiny,\n entireString: `${initAddressData?.Destiny.postal_code} ~ ${initAddressData?.Destiny.name} ~ ${initAddressData?.Destiny.city} ~ ${initAddressData?.Destiny.state}`\n },\n origin: {\n addressType: 'SavedAddress',\n postalCode: initAddressData.Origin.postal_code ? initAddressData.Origin.postal_code : '',\n entireObject: initAddressData.Origin,\n entireString: `${initAddressData?.Origin.postal_code} ~ ${initAddressData?.Origin.name} ~ ${initAddressData?.Origin.city} ~ ${initAddressData?.Origin.state}`\n }\n })\n }\n\n TransitionShipmentType('awaiting...')\n\n setInitialState(false)\n }, []) //eslint-disable-line\n\n useEffect(() => {\n form.setFieldsValue({\n // Height: integrationOrder ? Number(integrationOrder.product_items[0].measures?.height) : quoteData.PackageArray[0]?.Height,\n // Length: integrationOrder ? Number(integrationOrder.product_items[0].measures?.lenght) : quoteData.PackageArray[0]?.Length,\n // Weight: integrationOrder ? Number(integrationOrder.product_items[0].measures?.weight) : quoteData.PackageArray[0]?.Weight,\n // Width: integrationOrder ? Number(integrationOrder.product_items[0].measures?.width) : quoteData.PackageArray[0]?.Width,\n Height: quoteData.PackageArray[0]?.Height,\n Length: quoteData.PackageArray[0]?.Length,\n Weight: quoteData.PackageArray[0]?.Weight,\n Width: quoteData.PackageArray[0]?.Width,\n Container: 0\n })\n //eslint-disable-next-line\n }, [quoteData.PackageArray])\n\n useEffect(() => {\n\n if(destinationData?.postal_code){\n (async function getDestinyData(){\n try {\n const response = await axios.get(`https://geocodes.envia.com/zipcode/mx/${destinationData?.postal_code}`)\n if(response.data.length === 0){\n return\n }\n const { zip_code, state, locality } = response.data[0]\n const destinyData = {\n entireObject: {\n ...response.data[0],\n },\n postalCode: destinationData?.postal_code,\n entireString: `${destinationData?.postal_code} ~ ${state.name} ~ ${locality}`,\n addressType: \"FetchedAddress\",\n onSelected: \"DestinyPC\"\n }\n setOutboundData(destinyData)\n setSavedAddress({ ...savedAddress, destiny: destinyData })\n form.setFieldsValue({\n 'DestinyPC': `${zip_code} ~ ${state.name} ~ ${locality}`\n })\n // console.log(destinyData)\n } catch (error) {\n // console.error(error)\n return error.response.data\n }\n }())\n }\n\n const getUserPackages = async ()=> {\n const { data } = await axios.get(\n `${process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL}/users/packages/all`, \n { headers: { Authorization: `Bearer ${token}` }}\n )\n\n setPackagesSaved(data)\n }\n\n getUserPackages()\n //eslint-disable-next-line\n }, [])\n \n // const tour = useTour(STEPS, 'LS_KEY28')\n // console.log('OriginPCSelectedCountry', form.getFieldValue('OriginPCSelectedCountry'))\n // console.log('DestinyPCSelectedCountry', form.getFieldValue('DestinyPCSelectedCountry'))\n // console.log('shipmentTypeSelected', shipmentTypeSelected)\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/* Origin Card */}\n \n
\n {' '}\n {/* {tour} */}\n

\n {'Origen'}\n

\n {\n SwitchShipmentType()\n }}\n onPostalCodeChange={(e) => {\n SwitchShipmentType()\n onSave(e)\n }}\n initialPostalCode={integrationOrder\n ? (initAddressData ? AddressCompleteOriginPC : undefined)\n : initAddressData\n ? AddressCompleteOriginPC : undefined}\n />\n
\n \n\n {/* Destiny Card */}\n \n
\n

\n {'Destino'}\n

\n {\n SwitchShipmentType()\n setIsInternational(true)\n }}\n onPostalCodeChange={(e) => {\n SwitchShipmentType()\n onSave(e)\n }}\n initialPostalCode={\n integrationOrder\n ? IntegrationCompletePC\n : initAddressData\n ? AddressCompleteDestinyPC\n : undefined\n }\n />\n
\n \n
\n
\n \n\n {/* Package Data Card */}\n \n {quoteData.PackageArray.length > 1 ? (\n <>\n 2 ? '400px' : '300px',\n overflow: 'scroll',\n padding: '0 0 8px 0',\n borderBottom: '1rem solid white',\n marginRight: '10px'\n }}\n >\n
\n (\n \n \n

{`${el?.Container === 'envelope'\n ? 'Sobre'\n : 'Caja'\n }`}

\n \n {`${el?.Insurance !== undefined\n ? 'Asegurado'\n : 'No asegurado'\n }`}\n \n {el.Container !== 'envelope' && (\n <>\n \n {'Medidas'}: {el.Width} x {el.Height}{' '}\n x {el.Length} cm\n \n \n {'Peso'}: {el.Weight} kg\n \n \n )}\n \n
\n ))}\n textListDecoration=\"numbers\"\n >\n
\n }\n type=\"primary\"\n ghost\n onClick={() => setModalIsOpen(!modalIsOpen)}\n >\n {'Editar paquetes'}\n \n }\n danger\n onClick={deletePackagesArray}\n >\n {'Eliminar paquetes'}\n \n
\n \n
\n \n \n ) : (\n \n
\n }\n title={'Cotizar multipaquete'}\n onClick={() => setModalIsOpen(!modalIsOpen)}\n />\n\n \n \n
\n {\n if (e.target.value === 0) {\n setSelectedContainer('box')\n setSavedPackageSelected(false)\n form.setFieldsValue({\n selectedPackage: undefined,\n Height: undefined,\n Length: undefined,\n Width: undefined,\n Weight: undefined\n })\n } else if (e.target.value === 1) {\n SwitchShipmentType()\n setSelectedContainer('envelope')\n form.setFieldsValue({\n Height: 10,\n Length: 10,\n Width: 10,\n Weight: 0.5\n })\n } else if (e.target.value === 2) {\n SwitchShipmentType()\n setSelectedContainer('pallet')\n form.setFieldsValue({\n Height: 120,\n Length: 100,\n Width: 16.5,\n Weight: 61\n })\n }\n }}\n />\n
\n \n\n \n \n \n
\n {\n setSavedPackageSelected(false)\n form.resetFields(['Height', 'Length', 'Width', 'Weight'])\n }}\n onChange={(e) => {\n const packageName = e?.split('[')[0]?.trim()\n const packageContent = e?.split('[')[1].replace(/\\]/g, '')?.trim()\n packagesSaved?.forEach((packageSaved) => {\n if (\n packageSaved.name === packageName &&\n packageSaved.content === packageContent\n ) {\n setSavedPackageSelected(true)\n form.resetFields(['Height'])\n form.setFieldsValue({\n Height: packageSaved.height,\n Length: packageSaved.length,\n Width: packageSaved.width,\n Weight: packageSaved.weight\n })\n CheckVolumetricWeight()\n }\n })\n }}\n optionsList={\n packagesSaved\n ? packagesSaved?.map((packageSaved) => {\n return `${packageSaved.name} [ ${packageSaved.content} ]`\n })\n : []\n }\n />\n
\n \n
\n \n \n \n \n \n \n \n \n {\n CheckVolumetricWeight()\n }}\n required\n disabled={\n selectedContainer === 'envelope' || savedPackageSelected\n ? true\n : false\n }\n valueContainerName=\"Width\"\n placeholder={`${'Ancho'} `}\n />\n \n \n \n \n \n \n {'Peso volumétrico'}:\n \n {' '}\n {   {volumetricWeight} Kg }\n \n \n \n \n \n \n \n
\n \n )}\n \n \n \n \n {\n setInsuranceActive(!insuranceActive)\n }}\n title={'Asegurar Envío'}\n type=\"iconTitleHoverButton\"\n shape={'circle'}\n iconOrReactElement={\n \n }\n />\n \n\n {currentSelectedCountry === 'CO' && (\n \n {\n setContraEntregaActive(!contraEntregaActive)\n }}\n title=\"Servicio Contra Entrega\"\n type=\"iconTitleHoverButton\"\n shape={'circle'}\n iconOrReactElement={\n \n }\n />\n \n )}\n\n \n \n \n {!isInternational && userData?.app_country !== 'MX' && (\n \n {'Envío Contra Entrega'}}\n checked={contraEntregaActive}\n onChange={(e) => {\n setContraEntregaActive(e.target.checked)\n }}\n />\n \n \n \n \n )}\n\n {contraEntregaActive &&\n !isInternational &&\n currentSelectedCountry === 'CO' && (\n \n \n \n )}\n \n \n \n \n \n {'Asegurar Envío'}}\n checked={insuranceActive}\n onChange={(e) => {\n setInsuranceActive(e.target.checked)\n }}\n />\n \n \n \n \n {insuranceActive && (\n \n \n \n )}\n \n \n \n\n form.submit()}\n type=\"button\"\n title={'Cotizar'}\n style={{ margin: '10px 0' }}\n />\n \n \n
\n \n \n
\n \n \n )\n}\n\nexport default PostalCodeQuote\n","export default __webpack_public_path__ + \"static/media/estafeta.0773e51d.png\";","export default __webpack_public_path__ + \"static/media/redpack.1a898567.png\";","export default __webpack_public_path__ + \"static/media/carssa.845e2cd6.png\";","export default __webpack_public_path__ + \"static/media/quiken.b45e626e.png\";","export default __webpack_public_path__ + \"static/media/scm.22c9a81f.png\";","export default __webpack_public_path__ + \"static/media/ampm.136d9d08.png\";","export default __webpack_public_path__ + \"static/media/sendex.dcbedcbb.png\";","export default __webpack_public_path__ + \"static/media/dhl.2174a921.png\";","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAA8CAYAAACtrX6oAAAUdUlEQVR4nO1ce5BkVXn/fedxb3fPc2e25z07LCxkESIYEjUQK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vBVxgZOubPx5owSomgSiBNOAeuvCwvQNnXs6sW7XcXj823/zYPSAExCuOHj5M5Qyr3GJ/+Babv3IUtsqAMCWAoQ6nHo4euR5E0cnAxxgrOHYbaT0ms6Zlt2kp/nZutaRnX8GACJ6HoC/RP26EbskcXeX1ko3W2vnldHQbJBLAmhvML8x3zCigodDpVqcmUMOuirePRwixHCPUyzXiL8FFXcJvA0yAj8Wp0dxGQDgY4YyqUFXH7Kcn68SOLu2jY14sqFFrh+7CZ72InonsJUYdy6tKDGhBVfPIjct/n8Mwp7qZMCTnmz4Vcd2OjpLfCilawUBvyxsx73ALgdvi2Z1Us3uxy6BtvYEo2g7DvqVP3y2i19t7HLwNtjOD2+831hmc9IcusNm7y4H72IXu9jFLnaxi12cAvw/jKP86MZizdAAAAAASUVORK5CYII=\"","export default __webpack_public_path__ + \"static/media/fedex.91d50d9d.png\";","export default __webpack_public_path__ + \"static/media/mensajerosUrbanos.895f18c5.png\";","export default __webpack_public_path__ + \"static/media/noventa9minutos.4b10f714.png\";","export default __webpack_public_path__ + \"static/media/paquetexpress.5a878b50.png\";","export default __webpack_public_path__ + \"static/media/uber.ebd72813.png\";","export default __webpack_public_path__ + \"static/media/testDrenvio.0a12a568.png\";","export default __webpack_public_path__ + \"static/media/ups.3afe0495.png\";","export default __webpack_public_path__ + \"static/media/coordinadora.f706b58d.png\";","export default __webpack_public_path__ + \"static/media/Interrapidisimo-Gris.7ab307f0.png\";","export default __webpack_public_path__ + \"static/media/redServi.16051c08.png\";","export default __webpack_public_path__ + \"static/media/serviEntrega.c1cb3372.png\";","export default __webpack_public_path__ + \"static/media/Deprisa-Morado.84077e11.png\";","export default __webpack_public_path__ + \"static/media/Interrapidisimo-Morado.5cc906db.png\";","export default __webpack_public_path__ + \"static/media/interrapidisimo-logo.24f26bce.png\";","export default __webpack_public_path__ + \"static/media/Inter-Rapidisimo.916786ec.png\";","export default __webpack_public_path__ + \"static/media/aExpress.e5387207.png\";","export default __webpack_public_path__ + \"static/media/jtexpress.bdac27a3.png\";","export default __webpack_public_path__ + \"static/media/borzo.8ea154ac.png\";","export default __webpack_public_path__ + \"static/media/tresguerras.7dc467f6.png\";","export default __webpack_public_path__ + \"static/media/treggo.5d03438d.png\";","export default __webpack_public_path__ + \"static/media/pickit.ae5e6aea.png\";","export default __webpack_public_path__ + \"static/media/moova.9dc0c3d6.png\";","export default __webpack_public_path__ + \"static/media/olva.62b93deb.png\";","export default __webpack_public_path__ + \"static/media/nirex.3e784441.png\";","export default __webpack_public_path__ + \"static/media/enviaco.6f4678b5.png\";","export default __webpack_public_path__ + \"static/media/picap.39d1087a.png\";","export default __webpack_public_path__ + \"static/media/estafeta.ca232e29.webp\";","export default __webpack_public_path__ + \"static/media/redpack.304d7463.webp\";","export default __webpack_public_path__ + \"static/media/carssa.095af5fd.webp\";","export default __webpack_public_path__ + \"static/media/quiken.43a76dab.webp\";","export default __webpack_public_path__ + \"static/media/scm.e80f7b46.webp\";","export default __webpack_public_path__ + \"static/media/ampm.2fea191c.webp\";","export default __webpack_public_path__ + \"static/media/sendex.1accb9f3.webp\";","export default __webpack_public_path__ + \"static/media/dhl.e65f120a.webp\";","export default __webpack_public_path__ + \"static/media/ivoy.946a42df.webp\";","export default __webpack_public_path__ + \"static/media/fedex.d8faae0c.webp\";","export default __webpack_public_path__ + \"static/media/mensajerosUrbanos.0cb6d7d5.webp\";","export default __webpack_public_path__ + \"static/media/noventa9minutos.f78ee560.webp\";","export default __webpack_public_path__ + \"static/media/paquetexpress.6832c094.webp\";","export default __webpack_public_path__ + \"static/media/uber.d0463dd5.webp\";","export default __webpack_public_path__ + \"static/media/ups.8db29ffe.webp\";","export default __webpack_public_path__ + \"static/media/jtexpress.13cb8141.webp\";","export default __webpack_public_path__ + \"static/media/borzo.364cfbf2.webp\";","export default __webpack_public_path__ + \"static/media/tresguerras.65da3f78.webp\";","export default __webpack_public_path__ + \"static/media/RedSErvi.36a70d8c.png\";","export default __webpack_public_path__ + \"static/media/aexpress.e52a044c.png\";","export default __webpack_public_path__ + \"static/media/coordina.794171e9.png\";","export default __webpack_public_path__ + \"static/media/servientrega.30110e7f.png\";","export default __webpack_public_path__ + \"static/media/interrapidisimo.672b13bd.png\";","export default __webpack_public_path__ + \"static/media/treggo.76831b89.webp\";","export default __webpack_public_path__ + \"static/media/moova.0af3f9d3.webp\";","export default __webpack_public_path__ + \"static/media/olva.43031c23.webp\";","export default __webpack_public_path__ + \"static/media/nirex.d0fee1ee.webp\";","export default __webpack_public_path__ + \"static/media/enviaco.0f4d43bd.webp\";","export default __webpack_public_path__ + \"static/media/picap.7abc2fd7.webp\";","// Logos de las Paqeterías (Imágenes)\nimport estafeta from '../../../images/parcelLogos/estafeta.png'\nimport redpack from '../../../images/parcelLogos/redpack.png'\nimport carssa from '../../../images/parcelLogos/carssa.png'\nimport quiken from '../../../images/parcelLogos/quiken.png'\nimport scm from '../../../images/parcelLogos/scm.png'\nimport ampm from '../../../images/parcelLogos/ampm.png'\nimport sendex from '../../../images/parcelLogos/sendex.png'\nimport dhl from '../../../images/parcelLogos/dhl.png'\nimport ivoy from '../../../images/parcelLogos/ivoy.png'\nimport fedex from '../../../images/parcelLogos/fedex.png'\nimport mensajerosUrbanos from '../../../images/parcelLogos/mensajerosUrbanos.png'\nimport noventa9minutos from '../../../images/parcelLogos/noventa9minutos.png'\nimport paquetexpress from '../../../images/parcelLogos/paquetexpress.png'\nimport uber from '../../../images/parcelLogos/uber.png'\nimport testDrenvio from '../../../images/parcelLogos/testDrenvio.png'\nimport ups from '../../../images/parcelLogos/ups.png'\nimport coordinadora from '../../../images/parcelLogos/coordinadora.png'\nimport interRapidisimo from '../../../images/parcelLogos/Interrapidisimo-Gris.png'\nimport redServi from '../../../images/parcelLogos/redServi.png'\nimport serviEntrega from '../../../images/parcelLogos/serviEntrega.png'\nimport deprisa from '../../../images/parcelLogos/Deprisa-Morado.png'\nimport interrapidisimo from '../../../images/parcelLogos/Interrapidisimo-Morado.png'\nimport interrapidisimo2 from '../../../images/parcelLogos/interrapidisimo-logo.png'\nimport interrapidisimo_v2 from '../../../images/parcelLogos/Inter-Rapidisimo.png'\nimport aExpress from '../../../images/parcelLogos/aExpress.png'\nimport jtexpress from '../../../images/parcelLogos/jtexpress.png'\nimport borzo from '../../../images/parcelLogos/borzo.png'\nimport treguerras from '../../../images/parcelLogos/tresguerras.png'\nimport treggo from '../../../images/parcelLogos/treggo.png'\nimport pickit from '../../../images/parcelLogos/pickit.png'\nimport moova from '../../../images/parcelLogos/moova.png'\nimport olva from '../../../images/parcelLogos/olva.png'\nimport nirex from '../../../images/parcelLogos/nirex.png'\nimport enviaco from '../../../images/parcelLogos/enviaco.png'\nimport picap from '../../../images/parcelLogos/picap.png'\n//Carries dashboard logos\nimport estafetaDashboard from '../../../images/parcelDashboard/estafeta.webp'\nimport redpackDashboard from '../../../images/parcelDashboard/redpack.webp'\nimport carssaDashboard from '../../../images/parcelDashboard/carssa.webp'\nimport quikenDashboard from '../../../images/parcelDashboard/quiken.webp'\nimport scmDashboard from '../../../images/parcelDashboard/scm.webp'\nimport ampmDashboard from '../../../images/parcelDashboard/ampm.webp'\nimport sendexDashboard from '../../../images/parcelDashboard/sendex.webp'\nimport dhlDashboard from '../../../images/parcelDashboard/dhl.webp'\nimport ivoyDashboard from '../../../images/parcelDashboard/ivoy.webp'\nimport fedexDashboard from '../../../images/parcelDashboard/fedex.webp'\nimport mensajerosUrbanosDashboard from '../../../images/parcelDashboard/mensajerosUrbanos.webp'\nimport noventa9minutosDashboard from '../../../images/parcelDashboard/noventa9minutos.webp'\nimport paquetexpressDashboard from '../../../images/parcelDashboard/paquetexpress.webp'\nimport uberDashboard from '../../../images/parcelDashboard/uber.webp'\nimport upsDashboard from '../../../images/parcelDashboard/ups.webp'\nimport jtexpressDashboard from '../../../images/parcelDashboard/jtexpress.webp'\nimport borzoDashboard from '../../../images/parcelDashboard/borzo.webp'\nimport treguerrasDashboard from '../../../images/parcelDashboard/tresguerras.webp'\nimport redserviDashboard from '../../../images/parcelDashboard/RedSErvi.png'\nimport aexpressDashboard from '../../../images/parcelDashboard/aexpress.png'\nimport coordinadoraDashboard from '../../../images/parcelDashboard/coordina.png'\nimport servientregaDashboard from '../../../images/parcelDashboard/servientrega.png'\nimport interrapidisimoDashboard from '../../../images/parcelDashboard/interrapidisimo.png'\nimport treggoDashboard from '../../../images/parcelDashboard/treggo.webp'\nimport pickitDashboard from '../../../images/parcelDashboard/pickit.png'\nimport moovaDashboard from '../../../images/parcelDashboard/moova.webp'\nimport olvaDashboard from '../../../images/parcelDashboard/olva.webp'\nimport nirexDashboard from '../../../images/parcelDashboard/nirex.webp'\nimport enviacoDashboard from '../../../images/parcelDashboard/enviaco.webp'\nimport picapDashboard from '../../../images/parcelDashboard/picap.webp'\n// Mapa con todas las paqueterías y sus características\n// Nota#1 ---> El archivo es .tsx debido a que se ponen con estilos específicos de cada imágen (para que se vea mejor)\n// Nota#2 ---> Si quieres agregar una nueva paquetería solo agrega su nombre y la información necesaria\n\nexport const parcel_map = {\n test: 'Paqueteria Drenvion TEST',\n fedex: 'Fedex',\n sendex: 'Sendex',\n dhl: 'DHL',\n ups: 'UPS',\n redpack: 'Redpack',\n carssa: 'Carssa',\n ivoy: 'iVoy',\n scm: 'SCM',\n quiken: 'Quiken',\n ampm: 'AMPM',\n estafeta: 'Estafeta',\n noventa9Minutos: '99 Minutos',\n mensajerosUrbanos: 'Mensajeros Urbanos',\n uber: 'Uber',\n aExpress: 'AExpress',\n coordinadora: 'Coordinadora',\n interRapidisimo: 'InterRapidisimo',\n redServi: 'Redservi',\n serviEntrega: 'ServiEntrega',\n deprisa: 'Deprisa',\n vencedor: 'Vencedor',\n paquetexpress: 'Paquetexpress',\n jtexpress: 'J&T express',\n borzo: 'Borzo',\n interrapidisimo: 'Interrapidisimo',\n tresguerras: 'Tres guerras',\n treggo: 'Treggo',\n pickit: 'Pickit',\n moova: 'Moova',\n olva: 'Olva',\n nirex: 'Nirex',\n envia: 'Envia',\n picap: 'Picap',\n}\n\nexport const parcel_comercial_name = (key) => {\n return parcel_map[key]\n}\n\nexport const allParcels = new Map([])\n\nallParcels.set('test', {\n imgSrc: testDrenvio,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('test'),\n dashboardImageSrc: fedexDashboard\n})\nallParcels.set('fedex', {\n imgSrc: fedex,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('fedex'),\n dashboardImageSrc: fedexDashboard\n})\nallParcels.set('dhl', {\n imgSrc: dhl,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('dhl'),\n dashboardImageSrc: dhlDashboard\n})\nallParcels.set('estafeta', {\n imgSrc: estafeta,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('estafeta'),\n dashboardImageSrc: estafetaDashboard\n})\nallParcels.set('redpack', {\n imgSrc: redpack,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('redpack'),\n dashboardImageSrc: redpackDashboard\n})\nallParcels.set('carssa', {\n imgSrc: carssa,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('carssa'),\n dashboardImageSrc: carssaDashboard\n})\nallParcels.set('quiken', {\n imgSrc: quiken,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('quiken'),\n dashboardImageSrc: quikenDashboard\n})\nallParcels.set('scm', {\n imgSrc: scm,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('scm'),\n dashboardImageSrc: scmDashboard\n})\nallParcels.set('sendex', {\n imgSrc: sendex,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('sendex'),\n dashboardImageSrc: sendexDashboard\n})\nallParcels.set('ampm', {\n imgSrc: ampm,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('ampm'),\n dashboardImageSrc: ampmDashboard\n})\nallParcels.set('ivoy', {\n imgSrc: ivoy,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('ivoy'),\n dashboardImageSrc: ivoyDashboard\n})\nallParcels.set('mensajerosUrbanos', {\n imgSrc: mensajerosUrbanos,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('mensajerosUrbanos'),\n dashboardImageSrc: mensajerosUrbanosDashboard\n})\nallParcels.set('noventa9Minutos', {\n imgSrc: noventa9minutos,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('noventa9Minutos'),\n dashboardImageSrc: noventa9minutosDashboard\n})\nallParcels.set('paquetexpress', {\n imgSrc: paquetexpress,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('paquetexpress'),\n dashboardImageSrc: paquetexpressDashboard\n})\n//para que no se vea tracusa en el front\n/*allParcels.set('tracusa', {\n imgSrc: tracusa,\n activated: true,\n image: (\n \n ),\n dashboardImageSrc: tracusaDashboard\n})*/\nallParcels.set('uber', {\n imgSrc: uber,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('uber'),\n dashboardImageSrc: uberDashboard\n})\nallParcels.set('ups', {\n imgSrc: ups,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('ups'),\n dashboardImageSrc: upsDashboard\n})\nallParcels.set('aExpress', {\n imgSrc: aExpress,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('aExpress'),\n dashboardImageSrc: aexpressDashboard\n})\nallParcels.set('coordinadora', {\n imgSrc: coordinadora,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('coordinadora'),\n dashboardImageSrc: coordinadoraDashboard\n})\nallParcels.set('interRapidisimo', {\n imgSrc: interRapidisimo,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('interRapidisimo'),\n dashboardImageSrc: interRapidisimo\n})\nallParcels.set('redServi', {\n imgSrc: redServi,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('redServi'),\n dashboardImageSrc: redserviDashboard\n})\nallParcels.set('serviEntrega', {\n imgSrc: serviEntrega,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('serviEntrega'),\n dashboardImageSrc: servientregaDashboard\n})\nallParcels.set('deprisa', {\n imgSrc: deprisa,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('deprisa'),\n dashboardImageSrc: servientregaDashboard\n})\n\nallParcels.set('interrapidisimo', {\n imgSrc: interrapidisimo,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('interrapidisimo'),\n dashboardImageSrc: interrapidisimoDashboard\n})\n\nallParcels.set('jtexpress', {\n imgSrc: jtexpress,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('jtexpress'),\n dashboardImageSrc: jtexpressDashboard\n})\nallParcels.set('borzo', {\n imgSrc: borzo,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('borzo'),\n dashboardImageSrc: borzoDashboard\n})\nallParcels.set('tresguerras', {\n imgSrc: treguerras,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('tresguerras'),\n dashboardImageSrc: treguerrasDashboard\n})\n\nallParcels.set('treggo', {\n imgSrc: treggo,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('treggo'),\n dashboardImageSrc: treggoDashboard\n})\nallParcels.set('pickit', {\n imgSrc: pickit,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('pickit'),\n dashboardImageSrc: pickitDashboard\n})\n\nallParcels.set('moova', {\n imgSrc: moova,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('moova'),\n dashboardImageSrc: moovaDashboard\n})\n\nallParcels.set('olva', {\n imgSrc: olva,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('olva'),\n dashboardImageSrc: olvaDashboard\n})\n\nallParcels.set('nirex', {\n imgSrc: nirex,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('nirex'),\n dashboardImageSrc: nirexDashboard\n})\n\nallParcels.set('envia', {\n imgSrc: enviaco,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('envia'),\n dashboardImageSrc: enviacoDashboard\n}) \n \nallParcels.set('picap', {\n imgSrc: picap,\n activated: true,\n image: (\n \n ),\n comercialName: parcel_comercial_name('picap'),\n dashboardImageSrc: picapDashboard\n})\n\nexport const allParcelsMapeable = []\nallParcels.forEach((languageData, key) => allParcelsMapeable.push([key, languageData]))\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgwAAAIJCAYAAADJS2W8AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAB45SURBVHhe7d1NryTXeR/wrjucsUjJoKxIlmQGhINYexkBDBiJvoEWAQIE3NJraUiRWuRDWJQ0NLIUt8xa/AaWN0EW2stAACG0FNuxSFikxHm5lX7q5U7Pnb736a63rqr+/YCeqR7yvtWtOudfzzl1qtgsTPmdl3/SbG6VrzcbALAQxXvNxqb4m4//qtmcvUUEBiEBgHVaTniYbWAQEgA4L/MOD7MLDE+DgpAAwLmqw8OcgsNsAoOgAADXzSc4nDwwCAoAkDl9cDhpYKjDgqAAAIcp3jtVaDhJYFBVAICuTlNtmDwwqCoAwBCmrTZMFhhUFQBgaNNVGyYJDKoKADCm8asNowcGYQEApjBuaBgtMBiCAICpjRcaRgkMqgoAcCrjzGsYPDAICwAwB8NWGwYNDMICAMzJcKFhsMAgLADAHA0TGgYJDMICAMxZ/9DQOzAICwCwBP1CQ6/AICwAwJJ0Dw0Xzd8AwOqVr9cX+8frHBhUFwDgfHQakhAWAGDJjh+aODowCAsAsAbHhYajAoOwAABrcnhoMOkRAEgdXGFQXQCANTqsynBQYBAWAGDN8tBgSAIASKUVBtUFADgHt1cZbg0MwgIAnJObQ4MhCQAgdWOFQXUBAM7R/iqDCgMAkNpbYVBdAIBz9nyVQYUBAEg9V2FQXQAArlcZVBgAgJTAAACknhmSMBwBADz1dFhChQEASAkMAEDqakjCcAQA8Lx6WEKFAQBICQwAQKoakjAcAQDcrHhPhQEASAkMAEBKYAAAUgIDAJAqTHgEADIqDABASmAAAFICAwCQEhgAgJTAAACkBAYAICUwAAApgQEASAkMAEBKYAAAUgIDAJASGACAlMAAAKQEBgAgJTAAACmBAQBICQwAQEpgAABSAgMAkBIYAICUwAAApAQGACAlMAAAKYEBAEgJDABASmAAAFICAwCQEhgAgJTAAACkBAYAICUwAAApgQEASAkMAEBKYAAAUgIDAJASGACAlMAAAKQEBgAgJTAAACmBAQBICQwAQEpgAABSAgMAkBIYAICUwAAApAQGACAlMAAAKYEBAEgJDABASmAAAFICAwCQEhgAgJTAAACkBAYAICUwAAApgQEASAkMAEBKYAAAUgIDAJASGACAlMAAAKQEBgAgJTAAACmBAQBICQwAQEpgAABSAgMAkBIYAICUwAAApAQGACAlMAAAKYEBAEgJDABASmAAAFICAwCQEhgAgJTAAACkBAYAICUwAAApgQEASAkMAEBKYAAAUgIDAJASGACAlMAAAKQEBgAgJTAAACmBAQBICQwAQEpgAABSAgMAkBIYAICUwAAApAQGACAlMAAAKYEBAEgJDABASmAAAFICAwCQEhgAgJTAAACkBAYAICUwAAApgQEASAkMAEBKYAAAUgIDAJASGACAlMAAAKQEBgAgJTAAACmBAQBICQwAQEpgAABSAgMAkBIYAICUwAAApAQGACAlMAAAKYEBAEgJDABASmAAAFICAwCQEhgAgJTAAACkBAYAICUwAAApgQEASAkMAEBKYAAAUgIDAJASGACAlMAAAKQEBgAgJTAAACmBAQBICQwAQEpgAABSAgMAkBIYAICUwAAApAQGACAlMAAAKYEBAEgJDABASmAAAFICAwCQEhgAgJTAAACkBAYAICUwAAApgQEASAkMAEBKYAAAUgIDAJASGACAlMAAAKQEBgAgJTAAACmBAQBICQwAQEpgYDKXf/CH115f2P5rUf9HAGatKL/z8k82m/L15j2M5xvf2mzuf9C8eery+/+2+rt4+Mn2gLystgGYFxUGJnP5y583W8+6+Ov/U72KB7+pKg+qDgDzIzAwKxEcNu9+tLm891LzLwDMgcDAhMrm79zFD37VVBsAmAOBgclcfPbbq/kKh4hqQz0xEoBTExiYRNvxF48+rf4+1MV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AJASGACAlMAAAKQEBgAgJTAAACmBAQBIFfFH+Z2Xf7L98/XqXwAAnlG8p8IAAKQEBgAgJTAAACmBAQBIVZMeg4mPAMDziveKv/n4r1QYAICUwAAApK6GJIJhCQDgqXo4IrZUGACAlMAAAKSeGZIIhiUAgN3hiKDCAACkBAYAIPXckEQwLAEA5+zZ4YigwgAApPZWGIIqAwCco+erC0GFAQBI3VhhCKoMAHBO9lcXggoDAJC6tcIQVBkA4BzcXF0IaWAIQgMArNntYSEYkgAAUgdVGIIqAwCsUV5dCAcHhiA0AMCaHBYWgiEJACB1VIUhqDIAwBocXl0IRweGIDQAwJIdFxZCp8AQhAYAWKLjw0IwhwEAzka3sBA6B4b6CxbvNW8BgBXrPCTRMjQBAEvQvboQegeGIDQAwJz1CwthkMAQhAYAmKP+YSEMFhiC0AAAczJMWAiDBoYgNADAHAwXFsLggSHUoaHaEhwAYHLDhoUwSmBoqTYAwJTq5Q6GDgth1MAQhAYAmMLwVYVdoweGIDQAwJjGDQthksAQzGsAgKGNNwRx3WSBoaXaAABDGL+qsGvywBBUGwCgq+mqCrtOEhhaqg0AcIxpqwq7ThoYgmoDAGROU1XYdfLA0BIcAOC60weF1mwCQ0twAID5BIXW7AJD62lwCMIDAGtXh4Qwp6DQmm1g2CU8ALBO8w4JuxYRGHYJDwAs23JCwlObzf8H7XdU2V9sr74AAAAASUVORK5CYII=\"","import React, { useEffect, useState } from 'react'\nimport { Row, Col, Typography, List } from 'antd'\nimport { RightCircleOutlined, RightSquareOutlined } from '@ant-design/icons'\n\nconst CardContraEntregaContainer = (CardContainerProps) => {\n const ItemsStyling = {\n iconOrImg: {\n width: CardContainerProps.iconOrImg?.type === 'img' ? '100%' : '40px',\n height: CardContainerProps.iconOrImg?.type === 'img' ? '100%' : '40px',\n margin: CardContainerProps.iconOrImg?.type === 'img' ? '0px auto' : '0px',\n borderRadius: '10px',\n border: '1px solid transparent',\n backgroundColor: CardContainerProps.contrastColor\n ? CardContainerProps.contrastColor\n : 'transparent',\n display: 'grid',\n placeItems: 'center',\n ...CardContainerProps.iconOrImgStyle\n },\n title: {\n margin: 'auto',\n fontWeight: 'bolder',\n width: '100%',\n height: '100%',\n display: 'grid',\n placeItems: 'center left',\n ...CardContainerProps.titleStyle\n },\n subtitle: {\n margin: 'auto',\n fontWeight: 'bolder',\n color: '#2d1b6e',\n fontSize: '2rem',\n width: '100%',\n height: '100%',\n display: 'grid',\n placeItems: 'center left',\n ...CardContainerProps.subtitleStyle\n }\n }\n const { Text } = Typography\n const [cardComponentsCount, setCardComponentsCount] = useState(0)\n\n useEffect(() => {\n let totalCount = 0\n CardContainerProps.iconOrImg && totalCount++\n CardContainerProps.title && totalCount++\n CardContainerProps.subtitle && totalCount++\n CardContainerProps.children && totalCount++\n // typeof CardContainerProps.textList === \"object\" &&\n // (totalCount += Object.values(CardContainerProps.textList).length);\n\n Array.isArray(CardContainerProps.textList) && (totalCount += CardContainerProps.textList.length)\n\n setCardComponentsCount(totalCount)\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n return (\n {}\n }\n >\n \n {CardContainerProps.itemsOrder ? (\n <>\n {CardContainerProps.itemsOrder.map((item) => {\n return (\n \n {CardContainerProps[item]}\n \n )\n })}\n \n ) : (\n <>\n {CardContainerProps.title ? (\n \n \n {CardContainerProps.title}\n \n \n ) : null}\n\n {CardContainerProps.subtitle ? (\n \n \n {CardContainerProps.subtitle}\n \n \n ) : null}\n\n {CardContainerProps.textList ? (\n \n {Array.isArray(CardContainerProps.textList) ? (\n (\n \n \n ) : CardContainerProps.textListDecoration === 'squares' ? (\n \n ) : CardContainerProps.textListDecoration === 'numbers' ? (\n \n {index + 1}.\n \n ) : undefined\n }\n title={\n \n {item}\n \n }\n />\n \n )}\n />\n ) : (\n {\n const [key, value] = entry\n return {\n title: key,\n description: value\n }\n })}\n renderItem={(item) => (\n \n \n {item.title}\n \n }\n description={\n \n {item.description}\n \n }\n />\n \n )}\n />\n )}\n \n ) : null}\n\n {CardContainerProps.children ? (\n \n {CardContainerProps.children}\n \n ) : null}\n \n )}\n \n \n )\n}\n\nexport default CardContraEntregaContainer\n","import React from 'react'\nimport LottieContainer from '../containers/LottieContainer'\nimport LoadingGradient from '../lotties/loadingGradient.json'\n\nconst LoadingAnimation = ({\n animationType,\n loadingText,\n fullPage,\n onClick\n}) => {\n return (\n \n
\n {animationType === 'big' ? (\n \n \n \n \n ) : (\n \n )}\n\n \n {loadingText ? loadingText : 'Cargando...'}\n \n
\n \n )\n}\n\nexport default LoadingAnimation\n","import { Typography } from 'antd'\n\nexport const tips = [\n \n AMPM es una empresa de Telmex, la cual empezó entregando recibos bancarios, es por eso que ahora\n se especializa en paquetes pequeños.\n ,\n \n El servicio más rápido que ofrece DrEnvío es Fedex Express Prioridad.\n ,\n \n Hacer un envío internacional es más fácil de lo que parece, sólo necesitas tu guía y un\n documento llamado Factura Comercial.\n ,\n \n También hacemos tu tienda en línea y puedes pagarla hasta en 12 mensualidades, te la entregamos\n en 4-5 semanas, pregunta en el chat.\n ,\n \n {' '}\n Redpack fue comprado en el 2018 por Grupo Traxión y se espera un crecimiento en los siguientes\n años.\n ,\n \n Todos los reportes que tengas con tus guías se deben notificar al chat de plataforma.\n ,\n \n Las recolecciones que se solicitan antes de las 12pm se programan ese mismo día, después de las 12 hasta el siguiente día.\n ,\n \n Las recolecciones de 99minutos se realizan en automático.\n ,\n \n Puedes cancelar una guía desde el apartado de envíos si no la utilizaste.\n ,\n \n Las recargas arriba de $1,000 no te generan comisión.\n ,\n \n Puedes seleccionar sólo tus paqueterías preferidas desde la sección de 'preferencias', eso hará que tus cotizaciones sean más rapidas\n ,\n \n Ya contamos con envíos por tarima.\n ,\n \n La opción de sobre al cotizar toma las medidas de 10x10x10 .5 gramos.\n ,\n]\n","export const userRoles = {\n common: 'COMMON',\n admin: 'ADMIN',\n dev: 'DEV'\n}","export const quoteErrorMessage = (message) => {\n switch (message) {\n case 'Sender limit reached, verify your account.':\n return 'Tu cuenta ha alcanzado el límite de remitentes, pide la verificación en el chat.'\n\n case 'International shipments blocked':\n return 'Para habilitar los envios internacionales, favor de comunicarse por el chat.'\n\n case 'Sender Cp is blocked':\n return 'El Cp de origen ha sido bloqueado, favor de comunicarse por el chat.'\n\n case 'Cannot afford this shipment':\n return 'No tiene suficiente saldo para realizar el envío.'\n\n case 'Provider not found':\n return 'Error generando la guía, por favor contáctenos por el chat.'\n default:\n return 'Error cotizando, por favor regrese e intente de nuevo. Si el error persiste, contáctenos por el chat.'\n }\n}","// Libraries\nimport axios from 'axios'\nimport React, { useContext, useEffect, useMemo, useState } from 'react'\nimport { Row, Col, Typography, Tooltip, notification } from 'antd'\nimport {\n ArrowLeftOutlined,\n ArrowDownOutlined,\n SortAscendingOutlined,\n SortDescendingOutlined\n} from '@ant-design/icons'\nimport LottieContainer from '../containers/LottieContainer'\nimport { allParcels } from '../countrySettings/allParcels'\n\n// Contexts\nimport { QuoteDataContext } from '../../../context/QuoteDataContext'\nimport { CountriesContext } from '../../../context/CountriesContext'\nimport { DataContext } from '../../../context/dataContext'\n\n// Containers\nimport CardContainer from '../containers/CardContainer'\nimport CardContraEntregaContainer from '../containers/CardContraEntregaContainer'\nimport InputContainer from '../containers/InputContainer'\n\nimport LoadingAnimation from '../components/LoadingAnimation'\n\n// Assets\nimport AnalyticsLottie from '../lotties/analytics.json'\n// import { getParcelsQuote } from '../../../services/quote_s'\nimport { tips } from '../components/Tips'\n// import { usePost } from '../../../hooks/usePost'\n\n//tour\n// import { Step } from 'react-joyride'\n// import useTour from '../../../utils/Tour/useTour'\nimport { userRoles } from '../utils/userRoles'\n// import useDevice from '../../../utils/hooks/useDevice'\nimport { quoteErrorMessage } from '../utils/quoteMessages'\nimport { CountriesSettings } from '../countrySettings/countriesSettings'\n// import { useStoreContext } from '../../../context/StoreContext'\n// import { useStoreContext } from '../../../context/StoreContext'\n\n// const STEPS: Step[] = [\n// {\n// target: '.tipodeEnvio',\n// content:

👆Escoje la paquetería y conoce el precio, tiempo y tipo de envío.

\n// },\n// {\n// target: '.filtro',\n// content:

🤏 Filtra tus paqueterias favoritas.

\n// }\n// ]\n\nconst SelectFavParcel = ({ token, handleStep, isIntegration, saveData }) => {\n const {\n setQuoteStepTransition,\n previousQuoteStep,\n quoteData,\n setQuoteData,\n shipmentTypeSelected\n } = useContext(QuoteDataContext)\n // const { store } = useStoreContext()\n // const { currentParcelsData, currentCountrySelectedData, formatPrice } =\n // useContext(CountriesContext)\n const { currentSelectedCountry, currentCountrySelectedData, formatPrice } =\n useContext(CountriesContext)\n const { data: { userInfo: userData } } = useContext(DataContext)\n // const { fetchData } = usePost(getParcelsQuote)\n // const { isMobile, isTablet } = useDevice()\n const [isMobile] = useState(false)\n const [isTablet] = useState(false)\n\n const [dataFetchingStatus, setDataFetchingStatus] = useState('awaiting')\n const [apiCallResultString, setApiCallResultString] = useState({\n message: 'No se encontraron paqueterías disponibles',\n status: 'no parcels found'\n })\n\n // Obtener Random Tip de La lista de Tips cada que se renderea el componente\n const RandomTip = useMemo(() => {\n return tips[Math.floor(Math.random() * tips.length)]\n }, [])\n\n const t = (service)=> {\n switch (service){\n case \"Quote.Service.Title_time\": \n return \"Tiempo\"\n case \"Quote.Service.Title_price\": \n return \"Precio\"\n case \"Quote.Service.Title_type\": \n return \"Servicio\"\n case \"Quote.Service.Title_container\": \n return \"Tipo\"\n case \"Quote.Service.terrestre\": \n return \"Terrestre\"\n case \"Quote.Service.import\": \n return \"Importacion\"\n case \"Quote.Service.ground\": \n return \"Terrestre\"\n case \"Quote.Service.especial\": \n return \"Especial\"\n case \"Quote.Service.g_especial\": \n return \"Terrestre especial\"\n case \"Quote.Service.n_especial\": \n return \"Día siguiente especial\"\n case \"Quote.Service.ground_without_pickup\": \n return \"Sin recolección\"\n case \"Quote.Service.ground_small\": \n return \"Terrestre\"\n case \"Quote.Service.premier_cod\": \n return \"Premier ContraEntrega\"\n case \"Quote.Service.metropolitano\": \n return \"Local\"\n case \"Quote.Service.next_day\": \n return \"Express\"\n case \"Quote.Service.next_day_without_pickup\": \n return \"Sin recolección\"\n case \"Quote.Service.same_day\": \n return \"Mismo día\"\n case \"Quote.Service.2_days\": \n return \"2 días\"\n case \"Quote.Service.express\": \n return \"Express\"\n case \"Quote.Service.express_10-30\": \n return \"Express 10:30\"\n case \"Quote.Service.saver\": \n return \"Terrestre\"\n case \"Quote.Service.express_int\": \n return \"Express\"\n case \"Quote.Service.Standard\": \n return \"Terrestre\"\n case \"Quote.Service.Express\": \n return \"Express\"\n case \"Quote.Service.int_ground\": \n return \"Terrestre\"\n case \"Quote.Service.int_express\": \n return \"Express\"\n case \"Quote.Service.economic\": \n return \"Económico\"\n case \"Quote.Service.worldwide_express\": \n return \"Express\"\n case \"Quote.Service.worldwide_express_plus\": \n return \"Express Plus\"\n case \"Quote.Service.standard\": \n return \"Terrestre\"\n case \"Quote.Service.priority\": \n return \"Prioridad\"\n case \"Quote.Service.industrial\": \n return \"Industrial\"\n case \"Quote.Service.premier\": \n return \"Premier\"\n case \"Quote.Service.local_next_day\": \n return \"Express\"\n case \"Quote.Service.local_same_day\": \n return \"Mismo día\"\n case \"Quote.Service.noventa9Minutos local_next_day\": \n return \"99Minutos Día siguiente\"\n case \"Quote.Service.noventa9Minutos local_same_day\": \n return \"99Minutos Mismo día\"\n case \"Quote.Service.DHL Express Internacional Terrestre\": \n return \"DHL Internacional Terrestre\"\n case \"Quote.Service.DHL Express Express\": \n return \"DHL Express\"\n case \"Quote.Service.DHL Express terrestre\": \n return \"DHL Terrestre\"\n case \"Quote.Service.Fedex\": \n return \"Fedex Terrestre\"\n case \"Quote.Service.sendex ground\": \n return \"Sendex Terrestre\"\n case \"Quote.Service.PAQUETE EXPRESS TERRESTRE\": \n return \"Paquetexpress Terrestre\"\n case \"Quote.Service.Short.ground\": \n return \"Terr\"\n case \"Quote.Service.Short.next_day\": \n return \"Día sig\"\n case \"Quote.Service.rapi_charge\": \n return \"Carga Rapida\"\n case \"Quote.Service.sobre\": \n return \"Documento Unitario\"\n\n case \"Quote.Service.Carrier.fedex\": \n return \"Fedex\"\n case \"Quote.Service.Carrier.estafeta\": \n return \"Estafeta\"\n case \"Quote.Service.Carrier.dhl\": \n return \"DHL\"\n case \"Quote.Service.Carrier.carssa\": \n return \"CARSSA\"\n case \"Quote.Service.Carrier.noventa9Minutos\": \n return \"99 Minutos\"\n case \"Quote.Service.Carrier.ups\": \n return \"UPS\"\n case \"Quote.Service.Carrier.sendex\": \n return \"Sendex\"\n case \"Quote.Service.Carrier.redpack\": \n return \"Redpack\"\n case \"Quote.Service.Carrier.ampm\": \n return \"AMPM\"\n case \"Quote.Service.Carrier.quiken\": \n return \"Quiken\"\n case \"Quote.Service.Carrier.paquetexpress\": \n return \"Paquetexpress\"\n case \"Quote.Service.Carrier.ivoy\": \n return \"iVoy\"\n case \"Quote.Service.Carrier.scm\": \n return \"SCM\"\n case \"Quote.Service.Carrier.borzo\": \n return \"Borzo\"\n case \"Quote.Service.Carrier.jtexpress\": \n return \"JTExpress\"\n case \"Quote.Service.Carrier.mensajerosUrbanos\": \n return \"Mensajeros Urbanos\"\n case \"Quote.Service.Carrier.servientrega\": \n return \"Servientrega\"\n case \"Quote.Service.Carrier.serviEntrega\": \n return \"ServiEntrega\"\n case \"Quote.Service.Carrier.deprisa\": \n return \"Deprisa\"\n case \"Quote.Service.Carrier.interrapidisimo\": \n return \"Interrapidísimo\"\n case \"Quote.Service.Carrier.coordinadora\": \n return \"Coordinadora\"\n case \"Quote.Service.Carrier.redservi\": \n return \"RedServi\"\n case \"Quote.Service.Carrier.delivery_in_store\": \n return \"Entrega en sucursal\"\n case \"Quote.Service.Carrier.free_shipping\": \n return \"Envío Gratuito\"\n case \"Quote.Service.delivery\": \n return \"Mensajería\"\n case \"Quote.Service.plus\": \n return \"Plus\"\n case \"Quote.Service.estandar\": \n return \"Estandar\"\n default:\n return\n }\n }\n\n // Variables y Funciones para el Filtro de Opciones y Paqueterías\n const [filterOption, setFilterOption] =\n useState('textFiltration')\n const [textToFilter, setTextToFilter] = useState(undefined)\n const filteredParcels = useMemo(() => {\n if (filterOption === 'lowestPrice') {\n return quoteData.FetchedParcelsArray.sort((a, b) => {\n if (a.price && b.price) {\n const priceABigger = a.price > b.price\n const priceBBigger = a.price < b.price\n if (priceABigger) return 1\n if (priceBBigger) return -1\n else return 0\n } else return 1\n })\n } else if (filterOption === 'highestPrice') {\n return quoteData.FetchedParcelsArray.sort((a, b) => {\n if (a.price && b.price) {\n const priceABigger = a.price > b.price\n const priceBBigger = a.price < b.price\n if (priceABigger) return -1\n if (priceBBigger) return 1\n else return 0\n } else return 1\n })\n } else if (filterOption === 'lowestTime') {\n return quoteData.FetchedParcelsArray.sort((a, b) => {\n const timeABigger = parseInt(a.days.split(' ')[0]) > parseInt(b.days.split(' ')[0])\n const timeBBigger = parseInt(a.days.split(' ')[0]) < parseInt(b.days.split(' ')[0])\n if (timeABigger) return 1\n if (timeBBigger) return -1\n else return 0\n })\n } else if (filterOption === 'highestTime') {\n return quoteData.FetchedParcelsArray.sort((a, b) => {\n const timeABigger = parseInt(a.days.split(' ')[0]) > parseInt(b.days.split(' ')[0])\n const timeBBigger = parseInt(a.days.split(' ')[0]) < parseInt(b.days.split(' ')[0])\n if (timeABigger) return -1\n if (timeBBigger) return 1\n else return 0\n })\n } else if (filterOption === 'abcAscending') {\n return quoteData.FetchedParcelsArray.sort((a, b) => {\n const carrierACloser = a.carrier < b.carrier\n const carrierBCloser = a.carrier > b.carrier\n if (carrierACloser) return -1\n if (carrierBCloser) return 1\n else return 0\n })\n } else if (filterOption === 'abcDescending') {\n return quoteData.FetchedParcelsArray.sort((a, b) => {\n const carrierACloser = a.carrier < b.carrier\n const carrierBCloser = a.carrier > b.carrier\n if (carrierACloser) return 1\n if (carrierBCloser) return -1\n else return 0\n })\n } else {\n if (quoteData.FetchedParcelsArray.length > 0 && filterOption === 'textFiltration') {\n return textToFilter\n ? quoteData.FetchedParcelsArray.sort((a, b) => {\n if (a.price && b.price) {\n // Comparisons\n const priceCompared =\n a.price.toString().includes(textToFilter) &&\n !b.price.toString().includes(textToFilter)\n const parcelCompared =\n a.carrier.includes(textToFilter) && !b.carrier.includes(textToFilter)\n const serviceCompared =\n t(`Quote.Service.${a.service}`).includes(textToFilter) &&\n !t(`Quote.Service.${b.service}`).includes(textToFilter)\n const timeCompared = a.days.includes(textToFilter) && !b.days.includes(textToFilter)\n\n if (priceCompared || parcelCompared || serviceCompared || timeCompared) return -1\n else return 1\n } else return 1\n })\n : quoteData.FetchedParcelsArray\n } else return []\n }\n }, [textToFilter, quoteData.FetchedParcelsArray, filterOption, t])\n\n // (Manera anterior en como se manda las cotizaciones al backend)Pedir cotización al Backend con la información llenada hasta el momento\n // useEffect(() => {\n // const QuoteApiPost = async () => {\n // const CarriersActivated = currentParcelsData?.Mapeable.filter(\n // (data) => data[1].activated\n // ).map(([key]) => key)\n\n // // Si el Usuario es un Dev, entonces agregamos la paquetería de Prueba\n // if (userData.roles.includes(UserRoles.dev)) {\n // CarriersActivated.push('test')\n // }\n\n // console.log(shipmentTypeSelected, \"shipments selected\")\n // const { data, error } = await fetchData({\n // type: shipmentTypeSelected,\n // origin: {\n // country: quoteData.AddressData.OriginData.country,\n // state: quoteData.AddressData.OriginData.state,\n // postal_code: `${quoteData.AddressData.OriginData.postal_code}`,\n // city: quoteData.AddressData.OriginData.city,\n // district: quoteData.AddressData.OriginData.district\n // },\n // destination: {\n // country: quoteData.AddressData.DestinyData.country,\n // state: quoteData.AddressData.DestinyData.state,\n // postal_code: `${quoteData.AddressData.DestinyData.postal_code}`,\n // city: quoteData.AddressData.DestinyData.city,\n // district: quoteData.AddressData.DestinyData.district\n // },\n // packages:\n // quoteData.PackageArray.length > 1\n // ? quoteData.PackageArray.map((pack) => {\n // return {\n // weight: pack.Weight,\n // height: pack.Height,\n // width: pack.Width,\n // length: pack.Length,\n // declaredValue: pack.Price,\n // volumetric:\n // pack.Height && pack.Length && pack.Width\n // ? (pack.Height * pack.Width * pack.Length) / 5000\n // : 10,\n // type: pack.Container,\n // content: pack.Name\n // }\n // })\n // : [\n // {\n // weight: quoteData.PackageData.Weight,\n // height: quoteData.PackageData.Height,\n // width: quoteData.PackageData.Width,\n // length: quoteData.PackageData.Length,\n // declaredValue: quoteData.PackageData.Price,\n // volumetric:\n // quoteData.PackageData.Height &&\n // quoteData.PackageData.Length &&\n // quoteData.PackageData.Width\n // ? (quoteData.PackageData.Height *\n // quoteData.PackageData.Width *\n // quoteData.PackageData.Length) /\n // 5000\n // : 10,\n // type: quoteData.PackageData.Container,\n // content: quoteData.PackageData.Name\n // }\n // ],\n // carriers: CarriersActivated,\n // insurance: quoteData.PackageData.Insurance ? quoteData.PackageData.Insurance : 0,\n // metadata:{\n // contraEntrega: quoteData.PackageData.ContraEntrega ? quoteData.PackageData.ContraEntrega : 0\n // },\n // integration: isIntegration && store ? {storeId: store._id} : undefined\n // })\n\n // if (!error) {\n // const CarriersFetched: Array = data as ParcelFetchedData[]\n\n // setQuoteData({\n // ...quoteData,\n // FetchedParcelsArray: CarriersFetched\n // })\n // } else {\n // setApiCallResultString({\n // //@ts-ignore\n // message: error?.msg\n // ? //@ts-ignore\n // quoteErrorMessage(error?.msg)\n // : 'Error cotizando, por favor regrese e intente de nuevo. Si el error persiste, contáctenos por el chat',\n // status: 'error quoting'\n // })\n // console.error(data)\n // }\n // setDataFetchingStatus('finished')\n // }\n\n // if (previousQuoteStep === '1) Quote based on Postal Codes') QuoteApiPost()\n // else setDataFetchingStatus('finished')\n // // eslint-disable-next-line react-hooks/exhaustive-deps\n // }, [previousQuoteStep])\n\n // Forma de mandar cotizaciones, por servicio \n const getPreferences = async ()=> {\n const { data } = await axios.get(\n `${process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL}/users/preferences`, \n { headers: { Authorization: `Bearer ${token}` }}\n )\n \n const userPreferences = data.res\n if (userData) {\n const OptimizedParcelsData = new Map()\n const OptimizedMapeableParcelsData = []\n const AllowedParcels = CountriesSettings.get(currentSelectedCountry)?.AllowedParcels\n\n allParcels.forEach((value, key) => {\n if (AllowedParcels?.includes(key)) {\n const parcelData = userPreferences.carriers.filter((parcel) => parcel.name === key)[0]\n\n OptimizedParcelsData.set(key, {\n ...value,\n activated: parcelData ? parcelData.active : false\n })\n OptimizedMapeableParcelsData.push([\n key,\n { ...value, activated: parcelData ? parcelData.active : false }\n ])\n }\n })\n \n return {\n Dynamic: OptimizedParcelsData,\n Mapeable: OptimizedMapeableParcelsData\n }\n }\n }\n\n useEffect(() => {\n const cleanup = () => {\n setQuoteData(prevData => ({\n ...prevData,\n FetchedParcelsArray: []\n }));\n };\n\n const QuoteApiPost = async () => {\n const currentParcelsData = await getPreferences()\n const CarriersActivated = currentParcelsData?.Mapeable.filter(\n (data) => data[1].activated\n ).map(([key]) => key)\n\n // Si el Usuario es un Dev, entonces agregamos la paquetería de Prueba\n if (userData.roles.includes(userRoles.dev)) {\n CarriersActivated.push('test')\n }\n\n const promises = CarriersActivated.map(async (carrier) => { \n try {\n const { data } = await axios.post(\n `${process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL}/shipments/rate`, \n {\n type: shipmentTypeSelected,\n origin: {\n country: quoteData.AddressData.OriginData.country,\n state: quoteData.AddressData.OriginData.state,\n postal_code: `${quoteData.AddressData.OriginData.postal_code}`,\n city: quoteData.AddressData.OriginData.city,\n district: quoteData.AddressData.OriginData.district\n },\n destination: {\n country: quoteData.AddressData.DestinyData.country,\n state: quoteData.AddressData.DestinyData.state,\n postal_code: `${quoteData.AddressData.DestinyData.postal_code}`,\n city: quoteData.AddressData.DestinyData.city,\n district: quoteData.AddressData.DestinyData.district\n },\n packages:\n quoteData.PackageArray.length > 1\n ? quoteData.PackageArray.map((pack) => {\n return {\n weight: pack.Weight,\n height: pack.Height,\n width: pack.Width,\n length: pack.Length,\n declaredValue: pack.Price,\n volumetric:\n pack.Height && pack.Length && pack.Width\n ? (pack.Height * pack.Width * pack.Length) / 5000\n : 10,\n type: pack.Container,\n content: pack.Name\n }\n })\n : [\n {\n weight: quoteData.PackageData.Weight,\n height: quoteData.PackageData.Height,\n width: quoteData.PackageData.Width,\n length: quoteData.PackageData.Length,\n declaredValue: quoteData.PackageData.Price,\n volumetric:\n quoteData.PackageData.Height &&\n quoteData.PackageData.Length &&\n quoteData.PackageData.Width\n ? (quoteData.PackageData.Height *\n quoteData.PackageData.Width *\n quoteData.PackageData.Length) /\n 5000\n : 10,\n type: quoteData.PackageData.Container,\n content: quoteData.PackageData.Name\n }\n ],\n carriers: [carrier], // Solo envía el transportista actual\n insurance: quoteData.PackageData.Insurance ? quoteData.PackageData.Insurance : 0,\n metadata: {\n contraEntrega: quoteData.PackageData.ContraEntrega\n ? quoteData.PackageData.ContraEntrega\n : 0\n },\n // integration: isIntegration && store ? { storeId: store._id } : undefined,\n // notification: !isIntegration && userData ? { profileId: userData.user } : undefined\n integration: isIntegration && saveData ? saveData?.integrations[0]?._id : undefined,\n notification: !isIntegration && saveData ? { profileId: saveData.user } : undefined\n },\n { headers: { Authorization: `Bearer ${token}` }\n })\n \n const CarriersFetched = data\n // console.log(\"data:\", data)\n setQuoteData((prevData) => ({\n ...prevData,\n FetchedParcelsArray: [...prevData.FetchedParcelsArray, ...CarriersFetched] // Agrega los datos de este transportista a la matriz existente\n }))\n } catch (err) {\n setApiCallResultString({\n //@ts-ignore\n message: err?.msg\n ? //@ts-ignore\n quoteErrorMessage(err?.msg)\n : 'Error cotizando, por favor regrese e intente de nuevo. Si el error persiste, contáctenos por el chat',\n status: 'error quoting'\n })\n setDataFetchingStatus('finished')\n }\n });\n\n await Promise.allSettled(promises);\n\n setDataFetchingStatus('finished');\n }\n\n if (previousQuoteStep === '1) Quote based on Postal Codes') QuoteApiPost()\n else setDataFetchingStatus('finished');\n\n return cleanup;\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [previousQuoteStep]);\n\n // const filterMetadata = () => {\n // filteredParcels.map((parcels) => {\n // if (parcels.metadata) {\n // console.log(parcels.metadata.extended_area?.extended_area)\n // } else {\n // console.log('Not value')\n // }\n // })\n // }\n // filterMetadata()\n // //tour\n // const tour = useTour(STEPS, 'LS_KEY30')\n return quoteData?.FetchedParcelsArray?.length !== 0 || dataFetchingStatus === 'finished' ? (\n <>\n {!userData?.security?.vip ?

{'Para activar DHL favor de contactarse al chat'}

: ''}\n \n \n \n \n \n \n
\n {/* {tour} */}\n {shipmentTypeSelected === \"ContraEntrega\" ? (\n \n setFilterOption((prevOption) =>\n prevOption === 'abcAscending' ? 'abcDescending' : 'abcAscending'\n )\n }\n >\n \n {'Paquetería'}\n

\n\n {filterOption === 'abcDescending' ? (\n \n ) : filterOption === 'abcAscending' ? (\n \n ) : (\n \n )}\n ,\n \n setFilterOption((prevOption) =>\n prevOption === 'lowestPrice' ? 'highestPrice' : 'lowestPrice'\n )\n }\n >\n \n {'Precio'}\n

\n \n ,\n \n setFilterOption((prevOption) =>\n prevOption === 'lowestTime' ? 'highestTime' : 'lowestTime'\n )\n }\n >\n \n {'Tiempo'}\n

\n \n ,\n \n \n {'% CE'}\n

\n ,\n 'Tipo'\n ]}\n responsiveText\n textListStyle={{\n fontWeight: 'bolder',\n textDecoration: 'underline 2px solid #6d71f6'\n }}\n cardStyle={{\n borderTop: '2px solid #ef921b',\n borderLeft: '2px solid #ef921b',\n borderRight: '2px solid #ef921b',\n borderBottomLeftRadius: '0px',\n borderBottomRightRadius: '0px'\n }}\n containerStyle={{\n width: '98%',\n marginRight: '2%'\n }}\n />\n ) : (\n \n setFilterOption((prevOption) =>\n prevOption === 'abcAscending' ? 'abcDescending' : 'abcAscending'\n )\n }\n >\n \n {'Paquetería'}\n

\n\n {filterOption === 'abcDescending' ? (\n \n ) : filterOption === 'abcAscending' ? (\n \n ) : (\n \n )}\n ,\n \n setFilterOption((prevOption) =>\n prevOption === 'lowestPrice' ? 'highestPrice' : 'lowestPrice'\n )\n }\n >\n \n {'Precio'}\n

\n \n ,\n \n setFilterOption((prevOption) =>\n prevOption === 'lowestTime' ? 'highestTime' : 'lowestTime'\n )\n }\n >\n \n {'Tiempo'}\n

\n \n ,\n 'Tipo'\n ]}\n responsiveText\n textListStyle={{\n fontWeight: 'bolder',\n textDecoration: 'underline 2px solid #6d71f6'\n }}\n cardStyle={{\n borderTop: '2px solid #ef921b',\n borderLeft: '2px solid #ef921b',\n borderRight: '2px solid #ef921b',\n borderBottomLeftRadius: '0px',\n borderBottomRightRadius: '0px'\n }}\n containerStyle={{\n width: '98%',\n marginRight: '2%'\n }}\n />\n )}\n\n
\n \n \n
\n {\n setFilterOption('textFiltration')\n setTextToFilter(e.target.value.toLowerCase())\n }}\n noFeedback\n style={{\n width: '98%',\n margin: '0',\n marginRight: '2%',\n borderBottomLeftRadius: '20px',\n borderBottomRightRadius: '20px',\n borderTop: '0px solid #ef921b',\n borderBottom: '2px solid #ef921b',\n borderLeft: '2px solid #ef921b',\n borderRight: '2px solid #ef921b',\n padding: '10px ',\n paddingLeft: '20px',\n outline: 'none',\n backgroundColor: 'white'\n }}\n />\n
\n \n
\n \n \n \n {quoteData?.FetchedParcelsArray?.length === 0 ? (\n \n \n \n ) : (\n filteredParcels.map((parcel, index) => {\n const traduction = {\n \"Mismo día\": 'Mismo día',\n \"Siguiente día\": 'Siguiente día',\n \"hora\": 'hora',\n \"horas\": 'horas',\n \"un día\": '1 día',\n \"día\": 'día',\n \"días\": 'días'\n };\n \n const parcelI18N = { days: parcel.days };\n \n for (const [key, value] of Object.entries(traduction)) {\n if (parcel?.days?.includes(key)) {\n parcelI18N.days = parcel.days.replace(key, value);\n break;\n }\n }\n return (\n //tooltip solo funciona como clase padre del return\n El origen tiene zona extendida\n ) : parcel.metadata.extended_area?.destination ? (\n El destino es zona extendida\n ) : parcel.metadata.extended_area?.destination &&\n parcel.metadata.extended_area.origin ? (\n Ambos codigos postales son zona extendida\n ) : (\n No contiene zona extendida\n )\n ) : (\n \n )\n }\n >\n \n {shipmentTypeSelected === \"ContraEntrega\" ? (\n 0 ? (\n allParcels.get(parcel.carrier)?.image\n ) : (\n

{'No disponible'}

\n ),\n \n {parcel.metadata?.account_id\n ? `$${formatPrice(parcel.price)} ${currentCountrySelectedData?.Currency\n } (Personal) `\n : `$${formatPrice(parcel.price)} ${currentCountrySelectedData?.Currency\n }`}\n ,\n \n {parcel.days}\n ,\n \n {parcel.metadata?.comision === 0 || parcel.carrier === 'test' ? 'sin comision' : parcel.metadata?.comision}\n ,\n \n {t(`Quote.Service.${parcel.service}`)}{' '}\n {parcel.metadata?.ocurre ? '(OCURRE)' : ''}\n {parcel.service_id.includes('estafeta_mx_A-P07') ? '(No cancelable)' : ''}\n {parcel.service_id.includes('estafeta_mx_D-C03') ? '(No cancelable)' : ''}\n \n ]}\n disabled={parcel.price ? false : true}\n iconOrImg={allParcels.get(parcel.carrier)?.image}\n iconOrImgStyle={{\n height: '40px',\n width: '100%',\n borderRadius: '7px',\n backgroundColor:\n filterOption === 'abcAscending' ||\n filterOption === 'abcDescending' ||\n (textToFilter && parcel.carrier.includes(textToFilter))\n ? '#f7c88d'\n : 'transparent'\n }}\n responsiveText\n direction=\"horizontal\"\n contrastColor=\"transparent\"\n hoverEffect\n onClick={() => {\n setQuoteStepTransition('3) Fill all guide info form')\n setQuoteData({\n ...quoteData,\n PackageData: {\n ...quoteData.PackageData,\n ShippingID: parcel.ShippingId,\n Name: parcel.carrier,\n Image: allParcels.get(parcel.carrier)?.imgSrc,\n Price: parcel.price,\n Time: parcel.days,\n Type: parcel.service,\n ObjectId: parcel.ObjectId,\n Currency: currentCountrySelectedData?.Currency,\n Service_Id: parcel.service_id,\n metadata: {\n account_id: parcel?.metadata?.account_id || undefined,\n account_price: parcel?.metadata?.account_price || undefined\n }\n }\n })\n handleStep()\n }}\n containerStyle={{\n width: '98%',\n marginRight: '2%',\n marginBottom: '8px',\n }}\n />\n ) : (\n 0 ? (\n \n {parcel.metadata?.account_id\n ? `$${formatPrice(parcel.price)} ${currentCountrySelectedData?.Currency\n } (Personal) `\n : `$${formatPrice(parcel.price)} ${currentCountrySelectedData?.Currency\n }`}\n \n ) : (\n

{'No disponible'}

\n ),\n \n {parcelI18N.days}\n {/* {parcel.days} */}\n ,\n \n {t(`Quote.Service.${parcel?.service}`)}{' '}\n {parcel.metadata?.ocurre ? '(OCURRE)' : ''}\n {parcel?.service_id?.includes('estafeta_mx_A-P07') ? '(No cancelable)' : ''}\n {parcel?.service_id?.includes('estafeta_mx_D-C03') ? '(No cancelable)' : ''}\n \n ]}\n disabled={parcel?.price ? false : true}\n iconOrImg={allParcels?.get(parcel?.carrier)?.image}\n iconOrImgStyle={{\n height: '40px',\n maxWidth: '100%',\n borderRadius: '7px',\n backgroundColor:\n filterOption === 'abcAscending' ||\n filterOption === 'abcDescending' ||\n (textToFilter && parcel?.carrier?.includes(textToFilter))\n ? '#f7c88d'\n : 'transparent'\n }}\n responsiveText\n direction=\"horizontal\"\n contrastColor=\"transparent\"\n hoverEffect\n onClick={() => {\n if (\n quoteData?.AddressData?.DestinyData?.country !==\n quoteData?.AddressData?.OriginData?.country &&\n !userData?.security.international_senders\n ) {\n notification.error({\n message: 'Para activar envios internacionales, por favor comunicarse con el chat'\n })\n return\n }\n\n setQuoteStepTransition('3) Fill all guide info form')\n setQuoteData({\n ...quoteData,\n PackageData: {\n ...quoteData.PackageData,\n ShippingID: parcel.ShippingId,\n Name: parcel.carrier,\n Image: allParcels.get(parcel.carrier)?.imgSrc,\n Price: parcel.price,\n Time: parcel.days,\n Type: parcel.service,\n ObjectId: parcel.ObjectId,\n Currency: currentCountrySelectedData?.Currency,\n Service_Id: parcel.service_id,\n metadata: {\n account_id: parcel?.metadata?.account_id || undefined,\n account_price: parcel?.metadata?.account_price || undefined\n }\n }\n })\n handleStep()\n }}\n containerStyle={{\n width: '98%',\n marginRight: '2%',\n marginBottom: '8px',\n }}\n />\n )}\n \n \n )\n })\n )}\n
\n \n \n \n \n \n \n Sabias que...\n \n {RandomTip}\n \n\n }\n style={{\n position: 'absolute',\n top: '50px',\n right: '20px',\n zIndex: '5'\n }}\n onClick={() => setQuoteStepTransition('1) Quote based on Postal Codes')}\n />\n \n\n \n setQuoteStepTransition('1) Quote based on Postal Codes')}>\n \n \n \n\n \n ) : (\n console.log(dataFetchingStatus)}\n fullPage={false}\n loadingText=\"Cotizando todas las opciones...\"\n />\n )\n}\n\nexport default SelectFavParcel\n","import {Button, Card, Col, Form, Input, notification, Popconfirm, Row, Select, Tooltip} from 'antd'\nimport React, {useEffect, useState, useContext, useCallback} from 'react'\nimport { GenerateShippingGuide } from '../../../api/OutboundShipmentsAPI'\nimport { QuoteDataContext } from '../../../context/QuoteDataContext'\nimport { useAuth0 } from '../../../hooks/react-auth0-spa'\nimport {axiosBase as axios} from \"../../../api/AxiosConfig\";\nimport {debounce} from \"lodash\";\nimport {SaveOutlined} from \"@ant-design/icons\";\nimport LoadingAnimation from \"../components/LoadingAnimation\";\n\nconst InitialState = {\n title: \"\",\n country: \"MX\",\n name: \"\",\n email: \"\",\n phone: \"\",\n company: \"\",\n street: \"\",\n number: \"\",\n district: \"\",\n city: \"\",\n postal_code: \"\",\n state: \"\",\n reference: \"\"\n}\n\nexport const estadosMexico = [\n { label: 'Aguascalientes', value: 'AG' },\n { label: 'Baja California', value: 'BC' },\n { label: 'Baja California Sur', value: 'BS' },\n { label: 'Campeche', value: 'CM' },\n { label: 'Chiapas', value: 'CS' },\n { label: 'Chihuahua', value: 'CH' },\n { label: 'Ciudad de México', value: 'CX' },\n { label: 'Coahuila', value: 'CO' },\n { label: 'Coahuila de Zaragoza', value: 'CO' },\n { label: 'Colima', value: 'CL' },\n { label: 'Durango', value: 'DG' },\n { label: 'Guanajuato', value: 'GT' },\n { label: 'Guerrero', value: 'GR' },\n { label: 'Hidalgo', value: 'HG' },\n { label: 'Jalisco', value: 'JA' },\n { label: 'Estado de México', value: 'EM' },\n { label: 'Michoacán', value: 'MI' },\n { label: 'Morelos', value: 'MO' },\n { label: 'Nayarit', value: 'NA' },\n { label: 'Nuevo León', value: 'NL' },\n { label: 'Oaxaca', value: 'OA' },\n { label: 'Puebla', value: 'PU' },\n { label: 'Querétaro', value: 'QT' },\n { label: 'Quintana Roo', value: 'QR' },\n { label: 'San Luis Potosí', value: 'SL' },\n { label: 'Sinaloa', value: 'SI' },\n { label: 'Sonora', value: 'SO' },\n { label: 'Tabasco', value: 'TB' },\n { label: 'Tamaulipas', value: 'TM' },\n { label: 'Tlaxcala', value: 'TL' },\n { label: 'Veracruz', value: 'VE' },\n { label: 'Yucatán', value: 'YU' },\n { label: 'Zacatecas', value: 'ZA' }\n ]\n\nconst FillGuideInfoForm = ({ token: userToken, shipment, userId, integrationOrder, destinationData, saveData, handleResumen }) => {\n\n const [ isLoading, setIsLoading ] = useState(false)\n const { quoteData, setQuoteStepTransition } = useContext(QuoteDataContext)\n const [options, setOptions] = useState([])\n const [savedAddress, setSavedAddress] = useState(InitialState)\n const [blockButton, setBlockButton] = useState(true)\n const [form] = Form.useForm()\n const { getTokenSilently } = useAuth0();\n\n const getSATProducts = async (param) => {\n try {\n const token = await getTokenSilently();\n const response = await axios.get(\n `https://prod.api-drenvio.com/v2/sat/products?text=${param}`,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n\n if (\n response.status !== 200 ||\n response.data.products.length === 0\n ) {\n setOptions([]);\n return;\n }\n\n const formattedOptions = response.data.products.map((item) => ({\n label: item.DESCRIPTION,\n value: item.PRODUCT_ID,\n }));\n\n setOptions(formattedOptions);\n } catch (error) {\n console.error(\"Error at getSATProducts: \", error);\n }\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const handleSearch = useCallback(\n debounce((value) => {\n if (value) {\n getSATProducts(value);\n } else {\n setOptions([]);\n }\n }, 300),\n [getSATProducts, setOptions]\n );\n\n useEffect(() => {\n console.log('Options: ',options)\n },[options])\n\n // console.log('QuoteData ------------------------->', quoteData)\n // console.log('Destination Data ------------------>', destinationData)\n\n const onFinish = async(e) => {\n const token = await getTokenSilently()\n setIsLoading(true)\n const request = {\n \"addressInfo\": {\n \"country\": e.country,\n \"postal_code\": e.postal_code,\n \"city\": e.city,\n \"company\": e?.company?.trim() ?? \"N/A\",\n \"district\": e.district,\n \"email\": e.email,\n \"name\": e.name,\n \"number\": e.number,\n \"phone\": e.phone,\n \"reference\": e.reference,\n \"state\": e.state,\n \"street\": e.street\n },\n \"shipmentInfo\": {\n \"carrier\": quoteData.PackageData.Name,\n \"contentExplanation\": e.description,\n \"contentQuantity\": e.quantity,\n \"price\": quoteData.PackageData.Price,\n \"service\": quoteData.PackageData.Type,\n \"shipmentType\": quoteData.PackageData.Container,\n \"service_id\": quoteData.PackageData.Service_Id,\n \"satContent\": e.SATCode,\n \"objectId\": quoteData.PackageData.ObjectId,\n \"carriers\": [\n quoteData.PackageData.Name\n ],\n \"envioId\": destinationData?.envioId ?? undefined\n },\n \"integrationInfo\": {\n isIntegration: Boolean(integrationOrder?.orderData && integrationOrder?.orderData?.fulfillment_info.status !== 'fulfilled'),\n order: integrationOrder?.orderData,\n integration: saveData?.integrationInfo ?? null\n },\n \"customerInfo\": {\n \"customerId\": userId\n },\n \"productsInfo\": shipment.InfoEnvioProductos.map(product => {\n return { productId: product.Producto, quantityToSend: product.CantidadEnviada }\n }) ,\n \"packageInfo\": quoteData.PackageArray.length > 0\n ? quoteData.PackageArray.map(pckg => {\n return {\n \"volumetric\": Number((pckg.Height * pckg.Width * pckg.Length) / 5000),\n \"type\": pckg.Container,\n \"content\": e.SATCode,\n \"contentQuantity\": 1,\n \"weight\": pckg.Weight,\n \"height\": pckg.Height,\n \"width\": pckg.Width,\n \"length\": pckg.Length,\n \"declared_value\": e.price,\n \"name\": `Paquete enviado a ${e.name}`,\n \"main_weight\": pckg.Weight\n }\n })\n : [\n {\n \"volumetric\": Number((quoteData.PackageData.Height * quoteData.PackageData.Width * quoteData.PackageData.Length) / 5000),\n \"type\": quoteData.PackageData.Container,\n \"content\": e.SATCode,\n \"contentQuantity\": e.quantity,\n \"weight\": quoteData.PackageData.Weight,\n \"height\": quoteData.PackageData.Height,\n \"width\": quoteData.PackageData.Width,\n \"length\": quoteData.PackageData.Length,\n \"declared_value\": e.price,\n \"name\": `Paquete enviado a ${e.name}`,\n \"main_weight\": quoteData.PackageData.Weight\n }\n ]\n }\n\n try {\n const response = await GenerateShippingGuide(token, request, userToken)\n // console.log(response.response)\n\n if(response.data?.code !== 200){\n setIsLoading(false)\n const errorMsg = response.data?.data\n ? response.data?.data.map((error, index) => `Error ${index + 1}: ${error}`).join('. ')\n : 'Error desconocido al generar envío.'\n\n return notification.error({ message: \"Error al generar la guia\", description: errorMsg })\n }\n // console.log('----------------> response', response)\n if(response?.data?.code === 200){\n console.log(response.data)\n notification.success({ message: 'Envío creado correctamente' })\n window.location.href = response?.data?.data?.label\n form.resetFields()\n // resetQuoteStepTransition('1) Quote based on Postal Codes')\n setQuoteStepTransition('4) Guide bought succesfully screen')\n handleResumen()\n\n // if (integrationOrder?.orderData){\n // updateOrdersData()\n // }\n // return\n }\n setIsLoading(false)\n } catch (error) {\n // console.log('Error', error)\n setIsLoading(false)\n return notification.error({ message: 'Error al generar envio' })\n }\n }\n\n useEffect(() => {\n setSavedAddress({\n ...savedAddress,\n title: `Nueva Dirección #${Math.floor(Math.random() * 9000) + 1000}`,\n country: quoteData?.AddressData?.DestinyData?.country ?? \"\",\n postal_code: quoteData?.AddressData?.DestinyData?.postal_code ?? \"\",\n city: quoteData?.AddressData?.DestinyData?.city ?? \"\",\n state: quoteData?.AddressData?.DestinyData?.state ?? \"\",\n district: quoteData?.AddressData?.DestinyData?.district ?? \"\",\n })\n // Setear aqui los valores ya establecidos como direccion y demas.\n form.setFieldsValue({\n country: quoteData.AddressData.DestinyData.country,\n postal_code: quoteData.AddressData.DestinyData.postal_code,\n city: quoteData.AddressData.DestinyData.city,\n state: quoteData.AddressData.DestinyData.state,\n district: quoteData.AddressData.DestinyData.district,\n company: quoteData.AddressData.DestinyData.company || quoteData.AddressData.DestinyData.name || undefined,\n name: quoteData.AddressData.DestinyData.name ?? undefined,\n email: quoteData.AddressData.DestinyData.email ?? undefined,\n phone: quoteData.AddressData.DestinyData.phone ?? undefined,\n reference: quoteData.AddressData.DestinyData.reference ?? undefined,\n number: quoteData.AddressData.DestinyData.number ?? undefined,\n int_number: quoteData.AddressData.DestinyData.int_number ?? undefined,\n street: quoteData.AddressData.DestinyData.street ?? undefined,\n ...destinationData\n })\n }, [])//eslint-disable-line\n\n const packageType = (type) => {\n switch (type) {\n case 'box':\n return 'Caja'\n case 'envelope':\n return 'Sobre'\n case 'pallet':\n return 'Tarima'\n default:\n return type\n }\n }\n\n const saveAddress = async() => {\n const { name, email, city, street, number, district, state, reference, postal_code, company, country, phone } = savedAddress\n if(name && email && city && street && number && district && state && reference && postal_code && company && country && phone) {\n try {\n await axios.post(\n `${process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL}/users/address/add`,\n savedAddress,\n {\n headers: {\n Authorization: `Bearer ${userToken}`\n }\n }\n )\n setSavedAddress(InitialState)\n setBlockButton(true)\n return notification.success({ message: \"Dirección guardada\" })\n } catch (error) {\n console.log('Error saveAddress: ', error)\n return notification.error({ message: 'Error al guardar dirección' })\n }\n } else {\n return notification.error({ message: 'Debes completar toda la dirección antes de guardarla' })\n }\n }\n\n useEffect(() => {\n const { name, email, city, street, number, district, state, reference, postal_code, company, country, phone } = savedAddress\n if(name && email && city && street && number && district && state && reference && postal_code && company && country && phone){\n setBlockButton(false)\n } else {\n setBlockButton(true)\n }\n }, [savedAddress]);\n\n if(isLoading){\n return (\n \n )\n }\n\n return (\n \n \n
\n \n

Contenido

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n
\n \n \n \n \n \n \n \n

Información del envio

\n
\n

Paqueteria: {quoteData?.PackageData?.Name ?? \"N/A\"}

\n

Servicio: {quoteData?.PackageData?.Type ?? \"N/A\"}

\n

Tiempo: {quoteData.PackageData.Time}

\n

Precio: ${quoteData?.PackageData?.Price ?? \"0\"}MXN

\n
\n \n \n

Información {quoteData.PackageArray.length > 1 ? 'de los paquetes' : 'del paquete'}

\n {\n quoteData.PackageArray.map(pckg => (\n
\n
\n

Medidas { `${pckg.Width} x ${pckg.Height} x ${pckg.Length} x ${pckg.Weight}kg` }

\n

Tipo de paquete: {`${packageType(quoteData?.PackageData?.Container)}`}

\n
\n ))\n }\n \n
\n
\n \n \n \n

Productos

\n \n \n {\n shipment.InfoEnvioProductos.map(product => (\n
\n

Producto: { product?.Nombre ?? \"N/A\" }

\n

Cantidad a enviar: { product?.CantidadEnviada ?? \"N/A\" }

\n

ID: { product?.Producto.slice(-12) ?? \"N/A\" }

\n
\n ))\n }\n \n
\n
\n \n
\n \n
\n )\n}\n\nexport default FillGuideInfoForm","import { axiosBase as axios } from \"./AxiosConfig\";\n\nexport const GetAllOutboundShipments = async (token) => {\n try {\n const response = await axios.get(\"/outboundShipments\", {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const CreateOutboundShipments = async (token, outboundShipments) => {\n\n try {\n const formData = new FormData();\n formData.append('GuiaPDF', outboundShipments.guiaPDF );\n formData.append('DatosEnvio', JSON.stringify({InfoEnvioProductos: outboundShipments.InfoEnvioProductos}));\n\n const response = await axios.post(\n \"/outboundShipments\",\n formData,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const CreateOutboundShipmentV2 = async (token, data) => {\n try {\n const response = await axios.post(\n \"/outboundShipments/v2\",\n data,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n )\n return response\n } catch (error) {\n return error;\n }\n}\n\nexport const GetOutboundShipmentDetail = async (token, outboundShipmentId) => {\n try {\n const response = await axios.get(`/outboundShipments/${outboundShipmentId}`, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n}\n\n\n\nexport const GenerateShippingGuide = async(token, request, userToken) => {\n try {\n const response = await axios.post(\n '/warehouse/shipment/generate',\n request,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n userToken\n }\n }\n )\n return response\n } catch (error) {\n return error\n }\n}","import React, {useContext, useEffect, useState} from 'react';\nimport {Button, Col, Result, Row} from \"antd\";\nimport {CheckOutlined} from \"@ant-design/icons\";\nimport {QuoteDataContext} from \"../../../context/QuoteDataContext\";\n\nfunction GuideSuccesScreen(props) {\n const { integrationOrder, shipment, handleStep3, updateOrdersData } = props\n\n const [products, setProducts] = useState([])\n\n const { resetQuoteStepTransition } = useContext(QuoteDataContext);\n\n console.log('Props: ', props)\n\n const onFinish = () => {\n resetQuoteStepTransition('1) Quote based on Postal Codes')\n handleStep3()\n if (integrationOrder?.orderData){\n updateOrdersData()\n }\n }\n\n useEffect(() => {\n setProducts(shipment.InfoEnvioProductos)\n },[])//eslint-disable-line\n\n return (\n \n \n \n
\n

Productos enviados:

\n {\n products.length > 0 ? products.map(product => (\n <>\n

{ product?.CantidadEnviada } - { product?.Nombre }

\n \n )) : (\n

No hay productos que mostrar ...

\n )\n }\n
\n \n
\n
\n \n
\n );\n}\n\nexport default GuideSuccesScreen;","import React, { useContext } from 'react'\nimport { QuoteDataContext } from '../../context/QuoteDataContext'\n\n// Quote Steps\nimport PostalCodeQuote from './steps/PostalCodeQuote'\nimport SelectFavParcel from './steps/SelectFavParcel'\nimport FillGuideInfoForm from './steps/FillGuideInfoForm'\nimport GuideSuccesScreen from \"./steps/GuideSuccesScreen\";\n// import GuideSuccesScreen from '../QuoteSteps/Classic/GuideSuccesScreen'\n\nconst Quotes = ({ token, \n userId, \n shipment, \n handleStep, \n handleStep3, \n handleFinish, \n saveData, \n initAddressData, \n integrationOrder, \n updateOrdersData,\n handleResumen\n}) => {\n const { quoteStep } = useContext(QuoteDataContext)\n\n const { DestinationData } = saveData\n if(DestinationData){\n DestinationData['envioId'] = saveData.envioId\n // console.log('saveData =======>', saveData)\n }\n\n const QuoteStepComponentsList = {\n '1) Quote based on Postal Codes': (\n \n ),\n '2) Select your favorite parcel': (\n \n ),\n '3) Fill all guide info form': (\n \n ),\n '4) Guide bought succesfully screen': (\n \n )\n }\n\n return
{QuoteStepComponentsList[quoteStep]}
\n}\n\nexport { Quotes };\n","import { Button, Modal } from \"antd\"\nimport { useEffect, useState, useContext } from \"react\"\nimport { useAlert } from \"react-alert\"\nimport { Steps } from 'antd'\nimport SelectedProducts from './SelectedProducts'\nimport FlexibleSelectedProductsByIntegration from './FlexibleSelectedProductsByIntegration'\nimport StrictSelectedProductsByIntegration from './StrictSelectedProductsByIntegration'\nimport { Quotes } from \"../quoter/Quotes\"\nimport {ArrowRightOutlined} from \"@ant-design/icons\";\nimport InputContainer from '../quoter/containers/InputContainer'\nimport { ArrowLeftOutlined } from '@ant-design/icons'\nimport { QuoteDataContext } from '../../context/QuoteDataContext'\n\n\nconst RateModal = ({ customerData, integrationOrder, updateOrdersData, isFlexible, text, Icon, data })=> {\n\n const alert = useAlert()\n const [openModal, setOpenModal] = useState(false)\n const [userId, setUserId] = useState('')\n const [token, setToken] = useState('')\n const [step, setStep] = useState({ step: 0, description: 'select products' })\n const [shipment, setShipment] = useState(null)\n const [isFinish, setIsFinish] = useState(false)\n const { setQuoteStepTransition, quoteStep } = useContext(QuoteDataContext)\n const [integrationData, setIntegrationData] = useState({})\n\n const handleModal = ()=> setOpenModal(!openModal)\n\n const resetFields = () => {\n setUserId(customerData?.user)\n setToken(customerData?.ApiClientsV2[0]?.prod_token?.token)\n setStep({ step: 0, description: 'select products' })\n setShipment(null)\n setIsFinish(false)\n }\n\n const handleStep1 = () => setStep({ step: 1, description: 'rate' })\n const handleStep2 = () => setStep({ step: 2, description: 'generate' })\n const handleStep3 = () => handleFinish()\n const handleResumen = () => setStep({ step: 3, description: 'generate' })\n\n const handleFinish = ()=> {\n setIsFinish(true)\n setTimeout(()=> {\n handleModal()\n }, 2000) \n }\n\n const handleShipment = (shipment)=> {\n if (!shipment || shipment?.InfoEnvioProductos.length === 0){\n alert.info(\"Debes seleccionar un producto\")\n return \n }\n\n setShipment(shipment)\n }\n\n useEffect(() => {\n setIntegrationData({orderData: integrationOrder, integrationInfo: data})\n }, [data, integrationOrder]);\n\n const handleTransition = (step)=> {\n switch(step){\n case 'select products':\n if (integrationOrder){\n if (isFlexible){\n return (\n \n )\n } else {\n return (\n \n )\n }\n\n } else {\n return (\n [ Ordenes de envio ]\n handleShipment={handleShipment} \n handleStep={handleStep1}\n />\n )\n }\n\n case 'rate':\n case 'generate':\n return (\n \n )\n default:\n return\n }\n }\n\n useEffect(()=> {\n resetFields()\n }, [customerData, openModal])//eslint-disable-line\n\n return (\n <>\n \n \n {/**/}\n
\n \n\n {(step.step === 1 && quoteStep === '1) Quote based on Postal Codes') && (\n }\n style={{\n position: 'absolute',\n top: '50px',\n right: '20px',\n zIndex: '5'\n }}\n onClick={() => {\n setStep({ step: 0, description: 'select products' })\n }}\n />\n )}\n \n {(step.step === 2) && (\n }\n style={{\n position: 'absolute',\n top: '50px',\n right: '20px',\n zIndex: '5'\n }}\n onClick={() => {\n setStep({ step: 1, description: 'rate' })\n setQuoteStepTransition(\"1) Quote based on Postal Codes\")\n }}\n />\n )}\n
\n {/*
*/}\n {/* */}\n {handleTransition(step.description)}\n {/* */}\n \n \n )\n}\n\nexport default RateModal","import React, {useState} from 'react';\nimport {Button, Card, Col, Modal, Row, Tooltip} from \"antd\";\nimport {DownloadOutlined, InfoCircleOutlined} from \"@ant-design/icons\";\nimport {format} from \"date-fns\";\n\nconst InfoMovements = ({ data }) => {\n\n const [ openModal, setOpenModal ] = useState(false);\n\n const contentType = (type) => {\n switch (type) {\n case 'box':\n return 'Caja'\n case 'envelope':\n return 'Sobre'\n case 'pallet':\n return 'Tarima'\n default:\n return \"N/A\"\n }\n }\n\n const PackageData = () => {\n\n if(data.metadata.packages){\n return data?.metadata?.packages?.map((pckg, index) => {\n return (\n
\n
\n

{contentType(pckg.type)} {index+1}

\n

Kilos

\n

{contentType(pckg.type)} {pckg.weight}Kg

\n

Medidas

\n

{ pckg.height } x { pckg.width } x { pckg.length }

\n

Volumétrico

\n

{pckg?.volumetric ?? \"0\"}

\n
\n )\n })\n } else {\n return

Cargando ...

\n }\n }\n\n const InfoTypeSwitch = (type) => {\n\n if(!data) return (\n

Cargando ....

\n )\n\n switch (type) {\n case 'ENVIO':\n if(!data?.metadata?.label) {\n return (\n

No hay datos ...

\n )\n }\n return (\n \n \n \n

Guia

\n

{data?.metadata?.tracking ?? \"\"}

\n\n

Fecha de creación

\n

{\n data?.metadata?.created_at ? (\n format(\n new Date(data?.metadata?.created_at),\n \"dd/MM/yyyy HH:MM:SS\"\n )\n ) : (\n

N/A

\n )\n }\n

\n\n

Multipaquete

\n

{data?.metadata?.packages?.length > 1 ? 'Si' : 'No'}

\n\n

Destino

\n

{`${data?.metadata?.destination?.street} ${data?.metadata?.destination?.district} ${data?.metadata?.destination?.number} ${data?.metadata?.destination?.city} ${data?.metadata?.destination?.postal_code} ${data?.metadata?.destination?.country}`}

\n\n

Referencia del destino

\n

{data?.metadata?.destination?.reference ?? \"NA\"}

\n\n

Teléfono destinatario

\n

{data?.metadata?.destination?.phone ?? \"NA\"}

\n\n

Correo destinatario

\n

{data?.metadata?.destination?.email ?? \"NA\"}

\n\n \n \n
\n \n
\n )\n case 'MODIFICACION':\n if(!data?.metadata?.newData) {\n return (\n

No hay datos

\n )\n }\n return (\n
\n

Información del producto modificado

\n

Nombre: { data?.metadata?.newData?.Nombre }

\n

Descripción: { data?.metadata?.newData?.Descripcion }

\n

SKU: { data?.metadata?.newData?.SKUCliente }

\n

Cantidad: { data?.metadata?.newData?.CantidadEnInventario}

\n
\n )\n case 'VENTA':\n if(!data?.metadata?.newData) {\n return (\n

No hay datos

\n )\n }\n return (\n <>\n

Producto Vendido

\n

{data?.metadata?.newData?.Nombre ?? \"\"}

\n\n

Descripcion del producto

\n

{data?.metadata?.newData?.Descripcion ?? \"\"}

\n \n )\n default:\n return \"No hay data\"\n }\n }\n\n return (\n <>\n \n {/*\n }\n })\n }\n\n const newColums = [...baseColumns, ...formattedCustomFields];\n\n return newColums\n}\n\nexport const customWarehouseProductsColumns = (state, handleReload, customFields, productActivate, type) => {\n\n const baseColumns = [\n {\n title: 'Fotografia',\n dataIndex: '',\n align: 'center',\n render: (product)=> (\n \n )\n },\n {\n title: \"SKU\",\n dataIndex: 'SKUCliente',\n align: 'center',\n },\n {\n title: \"Nombre\",\n dataIndex: \"Nombre\",\n align: 'center',\n },\n {\n title: \"Descripcion\",\n dataIndex: \"Descripcion\",\n align: 'center',\n },\n {\n title: \"Cant. en inventario\",\n dataIndex: \"CantidadEnInventario\",\n align: 'center',\n showSorterTooltip: false,\n sorter: (a, b) => a.CantidadEnInventario - b.CantidadEnInventario,\n },\n {\n title: \"Costo\",\n dataIndex: \"\",\n align: \"center\",\n render: (obj) => `${obj?.ValorMercancia ? `$${obj.ValorMercancia}` : '$0'}`\n },\n {\n title: \"Dimensiones \",\n dataIndex: \"\",\n align: 'center',\n render: (obj) => `${obj.Largo} x ${obj.Ancho} x ${obj.Altura}`\n },\n {\n title: \"Peso \",\n dataIndex: \"PesoKG\",\n align: 'center',\n showSorterTooltip: false,\n sorter: (a, b) => a.PesoKG - b.PesoKG,\n render: (PesoKG) => `${PesoKG} Kg.`\n },\n ]\n\n const formattedCustomFields = customFields.map((item) => {\n if(item.visible){\n return {\n title: item?.fieldName,\n dataIndex: \"\",\n align: \"center\",\n render: (rowData) => `${(rowData?.CustomFields && rowData?.CustomFields[item?.fieldName]) || \"\"}`\n };\n }\n return null\n }).filter(item => item !== undefined)\n\n if (state === 'active'){\n formattedCustomFields.push({\n title:\"Acciones\",\n align:\"center\",\n dataIndex: \"\",\n render: (data) => {\n return \n }\n })\n }\n\n if(state === 'inactive' && productActivate){\n formattedCustomFields.push({\n title: \"Acciones\",\n align: \"center\",\n dataIndex: \"\",\n render: (data) => {\n return \n }\n })\n }\n\n const newColums = [...baseColumns, ...formattedCustomFields];\n\n return newColums\n}\n\nexport const warehouseProductsColumn = (state, handleFecthing, filterByColumns) => {\n\n const baseColumns = [\n {\n title: 'Fotografia',\n dataIndex: '',\n align: 'center',\n render: (product)=> (\n \n )\n },\n {\n title: \"SKU\",\n dataIndex: 'SKUCliente',\n align: 'center',\n },\n {\n title: \"Nombre\",\n dataIndex: \"Nombre\",\n align: 'center',\n },\n {\n title: \"Propietario\",\n dataIndex: \"\",\n align: 'center',\n render: (obj) => obj?.user?.email || 'NA'\n },\n {\n title: \"Descripcion\",\n dataIndex: \"Descripcion\",\n align: 'center',\n },\n {\n title: \"Cant. Inventario\",\n dataIndex: \"CantidadEnInventario\",\n align:\"center\",\n showSorterTooltip: false,\n sorter: (a, b) => a.CantidadEnInventario - b.CantidadEnInventario,\n },\n {\n title: (

Ventas
últ. 30 días

),\n dataIndex: \"\",\n align: \"center\",\n render: (rowData) => (

{ rowData?.totalShipmentsThisMonth ?? 0 } u.

)\n },\n {\n title: \"ValorMercancia\",\n dataIndex: \"ValorMercancia\",\n align: 'center',\n showSorterTooltip: false,\n sorter: (a, b) => a.ValorMercancia - b.ValorMercancia,\n render: (price) => `${price}`\n },\n {\n title: \"Dimensiones \",\n dataIndex: \"\",\n align: 'center',\n render: (obj) => `${obj.Largo} x ${obj.Ancho} x ${obj.Altura}`\n },\n {\n title: \"Peso \",\n dataIndex: \"PesoKG\",\n align: 'center',\n showSorterTooltip: false,\n sorter: (a, b) => a.PesoKG - b.PesoKG,\n render: (PesoKG) => `${PesoKG} Kg.`\n },\n ]\n\n if (state === 'active'){\n baseColumns.push({\n title: \"Acciones\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => {\n return (\n \n )\n }\n })\n }\n\n return baseColumns\n}\n\nexport const warehouseShipmentsColumns = (status, setIsRefetching) => {\n \n return [\n {\n title: \"Codigo envio\",\n dataIndex: \"\",\n align: 'center',\n render: (data) => (\n

{ data?.EnvioId?.slice(-12) }

\n )\n },\n {\n title: \"Estatus\",\n dataIndex: \"\",\n align: 'center',\n render: (data) => (\n

{WarehouseShipmentStates(data.Estatus)}

\n )\n },\n {\n title: \"Fecha de envio\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => (\n

\n {format(\n new Date(data.FechaEnvio),\n \"dd/MM/yyyy HH:MM:SS\"\n ) || \"\"}\n

\n )\n },\n {\n title: \"Fecha de Recepción\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => (\n

\n {data.FechaRecepcion\n ? format(\n new Date(data?.FechaRecepcion),\n \"dd/MM/yyyy HH:MM:SS\"\n )\n : (\n

Sin recibir

\n )\n }\n

\n )\n },\n {\n title: \"Guía\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => (\n

\n {\n data?.Guia?.ProveedorDeGuia\n ? `${data?.Guia?.ProveedorDeGuia} - ${data?.Guia?.NumeroDeGuia}`\n : \"Entrega personal\"\n }\n

\n )\n },\n {\n title: \"Acciones\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => (\n \n )\n }\n ]\n}\n\nexport const updateProducts = (handleReload) => {\n\n return [\n {\n title: \"SKU\",\n dataIndex: 'SKUFulfillment',\n align: 'center',\n render: (value) => `${value.toString().slice(-12)}`\n },\n {\n title: \"Cant. Inventario\",\n dataIndex: \"CantidadEnInventario\",\n align:\"center\",\n },\n {\n title: \"Detalles de cambios\",\n dataIndex: \"\",\n align:\"center\",\n render: (data)=> \n },\n {\n title: \"Acciones\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => {\n return (\n \n )\n }\n }\n ]\n}\n \nexport const movementsColumns = () => {\n\n return [\n {\n title: \"Usuario\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => (\n

{ data?.customer?.email ?? \"NA\" }

\n )\n },\n {\n title: \"Tipo\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => (\n

{ MovementsStates(data?.type) ?? \"N/A\" }

\n )\n },\n {\n title: \"Descripción\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => (\n

{ data?.description ?? \"NA\" }

\n )\n },\n {\n title: \"Fecha\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => (\n

{format(\n new Date(data.created_at),\n \"dd/MM/yyyy HH:MM:SS\"\n ) || \"\"}

\n )\n },\n {\n title: \"Cant. Anterior\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => (\n

{ data?.metadata?.before_mod ?? \"NA\" }

\n )\n },\n {\n title: \"Cant. Posterior\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => (\n

{ data?.metadata?.after_mod ?? \"NA\" }

\n )\n },\n {\n title: \"Realizado por\",\n dataIndex: \"\",\n align:\"center\",\n render: (data) => (\n

{ data?.user?.email ?? \"NA\" }

\n )\n },\n {\n title: \"Acciones\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => (\n \n \n \n \n \n )\n }\n ]\n}\n\nexport const outboundShipments = (setOpenModal) => {\n\n return [\n {\n title: \"Codigo envio\",\n dataIndex:\"\",\n align:\"center\",\n render: (data) => (\n

{ data?.EnvioId?.slice(-12) }

\n )\n },\n {\n title: \"Estatus\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => (\n

{OutboundShipmentStates(data.Estatus)}

\n )\n },\n {\n title: \"Fecha envio\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => (\n format(\n new Date(data?.FechaEnvio),\n \"dd/MM/yyyy HH:MM:SS\"\n )\n )\n },\n {\n title: \"Acciones\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => {\n return (\n \n \n setOpenModal({ data, open: true })} />\n \n \n )\n }\n }\n ]\n}\n\nexport const outboundShipmentsAdmin = (setOpenModal) => {\n\n return [\n {\n title: \"Codigo envio\",\n dataIndex:\"\",\n align:\"center\",\n render: (data) => (\n

{ data?.envioId?.slice(-12) }

\n )\n },\n {\n title: \"Cliente\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => (\n

{ data?.email ?? \"NA\" }

\n )\n },\n {\n title: \"Estatus\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => (\n

{OutboundShipmentStates(data.estatus)}

\n )\n },\n {\n title: \"Fecha envio\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => (\n format(\n new Date(data?.fechaEnvio),\n \"dd/MM/yyyy HH:MM:SS\"\n )\n )\n },\n {\n title: \"Acciones\",\n dataIndex: \"\",\n align: \"center\",\n render: (data) => {\n return (\n \n \n setOpenModal({ data, open: true })} />\n \n \n \n \n \n )\n }\n }\n ]\n}\n\n\nexport const manualDispatch = () => {\n\n return [\n {\n title: \"Fecha\",\n dataIndex: ['fulfill', 'createdAt'],\n align: 'center',\n render: (date) => `${new Date(date).toLocaleString()}`\n },\n {\n title: \"Nombre\",\n dataIndex: \"name\",\n align:\"center\",\n },\n {\n title: \"Email\",\n dataIndex: \"email\",\n align:\"center\",\n },\n {\n title: \"Acciones\",\n dataIndex: \"\",\n align: 'center',\n render: (rowData) => (\n \n ) \n },\n ]\n}\n\nexport const usersByIntegration = (setUserIntegrationData, setOpenModal) => {\n\n const onSaveIntegrationData = (e) => {\n setOpenModal(true)\n setUserIntegrationData(e)\n }\n\n return [\n {\n title: \"Usuario\",\n dataIndex: \"name\",\n align:\"center\",\n },\n {\n title: \"Email\",\n dataIndex: \"email\",\n align: \"center\",\n },\n {\n title: \"Empresa\",\n dataIndex: \"company\",\n align:\"center\",\n },\n {\n title: \"Acciones\",\n dataIndex: \"\",\n align: \"center\",\n render: (rowData) => ()\n }\n ]\n}\n","import { format } from \"date-fns\"\n\nexport const productsDownloads = (data)=> {\n return data.map((item) => ({\n SKUCliente: item.SKUCliente,\n Nombre: item.Nombre,\n Descripcion: item.Descripcion,\n ValorMercancia: item.ValorMercancia,\n PesoKG: item.PesoKG,\n Largo: item.Largo,\n Ancho: item.Ancho,\n Altura: item.Altura,\n CantidadEnInventario: item.CantidadEnInventario,\n })) \n}\n\nexport const warehouseShipmentsDownloads = (data) => {\n return data.map((item) => ({\n CodigoEnvio: item.EnvioId.slice(-12),\n Estatus: (item.Estatus === 0 && 'Enviado') || (item.Estatus === 1 && 'Recibido') || (item.Estatus === 2 && 'Cancelado'),\n FechaEnvio: format(new Date(item.FechaEnvio),\"dd/MM/yyyy HH:MM:SS\"),\n FechaRecepcion: item.FechaRecepcion ? format(new Date(item.FechaRecepcion),\"dd/MM/yyyy HH:MM:SS\") : \"Sin recibir\",\n Guia: `${item?.Guia?.ProveedorDeGuia ? `${item?.Guia?.ProveedorDeGuia} - ${item?.Guia?.NumeroDeGuia}`: \"Entrega personal\"}`\n }))\n}\n\nexport const manualDispatchDownloads = (data)=> {\n return data.map((item) => ({\n date: new Date(item.fulfill.createdAt).toLocaleString(),\n name: item.name,\n email: item.email,\n })) \n}\n\nexport const movementsDownloads = (data) => {\n return data.map((item) => ({\n Cliente: item?.customer?.email ?? \"NA\",\n Tipo: item?.type ?? \"NA\",\n Descripcion: item?.description ?? \"NA\",\n Fecha: format(new Date(item.created_at),\"dd/MM/yyyy HH:MM:SS\"),\n \"Cant. Anterior\": item?.metadata?.before_mod ?? \"NA\",\n \"Cant. Posterior\": item?.metadata?.after_mod ?? \"NA\",\n \"Realizado Por\": item?.user?.email ?? \"NA\",\n }))\n}\n\nexport const usersByIntegrationDownloads = (data) => {\n return data.map((rowData) => ({\n Usuario: rowData.userIntegrations.length > 0 ? rowData?.userIntegrations[0]?.name : \"N/A\",\n Email: rowData.userIntegrations.length > 0 ? rowData.userIntegrations[0]?.email : \"N/A\",\n Nombre: rowData?.name ?? \"\",\n Tipo: rowData?.type ?? \"\"\n }))\n}\n\nexport const outboundsDownloads = (data) => {\n return data.map((item) => ({\n CodigoEnvio: item?.EnvioId?.slice(-12),\n Estatus: (item.Estatus === 0 && \"Programado\") || (item.Estatus === 1 && \"Enviado\"),\n FechaEnvio: format(new Date(data?.FechaEnvio), \"dd/MM/yyyy HH:MM:SS\"),\n }))\n}","import React, { Fragment, useState, useEffect } from \"react\"\nimport { makeStyles } from \"@material-ui/core/styles\"\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport {\n Grid,\n Box,\n Card,\n CardContent,\n TextField,\n InputLabel,\n Button,\n Select,\n MenuItem,\n FormControl,\n TableContainer,\n Table,\n TableHead,\n TableBody,\n TableRow,\n TableCell,\n Paper,\n} from \"@material-ui/core\"\nimport { GetAllProductsByAuthId } from \"../../api/ProductAPI\"\nimport bwipjs from 'bwip-js';\nimport { jsPDF } from 'jspdf';\nimport { useAlert } from \"react-alert\"\nimport { axiosBase as axios } from '../../api/AxiosConfig'\n\n\nconst initialState = {\n Codigo: \"\",\n Guia: {\n Proveedor: \"\",\n Numero: \"\",\n },\n InfoEnvioProductos: [],\n}\nconst initialStateProduct = {\n SKUFulfillment: \"\",\n Cantidad: \"\",\n}\n\nconst useStyles = makeStyles((theme) => ({\n textField: {\n marginTop: theme.spacing(3),\n },\n textFieldSmall: {\n marginLeft: theme.spacing(2),\n },\n}))\n\nconst ProductSelector = ({ handleModal }) => {\n const classes = useStyles()\n const alert = useAlert();\n const [shipment, setShipment] = useState(initialState)\n const [product, setProduct] = useState(initialStateProduct)\n const [products, setProducts] = useState([])\n const [isLoading, setIsLoading] = useState(false)\n const { user, getTokenSilently } = useAuth0()\n\n const getUserProducts = async() => {\n setIsLoading(true)\n const token = await getTokenSilently()\n try {\n if(token){\n const response = await GetAllProductsByAuthId(token, user?.sub, { active: true })\n if(response) setProducts(response.res)\n }\n setIsLoading(false)\n } catch (error) {\n setIsLoading(false)\n console.log('Error at getUserProducts', error)\n }\n }\n\n const onChangeInputProduct = (e) => {\n const { name, value } = e.target\n let currentProduct\n\n let updatedProduct = {\n ...product,\n [name]: value,\n }\n\n if (name === \"SKUFulfillment\") {\n currentProduct = products.find((product) => product.SKUFulfillment === value)\n if (currentProduct) {\n updatedProduct = {\n ...updatedProduct,\n Nombre: currentProduct.Nombre,\n }\n }\n }\n\n setProduct(updatedProduct)\n }\n\n const onSubmitProduct = async (e) => {\n e.preventDefault()\n\n const productToSave = {\n Producto: product.SKUFulfillment,\n CantidadEnviada: product.Cantidad,\n Nombre: product.Nombre,\n }\n\n setShipment({\n ...shipment,\n InfoEnvioProductos: [...shipment.InfoEnvioProductos, productToSave],\n })\n\n setProduct(initialStateProduct)\n }\n\n const onSubmit = async (e) => {\n e.preventDefault()\n if (!shipment || shipment?.InfoEnvioProductos.length === 0){\n alert.info(\"Debes seleccionar un producto\")\n return \n }\n\n const shipmentIds = shipment?.InfoEnvioProductos?.map(item => item.Producto)\n\n try {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/allProductsOnArray`, \n shipmentIds, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n const pdf = new jsPDF()\n const pageWidth = pdf.internal.pageSize.width\n const pageHeight = pdf.internal.pageSize.height\n\n const margin = 10\n const spacing = 5\n const codeWidth = (pageWidth - margin * 2 - spacing * 2) / 3\n const codeHeight = (pageHeight - margin * 2 - spacing * 9) / 10\n\n const codesPerRow = 3\n const codesPerColumn = 10\n const codesPerPage = codesPerRow * codesPerColumn\n\n let acum = 0\n for (let i2 = 0; i2 < shipment?.InfoEnvioProductos?.length; i2++){\n const currentProduct = shipment?.InfoEnvioProductos[i2]\n const currentProductExtended = data?.res?.find(item => item?.SKUFulfillment === currentProduct?.Producto)\n\n for (let i = 0; i < Number(currentProduct?.CantidadEnviada); i++){\n if (acum % codesPerPage === 0 && acum !== 0) {\n pdf.addPage()\n } \n const x = margin + (acum % codesPerPage % codesPerRow) * (codeWidth + spacing)\n const y = margin + Math.floor((acum % codesPerPage) / codesPerRow) * (codeHeight + spacing)\n\n const shortId = currentProductExtended?.SKUFulfillment?.slice(-12)\n const canvas = document.createElement(`canvas`)\n bwipjs.toCanvas(canvas, {\n bcid: 'code128',\n text: shortId,\n scale: 4,\n height: 10,\n includetext: false,\n })\n const imgData = canvas.toDataURL('image/png')\n \n pdf.setFontSize(7)\n pdf.setDrawColor(200) // Gris claro\n pdf.setLineWidth(0.2)\n pdf.rect(x, y, codeWidth, codeHeight) // Borde\n \n pdf.addImage(imgData, 'PNG', x + (codeWidth - codeWidth * 0.6) / 2, y + 2, codeWidth * 0.6, codeHeight * 0.4)\n \n pdf.setFont(\"helvetica\", \"bold\")\n pdf.setFontSize(8)\n pdf.text(shortId, x + codeWidth / 2, y + codeHeight * 0.45 + 5, { align: \"center\" })\n \n pdf.setFont(\"helvetica\", \"normal\")\n pdf.setFontSize(6)\n pdf.text(currentProductExtended.Nombre.length > 17 ? `${currentProductExtended.Nombre.slice(0,17)}...` : currentProductExtended.Nombre, x + 2, y + codeHeight * 0.7)\n pdf.text(`${currentProductExtended?.Largo} x ${currentProductExtended?.Ancho} x ${currentProductExtended?.Altura}`, x + 2, y + codeHeight * 0.8)\n pdf.text(`SKU: ${currentProductExtended?.SKUCliente}`, x + 2, y + codeHeight * 0.9)\n acum++\n }\n\n }\n pdf.save(`${'qr-codes'}.pdf`)\n setShipment(initialState)\n handleModal()\n } catch (err) {\n console.error('Error generating massive codes:', err)\n alert.error(\"Error al generar etiquetas masivas\")\n }\n }\n\n useEffect(() => {\n getUserProducts()\n }, [])//eslint-disable-line\n\n return (\n \n \n \n \n \n \n
\n \n Productos\n \n \n \n \n Producto\n \n {\n isLoading\n ?

Cargando ...

\n : products.length === 0\n ? (\n

No hay productos

\n )\n : products.map((item, index) => (\n \n {item.SKUCliente} - {item.Nombre}\n \n ))\n }\n \n \n
\n \n \n \n \n \n Agregar producto\n \n
\n \n \n \n \n \n \n \n Producto\n Nombre\n Cantidad\n \n \n \n {shipment.InfoEnvioProductos.map((item, index) => (\n \n {item.Producto}\n {item.Nombre}\n {item.CantidadEnviada}\n \n ))}\n \n
\n
\n
\n
\n
\n
\n \n \n \n Descargar\n \n \n \n
\n
\n
\n
\n
\n )\n}\n\nexport default ProductSelector\n","import { useContext, useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport {productsColumns} from '../../components/tables/schemaColumn'\nimport { productsDownloads } from '../../components/tables/schemaDownload'\nimport { useHistory } from \"react-router-dom\"\nimport { Button } from 'antd'\nimport { ProfileOutlined } from '@ant-design/icons'\nimport ModalContainer from '../quoter/containers/ModalContainer'\nimport ProductSelector from '../../components/generals/ProductSelector'\nimport { getCustomFields } from \"../../api/ProductAPI\"\nimport { DataContext } from \"../../context/dataContext\"\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = false,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'SKUCliente', find: false },\n { id: 'Nombre', find: false },\n { id: 'Descripcion', find: false },\n { id: 'ValorMercancia', find: false },\n { id: 'PesoKG', find: false },\n { id: 'Largo', find: false },\n { id: 'Ancho', find: false },\n { id: 'Altura', find: false },\n { id: 'ValorMercancia', find: false },\n {\n id: 'Visible',\n find: true,\n filters: {\n sort: false,\n filter: true,\n filter_values: [true] \n }\n },\n ]\n})\n\nconst ActiveProducts = () => {\n const History = useHistory()\n const { getTokenSilently, user } = useAuth0()\n const { setInventoryId, setProductType } = useContext(DataContext)\n const [apiCustomFields, setApiCustomFields] = useState([])\n const [massiveDownload, setMassiveDownload] = useState(false)\n\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/allproducts`, \n filterByColumns, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n setTotal(data?.total)\n\n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n\n const getAllCustomFields = async () => {\n const token = await getTokenSilently();\n const response = await getCustomFields(token, user.sub, \"default\")\n if (response.status === 200) {\n setApiCustomFields(response.data.CustomFields)\n }\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n\t\tconst customFilterByColumns = { \n\t\t \t...filterByColumns,\n\t\t}\n\t\n\t\tif (user) customFilterByColumns.user = user\t\n\t\tif (country) customFilterByColumns.country = country\n\t\tif (searchText !== undefined) customFilterByColumns.searched = searchText\n\t\t\n\t\tif (currentPage){\n\t\t\tsetCurrentPage(currentPage)\n\t\t\tcustomFilterByColumns.range.from = currentPage \n\t\t}\n\t\n\t\tif (rowsPerPages){\n\t\t\tsetRowPerPages(rowsPerPages)\n\t\t\tcustomFilterByColumns.range.to = rowsPerPages \n\t\t}\n\t\n\t\treturn customFilterByColumns\n\t}\n\n const handleReload = () => {\n setReload(!reload)\n }\n\n const handleMassiveDownloadModal = ()=> {\n setMassiveDownload(!massiveDownload)\n }\n\n const addProduct = () => {\n setProductType(\"default\")\n setInventoryId(\"default\")\n History.push(\"/products/create\")\n }\n\n useEffect(() => {\n setInventoryId(\"default\")\n }, [])//eslint-disable-line\n\n\tuseEffect(() => {\n\t\tif (!initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n await getAllCustomFields()\n\t\t\t\tsetIsRefetching(false)\n\t\t\t\tsetInitRender(true)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [])\n\n\tuseEffect(() => {\n\t\tif (initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n await getAllCustomFields()\n\t\t\t\tsetIsRefetching(false)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t }, [filterByColumns]) \n\t\n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n <>\n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={productsDownloads}\n columns={productsColumns(\"active\", handleReload, apiCustomFields) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n optionalContent={{\n options: (\n <>\n
\n setMassiveDownload(!massiveDownload)}\n style={{ marginRight: '1rem', alignItems: 'center', display: 'flex' }}\n icon={}\n >\n Descargar codigos QR masivos\n \n
\n addProduct()}\n >\n Agregar Producto\n \n \n )\n }}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n\t\t\t\t\t\treturn handleStateFilterByColumns(props)\n\t\t\t\t\t},\n\t\t\t\t\tfilterByColumnsFactory: (props)=> {\n\t\t\t\t\t\treturn filterByColumnsFactory(props)\n\t\t\t\t\t}\n }}\n />\n setMassiveDownload(false)}\n onOk={()=> {}}\n footer={false}\n >\n \n \n \n )\n}\n\nexport default ActiveProducts","import { useContext, useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport {productsColumns} from '../../components/tables/schemaColumn'\nimport { productsDownloads } from '../../components/tables/schemaDownload'\nimport { ActivateProduct, getCustomFields } from \"../../api/ProductAPI\"\nimport { DataContext } from \"../../context/dataContext\"\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = false,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'SKUCliente', find: false },\n { id: 'Nombre', find: false },\n { id: 'Descripcion', find: false },\n { id: 'ValorMercancia', find: false },\n { id: 'PesoKG', find: false },\n { id: 'Largo', find: false },\n { id: 'Ancho', find: false },\n { id: 'Altura', find: false },\n { id: 'ValorMercancia', find: false },\n {\n id: 'Visible',\n find: true,\n filters: {\n sort: false,\n filter: true,\n filter_values: [false] \n }\n },\n \n ]\n})\n\nconst InactiveProducts = () => {\n const { getTokenSilently, user } = useAuth0()\n const { setInventoryId } = useContext(DataContext)\n const [apiCustomFields, setApiCustomFields] = useState([])\n\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/allproducts`, \n filterByColumns, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n setTotal(data?.total)\n\n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n\n const getAllCustomFields = async () => {\n const token = await getTokenSilently();\n const response = await getCustomFields(token, user.sub, \"default\")\n if (response.status === 200) {\n setApiCustomFields(response.data.CustomFields)\n }\n }\n\n const productActivate = async(productId) => {\n const token = await getTokenSilently()\n await ActivateProduct(token, productId);\n await handleFecth(filterByColumns)\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n\t\tconst customFilterByColumns = { \n\t\t \t...filterByColumns,\n\t\t}\n\t\n\t\tif (user) customFilterByColumns.user = user\t\n\t\tif (country) customFilterByColumns.country = country\n\t\tif (searchText !== undefined) customFilterByColumns.searched = searchText\n\t\t\n\t\tif (currentPage){\n\t\t\tsetCurrentPage(currentPage)\n\t\t\tcustomFilterByColumns.range.from = currentPage \n\t\t}\n\t\n\t\tif (rowsPerPages){\n\t\t\tsetRowPerPages(rowsPerPages)\n\t\t\tcustomFilterByColumns.range.to = rowsPerPages \n\t\t}\n\t\n\t\treturn customFilterByColumns\n\t}\n\n const handleReload = () => {\n setReload(!reload)\n }\n\n useEffect(() => {\n setInventoryId(\"default\")\n }, [])//eslint-disable-line\n\n\tuseEffect(() => {\n\t\tif (!initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n await getAllCustomFields()\n\t\t\t\tsetIsRefetching(false)\n\t\t\t\tsetInitRender(true)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [])\n\n\tuseEffect(() => {\n\t\tif (initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n await getAllCustomFields()\n\t\t\t\tsetIsRefetching(false)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t }, [filterByColumns]) \n\t\n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n <>\n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={productsDownloads}\n columns={productsColumns(\"inactive\", handleReload, apiCustomFields, productActivate) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n\t\t\t\t\t\treturn handleStateFilterByColumns(props)\n\t\t\t\t\t},\n\t\t\t\t\tfilterByColumnsFactory: (props)=> {\n\t\t\t\t\t\treturn filterByColumnsFactory(props)\n\t\t\t\t\t}\n }}\n />\n \n )\n}\n\nexport default InactiveProducts","\nexport const integrations = [\n {\n name: 'MERCADOLIBRE',\n status: true,\n },\n {\n name: 'WOOCOMMERCE',\n status: true,\n },\n {\n name: 'SHOPIFY',\n status: true,\n },\n {\n name: 'TIENDANUBE',\n status: false\n },\n {\n name: 'EBAY',\n status: false\n },\n {\n name: 'WIX',\n status: false\n },\n {\n name: 'AMAZON',\n status: false\n }\n]","import React, { useEffect, useState, useCallback } from 'react';\nimport {Col, Row, Select, Table, Input, Button} from 'antd';\nimport { getStockByMercadolibre } from '../../../api/ProductAPI';\nimport { useAuth0 } from '../../../hooks/react-auth0-spa';\nimport {MercadoLibreStates} from \"../../../utils/States\";\nimport {ProfileOutlined} from \"@ant-design/icons\";\nimport * as XLSX from \"xlsx\";\n\nconst { Search } = Input;\n\nconst columns = [\n {\n title: \"Foto\",\n dataIndex: \"\",\n render: (rowData) => (\n {rowData?.title\n ),\n },\n {\n title: \"Título\",\n dataIndex: \"title\",\n width: 200,\n },\n {\n title: \"Precio\",\n dataIndex: \"\",\n width: 100,\n render: (rowData) => (`${ rowData?.price ?? \"0\" } ${rowData?.currency_id ?? \"MXN\"}`)\n },\n {\n title: \"Cant. Disponible\",\n dataIndex: \"available_quantity\",\n width: 150,\n align: \"center\",\n },\n {\n title: \"Cant. Vendida\",\n dataIndex: \"sold_quantity\",\n width: 150,\n align: \"center\",\n },\n {\n title: \"Estado\",\n dataIndex: \"\",\n align: \"center\",\n render: (rowData) => (\n
{ MercadoLibreStates(rowData?.status) }
\n )\n },\n];\n\nfunction Mercadolibre() {\n const [data, setData] = useState([]);\n const [filteredData, setFilteredData] = useState([]);\n const [currentPage, setCurrentPage] = useState(1);\n const [isLoading, setIsLoading] = useState(false);\n const [hasMore, setHasMore] = useState(true);\n const [selectedStatus, setSelectedStatus] = useState('all');\n const [pageSize, setPageSize] = useState(10);\n const { getTokenSilently, user } = useAuth0();\n const limit = 20;\n\n const fetchMoreData = useCallback(async () => {\n if (isLoading || !hasMore) return;\n\n setIsLoading(true);\n const token = await getTokenSilently();\n const offset = Math.floor(data.length / limit) * limit;\n\n const request = {\n userId: user.sub,\n status: selectedStatus,\n pagination: { offset, limit },\n };\n\n try {\n const response = await getStockByMercadolibre(token, request);\n if (response.status === 200) {\n const newData = [...data, ...response.data];\n setData(newData);\n setFilteredData(newData);\n setHasMore(response.data.length === limit);\n } else {\n setHasMore(false);\n }\n } catch (error) {\n console.error('Error fetching data: ', error);\n setHasMore(false);\n } finally {\n setIsLoading(false);\n }\n }, [data, hasMore, isLoading, selectedStatus]);//eslint-disable-line\n\n useEffect(() => {\n fetchMoreData();\n }, [fetchMoreData]);\n\n const exportToExcel = (fileType) => {\n const worksheet = XLSX.utils.json_to_sheet(data);\n const workbook = XLSX.utils.book_new();\n XLSX.utils.book_append_sheet(workbook, worksheet, \"Data\");\n\n const fileExtension = fileType === \"xlsx\" ? \".xlsx\" : \".csv\";\n const fileName = `Data${fileExtension}`;\n\n XLSX.writeFile(workbook, fileName);\n };\n\n const handlePageChange = (page, size) => {\n const maxPageLoaded = Math.ceil(filteredData.length / size);\n\n if (page > maxPageLoaded && hasMore) {\n fetchMoreData();\n }\n\n setCurrentPage(page);\n };\n\n const handleStatusChange = (status) => {\n setSelectedStatus(status);\n setData([]);\n setFilteredData([]);\n setCurrentPage(1);\n setHasMore(true);\n };\n\n const handleSearch = (value) => {\n const filtered = data.filter((item) =>\n item.title.toLowerCase().includes(value.toLowerCase())\n );\n setFilteredData(filtered);\n setCurrentPage(1);\n };\n\n const handlePageSizeChange = (current, size) => {\n setPageSize(size);\n setCurrentPage(1);\n };\n\n return (\n
\n \n \n \n \n \n \n \n \n exportToExcel('csv')}\n style={{ marginRight: '1rem', alignItems: 'center', display: 'flex' }}\n icon={}\n >\n {\"Descargar CSV\"}\n \n exportToExcel('xlsx')}\n style={{ marginRight: '1rem', alignItems: 'center', display: 'flex' }}\n icon={}\n >\n {\"Descargar XLSX\"}\n \n \n \n record.id}\n />\n
\n );\n}\n\nexport default Mercadolibre;\n","import {useContext, useEffect, useState} from 'react'\nimport { useHistory } from \"react-router-dom\";\nimport { Button } from 'antd';\nimport { ProfileOutlined } from '@ant-design/icons'\nimport {useAuth0} from \"../../../../hooks/react-auth0-spa\";\nimport { axiosBase as axios } from \"../../../../api/AxiosConfig\";\nimport {getCustomFields} from \"../../../../api/ProductAPI\";\nimport Table from \"../../../../components/tables/Table\";\nimport {productsDownloads} from \"../../../../components/tables/schemaDownload\";\nimport {customWarehouseProductsColumns} from \"../../../../components/tables/schemaColumn\";\nimport ModalContainer from \"../../../quoter/containers/ModalContainer\";\nimport ProductSelector from \"../../../../components/generals/ProductSelector\";\nimport {DataContext} from \"../../../../context/dataContext\";\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = false,\n inventoryId,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n inventoryId,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'SKUCliente', find: false },\n { id: 'Nombre', find: false },\n { id: 'Descripcion', find: false },\n { id: 'ValorMercancia', find: false },\n { id: 'PesoKG', find: false },\n { id: 'Largo', find: false },\n { id: 'Ancho', find: false },\n { id: 'Altura', find: false },\n { id: 'ValorMercancia', find: false },\n {\n id: 'Visible',\n find: true,\n filters: {\n sort: false,\n filter: true,\n filter_values: [true]\n }\n },\n ]\n})\n\nconst WarehouseCustomProducts = ({ inventoryId }) => {\n const History = useHistory()\n const { getTokenSilently, user } = useAuth0()\n const { setInventoryId, setProductType } = useContext(DataContext)\n const [apiCustomFields, setApiCustomFields] = useState([])\n const [massiveDownload, setMassiveDownload] = useState(false)\n\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, inventoryId, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/customWarehouse/products/get`,\n filterByColumns,\n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n setTotal(data?.total)\n\n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n\n const getAllCustomFields = async () => {\n const token = await getTokenSilently();\n const response = await getCustomFields(token, user.sub, inventoryId)\n if (response.status === 200) {\n setApiCustomFields(response.data.CustomFields)\n }\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n const customFilterByColumns = { \n ...filterByColumns,\n }\n\n if (user) customFilterByColumns.user = user\t\n if (country) customFilterByColumns.country = country\n if (searchText !== undefined) customFilterByColumns.searched = searchText\n \n if (currentPage){\n setCurrentPage(currentPage)\n customFilterByColumns.range.from = currentPage \n }\n\n if (rowsPerPages){\n setRowPerPages(rowsPerPages)\n customFilterByColumns.range.to = rowsPerPages \n }\n\n return customFilterByColumns\n }\n\n const handleReload = () => {\n setReload(!reload)\n }\n\n const handleMassiveDownloadModal = ()=> {\n setMassiveDownload(!massiveDownload)\n }\n\n const addProduct = () => {\n setProductType(\"customWarehouse\")\n History.push(\"/products/create\")\n }\n\n useEffect(() => {\n setInventoryId(inventoryId)\n }, [inventoryId])//eslint-disable-line\n\n useEffect(() => {\n if (!initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n await getAllCustomFields()\n setIsRefetching(false)\n setInitRender(true)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n useEffect(() => {\n if (initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n await getAllCustomFields()\n setIsRefetching(false)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [filterByColumns]) \n \n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, inventoryId, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n <>\n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={productsDownloads}\n columns={customWarehouseProductsColumns(\"active\", handleReload, apiCustomFields, \"\", \"customWarehouse\") ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n optionalContent={{\n options: (\n <>\n
\n setMassiveDownload(!massiveDownload)}\n style={{ marginRight: '1rem', alignItems: 'center', display: 'flex' }}\n icon={}\n >\n Descargar codigos QR masivos\n \n
\n addProduct()}\n >\n Agregar Producto\n \n \n )\n }}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n return handleStateFilterByColumns(props)\n },\n filterByColumnsFactory: (props)=> {\n return filterByColumnsFactory(props)\n }\n }}\n />\n setMassiveDownload(false)}\n onOk={()=> {}}\n footer={false}\n >\n \n \n \n )\n}\n\nexport default WarehouseCustomProducts","import React from 'react';\nimport Mercadolibre from \"./Mercadolibre\";\nimport CustomWarehouse from \"./CustomWarehouse/CustomWarehouse\";\n\nfunction SelectIntegration({ type, inventoryId }) {\n switch (type){\n case 'MERCADOLIBRE':\n return (\n \n )\n case 'AMAZON':\n return (\n

Amazon

\n )\n case 'CUSTOM_WAREHOUSE':\n return \n default:\n return (\n

Na

\n )\n }\n}\n\nexport default SelectIntegration;","import React, {useContext, useEffect, useState} from 'react';\nimport CustonTabs from '../../components/tables/CustonTabs';\nimport ActiveProducts from './ActiveProducts';\nimport InactiveProducts from './InactiveProducts';\nimport { UserIntegrationCheck} from '../../api/userBalanceData';\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport {integrations} from \"../integrationsDispatch/integrations-array\";\nimport SelectIntegration from \"./IntegrationStock/SelectIntegration\";\nimport {DataContext} from \"../../context/dataContext\";\n\nconst Products = () => {\n\n const { getTokenSilently } = useAuth0()\n const { userWarehouses } = useContext(DataContext);\n const [tabs, setTabs] = useState([\n {\n title: 'Drevfill',\n component: \n },\n {\n title: 'Inactivos',\n component: ,\n }\n ])\n\n const switchTitle = (type) => {\n switch (type) {\n case 'MERCADOLIBRE':\n return \"MercadoLibre\"\n case \"AMAZON\":\n return \"Amazon\"\n case \"WOOCOMMERCE\":\n return \"WooCommerce\"\n case 'SHOPIFY':\n return \"Shopify\"\n default:\n return type\n }\n }\n\n const getCustomerWarehouses = async() => {\n try {\n userWarehouses.forEach(item => {\n item.Visible && setTabs(prevState => [...prevState, { title: item.Title, component: }])\n })\n } catch (error) {\n return alert.error('Error al obtener inventarios, recarga la pagina.')\n }\n }\n\n const userIntegrationCheck = async() => {\n const token = await getTokenSilently()\n\n const response = await UserIntegrationCheck(token)\n if(!response?.res?.hasIntegration || response?.res?.integrationData.length === 0){\n console.log('Usuario sin integracion')\n return\n }\n\n // Validamos que el usuario tenga una integración de las que tenemos disponibles\n const activeIntegrations = []\n for (const integration of integrations) {\n if(integration.status){\n switch (integration.name) {\n case 'MERCADOLIBRE':\n const _int = response.res.integrationData.filter(item => item.type === integration.name)\n activeIntegrations.push(_int[0])\n break;\n default:\n break;\n }\n }\n }\n if(activeIntegrations.length > 0){\n activeIntegrations.forEach(item => {\n setTabs((prevState) => [...prevState, { title: switchTitle(item?.type), component: } ])\n })\n }\n }\n\n useEffect(() => {\n userIntegrationCheck()\n getCustomerWarehouses()\n }, [])//eslint-disable-line\n\n return (\n \n )\n}\n\nexport default Products","import React, {useState, useEffect, Fragment, useContext} from \"react\";\nimport {getCustomFields, GetProductBySKU, UpdateProduct} from \"../../api/ProductAPI\";\nimport { useHistory } from \"react-router-dom\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport {\n Grid,\n Typography,\n Box,\n CardContent,\n TextField,\n InputAdornment,\n InputLabel,\n Paper\n} from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport ImageUploading from \"react-images-uploading\";\nimport { useAlert } from \"react-alert\";\nimport {Divider, Card, Button} from \"antd\";\nimport {DataContext} from \"../../context/dataContext\";\nimport {UpdateProductCustomWarehouses} from \"../../api/userBalanceData\";\n\nconst numberValues = [\"PesoKG\",\"Largo\", \"Ancho\", \"Altura\", \"ValorMercancia\", \"VentaAmazon\", \"VentaEcommerce\", \"VentaMeli\"];\n\nconst useStyles = makeStyles((theme) => ({\n textField: {\n marginTop: theme.spacing(3),\n },\n}));\n\nconst ProductEdit = (props) => {\n\n const initialState = {\n SKUCliente: \"\",\n Nombre: \"\",\n PesoKG: \"\",\n Largo: \"\",\n Ancho: \"\",\n Altura: \"\",\n Descripcion: \"\",\n Fotografia: \"\",\n Fotografia64: \"\",\n ValorMercancia: \"\",\n CustomFields: {},\n CantidadEnInventario: \"\"\n };\n\n const [apiCustomFields, setApiCustomFields] = useState([]);\n\n const { getTokenSilently, user } = useAuth0();\n const classes = useStyles();\n const History = useHistory();\n const [product, setProduct] = useState(initialState);\n const [images, setImages] = useState([]);\n const [isLoading, setIsLoading] = useState(false)\n const { productType, inventoryId } = useContext(DataContext)\n const alert = useAlert();\n\n // console.log('Inventory Id: ', inventoryId);\n\n useEffect(() => {\n async function fetchData() {\n setIsLoading(true)\n const t = await getTokenSilently();\n const productRes = await GetProductBySKU(\n t,\n props.match.params.SkuFulfillment,\n productType\n );\n setProduct({\n ...productRes,\n CustomFields: productRes?.CustomFields ?? {},\n });\n setIsLoading(false)\n }\n\n fetchData();\n }, [productType]);//eslint-disable-line\n\n const onChangeImage = (imageList, addUpdateIndex) => {\n setImages(imageList);\n setProduct({\n ...product,\n Fotografia: \"\",\n Fotografia64: imageList.length > 0 ? imageList[0].data_url : \"\",\n });\n };\n\n const removeFotografia = () => {\n setProduct({\n ...product,\n Fotografia: \"\",\n });\n };\n\n const onSubmit = async (e) => {\n e.preventDefault();\n setIsLoading(true)\n if (product.Fotografia || product.Fotografia64) {\n try {\n const t = await getTokenSilently();\n const rta = await UpdateProduct(t, props.match.params.SkuFulfillment, product);\n\n if (rta?.code !== 200){\n alert.info(rta?.error?.message);\n setIsLoading(false)\n return \n }\n\n setIsLoading(false)\n alert.success(rta?.res);\n History.push(\"/products\");\n } catch (err){\n setIsLoading(false)\n alert.info(\n \"Se genero un error al intentar editar el producto\"\n );\n }\n } else {\n setIsLoading(false)\n alert.info(\n \"Debes seleccionar una fotografía, para identificar mejor tu producto\"\n );\n }\n };\n\n const updateCustomWarehouseProduct = async(e) => {\n e.preventDefault();\n const request = {\n SKUFulfillment: props.match.params.SkuFulfillment,\n newData: product\n }\n if (product.Fotografia || product.Fotografia64) {\n try {\n const t = await getTokenSilently();\n const rta = await UpdateProductCustomWarehouses(t, request);\n\n if (rta?.status !== 200){\n alert.info('Error al actualizar el producto');\n return\n }\n\n alert.success('Producto actualizado correctamente');\n History.push(\"/products\");\n } catch (err){\n console.log('[ updateCustomWarehouseProduct ] Error: ', err)\n alert.info(\n \"Se genero un error al intentar editar el producto\"\n );\n }\n }\n }\n\n const onChangeInput = (e) => {\n const { name, value } = e.target;\n\n if (numberValues.includes(name)){\n if (/^\\d*\\.?\\d*$/.test(value)) {\n setProduct({ ...product, [name]: value });\n }\n } else {\n if(name === 'Descripcion'){\n if(value.length < 80){\n setProduct({ ...product, [name]: value });\n } else return\n }\n setProduct({ ...product, [name]: value })\n }\n };\n\n const onChangeCustomInput = (e) => {\n const { name, value } = e.target;\n setProduct({ ...product, CustomFields: { ...product.CustomFields, [name]: value } });\n }\n\n const getAllCustomFields = async () => {\n const token = await getTokenSilently();\n const response = await getCustomFields(token, user.sub, inventoryId);\n if (response.status === 200) {\n setApiCustomFields(response.data.CustomFields);\n }\n };\n\n\n useEffect(() => {\n getAllCustomFields()\n //eslint-disable-next-line\n }, [inventoryId]);\n\n return (\n \n \n \n \n \n Editar producto\n \n
\n \n \n Información Importante\n \n \n Para editar el nombre de los productos, se debe enviar una solicitud que debe ser revisada y aprobada por la administración. Las demás propiedades pueden ser modificadas directamente. \n \n \n \n \n \n \n \n \n \n \n \n \n \n CM\n ),\n }}\n required={true}\n value={product.Largo}\n onChange={onChangeInput}\n />\n \n \n CM\n ),\n }}\n required={true}\n value={product.Ancho}\n onChange={onChangeInput}\n />\n \n \n CM\n ),\n }}\n required={true}\n value={product.Altura}\n onChange={onChangeInput}\n />\n \n \n KG\n ),\n }}\n required={true}\n value={product.PesoKG}\n onChange={onChangeInput}\n />\n \n {\n productType !== 'customWarehouse'\n && (\n <>\n \n \n \n \n \n \n \n \n \n \n )\n }\n {\n productType === 'customWarehouse' && (\n \n \n \n )\n }\n \n \n \n \n Campos personalizados ( opcionales )\n {\n (apiCustomFields.length) > 0 && (\n apiCustomFields.map(item => (\n \n 0 ? product?.CustomFields[item?.fieldName] : \"\"}\n className={classes.textField}\n onChange={onChangeCustomInput}\n />\n \n )) || (apiCustomFields.length === 0 && (

Puedes crear campos personalizados en la sección de configuración

))\n )\n }\n \n \n Fotografía del producto\n \n {product.Fotografia.length > 0 ? (\n
\n \n \n Quitar imagen\n \n \n \n
\n \n
\n
\n
\n ) : (\n \n {({\n imageList,\n onImageUpload,\n onImageRemoveAll,\n onImageUpdate,\n onImageRemove,\n isDragging,\n dragProps,\n }) => (\n
\n \n {imageList.length > 0 ? (\n \n Quitar imagen\n \n ) : (\n \n Selecciona una imagen\n \n )}\n \n \n {imageList.map((image, index) => (\n
\n \n
\n ))}\n
\n
\n )}\n \n )}\n
\n \n History.push(\"/products\")}\n >\n Cancelar\n \n  \n \n { isLoading ? \"Cargando...\" : \"Guardar\" }\n \n \n
\n
\n
\n
\n
\n
\n );\n};\n\nexport default ProductEdit;\n","import React, {Fragment, useState, useContext, useEffect} from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n Grid,\n Box,\n CardContent,\n TextField,\n InputAdornment,\n InputLabel,\n} from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport ImageUploading from \"react-images-uploading\";\n\nimport {CreateMassiveProducts, CreateProduct, getCustomFields} from \"../../api/ProductAPI\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport { useAlert } from \"react-alert\";\nimport { DataContext } from \"../../context/dataContext\";\nimport {\n Card,\n Divider,\n Button,\n Row,\n Col,\n Tooltip,\n Select,\n Form,\n InputNumber,\n Table,\n Popconfirm\n} from \"antd\";\nimport {CreateCustomProductWarehouses} from \"../../api/userBalanceData\";\nimport {DeleteOutlined, PlusCircleOutlined, ProfileOutlined} from \"@ant-design/icons\";\nimport ModalContainer from \"../quoter/containers/ModalContainer\";\nimport { axiosBase as axios } from \"../../api/AxiosConfig\";\n\nconst useStyles = makeStyles((theme) => ({\n textField: {\n marginTop: theme.spacing(3),\n },\n}));\n\nconst numberValues = [\"PesoKG\",\"Largo\", \"Ancho\", \"Altura\", \"ValorMercancia\", \"VentaAmazon\", \"VentaEcommerce\", \"VentaMeli\"];\n\nconst ProductCreate = (props) => {\n\n const [apiCustomFields, setApiCustomFields] = useState([]);\n const [isLoading, setIsLoading] = useState(false)\n const [openModal, setOpenModal] = useState(false)\n const [productsOptions, setProductsOptions] = useState([])\n const [loadingProducts, setLoadingProducts] = useState(false)\n const [drevfillProducts, setDrevfillProducts] = useState([])\n const [selectedProducts, setSelectedProducts] = useState([])\n\n const classes = useStyles();\n const [images, setImages] = useState([]);\n const { getTokenSilently, user } = useAuth0();\n const History = useHistory();\n const alert = useAlert();\n const { data, setData, inventoryId, productType } = useContext(DataContext);\n\n const initialState = {\n SKUCliente: \"\",\n Nombre: \"\",\n PesoKG: \"\",\n Largo: \"\",\n Ancho: \"\",\n Altura: \"\",\n Descripcion: \"\",\n Fotografia: \"\",\n Fotografia64: \"\",\n ValorMercancia: \"\",\n VentaAmazon: \"\",\n VentaEcommerce: \"\",\n VentaMeli: \"\",\n CustomFields: {},\n CantidadEnInventario: \"\"\n };\n const [product, setProduct] = useState(initialState);\n const [form] = Form.useForm()\n\n const onChangeImage = (imageList, addUpdateIndex) => {\n setImages(imageList);\n setProduct({\n ...product,\n Fotografia64: imageList.length > 0 ? imageList[0].data_url : \"\",\n });\n };\n\n const onFinish = async (e) => {\n // e.preventDefault();\n setIsLoading(true)\n if (\n product.SKUCliente !== '' &&\n product.Nombre !== '' &&\n product.PesoKG !== '' &&\n product.Largo !== '' &&\n product.Ancho !== '' &&\n product.Altura !== '' &&\n product.Descripcion !== '' &&\n product.Fotografia64 &&\n product.ValorMercancia !== 0 &&\n product.ValorMercancia !== null &&\n product.ValorMercancia !== ''\n ) {\n numberValues.forEach(item => product[item] = Number(product[item]))\n const t = await getTokenSilently();\n\n if(inventoryId === 'default'){\n await CreateProduct(t, product);\n }\n\n if(inventoryId !== 'default'){\n const request = {\n ...product,\n InventoryId: inventoryId\n }\n await CreateCustomProductWarehouses(t, request)\n }\n\n setIsLoading(false)\n alert.success(\"Tu producto fue registrado con éxito\");\n setData({ ...data, updateData: true });\n History.push(\"/products\");\n } else {\n setIsLoading(false)\n alert.info(\n \"Debes seleccionar todos los campos\"\n );\n }\n };\n\n const onChangeInput = (e) => {\n const { name, value } = e.target;\n\n if (numberValues.includes(name)){\n if (/^\\d*\\.?\\d*$/.test(value)) {\n setProduct({ ...product, [name]: value });\n }\n } else {\n if(name === 'Descripcion'){\n if(value.length < 80){\n setProduct({ ...product, [name]: value });\n } else return\n }\n setProduct({ ...product, [name]: value })\n }\n };\n\n const onChangeCustomInput = (e) => {\n const { name, value } = e.target;\n setProduct({ ...product, CustomFields: { ...product.CustomFields, [name]: value } });\n }\n\n const getAllCustomFields = async () => {\n const token = await getTokenSilently();\n const response = await getCustomFields(token, user.sub, inventoryId);\n if (response.status === 200) {\n setApiCustomFields(response.data.CustomFields);\n }\n };\n\n\n useEffect(() => {\n getAllCustomFields()\n //eslint-disable-next-line\n }, []);\n\n\n // Columns and data for duplicate Drevfill products to CustomWarehouse\n\n const getAllDrevfillProducts = async() => {\n setLoadingProducts(true)\n const userToken = await getTokenSilently();\n const { data } = await axios.get(\n `/find/allproducts`,\n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n if(data) {\n setDrevfillProducts(data)\n const options = data.map(item => {\n return { label: `${item.SKUCliente} - ${item.Nombre}`, value: item._id };\n })\n setProductsOptions(options)\n }\n setLoadingProducts(false)\n }\n\n useEffect(() => {\n if(productType === 'customWarehouse'){\n getAllDrevfillProducts();\n }\n }, [productType]);//eslint-disable-line\n\n // ----------------- INVENTARIO PERSONALIZADO - Función únicamente para añadir productos a duplicar - INVENTARIO PERSONALIZADO ----------------------- //\n const onAddProduct = (e) => {\n const validateExist = selectedProducts.find(el => el.SKUFulfillment === e.productId)\n if(validateExist){\n setSelectedProducts((prevState) =>\n prevState.map((item) =>\n item.SKUFulfillment === e.productId ? { ...item, CantidadEnInventario: item.CantidadEnInventario + e.quantity } : item\n )\n )\n } else {\n let product = drevfillProducts.find(el => el._id === e.productId)\n delete product?.UpdatedAt\n delete product?.CreatedAt\n delete product?.Tracking\n delete product?.SKUFulfillment\n delete product?._id\n product.InventoryId = inventoryId\n product.CantidadEnInventario = e.quantity\n product.Visible = true\n setSelectedProducts((prevState) => [...prevState, product])\n }\n form.resetFields()\n }\n\n const deleteProduct = (skuCliente, productName) => {\n const response = selectedProducts.filter(el => el.SKUCliente !== skuCliente && el.Nombre !== productName)\n setSelectedProducts(response)\n }\n\n const columsProducts = [\n {\n title: \"Fotografia\",\n dataIndex: \"\",\n align: 'center',\n render: (product)=> (\n \n )\n },\n {\n title: \"SKU\",\n align: 'center',\n dataIndex: \"SKUCliente\"\n },\n {\n title: \"Nombre\",\n align: 'center',\n dataIndex: \"Nombre\",\n },\n // {\n // title: \"Descripcion\",\n // align: 'center',\n // dataIndex: \"Descripcion\"\n // },\n {\n title: \"Cantidad\",\n dataIndex: \"CantidadEnInventario\"\n },\n {\n title: \"Costo\",\n align: 'center',\n dataIndex: \"ValorMercancia\",\n },\n {\n title: \"Dimensiones \",\n dataIndex: \"\",\n align: 'center',\n render: (obj) => `${obj.Largo} x ${obj.Ancho} x ${obj.Altura}`\n },\n {\n title: \"Peso\",\n dataIndex: \"PesoKG\",\n },\n {\n title: \"Acciones\",\n dataIndex: \"\",\n align: 'center',\n render: (el) => {\n return (\n \n deleteProduct(el.SKUCliente, el.Nombre)}\n >\n \n \n {\n productType === 'customWarehouse' && (\n \n \n \n )\n }\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n CM\n ),\n }}\n required={true}\n value={product.Largo}\n onChange={onChangeInput}\n />\n \n \n \n \n CM\n ),\n }}\n required={true}\n value={product.Ancho}\n onChange={onChangeInput}\n />\n \n \n \n \n CM\n ),\n }}\n required={true}\n value={product.Altura}\n onChange={onChangeInput}\n />\n \n \n \n \n KG\n ),\n }}\n required={true}\n value={product.PesoKG}\n onChange={onChangeInput}\n />\n \n \n {\n (productType !== 'customWarehouse')\n && (\n <>\n \n \n \n \n \n \n \n \n \n \n )\n }\n {\n productType === 'customWarehouse' && (\n \n \n \n \n \n )\n }\n \n \n \n \n {\n (productType !== 'customWarehouse') && (\n \n )\n }\n \n\n Campos personalizados ( opcionales )\n {\n apiCustomFields.length > 0 && (\n apiCustomFields.map(item => (\n \n \n \n )) || (apiCustomFields.length === 0 && (

Puedes crear campos personalizados en la sección de configuración

))\n )\n }\n \n \n Fotografía del producto\n \n\n \n \n {({\n imageList,\n onImageUpload,\n onImageRemoveAll,\n onImageUpdate,\n onImageRemove,\n isDragging,\n dragProps,\n }) => (\n
\n \n {imageList.length > 0 ? (\n \n Quitar imagen\n \n ) : (\n \n Selecciona una imagen\n \n )}\n \n \n {imageList.map((image, index) => (\n
\n \n
\n ))}\n
\n
\n )}\n \n \n
\n \n History.push(\"/products\")}\n >\n Cancelar\n \n  \n \n \n
\n
\n \n \n \n\n {/* ---------------------------- Sección de duplicar productos ------------------------------- */}\n setOpenModal(false)}\n footer={<>}\n centered={true}\n title=\"Duplicar productos\"\n size=\"60em\"\n >\n

Selecciona los productos que tienes en Drevfill y duplicalos en tu bodega personalizada.

\n
\n \n \n \n \n (option?.label ?? '').toLowerCase().includes(input.toLowerCase())\n }\n loading={loadingProducts}\n options={productsOptions}\n style={{width: '100%'}}\n />\n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n );\n};\n\nexport default ProductCreate;\n","import { useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { warehouseShipmentsColumns } from '../../components/tables/schemaColumn'\nimport { warehouseShipmentsDownloads } from '../../components/tables/schemaDownload'\nimport { useHistory } from \"react-router-dom\";\nimport { Button } from 'antd';\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = false,\n status,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n status,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'EnvioId', find: false },\n { id: 'Estatus', find: false },\n { id: 'FechaEnvio', find: false },\n { id: 'FechaRecepcion', find: false },\n { id: 'Guia', find: false },\n ]\n})\n\nconst WarehouseShipments = ({ status }) => {\n const { getTokenSilently } = useAuth0()\n const History = useHistory();\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, status, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/warehouseShipments/v2`, \n filterByColumns, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n setTotal(data?.total)\n\n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n\t\tconst customFilterByColumns = { \n\t\t \t...filterByColumns,\n\t\t}\n\t\n\t\tif (user) customFilterByColumns.user = user\t\n\t\tif (country) customFilterByColumns.country = country\n\t\tif (searchText !== undefined) customFilterByColumns.searched = searchText\n\t\t\n\t\tif (currentPage){\n\t\t\tsetCurrentPage(currentPage)\n\t\t\tcustomFilterByColumns.range.from = currentPage \n\t\t}\n\t\n\t\tif (rowsPerPages){\n\t\t\tsetRowPerPages(rowsPerPages)\n\t\t\tcustomFilterByColumns.range.to = rowsPerPages \n\t\t}\n\t\n\t\treturn customFilterByColumns\n\t}\n\n const handleReload = () => {\n setReload(!reload)\n }\n\n\tuseEffect(() => {\n\t\tif (!initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n\t\t\t\tsetIsRefetching(false)\n\t\t\t\tsetInitRender(true)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [])\n\n\tuseEffect(() => {\n\t\tif (initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n\t\t\t\tsetIsRefetching(false)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t }, [filterByColumns]) \n\t\n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, status, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload, status])\n\n return (\n <>\n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={warehouseShipmentsDownloads}\n columns={warehouseShipmentsColumns(status, setIsRefetching) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n optionalContent={{\n options: (\n status === 0 && (\n History.push(\"/warehouseShippment/create\")}\n >\n Enviar mercancía al almacén\n \n )\n )\n }}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n\t\t\t\t\t\treturn handleStateFilterByColumns(props)\n\t\t\t\t\t},\n\t\t\t\t\tfilterByColumnsFactory: (props)=> {\n\t\t\t\t\t\treturn filterByColumnsFactory(props)\n\t\t\t\t\t}\n }}\n />\n \n )\n}\n\nexport default WarehouseShipments","import React from 'react'\nimport CustonTabs from '../../components/tables/CustonTabs'\nimport WarehouseShipments from './WarehouseShipments'\n\nconst WarehouseShipmentsTabs = () => {\n return (\n \n },\n {\n title: \"Recibidos\",\n component: \n },\n {\n title: \"Cancelados\",\n component: \n }\n ]\n }\n />\n )\n}\n\nexport default WarehouseShipmentsTabs","import React, { Fragment } from \"react\";\nimport {\n Grid,\n Typography,\n Button,\n Dialog,\n DialogTitle,\n DialogContent,\n DialogActions,\n } from \"@material-ui/core\";\n\nconst WarehouseShippingInfo = (props) => {\n return (\n \n \n {\"Dirección del almacén\"}\n \n \n \n \n Para hacernos llegar tu mercancía, por favor enviar tus\n productos a esta dirección\n \n \n \n \n Calle: Corcega\n \n \n \n \n Número ext: 1231\n \n \n \n \n Colonia: Los angeles\n \n \n \n \n Municipio: San Nicolás de los Garza\n \n \n \n \n Estado: Nuevo León\n \n \n {/**/}\n {/* */}\n {/* Referencia: A un costado de los locales*/}\n {/* */}\n {/**/}\n \n \n País: México\n \n \n \n \n Código Postal: 66478\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default WarehouseShippingInfo;\n","import React, { Fragment, useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport { CreateShippment } from \"../../api/WarehouseShippingAPI\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport {\n Grid,\n Box,\n CardContent,\n TextField,\n InputLabel,\n Button,\n Select,\n MenuItem,\n FormControl,\n TableContainer,\n Table,\n TableHead,\n TableBody,\n TableRow,\n TableCell,\n Paper,\n Link,\n} from \"@material-ui/core\";\nimport { useAlert } from \"react-alert\";\nimport WarehouseShippingInfo from \"./Info\";\nimport { GetAllProductsByAuthId } from \"../../api/ProductAPI\";\nimport {Card} from \"antd\";\n\nconst initialState = {\n Codigo: \"\",\n Guia: {\n ProveedorDeGuia: \"\",\n NumeroDeGuia: \"\",\n },\n InfoEnvioProductos: [],\n};\nconst initialStateProduct = {\n SKUFulfillment: \"\",\n Cantidad: \"\",\n};\n\nconst useStyles = makeStyles((theme) => ({\n textField: {\n marginTop: theme.spacing(3),\n },\n textFieldSmall: {\n marginLeft: theme.spacing(2),\n },\n}));\n\nconst WarehouseShippingCreate = (props) => {\n const alert = useAlert();\n const classes = useStyles();\n const History = useHistory();\n const [shipment, setShipment] = useState(initialState);\n const [product, setProduct] = useState(initialStateProduct);\n const [products, setProducts] = useState([])\n const { getTokenSilently, user } = useAuth0();\n const [showDialog, setShowDialog] = useState(false);\n const [shipmentType, setShipmentType] = useState(\"intermediary\")\n\n const getUserProducts = async() => {\n const token = await getTokenSilently();\n try {\n if(token){\n const response = await GetAllProductsByAuthId(token, user.sub, { active: true })\n if(response.res) setProducts(response.res)\n }\n } catch (error) {\n console.log('Error at getUserProducts', error)\n }\n }\n\n useEffect(() => {\n getUserProducts()\n }, [])//eslint-disable-line\n\n const displayInfoDialog = () => {\n setShowDialog(!showDialog);\n };\n\n const onSubmit = async (e) => {\n e.preventDefault();\n if (shipment.InfoEnvioProductos.length > 0) {\n //guardar\n const t = await getTokenSilently();\n await CreateShippment(t, shipment);\n alert.success(\"Tu envio al almacén fue registrado con éxito\");\n await getUserProducts()\n History.push(\"/warehouseshippment\");\n } else {\n alert.error(\"Debes agregar al menos un producto para continuar.\");\n }\n };\n\n const onSubmitProduct = async (e) => {\n e.preventDefault();\n\n const productToSave = {\n Producto: product.SKUFulfillment,\n CantidadEnviada: product.Cantidad,\n Nombre: product.Nombre,\n };\n\n setShipment({\n ...shipment,\n InfoEnvioProductos: [...shipment.InfoEnvioProductos, productToSave],\n });\n\n setProduct(initialStateProduct);\n };\n\n const onChangeInput = (e) => {\n const { name, value } = e.target;\n setShipment({\n ...shipment,\n Guia: {\n ...shipment.Guia,\n [name]: value,\n },\n });\n };\n\n const onChangeInputProduct = (e) => {\n const { name, value } = e.target;\n let currentProduct;\n\n let updatedProduct = {\n ...product,\n [name]: value,\n };\n\n if (name === \"SKUFulfillment\") {\n currentProduct = products.find(\n (product) => product?.SKUFulfillment === value\n );\n\n if (currentProduct) {\n updatedProduct = {\n ...updatedProduct,\n Nombre: currentProduct.Nombre,\n };\n }\n }\n\n setProduct(updatedProduct);\n };\n\n return (\n \n \n \n \n \n ¿A donde dirijo el envío?\n \n \n \n
\n \n Productos\n \n \n \n \n Producto\n \n {products.length > 0\n ? products.map((item, index) => (\n \n {item.SKUCliente} - {item.Nombre}\n \n ))\n : (\n \n No hay productos\n \n )\n }\n \n \n \n \n \n \n \n \n Agregar producto\n \n \n \n \n \n \n
\n \n \n Producto\n Nombre\n Cantidad\n \n \n \n {shipment.InfoEnvioProductos.map((item, index) => (\n \n {item.Producto}\n {item.Nombre}\n {item.CantidadEnviada}\n \n ))}\n \n
\n \n \n \n \n
\n \n \n Metodo de envio\n setShipmentType(e.target.value)}\n >\n Lo enviaré yo mismo\n Lo enviaré por paquetería\n \n \n \n {\n shipmentType === 'intermediary'\n && (\n \n \n \n \n \n \n \n \n )\n }\n \n History.push(\"/warehouseshippment\")}\n className={classes.textField}\n >\n Cancelar\n \n  \n \n Guardar\n \n \n
\n \n \n \n \n \n );\n};\n\nexport default WarehouseShippingCreate;\n","import React, { Fragment, useState } from \"react\";\nimport {\n Grid,\n Typography,\n Box,\n CardContent,\n TextField,\n Button,\n TableContainer,\n Table,\n TableBody,\n TableRow,\n TableCell,\n Paper,\n Tooltip,\n TableHead,\n} from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport {\n GetShippmentByCode,\n FinishScanShippment,\n} from \"../../api/WarehouseShippingAPI\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport { useAlert } from \"react-alert\";\nimport {Card} from \"antd\";\n\nconst useStyles = makeStyles((theme) => ({\n textField: {\n marginTop: theme.spacing(3),\n },\n textFieldSmall: {\n marginLeft: theme.spacing(2),\n },\n}));\n\nconst envioInitialState = {\n EnvioId: \"\",\n Estatus: \"\",\n InfoEnvioProductos: [],\n};\nconst WarehouseReceiveIndex = (props) => {\n const classes = useStyles();\n const [codigoEnvio, setCodigoEnvio] = useState(\"\");\n const [codigoProducto, setCodigoProducto] = useState(\"\");\n const [envio, setEnvio] = useState(envioInitialState);\n const { getTokenSilently } = useAuth0();\n const alert = useAlert();\n\n const handleSearchSubmit = async (e) => {\n e.preventDefault();\n const t = await getTokenSilently();\n const data = await GetShippmentByCode(t, codigoEnvio);\n\n if (data.code !== 200){\n alert.error(\"El codigo de envio ingresado no existe\");\n return \n }\n setEnvio(data.res);\n };\n\n const handleSearchChange = (e) => {\n if (e.target.value.length <= 12) {\n setCodigoEnvio(e.target.value);\n }\n };\n\n const cleanEnvioInfo = (e) => {\n setEnvio(envioInitialState);\n setCodigoEnvio(\"\");\n };\n\n const handleCaptureSubmit = (e) => {\n e.preventDefault();\n const productoCapturado = envio.InfoEnvioProductos.find((obj) => {\n return obj.Producto.SKUFulfillment.slice(-12) === codigoProducto;\n });\n\n if (!productoCapturado){\n alert.error('Codigo de producto invalido')\n return \n }\n\n setEnvio({\n ...envio,\n InfoEnvioProductos: [\n ...envio.InfoEnvioProductos.filter((obj) => {\n return obj.Producto.SKUFulfillment.slice(-12) !== codigoProducto;\n }),\n {\n ...productoCapturado,\n CantidadRecibida: productoCapturado.CantidadRecibida + 1,\n },\n ],\n });\n setCodigoProducto(\"\");\n };\n\n const handleCaptureChange = (e) => {\n if (e.target.value.length <= 12) {\n setCodigoProducto(e.target.value);\n }\n };\n\n const handleTerminar = async (e) => {\n const finish = window.confirm(\"¿Seguro que desea terminar la captura?\");\n if (finish) {\n const t = await getTokenSilently();\n await FinishScanShippment(t, envio);\n cleanEnvioInfo();\n alert.success(\"El paquete fue capturado correctamente\");\n }\n };\n\n return (\n \n {envio.InfoEnvioProductos.length === 0 && (\n \n \n
\n \n \n \n Escanea un paquete\n \n \n \n \n \n \n \n Buscar\n \n \n \n
\n
\n
\n )}\n {envio.InfoEnvioProductos.length > 0 && (\n \n \n \n \n \n \n Captura o escanea el código de los productos contenidos en\n el paquete para capturar contabilizar el contenido. Al\n finalizar oprime Terminar para confirmar la entrada\n de los productos.\n \n \n \n \n \n Escanear otro paquete\n \n \n \n \n\n \n
\n \n \n \n \n \n \n \n Capturar\n \n \n \n \n
\n
\n\n \n \n \n Productos registrados en el paquete por el cliente\n \n \n \n \n \n \n \n \n \n Información del producto\n \n Cantidad registrada\n Cantidad recibida\n \n \n \n {envio.InfoEnvioProductos.map(\n (\n { Producto, CantidadEnviada, CantidadRecibida },\n index\n ) => (\n \n \n \n \n \n \n \n \n # {Producto?.SKUFulfillment.slice(-12)}\n \n \n \n \n {Producto?.Nombre}\n \n \n \n \n {Producto?.Descripcion}\n \n \n \n \n \n \n \n \n SKU {Producto?.SKUCliente}\n \n \n \n \n Peso {Producto?.PesoKG} Kg.\n \n \n \n \n Dimensiones {Producto?.Largo} x{\" \"}\n {Producto?.Ancho} x {Producto?.Altura} cm.\n \n \n \n \n {CantidadEnviada}\n {CantidadRecibida}\n \n )\n )}\n \n
\n
\n
\n
\n \n \n \n Terminar\n \n \n \n
\n
\n
\n
\n )}\n
\n );\n};\n\nexport default WarehouseReceiveIndex;\n","import { axiosBase as axios } from \"./AxiosConfig\";\nimport { GetAllUsersByAuthId } from \"./userBalanceData\";\n\nexport const GetOutputInfo = async (token, idEnvio) => {\n try {\n const response = await axios.get(`/outboundShipments/${idEnvio}`, {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n return response.data;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const GetAllOutputsProgram = async (token) => {\n try {\n const response = await axios.get(\"warehouse/outboundShipments\", {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n });\n\n const allOutputsProgram = response.data \n const allIds = allOutputsProgram.map(item => item?.UsuarioId)\n const allUsers = await GetAllUsersByAuthId(token, allIds)\n\n allOutputsProgram.forEach(item => {\n const find = allUsers.find(user => user.user === item.UsuarioId)\n if (find){\n item.user = find\n }\n })\n\n return allOutputsProgram\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\nexport const ScanOutput = async (token, output, envioId) => {\n try {\n const response = await axios.post(\n \"/outboundShipments/scan/\" + envioId,\n output,\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n }\n );\n return response;\n } catch (error) {\n console.error(error);\n return error;\n }\n};\n\n// Algun tipo de Información de Preuba ¿?\n\n// const outputShippment = {\n// UsuarioId: \"google-oauth2|2342341423\",\n// EnvioId: \"60977a4f40b701bde85f2283\",\n// Estatus: \"Pendiente envío\",\n// GuiaURL: \"https://google.com\",\n// InfoEnvioProductos: [\n// {\n// Producto: {\n// SKUCliente: \"54541\",\n// Nombre: \"Tablero de ajedrez\",\n// PesoKG: 1,\n// Largo: 20,\n// Ancho: 20,\n// Altura: 20,\n// ValorMercancia: 200,\n// Descripcion: \"Tablero profesional de ajedrez\",\n// Fotografia:\n// \"https://images-na.ssl-images-amazon.com/images/I/61ERJDxLSgL._AC_UX466_.jpg\",\n// SKUFulfillment: \"60977a4f40b701bde87f3282\",\n// },\n// CantidadEnviada: 2,\n// CantidadRecibida: 0,\n// },\n// {\n// Producto: {\n// SKUCliente: \"50468\",\n// Nombre: \"Reloj de ajedrez\",\n// PesoKG: 3,\n// Largo: 20,\n// Ancho: 20,\n// Altura: 20,\n// ValorMercancia: 200,\n// Descripcion: \"Reloj profesional de ajedrez\",\n// Fotografia:\n// \"https://images-na.ssl-images-amazon.com/images/I/617VFU3qPFL._AC_SX425_.jpg\",\n// SKUFulfillment: \"609c6761af6f5e5ee4175eca\",\n// },\n// CantidadEnviada: 5,\n// CantidadRecibida: 0,\n// },\n// ],\n// };\n","import React, { Fragment, useState, useEffect } from \"react\";\nimport {\n Grid,\n Typography,\n Box,\n CardContent,\n TextField,\n Button,\n TableContainer,\n Table,\n TableBody,\n TableRow,\n TableCell,\n Paper,\n Tooltip,\n TableHead,\n} from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport { useAlert } from \"react-alert\";\nimport { GetOutputInfo, ScanOutput } from \"../../api/WarehouseOutputAPI\";\nimport {Card} from \"antd\";\n\nconst useStyles = makeStyles((theme) => ({\n textField: {\n marginTop: theme.spacing(3),\n },\n textFieldSmall: {\n marginLeft: theme.spacing(2),\n },\n}));\n\nconst envioInitialState = {\n EnvioId: \"\",\n Estatus: \"\",\n InfoEnvioProductos: [],\n};\n\nconst WarehouseOutputScan = (props) => {\n const classes = useStyles();\n const { getTokenSilently } = useAuth0();\n const alert = useAlert();\n const [envio, setEnvio] = useState(envioInitialState);\n const [codigoProducto, setCodigoProducto] = useState(\"\");\n\n async function fetchData() {\n const t = await getTokenSilently();\n const data = await GetOutputInfo(t, props.match.params.idEnvio);\n\n // console.log(data);\n setEnvio(data);\n }\n\n useEffect(() => {\n fetchData();\n }, []);//eslint-disable-line\n\n const handleCaptureSubmit = (e) => {\n e.preventDefault();\n const productoCapturado = envio.InfoEnvioProductos.find((obj) => {\n return obj.Producto.SKUFulfillment.slice(-12) === codigoProducto;\n });\n\n if (!productoCapturado){\n alert.error('Codigo de producto invalido')\n return \n }\n\n setEnvio({\n ...envio,\n InfoEnvioProductos: [\n ...envio.InfoEnvioProductos.filter((obj) => {\n return obj.Producto.SKUFulfillment.slice(-12) !== codigoProducto;\n }),\n {\n ...productoCapturado,\n CantidadRecibida: productoCapturado.CantidadRecibida + 1,\n },\n ],\n });\n setCodigoProducto(\"\");\n };\n\n const handleCaptureChange = (e) => {\n if (e.target.value.length <= 12) {\n setCodigoProducto(e.target.value);\n }\n };\n\n const handleTerminar = async (e) => {\n const finish = window.confirm(\"¿Seguro que desea terminar la captura?\");\n if (finish) {\n const t = await getTokenSilently();\n await ScanOutput(t, envio, props.match.params.idEnvio);\n alert.success(\"El paquete fue capturado correctamente\");\n props.history.push(\"/warehouseoutput\");\n }\n };\n\n return (\n \n \n \n \n \n \n Captura o escanea el código de los productos programados para\n envío por el cliente. Al finalizar oprime Terminar para\n confirmar la entrada de los productos.\n \n \n \n\n \n
\n \n \n \n \n \n \n \n Capturar\n \n \n \n \n
\n
\n\n \n \n \n Productos registrados en el paquete por el cliente\n \n \n \n \n \n \n \n \n \n Información del producto\n \n Cantidad registrada\n Cantidad capturada\n \n \n \n {envio.InfoEnvioProductos.map(\n (\n { Producto, CantidadEnviada, CantidadRecibida },\n index\n ) => (\n \n \n \n \n \n \n \n \n # {Producto?.SKUFulfillment?.slice(-12)}\n \n \n \n \n {Producto?.Nombre ?? \"\"}\n \n \n \n \n {Producto?.Descripcion ?? \"\"}\n \n \n \n \n \n \n \n \n SKU {Producto?.SKUCliente ?? \"\"}\n \n \n \n \n Peso {Producto?.PesoKG ?? \"\"} Kg.\n \n \n \n \n Dimensiones {Producto?.Largo ?? \"\"} x{\" \"}\n {Producto?.Ancho ?? \"\"} x {Producto?.Altura ?? \"\"} cm.\n \n \n \n \n {CantidadEnviada}\n {CantidadRecibida}\n \n )\n )}\n \n
\n
\n
\n
\n \n \n \n Terminar\n \n \n \n
\n
\n
\n
\n );\n};\n\nexport default WarehouseOutputScan;\n","import React, { useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { outboundsDownloads } from '../../components/tables/schemaDownload'\nimport {outboundShipmentsAdmin} from '../../components/tables/schemaColumn';\nimport {Button, Card, Modal} from 'antd';\nimport {format} from \"date-fns\";\nimport {DownloadOutlined} from \"@ant-design/icons\";\nimport {GetAllUsers} from \"../../api/userBalanceData\";\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = true,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'EnvioId', find: false },\n { id: 'Estatus', find: false },\n { id: 'FechaEnvio', find: false },\n ]\n})\n\nconst WarehouseOutputIndex = () => {\n const { getTokenSilently } = useAuth0()\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n const [openModal, setOpenModal] = useState({ open: false, data: undefined })\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/outboundShipments/get/v2`, \n filterByColumns, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n if (saveState){\n const filterByColumns = {\n country: 'MX',\n isAdmin: false,\n searched: '',\n range: { from: 1, to: 1000 },\n columns: []\n }\n const allUsers = await GetAllUsers(userToken, filterByColumns)\n const filteredUsers = allUsers?.data.filter(item => item.ApiClientsV2.length > 0)\n if(data?.data.length > 0){\n const newArray = []\n data?.data.forEach(item => {\n newArray.push({\n ...item,\n envioId: item?.EnvioId ?? \"\",\n email: item?.user.email ?? \"\",\n estatus: item?.Estatus ?? \"\",\n fechaEnvio: item?.FechaEnvio ?? \"\",\n user: item?.UsuarioId ?? \"\",\n ApiClientsV2: filteredUsers.find(fi => fi.user === item.UsuarioId)?.ApiClientsV2 ?? []\n })\n })\n \n if(newArray.length > 0){\n setTotal(data?.total)\n setDataColumns(newArray)\n }\n }\n } else {\n return data?.data ?? []\n }\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n const customFilterByColumns = { \n ...filterByColumns,\n }\n \n if (user) customFilterByColumns.user = user\t\n if (country) customFilterByColumns.country = country\n if (searchText !== undefined) customFilterByColumns.searched = searchText\n \n if (currentPage){\n setCurrentPage(currentPage)\n customFilterByColumns.range.from = currentPage \n }\n \n if (rowsPerPages){\n setRowPerPages(rowsPerPages)\n customFilterByColumns.range.to = rowsPerPages \n }\n \n return customFilterByColumns\n }\n\n const handleReload = () => {\n setReload(!reload)\n }\n\n useEffect(() => {\n if (!initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n setInitRender(true)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n useEffect(() => {\n if (initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [filterByColumns]) \n \n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n \n setOpenModal({data: undefined, open: false})}\n footer={<>}\n >\n\n

Productos enviados

\n {\n !openModal?.data\n ? (

No hay datos

)\n : openModal?.data && openModal.data.productsData.length > 0\n ? (\n openModal.data?.productsData?.map((item) => {\n return (\n <>\n {\n openModal.data.InfoEnvioProductos.map((producto, index) => {\n return (\n
\n

{index + 1} ) {item.SKUCliente} - {item.Nombre}\n

\n

Cantidad a Enviar - {producto?.CantidadEnviada ?? 0}

\n

Cantidad Despachada - {producto?.CantidadRecibida ?? 0}

\n
\n )\n })\n }\n \n )\n })\n )\n :

No hay productos

\n }\n\n

Fecha de envio

\n

{ openModal?.data?.FechaEnvio\n ? format(\n new Date(openModal?.data?.FechaEnvio),\n \"dd/MM/yyyy HH:MM:SS\"\n ) : \"NA\" }\n

\n\n \n\n \n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={outboundsDownloads}\n columns={outboundShipmentsAdmin(setOpenModal) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n return handleStateFilterByColumns(props)\n },\n filterByColumnsFactory: (props)=> {\n return filterByColumnsFactory(props)\n }\n }}\n />\n
\n )\n}\n\nexport default WarehouseOutputIndex\n","import { useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport Table from '../../components/tables/Table'\nimport { GetAllUsers } from '../../api/userBalanceData'\nimport { manualDispatch } from '../../components/tables/schemaColumn'\nimport { manualDispatchDownloads } from '../../components/tables/schemaDownload'\nimport {Card} from \"antd\";\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = false,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'date', find: false },\n { id: 'name', find: false },\n { id: 'email', find: false },\n ]\n})\n\nconst ManualDispatch = () => {\n const { getTokenSilently } = useAuth0()\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const data = await GetAllUsers(userToken, filterByColumns) \n const filteredData = data?.data.filter(item => item.ApiClientsV2.length > 0)\n\n setTotal(data?.total)\n\n if (saveState){\n setDataColumns(filteredData)\n } else {\n return data?.data ?? []\n }\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n const customFilterByColumns = { \n ...filterByColumns,\n }\n \n if (user) customFilterByColumns.user = user\t\n if (country) customFilterByColumns.country = country\n if (searchText !== undefined) customFilterByColumns.searched = searchText\n \n if (currentPage){\n setCurrentPage(currentPage)\n customFilterByColumns.range.from = currentPage \n }\n \n if (rowsPerPages){\n setRowPerPages(rowsPerPages)\n customFilterByColumns.range.to = rowsPerPages \n }\n \n return customFilterByColumns\n }\n\n const handleReload = () => {\n setReload(!reload)\n }\n\n useEffect(() => {\n if (!initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n setInitRender(true)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n useEffect(() => {\n if (initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [filterByColumns]) \n \n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n \n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={manualDispatchDownloads}\n columns={manualDispatch(handleReload) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n return handleStateFilterByColumns(props)\n },\n filterByColumnsFactory: (props)=> {\n return filterByColumnsFactory(props)\n }\n }}\n />\n \n )\n}\n\nexport default ManualDispatch","import React, {useState, useEffect} from \"react\";\nimport {useHistory} from \"react-router-dom\";\nimport {\n CreateOutboundShipmentV2\n} from \"../../api/OutboundShipmentsAPI\";\nimport {useAuth0} from \"../../hooks/react-auth0-spa\";\nimport {GetAllProducts} from \"../../api/ProductAPI\";\nimport {useAlert} from \"react-alert\";\nimport {Button, Card, Col, Form, Input, Row, Select, Table} from \"antd\";\nimport {ArrowLeftOutlined} from \"@ant-design/icons\";\nimport InputCountriesContainer from '../../pages/quoter/containers/InputCountriesContainer'\n// import axios from \"axios\";\n\n// const initialState = {\n// postalCode:'',\n// city: '',\n// state: '',\n// district: ''\n// }\n\nconst CreateOutboundShipments = (props) => {\n const History = useHistory();\n const [products, setProducts] = useState([])\n const [isLoading, setIsLoading] = useState(false)\n // const [destinationData, setDestinationData] = useState(initialState)\n // const [optionLocationData, setOptionLocationData] = useState([])\n\n const [form] = Form.useForm();\n const [formCP] = Form.useForm();\n\n const [quoteInfo, setQuoteInfo] = useState(null)\n const [selectedProducts, setSelectedProducts] = useState([]);\n\n const {getTokenSilently} = useAuth0()\n const [token, setToken] = useState('')\n const alert = useAlert()\n\n const getUserProducts = async () => {\n setIsLoading(true)\n const token = await getTokenSilently();\n try {\n if (token) {\n const response = await GetAllProducts(token)\n console.log('response ---->',response)\n if (response) {\n const formattedProducts = response.map(product => ({\n label: `${product.SKUCliente} - ${product.Nombre}`,\n value: `${product.SKUCliente} - ${product.Nombre} - ${product._id}`,\n }))\n setProducts(formattedProducts)\n // console.log('Response formattedProducts ------>', formattedProducts)\n }\n }\n setIsLoading(false)\n } catch (error) {\n setIsLoading(false)\n console.log('Error at getUserProducts', error)\n }\n }\n\n const onSubmitProducts = (e) => {\n if (!e.Producto || !e.Cantidad){\n return alert.info(\"Debes añadir un producto y su cantidad.\")\n }\n\n setSelectedProducts([\n ...selectedProducts,\n {\n SKU: e.Producto.split('-')[0].trim(),\n Producto: e.Producto.split('-')[1].trim(),\n ProductId: e.Producto.split('-')[2].trim(),\n Cantidad: e.Cantidad\n }\n ])\n form.resetFields()\n }\n\n const createOutboundShipment = async(e) => {\n if(selectedProducts.length === 0){\n return alert.error(\"Selecciona un producto antes de generar una orden.\")\n }\n \n delete e.Producto\n delete e.Cantidad\n \n const quote = formCP.getFieldValue('quote_info')\n if (!quote) {\n return alert.error(\"Debes seleccionar un codigo postal valido.\")\n }\n\n if (quoteInfo?.entireString !== quote){\n return alert.error(\"Debes seleccionar un codigo postal valido.\")\n }\n\n const destination = {\n name: e?.name,\n email: e?.email,\n phone: e?.phone,\n company: e?.company,\n street: e?.street,\n number: e?.number,\n int_number: e?.int_number,\n district: quoteInfo?.entireString?.split('~')[1].trim(),\n city: quoteInfo?.entireObject?.locality,\n postal_code: quoteInfo?.postalCode,\n country: quoteInfo?.entireObject?.country.code,\n state: quoteInfo?.entireObject.state.name,\n reference: e?.reference\n }\n\n const token = await getTokenSilently();\n const request = {\n destination,\n products: selectedProducts,\n }\n\n const res = await CreateOutboundShipmentV2(token, request)\n if(res.status !== 200 || !res.status){\n return alert.error(\"Error al generar la orden\")\n }\n alert.success(\"Tu envio al almacén fue registrado con éxito\");\n await getUserProducts()\n History.push(\"/outboundshipments\");\n }\n\n // const getLocationData = async(pc) => {\n // try {\n // const response = await axios.get(`https://geocodes.envia.com/zipcode/mx/${pc}`)\n // if(response.data.length === 0){\n // return\n // }\n // const { zip_code, state, locality, suburbs, regions } = response.data[0]\n // const options = []\n //\n // if(suburbs.length === 0){\n // options.push({\n // label: `${zip_code} ~ ${regions.region_2} (${regions.region_1})`,\n // value: {\n // zip_code: zip_code,\n // district: regions.region_2,\n // city:\n // },\n // })\n // } else {\n // suburbs.forEach((suburb) => {\n // options.push({\n // label: `${zip_code} ~ ${suburb} ~ ${regions.region_2} (${regions.region_1})`,\n // value: `${zip_code} ~ ${suburb} ~ ${regions.region_2} (${regions.region_1})`,\n // })\n // })\n // }\n //\n // console.log('---------------------- OPCIONES ------------------>',options)\n // setOptionLocationData(options)\n //\n // console.log('response ==========>',response.data[0])\n // } catch (error) {\n // console.error(error)\n // return error.response.data\n // }\n // }\n\n // useEffect(() => {\n //\n // if(destinationData.postalCode.length === 5){\n // getLocationData(destinationData.postalCode)\n // }\n //\n // }, [destinationData.postalCode]);\n\n useEffect(() => {\n getUserProducts()\n form.setFieldsValue({\n country: 'MX'\n })\n //eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n const establishToken = async () => { \n const token = await getTokenSilently()\n setToken(token)\n }\n\n establishToken()\n //eslint-disable-next-line\n }, [])\n\n return (\n <>\n \n \n\n \n \n

Productos a enviar

\n\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n\n \n \n
\n

Dirección del destino

\n

Contacto

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

Dirección

\n \n {/**/}\n {/* */}\n {/* /!**/}\n {/* */}\n {/**/}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n if (e?.entireObject){\n setQuoteInfo(e)\n } else {\n setQuoteInfo(null)\n }\n }}\n />\n \n \n \n \n \n \n\n \n \n
\n
\n \n\n
\n \n );\n};\n\nexport default CreateOutboundShipments;\n","import React, { useEffect, useState } from \"react\";\nimport { GetOutboundShipmentDetail } from \"../../api/OutboundShipmentsAPI\";\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport {\n Grid,\n Box,\n Table,\n TableHead,\n TableBody,\n TableRow,\n TableCell,\n} from \"@material-ui/core\";\nimport { useHistory } from \"react-router-dom\";\nimport { useAlert } from \"react-alert\";\nimport {Button, Card} from \"antd\";\nimport { ArrowLeftOutlined } from \"@ant-design/icons\";\n\nconst OutboundShipmentDetail = (props) => {\n const { getTokenSilently } = useAuth0();\n const setShipment = useState(undefined);\n const [products, setProducts] = useState(undefined);\n const History = useHistory();\n const alert = useAlert()\n\n async function fetchData() {\n const t = await getTokenSilently();\n const shippmentsResponse = await GetOutboundShipmentDetail(\n t,\n props.match.params.id\n );\n const infoProducts = shippmentsResponse.InfoEnvioProductos\n if(infoProducts.find(item => item.Producto === null)){\n History.push('/outboundshipments')\n if(infoProducts.length > 1){\n return alert.info('Algún producto de esta orden no existe.')\n }\n return alert.info('El producto de esta orden no existe.')\n }\n setShipment[1](shippmentsResponse);\n setProducts(infoProducts);\n }\n\n useEffect(() => {\n fetchData();\n }, []);//eslint-disable-line\n\n return (\n \n \n \n \n {products && (\n \n \n \n \n \n Producto\n Nombre\n Cantidad\n \n \n \n {products.map((item, index) => (\n \n {item.Producto.SKUFulfillment.slice(-12)}\n {item.Producto.Nombre}\n {item.CantidadEnviada}\n \n ))}\n \n
\n
\n
\n )}\n
\n );\n};\n\nexport default OutboundShipmentDetail;\n","import { useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { warehouseProductsColumn } from '../../components/tables/schemaColumn'\nimport { productsDownloads } from '../../components/tables/schemaDownload'\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = true,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'SKUCliente', find: false },\n { id: 'Nombre', find: false },\n { id: 'Descripcion', find: false },\n { id: 'ValorMercancia', find: false },\n { id: 'PesoKG', find: false },\n { id: 'Largo', find: false },\n { id: 'Ancho', find: false },\n { id: 'Altura', find: false },\n { id: 'ValorMercancia', find: false },\n {\n id: 'Visible',\n find: true,\n filters: {\n sort: false,\n filter: true,\n filter_values: [true] \n }\n },\n \n ]\n})\n\nconst ActiveProductsAdmin = () => {\n const { getTokenSilently } = useAuth0()\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/allproducts`, \n filterByColumns, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n setTotal(data?.total)\n\n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n\t\tconst customFilterByColumns = { \n\t\t \t...filterByColumns,\n\t\t}\n\t\n\t\tif (user) customFilterByColumns.user = user\t\n\t\tif (country) customFilterByColumns.country = country\n\t\tif (searchText !== undefined) customFilterByColumns.searched = searchText\n\t\t\n\t\tif (currentPage){\n\t\t\tsetCurrentPage(currentPage)\n\t\t\tcustomFilterByColumns.range.from = currentPage \n\t\t}\n\t\n\t\tif (rowsPerPages){\n\t\t\tsetRowPerPages(rowsPerPages)\n\t\t\tcustomFilterByColumns.range.to = rowsPerPages \n\t\t}\n\t\n\t\treturn customFilterByColumns\n\t}\n\n const handleReload = () => {\n setReload(!reload)\n }\n\n\tuseEffect(() => {\n\t\tif (!initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n\t\t\t\tsetIsRefetching(false)\n\t\t\t\tsetInitRender(true)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [])\n\n\tuseEffect(() => {\n\t\tif (initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n\t\t\t\tsetIsRefetching(false)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t }, [filterByColumns]) \n\t\n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n <>\n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={productsDownloads}\n columns={warehouseProductsColumn(\"active\", handleFecth, filterByColumns) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n\t\t\t\t\t\treturn handleStateFilterByColumns(props)\n\t\t\t\t\t},\n\t\t\t\t\tfilterByColumnsFactory: (props)=> {\n\t\t\t\t\t\treturn filterByColumnsFactory(props)\n\t\t\t\t\t}\n }}\n />\n \n )\n}\n\nexport default ActiveProductsAdmin","import { useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { warehouseProductsColumn } from '../../components/tables/schemaColumn'\nimport { productsDownloads } from '../../components/tables/schemaDownload'\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = true,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'SKUCliente', find: false },\n { id: 'Nombre', find: false },\n { id: 'Descripcion', find: false },\n { id: 'ValorMercancia', find: false },\n { id: 'PesoKG', find: false },\n { id: 'Largo', find: false },\n { id: 'Ancho', find: false },\n { id: 'Altura', find: false },\n { id: 'ValorMercancia', find: false },\n {\n id: 'Visible',\n find: true,\n filters: {\n sort: false,\n filter: true,\n filter_values: [false] \n }\n },\n \n ]\n})\n\nconst InactiveProductsAdmin = () => {\n const { getTokenSilently } = useAuth0()\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/allproducts`, \n filterByColumns, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n setTotal(data?.total)\n\n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n\t\tconst customFilterByColumns = { \n\t\t \t...filterByColumns,\n\t\t}\n\t\n\t\tif (user) customFilterByColumns.user = user\t\n\t\tif (country) customFilterByColumns.country = country\n\t\tif (searchText !== undefined) customFilterByColumns.searched = searchText\n\t\t\n\t\tif (currentPage){\n\t\t\tsetCurrentPage(currentPage)\n\t\t\tcustomFilterByColumns.range.from = currentPage \n\t\t}\n\t\n\t\tif (rowsPerPages){\n\t\t\tsetRowPerPages(rowsPerPages)\n\t\t\tcustomFilterByColumns.range.to = rowsPerPages \n\t\t}\n\t\n\t\treturn customFilterByColumns\n\t}\n\n const handleReload = () => {\n setReload(!reload)\n }\n\n\tuseEffect(() => {\n\t\tif (!initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n\t\t\t\tsetIsRefetching(false)\n\t\t\t\tsetInitRender(true)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [])\n\n\tuseEffect(() => {\n\t\tif (initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n\t\t\t\tsetIsRefetching(false)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t }, [filterByColumns]) \n\t\n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n <>\n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={productsDownloads}\n columns={warehouseProductsColumn(\"inactive\", handleFecth, filterByColumns) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n\t\t\t\t\t\treturn handleStateFilterByColumns(props)\n\t\t\t\t\t},\n\t\t\t\t\tfilterByColumnsFactory: (props)=> {\n\t\t\t\t\t\treturn filterByColumnsFactory(props)\n\t\t\t\t\t}\n }}\n />\n \n )\n}\n\nexport default InactiveProductsAdmin","import React from 'react';\nimport CustonTabs from '../../components/tables/CustonTabs';\nimport ActiveProductsAdmin from './ActiveProductsAdmin';\nimport InactiveProductsAdmin from './InactiveProductsAdmin';\n\nconst ProductsAdmin = () => {\n return (\n \n },\n {\n title: 'Inactivos',\n component: \n },\n ]\n }\n />\n )\n}\n\nexport default ProductsAdmin","import { useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { updateProducts } from '../../components/tables/schemaColumn'\nimport { productsDownloads } from '../../components/tables/schemaDownload'\nimport { Card } from \"antd\";\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = true,\n status = \"pendiente edicion\",\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n status,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'SKUCliente', find: false },\n { id: 'Nombre', find: false },\n { id: 'Descripcion', find: false },\n { id: 'ValorMercancia', find: false },\n { id: 'PesoKG', find: false },\n { id: 'Largo', find: false },\n { id: 'Ancho', find: false },\n { id: 'Altura', find: false },\n {\n id: 'Visible',\n find: true,\n filters: {\n sort: false,\n filter: true,\n filter_values: [true] \n }\n },\n ]\n})\n\nconst UpdateProducts = () => {\n const { getTokenSilently } = useAuth0()\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null)\n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/allproducts`, \n filterByColumns, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n setTotal(data?.total)\n \n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n\t\tconst customFilterByColumns = { \n\t\t \t...filterByColumns,\n\t\t}\n\t\n\t\tif (user) customFilterByColumns.user = user\t\n\t\tif (country) customFilterByColumns.country = country\n\t\tif (searchText !== undefined) customFilterByColumns.searched = searchText\n\t\t\n\t\tif (currentPage){\n\t\t\tsetCurrentPage(currentPage)\n\t\t\tcustomFilterByColumns.range.from = currentPage \n\t\t}\n\t\n\t\tif (rowsPerPages){\n\t\t\tsetRowPerPages(rowsPerPages)\n\t\t\tcustomFilterByColumns.range.to = rowsPerPages \n\t\t}\n\t\n\t\treturn customFilterByColumns\n\t}\n\n const handleReload = ()=> {\n setReload(!reload)\n }\n\n useEffect(() => {\n if (!initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n setInitRender(true)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n useEffect(() => {\n if (initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [filterByColumns]) \n \n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n \n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={productsDownloads}\n columns={updateProducts(handleReload) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n return handleStateFilterByColumns(props)\n },\n filterByColumnsFactory: (props)=> {\n return filterByColumnsFactory(props)\n }\n }}\n />\n \n )\n}\n\nexport default UpdateProducts","import { useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { movementsDownloads } from '../../components/tables/schemaDownload'\nimport { movementsColumns } from '../../components/tables/schemaColumn';\nimport { Card } from \"antd\";\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = true,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'user', find: false },\n { id: 'type', find: false },\n { id: 'description', find: false },\n { id: 'customer', find: false },\n { id: 'created_at', find: false },\n { id: 'metadata', find: false }\n ]\n})\n\nconst Movements = () => {\n const { getTokenSilently } = useAuth0();\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/movements/getAll`, \n filterByColumns, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n setTotal(data?.total)\n\n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n \n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n const customFilterByColumns = { \n ...filterByColumns,\n }\n \n if (user) customFilterByColumns.user = user\t\n if (country) customFilterByColumns.country = country\n if (searchText !== undefined) customFilterByColumns.searched = searchText\n \n if (currentPage){\n setCurrentPage(currentPage)\n customFilterByColumns.range.from = currentPage \n }\n \n if (rowsPerPages){\n setRowPerPages(rowsPerPages)\n customFilterByColumns.range.to = rowsPerPages \n }\n \n return customFilterByColumns\n }\n \n const handleReload = () => {\n setReload(!reload)\n }\n \n useEffect(() => {\n if (!initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n setInitRender(true)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n \n useEffect(() => {\n if (initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [filterByColumns]) \n \n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n \n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={movementsDownloads}\n columns={movementsColumns() ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n return handleStateFilterByColumns(props)\n },\n filterByColumnsFactory: (props)=> {\n return filterByColumnsFactory(props)\n }\n }}\n />\n \n )\n}\n\nexport default Movements","import React, { useEffect, useState } from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { outboundsDownloads } from '../../components/tables/schemaDownload'\nimport { outboundShipments } from '../../components/tables/schemaColumn';\nimport { useHistory } from \"react-router-dom\";\nimport { Button, Modal} from 'antd';\nimport { format } from \"date-fns\";\nimport { DownloadOutlined } from \"@ant-design/icons\";\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = false,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'EnvioId', find: false },\n { id: 'Estatus', find: false },\n { id: 'FechaEnvio', find: false },\n ]\n})\n\nconst OutboundShipments = () => {\n const History = useHistory()\n const { getTokenSilently } = useAuth0()\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n const [openModal, setOpenModal] = useState({ open: false, data: undefined })\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/outboundShipments/get/v2`, \n filterByColumns, \n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n\n setTotal(data?.total)\n\n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n\n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n\t\tconst customFilterByColumns = { \n\t\t \t...filterByColumns,\n\t\t}\n\t\n\t\tif (user) customFilterByColumns.user = user\t\n\t\tif (country) customFilterByColumns.country = country\n\t\tif (searchText !== undefined) customFilterByColumns.searched = searchText\n\t\t\n\t\tif (currentPage){\n\t\t\tsetCurrentPage(currentPage)\n\t\t\tcustomFilterByColumns.range.from = currentPage \n\t\t}\n\t\n\t\tif (rowsPerPages){\n\t\t\tsetRowPerPages(rowsPerPages)\n\t\t\tcustomFilterByColumns.range.to = rowsPerPages \n\t\t}\n\t\n\t\treturn customFilterByColumns\n\t}\n\n const handleReload = () => {\n setReload(!reload)\n }\n\n\tuseEffect(() => {\n\t\tif (!initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n\t\t\t\tsetIsRefetching(false)\n\t\t\t\tsetInitRender(true)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [])\n\n\tuseEffect(() => {\n\t\tif (initRender){\n\t\t\t(async () => {\n\t\t\t\tsetIsRefetching(true)\n\t\t\t\tawait handleFecth(filterByColumns)\n\t\t\t\tsetIsRefetching(false)\n\t\t\t})()\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t }, [filterByColumns]) \n\t\n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n <>\n setOpenModal({data: undefined, open: false})}\n footer={<>}\n >\n

Productos enviados

\n {\n !openModal?.data\n ? (

No hay datos

)\n : openModal?.data && openModal.data.productsData.length > 0\n ? (\n openModal.data?.productsData?.map((item) => (\n <>\n {\n openModal.data.InfoEnvioProductos.map((producto, index) => {\n return (\n
\n

{index + 1} ) {item.SKUCliente} - {item.Nombre}\n

\n

Cantidad a Enviar - {producto?.CantidadEnviada ?? 0}

\n

Cantidad Despachada - {producto?.CantidadRecibida ?? 0}

\n
\n )\n })\n }\n \n ))\n )\n :

No hay productos

\n }\n\n

Fecha de envio

\n

{ openModal?.data?.FechaEnvio\n ? format(\n new Date(openModal?.data?.FechaEnvio),\n \"dd/MM/yyyy HH:MM:SS\"\n ) : \"NA\" }\n

\n\n {\n openModal?.data?.TrackingNumber && (\n <>\n

Fecha de envio

\n

{ openModal?.data?.TrackingNumber ?? \"N/A\" }

\n \n )\n }\n\n \n \n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={outboundsDownloads}\n columns={outboundShipments(setOpenModal) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n optionalContent={{\n options: (\n History.push(\"/outboundshipments/create\")}\n >\n Registrar Orden de Envío\n \n )\n }}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n\t\t\t\t\t\treturn handleStateFilterByColumns(props)\n\t\t\t\t\t},\n\t\t\t\t\tfilterByColumnsFactory: (props)=> {\n\t\t\t\t\t\treturn filterByColumnsFactory(props)\n\t\t\t\t\t}\n }}\n />\n \n )\n}\n\nexport default OutboundShipments","import React from 'react'\nimport CustonTabs from '../../components/tables/CustonTabs'\nimport OutboundShipments from './OutboundShipments'\n\nconst OutboundShipmentsTabs = () => {\n return (\n \n }\n ]\n }\n />\n )\n}\n\nexport default OutboundShipmentsTabs","import { Button, Input, Select } from 'antd';\nimport React, { useState } from 'react'\n\nconst BarcodeScanner = () => {\n const [barcode, setBarcode] = useState('');\n const [codes, setCodes] = useState([]);\n const [eventKey, setEventKey] = useState(undefined)\n\n const handleInputChange = (event) => {\n setBarcode(event.target.value);\n };\n\n const handleKeyDown = (event) => {\n if(!eventKey) return\n if (event.key === eventKey) {\n if(codes.length > 3) {\n setBarcode('')\n setCodes([])\n }\n setCodes(prevCodes => [...prevCodes, barcode]);\n setBarcode('');\n }\n };\n\n const reloadTest = () => {\n setBarcode('')\n setCodes([])\n setEventKey(undefined)\n }\n\n return (\n
\n
\n

Prueba #1

\n
\n {codes.length > 0 && codes.map((item, index) => (\n

{item}

\n ))}\n
\n

Escanear codigo de barras

\n
\n setEventKey(e)}\n style={{ width:'10rem' }}\n />\n \n \n
\n
\n
\n );\n};\n\nexport default BarcodeScanner;\n","import React from 'react'\nimport CustonTabs from '../../components/tables/CustonTabs'\nimport BarcodeScanner from './BarcodeScanner'\n\nconst TestSectionTabs = () => {\n return (\n \n }\n ]}\n />\n )\n}\n\nexport default TestSectionTabs","import { CheckOutlined, ProfileOutlined, UploadOutlined } from '@ant-design/icons'\nimport { Button, Card, Col, Popconfirm, Row, Table, Upload } from 'antd'\nimport Title from 'antd/lib/typography/Title'\nimport React, {useContext, useState} from 'react'\nimport * as XLSX from 'xlsx'\nimport { useAuth0 } from '../../hooks/react-auth0-spa'\nimport { CreateMassiveProducts } from '../../api/ProductAPI'\nimport { useAlert } from 'react-alert'\nimport { useHistory } from 'react-router-dom'\nimport {DataContext} from \"../../context/dataContext\";\n\nconst InitialLoadingState = { buttonDownload: false, table: false, buttonSubmit: false, buttonSave: false }\n\nconst CreateWithXLSX = () => {\n\n const [ isLoading, setIsLoading ] = useState(InitialLoadingState)\n const [ uploadData, setUploadData ] = useState([])\n const { inventoryId } = useContext(DataContext)\n const alert = useAlert()\n\n const { user, getTokenSilently } = useAuth0()\n const History = useHistory();\n\n const renameFields = (field) => {\n switch (field) {\n case 'URL Foto Producto':\n return 'Fotografia'\n case 'SKU':\n return 'SKUCliente'\n case 'Descripcion corta':\n return 'Descripcion'\n case 'Costo':\n return 'ValorMercancia'\n case 'Venta Amazon':\n return 'VentaAmazon'\n case 'Venta MercadoLibre':\n return 'VentaMeli'\n case 'Venta Ecommerce':\n return 'VentaEcommerce'\n case 'Largo':\n case 'Ancho':\n case 'Altura':\n case 'PesoKG':\n case 'Nombre':\n default:\n return field;\n }\n }\n\n const columns = [\n {\n title: 'Fotografia',\n dataIndex: '',\n align: 'center',\n render: (product)=> (\n \n )\n },\n {\n title: \"SKU\",\n dataIndex: 'SKUCliente',\n align: 'center',\n },\n {\n title: \"Nombre\",\n dataIndex: \"Nombre\",\n align: 'center',\n },\n {\n title: \"Descripcion\",\n dataIndex: \"Descripcion\",\n align: 'center',\n },\n {\n title: \"Peso \",\n dataIndex: \"PesoKG\",\n align: 'center',\n showSorterTooltip: false,\n sorter: (a, b) => a.PesoKG - b.PesoKG,\n render: (PesoKG) => `${PesoKG} Kg.`\n },\n {\n title: \"Costo\",\n dataIndex: \"\",\n align: \"center\",\n render: (obj) => `${obj?.ValorMercancia ? `$${obj.ValorMercancia}` : '$0'}`\n },\n {\n title: \"Venta Amazon\",\n dataIndex: \"\",\n align: \"center\",\n render: (obj) => `${obj.VentaAmazon ? `$${obj.VentaAmazon}` : '$0'}`\n },\n {\n title: \"Venta MercadoLibre\",\n dataIndex: \"\",\n align: \"center\",\n render: (obj) => `${obj.VentaMeli ? `$${obj.VentaMeli}` : '$0'}`\n },\n {\n title: \"Venta Ecommerce\",\n dataIndex: \"\",\n align: \"center\",\n render: (obj) => `${obj.VentaEcommerce ? `$${obj.VentaEcommerce}` : '$0'}`\n },\n {\n title: \"Dimensiones \",\n dataIndex: \"\",\n align: 'center',\n render: (obj) => `${obj.Largo} x ${obj.Ancho} x ${obj.Altura}`\n },\n ]\n\n const formatData = (data) => {\n let newArray = []\n data.forEach((item, index) => {\n let newData = {}\n let counter = 0\n if(!user.sub){\n return alert.error(\"Error, recarga e intentalo de nuevo.\")\n }\n if(inventoryId !== 'default'){\n newData.InventoryId = inventoryId\n }\n if(index > 0){\n while(counter <= 11){\n newData.UsuarioId = user.sub\n newData[renameFields(data[0][counter])] = item[counter]\n if(!item[counter]){\n newData[renameFields(data[0][counter])] = 0\n }\n counter++\n }\n newArray.push(newData)\n }\n })\n return newArray\n }\n\n const downloadTemplate = () => {\n setIsLoading({ ...isLoading, buttonDownload: true })\n const wb = XLSX.utils.book_new()\n let ws_data;\n if(inventoryId === 'default'){\n ws_data = [\n [\"URL Foto Producto\",\"SKU\", \"Nombre\", \"Descripcion corta\", \"Largo\", \"Ancho\", \"Altura\", \"PesoKG\", \"Costo\", \"Venta Amazon\", \"Venta MercadoLibre\", \"Venta Ecommerce\"],\n [\"https://123cuidatuhogar.com/wp-content/uploads/2021/11/telefono.png\",\"123SKUTest\", \"Producto Prueba\", \"De color rojo y agradable para todos\", 20, 10, 10, 1,140,400,390,300]\n ]\n }\n if(inventoryId !== 'default'){\n ws_data = [\n [\"URL Foto Producto\",\"SKU\", \"Nombre\", \"Descripcion corta\", \"Largo\", \"Ancho\", \"Altura\", \"PesoKG\", \"Costo\"],\n [\"https://123cuidatuhogar.com/wp-content/uploads/2021/11/telefono.png\",\"123SKUTest\", \"Producto Prueba\", \"De color rojo y agradable para todos\", 20, 10, 10, 1,140]\n ]\n }\n\n const worksheet = XLSX.utils.aoa_to_sheet(ws_data)\n\n XLSX.utils.book_append_sheet(wb, worksheet, \"Plantilla\")\n XLSX.writeFile(wb, \"Plantilla.xlsx\")\n setIsLoading({ ...isLoading, buttonDownload: false })\n }\n\n const handleUpload = (info) => {\n setIsLoading({ ...isLoading, buttonSubmit: true, table: true })\n if(info.file.status === 'removed'){\n setUploadData([])\n setIsLoading(InitialLoadingState)\n return\n }\n const file = info?.fileList[0]?.originFileObj;\n const reader = new FileReader();\n \n reader.onload = (e) => {\n const data = new Uint8Array(e.target.result);\n const workbook = XLSX.read(data, { type: \"array\" });\n const firstSheetName = workbook.SheetNames[0];\n const worksheet = workbook.Sheets[firstSheetName];\n const json = XLSX.utils.sheet_to_json(worksheet, { header: 1 });\n const response = formatData(json)\n // console.log(response)\n setUploadData(response)\n };\n\n reader.readAsArrayBuffer(file);\n setIsLoading(InitialLoadingState)\n };\n\n const addProducts = async() => {\n setIsLoading({ ...isLoading, table: true, buttonSave: true })\n const userToken = await getTokenSilently()\n const type = inventoryId !== 'default' ? 'customWarehouse' : 'default'\n try {\n if(uploadData.length > 0){\n const response = await CreateMassiveProducts(userToken, uploadData, type);\n // console.log(response)\n if(response.status === 200){\n setIsLoading(InitialLoadingState)\n setUploadData([])\n History.push('/products')\n return alert.success(\"Productos añadidos correctamente!\")\n }\n }\n setIsLoading(InitialLoadingState)\n } catch (error) {\n setIsLoading(InitialLoadingState)\n return alert.error('Error al agregar productos, verifica el excel e intenta nuevamente.')\n }\n }\n\n return (\n <>\n\n \n \n \n

INSTRUCCIONES

\n

1. Descarga la plantilla de Excel (XLSX) en la cual ingresarás la información de tus productos.

\n

2. Una vez completada la información, sube el archivo y verifica que los productos estén correctos.

\n

3. Tras revisar la información, confirma para agregar los productos de manera masiva.

\n
\n \n \n \n

PRECAUCIÓN

\n

1. Las primeras 9 columnas son obligatorias. Las columnas de Venta en Amazon, Ecommerce o MercadoLibre pueden dejarse vacías o, preferiblemente, ingresar un cero.

\n

2. No incluyas signos ni caracteres extraños. Solo se permite ingresar NÚMEROS y TEXTO. Puedes usar el producto de ejemplo que viene en la plantilla como referencia.

\n

3. No modifiques el nombre de las columnas ni cambies su posición.

\n
\n \n
\n \n
\n \n false}\n onChange={handleUpload}\n listType='text'\n >\n \n \n \n \n \n
\n ( Visualización de productos a cargar )}\n />\n
\n \n )\n}\n\nexport default CreateWithXLSX","import { Col, Row } from \"antd\"\nimport CardContainer from \"../quoter/containers/CardContainer\"\nimport { BarChartOutlined } from \"@ant-design/icons\"\n\nconst TopCards = ({ data, isLoading }) => {\n\tconst showSubtitle = (isLoading, text) =>\n\t\tisLoading ? 'Cargando..' : `${text}`\n\n\treturn (\n\t\t\n\t\t\t{\n\t\t\t\tdata.map(item => (\n\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcontrastColor=\"#6d71f6\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t))\n\t\t\t}\n\t\t\n\t)\n}\n\nexport default TopCards","import { useState, useEffect } from 'react'\nimport Chart from \"react-apexcharts\"\nimport CardContainer from \"../../pages/quoter/containers/CardContainer\"\nimport Loader from '../../components/generals/Loader'\n\nconst Graph = ({ title, isLoading, filteredData, chartType, filterType }) => {\n const [categories, setCategories] = useState([])\n const [data, setData] = useState([])\n const [height, setHeight] = useState(287)\n \n const handleData = async () => {\n switch (filterType) {\n case 'day-count':\n const days = filteredData?.map((item) => item?.day.toString())\n const countsDays = filteredData?.map((item) => item?.count)\n\n setCategories(days)\n setData(countsDays)\n break\n case 'month-count':\n filteredData?.sort((a, b) => {\n const orderedMonths = [\"enero\", \"febrero\", \"marzo\", \"abril\", \"mayo\", \"junio\", \"julio\", \"agosto\", \"septiembre\", \"octubre\", \"noviembre\", \"diciembre\"]\n return orderedMonths.indexOf(a?.month) - orderedMonths.indexOf(b?.month)\n })\n\n const months = []\n const counts = []\n\n if (filteredData){\n for (const obj of filteredData) {\n months.push(obj.month)\n counts.push(obj.count)\n }\n \n setCategories(months)\n setData(counts)\n }\n break\n default:\n return\n }\n }\n\n useEffect(() => {\n handleData()\n }, [filteredData])//eslint-disable-line\n\n useEffect(() => {\n const trackingScreen = ()=> {\n if (window.innerWidth <= 1115) {\n setHeight(230.28)\n } else {\n setHeight(287)\n }\n }\n\n trackingScreen()\n window.addEventListener('resize', trackingScreen)\n\n return () => {\n window.removeEventListener('resize', trackingScreen)\n }\n }, [])\n\n // area | bar \n const options = {\n chart: {\n id: `${filterType}-bar`\n },\n xaxis: {\n categories\n },\n yaxis: {\n labels: {\n formatter: function (value) {\n return value.toFixed(0)\n }\n }\n }\n }\n\n const series = [\n { \n name: 'Cantidad',\n data\n }\n\n ]\n\n // donut \n const donutOptions = {\n labels: categories\n }\n\n const donutSeries = data\n\n return (\n \n {isLoading ? (\n
\n \n
\n ) : (\n <>\n {\n categories.length === 0 || data.length === 0 ? (\n
\n No hay datos para mostrar\n
\n ) : (\n \n )\n }\n \n )}\n
\n )\n}\n\nexport default Graph","import { Col, Row } from 'antd'\nimport Graph from './Graph'\n\nconst GraphList = ({ data, isLoading })=> {\n\n return (\n \n {\n data.map(item => (\n \n \n \n ))\n }\n \n )\n}\n\nexport default GraphList\n","import { useEffect, useState } from 'react'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport TopCards from './TopCards'\nimport GraphList from './GraphList'\n\nconst ProductStatistics = ()=> {\n const [loading, setLoading] = useState(false)\n const [fetchingData, setFetchingData] = useState(null)\n const { getTokenSilently } = useAuth0()\n\n const handleFecthStatistics = async (statisticsType) => {\n setLoading(true)\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/statistics`, \n statisticsType, \n { headers: { Authorization: `Bearer ${userToken}` } }\n ) \n \n setFetchingData(data)\n setLoading(false)\n }\n\n useEffect(()=> {\n (async()=> {\n await handleFecthStatistics({\n products: true,\n warehouseShipments: false,\n outboundShipments: false\n })\n })()\n }, [])//eslint-disable-line\n\n return (\n <>\n \n \n \n )\n}\n\nexport default ProductStatistics\n","import { useEffect, useState } from 'react'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport TopCards from './TopCards'\nimport GraphList from './GraphList'\n\nconst WarehouseShipmentStatistics = ()=> {\n const [loading, setLoading] = useState(false)\n const [fetchingData, setFetchingData] = useState(null)\n const { getTokenSilently } = useAuth0()\n\n const handleFecthStatistics = async (statisticsType) => {\n setLoading(true)\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/statistics`, \n statisticsType, \n { headers: { Authorization: `Bearer ${userToken}` } }\n ) \n \n setFetchingData(data)\n setLoading(false)\n }\n\n useEffect(()=> {\n (async()=> {\n await handleFecthStatistics({\n products: false,\n warehouseShipments: true,\n outboundShipments: false\n })\n })()\n }, [])//eslint-disable-line\n\n return (\n <>\n \n \n \n )\n}\n\nexport default WarehouseShipmentStatistics\n","import { useEffect, useState } from 'react'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\"\nimport TopCards from './TopCards'\nimport GraphList from './GraphList'\n\nconst OutboundShipmentStatistics = ()=> {\n const [loading, setLoading] = useState(false)\n const [fetchingData, setFetchingData] = useState(null)\n const { getTokenSilently } = useAuth0()\n\n const handleFecthStatistics = async (statisticsType) => {\n setLoading(true)\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `/statistics`, \n statisticsType, \n { headers: { Authorization: `Bearer ${userToken}` } }\n ) \n \n setFetchingData(data)\n setLoading(false)\n }\n\n useEffect(()=> {\n (async()=> {\n await handleFecthStatistics({\n products: false,\n warehouseShipments: false,\n outboundShipments: true\n })\n })()\n }, [])//eslint-disable-line\n\n return (\n <>\n \n \n \n )\n}\n\nexport default OutboundShipmentStatistics\n","import CustonTabs from '../../components/tables/CustonTabs';\nimport ProductStatistics from \"./ProductStatistics\"\nimport WarehouseShipmentStatistics from \"./WarehouseShipmentStatistics\"\nimport OutboundShipmentStatistics from \"./OutboundShipmentStatistics\"\n\nconst Statistics = ()=> {\n return (\n \n },\n {\n title: 'Envios almacen',\n component: \n },\n {\n title: 'Ordenes de envio',\n component: \n },\n ]\n }\n />\n )\n}\n\nexport default Statistics","export default __webpack_public_path__ + \"static/media/WixStores.png.5f921f77.webp\";","export default __webpack_public_path__ + \"static/media/MercadoLibre.fb2423b4.png\";","export default __webpack_public_path__ + \"static/media/TiendaNube.png.bf78b760.webp\";","export default __webpack_public_path__ + \"static/media/ebayLogo.2240fd10.png\";","export default __webpack_public_path__ + \"static/media/amazonLogo.56e0b72d.webp\";","export default __webpack_public_path__ + \"static/media/WooCommerce.ae34ddc3.png\";","export default __webpack_public_path__ + \"static/media/Shopify.4e096e15.png\";","import WixLogo from '../images/StoreLogos/WixStores.png.webp'\nimport MercadoLibre from '../images/StoreLogos/MercadoLibre.png'\nimport TiendaNube from '../images/StoreLogos/TiendaNube.png.webp'\nimport Ebay from '../images/StoreLogos/ebayLogo.png'\nimport Amazon from '../images/StoreLogos/amazonLogo.webp'\nimport WooCommerce from '../images/StoreLogos/WooCommerce.png'\nimport Shopify from '../images/StoreLogos/Shopify.png'\n\nexport const StoreLogo = (type) => {\n switch (type) {\n case 'WIX':\n return WixLogo\n case 'WOOCOMMERCE':\n return WooCommerce\n case 'MERCADOLIBRE':\n return MercadoLibre\n case 'TIENDANUBE':\n return TiendaNube\n case 'EBAY':\n return Ebay\n case 'AMAZON':\n return Amazon\n case 'SHOPIFY':\n return Shopify\n default:\n return WixLogo\n }\n}","import {useContext, useEffect, useState} from 'react'\nimport { useAuth0 } from \"../../hooks/react-auth0-spa\";\nimport Table from '../../components/tables/Table'\nimport { axiosBase as axios } from '../../api/AxiosConfig'\nimport {usersByIntegration} from '../../components/tables/schemaColumn';\nimport {Button, Card} from \"antd\";\nimport {usersByIntegrationDownloads} from \"../../components/tables/schemaDownload\";\nimport {ArrowLeftOutlined} from \"@ant-design/icons\";\nimport {QuoteDataContext} from \"../../context/QuoteDataContext\";\n\nconst filterByColumnsFactory = ({\n\tcountry,\n isAdmin = true,\n type,\n\tcurrentPage = 1,\n\trowsPerPages = 20, \n\tsearchText = ''\n}) => ({\n\tcountry,\n isAdmin,\n type,\n\tsearched: searchText,\n\trange: { from: currentPage, to: rowsPerPages },\n\tcolumns: [\n { id: 'name', find: false },\n { id: 'created_at', find: false },\n { id: 'url', find: false }\n ]\n})\n\nconst IntegrationCustomers = ({ integration, setShowIntegration, setOpenModal }) => {\n const { getTokenSilently } = useAuth0();\n const [country] = useState('MX')\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [total, setTotal] = useState(0)\n const [refetching, setIsRefetching] = useState(false)\n const [searchText, setSearchText] = useState('')\n const [dataColumns, setDataColumns] = useState(null) \n const [filterByColumns, setFilterByColumns] = useState(filterByColumnsFactory({ country, type: integration, currentPage, rowsPerPages, searchText }))\n const [reload, setReload] = useState(false)\n const [initRender, setInitRender] = useState(false)\n const { setCustomerIntegrationData } = useContext(QuoteDataContext)\n\n const handleFecth = async (filterByColumns, saveState = true) => {\n const userToken = await getTokenSilently()\n const { data } = await axios.post(\n `${process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL}/users/fulfillment/getUsersByIntegration`,\n filterByColumns,\n { headers: { Authorization: `Bearer ${userToken}` }}\n )\n \n setTotal(data?.total)\n \n if (saveState){\n setDataColumns(data?.data)\n } else {\n return data?.data ?? []\n }\n }\n \n const handleStateFilterByColumns = ({ user, searchText, country, currentPage = 1, rowsPerPages }) => {\t\n const customFilterByColumns = { \n ...filterByColumns,\n }\n \n if (user) customFilterByColumns.user = user\t\n if (country) customFilterByColumns.country = country\n if (searchText !== undefined) customFilterByColumns.searched = searchText\n \n if (currentPage){\n setCurrentPage(currentPage)\n customFilterByColumns.range.from = currentPage \n }\n \n if (rowsPerPages){\n setRowPerPages(rowsPerPages)\n customFilterByColumns.range.to = rowsPerPages \n }\n \n return customFilterByColumns\n }\n \n const handleReload = () => {\n setReload(!reload)\n }\n \n useEffect(() => {\n if (!initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n setInitRender(true)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n \n useEffect(() => {\n if (initRender){\n (async () => {\n setIsRefetching(true)\n await handleFecth(filterByColumns)\n setIsRefetching(false)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [filterByColumns]) \n \n useEffect(() => {\n if (initRender){\n (async () => {\n setCurrentPage(1)\n const customFilters = filterByColumnsFactory({ country, type: integration, currentPage: 1, rowsPerPages })\n setFilterByColumns(customFilters)\n })()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [reload])\n\n return (\n <>\n \n \n setCurrentPage(page)}\n onChangeRowsPerPage={(row) => setRowPerPages(row)}\n schemaDownload={usersByIntegrationDownloads}\n columns={usersByIntegration(setCustomerIntegrationData, setOpenModal) ?? []}\n config={{ disableFilters: true }}\n reload={handleReload}\n stateValues={{\n country,\n currentPage,\n rowsPerPages,\n searchText,\n filterByColumns,\n }}\n filters={{\n filterBySearchText(text) {\n setSearchText(text)\n },\n filterByColumns(filter) {\n setFilterByColumns(filter)\n },\n filterDownloads: async (filter) => {\n filter.isDownload = true\n return await handleFecth(filter, false)\n },\n handleStateFilterByColumns: (props) => {\n return handleStateFilterByColumns(props)\n },\n filterByColumnsFactory: (props)=> {\n return filterByColumnsFactory(props)\n }\n }}\n />\n \n \n\n )\n}\n\nexport default IntegrationCustomers","import React, {useContext, useEffect, useState} from 'react';\nimport { axiosBase as axios } from '../../api/AxiosConfig';\nimport {useAuth0} from \"../../hooks/react-auth0-spa\";\nimport {Button, notification, Select, Table} from \"antd\";\nimport {format} from \"date-fns\";\nimport {IntegrationShipmentStatus} from \"../../utils/States\";\nimport {ArrowRightOutlined} from \"@ant-design/icons\";\nimport RateModal from '../manualDispatch/RateModal';\nimport { DollarOutlined } from '@ant-design/icons';\nimport {QuoteDataContext} from \"../../context/QuoteDataContext\";\n\nfunction CustomerOrders({ setOpenModal }) {\n const { getTokenSilently } = useAuth0();\n const [isLoading, setIsLoading] = useState(false)\n const [filterOptions, setFilterOptions] = useState([])\n const [ordersData, setOrdersData] = useState([])\n\n const [currentPage, setCurrentPage] = useState(1)\n const [rowsPerPages, setRowPerPages] = useState(20)\n const [currentPageOrders, setCurrentPageOrders] = useState(1)\n const [rowsPerPagesOrders, setRowPerPagesOrders] = useState(20)\n const { setCustomerIntegrationData, customerIntegrationData } = useContext(QuoteDataContext);\n\n const getCustomerOrders = async(integrationInfo) => {\n try {\n setIsLoading(true)\n const token = await getTokenSilently();\n const response = await axios.get(\n `${process.env.REACT_APP_NOT_DRENVIO_BACKEND_URL}/integrations/orders?id=${integrationInfo._id}&limit=50&page=1&offset=0`,\n {\n headers: {\n Authorization: `Bearer ${token}`\n }\n }\n )\n console.log('Response:', response)\n // console.log('Integracion seleccionada: ', integrationInfo)\n setCustomerIntegrationData({ ...customerIntegrationData, integrationInfo})\n if(response.status === 200) {\n if(response.data.length === 0){\n notification.info({ message: 'No hay ordenes en esta tienda.' })\n } else {\n const { data: orderResponse } = await axios.get(\n `/orderIntegrations`,\n { headers: { Authorization: `Bearer ${token}` }}\n )\n // console.log('Order response -------------->', orderResponse)\n if(orderResponse.code !== 200){\n notification.info({ message: 'ha ocurrido un problema.' })\n setOpenModal(false)\n setCustomerIntegrationData({})\n } else {\n const orderListIntegration = response.data\n const orderListApi = orderResponse.res.map(item => item.order)\n // console.log('orderListIntegration ------------>', orderListIntegration)\n\n if(integrationInfo.type === 'MERCADOLIBRE'){\n console.log('Entra aqui en mercadolibre')\n const filteredOrderList = orderListIntegration.filter(item => {\n if (!orderListApi.includes(item.order_number)){\n return item\n }\n return null\n })\n setOrdersData(filteredOrderList)\n setIsLoading(false)\n return\n }\n setOrdersData(orderListIntegration)\n }\n }\n }\n setIsLoading(false)\n } catch (error) {\n notification.error({ message: \"No se han podido obtener las ordenes, por favor, verificar estado de la integración con el cliente.\"})\n setIsLoading(false)\n }\n\n }\n\n const updateOrdersData = ()=> {\n setOrdersData([])\n }\n\n const optionsFilters = () => {\n if(!customerIntegrationData.integrationInfo) return\n switch (customerIntegrationData?.integrationInfo?.type) {\n case 'WOOCOMMERCE':\n setFilterOptions([\n {\n text: \"Completado\",\n value: \"completed\"\n },\n {\n text: \"Cancelado\",\n value: \"cancelled\"\n },\n {\n text: \"Fallido\",\n value: \"failed\"\n },\n {\n text: \"Pendiente\",\n value: \"pending\"\n },\n {\n text: \"En espera\",\n value: \"on-hold\"\n },\n {\n text: 'Procesando',\n value: \"processing\"\n },\n {\n text: \"Reembolsado\",\n value: \"refunded\"\n }\n ])\n break;\n case 'MERCADOLIBRE':\n setFilterOptions([\n {\n text: \"Entregado\",\n value: \"shipped\"\n },\n {\n text: 'Procesando',\n value: \"ready_to_ship\"\n },\n {\n text: 'Enviado',\n value: \"delivered\"\n },\n {\n text: 'Cancelado',\n value: \"cancelled\"\n },\n ])\n break;\n case 'SHOPIFY':\n setFilterOptions([\n {\n text: \"No cumplido\",\n value: \"UNFULFILLED\"\n },\n {\n text: \"Completado\",\n value: \"FULFILLED\"\n },\n {\n text: \"En progreso\",\n value: \"IN_PROGRESS\"\n },\n {\n text: \"En espera\",\n value: \"ON_HOLD\"\n },\n {\n text: \"Abierto\",\n value: \"OPEN\"\n }\n ])\n break;\n default:\n break;\n }\n }\n\n const handleTableChange = ({ page, pageSize }) => {\n setCurrentPage(page)\n setRowPerPages(pageSize)\n }\n\n const handleTableOrdersChange = ({ page, pageSize }) => {\n setCurrentPageOrders(page)\n setRowPerPagesOrders(pageSize)\n }\n\n const table_orders_columns = [\n {\n title: 'Fecha de creación',\n dataIndex: '',\n render: (data) => (

{ data?.created_at ? format(new Date(data.created_at),\"dd/MM/yyyy HH:MM:SS\") : 'N/A' }

)\n },\n {\n title: '# de Pedido',\n dataIndex: 'order_number',\n },\n {\n title: 'Nombre',\n dataIndex: '',\n render: (data) => (

{ data?.customer_details?.name?.first_name ?? \"N/A\" }

)\n },\n {\n title: 'Calle',\n dataIndex: '',\n render: (data) => (

{ data?.shipping_address?.address ?? \"N/A\" }

)\n },\n {\n title: 'Ciudad',\n dataIndex: '',\n render: (data) => (

{ data?.shipping_address?.city ?? \"N/A\" }

)\n },\n {\n title: 'Estado/País',\n dataIndex: '',\n render: (data) => (

{ `${data?.shipping_address?.province?.name ?? ''}, ${data?.shipping_address?.country?.name ?? ''}` }

)\n },\n {\n title: 'Código Postal',\n dataIndex: '',\n render: (data) => (

{ data?.shipping_address?.zip_code ?? \"N/A\" }

)\n },\n {\n title: 'Estatus',\n dataIndex: '',\n render: (data) => (\n
\n { changeDefaultValue(data) }\n
\n ),\n //TODO: Cuando se hace el filtrado por status, se hace bien, pero en los \n default:\n return IntegrationShipmentStatus(data.fulfillment_info?.status, 'BADGE');\n }\n }\n\n const table_columns = [\n {\n title: 'Fecha de creación',\n dataIndex: \"\",\n render: (rowData) => (

{ rowData?.created_at ? format(new Date(rowData.created_at),\"dd-MM-yyyy\") : 'N/A' }

)\n },\n {\n title: \"Nombre\",\n dataIndex: \"name\",\n },\n {\n title: 'Fecha de actualización',\n dataIndex: \"\",\n render: (rowData) => (

{ rowData?.updated_at ? format(new Date(rowData.updated_at),\"dd-MM-yyyy\") : 'N/A' }

)\n },\n {\n title: 'Acciones',\n dataIndex: \"\",\n render: (rowData) => ()\n }\n ]\n\n useEffect(() => {\n optionsFilters()\n },[customerIntegrationData?.integrationInfo?.type])//eslint-disable-line\n\n return (\n
\n {\n ordersData.length === 0 ? (\n handleTableChange({ page, pageSize })\n }} \n />\n ) : (\n
handleTableOrdersChange({ page, pageSize })\n }} \n />\n )\n }\n \n );\n}\n\nexport default CustomerOrders;","import React, {useContext, useState} from 'react';\nimport { Card } from \"antd\";\nimport { integrations } from \"./integrations-array\";\nimport { StoreLogo } from \"../../utils/StoreLogos\";\nimport IntegrationCustomers from \"./Customers\";\nimport ModalContainer from \"../quoter/containers/ModalContainer\";\nimport CustomerOrders from \"./CustomerOrders\";\n\nfunction IntegrationsDispatch() {\n const [showIntegration, setShowIntegration] = useState({ name: \"\", show: false });\n const [openModal, setOpenModal] = useState(false);\n\n return (\n <>\n
\n {\n !showIntegration.show && integrations.map((integration, index) => {\n if (integration.status) {\n return (\n setShowIntegration({ name: integration.name, show: true })} key={index} style={{ display:'flex', justifyContent:'center', alignItems: 'center', cursor:'pointer' }}>\n {integration.name}\n \n )\n }\n return null\n })\n }\n
\n {showIntegration.show && }\n {openModal && (\n setOpenModal(false)}\n onOk={()=> {}}\n footer={false}\n maskClosable={false}\n >\n \n \n )}\n \n );\n}\n\nexport default IntegrationsDispatch;\n","import React, {useContext, useEffect, useState} from 'react';\nimport {Button, Card, Col, Form, Input, Popconfirm, Row, Select, Tooltip} from 'antd';\nimport { useAuth0 } from '../../../hooks/react-auth0-spa';\nimport {actionCustomField, createCustomFields, getCustomFields} from '../../../api/ProductAPI';\nimport {Divider} from \"@material-ui/core\";\nimport {useAlert} from \"react-alert\";\nimport {EyeInvisibleOutlined, EyeOutlined} from \"@ant-design/icons\";\nimport {DeleteOutline} from \"@material-ui/icons\";\nimport {DataContext} from \"../../../context/dataContext\";\n\nconst fieldTypes = [\n { label: 'Texto', value: 'string' },\n { label: 'Número', value: 'number' },\n { label: 'Fecha', value: 'date' },\n];\n\nfunction CustomFields() {\n const [customFields, setCustomFields] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n const [editingField, setEditingField] = useState(null);\n const [apiCustomFields, setApiCustomFields] = useState([]);\n const [inventoryId, setInventoryId] = useState('');\n const [whOptions, setWhOptions] = useState([]);\n\n const alert = useAlert();\n const [form] = Form.useForm();\n const { getTokenSilently, user } = useAuth0();\n const { userWarehouses } = useContext(DataContext);\n\n const onFinish = (values) => {\n setInventoryId(values.inventoryId);\n delete values.inventoryId\n console.log('Values: ', values);\n if (editingField !== null) {\n const updatedFields = customFields.map((field) =>\n field.id === editingField ? { ...field, ...values } : field\n );\n setCustomFields(updatedFields);\n setEditingField(null);\n } else {\n const newField = { ...values, visible: true, id: Math.floor(Math.random() * 1600).toString() };\n setCustomFields((prevFields) => [newField, ...prevFields]);\n }\n form.resetFields(['fieldName', 'type']);\n };\n\n const onEdit = (field) => {\n form.setFieldsValue(field);\n setEditingField(field.id);\n };\n\n const onDelete = (id) => {\n setCustomFields((prevFields) => prevFields.filter((field) => field.id !== id));\n };\n\n const onSave = async() => {\n setIsLoading(true)\n const token = await getTokenSilently();\n const response = await createCustomFields(token, {\n UsuarioId: user,\n CustomFields: [...apiCustomFields, ...customFields],\n InventoryId: inventoryId,\n })\n // console.log('api response -->',response)\n if(response.status === 200){\n setIsLoading(false)\n setCustomFields([])\n await getAllCustomFields()\n return alert.success(\"¡Guardado correctamente!\")\n }\n setIsLoading(false)\n }\n\n const getAllCustomFields = async () => {\n setIsLoading(true);\n const token = await getTokenSilently();\n const response = await getCustomFields(token, user.sub, inventoryId);\n // console.log('Response customFields: ', response)\n if (response.status === 200) {\n setApiCustomFields(response.data.CustomFields);\n setIsLoading(false);\n return\n }\n setApiCustomFields([])\n setIsLoading(false);\n };\n\n const actionApiCustomField = async(customId, actionType) => {\n setIsLoading(true);\n const token = await getTokenSilently();\n const response = await actionCustomField(token, user.sub, customId, actionType, inventoryId);\n console.log(\"Response customFields -> \",response)\n // if(response.status === 200) {\n // setApiCustomFields(response.data.CustomFields);\n // }\n getAllCustomFields()\n }\n\n const formatWarehouseOptions = async() => {\n setIsLoading(true)\n if(userWarehouses){\n const warehouseOptions = userWarehouses?.map(item => {\n return { label: item.Title, value: item._id };\n })\n warehouseOptions.push({ label: 'Default ( Drevfill, Inactivos )', value: 'default' })\n setWhOptions(warehouseOptions)\n // console.log('[ GET - DATA CONTEXT ] Response: ', userWarehouses)\n }\n setIsLoading(false)\n }\n\n useEffect(() => {\n formatWarehouseOptions()\n getAllCustomFields();\n }, [inventoryId, userWarehouses]);//eslint-disable-line\n\n console.log('Inventory Id: ', inventoryId)\n\n return (\n \n

Campos Personalizados

\n

Agrega campos únicos para los productos en tus inventarios personalizados o en los predeterminados de la plataforma. Adapta tus inventarios a tus necesidades específicas.

\n \n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ))\n ) : (\n

Agrega un nuevo campo personalizado.

\n )}\n {customFields.length > 0 && (\n \n \n \n \n \n setCustomFields([])}\n >\n CANCELAR\n \n \n \n )}\n \n

Tus campos Personalizados

\n {isLoading\n ? (

Cargando ...

)\n : apiCustomFields.length > 0\n ? (\n apiCustomFields.map((item) => (\n \n
\n \n \n \n \n \n \n \n \n \n actionApiCustomField(item.id, 'delete')}>\n \n \n deleteCustomWarehouse(rowData._id)}>\n \n \n \n \n \n \n \n \n setOpenModal({data: undefined, open: false})}\n footer={<>}\n >\n

{ openModal.type === 'create' ? 'Crear inventario' : 'Editar título de inventario' }

\n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\nexport default CustomStock;","import React from 'react';\nimport {Col, Row} from 'antd';\nimport CustomFields from \"./CustomFields\";\nimport CustomStock from \"./CustomStock\";\n\nfunction ConfigProducts() {\n\n return (\n \n \n \n \n \n \n \n \n );\n}\n\nexport default ConfigProducts;\n","import React from 'react';\nimport {useLocation} from \"react-router-dom\";\nimport queryString from \"query-string\"\n\nfunction IntegrationAuthPage(props) {\n const location = useLocation();\n const queryParams = queryString.parse(location.search);\n const store = queryParams.store || \"DefaultStore\";\n\n console.log(\"Store: \", store);\n console.log(\"Query Params: \", queryParams);\n\n return (\n
Tienda seleccionada { store }
\n );\n}\n\nexport default IntegrationAuthPage;","import React from \"react\";\nimport { Router, Route, Switch } from \"react-router-dom\";\nimport history from \"./utils/History\";\nimport { createMuiTheme, MuiThemeProvider } from \"@material-ui/core\";\n\nimport PrivateRoute from \"./components/session/PrivateRoute\";\nimport Login from \"./components/session/Login\";\nimport Logout from \"./components/session/Logout\";\n\n// Context Components\nimport { Auth0Provider } from \"./hooks/react-auth0-spa\";\nimport config from \"./auth0_config.json\";\nimport { DataContextProvider } from \"./context/dataContext\";\nimport { QuoteDataContextProvider } from \"./context/QuoteDataContext\";\nimport { CountriesContextProvider } from \"./context/CountriesContext\";\n\n/* Components import */\nimport CustomAppBar from \"./components/template/CustomAppBar\";\n\n/* Pages import */\nimport Index from \"./pages/Index\";\n//Products\nimport Products from \"./pages/products/Index\";\nimport ProductEdit from \"./pages/products/Edit\";\nimport ProductCreate from \"./pages/products/Create\";\n\n//Warehouseshippment\nimport WarehouseShippingIndex from \"./pages/warehouseShipping/Index\";\nimport WarehouseShippingCreate from \"./pages/warehouseShipping/Create\";\n\nimport WarehouseReceiveIndex from \"./pages/warehouseReceive/Index\";\n\nimport WarehouseOutputScan from \"./pages/warehouseOutput/Scan\";\nimport WarehouseOutputIndex from \"./pages/warehouseOutput/Index\";\nimport ManualDispatch from './pages/manualDispatch/Index';\nimport OutboundShipmentsCreate from \"./pages/outboundShipments/createOutboundShipments\";\nimport OutboundShipmentDetail from \"./pages/outboundShipments/outboundShipmentDetail\";\nimport Home from \"./pages/home\";\nimport ProductsAdmin from \"./pages/warehouseProducts/Index\";\nimport UpdateProducts from \"./pages/updateProducts/index\";\nimport Movements from \"./pages/tracking/Index\";\nimport OutboundShipmentsTabs from \"./pages/outboundShipments\";\nimport TestSectionTabs from \"./pages/testSection\";\nimport CreateWithXLSX from \"./pages/products/CreateWithXLSX\";\nimport Statistics from './pages/statistics/index'\nimport IntegrationsDispatch from \"./pages/integrationsDispatch\";\nimport ConfigProducts from \"./pages/products/config/ConfigProducts\";\nimport IntegrationAuthPage from \"./pages/integrationsDispatch/IntegrationAuthPage\";\n\nconst theme = createMuiTheme({\n palette: {\n primary: {\n main: \"#2e1d6e\",\n },\n },\n});\n\nfunction App() {\n const onRedirectCallback = (appState) => {\n history.push(\n appState && appState.targetUrl\n ? appState.targetUrl\n : window.location.pathname\n );\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\nexport default App;\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./index.css\";\nimport App from \"./App\";\nimport reportWebVitals from \"./reportWebVitals\";\nimport { transitions, positions, Provider as AlertProvider } from \"react-alert\";\nimport AlertTemplate from \"react-alert-template-basic\";\n\nconst alertOptions = {\n // you can also just use 'bottom center' \n position: positions.BOTTOM_RIGHT,\n timeout: 8000,\n offset: \"30px\",\n // you can also just use 'scale' \n transition: transitions.SCALE,\n};\n\nReactDOM.render(\n \n \n ,\n document.getElementById(\"root\")\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"sourceRoot":""}