{"version":3,"sources":["helpers/ApiUtils.ts","store/api.constants.ts","store/enums.ts","helpers/LocaleUtilities.tsx","helpers/AuthUtils/index.ts","store/constant.ts","helpers/CommonUtilities.ts","helpers/NumberUtilities.ts","store/base.ts","theme.js","store/actions.js","helpers/AuthUtils/AuthUtils.ts","helpers/RouterUtilities.ts","api/Customer.api.ts","api/PriceRequest.api.ts","api/Invitation.api.ts","api/User.api.ts","api/Account.api.ts","App/routes/Tenant/Shipment/Shipment.Display/Shipment.reducer.ts","App/routes/Tenant/PriceRequest/PriceRequest.Display/PriceRequest.reducer.ts","api/Shipment.api.ts","api/AddressBook.api.ts","api/Partner.api.ts","api/Terminal.api.ts","api/Tenant.api.ts","api/Fleet.api.ts","App/routes/Tenant/AddressBook/AddressBook.Display/AddressBookItem.reducer.ts","App/actions/App.start.action.ts","App/routes/Admin/Tenants/Tenant.Display/New/actions/Tenant.create.start.action.ts","App/routes/Admin/Tenants/Tenant.Display/New/actions/Tenant.create.submit.action.ts","App/routes/Admin/Tenants/Tenant.Display/Edit/actions/Tenant.edit.start.action.ts","App/routes/Admin/Tenants/Tenant.Display/Edit/actions/Tenant.edit.submit.action.ts","App/routes/Admin/Tenants/Tenant.Display/Edit/actions/Tenant.User.get-users.action.ts","App/routes/Admin/Tenants/Tenant.Display/Edit/actions/Tenant.username.exists.action.ts","App/routes/Admin/Tenants/Tenant.Display/Edit/actions/Tenant.add.existing.user.action.ts","components/Icons/Shipment/StatusCanceledIcon.tsx","App/App.reducer.ts","App/routes/Admin/Translations/viewModels/TranslationsInsertUpdateViewModel.ts","api/Translations.api.ts","components/Icons/Shipment/StatusProcessingIcon.tsx","api/ShippingOrder.api.ts","api/SpotRequest.api.ts","helpers/ModelUtilities/AddressUtilities.tsx","App/routes/Tenant/Shipment/ViewModels/ShipmentResponseViewModel.ts","helpers/ModelUtilities/PriceRequestUtilities.tsx","App/routes/Tenant/Shipment/Shipment.Display/actions/Shipment.edit.start.action.ts","App/routes/Tenant/Shipment/Shipment.Display/actions/Shipment.edit.submit.action.ts","App/routes/Tenant/PriceRequest/PriceRequest.Display/actions/PriceRequest.edit.start.action.ts","App/routes/Tenant/PriceRequest/PriceRequest.Display/actions/PriceRequest.edit.submit.action.ts","App/routes/Tenant/PriceRequest/PriceRequest.Display/actions/PriceRequest.prices.submit.action.ts","components/Icons/Shipment/StatusDraftIcon.tsx","components/Icons/Shipment/StatusDeliveredIcon.tsx","App/routes/Tenant/PriceRequest/ViewModels/PriceRequestResponseViewModel.ts","App/routes/Tenant/Terminal/Terminal.Display/actions/Terminal.create.submit.action.ts","App/routes/Tenant/Terminal/Terminal.Display/actions/Terminal.edit.start.action.ts","App/routes/Tenant/Terminal/Terminal.Display/actions/Terminal.edit.submit.action.ts","App/routes/Tenant/Customer/Customer.Display/actions/Customer.create.submit.action.ts","App/routes/Tenant/Customer/Customer.Display/actions/Customer.edit.start.action.ts","App/routes/Tenant/Customer/Customer.Display/actions/Customer.edit.submit.action.ts","App/routes/Tenant/Customer/Customer.Display/actions/Customer.contact.submit.action.ts","App/routes/Tenant/Customer/Customer.Display/actions/Customer.contact.invite.action.ts","App/routes/Tenant/Fleet/Fleet.Display/New/actions/Fleet.create.submit.action.ts","App/routes/Tenant/Fleet/Fleet.Display/Edit/actions/Fleet.edit.start.action.ts","App/routes/Tenant/Fleet/Fleet.Display/Edit/actions/Fleet.edit.submit.action.ts","App/routes/Tenant/AddressBook/AddressBook.Display/actions/AddressBookItem.create.submit.action.ts","App/routes/Tenant/AddressBook/AddressBook.Display/actions/AddressBookItem.edit.start.action.ts","App/routes/Tenant/AddressBook/AddressBook.Display/actions/AddressBookItem.edit.submit.action.ts","App/routes/Tenant/Partner/Partner.Display/actions/Partner.submit.action.ts","App/routes/Tenant/Partner/Partner.Display/actions/Partner.contact.submit.action.ts","components/Icons/CustomerContactType/HouseIcon.tsx","components/Icons/CustomerContactType/LogisticsIcon.tsx","components/Icons/CustomerContactType/EllipsisIcon.tsx","components/Icons/CustomerContactType/AccountingIcon.tsx","components/Icons/CustomerContactType/SalesIcon.tsx","helpers/ModelUtilities/CustomerUtilities.tsx","App/routes/Sessions/Login/actions/App.login.submit.action.ts","App/routes/Tenant/AddressBook/AddressBook.List/AddressBook.reducer.ts","App/routes/Tenant/Shipment/Shipment.List/ShipmentList.reducer.ts","App/routes/Tenant/PriceRequest/PriceRequest.List/PriceRequestList.reducer.ts","components/Icons/FleetType/VehicleIcon.tsx","components/Icons/FleetType/BoxTruckIcon.tsx","components/Icons/FleetType/ContainerIcon.tsx","components/Icons/FleetType/ForkliftIcon.tsx","components/Icons/FleetType/CraneTruckIcon.tsx","components/Icons/FleetType/VanIcon.tsx","components/Icons/FleetType/TailLiftTruckIcon.tsx","components/Icons/FleetType/BoxSemitrailerIcon.tsx","components/Icons/FleetType/FlatbedTrailerIcon.tsx","components/Icons/FleetType/ContainerTruckIcon.tsx","components/Icons/FleetType/TractorUnitIcon.tsx","components/Icons/FleetType/TautlinerIcon.tsx","components/Icons/FleetType/MegaTrailerIcon.tsx","components/Icons/FleetType/RefrigeratedTrailerIcon.tsx","components/Icons/FleetType/FullTrailerIcon.tsx","components/Icons/FleetType/DumpTruckIcon.tsx","components/Icons/FleetType/DumpTrailerIcon.tsx","components/Icons/FleetType/WalkingFloorTrailerIcon.tsx","components/Icons/FleetType/SideLoaderTruckIcon.tsx","components/Icons/FleetType/SideLoaderTrailerIcon.tsx","components/Icons/FleetType/InLoaderTrailerIcon.tsx","components/Icons/FleetType/HeavyLoadTrailerIcon.tsx","helpers/ModelUtilities/FleetUtilities.tsx","App/routes/Sessions/LoginClientPortal/actions/App.clientLogin.submit.action.ts","App/routes/Sessions/ChangePassword/actions/ChangePassword.submit.action.ts","App/actions/App.logout.submit.action.ts","App/layout/Loader/index.js","hoc/_Aux/index.js","App/layout/ScrollToTop/index.js","route.js","util/asyncComponent.tsx","config.js","store/app.reducer.js","store/reducers.ts","store/index.ts","App/layout/AdminLayout/Navigation/NavContent/NavIcon/index.js","App/layout/AdminLayout/Navigation/NavContent/NavBadge/index.js","App/layout/AdminLayout/Navigation/NavContent/NavItem/index.js","App/layout/AdminLayout/Navigation/NavContent/NavCollapse/index.js","App/layout/AdminLayout/Navigation/NavContent/NavGroup/index.js","App/layout/AdminLayout/Navigation/NavContent/index.js","App/layout/AdminLayout/Navigation/OutsideClick/index.js","menu-items-tenant.ts","menu-items-admin.ts","menu-items-customerPortal.ts","App/layout/AdminLayout/Navigation/index.js","shared/actions/PlatformSearch.fetch.action.ts","App/layout/AdminLayout/NavBar/NavLeft/NavSearch/index.tsx","components/Icons/House/HouseRoundedIcon.tsx","App/layout/AdminLayout/NavBar/NavLeft/index.tsx","App/layout/AdminLayout/NavBar/NavRight/index.tsx","App/layout/AdminLayout/NavBar/index.js","App/layout/AdminLayout/Breadcrumb/index.js","App/layout/AdminLayout/Configuration/Layout/index.js","App/layout/AdminLayout/Configuration/TabConfig/ColorOptions/index.js","App/layout/AdminLayout/Configuration/TabConfig/LayoutOptions/index.js","App/layout/AdminLayout/Configuration/TabConfig/index.js","App/layout/AdminLayout/Configuration/index.js","App/layout/AdminLayout/index.js","components/Session/Component_404.tsx","components/PrivateRoute.component.tsx","App/routes/Admin/index.tsx","App/routes/Tenant/index.tsx","App/routes/ClientPortal/index.tsx","App/MainApp.component.tsx","App/App.component.tsx","App/index.ts","App/App.container.ts","serviceWorker.js","index.tsx","helpers/DateUtilities.tsx","components/Flag/FlagComponent.tsx","shared/actions/invitation/User.invitation.submit.action.ts","App/routes/Admin/Tenants/Tenant.Display/Tenant.reducer.ts","App/routes/Tenant/Fleet/Fleet.Display/Fleet.reducer.ts","App/routes/Tenant/Terminal/Terminal.Display/Terminal.reducer.ts","App/routes/Tenant/Customer/Customer.Display/Customer.reducer.ts","App/routes/Tenant/Partner/Partner.Display/Partner.reducer.ts","App/routes/Sessions/Invitation/actions/App.invitation.start.action.ts","App/routes/Sessions/Invitation/actions/App.invitation.submit.action.ts","App/routes/Public/SpotRequest/actions/SpotRequest.submit.action.ts","viewModels/spotRequest/SpotRequestPublicViewModel.ts","App/routes/Public/SpotRequest/actions/SpotRequest.start.action.ts","viewModels/public/PublicInvoiceViewModel.ts","App/routes/Public/Invoice/actions/Invoice.start.action.ts","assets/images/user/Avatar-6.png","assets/images/user/avatar-2.jpg","components/Form/LoadingComponent.tsx","seed/CountryOptions.ts","api/SelectComponent.api.ts","helpers/ModelUtilities/ShipmentUtilities.tsx","shared/functions/generateKey.ts","components/Icons/Plus/PlusIcon.tsx","App/routes/Tenant/AddressBook/ViewModels/AddressBookItemResponseViewModel.ts","App/routes/Tenant/AddressBook/ViewModels/AddressBookItemsRequestViewModel.ts","App/routes/Tenant/AddressBook/ViewModels/AddressBookItemContactListResponseViewModel.ts","App/routes/Tenant/AddressBook/ViewModels/index.ts","App/routes/Tenant/Shipment/ViewModels/ShipmentsRequestViewModel.ts","App/routes/Tenant/Shipment/ViewModels/ShipmentDetailResponseViewModel.ts","App/routes/Tenant/Shipment/ViewModels/ShipmentDraftPricesResponseViewModel.ts","App/routes/Tenant/Shipment/ViewModels/index.ts","components/Flag/FlagAndAddressComponent.tsx","viewModels/common/SelectComponentValue.ts","helpers/ModelUtilities/SpotRequestUtilities.tsx","components/Icons/Phone/MobilePhoneIcon.tsx","components/Icons/Shipment/StatusInTransitIcon.tsx","helpers/ModelUtilities/PartnerUtilities.tsx","App/routes/Tenant/PriceRequest/ViewModels/PriceRequestsRequestViewModel.ts","App/routes/Tenant/PriceRequest/ViewModels/PriceRequestDetailResponseViewModel.ts","App/routes/Tenant/PriceRequest/ViewModels/index.ts","assets/images/flag-icons/svg sync /^/.*/.svg$","App/routes/Admin/Tenants/Tenant.Display/Edit/actions/Tenant.edit.cancel.action.ts","App/routes/Admin/Tenants/Tenant.Display/Edit/actions/Tenant.User.delete.submit.action.ts","App/routes/Admin/Tenants/Tenant.Display/Edit/actions/index.ts","App/routes/Admin/Tenants/ViewModels/TenantsRequestViewModel.ts","components/Icons/Shipment/StatusReceivedIcon.tsx","viewModels/common/InvitationRequestViewModel.ts","api/Public.api.ts","App/routes/Public/ShippingOrder/actions/ShippingOrderConfirmation.submit.acton.ts","App/routes/Admin/Tenants/Tenant.List/TenantList.reducer.ts","App/routes/Admin/Translations/Translations.List/Translations.reducer.ts","App/routes/Tenant/Fleet/Fleet.List/FleetList.reducer.ts","App/routes/Tenant/Terminal/Terminal.List/TerminalList.reducer.ts","App/routes/Tenant/Customer/Customer.List/CustomerList.reducer.ts","App/routes/Tenant/Partner/Partner.List/PartnerList.reducer.ts","App/routes/Tenant/Project/Project.List/ProjectList.reducer.ts","App/routes/Tenant/ShippingOrder/ShippingOrder.List/ShippingOrderList.reducer.ts","App/routes/Tenant/ShippingOrder/ShippingOrder.Display/ShippingOrder.reducer.ts","App/routes/Tenant/Settings/Employees/Employees.reducer.ts","App/routes/Tenant/Invoice/Invoice.List/InvoiceList.reducer.ts","App/routes/Tenant/Invoice/Invoice.Display/Invoice.reducer.ts","App/routes/Tenant/Project/Project.Display/ProjectDisplay.reducer.ts","App/routes/Tenant/ControlTower/ControlTower.reducer.ts","App/routes/Tenant/Customer/Customer.Import/CustomerImport.reducer.ts","App/routes/Tenant/Comment/CommentList.reducer.ts","App/routes/Sessions/ChangePassword/ChangePassword.reducer.ts","App/routes/Admin/Tenants/ViewModels/TenantResponseViewModel.ts","App/routes/Admin/Tenants/ViewModels/index.ts","App/routes/Tenant/Fleet/ViewModels/FleetResponseViewModel.ts","App/routes/Tenant/Fleet/ViewModels/FleetsRequestViewModel.ts","App/routes/Tenant/Fleet/ViewModels/index.ts","App/routes/Tenant/Customer/ViewModels/CustomerResponseViewModel.ts","App/routes/Tenant/Customer/ViewModels/CustomersRequestViewModel.ts","App/routes/Tenant/Customer/ViewModels/index.ts","App/routes/Tenant/Terminal/ViewModels/TerminalResponseViewModel.ts","App/routes/Tenant/Terminal/ViewModels/TerminalsRequestViewModel.ts","App/routes/Tenant/Terminal/ViewModels/index.ts","viewModels/shippingOrder/ShippingOrderPublicViewModel.ts","App/routes/Public/ShippingOrder/actions/ShippingOrderConfirmation.start.action.ts","App/routes/Admin/Tenants/Tenant.Display/New/actions/Tenant.create.cancel.action.ts","App/routes/Admin/Tenants/Tenant.Display/New/actions/index.ts","assets/images/logo.png","assets/images/flag-icons/svg/ad.svg","assets/images/flag-icons/svg/ae.svg","assets/images/flag-icons/svg/af.svg","assets/images/flag-icons/svg/ag.svg","assets/images/flag-icons/svg/ai.svg","assets/images/flag-icons/svg/al.svg","assets/images/flag-icons/svg/am.svg","assets/images/flag-icons/svg/ao.svg","assets/images/flag-icons/svg/aq.svg","assets/images/flag-icons/svg/ar.svg","assets/images/flag-icons/svg/as.svg","assets/images/flag-icons/svg/at.svg","assets/images/flag-icons/svg/au.svg","assets/images/flag-icons/svg/aw.svg","assets/images/flag-icons/svg/ax.svg","assets/images/flag-icons/svg/az.svg","assets/images/flag-icons/svg/ba.svg","assets/images/flag-icons/svg/bb.svg","assets/images/flag-icons/svg/bd.svg","assets/images/flag-icons/svg/be.svg","assets/images/flag-icons/svg/bf.svg","assets/images/flag-icons/svg/bg.svg","assets/images/flag-icons/svg/bh.svg","assets/images/flag-icons/svg/bi.svg","assets/images/flag-icons/svg/bj.svg","assets/images/flag-icons/svg/bl.svg","assets/images/flag-icons/svg/bm.svg","assets/images/flag-icons/svg/bn.svg","assets/images/flag-icons/svg/bo.svg","assets/images/flag-icons/svg/bq.svg","assets/images/flag-icons/svg/br.svg","assets/images/flag-icons/svg/brl.svg","assets/images/flag-icons/svg/bs.svg","assets/images/flag-icons/svg/bt.svg","assets/images/flag-icons/svg/bv.svg","assets/images/flag-icons/svg/bw.svg","assets/images/flag-icons/svg/by.svg","assets/images/flag-icons/svg/bz.svg","assets/images/flag-icons/svg/ca.svg","assets/images/flag-icons/svg/cc.svg","assets/images/flag-icons/svg/cd.svg","assets/images/flag-icons/svg/cf.svg","assets/images/flag-icons/svg/cg.svg","assets/images/flag-icons/svg/ch.svg","assets/images/flag-icons/svg/ci.svg","assets/images/flag-icons/svg/ck.svg","assets/images/flag-icons/svg/cl.svg","assets/images/flag-icons/svg/cm.svg","assets/images/flag-icons/svg/cn.svg","assets/images/flag-icons/svg/co.svg","assets/images/flag-icons/svg/cr.svg","assets/images/flag-icons/svg/cu.svg","assets/images/flag-icons/svg/cv.svg","assets/images/flag-icons/svg/cw.svg","assets/images/flag-icons/svg/cx.svg","assets/images/flag-icons/svg/cy.svg","assets/images/flag-icons/svg/cz.svg","assets/images/flag-icons/svg/de.svg","assets/images/flag-icons/svg/dj.svg","assets/images/flag-icons/svg/dk.svg","assets/images/flag-icons/svg/dm.svg","assets/images/flag-icons/svg/do.svg","assets/images/flag-icons/svg/dz.svg","assets/images/flag-icons/svg/ec.svg","assets/images/flag-icons/svg/ee.svg","assets/images/flag-icons/svg/eg.svg","assets/images/flag-icons/svg/eh.svg","assets/images/flag-icons/svg/eo.svg","assets/images/flag-icons/svg/er.svg","assets/images/flag-icons/svg/es.svg","assets/images/flag-icons/svg/et.svg","assets/images/flag-icons/svg/eu.svg","assets/images/flag-icons/svg/fi.svg","assets/images/flag-icons/svg/fj.svg","assets/images/flag-icons/svg/fk.svg","assets/images/flag-icons/svg/fm.svg","assets/images/flag-icons/svg/fo.svg","assets/images/flag-icons/svg/fr.svg","assets/images/flag-icons/svg/ga.svg","assets/images/flag-icons/svg/gb.svg","assets/images/flag-icons/svg/gd.svg","assets/images/flag-icons/svg/ge.svg","assets/images/flag-icons/svg/gf.svg","assets/images/flag-icons/svg/gg.svg","assets/images/flag-icons/svg/gh.svg","assets/images/flag-icons/svg/gi.svg","assets/images/flag-icons/svg/gl.svg","assets/images/flag-icons/svg/gm.svg","assets/images/flag-icons/svg/gn.svg","assets/images/flag-icons/svg/gp.svg","assets/images/flag-icons/svg/gq.svg","assets/images/flag-icons/svg/gr.svg","assets/images/flag-icons/svg/gs.svg","assets/images/flag-icons/svg/gt.svg","assets/images/flag-icons/svg/gu.svg","assets/images/flag-icons/svg/gw.svg","assets/images/flag-icons/svg/gy.svg","assets/images/flag-icons/svg/hk.svg","assets/images/flag-icons/svg/hm.svg","assets/images/flag-icons/svg/hn.svg","assets/images/flag-icons/svg/hr.svg","assets/images/flag-icons/svg/ht.svg","assets/images/flag-icons/svg/hu.svg","assets/images/flag-icons/svg/id.svg","assets/images/flag-icons/svg/ie.svg","assets/images/flag-icons/svg/il.svg","assets/images/flag-icons/svg/im.svg","assets/images/flag-icons/svg/in.svg","assets/images/flag-icons/svg/io.svg","assets/images/flag-icons/svg/iq.svg","assets/images/flag-icons/svg/ir.svg","assets/images/flag-icons/svg/is.svg","assets/images/flag-icons/svg/it.svg","assets/images/flag-icons/svg/je.svg","assets/images/flag-icons/svg/jm.svg","assets/images/flag-icons/svg/jo.svg","assets/images/flag-icons/svg/jp.svg","assets/images/flag-icons/svg/ke.svg","assets/images/flag-icons/svg/kg.svg","assets/images/flag-icons/svg/kh.svg","assets/images/flag-icons/svg/ki.svg","assets/images/flag-icons/svg/km.svg","assets/images/flag-icons/svg/kn.svg","assets/images/flag-icons/svg/kp.svg","assets/images/flag-icons/svg/kr.svg","assets/images/flag-icons/svg/kw.svg","assets/images/flag-icons/svg/ky.svg","assets/images/flag-icons/svg/kz.svg","assets/images/flag-icons/svg/la.svg","assets/images/flag-icons/svg/lb.svg","assets/images/flag-icons/svg/lc.svg","assets/images/flag-icons/svg/li.svg","assets/images/flag-icons/svg/lk.svg","assets/images/flag-icons/svg/lr.svg","assets/images/flag-icons/svg/ls.svg","assets/images/flag-icons/svg/lt.svg","assets/images/flag-icons/svg/lu.svg","assets/images/flag-icons/svg/lv.svg","assets/images/flag-icons/svg/ly.svg","assets/images/flag-icons/svg/ma.svg","assets/images/flag-icons/svg/mc.svg","assets/images/flag-icons/svg/md.svg","assets/images/flag-icons/svg/me.svg","assets/images/flag-icons/svg/mf.svg","assets/images/flag-icons/svg/mg.svg","assets/images/flag-icons/svg/mh.svg","assets/images/flag-icons/svg/mk.svg","assets/images/flag-icons/svg/ml.svg","assets/images/flag-icons/svg/mm.svg","assets/images/flag-icons/svg/mn.svg","assets/images/flag-icons/svg/mo.svg","assets/images/flag-icons/svg/mp.svg","assets/images/flag-icons/svg/mq.svg","assets/images/flag-icons/svg/mr.svg","assets/images/flag-icons/svg/ms.svg","assets/images/flag-icons/svg/mt.svg","assets/images/flag-icons/svg/mu.svg","assets/images/flag-icons/svg/mv.svg","assets/images/flag-icons/svg/mw.svg","assets/images/flag-icons/svg/mx.svg","assets/images/flag-icons/svg/my.svg","assets/images/flag-icons/svg/mz.svg","assets/images/flag-icons/svg/na.svg","assets/images/flag-icons/svg/nc.svg","assets/images/flag-icons/svg/ne.svg","assets/images/flag-icons/svg/nf.svg","assets/images/flag-icons/svg/ng.svg","assets/images/flag-icons/svg/ni.svg","assets/images/flag-icons/svg/nl.svg","assets/images/flag-icons/svg/no.svg","assets/images/flag-icons/svg/np.svg","assets/images/flag-icons/svg/nr.svg","assets/images/flag-icons/svg/nu.svg","assets/images/flag-icons/svg/nz.svg","assets/images/flag-icons/svg/om.svg","assets/images/flag-icons/svg/pa.svg","assets/images/flag-icons/svg/pe.svg","assets/images/flag-icons/svg/pf.svg","assets/images/flag-icons/svg/pg.svg","assets/images/flag-icons/svg/ph.svg","assets/images/flag-icons/svg/pk.svg","assets/images/flag-icons/svg/pl.svg","assets/images/flag-icons/svg/pm.svg","assets/images/flag-icons/svg/pn.svg","assets/images/flag-icons/svg/pr.svg","assets/images/flag-icons/svg/ps.svg","assets/images/flag-icons/svg/pt.svg","assets/images/flag-icons/svg/pw.svg","assets/images/flag-icons/svg/py.svg","assets/images/flag-icons/svg/qa.svg","assets/images/flag-icons/svg/re.svg","assets/images/flag-icons/svg/ro.svg","assets/images/flag-icons/svg/rs.svg","assets/images/flag-icons/svg/ru.svg","assets/images/flag-icons/svg/rw.svg","assets/images/flag-icons/svg/sa.svg","assets/images/flag-icons/svg/sb.svg","assets/images/flag-icons/svg/sc.svg","assets/images/flag-icons/svg/sd.svg","assets/images/flag-icons/svg/se.svg","assets/images/flag-icons/svg/sg.svg","assets/images/flag-icons/svg/sh.svg","assets/images/flag-icons/svg/si.svg","assets/images/flag-icons/svg/sj.svg","assets/images/flag-icons/svg/sk.svg","assets/images/flag-icons/svg/sl.svg","assets/images/flag-icons/svg/sm.svg","assets/images/flag-icons/svg/sn.svg","assets/images/flag-icons/svg/so.svg","assets/images/flag-icons/svg/sr.svg","assets/images/flag-icons/svg/ss.svg","assets/images/flag-icons/svg/st.svg","assets/images/flag-icons/svg/sv.svg","assets/images/flag-icons/svg/sx.svg","assets/images/flag-icons/svg/sy.svg","assets/images/flag-icons/svg/sz.svg","assets/images/flag-icons/svg/tc.svg","assets/images/flag-icons/svg/td.svg","assets/images/flag-icons/svg/tf.svg","assets/images/flag-icons/svg/tg.svg","assets/images/flag-icons/svg/th.svg","assets/images/flag-icons/svg/tj.svg","assets/images/flag-icons/svg/tk.svg","assets/images/flag-icons/svg/tl.svg","assets/images/flag-icons/svg/tm.svg","assets/images/flag-icons/svg/tn.svg","assets/images/flag-icons/svg/to.svg","assets/images/flag-icons/svg/tr.svg","assets/images/flag-icons/svg/tt.svg","assets/images/flag-icons/svg/tv.svg","assets/images/flag-icons/svg/tw.svg","assets/images/flag-icons/svg/tz.svg","assets/images/flag-icons/svg/ua.svg","assets/images/flag-icons/svg/ug.svg","assets/images/flag-icons/svg/um.svg","assets/images/flag-icons/svg/us.svg","assets/images/flag-icons/svg/uy.svg","assets/images/flag-icons/svg/uz.svg","assets/images/flag-icons/svg/va.svg","assets/images/flag-icons/svg/vc.svg","assets/images/flag-icons/svg/ve.svg","assets/images/flag-icons/svg/vg.svg","assets/images/flag-icons/svg/vi.svg","assets/images/flag-icons/svg/vn.svg","assets/images/flag-icons/svg/vu.svg","assets/images/flag-icons/svg/wf.svg","assets/images/flag-icons/svg/ws.svg","assets/images/flag-icons/svg/ye.svg","assets/images/flag-icons/svg/yt.svg","assets/images/flag-icons/svg/za.svg","assets/images/flag-icons/svg/zm.svg","assets/images/flag-icons/svg/zw.svg","assets/images/flag-icons/svg/zz.svg"],"names":["ApiUtils","obj","keyValuePairs","key","push","encodeURIComponent","join","accessToken","token","localStorage","getItem","LOCAL_STORAGE_TOKEN_KEY","Authorization","URL","params","paramsSerializer","fixedParams","DateUtilities","tryConvertAllMomentsToDates","config","headers","getDefaultHeaders","responseType","handleApi","axios","get","response","returnOrThrow","this","handleGet","qs","stringify","arrayFormat","data","method","post","JSON","patch","put","delete","isSuccessful","validation","errorWrapper","ErrorWrapper","LocaleUtilities","i18n","message","formValidations","payload","configProp","getFileHeaders","urlParams","objToQueryString","url","fetch","Headers","ok","json","body","blob","dataResponse","promise","doApiCall","then","value","status","catch","error","InternalServerErrorResponseErrorWrapper","AuthUtils","unsetToken","setTimeout","isClientPortal","location","href","routePaths","loginClientPortal","login","throwT","errors","length","FailedResponseErrorWrapper","map","item","index","errorMessage","request","useTokenRefreshCondition","authUtil","tokenNeedsRefreshing","console","info","refreshToken","BACKEND_HOST","IS_DEV","IS_CLIENT_PORTAL_URL","window","origin","replace","APP_PORTAL_NAME","IS_MOBILE_APP_URL","MOBILE_APP_NAME","APP_NAME","BACKEND_HOST_AUTH","BACKEND_HOST_MAIN","BACKEND_HOST_TRANSLATIONS","endpoints","auth","register","dashboard","dashboard1","controlTower","invitation","spotRequest","shippingOrder","publicInvoice","changePassword","resetPassword","profile","settings","settingsNavs","users","vat","packageTypes","termsAndConditions","invoice","pdf","messageTemplates","ipAccessManagement","preferences","messagetemplates","list","new","edit","editId","id","tenants","inbox","priceRequests","display","displayId","addressBook","projects","shipments","snapshotId","shippingOrders","terminals","clients","import","fleet","partners","invoices","priceLists","comments","reports","translations","offline","Platforms","WeekDays","InvoiceFrequency","PackageTypeGroup","FleetType","CustomerPosition","ShipmentStatus","PriceRequestStatus","PriceRequestRejectReason","ShippingOrderStatus","ShippingOrderGenericStatus","ShipmentType","InvoicePriceType","InvoiceType","InvoiceStatus","UploadEntities","SavedFilterView","MessageTemplateType","SpotRequestStatus","SpotRequestEntity","TenantBusinessArea","CommentEntity","EventEntityType","EventObjectType","fleetTruckTypes","Vehicle","toString","Van","TailLiftTruck","BoxTruck","ContainerTruck","TractorUnit","CraneTruck","DumpTruck","SideLoaderTruck","Incoterms","label","TenantBusinessAreas","Forwarder","Carrier","TimeZones","Translate","require","I18n","getCurrentLanguage","moment","locale","values","forEach","elem","t","param","useDefaultFormat","DateFormat","country","countries","element","language","LOCAL_STORAGE_CURRENT_LANGUAGE","currentLang","langName","languages","find","l","name","group","onlyText","debug","getDebug","indexOf","i","targetKey","substring","rest","slice","TranslationApi","upsert","english","finnish","estonian","className","onClick","e","newValue","prompt","undefined","reload","placement","target","currentDebug","LOCAL_STORAGE_CURRENT_LANGUAGE_DEBUG","DateTimeFormat","AppUserRoles","UserRoleTypeEnum","FilterDatePeriod","SYSTEM","SITE_NAME","BLANK_LINK","AppScope","process","IS_PRODUCTION","LOCAL_STORAGE_PROFILE_KEY","LOCAL_STORAGE_REFRESH_TOKEN_KEY","LOCAL_STORAGE_THEME_SETTINGS","LOCAL_STORAGE_YOU_WERE_LOGGED_OFF_MESSAGE","LOCAL_STORAGE_APP_SCOPE","MAX_UPLOAD_FILE_SIZE","languageId","icon","tenantCodeMinLength","notDeliveredShipmentStatuses","Received","Processing","InTransit","shipmentFilterStatuses","Delivered","Canceled","priceRequestFilterStatuses","WaitingConfirmed","Accepted","Rejected","shippingOrderFilterStatuses","Draft","invoiceFilterStatuses","Sent","Paid","fileDownload","CommonUtilities","object","me","charAt","toUpperCase","mainAction","catchAction","s4","Math","floor","random","file","inline","fileName","guid","createObjectURL","open","type","ReactScrollDefaultOptions","duration","smooth","sleep","ms","a","Promise","resolve","NumberUtilities","strVal","parseFloat","parseInt","numberVal","toFixed","ErrorType","PaginatedSearchBaseOptionsResult","page","sizePerPage","Pagination","skip","take","sortName","sortOrder","Number","PaginatedListResult","contextObjects","totalCount","pages","ValidationFailure","propertyName","attemptedValue","customState","errorCode","ValidationResult","title","description","GenericError","res","NotFoundErrorWrapper","ItemNotFound","FailedResponseError","InternalServerError","TableData","pagination","paginatedListResult","total","getDefault","DataTableOptions","count","rowsPerPage","onChangePage","onChangeRowsPerPage","serverSide","filter","selectToolbarPlacement","filterType","download","print","search","viewColumns","rowsPerPageOptions","sizePerPageList","selectableRows","setTableProps","textLabels","noMatch","toolTip","columnHeaderTooltip","column","next","previous","displayRows","sizePerPageListLarger","primaryColor","primaryDarkColor","createTheme","palette","custom","white","COLLAPSE_MENU","COLLAPSE_TOGGLE","FULL_SCREEN","FULL_SCREEN_EXIT","CHANGE_LAYOUT","CHANGE_SUB_LAYOUT","LAYOUT_TYPE","RESET","NAV_BACK_COLOR","HEADER_BACK_COLOR","RTL_LAYOUT","NAV_FIXED_LAYOUT","HEADER_FIXED_LAYOUT","BOX_LAYOUT","NAV_CONTENT_LEAVE","NAV_COLLAPSE_LEAVE","UserModelAccountStatus","UserModelRoles","userParam","user","getCurrentUser","roleNames","userRoles","getCurrentUserRoles","result","profileStr","parse","ex","setItem","expiresIn","dateData","calculateExpirationDateAndHalfExpirationDate","expiresOn","halfTimeExpiresOn","removeItem","halfExpirationDate","getHalfExpirationDateUtc","momentHalfExpirationDateUtc","utc","getExpirationDateUtc","expiresOnUtc","nowUtc","diff","Date","getTime","callback","grant_type","refresh_token","getRefreshToken","scope","setTokenOnly","access_token","setExpirationDateAndHalfExpirationDateOnly","expires_in","roles","user1","superAdmin","username","collapseRightMenu","hasValidRoles","tenantUser","tenantAdmin","tenantCustomer","cl","hasValidRole","tenant","getAppScope","clientportal","URL_TAB","RouterUtilities","urlPrefix","aggregatedParams","hasOwnProperty","updateQueryStringParameter","format","objectToUrlString","newUrl","protocol","host","pathname","history","pushState","path","uri","re","RegExp","match","hash","separator","searchString","substr","queryString","paths","split","getRoot","CustomerApi","ApiUtilities","formValues","handlePost","handlePut","handleDelete","contactId","formData","handleFilePost","PriceRequestApi","number","handleFileGet","filename","downloadFile","InvitationApi","tenantId","email","UserApi","userId","AccountApi","viewModel","activated","REDUCER_KEY__SHIPMENT","ShipmentState","shipmentId","loading","defaultState","state","action","isType","editStartActions","started","done","failed","editSubmitActions","REDUCER_KEY__PRICE_REQUEST","PriceRequestState","priceRequestId","pricesSubmitActions","ShipmentApi","snapshot","snapshotParam","shipmentNumber","pageSize","shippingOrderId","paperSize","handleFileGetPost","cmrNumber","projectId","isVerified","formValue","AddressBookApi","customerId","PartnerApi","TerminalApi","getTenantRoot","TenantApi","tenantCode","FleetApi","REDUCER_NAME__ADDRESS_BOOK","AddressBookItemState","errorWrapperContact","addressBookItemId","createSubmitActions","asyncActions","actionCreatorFactory","async","submit","dispatch","getAll","configureApiInterceptors","setThemeSettings","getThemeSettingValue","actionTypes","currentLanguage","store","syncTranslationWithStore","loadTranslations","setLocale","exception","CommonUtils","scrollToTop","tryCatchWrapper","requestCallbacks","validateStatus","reject","responseCallbacks","interceptors","use","start","deliveryId","submitAction","toastr","offeredPrice","tryFormatFloat","maxUsers","tryFormatInt","add","success","getSingle","tenantInfo","TenantResponseViewModel","update","onSuccess","getState","getList","paginatedList","tableData","createTableDataFrom","form","findUserNameExists","existingUser","addUserForTenant","StatusCanceledIcon","width","height","fill","viewBox","xmlns","d","REDUCER_NAME__APP","loginSuccessful","lastUsername","lastClientCode","startActions","loginActions","loginClientPortalActions","startInvitationActions","submitInvitationActions","startSpotRequestActions","startPulicInvoiceRequestActions","submitSpotRequestActions","startShippingOrderConfirmation","submitShippingOrderConfirmation","TranslationsInsertUpdateViewModel","translationKey","translationGroup","cargoKeepApplicationEnum","options","viewmodel","translatableSystem","system","StatusProcessingIcon","ShippingOrderApi","routeId","waybillNumber","SpotRequestApi","saveOpenedTime","AddressUtilities","address","lng","lat","openingHours","weekDay","firstAddressLine","city","postalCode","contacts","SelectComponentValue","contact","unshift","AddressComponent","showContact","showAddressLine2","showNotes","showCompanyName","hideAddress","hideFlag","showPostcode","contactData","clsx","flag","secondAddressLine","style","marginRight","phone","notes","ShipmentResponseViewModel","saveAsDraft","collectionTailLiftTruck","deliveryTailLiftTruck","operatorTag","operatorId","reference","loadingReference","deliveryReference","incoterm","incotermPlace","consignor","consignee","collection","delivery","fixedPickUpDate","fixedDeliveryDate","pickUpDate","pickUpTime","pickUpTimeTo","latestPickUpDate","latestPickUpTime","latestPickUpTimeTo","deliveryDate","deliveryTime","deliveryTimeTo","latestDeliveryDate","latestDeliveryTime","latestDeliveryTimeTo","useAlternativeLoadingAddress","useAlternativeDeliveryAddress","packages","ldmCorrection","estimatePickup","estimateDelivery","agreedPrice","hasShippingOrders","additionalInformation","documentsVerified","documentsVerifiedAt","documentsVerifiedBy","ShipmentPackageViewModel","unitId","quantity","weight","totalWeight","volume","ldm","dangerousGoods","coldFrozen","fragile","stackable","temperature","temperatureMax","delicateGoods","classVal","un","properShippingName","pg","ShipmentPackagesTotalViewModel","PriceRequestUtilities","Sender","offeredPrices","price","purchasePrice","PriceRequestPackagesTotalViewModel","reduce","acc","val","Expired","str","getStatusTranslation","TooHighPrice","Postpone","DeliveryNotNeedAnyMore","SomethingElse","getRejectReasonTranslation","getStatusIcon","color","getStatusColor","shipment","shipmentInfo","alternativeAddress","ShipmentDetailResponseViewModel","ShipmentUtilities","formatFormValuesNumbers","priceRequest","priceRequestInfo","PriceRequestDetailResponseViewModel","formValidationsString","formatPricesValuesNumbers","saveOfferedPrices","StatusDraftIcon","StatusDeliveredIcon","PriceRequestResponseViewModel","noticeEmails","sendNotice","selectedOffer","PriceRequestPackageViewModel","submitCreateAction","terminalId","terminal","terminalInfo","TerminalResponseViewModel","CustomerUtilities","customer","customerInfo","CustomerResponseViewModel","addContact","updateContact","inviteContact","FleetUtilities","fleetId","fleetInfo","FleetResponseViewModel","AddressBookItemResponseViewModel","PartnerUtilities","HouseIcon","stroke","strokeWidth","fillRule","clipRule","LogisticsIcon","EllipsisIcon","stroke-width","fill-opacity","AccountingIcon","fill-rule","clip-rule","SalesIcon","paymentTermDays","Warehouse","Logistics","Accounting","Sales","startAction","appScope","TMS","loginUser","authUtl","AuthUtilities","setToken","setAppScope","REDUCER_NAME__ADDRESS_BOOKS","REDUCER_NAME__SHIPMENTS","REDUCER_NAME__PRICE_REQUESTS","VehicleIcon","version","BoxTruckIcon","stroke-linecap","stroke-linejoin","stroke-dasharray","stroke-opacity","ry","rx","cy","cx","paint-order","ContainerIcon","ForkliftIcon","CraneTruckIcon","VanIcon","TailLiftTruckIcon","BoxSemitrailerIcon","FlatbedTrailerIcon","ContainerTruckIcon","TractorUnitIcon","TautlinerIcon","MegaTrailerIcon","RefrigeratedTrailerIcon","FullTrailerIcon","DumpTruckIcon","DumpTrailerIcon","WalkingFloorTrailerIcon","SideLoaderTruckIcon","SideLoaderTrailerIcon","InLoaderTrailerIcon","HeavyLoadTrailerIcon","maxWeight","maxLdm","maxVolume","averageConsumption","costPerHour","costPerKm","Forklift","BoxSemiTrailer","FlatbedTrailer","Container","Tautliner","MegaTrailer","RefrigeratedTrailer","FullTrailer","DumpTrailer","WalkingFloorTrailer","SideLoaderTrailer","InLoaderTrailer","HeavyLoadTrailer","ClientPortal","clientCode","loader","Aux","props","children","ScrollToTop","prevProps","scrollTo","React","Component","withRouter","route","asyncComponent","importComponent","mounted","component","Nprogress","default","setState","rows","ready","defaultPath","basename","layout","subLayout","collapseMenu","layoutType","headerBackColor","rtlLayout","navFixedLayout","headerFixedLayout","boxLayout","initialState","isOpen","isTrigger","isFullScreen","conf","trigger","updateThemeSettings","menu","triggerIndex","authReducer","toastrReducer","i18nReducer","createReducer","asyncReducers","combineReducers","createHistory","middlewares","routerMiddleware","thunkMiddleware","b","injectAsyncReducer","asyncReducer","replaceReducer","setHandleMissingTranslation","navIcon","navIcons","items","navBadge","navBadges","badge","badgeClass","NavItem","itemTitle","subContent","itemTarget","external","rel","NavIcon","NavBadge","currentLink","NavLink","to","startsWith","exact","mainContent","onItemLeave","windowWidth","classes","onItemClick","connect","windowSize","NavCollapse","document","findIndex","collapse","onCollapseToggle","navItems","collapses","Object","keys","navLinkClass","navItemClass","DEMO","onMouseLeave","onNavCollapseLeave","onMouseEnter","navGroup","groups","NavContent","scrollWidth","prevDisable","nextDisable","scrollPrevHandler","wrapperWidth","getElementById","clientWidth","scrollNextHandler","contentWidth","fetchPriceRequests","getOpenedRequestsCount","priceRequestCount","fetchShipment","getInboxShipmentsCount","inboxCount","unreadComments","isTenantUser","setInterval","getActiveRoute","navigation","navItem","NavGroup","scrollStyle","marginLeft","prevClass","nextClass","onNavContentLeave","OutsideClick","setWrapperRef","bind","handleOutsideClick","addEventListener","removeEventListener","node","wrapperRef","event","contains","onToggleNavigation","ref","Navigation","resize","onChangeLayout","scroll","el","querySelector","pageYOffset","position","transition","marginTop","removeAttribute","navClass","classList","remove","navBarClass","navigationTenant","superadmin","navigationAdmin","navigationCustomerPortal","navContent","fetchPlatformSearch","SelectComponentApi","platformSearchIndex","NavSearch","useState","isSearch","setIsSearch","isLoading","setIsLoading","searchResult","setSearchResult","showSearchResult","setShowSearchResult","loadResult","searchText","keyword","includeIds","debouncedSave","useCallback","debounce","nextValue","ResultComponent","gd","objectTranslation","placeholder","onChange","aria-label","aria-hidden","Collapse","LoadingComponent","showOverlayType","HouseRoundedIcon","fillOpacity","NavLeft","Dropdown","Item","eventKey","userData","currentUserData","alignRight","drop","Toggle","variant","Tooltip","Menu","Header","quickLinkComponent","Divider","company","onFullScreen","NavRight","listOpen","switchLanguage","lang","setCurrentLanguage","src","Avatar1","alt","Avatar2","isAdmin","powerUsers","data-toggle","aria-haspopup","aria-expanded","toggleDebug","FlagComponent","generateKey","clientName","logOut","NavBar","rightToggle","headerClass","toggleClass","navHtml","mainLogo","logo","logout","navBar","PlusIcon","fontSize","prevState","Breadcrumb","main","UNSAFE_componentWillReceiveProps","getCollapse","breadcrumb","breadcrumbs","Link","Layout","layoutOption","onChangeLayoutType","data-value","onReset","ColorOptions","colorOptions","onChangeHeaderBackColor","LayoutOptions","checked","onChangeBoxLayout","htmlFor","layoutOptionHeaderFixWithoutBox","layoutOptionNavFixWithoutBox","onChangeHeaderFixedLayout","onChangeNavFixedLayout","onChangeRtlLayout","TabConfig","Configuration","configOpen","configClass","AdminLayout","fullScreenExitHandler","fullscreenElement","webkitIsFullScreen","mozFullScreen","msFullscreenElement","onFullScreenExit","onUNSAFE_componentWillMount","mainClass","enabled","mobileOutClickHandler","fallback","Loader","Component404","PrivateRoute","TheComponent","currentUser","allowedRoles","utils","render","isCurrentUserLoggedIn","Redirect","from","ForAdminRoutesComponent","Route","container","reducer","REDUCER_NAME__DASHBOARD","REDUCER_NAME__TENANTS","REDUCER_KEY__TENANT","REDUCER_NAME__TRANSLATIONS","ForTenantRoutesComponent","REDUCER_KEY__PROFILE","REDUCER_NAME__INBOX","REDUCER_NAME__EMPLOYEES","REDUCER_NAME__MESSAGE_TEMPLATE_TYPE","REDUCER_NAME__TERMS_AND_CONDITIONS_TYPE","REDUCER_NAME__PACKAGE_TYPE","REDUCER_NAME__VAT_RATES","REDUCER_NAME__IP_ACCESS_MANAGEMENT","REDUCER_NAME__FLEETS","REDUCER_KEY__FLEET","REDUCER_NAME__TERMINALS","REDUCER_KEY__TERMINAL","REDUCER_NAME__CUSTOMERS","REDUCER_NAME__CUSTOMERS_IMPORT","REDUCER_KEY__CUSTOMER","REDUCER_NAME__SHIPPING_ORDERS","REDUCER_KEY__SHIPPING_ORDER","REDUCER_NAME__COMMENTS","REDUCER_NAME__PROJECTS","REDUCER_NAME__PROJECT","REDUCER_NAME__PARTNERS","REDUCER_KEY__PARTNER","REDUCER_NAME__INVOICES","REDUCER_KEY__INVOICE","REDUCER_NAME__CONTROL_TOWER","ForClientPortalRoutesComponent","MainAppComponent","Admin","Tenant","timeOut","newestOnTop","preventDuplicates","transitionIn","transitionOut","progressBar","RestrictedRoute","isLoggedIn","App","routes","Switch","REDUCER_KEY__CHANGE_PASSWORD","currentState","Boolean","hostname","windowIfDefined","enhancers","devToolsExtension","ext","shouldHotReload","createStore","compose","applyMiddleware","app","BrowserRouter","ReactDOM","navigator","serviceWorker","registration","unregister","timeString","date","local","toLocal","dateTime","setHours","daysDelta","setDate","getDate","getDateWithDayDelta","dateStart","dateEnd","end","abs","round","midnight","dateWithoutTime","unix","isSame","fromatString","prepared","objectKeys","isMoment","toDate","Array","isArray","toUTC","addMinutes","getTimezoneOffset","parseISOWithoutTimeZone","parseISO","toISOStringWithoutTimeAndTz","setUTCHours","toISOString","filterStringWithDelta","getTodayWithDayDelta","dt","todayWithOutTimeZone","isoWeekDay","isoWeekday","toLowerCase","inviteNewUserAsync","role","inviteTenantAdmin","inviteTenantUser","inviteTenantDriver","TenantState","errorWrapperUser","tenantUserId","usersTableData","usersPagination","loadingUsers","loadingUser","current","createCancel","createStartActions","editCancel","getUsersActions","getUserTenantsActions","addExistingUserActions","invioteUserSubmitActions","FleetState","TerminalState","CustomerState","errorInviteCustomer","contactSubmitActions","contactInviteActions","PartnerState","partnerId","startInvitation","InvitationRequestViewModel","encodeURI","getActiveInvitation","submitInvitation","addUser","submitSpotRequest","SpotRequestUtilities","formatOfferFormValuesNumbers","submitOfferPricesForm","SpotRequestPublicViewModel","tenantName","partner","partnerContact","contactPerson","contactPersonPhone","comment","validUntil","totalLdm","totalVolume","canAddOffer","isExpired","prices","contactPersonEmail","startSpotRequest","getActiveRequest","PublicInvoiceViewModel","fetchPublicInvoiceRequest","invoiceId","PublicApi","getInvoiceInfo","module","exports","centered","countries_en","getCountries","etCountries","code","unitPrice","vatRate","priceType","sales","purchase","quantityText","generatedWord","isDefault","AddressBookItemsRequestViewModel","locationSearchStringParse","AddressBookItemContactListResponseViewModel","ShipmentsRequestViewModel","pickupPeriod","pickupDateFrom","pickupDateTo","deliveryPeriod","deliveryDateFrom","deliveryDateTo","statuses","pickupCountries","deliveryCountries","withOutProject","withOutInvoice","excludeIds","classKey","statusString","salesPrice","createdBy","createdOn","updatedBy","updatedOn","invoiceNumber","projectName","priceRequestNumber","ShipmentDraftPricesResponseViewModel","salesInvoiceId","salesInvoiceNumber","FlagAndAddressComponent","tooltipText","dangerouslySetInnerHTML","__html","WaitingPrices","PricesOffered","Approved","getInvoiceStatusColor","MobilePhoneIcon","StatusInTransitIcon","paymentTerms","partnerContacts","contactSelect","PriceRequestsRequestViewModel","validUntilDate","statusComment","webpackContext","req","webpackContextResolve","__webpack_require__","o","Error","actionCreator","confirmLoading","TenantsRequestViewModel","period","startDate","endDate","StatusReceivedIcon","firstName","lastName","customerPortalInvitation","userExists","preferredLanguage","objectId","fileId","entityName","ShippingOrderState","InvoiceState","Actions","businessArea","vatNr","registerNr","region","additionalData","contactName","contactPhoneNumber","contactEmail","locked","isDemoAccount","bookingPortalEnabled","allowAccountingSystemIntegration","allowSendingEInvoices","activeUntil","regNumber","model","driverId","firstRegistrationDate","nextInspectionDate","insuranceUntilDate","adrEquipment","tailLift","doubleDeckLoading","sideOpening","dualTemperature","minTemp","maxTemp","isActive","FleetsRequestViewModel","invoiceAddress","CustomersRequestViewModel","loadingGateNumber","openFrom","openTo","TerminalsRequestViewModel","ShippingOrderPublicViewModel","partnerConfirmationDateTime","getPublicSO"],"mappings":"mRAcqBA,E,qGACnB,SAA+BC,GAC7B,IAAMC,EAAgB,GACtB,IAAK,IAAMC,KAAOF,EAEhBC,EAAcE,KAAKC,mBAAmBF,GAAO,IAAME,mBAAmBJ,EAAIE,KAE5E,OAAOD,EAAcI,KAAK,O,+BAI5B,WAAoE,IAApCC,EAAmC,uDAAN,KACrDC,EAAQD,GAAeE,aAAaC,QAAQC,MAA4B,KAE9E,MAAO,CACL,eAAgB,mBAChBC,cAAc,UAAD,OAAYJ,GACzB,6BAA8B,e,4BAIlC,WACE,IAAMA,EAAQC,aAAaC,QAAQC,MAA4B,KAC/D,MAAO,CAELC,cAAc,UAAD,OAAYJ,M,8DAQ7B,WACEK,GADF,oGAEEC,EAFF,+BAE0B,KACxBN,EAHF,+BAGyB,KACvBO,EAJF,+BAIiC,KAEzBC,EAAcC,IAAcC,4BAA4BJ,GACxDK,EAA6B,CACjCC,QAASpB,EAASqB,kBAAkBb,GACpCM,OAAQE,EACRD,iBAAkBA,EAClBO,aAAc,QAXlB,SAc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AO,YAGEI,EAAoC,CAC/C,CACErI,MAAO,wBACPiI,MAAO,oBAET,CACEjI,MAAO,oBACPiI,MAAO,iEAET,CACEjI,MAAO,0BACPiI,MAAO,6BAET,CACEjI,MAAO,0BACPiI,MAAO,gEAET,CACEjI,MAAO,+BACPiI,MAAO,iEAET,CACEjI,MAAO,wBACPiI,MAAO,mDAET,CACEjI,MAAO,iCACPiI,MAAO,gDAET,CACEjI,MAAO,kCACPiI,MAAO,mCAET,CACEjI,MAAO,uBACPiI,MAAO,qBAET,CACEjI,MAAO,oBACPiI,MAAO,2CAET,CACEjI,MAAO,4BACPiI,MAAO,sBAET,CACEjI,MAAO,sBACPiI,MAAO,qBAET,CACEjI,MAAO,6BACPiI,MAAO,gCAET,CACEjI,MAAO,oBACPiI,MAAO,6DAET,CACEjI,MAAO,uBACPiI,MAAO,yBAET,CACEjI,MAAO,0BACPiI,MAAO,qBAET,CACEjI,MAAO,wBACPiI,MAAO,wBAET,CACEjI,MAAO,uBACPiI,MAAO,uBAET,CACEjI,MAAO,qBACPiI,MAAO,8BAET,CACEjI,MAAO,wBACPiI,MAAO,iDAET,CACEjI,MAAO,0BACPiI,MAAO,uBAET,CACEjI,MAAO,yBACPiI,MAAO,uBAET,CACEjI,MAAO,qBACPiI,MAAO,sBAET,CACEjI,MAAO,wBACPiI,MAAO,iCAET,CACEjI,MAAO,2BACPiI,MAAO,oBAET,CACEjI,MAAO,0BACPiI,MAAO,0BAET,CACEjI,MAAO,yBACPiI,MAAO,uBAET,CACEjI,MAAO,4BACPiI,MAAO,qBAET,CACEjI,MAAO,6BACPiI,MAAO,4BAET,CACEjI,MAAO,yBACPiI,MAAO,kCAET,CACEjI,MAAO,0BACPiI,MAAO,wBAET,CACEjI,MAAO,sBACPiI,MAAO,mDAET,CACEjI,MAAO,0BACPiI,MAAO,mCAET,CACEjI,MAAO,sBACPiI,MAAO,yBAET,CACEjI,MAAO,gCACPiI,MAAO,mCAET,CACEjI,MAAO,6BACPiI,MAAO,6BAET,CACEjI,MAAO,wBACPiI,MAAO,gCAET,CACEjI,MAAO,wBACPiI,MAAO,uCAET,CACEjI,MAAO,2BACPiI,MAAO,2BAET,CACEjI,MAAO,sBACPiI,MAAO,qDAET,CACEjI,MAAO,gCACPiI,MAAO,qCAET,CACEjI,MAAO,0BACPiI,MAAO,uCAET,CACEjI,MAAO,6BACPiI,MAAO,qBAET,CACEjI,MAAO,uBACPiI,MAAO,sBAET,CACEjI,MAAO,sBACPiI,MAAO,qCAET,CACEjI,MAAO,sBACPiI,MAAO,qBAET,CACEjI,MAAO,wBACPiI,MAAO,uBAET,CACEjI,MAAO,+BACPiI,MAAO,wBAET,CACEjI,MAAO,4BACPiI,MAAO,sBAET,CACEjI,MAAO,6BACPiI,MAAO,wBAET,CACEjI,MAAO,4BACPiI,MAAO,2CAET,CACEjI,MAAO,6BACPiI,MAAO,kCAET,CACEjI,MAAO,yBACPiI,MAAO,sBAET,CACEjI,MAAO,4BACPiI,MAAO,2BAET,CACEjI,MAAO,gCACPiI,MAAO,mDAET,CACEjI,MAAO,4BACPiI,MAAO,oCAET,CACEjI,MAAO,qBACPiI,MAAO,6CAET,CACEjI,MAAO,sBACPiI,MAAO,0BAET,CACEjI,MAAO,uBACPiI,MAAO,sBAET,CACEjI,MAAO,2BACPiI,MAAO,8BAET,CACEjI,MAAO,6BACPiI,MAAO,4BAET,CACEjI,MAAO,iCACPiI,MAAO,wBAET,CACEjI,MAAO,0BACPiI,MAAO,4BAET,CACEjI,MAAO,2BACPiI,MAAO,0BAET,CACEjI,MAAO,0BACPiI,MAAO,yBAET,CACEjI,MAAO,2BACPiI,MAAO,0BAET,CACEjI,MAAO,6BACPiI,MAAO,4BAET,CACEjI,MAAO,yBACPiI,MAAO,sCAET,CACEjI,MAAO,2BACPiI,MAAO,sBAET,CACEjI,MAAO,kCACPiI,MAAO,sBAET,CACEjI,MAAO,2BACPiI,MAAO,wBAET,CACEjI,MAAO,0BACPiI,MAAO,uBAET,CACEjI,MAAO,2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U,IAA0B,gC,gBCA3CD,EAAOC,QAAU,IAA0B,gC","file":"static/js/main.53b98531.chunk.js","sourcesContent":["import { LOCAL_STORAGE_TOKEN_KEY } from '../store/constant';\r\nimport axios, { AxiosError, AxiosPromise, AxiosRequestConfig } from 'axios';\r\nimport {\r\n ErrorWrapper,\r\n FailedResponseErrorWrapper,\r\n InternalServerErrorResponseErrorWrapper,\r\n ServiceResult,\r\n} from '../store/base';\r\nimport DateUtilities from './DateUtilities';\r\nimport AuthUtils from './AuthUtils/AuthUtils';\r\nimport qs from 'qs';\r\nimport { routePaths } from '../store/api.constants';\r\nimport LocaleUtilities from './LocaleUtilities';\r\n\r\nexport default class ApiUtils {\r\n public static objToQueryString(obj) {\r\n const keyValuePairs = [];\r\n for (const key in obj) {\r\n // @ts-ignore\r\n keyValuePairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(obj[key]));\r\n }\r\n return keyValuePairs.join('&');\r\n }\r\n\r\n // Reusable headers, because they are used in 90%+ of all the cases\r\n public static getDefaultHeaders(accessToken: string | null = null) {\r\n const token = accessToken || localStorage.getItem(LOCAL_STORAGE_TOKEN_KEY) || null;\r\n\r\n return {\r\n 'Content-Type': 'application/json',\r\n Authorization: `Bearer ${token}`,\r\n 'CargoKeep-Application-Type': 'CargoKeep',\r\n };\r\n }\r\n\r\n public static getFileHeaders() {\r\n const token = localStorage.getItem(LOCAL_STORAGE_TOKEN_KEY) || null;\r\n return {\r\n // NB! 'Content-Type' must no exist or file upload will fail!\r\n Authorization: `Bearer ${token}`,\r\n };\r\n }\r\n\r\n //\r\n // Main Methods\r\n //\r\n\r\n public static async handleGet(\r\n URL: string,\r\n params: Object | null = null,\r\n token: string | null = null,\r\n paramsSerializer: any | null = null,\r\n ): Promise {\r\n const fixedParams = DateUtilities.tryConvertAllMomentsToDates(params);\r\n const config: AxiosRequestConfig = {\r\n headers: ApiUtils.getDefaultHeaders(token),\r\n params: fixedParams,\r\n paramsSerializer: paramsSerializer,\r\n responseType: 'json',\r\n };\r\n\r\n const response = await ApiUtils.handleApi(axios.get>(URL, config));\r\n return ApiUtils.returnOrThrow(response);\r\n }\r\n\r\n public static async handleGetWithArrayParams(\r\n URL: string,\r\n params: Object | null = null,\r\n token: string | null = null,\r\n ): Promise {\r\n return this.handleGet(URL, params, token, function (params) {\r\n return qs.stringify(params, { arrayFormat: 'indices' });\r\n });\r\n }\r\n\r\n public static async handlePost(URL: string, data: object): Promise {\r\n const config: AxiosRequestConfig = {\r\n headers: ApiUtils.getDefaultHeaders(),\r\n method: 'POST',\r\n responseType: 'json',\r\n };\r\n\r\n const response = await ApiUtils.handleApi(\r\n axios.post>(URL, JSON.stringify(data), config),\r\n );\r\n\r\n return ApiUtils.returnOrThrow(response);\r\n }\r\n\r\n public static async handlePatch(URL: string, data: object | null): Promise {\r\n const config: AxiosRequestConfig = {\r\n headers: ApiUtils.getDefaultHeaders(),\r\n method: 'PATCH',\r\n responseType: 'json',\r\n };\r\n\r\n const response = await ApiUtils.handleApi(\r\n axios.patch>(URL, JSON.stringify(data), config),\r\n );\r\n return ApiUtils.returnOrThrow(response);\r\n }\r\n\r\n public static async handlePut(URL: string, data: object | null): Promise {\r\n const config: AxiosRequestConfig = {\r\n headers: ApiUtils.getDefaultHeaders(),\r\n method: 'PUT',\r\n responseType: 'json',\r\n };\r\n\r\n const response = await ApiUtils.handleApi(\r\n axios.put>(URL, JSON.stringify(data), config),\r\n );\r\n return ApiUtils.returnOrThrow(response);\r\n }\r\n\r\n public static async handleDelete(URL: string, data: any | null = null): Promise {\r\n const config: AxiosRequestConfig = {\r\n headers: ApiUtils.getDefaultHeaders(),\r\n method: 'DELETE',\r\n responseType: 'json',\r\n };\r\n\r\n const response = await ApiUtils.handleApi(axios.delete(URL, config));\r\n // @ts-ignore\r\n return ApiUtils.returnOrThrow(response);\r\n }\r\n\r\n public static returnOrThrow(response: ServiceResult | undefined): T {\r\n if (!response?.isSuccessful && response?.validation) {\r\n const errorWrapper = new ErrorWrapper(\r\n LocaleUtilities.i18n('form-error-title-Validation error', 'base.error', true),\r\n response?.message,\r\n );\r\n if (response?.validation) {\r\n errorWrapper.formValidations = response.validation;\r\n }\r\n throw errorWrapper;\r\n } else if (!response?.isSuccessful) {\r\n const errorWrapper = new ErrorWrapper(\r\n LocaleUtilities.i18n(\r\n 'base-error-title-Please remove or report about errors',\r\n 'base.error',\r\n true,\r\n ),\r\n response?.message,\r\n );\r\n if (response?.validation) {\r\n errorWrapper.formValidations = response.validation;\r\n }\r\n throw errorWrapper;\r\n }\r\n return response.payload;\r\n }\r\n\r\n //\r\n // Edge cases\r\n //\r\n\r\n public static async handleFilePost(\r\n URL: string,\r\n data: FormData,\r\n configProp?: Partial,\r\n ): Promise {\r\n const config: AxiosRequestConfig = {\r\n headers: ApiUtils.getFileHeaders(),\r\n method: 'POST',\r\n ...configProp,\r\n };\r\n const response = await ApiUtils.handleApi(axios.post>(URL, data, config));\r\n return ApiUtils.returnOrThrow(response);\r\n }\r\n\r\n public static async handleFileGet(URL: string, params: Object | null = null): Promise {\r\n const fixedParams = DateUtilities.tryConvertAllMomentsToDates(params);\r\n var urlParams = this.objToQueryString(fixedParams);\r\n var url = URL + '?' + urlParams;\r\n const data: any = await fetch(url, {\r\n headers: new Headers(ApiUtils.getDefaultHeaders()),\r\n });\r\n if (!data.ok) {\r\n var body = await data.json();\r\n return ApiUtils.returnOrThrow(body);\r\n }\r\n return await data.blob();\r\n }\r\n\r\n public static async handleFileGetPost(URL: string, data: any): Promise {\r\n const dataResponse: any = await fetch(URL, {\r\n headers: new Headers(ApiUtils.getDefaultHeaders()),\r\n method: 'POST',\r\n body: JSON.stringify(data),\r\n });\r\n if (!dataResponse.ok) {\r\n var body = await dataResponse.json();\r\n return ApiUtils.returnOrThrow(body);\r\n }\r\n return await dataResponse.blob();\r\n }\r\n\r\n /**\r\n * Every API call goes through this method\r\n * @param {AxiosPromise} promise\r\n * @param {boolean} throwT\r\n * @param useTokenRefreshCondition\r\n * @returns {Promise}\r\n */\r\n public static async handleApi(\r\n promise: AxiosPromise,\r\n throwT: boolean = false,\r\n useTokenRefreshCondition: boolean = true,\r\n ): Promise {\r\n const authUtil = new AuthUtils();\r\n\r\n if (authUtil.tokenNeedsRefreshing() && useTokenRefreshCondition) {\r\n console.info('Refreshing token. UseTokenRefreshCondition: ', useTokenRefreshCondition);\r\n return authUtil.refreshToken(() => doApiCall());\r\n } else {\r\n return doApiCall();\r\n }\r\n\r\n function doApiCall(): Promise {\r\n return promise\r\n .then(function onFulfilled(value): T {\r\n if (value.status === 422) {\r\n //console.log('Validation error');\r\n }\r\n return value.data;\r\n })\r\n .catch(function onRejected(error: AxiosError) {\r\n /*if (error?.message === 'Network Error') {\r\n new AuthUtils().unsetToken();\r\n //eslint-disable-next-line no-restricted-globals\r\n location.href = routePaths.errors.offline;\r\n }*/\r\n if (error.response) {\r\n // The request was made and the server responded with a status code\r\n // that falls out of the range of 2xx\r\n // toastr.error(error.response.status.toString(), 'Request was not successful');\r\n // console.info(error.response.data, error.response.status, error.response.headers);\r\n if (error.response.status === 500) {\r\n throw new InternalServerErrorResponseErrorWrapper(\r\n error.response.data?.message,\r\n );\r\n }\r\n if (error.response.status === 401) {\r\n // console.log('handleApi - status 401 - not authorized - redirecting to login');\r\n new AuthUtils().unsetToken();\r\n // TODO: push to\r\n setTimeout(() => {\r\n if (!AuthUtils.isClientPortal()) {\r\n // eslint-disable-next-line no-restricted-globals\r\n location.href = routePaths.login;\r\n } else {\r\n // eslint-disable-next-line no-restricted-globals\r\n location.href = routePaths.loginClientPortal;\r\n }\r\n }, 1000);\r\n }\r\n\r\n if (throwT && error.response.data) {\r\n throw error.response.data;\r\n } else {\r\n if (error.response.data?.validation?.errors?.length > 0) {\r\n throw new FailedResponseErrorWrapper(\r\n error.response.data?.validation?.errors.map((item, index) => {\r\n return item.errorMessage + ';';\r\n }),\r\n );\r\n } else {\r\n throw new FailedResponseErrorWrapper(\r\n error.response.data?.message,\r\n );\r\n }\r\n }\r\n } else if (error.request) {\r\n // The request was made but no response was received\r\n // `error.request` is an instance of XMLHttpRequest in the browser and an instance of\r\n // http.ClientRequest in node.js\r\n // console.info(error.request);\r\n throw new FailedResponseErrorWrapper('No response was received');\r\n } else {\r\n // Something happened in setting up the request that triggered an Error\r\n // console.info('Error', error.message);\r\n // toastr.error('Error', error.message);\r\n throw new FailedResponseErrorWrapper(error.message);\r\n }\r\n });\r\n }\r\n }\r\n}\r\n","import {\r\n APP_NAME,\r\n APP_PORTAL_NAME,\r\n IS_CLIENT_PORTAL_URL,\r\n IS_DEV,\r\n IS_MOBILE_APP_URL,\r\n MOBILE_APP_NAME,\r\n} from './constant';\r\n\r\nconst BACKEND_URL = (): string => {\r\n if (IS_CLIENT_PORTAL_URL)\r\n return window.location.origin.replace(`://${APP_PORTAL_NAME}.`, '://api.') + '/';\r\n if (IS_MOBILE_APP_URL)\r\n return window.location.origin.replace(`://${MOBILE_APP_NAME}.`, '://api.') + '/';\r\n return window.location.origin.replace(`://${APP_NAME}.`, '://api.') + '/';\r\n};\r\n// By convention we use the backend on the same domain as the UI.\r\n// E.g. 'tms.cargokeep.com' uses backend 'api.cargokeep.com'\r\n// This preserves localhost as is.\r\nexport const BACKEND_HOST = IS_DEV ? 'http://localhost:64665/' : BACKEND_URL();\r\n\r\nexport const BACKEND_HOST_AUTH = (): string => {\r\n return BACKEND_HOST;\r\n};\r\n\r\nexport const BACKEND_HOST_MAIN = (): string => {\r\n return BACKEND_HOST;\r\n};\r\n\r\nexport const BACKEND_HOST_TRANSLATIONS = (): string => {\r\n // for developer's convenience, use translations from sandbox normally.\r\n if (IS_DEV) return 'http://localhost:64665/';\r\n else return BACKEND_HOST;\r\n};\r\n\r\nexport const BACKEND_HOST_FILE_UPLOAD = (): string => {\r\n return BACKEND_HOST;\r\n};\r\n\r\n/*\r\n Backend routes\r\n */\r\nexport const endpoints = {\r\n auth: {\r\n register: 'api/account/register',\r\n login: 'connect/token',\r\n },\r\n};\r\n\r\n/*\r\n Frontend routes\r\n */\r\nexport const routePaths = {\r\n dashboard: '/dashboard',\r\n dashboard1: '/',\r\n login: '/login',\r\n loginClientPortal: '/client-portal',\r\n controlTower: '/ct',\r\n invitation: '/invitation',\r\n spotRequest: '/spot_request',\r\n shippingOrder: '/shipping-order',\r\n publicInvoice: '/public-invoice',\r\n changePassword: '/change-password',\r\n resetPassword: '/reset-password',\r\n profile: '/profile',\r\n settings: '/settings',\r\n settingsNavs: {\r\n users: '/employees',\r\n vat: '/vat',\r\n packageTypes: '/package_types',\r\n termsAndConditions: '/terms_and_conditions',\r\n invoice: '/invoice_settings',\r\n pdf: '/pdf_settings',\r\n messageTemplates: '/message_templates',\r\n ipAccessManagement: '/ip_access_management',\r\n preferences: '/preferences',\r\n },\r\n messagetemplates: {\r\n list: '/message_template',\r\n new: '/message_template/new',\r\n edit: '/message_template/:id',\r\n editId: (id: number) => `/message_template/${id}`,\r\n },\r\n tenants: {\r\n list: '/tenants',\r\n new: '/tenants/new',\r\n edit: '/tenants/:id',\r\n editId: (id: string) => `/tenants/${id}`,\r\n },\r\n inbox: {\r\n list: '/inbox',\r\n },\r\n priceRequests: {\r\n list: '/price-requests',\r\n display: '/price-request/:id',\r\n new: '/price-requests/new',\r\n edit: '/price-requests/:id',\r\n editId: (id: string) => `/price-requests/${id}`,\r\n displayId: (id: string) => `/price-request/${id}`,\r\n },\r\n addressBook: {\r\n list: '/address-book',\r\n new: '/address-book/new',\r\n edit: '/address-book/:id',\r\n editId: (id: string) => `/address-book/${id}`,\r\n },\r\n projects: {\r\n list: '/projects',\r\n edit: '/projects/:id',\r\n editId: (id: string) => `/projects/${id}`,\r\n },\r\n shipments: {\r\n list: '/shipments',\r\n display: '/shipment/:id',\r\n new: '/shipments/new',\r\n edit: '/shipments/:id',\r\n editId: (id: string) => `/shipments/${id}`,\r\n displayId: (id: string) => `/shipment/${id}`,\r\n snapshotId: (id: string) => `/shipment/${id}?snapshot=true`,\r\n },\r\n shippingOrders: {\r\n list: '/shipping-orders',\r\n edit: '/shipping-orders/:id',\r\n displayId: (id: string) => `/shipping-orders/${id}`,\r\n editId: (id: string) => `/shipping-orders/${id}`,\r\n },\r\n terminals: {\r\n list: '/terminal',\r\n new: '/terminal/new',\r\n edit: '/terminal/:id',\r\n editId: (id: string) => `/terminal/${id}`,\r\n },\r\n clients: {\r\n list: '/client',\r\n new: '/client/new',\r\n edit: '/client/:id',\r\n import: '/client/import',\r\n editId: (id: string) => `/client/${id}`,\r\n },\r\n fleet: {\r\n list: '/fleet',\r\n new: '/fleet/new',\r\n edit: '/fleet/:id',\r\n editId: (id: string) => `/fleet/${id}`,\r\n },\r\n partners: {\r\n list: '/partners',\r\n new: '/partners/new',\r\n edit: '/partners/:id',\r\n editId: (id: string) => `/partners/${id}`,\r\n },\r\n invoices: {\r\n list: '/invoices',\r\n edit: '/invoices/:id',\r\n editId: (id: string) => `/invoices/${id}`,\r\n },\r\n priceLists: {\r\n list: '/price-lists',\r\n },\r\n comments: {\r\n list: '/comments',\r\n },\r\n reports: {\r\n list: '/reports',\r\n },\r\n map: {\r\n list: '/map',\r\n },\r\n translations: {\r\n list: '/translations',\r\n },\r\n errors: {\r\n offline: '/offline',\r\n },\r\n};\r\n\r\nexport const navigateToPaths = {\r\n login: '/login',\r\n};\r\n","import { SelectComponentValue } from '../viewModels/common/SelectComponentValue';\r\n\r\nexport enum Platforms {\r\n NotSelected = 0,\r\n TMS = 5,\r\n ClientPortal = 10,\r\n MobileApp = 15,\r\n API = 20,\r\n}\r\n\r\nexport enum WeekDays {\r\n Monday = 1,\r\n Tuesday = 2,\r\n Wednesday = 3,\r\n Thursday = 4,\r\n Friday = 5,\r\n Saturday = 6,\r\n Sunday = 7,\r\n}\r\n\r\nexport enum InvoiceFrequency {\r\n NotSelected = 0,\r\n EveryMonth = 1,\r\n Quarterly = 2,\r\n HalfYearly = 3,\r\n Yearly = 4,\r\n}\r\n\r\nexport enum PackageTypeGroup {\r\n NotSelected = 0,\r\n Pallet = 1,\r\n Package = 2,\r\n LoadingMeter = 3,\r\n FullTruck = 4,\r\n Container = 5,\r\n}\r\n\r\nexport enum FleetType {\r\n NotSelected = 0,\r\n Vehicle = 1,\r\n Forklift = 2,\r\n CraneTruck = 3,\r\n TractorUnit = 4,\r\n Van = 5,\r\n TailLiftTruck = 9,\r\n BoxTruck = 10,\r\n BoxSemiTrailer = 16,\r\n Tautliner = 17,\r\n FlatbedTrailer = 20,\r\n MegaTrailer = 21,\r\n RefrigeratedTrailer = 22,\r\n FullTrailer = 23,\r\n Container = 25,\r\n ContainerTruck = 30,\r\n DumpTruck = 32,\r\n DumpTrailer = 34,\r\n WalkingFloorTrailer = 36,\r\n SideLoaderTruck = 40,\r\n SideLoaderTrailer = 42,\r\n InLoaderTrailer = 48,\r\n HeavyLoadTrailer = 50,\r\n}\r\n\r\nexport const fleetTruckTypes = [\r\n FleetType.Vehicle.toString(),\r\n FleetType.Van.toString(),\r\n FleetType.TailLiftTruck.toString(),\r\n FleetType.BoxTruck.toString(),\r\n FleetType.ContainerTruck.toString(),\r\n FleetType.TractorUnit.toString(),\r\n FleetType.CraneTruck.toString(),\r\n FleetType.DumpTruck.toString(),\r\n FleetType.SideLoaderTruck.toString(),\r\n];\r\n\r\nexport enum CustomerPosition {\r\n NotSelected = 0,\r\n Logistics = 'Logistics',\r\n Warehouse = 'Warehouse',\r\n Sales = 'Sales',\r\n Accounting = 'Accounting',\r\n Other = 'Other',\r\n}\r\n\r\nexport enum ShipmentStatus {\r\n NotSelected = 0,\r\n Draft = 1,\r\n Canceled = 5,\r\n Received = 10,\r\n Processing = 15,\r\n InTransit = 20,\r\n Delivered = 25,\r\n}\r\n\r\nexport enum PriceRequestStatus {\r\n NotSelected = 0,\r\n Draft = 1,\r\n Expired = 2,\r\n Canceled = 5,\r\n Received = 10,\r\n WaitingConfirmed = 20,\r\n Accepted = 25,\r\n Rejected = 30,\r\n}\r\n\r\nexport enum PriceRequestRejectReason {\r\n NotSelected = 0,\r\n TooHighPrice = 1,\r\n Postpone = 2,\r\n DeliveryNotNeedAnyMore = 3,\r\n SomethingElse = 4,\r\n}\r\n\r\nexport enum ShippingOrderStatus {\r\n NotSelected = 0,\r\n Draft = 1,\r\n Processing = 2,\r\n Canceled = 5,\r\n Collected = 10,\r\n InTransit = 20,\r\n Delivered = 25,\r\n}\r\n\r\nexport enum ShippingOrderGenericStatus {\r\n Undefined = 0,\r\n InProgress = 1,\r\n Delivered = 2,\r\n Delayed = 3,\r\n}\r\n\r\nexport enum ShipmentType {\r\n NotSelected = 0,\r\n Sender = 5,\r\n Receiver = 10,\r\n}\r\n\r\nexport enum InvoicePriceType {\r\n NotSelected = 0,\r\n TransportDomestic = 1,\r\n TransportEU = 8,\r\n Transport = 9,\r\n HomeDelivery = 2,\r\n Customs = 3,\r\n Storage = 4,\r\n Insurance = 5,\r\n ForwardedTransportService = 6,\r\n LogisticsManagement = 7,\r\n Other = 100,\r\n}\r\n\r\nexport enum InvoiceType {\r\n NotSelected = 0,\r\n Sales = 1,\r\n Purchase = 2,\r\n}\r\n\r\nexport enum InvoiceStatus {\r\n NotSelected = 0,\r\n Draft = 5,\r\n Sent = 10,\r\n Paid = 15,\r\n}\r\n\r\nexport enum UploadEntities {\r\n NotSelected = 0,\r\n TenantLogo = 1,\r\n Translations = 2,\r\n CustomerImport = 3,\r\n Shipment = 5,\r\n ShipmentPod = 6,\r\n ShippingOrder = 10,\r\n PriceRequest = 15,\r\n}\r\n\r\nexport enum SavedFilterView {\r\n NotSelected = 0,\r\n Shipment = 2,\r\n ShipmentClientPortal = 3,\r\n ShippingOrder = 4,\r\n Inbox = 6,\r\n PriceRequest = 8,\r\n Project = 10,\r\n}\r\n\r\nexport enum MessageTemplateType {\r\n NotSelected = 0,\r\n NoticeInvoice = 6,\r\n ShippingOrderForPartner = 7,\r\n SpotRequestEmail = 9,\r\n}\r\n\r\nexport enum SpotRequestStatus {\r\n NotSelected = 0,\r\n Draft = 5,\r\n WaitingPrices = 10,\r\n PricesOffered = 11,\r\n Rejected = 15,\r\n Approved = 20,\r\n Expired = 25,\r\n}\r\n\r\nexport enum SpotRequestEntity {\r\n NotSelected = 0,\r\n Shipment = 5,\r\n ShippingOrder = 10,\r\n PriceRequest = 15,\r\n}\r\n\r\nexport enum TenantBusinessArea {\r\n NotSelected = 0,\r\n Forwarder = 1,\r\n Carrier = 2,\r\n}\r\n\r\nexport enum CommentEntity\r\n{\r\n NotSelected = 0,\r\n Shipment = 5,\r\n ShippingOrder = 10,\r\n PriceRequest = 15\r\n}\r\n\r\nexport enum EventEntityType\r\n{\r\n NotSelected = 0,\r\n PriceRequest = 1,\r\n Shipment = 2,\r\n ShippingOrder = 3,\r\n SpotRequest = 4,\r\n Invoice = 5,\r\n}\r\n\r\nexport enum EventObjectType {\r\n NotSelected = 0,\r\n File = 1,\r\n Comment = 2,\r\n}\r\n\r\nexport const Incoterms: SelectComponentValue[] = [\r\n {\r\n value: 'DAP',\r\n label: 'DAP',\r\n },\r\n {\r\n value: 'EXW',\r\n label: 'EXW',\r\n },\r\n {\r\n value: 'FCA',\r\n label: 'FCA',\r\n },\r\n {\r\n value: 'CPT',\r\n label: 'CPT',\r\n },\r\n {\r\n value: 'CIP',\r\n label: 'CIP',\r\n },\r\n {\r\n value: 'DAT',\r\n label: 'DAT',\r\n },\r\n {\r\n value: 'DDP',\r\n label: 'DDP',\r\n },\r\n {\r\n value: 'FAS',\r\n label: 'FAS',\r\n },\r\n {\r\n value: 'FOB',\r\n label: 'FOB',\r\n },\r\n {\r\n value: 'CFR',\r\n label: 'CFR',\r\n },\r\n {\r\n value: 'CIF',\r\n label: 'CIF',\r\n },\r\n];\r\n\r\nexport const TenantBusinessAreas: SelectComponentValue[] = [\r\n {\r\n value: TenantBusinessArea.Forwarder.toString(),\r\n label: 'Forwarder',\r\n },\r\n {\r\n value: TenantBusinessArea.Carrier.toString(),\r\n label: 'Carrier',\r\n },\r\n];\r\nexport const TimeZones: SelectComponentValue[] = [\r\n {\r\n value: 'Morocco Standard Time',\r\n label: '(GMT) Casablanca',\r\n },\r\n {\r\n value: 'GMT Standard Time',\r\n label: '(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London',\r\n },\r\n {\r\n value: 'Greenwich Standard Time',\r\n label: '(GMT) Monrovia, Reykjavik',\r\n },\r\n {\r\n value: 'W. Europe Standard Time',\r\n label: '(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna',\r\n },\r\n {\r\n value: 'Central Europe Standard Time',\r\n label: '(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague',\r\n },\r\n {\r\n value: 'Romance Standard Time',\r\n label: '(GMT+01:00) Brussels, Copenhagen, Madrid, Paris',\r\n },\r\n {\r\n value: 'Central European Standard Time',\r\n label: '(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb',\r\n },\r\n {\r\n value: 'W. Central Africa Standard Time',\r\n label: '(GMT+01:00) West Central Africa',\r\n },\r\n {\r\n value: 'Jordan Standard Time',\r\n label: '(GMT+02:00) Amman',\r\n },\r\n {\r\n value: 'GTB Standard Time',\r\n label: '(GMT+02:00) Athens, Bucharest, Istanbul',\r\n },\r\n {\r\n value: 'Middle East Standard Time',\r\n label: '(GMT+02:00) Beirut',\r\n },\r\n {\r\n value: 'Egypt Standard Time',\r\n label: '(GMT+02:00) Cairo',\r\n },\r\n {\r\n value: 'South Africa Standard Time',\r\n label: '(GMT+02:00) Harare, Pretoria',\r\n },\r\n {\r\n value: 'FLE Standard Time',\r\n label: '(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius',\r\n },\r\n {\r\n value: 'Israel Standard Time',\r\n label: '(GMT+02:00) Jerusalem',\r\n },\r\n {\r\n value: 'E. Europe Standard Time',\r\n label: '(GMT+02:00) Minsk',\r\n },\r\n {\r\n value: 'Namibia Standard Time',\r\n label: '(GMT+02:00) Windhoek',\r\n },\r\n {\r\n value: 'Arabic Standard Time',\r\n label: '(GMT+03:00) Baghdad',\r\n },\r\n {\r\n value: 'Arab Standard Time',\r\n label: '(GMT+03:00) Kuwait, Riyadh',\r\n },\r\n {\r\n value: 'Russian Standard Time',\r\n label: '(GMT+03:00) Moscow, St. Petersburg, Volgograd',\r\n },\r\n {\r\n value: 'E. Africa Standard Time',\r\n label: '(GMT+03:00) Nairobi',\r\n },\r\n {\r\n value: 'Georgian Standard Time',\r\n label: '(GMT+03:00) Tbilisi',\r\n },\r\n {\r\n value: 'Iran Standard Time',\r\n label: '(GMT+03:30) Tehran',\r\n },\r\n {\r\n value: 'Arabian Standard Time',\r\n label: '(GMT+04:00) Abu Dhabi, Muscat',\r\n },\r\n {\r\n value: 'Azerbaijan Standard Time',\r\n label: '(GMT+04:00) Baku',\r\n },\r\n {\r\n value: 'Mauritius Standard Time',\r\n label: '(GMT+04:00) Port Louis',\r\n },\r\n {\r\n value: 'Caucasus Standard Time',\r\n label: '(GMT+04:00) Yerevan',\r\n },\r\n {\r\n value: 'Afghanistan Standard Time',\r\n label: '(GMT+04:30) Kabul',\r\n },\r\n {\r\n value: 'Ekaterinburg Standard Time',\r\n label: '(GMT+05:00) Ekaterinburg',\r\n },\r\n {\r\n value: 'Pakistan Standard Time',\r\n label: '(GMT+05:00) Islamabad, Karachi',\r\n },\r\n {\r\n value: 'West Asia Standard Time',\r\n label: '(GMT+05:00) Tashkent',\r\n },\r\n {\r\n value: 'India Standard Time',\r\n label: '(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi',\r\n },\r\n {\r\n value: 'Sri Lanka Standard Time',\r\n label: '(GMT+05:30) Sri Jayawardenepura',\r\n },\r\n {\r\n value: 'Nepal Standard Time',\r\n label: '(GMT+05:45) Kathmandu',\r\n },\r\n {\r\n value: 'N. Central Asia Standard Time',\r\n label: '(GMT+06:00) Almaty, Novosibirsk',\r\n },\r\n {\r\n value: 'Central Asia Standard Time',\r\n label: '(GMT+06:00) Astana, Dhaka',\r\n },\r\n {\r\n value: 'Myanmar Standard Time',\r\n label: '(GMT+06:30) Yangon (Rangoon)',\r\n },\r\n {\r\n value: 'SE Asia Standard Time',\r\n label: '(GMT+07:00) Bangkok, Hanoi, Jakarta',\r\n },\r\n {\r\n value: 'North Asia Standard Time',\r\n label: '(GMT+07:00) Krasnoyarsk',\r\n },\r\n {\r\n value: 'China Standard Time',\r\n label: '(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi',\r\n },\r\n {\r\n value: 'North Asia East Standard Time',\r\n label: '(GMT+08:00) Irkutsk, Ulaan Bataar',\r\n },\r\n {\r\n value: 'Singapore Standard Time',\r\n label: '(GMT+08:00) Kuala Lumpur, Singapore',\r\n },\r\n {\r\n value: 'W. Australia Standard Time',\r\n label: '(GMT+08:00) Perth',\r\n },\r\n {\r\n value: 'Taipei Standard Time',\r\n label: '(GMT+08:00) Taipei',\r\n },\r\n {\r\n value: 'Tokyo Standard Time',\r\n label: '(GMT+09:00) Osaka, Sapporo, Tokyo',\r\n },\r\n {\r\n value: 'Korea Standard Time',\r\n label: '(GMT+09:00) Seoul',\r\n },\r\n {\r\n value: 'Yakutsk Standard Time',\r\n label: '(GMT+09:00) Yakutsk',\r\n },\r\n {\r\n value: 'Cen. Australia Standard Time',\r\n label: '(GMT+09:30) Adelaide',\r\n },\r\n {\r\n value: 'AUS Central Standard Time',\r\n label: '(GMT+09:30) Darwin',\r\n },\r\n {\r\n value: 'E. Australia Standard Time',\r\n label: '(GMT+10:00) Brisbane',\r\n },\r\n {\r\n value: 'AUS Eastern Standard Time',\r\n label: '(GMT+10:00) Canberra, Melbourne, Sydney',\r\n },\r\n {\r\n value: 'West Pacific Standard Time',\r\n label: '(GMT+10:00) Guam, Port Moresby',\r\n },\r\n {\r\n value: 'Tasmania Standard Time',\r\n label: '(GMT+10:00) Hobart',\r\n },\r\n {\r\n value: 'Vladivostok Standard Time',\r\n label: '(GMT+10:00) Vladivostok',\r\n },\r\n {\r\n value: 'Central Pacific Standard Time',\r\n label: '(GMT+11:00) Magadan, Solomon Is., New Caledonia',\r\n },\r\n {\r\n value: 'New Zealand Standard Time',\r\n label: '(GMT+12:00) Auckland, Wellington',\r\n },\r\n {\r\n value: 'Fiji Standard Time',\r\n label: '(GMT+12:00) Fiji, Kamchatka, Marshall Is.',\r\n },\r\n {\r\n value: 'Tonga Standard Time',\r\n label: \"(GMT+13:00) Nuku'alofa\",\r\n },\r\n {\r\n value: 'Azores Standard Time',\r\n label: '(GMT-01:00) Azores',\r\n },\r\n {\r\n value: 'Cape Verde Standard Time',\r\n label: '(GMT-01:00) Cape Verde Is.',\r\n },\r\n {\r\n value: 'Mid-Atlantic Standard Time',\r\n label: '(GMT-02:00) Mid-Atlantic',\r\n },\r\n {\r\n value: 'E. South America Standard Time',\r\n label: '(GMT-03:00) Brasilia',\r\n },\r\n {\r\n value: 'Argentina Standard Time',\r\n label: '(GMT-03:00) Buenos Aires',\r\n },\r\n {\r\n value: 'SA Eastern Standard Time',\r\n label: '(GMT-03:00) Georgetown',\r\n },\r\n {\r\n value: 'Greenland Standard Time',\r\n label: '(GMT-03:00) Greenland',\r\n },\r\n {\r\n value: 'Montevideo Standard Time',\r\n label: '(GMT-03:00) Montevideo',\r\n },\r\n {\r\n value: 'Newfoundland Standard Time',\r\n label: '(GMT-03:30) Newfoundland',\r\n },\r\n {\r\n value: 'Atlantic Standard Time',\r\n label: '(GMT-04:00) Atlantic Time (Canada)',\r\n },\r\n {\r\n value: 'SA Western Standard Time',\r\n label: '(GMT-04:00) La Paz',\r\n },\r\n {\r\n value: 'Central Brazilian Standard Time',\r\n label: '(GMT-04:00) Manaus',\r\n },\r\n {\r\n value: 'Pacific SA Standard Time',\r\n label: '(GMT-04:00) Santiago',\r\n },\r\n {\r\n value: 'Venezuela Standard Time',\r\n label: '(GMT-04:30) Caracas',\r\n },\r\n {\r\n value: 'SA Pacific Standard Time',\r\n label: '(GMT-05:00) Bogota, Lima, Quito, Rio Branco',\r\n },\r\n {\r\n value: 'Eastern Standard Time',\r\n label: '(GMT-05:00) Eastern Time (US & Canada)',\r\n },\r\n {\r\n value: 'US Eastern Standard Time',\r\n label: '(GMT-05:00) Indiana (East)',\r\n },\r\n {\r\n value: 'Central America Standard Time',\r\n label: '(GMT-06:00) Central America',\r\n },\r\n {\r\n value: 'Central Standard Time',\r\n label: '(GMT-06:00) Central Time (US & Canada)',\r\n },\r\n {\r\n value: 'Central Standard Time (Mexico)',\r\n label: '(GMT-06:00) Guadalajara, Mexico City, Monterrey',\r\n },\r\n {\r\n value: 'Canada Central Standard Time',\r\n label: '(GMT-06:00) Saskatchewan',\r\n },\r\n {\r\n value: 'US Mountain Standard Time',\r\n label: '(GMT-07:00) Arizona',\r\n },\r\n {\r\n value: 'Mountain Standard Time (Mexico)',\r\n label: '(GMT-07:00) Chihuahua, La Paz, Mazatlan',\r\n },\r\n {\r\n value: 'Mountain Standard Time',\r\n label: '(GMT-07:00) Mountain Time (US & Canada)',\r\n },\r\n {\r\n value: 'Pacific Standard Time',\r\n label: '(GMT-08:00) Pacific Time (US & Canada)',\r\n },\r\n {\r\n value: 'Pacific Standard Time (Mexico)',\r\n label: '(GMT-08:00) Tijuana, Baja California',\r\n },\r\n {\r\n value: 'Alaskan Standard Time',\r\n label: '(GMT-09:00) Alaska',\r\n },\r\n {\r\n value: 'Hawaiian Standard Time',\r\n label: '(GMT-10:00) Hawaii',\r\n },\r\n {\r\n value: 'Samoa Standard Time',\r\n label: '(GMT-11:00) Midway Island, Samoa',\r\n },\r\n {\r\n value: 'Dateline Standard Time',\r\n label: '(GMT-12:00) International Date Line West',\r\n },\r\n];\r\n","import * as React from 'react';\r\nimport moment, { Moment } from 'moment';\r\nimport {\r\n Language,\r\n languages,\r\n LOCAL_STORAGE_CURRENT_LANGUAGE,\r\n LOCAL_STORAGE_CURRENT_LANGUAGE_DEBUG,\r\n} from '../store/constant';\r\nimport { UncontrolledTooltip } from 'reactstrap';\r\nimport TranslationApi from '../api/Translations.api';\r\nimport countries, { CountryOption } from '../seed/CountryOptions';\r\nimport { SelectComponentValue } from '../viewModels/common/SelectComponentValue';\r\n\r\nconst Translate = require('react-redux-i18n').Translate;\r\nconst I18n = require('react-redux-i18n').I18n;\r\n\r\nexport default class LocaleUtilities {\r\n public static DateFormat: string = 'DD.MM.YYYY';\r\n public static DateTimeFormat: string = 'DD.MM.YYYY HH:mm';\r\n public static i: number = 1;\r\n\r\n public static setMomentLocale() {\r\n if (LocaleUtilities.getCurrentLanguage() === 'Estonian') {\r\n moment.locale('et');\r\n } else if (LocaleUtilities.getCurrentLanguage() === 'Finnish') {\r\n moment.locale('fi');\r\n } else {\r\n moment.locale('en-gb');\r\n }\r\n }\r\n\r\n public static translateSelectCompnentLabels(\r\n values: Array,\r\n ): Array {\r\n values.forEach(function (elem) {\r\n elem.label = I18n.t(elem.label);\r\n });\r\n return values;\r\n }\r\n\r\n public static trySetDate(param: any, useDefaultFormat: boolean = true): Moment | undefined {\r\n if (!param) {\r\n return undefined;\r\n }\r\n\r\n if (useDefaultFormat) {\r\n return moment(param, LocaleUtilities.DateFormat);\r\n } else {\r\n return moment(param);\r\n }\r\n }\r\n\r\n public static getCountryLabel(value?: string) {\r\n let country = '';\r\n countries().forEach(function (element: CountryOption) {\r\n if (value === element.value) {\r\n country = element.label;\r\n }\r\n });\r\n return country;\r\n }\r\n\r\n public static getFlagByLanguage(language: ValidLanguage): ValidFlag {\r\n if (language === 'English') {\r\n return 'flag-icon-us';\r\n }\r\n if (language === 'Finnish') {\r\n return 'flag-icon-fi';\r\n }\r\n return 'flag-icon-us';\r\n }\r\n\r\n public static setCurrentLanguage(language: ValidLanguage): void {\r\n localStorage[LOCAL_STORAGE_CURRENT_LANGUAGE] = language;\r\n }\r\n\r\n public static getCurrentLanguage(): ValidLanguage {\r\n let currentLang = localStorage[LOCAL_STORAGE_CURRENT_LANGUAGE];\r\n if (currentLang === '[object Object]') {\r\n currentLang = null;\r\n }\r\n return currentLang || 'Estonian';\r\n }\r\n\r\n public static parseLanguage(langName: string): Language | undefined {\r\n return languages.find(l => l.name === langName);\r\n }\r\n\r\n public static i18n(key: string, group?: string, onlyText: boolean = false): any {\r\n const debug = LocaleUtilities.getDebug();\r\n\r\n /* VAJALIK NÄITEKS PLACEHOLDERI-i jaoks */\r\n if (onlyText && !debug) {\r\n return I18n.t(key);\r\n }\r\n key = key.replace('.', '');\r\n\r\n if (!debug) {\r\n return ;\r\n }\r\n\r\n if (key && key.indexOf('.') > -1) {\r\n console.error(`${key} cannot contain . symbol. Replace it, for example, with -.`);\r\n }\r\n\r\n LocaleUtilities.i += 1;\r\n const targetKey = 'translation_' + LocaleUtilities.i;\r\n\r\n var value = I18n.t(key);\r\n\r\n const currentLang = LocaleUtilities.getCurrentLanguage() + ':';\r\n if (value && value.substring(0, 2) === '[[') {\r\n var rest = value.slice(2, -2);\r\n TranslationApi.upsert(key, { english: rest, finnish: rest, estonian: rest }, group);\r\n onlyText = true;\r\n }\r\n\r\n /* VAJALIK NÄITEKS PLACEHOLDERI-i jaoks */\r\n if (onlyText) {\r\n return value;\r\n }\r\n return (\r\n {\r\n // Brainstorm\r\n const newValue = prompt(currentLang, value);\r\n let english: any | null;\r\n let finnish: any | null;\r\n let estonian: any | null;\r\n if (LocaleUtilities.getCurrentLanguage() === 'English') {\r\n english = newValue;\r\n } else if (LocaleUtilities.getCurrentLanguage() === 'Finnish') {\r\n finnish = newValue;\r\n } else {\r\n estonian = newValue;\r\n }\r\n if (english !== undefined || finnish !== undefined || estonian !== undefined) {\r\n TranslationApi.upsert(key, { english, finnish, estonian }, group).then(() => {\r\n // eslint-disable-next-line no-restricted-globals\r\n location.reload();\r\n });\r\n }\r\n }}\r\n >\r\n \r\n \r\n {key}\r\n \r\n \r\n );\r\n }\r\n\r\n public static toggleDebug(): void {\r\n const currentDebug = LocaleUtilities.getDebug();\r\n localStorage[LOCAL_STORAGE_CURRENT_LANGUAGE_DEBUG] = !currentDebug;\r\n }\r\n\r\n public static getDebug(): boolean {\r\n return localStorage[LOCAL_STORAGE_CURRENT_LANGUAGE_DEBUG] === 'true' || false;\r\n }\r\n}\r\n\r\nexport type ValidLanguage = 'English' | 'Finnish' | 'Estonian';\r\nexport type ValidFlag = 'flag-icon-us' | 'flag-icon-fi';\r\n","export * from './AuthUtils';\r\n","import { InvoiceStatus, PriceRequestStatus, ShipmentStatus, ShippingOrderStatus } from './enums';\r\nimport { ValidLanguage } from '../helpers/LocaleUtilities';\r\n\r\nconst SYSTEM = {\r\n SITE_NAME: 'Cargo Keep',\r\n BLANK_LINK: '/',\r\n};\r\n\r\nexport enum AppUserRoles {\r\n Admin = 'Administrator',\r\n TenantAdmin = 'TenantAdministrator',\r\n TenantUser = 'TenantUser',\r\n TenantCustomer = 'TenantCustomer',\r\n}\r\n\r\nexport enum UserRoleTypeEnum {\r\n System = 10,\r\n Tenant = 20,\r\n Customer = 30,\r\n}\r\n\r\nexport enum FilterDatePeriod {\r\n NotSelected = 0,\r\n Today = 1,\r\n Yesterday = 2,\r\n ThisWeek = 3,\r\n LastWeek = 4,\r\n ThisMonth = 5,\r\n LastMonth = 6,\r\n ThisYear = 7,\r\n LastYear = 8,\r\n Tomorrow = 9,\r\n}\r\n\r\nexport default SYSTEM;\r\n\r\nexport const IS_DEV = process.env.NODE_ENV === 'development';\r\n\r\nexport const APP_NAME = 'tms';\r\nexport const APP_PORTAL_NAME = 'portal';\r\nexport const MOBILE_APP_NAME = 'app';\r\n\r\nexport const IS_PRODUCTION =\r\n `https://${APP_NAME}.cargokeep.com` === window.location.origin ||\r\n `https://${APP_PORTAL_NAME}.cargokeep.com` === window.location.origin;\r\n\r\nexport const IS_CLIENT_PORTAL_URL =\r\n `https://${APP_PORTAL_NAME}.cargokeep.com` === window.location.origin;\r\n\r\nexport const IS_MOBILE_APP_URL =\r\n `https://${MOBILE_APP_NAME}.cargokeep.com` === window.location.origin ||\r\n 'http://localhost:8001' === window.location.origin;\r\n\r\nexport const LOCAL_STORAGE_TOKEN_KEY = 'cargokeep_id_token';\r\nexport const LOCAL_STORAGE_PROFILE_KEY = 'cargokeep_profile';\r\nexport const LOCAL_STORAGE_REFRESH_TOKEN_KEY = 'cargokeep_id_refresh_token';\r\nexport const LOCAL_STORAGE_THEME_SETTINGS = 'cargokeep_theme_settings';\r\n\r\nexport const LOCAL_STORAGE_YOU_WERE_LOGGED_OFF_MESSAGE = 'cargokeep_you_were_logged_off';\r\nexport const LOCAL_STORAGE_CURRENT_LANGUAGE = 'cargokeep_current_language';\r\nexport const LOCAL_STORAGE_CURRENT_LANGUAGE_DEBUG = 'cargokeep_current_language_debug';\r\n\r\nexport const LOCAL_STOARGE_URL_CONFIG = 'urlConfig';\r\n\r\nexport const LOCAL_STORAGE_APP_SCOPE = 'cargokeep_app_scope';\r\n\r\nexport const MAX_UPLOAD_FILE_SIZE = 2097152; // 2MB\r\n\r\nexport type SortOrder = 'asc' | 'desc';\r\n\r\nexport enum AppScope {\r\n superadmin = 'superadmin',\r\n tenant = 'tenant',\r\n clientportal = 'clientportal',\r\n}\r\n\r\nexport type Language = {\r\n languageId: string;\r\n locale: 'en' | 'ee' | 'fi';\r\n name: ValidLanguage;\r\n icon: 'gb' | 'ee' | 'fi';\r\n label: 'English' | 'Eesti keel' | 'Suomi';\r\n};\r\n\r\nexport const languages: Language[] = [\r\n {\r\n languageId: 'english',\r\n locale: 'en',\r\n name: 'English',\r\n icon: 'gb',\r\n label: 'English',\r\n },\r\n {\r\n languageId: 'estonian',\r\n locale: 'ee',\r\n name: 'Estonian',\r\n icon: 'ee',\r\n label: 'Eesti keel',\r\n },\r\n {\r\n languageId: 'finnish',\r\n locale: 'fi',\r\n name: 'Finnish',\r\n icon: 'fi',\r\n label: 'Suomi',\r\n },\r\n];\r\n\r\nexport const tenantCodeMinLength = 2;\r\n\r\nexport const notDeliveredShipmentStatuses = [\r\n ShipmentStatus[ShipmentStatus.Received],\r\n ShipmentStatus[ShipmentStatus.Processing],\r\n ShipmentStatus[ShipmentStatus.InTransit],\r\n];\r\n\r\nexport const shipmentFilterStatuses = [\r\n ShipmentStatus[ShipmentStatus.Received],\r\n ShipmentStatus[ShipmentStatus.Processing],\r\n ShipmentStatus[ShipmentStatus.InTransit],\r\n ShipmentStatus[ShipmentStatus.Delivered],\r\n ShipmentStatus[ShipmentStatus.Canceled],\r\n];\r\n\r\nexport const priceRequestFilterStatuses = [\r\n PriceRequestStatus[PriceRequestStatus.Received],\r\n PriceRequestStatus[PriceRequestStatus.WaitingConfirmed],\r\n PriceRequestStatus[PriceRequestStatus.Accepted],\r\n PriceRequestStatus[PriceRequestStatus.Rejected],\r\n PriceRequestStatus[PriceRequestStatus.Canceled],\r\n];\r\n\r\nexport const shippingOrderFilterStatuses = [\r\n ShippingOrderStatus[ShippingOrderStatus.Draft],\r\n ShippingOrderStatus[ShippingOrderStatus.Canceled],\r\n ShippingOrderStatus[ShippingOrderStatus.Processing],\r\n ShippingOrderStatus[ShippingOrderStatus.InTransit],\r\n ShippingOrderStatus[ShippingOrderStatus.Delivered],\r\n];\r\n\r\nexport const invoiceFilterStatuses = [\r\n InvoiceStatus[InvoiceStatus.Draft],\r\n InvoiceStatus[InvoiceStatus.Sent],\r\n InvoiceStatus[InvoiceStatus.Paid],\r\n];\r\n","import { ErrorWrapper } from '../store/base';\r\n\r\nconst fileDownload = require('js-file-download');\r\n\r\nexport default class CommonUtilities {\r\n public static ReactScrollDefaultOptions = { duration: 500, smooth: 'easeInOutQuint' };\r\n\r\n public static sleep = async (ms) => {\r\n return new Promise((resolve) => setTimeout(resolve, ms));\r\n };\r\n\r\n /**\r\n *Checks if object is null or undefined\r\n * @return boolean\r\n */\r\n public static NotNullAndNotUndefined(object: any): boolean {\r\n if (object === null || object === undefined) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n public static capitalizeFirstLetter(me: string) {\r\n if (!me) {\r\n return me;\r\n }\r\n return me.charAt(0).toUpperCase() + me.slice(1);\r\n }\r\n\r\n public static logDevMessage(...params: any[]) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n console.log(...params);\r\n }\r\n }\r\n\r\n public static logInfoDevMessage(...params: any[]) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n console.info(...params);\r\n }\r\n }\r\n\r\n public static scrollToTop() {\r\n //animateScroll.scrollTo(0, CommonUtilities.ReactScrollDefaultOptions);\r\n }\r\n\r\n public static async tryCatchWrapper(\r\n mainAction: () => Promise,\r\n catchAction: (exception: ErrorWrapper) => Promise,\r\n ): Promise {\r\n try {\r\n await mainAction();\r\n } catch (exception) {\r\n if (exception instanceof ErrorWrapper) {\r\n await catchAction(exception);\r\n } else {\r\n console.error('Unknown error: ', exception);\r\n }\r\n }\r\n }\r\n\r\n public static typeSafeName(name: keyof T) {\r\n return name;\r\n }\r\n\r\n public static guid(): string {\r\n function s4() {\r\n return Math.floor((1 + Math.random()) * 0x10000)\r\n .toString(16)\r\n .substring(1);\r\n }\r\n return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4();\r\n }\r\n\r\n public static downloadFile(\r\n file: Blob,\r\n inline: boolean = false,\r\n fileName: string = CommonUtilities.guid(),\r\n ): void {\r\n if (inline) {\r\n const url = window.URL.createObjectURL(file);\r\n window.open(url);\r\n } else {\r\n fileDownload(file, fileName, file.type);\r\n }\r\n }\r\n}\r\n","export class NumberUtilities {\r\n public static tryFormatFloat(strVal: string | undefined | null): number | undefined {\r\n try {\r\n if (strVal && strVal.length > 0) {\r\n strVal = strVal.replace(/[,]/, '.');\r\n return parseFloat(strVal);\r\n }\r\n } catch (e) {}\r\n return undefined;\r\n }\r\n\r\n public static tryFormatInt(strVal: string | undefined | null): number {\r\n try {\r\n if (strVal && strVal.length > 0) {\r\n strVal = strVal.replace(/[,]/, '.');\r\n return parseInt(strVal);\r\n }\r\n } catch (e) {}\r\n return 0;\r\n }\r\n\r\n public static formatCurrencyText(numberVal: number) {\r\n if (numberVal === null || numberVal === undefined) return '';\r\n return numberVal.toFixed(2).toString().replace(/[.]/, ',');\r\n }\r\n}\r\n","import { SortOrder } from './constant';\r\nimport LocaleUtilities from '../helpers/LocaleUtilities';\r\n\r\nexport class PaginatedSearchBaseOptionsResult {\r\n page: number = 1;\r\n sizePerPage: number = Pagination.sizePerPage;\r\n skip: number | undefined;\r\n take: number | undefined;\r\n sortName: string | undefined;\r\n sortOrder: SortOrder | undefined;\r\n\r\n public baseParse(obj: any) {\r\n if ('page' in obj) {\r\n this.page = Number(obj.page);\r\n }\r\n if ('sizePerPage' in obj) {\r\n this.sizePerPage = Number(obj.sizePerPage);\r\n }\r\n if ('skip' in obj) {\r\n this.skip = Number(obj.skip);\r\n }\r\n if ('take' in obj) {\r\n this.take = Number(obj.take);\r\n }\r\n if ('sortName' in obj) {\r\n this.sortName = obj.sortName;\r\n }\r\n if ('sortOrder' in obj) {\r\n this.sortOrder = obj.sortOrder;\r\n }\r\n }\r\n}\r\n\r\nexport class PaginatedListResult {\r\n contextObjects: Array | undefined;\r\n totalCount: number | undefined;\r\n pages: number | undefined;\r\n}\r\n\r\nexport class ValidationFailure {\r\n propertyName: string | undefined;\r\n attemptedValue: any;\r\n customState: any;\r\n errorCode: string | undefined;\r\n errorMessage: string;\r\n}\r\n\r\nexport class ValidationResult {\r\n errors: Array | undefined;\r\n}\r\n\r\nexport interface ServiceResult {\r\n payload: T;\r\n isSuccessful: boolean;\r\n message: string;\r\n validation: ValidationResult;\r\n}\r\n\r\nexport enum ErrorType {\r\n GenericError = 0,\r\n ItemNotFound = 10,\r\n FailedResponseError = 20,\r\n InternalServerError = 30,\r\n}\r\n\r\nexport class ErrorWrapper {\r\n title: any;\r\n description: string | string[];\r\n formValidations: ValidationResult | undefined;\r\n type: ErrorType = ErrorType.GenericError;\r\n\r\n constructor(title: any, description?: string) {\r\n this.title = title;\r\n this.description = description || '';\r\n }\r\n\r\n public formValidationsString()\r\n {\r\n var res: string[] = [];\r\n if (this.formValidations?.errors) {\r\n this.formValidations.errors.forEach((item) => {\r\n res.push(item.errorMessage);\r\n });\r\n }\r\n return res.join('; ');\r\n }\r\n\r\n public descriptionString()\r\n {\r\n if (typeof this.description === 'string')\r\n return this.description;\r\n else\r\n return this.description.join('; ');\r\n }\r\n}\r\n\r\nexport class NotFoundErrorWrapper extends ErrorWrapper {\r\n constructor(description: string) {\r\n super('Error', description);\r\n this.type = ErrorType.ItemNotFound;\r\n }\r\n}\r\n\r\nexport class FailedResponseErrorWrapper extends ErrorWrapper {\r\n constructor(description: string) {\r\n super('Error', description);\r\n this.type = ErrorType.FailedResponseError;\r\n }\r\n}\r\n\r\nexport class InternalServerErrorResponseErrorWrapper extends ErrorWrapper {\r\n constructor(description: string) {\r\n super('Error', description);\r\n this.type = ErrorType.InternalServerError;\r\n }\r\n}\r\n\r\nexport class TableData {\r\n data: Array | undefined;\r\n pagination: Pagination;\r\n\r\n public static createTableDataFrom(\r\n paginatedListResult: PaginatedListResult,\r\n page: number,\r\n sizePerPage: number,\r\n ): TableData {\r\n const data = paginatedListResult.contextObjects;\r\n const pagination: Pagination = { total: paginatedListResult.totalCount, page, sizePerPage };\r\n return new TableData(data, pagination);\r\n }\r\n\r\n public static createTableDataFromArray(\r\n paginatedListResult: Array,\r\n page: number,\r\n sizePerPage: number,\r\n totalCount: number,\r\n ): TableData {\r\n const data = paginatedListResult;\r\n const pagination: Pagination = { total: totalCount, page, sizePerPage };\r\n return new TableData(data, pagination);\r\n }\r\n\r\n public static getDefault(): TableData {\r\n return new TableData([], Pagination.getDefault());\r\n }\r\n\r\n constructor(data: Array | undefined, pagination: Pagination) {\r\n this.data = data;\r\n this.pagination = pagination;\r\n }\r\n}\r\n\r\nexport class DataTableOptions {\r\n public static getDefault(\r\n count: number,\r\n page: number,\r\n rowsPerPage: number,\r\n onChangePage: (currentPage: number) => void,\r\n onChangeRowsPerPage: (numberOfRows: number) => void,\r\n ) {\r\n return {\r\n serverSide: true,\r\n filter: false,\r\n selectToolbarPlacement: 'none',\r\n filterType: 'multiselect',\r\n download: false,\r\n print: false,\r\n search: false,\r\n viewColumns: false,\r\n count: count,\r\n page: page - 1,\r\n rowsPerPage: rowsPerPage,\r\n rowsPerPageOptions: Pagination.sizePerPageList,\r\n selectableRows: false,\r\n onChangePage,\r\n onChangeRowsPerPage,\r\n setTableProps: () => ({\r\n className: 'table table-striped table-hover dataTable border-collapse',\r\n }),\r\n textLabels: {\r\n body: {\r\n noMatch: LocaleUtilities.i18n(\r\n 'base-table-Sorry, no matching records founds',\r\n 'base',\r\n true,\r\n ),\r\n toolTip: 'Sort',\r\n columnHeaderTooltip: (column) => `Sort for ${column.label}`,\r\n },\r\n pagination: {\r\n next: LocaleUtilities.i18n('base-table-Next Page', 'base', true),\r\n previous: LocaleUtilities.i18n('base-table-Previous Page', 'base', true),\r\n rowsPerPage: LocaleUtilities.i18n('base-table-Rows per page', 'base', true),\r\n displayRows: LocaleUtilities.i18n('base-table-of', 'base', true),\r\n },\r\n },\r\n };\r\n }\r\n}\r\n\r\nexport class Pagination {\r\n total: number | undefined;\r\n page: number | undefined;\r\n sizePerPage: number | undefined;\r\n sortName?: string;\r\n\r\n public static sizePerPage = 25;\r\n\r\n public static sizePerPageList = [25, 50, 100];\r\n\r\n public static sizePerPageListLarger = [50, 100, 150];\r\n\r\n public static getDefault(): Pagination {\r\n return { total: 0, page: 1, sizePerPage: 25 };\r\n }\r\n}\r\n","import { createTheme } from '@material-ui/core/styles';\r\n\r\nexport const white = '#ffffff';\r\nexport const primaryColor = '#D16A1F';\r\nexport const primaryDarkColor = '#081A33';\r\n\r\nexport const theme = createTheme({\r\n palette: {\r\n custom: {\r\n white,\r\n primaryColor,\r\n },\r\n },\r\n});\r\n","export const COLLAPSE_MENU = 'COLLAPSE_MENU';\r\nexport const COLLAPSE_TOGGLE = 'COLLAPSE_TOGGLE';\r\nexport const FULL_SCREEN = 'FULL_SCREEN';\r\nexport const FULL_SCREEN_EXIT = 'FULL_SCREEN_EXIT';\r\nexport const CHANGE_LAYOUT = 'CHANGE_LAYOUT';\r\nexport const CHANGE_SUB_LAYOUT = 'CHANGE_SUB_LAYOUT';\r\nexport const LAYOUT_TYPE = 'LAYOUT_TYPE';\r\nexport const RESET = 'RESET';\r\nexport const NAV_BACK_COLOR = 'NAV_BACK_COLOR';\r\nexport const NAV_BRAND_COLOR = 'NAV_BRAND_COLOR';\r\nexport const HEADER_BACK_COLOR = 'HEADER_BACK_COLOR';\r\nexport const RTL_LAYOUT = 'RTL_LAYOUT';\r\nexport const NAV_FIXED_LAYOUT = 'NAV_FIXED_LAYOUT';\r\nexport const HEADER_FIXED_LAYOUT = 'HEADER_FIXED_LAYOUT';\r\nexport const BOX_LAYOUT = 'BOX_LAYOUT';\r\nexport const NAV_CONTENT_LEAVE = 'NAV_CONTENT_LEAVE';\r\nexport const NAV_COLLAPSE_LEAVE = 'NAV_COLLAPSE_LEAVE';\r\n","import {\r\n AppScope,\r\n LOCAL_STORAGE_APP_SCOPE,\r\n LOCAL_STORAGE_PROFILE_KEY,\r\n LOCAL_STORAGE_REFRESH_TOKEN_KEY,\r\n LOCAL_STORAGE_THEME_SETTINGS,\r\n LOCAL_STORAGE_TOKEN_KEY,\r\n LOCAL_STORAGE_YOU_WERE_LOGGED_OFF_MESSAGE,\r\n} from 'store/constant';\r\nimport moment, { Duration } from 'moment';\r\nimport axios, { AxiosResponse } from 'axios';\r\nimport { BACKEND_HOST_AUTH, endpoints } from 'store/api.constants';\r\nimport * as qs from 'qs';\r\nimport { TokenInfo } from 'api/Account.api';\r\nimport IAuthUtils from './IAuthUtils';\r\n\r\nexport enum UserModelAccountStatus {\r\n notSelected = 0,\r\n inactive = 10,\r\n active = 20,\r\n}\r\n\r\nexport enum UserModelRoles {\r\n superAdmin = 10,\r\n tenantAdmin = 20,\r\n tenantUser = 30,\r\n tenantCustomer = 40,\r\n driver = 50,\r\n}\r\n\r\nexport class LocalStorageUserModel {\r\n name: string;\r\n username: string | undefined;\r\n email: string | undefined;\r\n roles: UserModelRoles[] = [];\r\n accountStatus?: UserModelAccountStatus = UserModelAccountStatus.notSelected;\r\n expiresOn?: Date;\r\n halfTimeExpiresOn?: Date;\r\n company: string = '';\r\n clientName: string = '';\r\n tenantCode: string = '';\r\n clientPortalOpened: boolean = false;\r\n id: string = '';\r\n}\r\n\r\nexport class LocalStorageTenantModel {\r\n name: string;\r\n expiresOn?: Date;\r\n updateInformationRequired: boolean;\r\n hasAnyStore: boolean;\r\n}\r\n\r\nexport type LocalStorageThemeSettings = {\r\n collapseRightMenu: boolean;\r\n};\r\n\r\nexport declare type NullableLocalTenantModel = LocalStorageTenantModel | null;\r\n\r\nexport declare type NullableLocalStorageUserModel = LocalStorageUserModel | null;\r\n\r\nexport class AuthUtils implements IAuthUtils {\r\n public static isAdmin(): boolean {\r\n const cl = new AuthUtils();\r\n const user1 = cl.getCurrentUser();\r\n return user1 ? user1.roles.indexOf(UserModelRoles.superAdmin) > -1 : false;\r\n }\r\n\r\n public static powerUsers(): boolean {\r\n const cl = new AuthUtils();\r\n const user1 = cl.getCurrentUser();\r\n return user1\r\n ? user1.username === 'tally@hot.ee' || user1.username === 'margusmajorov@gmail.com'\r\n : false;\r\n }\r\n\r\n public static setThemeSettings() {\r\n const initData: LocalStorageThemeSettings = {\r\n collapseRightMenu: false,\r\n };\r\n if (!localStorage.getItem(LOCAL_STORAGE_THEME_SETTINGS)) {\r\n localStorage.setItem(LOCAL_STORAGE_THEME_SETTINGS, JSON.stringify(initData));\r\n }\r\n }\r\n\r\n public static getThemeSettingValue(key: keyof LocalStorageThemeSettings): any | null {\r\n const data = localStorage.getItem(LOCAL_STORAGE_THEME_SETTINGS);\r\n if (data) {\r\n const values = JSON.parse(data);\r\n return values[key];\r\n }\r\n return null;\r\n }\r\n\r\n public static updateThemeSettings(key: keyof LocalStorageThemeSettings, value: any) {\r\n try {\r\n const data = localStorage.getItem(LOCAL_STORAGE_THEME_SETTINGS);\r\n if (data) {\r\n let values = JSON.parse(data);\r\n values[key] = value;\r\n localStorage.setItem(LOCAL_STORAGE_THEME_SETTINGS, JSON.stringify(values));\r\n }\r\n } catch (e) {}\r\n }\r\n\r\n public static isTenantUser(): boolean {\r\n return AuthUtils.hasValidRoles([UserModelRoles.tenantUser, UserModelRoles.tenantAdmin]);\r\n }\r\n\r\n public static isTenantClientUser(): boolean {\r\n return AuthUtils.hasValidRoles([UserModelRoles.tenantCustomer]);\r\n }\r\n\r\n public static hasValidRoles(\r\n roleNames: UserModelRoles[],\r\n userParam: NullableLocalStorageUserModel = null,\r\n ): boolean {\r\n const cl = new AuthUtils();\r\n return cl.hasValidRole(roleNames);\r\n }\r\n\r\n public static currentUserData(): NullableLocalStorageUserModel | null {\r\n const cl = new AuthUtils();\r\n return cl.getCurrentUser();\r\n }\r\n\r\n isCurrentUserLoggedIn(userParam: NullableLocalStorageUserModel = null): boolean {\r\n const user = userParam || this.getCurrentUser();\r\n return user != null; // && !_.isEmpty(user);\r\n }\r\n\r\n showMenuItem(\r\n roleNames: UserModelRoles[],\r\n userParam: NullableLocalStorageUserModel = null,\r\n ): boolean {\r\n if (roleNames.length === 0) {\r\n return true;\r\n }\r\n const userRoles = this.getCurrentUserRoles(userParam);\r\n const result = userRoles.filter((value) => roleNames.indexOf(value) > -1); // intersection\r\n return result.length > 0;\r\n }\r\n\r\n hasValidRole(\r\n roleNames: UserModelRoles[],\r\n userParam: NullableLocalStorageUserModel = null,\r\n ): boolean {\r\n const userRoles = this.getCurrentUserRoles(userParam);\r\n const result = userRoles.filter((value) => roleNames.indexOf(value) > -1); // intersection\r\n return result.length > 0;\r\n }\r\n\r\n getCurrentUser(): NullableLocalStorageUserModel {\r\n try {\r\n const profileStr = localStorage.getItem(LOCAL_STORAGE_PROFILE_KEY);\r\n if (!profileStr) {\r\n return null;\r\n }\r\n return JSON.parse(profileStr) as LocalStorageUserModel;\r\n } catch (ex) {\r\n return null;\r\n }\r\n }\r\n\r\n getRefreshToken(): string | null {\r\n return localStorage.getItem(LOCAL_STORAGE_REFRESH_TOKEN_KEY);\r\n }\r\n\r\n setToken(token: string, user: LocalStorageUserModel, refreshToken: string): void {\r\n localStorage.setItem(LOCAL_STORAGE_TOKEN_KEY, token);\r\n localStorage.setItem(LOCAL_STORAGE_PROFILE_KEY, JSON.stringify(user));\r\n localStorage.setItem(LOCAL_STORAGE_REFRESH_TOKEN_KEY, refreshToken);\r\n }\r\n\r\n setTokenOnly(token: string): void {\r\n localStorage.setItem(LOCAL_STORAGE_TOKEN_KEY, token);\r\n }\r\n\r\n setExpirationDateAndHalfExpirationDateOnly(expiresIn: number) {\r\n const user = this.getCurrentUser();\r\n if (user) {\r\n const dateData = this.calculateExpirationDateAndHalfExpirationDate(expiresIn);\r\n user.expiresOn = dateData.expiresOn;\r\n user.halfTimeExpiresOn = dateData.halfTimeExpiresOn;\r\n localStorage.setItem(LOCAL_STORAGE_PROFILE_KEY, JSON.stringify(user));\r\n }\r\n }\r\n\r\n unsetToken(): void {\r\n localStorage.removeItem(LOCAL_STORAGE_TOKEN_KEY);\r\n localStorage.removeItem(LOCAL_STORAGE_PROFILE_KEY);\r\n localStorage.removeItem(LOCAL_STORAGE_REFRESH_TOKEN_KEY);\r\n }\r\n\r\n setYouWereLoggedOffMessage(): void {\r\n localStorage.setItem(LOCAL_STORAGE_YOU_WERE_LOGGED_OFF_MESSAGE, 'You were logged off');\r\n }\r\n\r\n popYouWereLoggedOffMessage(): string | null {\r\n const message = localStorage.getItem(LOCAL_STORAGE_YOU_WERE_LOGGED_OFF_MESSAGE);\r\n if (!message) {\r\n return null;\r\n }\r\n localStorage.removeItem(LOCAL_STORAGE_YOU_WERE_LOGGED_OFF_MESSAGE);\r\n return message;\r\n }\r\n\r\n getHalfExpirationDateUtc(): Date | undefined {\r\n const user = this.getCurrentUser();\r\n if (!user) {\r\n return undefined;\r\n }\r\n const halfExpirationDate = user.halfTimeExpiresOn;\r\n if (!halfExpirationDate) {\r\n return undefined;\r\n }\r\n return halfExpirationDate;\r\n }\r\n\r\n getExpirationDateUtc(): Date | undefined {\r\n const user = this.getCurrentUser();\r\n if (!user) {\r\n return undefined;\r\n }\r\n const expiresOn = user.expiresOn;\r\n if (!expiresOn) {\r\n return undefined;\r\n }\r\n return expiresOn;\r\n }\r\n\r\n tokenNeedsRefreshing(): boolean {\r\n const halfExpirationDate = this.getHalfExpirationDateUtc();\r\n if (!halfExpirationDate) {\r\n return false;\r\n }\r\n const momentHalfExpirationDateUtc = moment.utc(halfExpirationDate);\r\n const momentNowUtc = moment.utc();\r\n return momentNowUtc >= momentHalfExpirationDateUtc;\r\n }\r\n\r\n getTimeLeft(): Duration {\r\n const expiresOn = this.getExpirationDateUtc();\r\n const expiresOnUtc = moment.utc(expiresOn);\r\n const nowUtc = moment.utc();\r\n return moment.duration(expiresOnUtc.diff(nowUtc));\r\n }\r\n\r\n calculateExpirationDateAndHalfExpirationDate(expiresIn: number): {\r\n expiresOn: Date;\r\n halfTimeExpiresOn: Date;\r\n } {\r\n const expiresOn = new Date(new Date().getTime() + expiresIn * 1000);\r\n const halfTimeExpiresOn = new Date(new Date().getTime() + (expiresIn / 2) * 1000);\r\n return { expiresOn, halfTimeExpiresOn };\r\n }\r\n\r\n refreshToken(callback: () => Promise): Promise {\r\n const data = {\r\n grant_type: 'refresh_token',\r\n refresh_token: this.getRefreshToken(),\r\n scope: 'openid offline_access',\r\n };\r\n const p = axios.post(BACKEND_HOST_AUTH() + endpoints.auth.login, qs.stringify(data));\r\n return p.then((value: AxiosResponse): Promise => {\r\n // console.info('Token refreshed. New token data', value.data);\r\n if (value && value.data) {\r\n this.setTokenOnly(value.data.access_token);\r\n this.setExpirationDateAndHalfExpirationDateOnly(value.data.expires_in);\r\n }\r\n return callback();\r\n });\r\n }\r\n\r\n /**\r\n * Should the page be displayed to admin or user? It is decided using this variable. Default is customer.\r\n * @param scope\r\n */\r\n public static setAppScope(scope: AppScope) {\r\n localStorage.setItem(\r\n LOCAL_STORAGE_APP_SCOPE,\r\n scope ? scope.toString() : AppScope.tenant.toString(),\r\n );\r\n }\r\n\r\n public static getAppScope(): AppScope {\r\n return AppScope[localStorage.getItem(LOCAL_STORAGE_APP_SCOPE) || ''] || AppScope.tenant;\r\n }\r\n\r\n public static isClientPortal(): boolean {\r\n return this.getAppScope() === AppScope.clientportal;\r\n }\r\n\r\n private getCurrentUserRoles(userParam: NullableLocalStorageUserModel = null): UserModelRoles[] {\r\n const user = userParam || this.getCurrentUser();\r\n\r\n if (!user) {\r\n console.info('authUtil: No user exists'); // TODO: change to correct logger\r\n return [];\r\n }\r\n\r\n if (!user.roles) {\r\n console.info('authUtil: No authority roles exist'); // TODO: change to correct logger\r\n return [];\r\n }\r\n\r\n return user.roles;\r\n }\r\n}\r\n\r\nexport default AuthUtils;\r\n","import * as queryString from 'querystring';\r\nimport * as moment from 'moment';\r\n\r\nexport const MOMENT_FORMAT = 'DD.MM.YYYY';\r\n\r\nexport const URL_TAB = 'tabId';\r\n\r\nexport default class RouterUtilities {\r\n public static objectToUrlString(\r\n params: Object | null,\r\n urlPrefix: string | null = null,\r\n ): string | null {\r\n let aggregatedParams: string = '';\r\n if (params) {\r\n for (let key in params) {\r\n if (params.hasOwnProperty(key)) {\r\n const value = params[key];\r\n if (!value) {\r\n continue;\r\n }\r\n\r\n if (moment.isMoment(value)) {\r\n aggregatedParams = RouterUtilities.updateQueryStringParameter(\r\n aggregatedParams,\r\n key,\r\n value.format(MOMENT_FORMAT),\r\n );\r\n } else {\r\n aggregatedParams = RouterUtilities.updateQueryStringParameter(\r\n aggregatedParams,\r\n key,\r\n value,\r\n );\r\n }\r\n }\r\n }\r\n } else {\r\n return null;\r\n }\r\n\r\n return urlPrefix ? urlPrefix + aggregatedParams : aggregatedParams;\r\n }\r\n\r\n public static changeQueryParamsInUrl(obj: Object | null): void {\r\n const params = RouterUtilities.objectToUrlString(obj);\r\n\r\n // if (!params) {\r\n // return;\r\n // }\r\n\r\n // eslint-disable-next-line no-restricted-globals\r\n const newUrl =\r\n window.location.protocol + '//' + window.location.host + window.location.pathname + params;\r\n window.history.pushState({ path: newUrl }, '', newUrl);\r\n }\r\n\r\n public static updateQueryStringParameter(uri: string, key: string, value: string): string {\r\n const re = new RegExp('([?&])' + key + '=.*?(&|#|$)', 'i');\r\n if (value === undefined) {\r\n if (uri.match(re)) {\r\n return uri.replace(re, '$1$2');\r\n } else {\r\n return uri;\r\n }\r\n } else {\r\n if (uri.match(re)) {\r\n return uri.replace(re, '$1' + key + '=' + value + '$2');\r\n } else {\r\n let hash = '';\r\n if (uri.indexOf('#') !== -1) {\r\n hash = uri.replace(/.*#/, '#');\r\n uri = uri.replace(/#.*/, '');\r\n }\r\n const separator = uri.indexOf('?') !== -1 ? '&' : '?';\r\n return uri + separator + key + '=' + value + hash;\r\n }\r\n }\r\n }\r\n\r\n public static locationSearchStringParse(location: Location): any | null {\r\n let searchString = location.search;\r\n if (!searchString) {\r\n return null;\r\n }\r\n\r\n if (searchString[0] === '?') {\r\n searchString = searchString.substr(1);\r\n }\r\n\r\n return queryString.parse(searchString);\r\n }\r\n\r\n public static getActiveRoute(location: Location): any | null {\r\n let searchString = location.pathname;\r\n if (!searchString) {\r\n return null;\r\n }\r\n\r\n if (searchString[0] === '/') {\r\n searchString = searchString.substr(1);\r\n }\r\n var paths = searchString.split('/');\r\n if (paths.length > 1) {\r\n return '/' + paths[0] + '/' + paths[1];\r\n }\r\n return '/' + paths[0];\r\n }\r\n}\r\n","import { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport { PaginatedListResult } from 'store/base';\r\nimport {\r\n CustomerContactListResponseViewModel,\r\n CustomerResponseViewModel,\r\n CustomersRequestViewModel,\r\n CustomersResponseViewModel,\r\n} from 'App/routes/Tenant/Customer/ViewModels';\r\nimport CustomerContactCreateOrUpdateResponseViewModel from 'App/routes/Tenant/Customer/ViewModels/CustomerContactCreateOrUpdateResponseViewModel';\r\nimport EBusinessRegisterRequestViewModel from '../viewModels/customer/EBusinessRegisterRequestViewModel';\r\nimport { AddressViewModel } from '../viewModels/common/AddressViewModel';\r\nimport { ExcelImportBaseResponse } from '../viewModels/imports/ExcelImportBaseResponse';\r\nimport { BasicIdRequestViewModel } from '../viewModels/common/BasicIdRequestViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/customer`;\r\n}\r\n\r\nexport class CustomerApi {\r\n public static getList(\r\n params: CustomersRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static add(formValues: CustomerResponseViewModel): Promise {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: string, formValues: CustomerResponseViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static delete(id: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static getContactList(id: string): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/contact`,\r\n {},\r\n );\r\n }\r\n\r\n public static addContact(\r\n id: string,\r\n formValues: CustomerContactCreateOrUpdateResponseViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/contact`, formValues);\r\n }\r\n\r\n public static updateContact(\r\n id: string,\r\n formValues: CustomerContactCreateOrUpdateResponseViewModel,\r\n ) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}/contact`, formValues);\r\n }\r\n\r\n public static setContactUserDefaultAddress(\r\n id: string,\r\n contactId: number,\r\n formValues: BasicIdRequestViewModel,\r\n ) {\r\n return ApiUtilities.handlePut(\r\n `${getRoot()}/${id}/contact-default-address/${contactId}`,\r\n formValues,\r\n );\r\n }\r\n\r\n public static getContact(\r\n id: string,\r\n contactId: number,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/contact/${contactId}`,\r\n {},\r\n );\r\n }\r\n\r\n public static inviteContact(id: string, contactId: number): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/contact/${contactId}/invite`, {});\r\n }\r\n\r\n public static deleteContact(id: string, contactId: number): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/contact/${contactId}/delete`, {});\r\n }\r\n\r\n public static getCompaniesFromBusinessReg(\r\n formValues: EBusinessRegisterRequestViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/arireg`, formValues);\r\n }\r\n\r\n public static getEInvoiceServiceProvider(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}/eInvoiceServiceProvider`, {});\r\n }\r\n\r\n public static importExcelRows(formData: FormData): Promise {\r\n return ApiUtilities.handleFilePost(`${getRoot()}/import-from-excel/`, formData);\r\n }\r\n}\r\n","import { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport { PaginatedListResult } from 'store/base';\r\nimport { ShipmentStatusUpdateRequest } from 'viewModels/shipment/ShipmentStatusUpdateRequest';\r\nimport {\r\n PriceRequestDetailResponseViewModel,\r\n PriceRequestResponseViewModel,\r\n PriceRequestsResponseViewModel,\r\n} from 'App/routes/Tenant/PriceRequest/ViewModels';\r\nimport PriceRequestPricesUpdateRequestViewModel from '../App/routes/Tenant/PriceRequest/ViewModels/PriceRequestPricesUpdateRequestViewModel';\r\nimport PriceRequestDecisionUpdateRequestViewModel from '../App/routes/Tenant/PriceRequest/ViewModels/PriceRequestDecisionUpdateRequestViewModel';\r\nimport PriceRequestsRequestViewModel from '../App/routes/Tenant/PriceRequest/ViewModels/PriceRequestsRequestViewModel';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/price-request`;\r\n}\r\n\r\nexport class PriceRequestApi {\r\n public static getList(\r\n params: PriceRequestsRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static add(formValues: PriceRequestResponseViewModel): Promise {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: string, formValues: PriceRequestResponseViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static updateStatus(\r\n id: string,\r\n formValues: ShipmentStatusUpdateRequest,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/update-status`, formValues);\r\n }\r\n\r\n public static getOpenedRequestsCount(params: any): Promise {\r\n const URL = `${getRoot()}/opened-requests-count`;\r\n return ApiUtilities.handleGet(URL, { ...params });\r\n }\r\n\r\n public static delete(id: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static saveOfferedPrices(\r\n id: string,\r\n formValues: PriceRequestPricesUpdateRequestViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/save-offered-prices`, formValues);\r\n }\r\n\r\n public static addOfferedPrices(\r\n id: string,\r\n formValues: PriceRequestPricesUpdateRequestViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/add-offered-prices`, formValues);\r\n }\r\n\r\n public static giveDecision(\r\n id: string,\r\n formValues: PriceRequestDecisionUpdateRequestViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/give-decision`, formValues);\r\n }\r\n\r\n public static async downloadPriceQuotePdfFile(id: string, number: string) {\r\n const URL = `${getRoot()}/${id}/quote-print`;\r\n const file = await ApiUtilities.handleFileGet(URL);\r\n const filename = 'PriceQuote_' + number + '.pdf';\r\n CommonUtilities.downloadFile(file, false, filename);\r\n }\r\n}\r\n","import { BACKEND_HOST_AUTH } from '../store/api.constants';\r\nimport ApiUtilities from '../helpers/ApiUtils';\r\nimport { InvitationRequestViewModel } from '../viewModels/common/InvitationRequestViewModel';\r\nimport { InvitationSubmitRequestViewModel } from '../App/routes/Sessions/Invitation/viewModels/InvitationSubmitRequestViewModel';\r\nimport { InvitationResponseViewModel } from '../viewModels/common/InvitationResponseViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_AUTH()}api/invitation`;\r\n}\r\n\r\nexport class InvitationApi {\r\n public static addUser(formValues: InvitationSubmitRequestViewModel): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}`, formValues);\r\n }\r\n\r\n public static getList(tenantId: string): Promise {\r\n const params = {};\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/pending/${tenantId}`,\r\n params,\r\n );\r\n }\r\n\r\n public static getActiveInvitation(\r\n token: string,\r\n email: string,\r\n ): Promise {\r\n const params = { token, email };\r\n return ApiUtilities.handleGet(`${getRoot()}`, params);\r\n }\r\n\r\n public static inviteTenantAdmin(formValues: InvitationRequestViewModel, id: string) {\r\n return ApiUtilities.handlePost(`${getRoot()}/tenant-admin/${id}`, formValues);\r\n }\r\n\r\n public static inviteTenantUser(formValues: InvitationRequestViewModel, id: string) {\r\n return ApiUtilities.handlePost(`${getRoot()}/tenant-user/${id}`, formValues);\r\n }\r\n\r\n public static inviteTenantDriver(formValues: InvitationRequestViewModel, id: string) {\r\n return ApiUtilities.handlePost(`${getRoot()}/tenant-driver/${id}`, formValues);\r\n }\r\n\r\n public static resendEmail(id: string, tenantId: string): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/resend/${id}/${tenantId}`, {});\r\n }\r\n\r\n public static removeInvitation(id: string, tenantId?: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}/${tenantId}`);\r\n }\r\n}\r\n","import { BACKEND_HOST_AUTH } from '../store/api.constants';\r\nimport { PaginatedListResult } from '../store/base';\r\nimport { UserCreateOrUpdateRequestViewModel, UsersResponseViewModel } from '../viewModels/user';\r\nimport UsersRequestViewModel from '../viewModels/user/UsersRequestViewModel';\r\nimport ApiUtilities from '../helpers/ApiUtils';\r\nimport { SelectComponentValue } from '../viewModels/common/SelectComponentValue';\r\nimport UserAccountViewModel from '../viewModels/user/UserAccountViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_AUTH()}api/users`;\r\n}\r\n\r\nexport class UserApi {\r\n public static getList(\r\n params: UsersRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static add(formValues: UserCreateOrUpdateRequestViewModel) {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: string, formValues: UserCreateOrUpdateRequestViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static remove(id: number, tenantId?: number) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}/${tenantId}`);\r\n }\r\n\r\n public static getSelectComponentList(params: {}): Promise> {\r\n const URL = `${getRoot()}/select-component-values`;\r\n return ApiUtilities.handleGet>(URL, { ...params });\r\n }\r\n\r\n public static findUserNameExists(username: string) {\r\n return ApiUtilities.handleGet(`${getRoot()}/username-exists`, {\r\n username: username,\r\n });\r\n }\r\n\r\n public static addUserForTenant(tenantId: number, userId: string) {\r\n return ApiUtilities.handlePost(\r\n `${getRoot()}/add-existing-user-to-tenant/${tenantId}/${userId}`,\r\n {},\r\n );\r\n }\r\n}\r\n","/**\r\n * Created by zekar on 3/3/2017.\r\n */\r\n\r\nimport axios from 'axios';\r\nimport * as qs from 'qs';\r\nimport { BACKEND_HOST_AUTH, endpoints } from 'store/api.constants';\r\nimport ApiUtils from 'helpers/ApiUtils';\r\nimport { LocalStorageUserModel } from 'helpers/AuthUtils';\r\nimport LoginRequestViewModel from 'App/routes/Sessions/Login/viewModels/LoginRequestViewModel';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport AccountChangePasswordRequestViewModel from 'App/routes/Sessions/ChangePassword/viewModels/AccountChangePasswordRequestViewModel';\r\nimport AccountResponseViewModel from '../App/routes/Sessions/Profile/viewModels/AccountResponseViewModel';\r\n\r\n/////////////////////////////\r\n/// USER SERVICE\r\n/////////////////////////////\r\n\r\n/* tslint:disable:variable-name */\r\nexport class TokenInfo {\r\n access_token: string;\r\n expires_in: number;\r\n resource: string;\r\n token_type: string;\r\n refresh_token: string;\r\n appScope: string;\r\n}\r\n\r\n/* tslint:enable:variable-name */\r\n\r\nfunction getRoot(): string {\r\n return `${BACKEND_HOST_AUTH()}api/account`;\r\n}\r\n\r\nexport default class AccountApi {\r\n public static async loginUser(viewModel: LoginRequestViewModel): Promise {\r\n // let isSuccess = true;\r\n\r\n const url = BACKEND_HOST_AUTH() + endpoints.auth.login;\r\n try {\r\n return await ApiUtils.handleApi(\r\n axios.post(url, qs.stringify(viewModel)),\r\n true,\r\n false,\r\n );\r\n } catch (exception: any) {\r\n throw new ErrorWrapper(exception, exception.description);\r\n }\r\n }\r\n\r\n public static getCurrentUser(accessToken: string): Promise {\r\n return ApiUtils.handleGet(\r\n `${BACKEND_HOST_AUTH()}api/account/me`,\r\n {},\r\n accessToken,\r\n );\r\n }\r\n\r\n public static changePassword(formValues: AccountChangePasswordRequestViewModel) {\r\n return ApiUtils.handlePost(`${getRoot()}/change-password`, formValues);\r\n }\r\n\r\n public static forgotPassword(formValues: any) {\r\n return ApiUtils.handlePost(\r\n `${BACKEND_HOST_AUTH()}api/authorize/forgot-password`,\r\n formValues,\r\n );\r\n }\r\n\r\n public static resetPassword(formValues: any) {\r\n return ApiUtils.handlePost(\r\n `${BACKEND_HOST_AUTH()}api/authorize/reset-password`,\r\n formValues,\r\n );\r\n }\r\n\r\n public static toggleActivation(userId: number, activated: boolean) {\r\n return ApiUtils.handlePut(\r\n `${getRoot()}/toggle-activation/${userId}/${activated}`,\r\n null,\r\n );\r\n }\r\n\r\n public static userProfile(): Promise {\r\n return ApiUtils.handleGet(`${getRoot()}/profile`, {});\r\n }\r\n\r\n public static saveProfile(formValues: AccountResponseViewModel) {\r\n return ApiUtils.handlePost(`${getRoot()}/profile`, formValues);\r\n }\r\n}\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { asyncActions as editStartActions } from './actions/Shipment.edit.start.action';\r\nimport { asyncActions as editSubmitActions } from './actions/Shipment.edit.submit.action';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_KEY__SHIPMENT = 'shipment';\r\n\r\nexport class ShipmentState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n shipmentId?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: ShipmentState = {\r\n loading: false,\r\n};\r\nexport default (state: ShipmentState = defaultState, action: Action): ShipmentState => {\r\n // Edit actions\r\n if (isType(action, editStartActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editStartActions.done)) {\r\n return { type: action.type, shipmentId: action.payload.result.shipmentId, ...defaultState };\r\n }\r\n if (isType(action, editStartActions.failed)) {\r\n return { ...state, type: action.type, loading: false, errorWrapper: action.payload.error };\r\n }\r\n\r\n // Edit actions submit\r\n if (isType(action, editSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true, errorWrapper: undefined };\r\n }\r\n if (isType(action, editSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, editSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { asyncActions as editStartActions } from './actions/PriceRequest.edit.start.action';\r\nimport { asyncActions as editSubmitActions } from './actions/PriceRequest.edit.submit.action';\r\nimport { asyncActions as pricesSubmitActions } from './actions/PriceRequest.prices.submit.action';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_KEY__PRICE_REQUEST = 'priceRequest';\r\n\r\nexport class PriceRequestState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n priceRequestId?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: PriceRequestState = {\r\n loading: false,\r\n};\r\nexport default (state: PriceRequestState = defaultState, action: Action): PriceRequestState => {\r\n // Edit actions\r\n if (isType(action, editStartActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editStartActions.done)) {\r\n return {\r\n type: action.type,\r\n priceRequestId: action.payload.result.priceRequestId,\r\n ...defaultState,\r\n };\r\n }\r\n if (isType(action, editStartActions.failed)) {\r\n return { ...state, type: action.type, loading: false, errorWrapper: action.payload.error };\r\n }\r\n\r\n // Edit actions submit\r\n if (isType(action, editSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true, errorWrapper: undefined };\r\n }\r\n if (isType(action, editSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, editSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n // Edit prices submit\r\n if (isType(action, pricesSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true, errorWrapper: undefined };\r\n }\r\n if (isType(action, pricesSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, pricesSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n return state;\r\n};\r\n","import { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport { PaginatedListResult } from 'store/base';\r\nimport {\r\n ShipmentDetailResponseViewModel,\r\n ShipmentDraftPricesResponseViewModel,\r\n ShipmentEventViewModel,\r\n ShipmentResponseViewModel,\r\n ShipmentsRequestViewModel,\r\n ShipmentsResponseViewModel,\r\n} from 'App/routes/Tenant/Shipment/ViewModels';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { ShipmentStatusUpdateRequest } from 'viewModels/shipment/ShipmentStatusUpdateRequest';\r\nimport { CmrRequestViewModel } from 'shared/types/CmrRequestViewModel';\r\nimport { BasicIdsRequestViewModel } from '../viewModels/common/BasicIdsRequestViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/shipment`;\r\n}\r\n\r\nexport class ShipmentApi {\r\n public static getList(\r\n params: ShipmentsRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: string, snapshot: boolean = false): Promise {\r\n const snapshotParam = snapshot ? '?snapshot=true' : ''; \r\n return ApiUtilities.handleGet(`${getRoot()}/${id}${snapshotParam}`);\r\n }\r\n\r\n public static add(formValues: ShipmentResponseViewModel): Promise {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: string, formValues: ShipmentResponseViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static getInvoiceDraftInfo(\r\n id: string,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/invoice-draft`,\r\n );\r\n }\r\n\r\n public static submitInvoiceDraftPrices(\r\n id: string,\r\n formValues: ShipmentDraftPricesResponseViewModel,\r\n type: 'sales' | 'purchase',\r\n ) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}/invoice-draft/${type}`, formValues);\r\n }\r\n\r\n public static async downloadLabelsFile(\r\n shipmentId: string,\r\n shipmentNumber: string,\r\n pageSize: 'A4' | 'A5' | 'A6',\r\n shippingOrderId?: string,\r\n ) {\r\n let shippingOrder = '';\r\n if (shippingOrderId) {\r\n shippingOrder = shippingOrderId;\r\n }\r\n const URL = `${getRoot()}/${shipmentId}/labels`;\r\n const data = {\r\n shippingOrderId: shippingOrder,\r\n paperSize: pageSize,\r\n };\r\n const file = await ApiUtilities.handleFileGetPost(URL, data);\r\n const filename = 'ShippingLabels_' + shipmentNumber + '.pdf';\r\n CommonUtilities.downloadFile(file, false, filename);\r\n }\r\n\r\n public static async downloadCmrFile(data: CmrRequestViewModel, cmrNumber: string) {\r\n const URL = `${getRoot()}/cmr`;\r\n const file = await ApiUtilities.handleFileGetPost(URL, data);\r\n const filename = 'CMR_' + cmrNumber + '.pdf';\r\n CommonUtilities.downloadFile(file, false, filename);\r\n }\r\n\r\n public static updateStatus(\r\n id: string,\r\n formValues: ShipmentStatusUpdateRequest,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/update-status`, formValues);\r\n }\r\n\r\n public static events(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}/events`);\r\n }\r\n\r\n public static getInboxShipmentsCount(params: any): Promise {\r\n const URL = `${getRoot()}/inbox-count`;\r\n return ApiUtilities.handleGet(URL, { ...params });\r\n }\r\n\r\n public static delete(id: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static importToProject(\r\n projectId: string,\r\n formValues: BasicIdsRequestViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(\r\n `${getRoot()}/import-to-project/${projectId}`,\r\n formValues,\r\n );\r\n }\r\n\r\n public static removeFromProject(formValues: BasicIdsRequestViewModel): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/remove-from-project`, formValues);\r\n }\r\n\r\n public static async toggleDocumentsVerificationFlag (\r\n shipmentId: string,\r\n isVerified: boolean,\r\n ): Promise {\r\n const formValue = { isVerified };\r\n return ApiUtilities.handlePut(`${getRoot()}/${shipmentId}/documents-verification`, formValue);\r\n }\r\n}\r\n","import { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport { PaginatedListResult } from 'store/base';\r\nimport {\r\n AddressBookItemContactListResponseViewModel,\r\n AddressBookItemResponseViewModel,\r\n AddressBookItemsRequestViewModel,\r\n AddressBookItemsResponseViewModel,\r\n} from '../App/routes/Tenant/AddressBook/ViewModels';\r\nimport AddressBookItemContactCreateOrUpdateResponseViewModel from '../viewModels/address/AddressBookItemContactCreateOrUpdateResponseViewModel';\r\nimport AddressBookWithContactsResponseViewModel from '../viewModels/address/AddressBookWithContactsResponseViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/address-book`;\r\n}\r\n\r\nexport class AddressBookApi {\r\n public static getList(\r\n params: AddressBookItemsRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(\r\n getRoot(),\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n\r\n public static getSingle(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static add(formValues: AddressBookItemResponseViewModel): Promise {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: string, formValues: AddressBookItemResponseViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static delete(id: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static getContactList(id: string): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/contact`,\r\n {},\r\n );\r\n }\r\n\r\n public static addContact(\r\n id: string,\r\n formValues: AddressBookItemContactCreateOrUpdateResponseViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/contact`, formValues);\r\n }\r\n\r\n public static updateContact(\r\n id: string,\r\n formValues: AddressBookItemContactCreateOrUpdateResponseViewModel,\r\n ) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}/contact/`, formValues);\r\n }\r\n\r\n public static getContact(\r\n id: string,\r\n contactId: number,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/contact/${contactId}`,\r\n {},\r\n );\r\n }\r\n\r\n public static deleteContact(id: string, contactId: number): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/contact/${contactId}/delete`, {});\r\n }\r\n\r\n public static getCustomerDefaultAddress(\r\n customerId: string,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/customer-loading-address/?customerId=${customerId}`,\r\n );\r\n }\r\n}\r\n","import { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport { PaginatedListResult } from 'store/base';\r\nimport { AddressBookItemContactListResponseViewModel } from 'App/routes/Tenant/AddressBook/ViewModels';\r\nimport AddressBookItemContactCreateOrUpdateResponseViewModel from '../viewModels/address/AddressBookItemContactCreateOrUpdateResponseViewModel';\r\n\r\nimport PartnersRequestViewModel from 'App/routes/Tenant/Partner/ViewModels/PartnersRequestViewModel';\r\nimport PartnersResponseViewModel from 'App/routes/Tenant/Partner/ViewModels/PartnersResponseViewModel';\r\nimport PartnerResponseViewModel from 'App/routes/Tenant/Partner/ViewModels/PartnerResponseViewModel';\r\nimport PartnerServiceViewModel from '../App/routes/Tenant/Partner/ViewModels/PartnerServiceViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/partner`;\r\n}\r\n\r\nexport class PartnerApi {\r\n public static getList(\r\n params: PartnersRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static add(formValues: PartnerResponseViewModel): Promise {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: string, formValues: PartnerResponseViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static delete(id: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static getContactList(id: string): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/contact`,\r\n {},\r\n );\r\n }\r\n\r\n public static addContact(\r\n id: string,\r\n formValues: AddressBookItemContactCreateOrUpdateResponseViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/contact`, formValues);\r\n }\r\n\r\n public static updateContact(\r\n id: string,\r\n formValues: AddressBookItemContactCreateOrUpdateResponseViewModel,\r\n ) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}/contact/`, formValues);\r\n }\r\n\r\n public static getContact(\r\n id: string,\r\n contactId: number,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/contact/${contactId}`,\r\n {},\r\n );\r\n }\r\n\r\n public static deleteContact(id: string, contactId: number): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/contact/${contactId}/delete`, {});\r\n }\r\n\r\n public static getServiceList(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}/service`, {});\r\n }\r\n\r\n public static addService(id: string, formValues: PartnerServiceViewModel): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/service`, formValues);\r\n }\r\n\r\n public static updateService(id: string, formValues: PartnerServiceViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}/service/`, formValues);\r\n }\r\n\r\n public static getService(id: string, contactId: number): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/service/${contactId}`,\r\n {},\r\n );\r\n }\r\n\r\n public static deleteService(id: string, contactId: number): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/service/${contactId}/delete`, {});\r\n }\r\n}\r\n","import { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport { PaginatedListResult } from 'store/base';\r\nimport {\r\n TerminalResponseViewModel,\r\n TerminalsRequestViewModel,\r\n TerminalsResponseViewModel,\r\n} from '../App/routes/Tenant/Terminal/ViewModels';\r\nimport { AddressBookItemContactListResponseViewModel } from '../App/routes/Tenant/AddressBook/ViewModels';\r\nimport AddressBookItemContactCreateOrUpdateResponseViewModel from '../viewModels/address/AddressBookItemContactCreateOrUpdateResponseViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/terminal`;\r\n}\r\n\r\nexport class TerminalApi {\r\n public static getList(\r\n params: TerminalsRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static add(formValues: TerminalResponseViewModel): Promise {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: string, formValues: TerminalResponseViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static delete(id: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static getContactList(id: string): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/contact`,\r\n {},\r\n );\r\n }\r\n\r\n public static addContact(\r\n id: string,\r\n formValues: AddressBookItemContactCreateOrUpdateResponseViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/contact`, formValues);\r\n }\r\n\r\n public static updateContact(\r\n id: string,\r\n formValues: AddressBookItemContactCreateOrUpdateResponseViewModel,\r\n ) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}/contact/`, formValues);\r\n }\r\n\r\n public static getContact(\r\n id: string,\r\n contactId: number,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/contact/${contactId}`,\r\n {},\r\n );\r\n }\r\n\r\n public static deleteContact(id: string, contactId: number): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/contact/${contactId}/delete`, {});\r\n }\r\n}\r\n","import ApiUtilities from 'helpers/ApiUtils';\r\nimport { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport { PaginatedListResult } from 'store/base';\r\nimport {\r\n TenantCreateOrUpdateRequestViewModel,\r\n TenantPreferencesViewModel,\r\n TenantResponseViewModel,\r\n TenantsResponseViewModel,\r\n} from 'App/routes/Admin/Tenants/ViewModels/index';\r\nimport TenantsRequestViewModel from 'App/routes/Admin/Tenants/ViewModels/TenantsRequestViewModel';\r\nimport { SelectComponentValue } from 'viewModels/common/SelectComponentValue';\r\nimport { NullableLocalTenantModel } from 'helpers/AuthUtils';\r\nimport { MyTenantResponseViewModel } from 'App/routes/Tenant/Settings/Profile/viewModels';\r\nimport TenantInvoiceSettingsViewModel from 'App/routes/Admin/Tenants/ViewModels/TenantInvoiceSettingsViewModel';\r\nimport TenantPdfSettingsViewModel from 'App/routes/Admin/Tenants/ViewModels/TenantPdfSettingsViewModel';\r\nimport TenantPublicInfoViewModel from '../viewModels/tenant/TenantPublicInfoViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/tenant`;\r\n}\r\n\r\nfunction getTenantRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/my-tenant`;\r\n}\r\n\r\nexport class TenantApi {\r\n public static myTenant(): Promise {\r\n return ApiUtilities.handleGet(`${getTenantRoot()}/current`);\r\n }\r\n\r\n public static publicTenantInfo(tenantCode: string): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getTenantRoot()}/public-info/${tenantCode}`,\r\n );\r\n }\r\n\r\n public static myTenantAccount(): Promise {\r\n return ApiUtilities.handleGet(`${getTenantRoot()}/account`);\r\n }\r\n\r\n public static myTenantAccountUpdate(formValues: MyTenantResponseViewModel) {\r\n return ApiUtilities.handlePut(`${getTenantRoot()}/account`, formValues);\r\n }\r\n\r\n public static getList(\r\n params: TenantsRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: number): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static add(formValues: TenantCreateOrUpdateRequestViewModel) {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: number, formValues: TenantCreateOrUpdateRequestViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static remove(id: number) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static getSelectComponentList(params: {}): Promise> {\r\n const URL = `${getRoot()}/select-component-values`;\r\n return ApiUtilities.handleGet>(URL, { ...params });\r\n }\r\n\r\n public static updateInvoiceSettings(formValues: TenantInvoiceSettingsViewModel) {\r\n return ApiUtilities.handlePut(`${getTenantRoot()}/invoice-settings`, formValues);\r\n }\r\n\r\n public static updatePdfSettings(formValues: TenantPdfSettingsViewModel) {\r\n return ApiUtilities.handlePut(`${getTenantRoot()}/pdf-settings`, formValues);\r\n }\r\n\r\n public static updatePreferences(formValues: TenantPreferencesViewModel) {\r\n return ApiUtilities.handlePut(`${getTenantRoot()}/preferences`, formValues);\r\n }\r\n\r\n public static removeTenantLogo() {\r\n return ApiUtilities.handlePost(`${getTenantRoot()}/delete-logo`, {});\r\n }\r\n}\r\n","import { BACKEND_HOST_MAIN } from '../store/api.constants';\r\nimport ApiUtilities from '../helpers/ApiUtils';\r\nimport { PaginatedListResult } from '../store/base';\r\nimport {\r\n FleetCreateOrUpdateRequestViewModel,\r\n FleetResponseViewModel,\r\n FleetsRequestViewModel,\r\n FleetsResponseViewModel,\r\n} from '../App/routes/Tenant/Fleet/ViewModels';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/fleet`;\r\n}\r\n\r\nexport class FleetApi {\r\n public static getList(\r\n params: FleetsRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static add(formValues: FleetCreateOrUpdateRequestViewModel) {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: string, formValues: FleetCreateOrUpdateRequestViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static delete(id: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n}\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { asyncActions as createSubmitActions } from './actions/AddressBookItem.create.submit.action';\r\nimport { asyncActions as editStartActions } from './actions/AddressBookItem.edit.start.action';\r\nimport { asyncActions as editSubmitActions } from './actions/AddressBookItem.edit.submit.action';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__ADDRESS_BOOK = 'address_book';\r\n\r\nexport class AddressBookItemState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n errorWrapperContact?: ErrorWrapper;\r\n addressBookItemId?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: AddressBookItemState = {\r\n loading: false,\r\n};\r\nexport default (\r\n state: AddressBookItemState = defaultState,\r\n action: Action,\r\n): AddressBookItemState => {\r\n // Create actions\r\n\r\n if (isType(action, createSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, createSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n\r\n if (isType(action, createSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n // Edit actions\r\n if (isType(action, editStartActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editStartActions.done)) {\r\n return {\r\n type: action.type,\r\n addressBookItemId: action.payload.result.addressBookItemId,\r\n ...defaultState,\r\n };\r\n }\r\n if (isType(action, editStartActions.failed)) {\r\n return { ...state, type: action.type, loading: false, errorWrapper: action.payload.error };\r\n }\r\n // Edit actions\r\n if (isType(action, editSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, editSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n return state;\r\n};\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport axios, { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport CommonUtils from 'helpers/CommonUtilities';\r\nimport AuthUtils, { NullableLocalStorageUserModel } from 'helpers/AuthUtils/AuthUtils';\r\nimport * as actionTypes from 'store/actions';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\nimport { loadTranslations, setLocale, syncTranslationWithStore } from 'react-redux-i18n';\r\nimport TranslationApi from 'api/Translations.api';\r\nimport { store } from 'index';\r\nimport { routePaths } from 'store/api.constants';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nexport const asyncActions = actionCreator.async<\r\n {},\r\n { user: NullableLocalStorageUserModel },\r\n ErrorWrapper\r\n>('APP/START');\r\n\r\nexport default function submit() {\r\n return (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n\r\n // @ts-ignore\r\n const location = window.location;\r\n const translations =\r\n location.pathname !== routePaths.errors.offline ? await TranslationApi.getAll() : [];\r\n configureApiInterceptors();\r\n let user: NullableLocalStorageUserModel | null;\r\n user = new AuthUtils().getCurrentUser();\r\n AuthUtils.setThemeSettings();\r\n const menuIsCollapsed = AuthUtils.getThemeSettingValue('collapseRightMenu');\r\n if (menuIsCollapsed) dispatch({ type: actionTypes.COLLAPSE_MENU });\r\n\r\n try {\r\n const currentLanguage = LocaleUtilities.getCurrentLanguage();\r\n\r\n if (store) {\r\n // @ts-ignore\r\n syncTranslationWithStore(store);\r\n }\r\n\r\n dispatch(loadTranslations(translations));\r\n dispatch(setLocale(currentLanguage));\r\n } catch (e) {\r\n // console.log(e);\r\n }\r\n\r\n dispatch(asyncActions.done({ params: {}, result: { user } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n CommonUtils.scrollToTop();\r\n }\r\n\r\n CommonUtils.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n}\r\n\r\n/**\r\n * Configurations when starting the application.\r\n */\r\nfunction configureApiInterceptors() {\r\n const requestCallbacks = {\r\n onFulfilled: function onFulfilled(config: AxiosRequestConfig) {\r\n config.validateStatus = (status: number) => {\r\n return status < 400 || status === 422;\r\n };\r\n return config;\r\n },\r\n onRejected: function onRejected(error: AxiosError) {\r\n return Promise.reject(error);\r\n },\r\n };\r\n\r\n const responseCallbacks = {\r\n onFulfilled: function onFulfilled(response: AxiosResponse) {\r\n return response;\r\n },\r\n onRejected: function onRejected(error: AxiosError) {\r\n return Promise.reject(error);\r\n },\r\n };\r\n\r\n axios.interceptors.request.use(requestCallbacks.onFulfilled, requestCallbacks.onRejected);\r\n axios.interceptors.response.use(responseCallbacks.onFulfilled, responseCallbacks.onRejected);\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper } from '../../../../../../../store/base';\r\nimport CommonUtilities from '../../../../../../../helpers/CommonUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nexport const asyncActions = actionCreator.async<{}, { deliveryId: number }, ErrorWrapper>(\r\n 'TENANT/CREATE/START',\r\n);\r\n\r\nexport default function start(deliveryId: number) {\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n dispatch(asyncActions.done({ params: {}, result: { deliveryId } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\n\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { TenantApi } from 'api/Tenant.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\nimport TenantCreateOrUpdateRequestViewModel from '../../../ViewModels/TenantCreateOrUpdateRequestViewModel';\r\nimport { NumberUtilities } from 'helpers/NumberUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TENANT/CREATE/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction =\r\n (id: number, formValues: TenantCreateOrUpdateRequestViewModel) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n if (formValues?.offeredPrice) {\r\n formValues.offeredPrice =\r\n NumberUtilities.tryFormatFloat(formValues?.offeredPrice.toString()) ?? 0;\r\n } else {\r\n formValues.offeredPrice = undefined;\r\n }\r\n if (formValues?.maxUsers)\r\n formValues.maxUsers = NumberUtilities.tryFormatInt(formValues.maxUsers.toString()) ?? 1;\r\n await TenantApi.add(formValues);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport { TenantApi } from 'api/Tenant.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { TenantResponseViewModel } from '../../../ViewModels';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TENANT/EDIT/START';\r\nexport const asyncActions = actionCreator.async<{}, { tenantId: number }, ErrorWrapper>(type);\r\n\r\nexport default function start(tenantId: number) {\r\n return async (dispatch: Dispatch) => {\r\n var tenantInfo: any = new TenantResponseViewModel();\r\n\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n const tenant = await TenantApi.getSingle(tenantId);\r\n if (!tenant) {\r\n throw new NotFoundErrorWrapper(`Item with Id ${tenantId} not found`);\r\n }\r\n tenantInfo = tenant;\r\n dispatch(asyncActions.done({ params: {}, result: { tenantId } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return tenantInfo;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { TenantApi } from 'api/Tenant.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\nimport TenantCreateOrUpdateRequestViewModel from '../../../ViewModels/TenantCreateOrUpdateRequestViewModel';\r\nimport { NumberUtilities } from 'helpers/NumberUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TENANT/EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction =\r\n (id: number, formValues: TenantCreateOrUpdateRequestViewModel) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n if (formValues?.offeredPrice) {\r\n formValues.offeredPrice =\r\n NumberUtilities.tryFormatFloat(formValues?.offeredPrice.toString()) ?? 0;\r\n } else {\r\n formValues.offeredPrice = undefined;\r\n }\r\n if (formValues?.maxUsers)\r\n formValues.maxUsers = NumberUtilities.tryFormatInt(formValues.maxUsers.toString()) ?? 1;\r\n await TenantApi.update(id, formValues);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport { ErrorWrapper, TableData } from 'store/base';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { UserApi } from 'api/User.api';\r\nimport UsersRequestViewModel from 'viewModels/user/UsersRequestViewModel';\r\nimport UsersResponseViewModel from 'viewModels/user/UsersResponseViewModel';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nexport const asyncActions = actionCreator.async<\r\n {},\r\n { tableData: TableData },\r\n ErrorWrapper\r\n>('TENANT/GET-USERS');\r\n\r\nexport default function submit(params: UsersRequestViewModel, onSuccess: Function | undefined) {\r\n return async (dispatch: Dispatch, getState: Function) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n const paginatedList = await UserApi.getList(params);\r\n dispatch(\r\n asyncActions.done({\r\n params: {},\r\n result: { tableData: TableData.createTableDataFrom(paginatedList, 1, 35) },\r\n }),\r\n );\r\n if (onSuccess) {\r\n onSuccess();\r\n }\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error('Error', 'Error has occurred');\r\n CommonUtilities.scrollToTop();\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper } from '../../../../../../../store/base';\r\nimport CommonUtilities from '../../../../../../../helpers/CommonUtilities';\r\nimport UserCreateOrUpdateRequestViewModel from '../../../../../../../viewModels/user/UserCreateOrUpdateRequestViewModel';\r\nimport { UserApi } from '../../../../../../../api/User.api';\r\nimport UserAccountViewModel from '../../../../../../../viewModels/user/UserAccountViewModel';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TENANT/USERNAME/EXISTS';\r\nexport const asyncActions = actionCreator.async<\r\n {},\r\n { existingUser: UserAccountViewModel },\r\n ErrorWrapper\r\n>(type);\r\n\r\nexport default function start() {\r\n return async (dispatch: Dispatch, getState: Function) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n const state = getState();\r\n let formValues: UserCreateOrUpdateRequestViewModel = state.form[''].values || {};\r\n var user;\r\n\r\n if (\r\n formValues.username != null &&\r\n formValues.username !== undefined &&\r\n formValues.username.length > 0\r\n )\r\n user = await UserApi.findUserNameExists(formValues.username);\r\n dispatch(asyncActions.done({ params: {}, result: { existingUser: user } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper } from '../../../../../../../store/base';\r\nimport CommonUtilities from '../../../../../../../helpers/CommonUtilities';\r\nimport { UserApi } from '../../../../../../../api/User.api';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TENANT/USER/EXISTING/ADD';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nexport default function start(tenantId: number, userId: string) {\r\n return async (dispatch: Dispatch, getState: Function) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n await UserApi.addUserForTenant(tenantId, userId);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n}\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\n\r\nconst StatusCanceledIcon: FC> = ({\r\n width = 38,\r\n height = 38,\r\n fill = '#0A6CBA',\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default StatusCanceledIcon;\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { NullableLocalStorageUserModel } from 'helpers/AuthUtils';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { asyncActions as startActions } from './actions/App.start.action';\r\nimport { asyncActions as loginActions } from './routes/Sessions/Login/actions/App.login.submit.action';\r\nimport { asyncActions as loginClientPortalActions } from './routes/Sessions/LoginClientPortal/actions/App.clientLogin.submit.action';\r\nimport { asyncActions as startInvitationActions } from './routes/Sessions/Invitation/actions/App.invitation.start.action';\r\nimport { asyncActions as submitInvitationActions } from './routes/Sessions/Invitation/actions/App.invitation.submit.action';\r\nimport { asyncActions as startSpotRequestActions } from './routes/Public/SpotRequest/actions/SpotRequest.start.action';\r\nimport { asyncActions as submitSpotRequestActions } from './routes/Public/SpotRequest/actions/SpotRequest.submit.action';\r\nimport { asyncActions as startPulicInvoiceRequestActions } from './routes/Public/Invoice/actions/Invoice.start.action';\r\nimport { asyncActions as startShippingOrderConfirmation } from './routes/Public/ShippingOrder/actions/ShippingOrderConfirmation.start.action';\r\nimport { asyncActions as submitShippingOrderConfirmation } from './routes/Public/ShippingOrder/actions/ShippingOrderConfirmation.submit.acton';\r\n\r\nexport const REDUCER_NAME__APP = 'app';\r\n\r\nexport interface AppReduxState {\r\n loading: boolean;\r\n user: NullableLocalStorageUserModel;\r\n settings: any;\r\n error?: ErrorWrapper;\r\n loginSuccessful: boolean;\r\n lastUsername?: string;\r\n lastClientCode?: string;\r\n}\r\n\r\nconst defaultState: AppReduxState = {\r\n loading: false,\r\n user: null,\r\n settings: {},\r\n loginSuccessful: false,\r\n lastUsername: undefined,\r\n lastClientCode: undefined,\r\n};\r\n\r\nexport default (state: AppReduxState = defaultState, action: Action) => {\r\n // Set or unset user\r\n if (isType(action, startActions.started)) {\r\n return { ...state, type: action.type };\r\n }\r\n if (isType(action, startActions.done)) {\r\n return { ...state, type: action.type, loading: false, user: action.payload.result.user };\r\n }\r\n if (isType(action, startActions.failed)) {\r\n return { ...state, type: action.type, loading: false, user: null, error: action.payload.error };\r\n }\r\n\r\n // Login actions\r\n if (isType(action, loginActions.started)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loading: true,\r\n user: state.user,\r\n error: undefined,\r\n loginSuccessful: false,\r\n lastUsername: action.payload.lastUsername,\r\n lastClientCode: undefined,\r\n };\r\n }\r\n if (isType(action, loginActions.done)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loading: false,\r\n user: action.payload.result.user,\r\n error: undefined,\r\n loginSuccessful: true,\r\n lastUsername: undefined,\r\n lastClientCode: undefined,\r\n };\r\n }\r\n if (isType(action, loginActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loading: false,\r\n user: state.user,\r\n error: action.payload.error,\r\n };\r\n }\r\n // Login client portal actions\r\n if (isType(action, loginClientPortalActions.started)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loading: true,\r\n user: state.user,\r\n error: undefined,\r\n loginSuccessful: false,\r\n lastUsername: action.payload.lastUsername,\r\n lastClientCode: action.payload.lastClientCode,\r\n };\r\n }\r\n if (isType(action, loginClientPortalActions.done)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loading: false,\r\n user: action.payload.result.user,\r\n error: undefined,\r\n loginSuccessful: true,\r\n lastUsername: undefined,\r\n };\r\n }\r\n if (isType(action, loginClientPortalActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loading: false,\r\n user: state.user,\r\n error: action.payload.error,\r\n };\r\n }\r\n\r\n // Invitation start action\r\n if (isType(action, startInvitationActions.started)) {\r\n return { ...state, type: action.type, error: undefined };\r\n }\r\n\r\n if (isType(action, startInvitationActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n error: action.payload.error,\r\n };\r\n }\r\n // Invitation submit action\r\n if (isType(action, submitInvitationActions.started)) {\r\n return { ...state, type: action.type, error: undefined };\r\n }\r\n\r\n if (isType(action, submitInvitationActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n error: action.payload.error,\r\n };\r\n }\r\n\r\n // Spot request start action\r\n if (isType(action, startSpotRequestActions.started)) {\r\n return { ...state, type: action.type, error: undefined };\r\n }\r\n\r\n if (isType(action, startSpotRequestActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n error: action.payload.error,\r\n };\r\n }\r\n\r\n // Public invoice request start action\r\n if (isType(action, startPulicInvoiceRequestActions.started)) {\r\n return { ...state, type: action.type, error: undefined };\r\n }\r\n\r\n if (isType(action, startPulicInvoiceRequestActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n error: action.payload.error,\r\n };\r\n }\r\n\r\n // Spot request submit action\r\n if (isType(action, submitSpotRequestActions.started)) {\r\n return { ...state, type: action.type, error: undefined };\r\n }\r\n\r\n if (isType(action, submitSpotRequestActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n error: action.payload.error,\r\n };\r\n }\r\n\r\n // Public shipping order confirmation submit action\r\n if (isType(action, startShippingOrderConfirmation.started)) {\r\n return { ...state, type: action.type, error: undefined };\r\n }\r\n\r\n if (isType(action, submitShippingOrderConfirmation.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n error: action.payload.error,\r\n };\r\n }\r\n \r\n return state;\r\n};\r\n","export default class TranslationsInsertUpdateViewModel {\r\n translationKey: string;\r\n translationGroup: string;\r\n cargoKeepApplicationEnum: string;\r\n translations: any;\r\n}\r\n","import { BACKEND_HOST_TRANSLATIONS } from '../store/api.constants';\r\nimport { PaginatedListResult } from '../store/base';\r\nimport ApiUtilities from '../helpers/ApiUtils';\r\nimport TranslationsRequestViewModel from '../App/routes/Admin/Translations/viewModels/TranslationsRequestViewModel';\r\nimport TranslationsResponseViewModel from '../App/routes/Admin/Translations/viewModels/TranslationsResponseViewModel';\r\nimport { SelectComponentValue } from '../viewModels/common/SelectComponentValue';\r\nimport TranslationsInsertUpdateViewModel from '../App/routes/Admin/Translations/viewModels/TranslationsInsertUpdateViewModel';\r\nimport CommonUtilities from '../helpers/CommonUtilities';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_TRANSLATIONS()}api/translation`;\r\n}\r\n\r\nexport default class TranslationApi {\r\n public static async getAll(): Promise {\r\n return await ApiUtilities.handleGet(`${getRoot()}/app/WebUI`);\r\n }\r\n\r\n public static async getList(\r\n options: TranslationsRequestViewModel,\r\n ): Promise> {\r\n return await ApiUtilities.handleGet>(\r\n `${getRoot()}/app/WebUI/grouped-by-key`,\r\n options,\r\n );\r\n }\r\n\r\n /**\r\n * Updates or inserts an item\r\n */\r\n public static async create(\r\n key: string,\r\n translations: { English: string | null; Finnish: string | null; Estonian: string | null },\r\n group?: string,\r\n ) {\r\n if (group !== null) {\r\n // var pieces = key.toLowerCase().split('-');\r\n // group = pieces[0];\r\n }\r\n let viewmodel = new TranslationsInsertUpdateViewModel();\r\n\r\n viewmodel.translations = translations;\r\n viewmodel.translationGroup = group ?? '';\r\n viewmodel.translationKey = key;\r\n let system = 'WebUI';\r\n viewmodel.cargoKeepApplicationEnum = system;\r\n const URL = `${getRoot()}/create`;\r\n return await ApiUtilities.handlePost(URL, viewmodel);\r\n }\r\n\r\n /**\r\n * Updates or inserts an item\r\n */\r\n public static async upsert(\r\n key: string,\r\n translations: { english: string | null; finnish: string | null; estonian: string | null },\r\n group?: string,\r\n translatableSystem?: string,\r\n ) {\r\n if (group !== null) {\r\n // var pieces = key.toLowerCase().split('-');\r\n // group = pieces[0];\r\n }\r\n let viewmodel = new TranslationsInsertUpdateViewModel();\r\n\r\n viewmodel.translations = translations;\r\n viewmodel.translationGroup = group ?? '';\r\n viewmodel.translationKey = key;\r\n let system = 'WebUI';\r\n if (translatableSystem !== null && translatableSystem !== undefined) {\r\n system = translatableSystem;\r\n }\r\n viewmodel.cargoKeepApplicationEnum = system;\r\n const URL = `${getRoot()}/insert-update`;\r\n return await ApiUtilities.handlePut(URL, viewmodel);\r\n }\r\n\r\n public static getGroupsSelectComponentList(params: {}): Promise> {\r\n const URL = `${getRoot()}/app/WebUI/groups/`;\r\n return ApiUtilities.handleGet>(URL, { ...params });\r\n }\r\n\r\n public static importExcelRows(formData: FormData): Promise {\r\n return ApiUtilities.handleFilePost(`${getRoot()}/import-from-excel/`, formData);\r\n }\r\n\r\n public static async downloadExcelFile() {\r\n const URL = `${getRoot()}/excel/WebUI`;\r\n const file = await ApiUtilities.handleFileGet(URL);\r\n const filename = 'translations.xlsx';\r\n CommonUtilities.downloadFile(file, false, filename);\r\n }\r\n}\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryColor } from 'theme';\r\n\r\nconst StatusProcessingIcon: FC> = ({\r\n width = 38,\r\n height = 38,\r\n fill = primaryColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default StatusProcessingIcon;\r\n","import { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport ShippingOrderCreateViewModel from 'App/routes/Tenant/ShippingOrder/ViewModels/ShippingOrderCreateViewModel';\r\nimport { PaginatedListResult } from 'store/base';\r\nimport ShippingOrdersRequestViewModel from 'App/routes/Tenant/ShippingOrder/ViewModels/ShippingOrdersRequestViewModel';\r\nimport ShippingOrdersResponseViewModel from 'App/routes/Tenant/ShippingOrder/ViewModels/ShippingOrdersResponseViewModel';\r\nimport {\r\n ShippingOrderResponseViewModel,\r\n ShippingOrderShipmentResponseViewModel,\r\n ShippingOrderShipmentUpdateViewModel,\r\n} from 'App/routes/Tenant/ShippingOrder/ViewModels';\r\nimport ShippingOrderUpdateViewModel from 'App/routes/Tenant/ShippingOrder/ViewModels/ShippingOrderUpdateViewModel';\r\nimport { ShipmentStatusUpdateRequest } from '../viewModels/shipment/ShipmentStatusUpdateRequest';\r\nimport ShippingOrderPublicViewModel from 'viewModels/shippingOrder/ShippingOrderPublicViewModel';\r\nimport ShippingOrderShipmentStatusRequestViewModel from 'App/routes/Tenant/ShippingOrder/ViewModels/ShippingOrderShipmentStatusRequestViewModel';\r\nimport ShippingOrderRouteAddressViewModel from 'App/routes/Tenant/ShippingOrder/ViewModels/ShippingOrderRouteAddressViewModel';\r\nimport ShippingOrderRouteAddressUpdateViewModel from 'App/routes/Tenant/ShippingOrder/ViewModels/ShippingOrderRouteAddressUpdateViewModel';\r\nimport ShippingOrderRouteAddressAddViewModel from '../App/routes/Tenant/ShippingOrder/ViewModels/ShippingOrderRouteAddressAddViewModel';\r\nimport CommonUtilities from '../helpers/CommonUtilities';\r\nimport AddressBookItemContactListResponseViewModel from '../App/routes/Tenant/AddressBook/ViewModels/AddressBookItemContactListResponseViewModel';\r\nimport { CmrRequestViewModel } from '../shared/types/CmrRequestViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/shipping-order`;\r\n}\r\n\r\nexport class ShippingOrderApi {\r\n public static getList(\r\n params: ShippingOrdersRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static create(formValues: ShippingOrderCreateViewModel): Promise {\r\n return ApiUtilities.handlePost(getRoot(), formValues);\r\n }\r\n\r\n public static update(id: string, formValues: ShippingOrderUpdateViewModel) {\r\n return ApiUtilities.handlePut(`${getRoot()}/${id}`, formValues);\r\n }\r\n\r\n public static shipments(id: string): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${id}/shipments`,\r\n );\r\n }\r\n\r\n public static shipmentShippingOrders(\r\n shipmentId: string,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/shipment-orders/${shipmentId}`,\r\n );\r\n }\r\n public static importShipments(\r\n id: string,\r\n formValues: ShippingOrderCreateViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/import-shipment`, formValues);\r\n }\r\n\r\n public static removeShipments(\r\n id: string,\r\n formValues: ShippingOrderCreateViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/remove-shipment`, formValues);\r\n }\r\n\r\n public static updateShipments(\r\n id: string,\r\n formValues: ShippingOrderShipmentUpdateViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/update-shipment`, formValues);\r\n }\r\n\r\n public static updateStatus(\r\n id: string,\r\n formValues: ShipmentStatusUpdateRequest,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/update-status`, formValues);\r\n }\r\n\r\n public static updateShipmentsStatus(\r\n id: string,\r\n formValues: ShippingOrderShipmentStatusRequestViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(\r\n `${getRoot()}/${id}/update-shipments-status`,\r\n formValues,\r\n );\r\n }\r\n\r\n public static delete(id: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static getShipmentsList(\r\n params: ShippingOrdersRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(\r\n `${getRoot()}/search-shipments`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n\r\n public static shippingOrderRoutes(\r\n shippingOrderId: string,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${shippingOrderId}/routes/`,\r\n );\r\n }\r\n\r\n public static updateShippingOrderRoutes(\r\n shippingOrderId: string,\r\n formValues: ShippingOrderRouteAddressUpdateViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${shippingOrderId}/routes`, formValues);\r\n }\r\n\r\n public static addNewShippingOrderRouteAddress(\r\n shippingOrderId: string,\r\n formValues: ShippingOrderRouteAddressAddViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${shippingOrderId}/route`, formValues);\r\n }\r\n\r\n public static deleteRouteAddress(shippingOrderId: string, routeId: number) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${shippingOrderId}/route/${routeId}`);\r\n }\r\n\r\n public static async downloadRoutePdfFile(id: string, number: string) {\r\n const URL = `${getRoot()}/${id}/route-print`;\r\n const file = await ApiUtilities.handleFileGet(URL);\r\n const filename = 'route_' + number + '.pdf';\r\n CommonUtilities.downloadFile(file, false, filename);\r\n }\r\n\r\n public static async downloadOrderPdfFile(id: string, number: string) {\r\n const URL = `${getRoot()}/${id}/order-print`;\r\n const file = await ApiUtilities.handleFileGet(URL);\r\n const filename = 'shippingOrder_' + number + '.pdf';\r\n CommonUtilities.downloadFile(file, false, filename);\r\n }\r\n\r\n public static sendOrderEmailToPartner(\r\n shippingOrderId: string,\r\n formValues: AddressBookItemContactListResponseViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(\r\n `${getRoot()}/${shippingOrderId}/send-email-partner`,\r\n formValues,\r\n );\r\n }\r\n\r\n public static async downloadWaybill(data: CmrRequestViewModel, waybillNumber: string) {\r\n const URL = `${getRoot()}/waybill`;\r\n const file = await ApiUtilities.handleFileGetPost(URL, data);\r\n const filename = 'Waybill_' + waybillNumber + '.pdf';\r\n CommonUtilities.downloadFile(file, false, filename);\r\n }\r\n\r\n public static getPublicSO(tenantCode: string, token: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${tenantCode}/${token}/public`);\r\n }\r\n\r\n public static submitShippingOrderConfirmation(tenantCode: string, token: string): Promise {\r\n return ApiUtilities.handlePut(`${getRoot()}/${tenantCode}/${token}/public`, null);\r\n }\r\n\r\n}","import { BACKEND_HOST_AUTH } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport { SpotRequestUpdateViewModel } from 'viewModels/spotRequest/SpotRequestUpdateViewModel';\r\nimport { PaginatedListResult } from 'store/base';\r\nimport SpotRequestsRequestViewModel from 'viewModels/spotRequest/SpotRequestsRequestViewModel';\r\nimport SpotRequestsResponseViewModel from 'viewModels/spotRequest/SpotRequestsResponseViewModel';\r\nimport SpotRequestPublicViewModel from 'viewModels/spotRequest/SpotRequestPublicViewModel';\r\nimport SpotRequestPriceOfferViewModel from 'viewModels/spotRequest/SpotRequestPriceOfferViewModel';\r\nimport {\r\n SpotRequestPrivatePriceOfferPriceViewModel,\r\n SpotRequestPrivateResponseViewModel,\r\n} from 'viewModels/spotRequest/SpotRequestPrivateResponseViewModel';\r\nimport { BasicIdsRequestViewModel } from 'viewModels/common/BasicIdsRequestViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_AUTH()}api/spot_request`;\r\n}\r\n\r\nexport class SpotRequestApi {\r\n public static getList(\r\n params: SpotRequestsRequestViewModel,\r\n ): Promise> {\r\n return ApiUtilities.handleGet>(getRoot(), {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getSingle(id: string): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static selectPrice(\r\n id: string,\r\n formValues: SpotRequestPrivatePriceOfferPriceViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${id}/select-price`, formValues);\r\n }\r\n\r\n public static addSpotRequests(formValues: SpotRequestUpdateViewModel): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}`, formValues);\r\n }\r\n\r\n public static submitOfferPricesForm(\r\n token: string,\r\n formValues: SpotRequestPriceOfferViewModel,\r\n ): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/${token}/offer_prices`, formValues);\r\n }\r\n\r\n public static sendRejectEmail(formValues: BasicIdsRequestViewModel): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/reject-email`, formValues);\r\n }\r\n\r\n public static getActiveRequest(\r\n token: string,\r\n saveOpenedTime: boolean,\r\n ): Promise {\r\n const params = { saveOpenedTime };\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/${token}/public`,\r\n params,\r\n );\r\n }\r\n\r\n public static delete(id: string) {\r\n return ApiUtilities.handleDelete(`${getRoot()}/${id}`);\r\n }\r\n\r\n public static resendEmail(id: string): Promise {\r\n return ApiUtilities.handlePost(`${getRoot()}/resend/${id}`, {});\r\n }\r\n}\r\n","import React, { FC, ReactElement } from 'react';\r\nimport { AddressViewModel } from 'viewModels/common/AddressViewModel';\r\nimport {\r\n AddressBookItemContactListResponseViewModel,\r\n AddressBookItemResponseViewModel,\r\n} from 'App/routes/Tenant/AddressBook/ViewModels';\r\nimport { AddressContactViewModel } from 'viewModels/common/AddressContactViewModel';\r\nimport FlagAndAddressComponent from 'components/Flag/FlagAndAddressComponent';\r\nimport LocaleUtilities from '../LocaleUtilities';\r\nimport { SelectComponentValue } from 'viewModels/common/SelectComponentValue';\r\nimport { NumberUtilities } from '../NumberUtilities';\r\nimport clsx from 'clsx';\r\nimport MobilePhoneIcon from '../../components/Icons/Phone/MobilePhoneIcon';\r\n\r\nexport default class AddressUtilities {\r\n public static formatFormValuesNumbers(formValues: AddressBookItemResponseViewModel): any {\r\n if (!formValues) {\r\n return;\r\n }\r\n if (formValues.address?.lng) formValues.address.lng = formValues.address?.lng.toString();\r\n if (formValues.address?.lat) formValues.address.lat = formValues.address?.lat.toString();\r\n if (formValues.openingHours) {\r\n formValues.openingHours.map((item) => {\r\n item.weekDay = NumberUtilities.tryFormatInt(item.weekDay?.toString()) ?? null;\r\n return true;\r\n });\r\n }\r\n }\r\n\r\n public static fullAddressFormat(address: AddressViewModel): JSX.Element {\r\n return (\r\n <>\r\n {address.firstAddressLine}, {address.city} {address.postalCode} {address.state}{' '}\r\n {address.country}\r\n \r\n );\r\n }\r\n\r\n public static contactsSelectOptions(\r\n contacts: AddressBookItemContactListResponseViewModel[],\r\n ): SelectComponentValue[] {\r\n let result: SelectComponentValue[] = contacts.map((item) => {\r\n return new SelectComponentValue({ label: item.contact.name, value: item.id.toString() });\r\n });\r\n result.unshift({ label: LocaleUtilities.i18n('form-Select', 'base.form', true), value: '' });\r\n return result;\r\n }\r\n}\r\n\r\ninterface SidebarAddressComponentProps {\r\n address: AddressViewModel;\r\n showCompanyName?: boolean;\r\n showContact?: boolean;\r\n showNotes?: boolean;\r\n showAddressLine2?: boolean;\r\n hideAddress?: boolean;\r\n hideFlag?: boolean;\r\n showPostcode?: boolean;\r\n}\r\n\r\nconst AddressComponent: FC = ({\r\n address,\r\n showContact,\r\n showAddressLine2,\r\n showNotes,\r\n showCompanyName,\r\n hideAddress,\r\n hideFlag,\r\n showPostcode,\r\n}): ReactElement => {\r\n const contactData: AddressContactViewModel | undefined = address?.contacts\r\n ? address.contacts[0]\r\n : undefined;\r\n return (\r\n address && (\r\n \r\n {showCompanyName && address.name && (\r\n

{address.name}

\r\n )}\r\n {!hideFlag && address.country && (\r\n

\r\n \r\n

\r\n )}\r\n {!hideAddress && address.firstAddressLine &&

{address.firstAddressLine}

}\r\n {showAddressLine2 && address.secondAddressLine &&

{address.secondAddressLine}

}\r\n {showPostcode && address.postalCode && (\r\n

\r\n {address.country}-{address.postalCode} {address.city}\r\n

\r\n )}\r\n {showContact && contactData && (\r\n

\r\n \r\n \r\n \r\n {contactData.name} {contactData.phone}\r\n

\r\n )}\r\n {showNotes && address.notes && (\r\n \r\n {LocaleUtilities.i18n('shipment-Notes', 'shipment', true)}:

{address.notes}

\r\n
\r\n )}\r\n
\r\n )\r\n );\r\n};\r\n\r\nexport { AddressComponent };\r\n","import { AddressViewModel } from 'viewModels/common/AddressViewModel';\r\nimport { Moment } from 'moment';\r\n\r\nexport default class ShipmentResponseViewModel {\r\n type: number;\r\n saveAsDraft: boolean;\r\n collectionTailLiftTruck: boolean;\r\n deliveryTailLiftTruck: boolean;\r\n customerId: string | null;\r\n operatorTag: string | null;\r\n operatorId: string | null;\r\n projectId: string | null;\r\n reference: string | null;\r\n loadingReference: string | null;\r\n deliveryReference: string | null;\r\n incoterm: string | null;\r\n incotermPlace: string | null;\r\n consignor: AddressViewModel;\r\n consignee: AddressViewModel;\r\n collection: AddressViewModel;\r\n delivery: AddressViewModel;\r\n fixedPickUpDate: boolean = false;\r\n fixedDeliveryDate: boolean = false;\r\n pickUpDate?: Date | Moment;\r\n pickUpTime: string | null;\r\n pickUpTimeTo: string | null;\r\n latestPickUpDate?: Date | Moment;\r\n latestPickUpTime: string | null;\r\n latestPickUpTimeTo: string | null;\r\n deliveryDate?: Date | Moment;\r\n deliveryTime: string | null;\r\n deliveryTimeTo: string | null;\r\n latestDeliveryDate?: Date | Moment;\r\n latestDeliveryTime: string | null;\r\n latestDeliveryTimeTo: string | null;\r\n useAlternativeLoadingAddress: boolean;\r\n useAlternativeDeliveryAddress: boolean;\r\n packages: ShipmentPackageViewModel[];\r\n status: number;\r\n ldmCorrection: number | null;\r\n estimatePickup?: Date | Moment;\r\n estimateDelivery?: Date | Moment;\r\n agreedPrice?: number | null;\r\n hasShippingOrders?: boolean;\r\n additionalInformation: string | null;\r\n documentsVerified?: boolean;\r\n documentsVerifiedAt?: Date | Moment;\r\n documentsVerifiedBy: string | null;\r\n snapshot: boolean;\r\n}\r\n\r\nexport class ShipmentPackageViewModel {\r\n id: number;\r\n unitId: string;\r\n quantity: number | string | null = '';\r\n length: number | string | null = '';\r\n width: number | string | null = '';\r\n height: number | string | null = '';\r\n weight: number | string | null = '';\r\n totalWeight: number | string | null = '';\r\n volume: number | string | null = '';\r\n ldm: number | string | null = '';\r\n description: string | null = '';\r\n reference: string | null = '';\r\n dangerousGoods: boolean = false;\r\n coldFrozen: boolean = false;\r\n fragile: boolean = false;\r\n stackable: boolean = true;\r\n temperature: string | null = '';\r\n temperatureMax: string | null = '';\r\n value: number | null;\r\n delicateGoods: boolean = false;\r\n classVal: string | null = '';\r\n un: string | null = '';\r\n properShippingName: string | null = '';\r\n pg: string | null = '';\r\n}\r\nexport class ShipmentPackagesTotalViewModel {\r\n quantity: number;\r\n weight: number;\r\n ldm: number;\r\n volume: number;\r\n}\r\n","import { PriceRequestResponseViewModel } from 'App/routes/Tenant/PriceRequest/ViewModels';\r\nimport {\r\n PriceRequestPackagesTotalViewModel,\r\n PriceRequestPackageViewModel,\r\n} from 'App/routes/Tenant/PriceRequest/ViewModels/PriceRequestResponseViewModel';\r\nimport { NumberUtilities } from '../NumberUtilities';\r\nimport { PriceRequestRejectReason, PriceRequestStatus, ShipmentType } from 'store/enums';\r\nimport * as React from 'react';\r\nimport LocaleUtilities from '../LocaleUtilities';\r\nimport StatusProcessingIcon from 'components/Icons/Shipment/StatusProcessingIcon';\r\nimport StatusDraftIcon from 'components/Icons/Shipment/StatusDraftIcon';\r\nimport StatusDeliveredIcon from 'components/Icons/Shipment/StatusDeliveredIcon';\r\nimport StatusCanceledIcon from 'components/Icons/Shipment/StatusCanceledIcon';\r\nimport { SelectComponentValue } from 'viewModels/common/SelectComponentValue';\r\nimport { priceRequestFilterStatuses } from 'store/constant';\r\nimport PriceRequestPricesUpdateRequestViewModel from 'App/routes/Tenant/PriceRequest/ViewModels/PriceRequestPricesUpdateRequestViewModel';\r\nimport Badge from 'reactstrap/lib/Badge';\r\n\r\nexport default class PriceRequestUtilities {\r\n public static formatFormValuesNumbers(formValues: PriceRequestResponseViewModel): any {\r\n if (!formValues) {\r\n return;\r\n }\r\n formValues.type =\r\n NumberUtilities.tryFormatFloat(formValues.type.toString()) ?? ShipmentType.Sender;\r\n if (formValues.ldmCorrection) {\r\n formValues.ldmCorrection =\r\n NumberUtilities.tryFormatFloat(formValues.ldmCorrection?.toString()) ?? null;\r\n } else {\r\n formValues.ldmCorrection = null;\r\n }\r\n\r\n formValues.packages.map((item) => {\r\n item.totalWeight = NumberUtilities.tryFormatFloat(item.totalWeight?.toString()) ?? null;\r\n item.volume = NumberUtilities.tryFormatFloat(item.volume?.toString()) ?? null;\r\n item.value = NumberUtilities.tryFormatFloat(item.value?.toString()) ?? null;\r\n item.height = NumberUtilities.tryFormatFloat(item.height?.toString()) ?? null;\r\n item.width = NumberUtilities.tryFormatFloat(item.width?.toString()) ?? null;\r\n item.length = NumberUtilities.tryFormatFloat(item.length?.toString()) ?? null;\r\n item.ldm = NumberUtilities.tryFormatFloat(item.ldm?.toString()) ?? null;\r\n item.quantity = NumberUtilities.tryFormatFloat(item.quantity?.toString()) ?? null;\r\n item.weight = NumberUtilities.tryFormatFloat(item.weight?.toString()) ?? null;\r\n return true;\r\n });\r\n }\r\n\r\n public static formatPricesValuesNumbers(\r\n formValues: PriceRequestPricesUpdateRequestViewModel,\r\n ): any {\r\n if (!formValues?.offeredPrices) {\r\n return;\r\n }\r\n formValues.offeredPrices.map((item) => {\r\n item.price = NumberUtilities.tryFormatFloat(item.price?.toString()) ?? 0;\r\n item.purchasePrice = NumberUtilities.tryFormatFloat(item.purchasePrice?.toString()) ?? 0;\r\n return true;\r\n });\r\n }\r\n\r\n public static calculateTotals(\r\n packages: PriceRequestPackageViewModel[],\r\n ): PriceRequestPackagesTotalViewModel {\r\n let result = new PriceRequestPackagesTotalViewModel();\r\n\r\n result.quantity = packages.reduce(function (acc, val) {\r\n const formattedVal = NumberUtilities.tryFormatFloat(val.quantity?.toString()) ?? 0;\r\n return acc + formattedVal;\r\n }, 0);\r\n result.volume = packages.reduce(function (acc, val) {\r\n const formattedVal = NumberUtilities.tryFormatFloat(val.volume?.toString()) ?? 0;\r\n return acc + formattedVal;\r\n }, 0);\r\n result.ldm = packages.reduce(function (acc, val) {\r\n const formattedVal = NumberUtilities.tryFormatFloat(val.ldm?.toString()) ?? 0;\r\n return acc + formattedVal;\r\n }, 0);\r\n result.weight = packages.reduce(function (acc, val) {\r\n const formattedVal = NumberUtilities.tryFormatFloat(val.totalWeight?.toString()) ?? 0;\r\n return acc + formattedVal;\r\n }, 0);\r\n\r\n return result;\r\n }\r\n\r\n public static getStatusColor(status: string) {\r\n switch (status) {\r\n case PriceRequestStatus[PriceRequestStatus.WaitingConfirmed]:\r\n return 'info';\r\n case PriceRequestStatus[PriceRequestStatus.Received]:\r\n return 'secondary';\r\n case PriceRequestStatus[PriceRequestStatus.Rejected]:\r\n return 'danger';\r\n case PriceRequestStatus[PriceRequestStatus.Accepted]:\r\n return 'success';\r\n case PriceRequestStatus[PriceRequestStatus.Canceled]:\r\n return 'danger';\r\n case PriceRequestStatus[PriceRequestStatus.Draft]:\r\n return 'secondary';\r\n case PriceRequestStatus[PriceRequestStatus.Expired]:\r\n return 'secondary';\r\n default:\r\n return 'secondary';\r\n }\r\n }\r\n\r\n public static getRejectReasonTranslation(str: string): string {\r\n return LocaleUtilities.i18n(\r\n `priceRequest-rejectReason-${PriceRequestRejectReason[str]}`,\r\n 'priceRequest.status',\r\n true,\r\n );\r\n }\r\n\r\n public static getStatusTranslation(str: string): string {\r\n return LocaleUtilities.i18n(\r\n `priceRequest-status-${PriceRequestStatus[str]}`,\r\n 'priceRequest.status',\r\n true,\r\n );\r\n }\r\n\r\n public static getStatusIcon(status: string): JSX.Element {\r\n switch (status) {\r\n case PriceRequestStatus[PriceRequestStatus.Received]:\r\n return ;\r\n case PriceRequestStatus[PriceRequestStatus.Accepted]:\r\n return ;\r\n case PriceRequestStatus[PriceRequestStatus.Canceled]:\r\n return ;\r\n case PriceRequestStatus[PriceRequestStatus.Rejected]:\r\n return ;\r\n case PriceRequestStatus[PriceRequestStatus.Draft]:\r\n return ;\r\n case PriceRequestStatus[PriceRequestStatus.WaitingConfirmed]:\r\n return ;\r\n default:\r\n return <>;\r\n }\r\n }\r\n\r\n public static filterStatuses(): SelectComponentValue[] {\r\n const result: SelectComponentValue[] = priceRequestFilterStatuses.map((item) => {\r\n return {\r\n label: PriceRequestUtilities.getStatusTranslation(PriceRequestStatus[item.toString()]),\r\n value: item.toString(),\r\n };\r\n });\r\n return result;\r\n }\r\n\r\n public static rejectReasonOptions(): SelectComponentValue[] {\r\n const options = [\r\n PriceRequestRejectReason[PriceRequestRejectReason.TooHighPrice],\r\n PriceRequestRejectReason[PriceRequestRejectReason.Postpone],\r\n PriceRequestRejectReason[PriceRequestRejectReason.DeliveryNotNeedAnyMore],\r\n PriceRequestRejectReason[PriceRequestRejectReason.SomethingElse],\r\n ];\r\n const result: SelectComponentValue[] = options.map((item) => {\r\n return {\r\n label: PriceRequestUtilities.getRejectReasonTranslation(\r\n PriceRequestRejectReason[item.toString()],\r\n ),\r\n value: item.toString(),\r\n };\r\n });\r\n return result;\r\n }\r\n\r\n public static hasShipment(value: boolean): JSX.Element {\r\n return value ? : <>;\r\n }\r\n\r\n public static statusFormat(status: string): JSX.Element {\r\n if (!status) {\r\n return
;\r\n }\r\n const icon = PriceRequestUtilities.getStatusIcon(status);\r\n return (\r\n <>\r\n \r\n {LocaleUtilities.i18n(`priceRequest-status-${status}`, 'priceRequest.status', true)}\r\n {icon}\r\n \r\n \r\n );\r\n }\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport { ShipmentApi } from 'api/Shipment.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { ShipmentDetailResponseViewModel } from '../../ViewModels';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'SHIPMENT/EDIT/START';\r\nexport const asyncActions = actionCreator.async<{}, { shipmentId: string }, ErrorWrapper>(type);\r\n\r\nexport default function start(shipmentId: string, snapshot: boolean = false) {\r\n return async (dispatch: Dispatch) => {\r\n let shipmentInfo: ShipmentDetailResponseViewModel = new ShipmentDetailResponseViewModel();\r\n\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n const shipment = await ShipmentApi.getSingle(shipmentId, snapshot);\r\n if (!shipment) {\r\n throw new NotFoundErrorWrapper(`Item with Id ${shipmentId} not found`);\r\n }\r\n shipmentInfo = shipment;\r\n if (shipment.useAlternativeLoadingAddress) {\r\n shipmentInfo.consignor.alternativeAddress = true;\r\n }\r\n if (shipment.useAlternativeDeliveryAddress) {\r\n shipmentInfo.consignee.alternativeAddress = true;\r\n }\r\n dispatch(asyncActions.done({ params: {}, result: { shipmentId } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return shipmentInfo;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { ShipmentApi } from 'api/Shipment.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport ShipmentUtilities from 'helpers/ModelUtilities/ShipmentUtilities';\r\nimport { ShipmentResponseViewModel } from '../../ViewModels';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'SHIPMENT/EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction =\r\n (formValues: ShipmentResponseViewModel, id: string | undefined) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n ShipmentUtilities.formatFormValuesNumbers(formValues);\r\n if (!id) {\r\n const response = await ShipmentApi.add(formValues);\r\n if (response) id = response;\r\n } else {\r\n await ShipmentApi.update(id, formValues);\r\n }\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n return id;\r\n };\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport { PriceRequestApi } from 'api/PriceRequest.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { PriceRequestDetailResponseViewModel } from '../../ViewModels';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'PRICE_REQUEST/EDIT/START';\r\nexport const asyncActions = actionCreator.async<{}, { priceRequestId: string }, ErrorWrapper>(type);\r\n\r\nexport default function start(priceRequestId: string) {\r\n return async (dispatch: Dispatch) => {\r\n let priceRequestInfo: PriceRequestDetailResponseViewModel =\r\n new PriceRequestDetailResponseViewModel();\r\n\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n const priceRequest = await PriceRequestApi.getSingle(priceRequestId);\r\n if (!priceRequest) {\r\n throw new NotFoundErrorWrapper(`Item with Id ${priceRequestId} not found`);\r\n }\r\n priceRequestInfo = priceRequest;\r\n dispatch(asyncActions.done({ params: {}, result: { priceRequestId } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return priceRequestInfo;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { PriceRequestApi } from 'api/PriceRequest.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport PriceRequestUtilities from 'helpers/ModelUtilities/PriceRequestUtilities';\r\nimport { PriceRequestResponseViewModel } from '../../ViewModels';\r\nimport LocaleUtilities from '../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'PRICE_REQUEST/EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction =\r\n (formValues: PriceRequestResponseViewModel, id: string | undefined) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n PriceRequestUtilities.formatFormValuesNumbers(formValues);\r\n if (!id) {\r\n const response = await PriceRequestApi.add(formValues);\r\n if (response) id = response;\r\n } else {\r\n await PriceRequestApi.update(id, formValues);\r\n }\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n return id;\r\n };\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { PriceRequestApi } from 'api/PriceRequest.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport PriceRequestUtilities from 'helpers/ModelUtilities/PriceRequestUtilities';\r\nimport PriceRequestPricesUpdateRequestViewModel from '../../ViewModels/PriceRequestPricesUpdateRequestViewModel';\r\nimport LocaleUtilities from '../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'PRICE_REQUEST/PRICES/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction =\r\n (id: string, formValues: PriceRequestPricesUpdateRequestViewModel) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n PriceRequestUtilities.formatPricesValuesNumbers(formValues);\r\n await PriceRequestApi.saveOfferedPrices(id, formValues);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n exception.formValidationsString() || LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n return id;\r\n };\r\n\r\nexport default submitAction;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\n\r\nconst StatusDraftIcon: FC> = ({\r\n width = 38,\r\n height = 38,\r\n fill = 'black',\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default StatusDraftIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\n\r\nconst StatusDeliveredIcon: FC> = ({\r\n width = 38,\r\n height = 38,\r\n fill = 'black',\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default StatusDeliveredIcon;\r\n","import { AddressViewModel } from 'viewModels/common/AddressViewModel';\r\nimport { Moment } from 'moment';\r\n\r\nexport default class PriceRequestResponseViewModel {\r\n type: number;\r\n saveAsDraft: boolean;\r\n collectionTailLiftTruck: boolean;\r\n deliveryTailLiftTruck: boolean;\r\n customerId: string | null;\r\n operatorId: string | null;\r\n operatorTag: string | null;\r\n incoterm: string | null;\r\n incotermPlace: string | null;\r\n collection: AddressViewModel;\r\n delivery: AddressViewModel;\r\n fixedPickUpDate: boolean = false;\r\n fixedDeliveryDate: boolean = false;\r\n pickUpDate?: Date | Moment;\r\n pickUpTime: string | null;\r\n pickUpTimeTo: string | null;\r\n latestPickUpDate?: Date | Moment;\r\n latestPickUpTime: string | null;\r\n latestPickUpTimeTo: string | null;\r\n deliveryDate?: Date | Moment;\r\n deliveryTime: string | null;\r\n deliveryTimeTo: string | null;\r\n latestDeliveryDate?: Date | Moment;\r\n latestDeliveryTime: string | null;\r\n latestDeliveryTimeTo: string | null;\r\n packages: PriceRequestPackageViewModel[];\r\n status: number;\r\n ldmCorrection: number | null;\r\n noticeEmails: string;\r\n sendNotice: boolean;\r\n selectedOffer: number;\r\n additionalInformation: string | null;\r\n}\r\n\r\nexport class PriceRequestPackageViewModel {\r\n id: number;\r\n unitId: string;\r\n quantity: number | string | null = '';\r\n length: number | string | null = '';\r\n width: number | string | null = '';\r\n height: number | string | null = '';\r\n weight: number | string | null = '';\r\n totalWeight: number | string | null = '';\r\n volume: number | string | null = '';\r\n ldm: number | string | null = '';\r\n description: string | null = '';\r\n reference: string | null = '';\r\n dangerousGoods: boolean = false;\r\n coldFrozen: boolean = false;\r\n fragile: boolean = false;\r\n stackable: boolean = true;\r\n temperature: string | null = '';\r\n temperatureMax: string | null = '';\r\n value: number | null;\r\n delicateGoods: boolean = false;\r\n classVal: string | null = '';\r\n un: string | null = '';\r\n properShippingName: string | null = '';\r\n pg: string | null = '';\r\n}\r\n\r\nexport class PriceRequestPackagesTotalViewModel {\r\n quantity: number;\r\n weight: number;\r\n ldm: number;\r\n volume: number;\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\n\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { TerminalApi } from 'api/Terminal.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport TerminalResponseViewModel from '../../ViewModels/TerminalResponseViewModel';\r\nimport { Dispatch } from 'redux';\r\nimport LocaleUtilities from '../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TERMINAL/CREATE/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nexport default function submitCreateAction(formValues: TerminalResponseViewModel) {\r\n return async (dispatch: Dispatch) => {\r\n let id: string | undefined = undefined;\r\n\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n if (formValues.address?.lng) formValues.address.lng = formValues.address?.lng.toString();\r\n if (formValues.address?.lat) formValues.address.lat = formValues.address?.lat.toString();\r\n const response = await TerminalApi.add(formValues);\r\n if (response) id = response;\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n return id;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport { TerminalApi } from 'api/Terminal.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { TerminalResponseViewModel } from '../../ViewModels';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TERMINAL/EDIT/START';\r\nexport const asyncActions = actionCreator.async<{}, { terminalId: string }, ErrorWrapper>(type);\r\n\r\nexport default function start(terminalId: string) {\r\n return async (dispatch: Dispatch) => {\r\n let terminalInfo: any = new TerminalResponseViewModel();\r\n\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n const terminal = await TerminalApi.getSingle(terminalId);\r\n if (!terminal) {\r\n throw new NotFoundErrorWrapper(`Item with Id ${terminalId} not found`);\r\n }\r\n terminalInfo = terminal;\r\n dispatch(asyncActions.done({ params: {}, result: { terminalId } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return terminalInfo;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { TerminalApi } from 'api/Terminal.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport LocaleUtilities from '../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TERMINAL/EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction = (formValues: any, id: string) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n if (formValues.address?.lng) formValues.address.lng = formValues.address?.lng.toString();\r\n if (formValues.address?.lat) formValues.address.lat = formValues.address?.lat.toString();\r\n await TerminalApi.update(id, formValues);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n};\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\n\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { CustomerApi } from 'api/Customer.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport CustomerResponseViewModel from '../../ViewModels/CustomerResponseViewModel';\r\nimport { Dispatch } from 'redux';\r\nimport CustomerUtilities from 'helpers/ModelUtilities/CustomerUtilities';\r\nimport LocaleUtilities from '../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'CUSTOMER/CREATE/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nexport default function submitCreateAction(formValues: CustomerResponseViewModel) {\r\n return async (dispatch: Dispatch) => {\r\n let id: string | undefined = undefined;\r\n\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n CustomerUtilities.formatFormValuesNumbers(formValues);\r\n const response = await CustomerApi.add(formValues);\r\n if (response) id = response;\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n return id;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport { CustomerApi } from 'api/Customer.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { CustomerResponseViewModel } from '../../ViewModels';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'CUSTOMER/EDIT/START';\r\nexport const asyncActions = actionCreator.async<{}, { customerId: string }, ErrorWrapper>(type);\r\n\r\nexport default function start(customerId: string) {\r\n return async (dispatch: Dispatch) => {\r\n let customerInfo: any = new CustomerResponseViewModel();\r\n\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n const customer = await CustomerApi.getSingle(customerId);\r\n if (!customer) {\r\n throw new NotFoundErrorWrapper(`Item with Id ${customerId} not found`);\r\n }\r\n customerInfo = customer;\r\n dispatch(asyncActions.done({ params: {}, result: { customerId } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return customerInfo;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { CustomerApi } from 'api/Customer.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport CustomerUtilities from 'helpers/ModelUtilities/CustomerUtilities';\r\nimport LocaleUtilities from '../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'CUSTOMER/EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction = (formValues: any, id: string) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n CustomerUtilities.formatFormValuesNumbers(formValues);\r\n await CustomerApi.update(id, formValues);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n};\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { CustomerApi } from 'api/Customer.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport CustomerContactCreateOrUpdateResponseViewModel from '../../ViewModels/CustomerContactCreateOrUpdateResponseViewModel';\r\nimport LocaleUtilities from '../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'CUSTOMER/CONTACT/EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction =\r\n (formValues: CustomerContactCreateOrUpdateResponseViewModel, id: string, contactId?: number) =>\r\n async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n if (!contactId) {\r\n await CustomerApi.addContact(id, formValues);\r\n } else {\r\n formValues.id = contactId;\r\n await CustomerApi.updateContact(id, formValues);\r\n }\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { CustomerApi } from 'api/Customer.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { toastr } from 'react-redux-toastr';\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'CUSTOMER/CONTACT/INVITE';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction = (id: string, contactId: number) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n await CustomerApi.inviteContact(id, contactId);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success('Success', 'Invitation sent');\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n};\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\n\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { FleetApi } from 'api/Fleet.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport FleetResponseViewModel from '../../../ViewModels/FleetResponseViewModel';\r\nimport FleetUtilities from 'helpers/ModelUtilities/FleetUtilities';\r\nimport LocaleUtilities from '../../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'FLEET/CREATE/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction = (formValues: FleetResponseViewModel) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n FleetUtilities.formatFormValuesNumbers(formValues);\r\n await FleetApi.add(formValues);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n};\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport { FleetApi } from 'api/Fleet.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { FleetResponseViewModel } from '../../../ViewModels';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'FLEET/EDIT/START';\r\nexport const asyncActions = actionCreator.async<{}, { fleetId: string }, ErrorWrapper>(type);\r\n\r\nexport default function start(fleetId: string) {\r\n return async (dispatch: Dispatch) => {\r\n var fleetInfo: any = new FleetResponseViewModel();\r\n\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n const fleet = await FleetApi.getSingle(fleetId);\r\n if (!fleet) {\r\n throw new NotFoundErrorWrapper(`Item with Id ${fleetId} not found`);\r\n }\r\n fleetInfo = fleet;\r\n dispatch(asyncActions.done({ params: {}, result: { fleetId } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return fleetInfo;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { FleetApi } from 'api/Fleet.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport FleetUtilities from 'helpers/ModelUtilities/FleetUtilities';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'FLEET/EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction = (formValues: any, id: string) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n FleetUtilities.formatFormValuesNumbers(formValues);\r\n await FleetApi.update(id, formValues);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n};\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\n\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { AddressBookApi } from 'api/AddressBook.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport AddressBookItemResponseViewModel from '../../ViewModels/AddressBookItemResponseViewModel';\r\nimport { Dispatch } from 'redux';\r\nimport AddressUtilities from 'helpers/ModelUtilities/AddressUtilities';\r\nimport LocaleUtilities from '../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'ADDRESS_BOOK/CREATE/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nexport default function submitCreateAction(formValues: AddressBookItemResponseViewModel) {\r\n return async (dispatch: Dispatch) => {\r\n let id: string | undefined = undefined;\r\n\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n AddressUtilities.formatFormValuesNumbers(formValues);\r\n const response = await AddressBookApi.add(formValues);\r\n if (response) id = response;\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n return id;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport { AddressBookApi } from 'api/AddressBook.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { AddressBookItemResponseViewModel } from '../../ViewModels';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'ADDRESS_BOOK/EDIT/START';\r\nexport const asyncActions = actionCreator.async<{}, { addressBookItemId: string }, ErrorWrapper>(\r\n type,\r\n);\r\n\r\nexport default function start(addressBookItemId: string) {\r\n return async (dispatch: Dispatch) => {\r\n let customerInfo: any = new AddressBookItemResponseViewModel();\r\n\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n const customer = await AddressBookApi.getSingle(addressBookItemId);\r\n if (!customer) {\r\n throw new NotFoundErrorWrapper(`Item with Id ${addressBookItemId} not found`);\r\n }\r\n customerInfo = customer;\r\n dispatch(asyncActions.done({ params: {}, result: { addressBookItemId } }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return customerInfo;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { AddressBookApi } from 'api/AddressBook.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport AddressUtilities from 'helpers/ModelUtilities/AddressUtilities';\r\nimport { AddressBookItemResponseViewModel } from '../../ViewModels';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'ADDRESS_BOOK/EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction =\r\n (formValues: AddressBookItemResponseViewModel, id: string) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n AddressUtilities.formatFormValuesNumbers(formValues);\r\n await AddressBookApi.update(id, formValues);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n\r\nexport default submitAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\n\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { PartnerApi } from 'api/Partner.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport PartnerResponseViewModel from '../../ViewModels/PartnerResponseViewModel';\r\nimport { Dispatch } from 'redux';\r\nimport PartnerUtilities from 'helpers/ModelUtilities/PartnerUtilities';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'PARTNER/CREATE_EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nexport default function submitCreateAction(\r\n formValues: PartnerResponseViewModel,\r\n id: string | undefined,\r\n) {\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n PartnerUtilities.formatFormValuesNumbers(formValues);\r\n if (!id) {\r\n const response = await PartnerApi.add(formValues);\r\n if (response) id = response;\r\n } else {\r\n await PartnerApi.update(id, formValues);\r\n }\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n return id;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { PartnerApi } from 'api/Partner.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport AddressBookItemContactCreateOrUpdateResponseViewModel from 'viewModels/address/AddressBookItemContactCreateOrUpdateResponseViewModel';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'PARTNER/CONTACT/EDIT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst submitAction =\r\n (\r\n formValues: AddressBookItemContactCreateOrUpdateResponseViewModel,\r\n id: string,\r\n contactId?: number,\r\n ) =>\r\n async (dispatch) => {\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n if (!contactId) {\r\n await PartnerApi.addContact(id, formValues);\r\n } else {\r\n formValues.id = contactId;\r\n await PartnerApi.updateContact(id, formValues);\r\n }\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n\r\nexport default submitAction;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryColor } from 'theme';\r\n\r\nconst HouseIcon: FC> = ({\r\n width = 76,\r\n height = 76,\r\n fill = primaryColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default HouseIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryColor } from 'theme';\r\n\r\nconst LogisticsIcon: FC> = ({\r\n width = 76,\r\n height = 76,\r\n fill = primaryColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default LogisticsIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryColor } from 'theme';\r\n\r\nconst EllipsisIcon: FC> = ({\r\n width = 76,\r\n height = 76,\r\n fill = primaryColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default EllipsisIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryColor } from 'theme';\r\n\r\nconst AccountingIcon: FC> = ({\r\n width = 76,\r\n height = 76,\r\n fill = primaryColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AccountingIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryColor } from 'theme';\r\n\r\nconst SalesIcon: FC> = ({\r\n width = 76,\r\n height = 76,\r\n fill = primaryColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default SalesIcon;\r\n","import { NumberUtilities } from '../NumberUtilities';\r\nimport { CustomerResponseViewModel } from 'App/routes/Tenant/Customer/ViewModels';\r\nimport React from 'react';\r\nimport { CustomerPosition } from 'store/enums';\r\nimport HouseIcon from 'components/Icons/CustomerContactType/HouseIcon';\r\nimport LogisticsIcon from 'components/Icons/CustomerContactType/LogisticsIcon';\r\nimport EllipsisIcon from 'components/Icons/CustomerContactType/EllipsisIcon';\r\nimport AccountingIcon from '../../components/Icons/CustomerContactType/AccountingIcon';\r\nimport SalesIcon from '../../components/Icons/CustomerContactType/SalesIcon';\r\n\r\nexport default class CustomerUtilities {\r\n public static formatFormValuesNumbers(formValues: CustomerResponseViewModel): any {\r\n if (!formValues) {\r\n return;\r\n }\r\n if (formValues.address?.lng) formValues.address.lng = formValues.address?.lng.toString();\r\n if (formValues.address?.lat) formValues.address.lat = formValues.address?.lat.toString();\r\n formValues.paymentTermDays = NumberUtilities.tryFormatFloat(\r\n formValues.paymentTermDays?.toString(),\r\n );\r\n }\r\n\r\n public static customerIcon(type: string): JSX.Element {\r\n if (type === CustomerPosition.Warehouse.toString()) {\r\n return ;\r\n } else if (type === CustomerPosition.Logistics.toString()) {\r\n return ;\r\n } else if (type === CustomerPosition.Accounting.toString()) {\r\n return ;\r\n } else if (type === CustomerPosition.Sales.toString()) {\r\n return ;\r\n } else {\r\n return ;\r\n }\r\n }\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport AccountApi from 'api/Account.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport AuthUtilities, { NullableLocalStorageUserModel } from 'helpers/AuthUtils/AuthUtils';\r\nimport { AppScope } from 'store/constant';\r\nimport LoginRequestViewModel from '../viewModels/LoginRequestViewModel';\r\nimport { routePaths } from 'store/api.constants';\r\nimport { Platforms } from 'store/enums';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nexport const asyncActions = actionCreator.async<\r\n { lastUsername: string | undefined },\r\n { user: NullableLocalStorageUserModel | null },\r\n ErrorWrapper\r\n>('APP/LOGIN/SUBMIT');\r\n\r\nconst startAction = (formValues: LoginRequestViewModel) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n formValues.grant_type = 'password';\r\n formValues.scope = 'openid offline_access'; // for refresh token\r\n formValues.appScope = Platforms[Platforms.TMS].toString();\r\n const { access_token, expires_in, refresh_token, appScope } = await AccountApi.loginUser(\r\n formValues,\r\n );\r\n const user = await AccountApi.getCurrentUser(access_token);\r\n\r\n var authUtl = new AuthUtilities();\r\n const dateData = authUtl.calculateExpirationDateAndHalfExpirationDate(expires_in);\r\n user.expiresOn = dateData.expiresOn;\r\n user.halfTimeExpiresOn = dateData.halfTimeExpiresOn;\r\n // console.info('Expires on', user.expiresOn);\r\n // console.info('Half time expires on', user.halfTimeExpiresOn);\r\n\r\n new AuthUtilities().setToken(access_token, user, refresh_token);\r\n AuthUtilities.setAppScope(AppScope[appScope]);\r\n dispatch(asyncActions.done({ params: { lastUsername: undefined }, result: { user } }));\r\n window.location.href = routePaths.dashboard;\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(\r\n asyncActions.failed({ params: { lastUsername: formValues.username }, error: exception }),\r\n );\r\n }\r\n\r\n dispatch(asyncActions.started({ lastUsername: formValues.username }));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n};\r\n\r\nexport default startAction;\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__ADDRESS_BOOKS = 'address_book_list';\r\n\r\nexport interface AddressBookListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: AddressBookListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: AddressBookListReduxState = defaultState,\r\n action: Action,\r\n): AddressBookListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__SHIPMENTS = 'shipments';\r\n\r\nexport interface ShipmentListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: ShipmentListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: ShipmentListReduxState = defaultState,\r\n action: Action,\r\n): ShipmentListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__PRICE_REQUESTS = 'priceRequests';\r\n\r\nexport interface PriceRequestListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: PriceRequestListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: PriceRequestListReduxState = defaultState,\r\n action: Action,\r\n): PriceRequestListReduxState => {\r\n return state;\r\n};\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst VehicleIcon: FC> = ({\r\n width = 41,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default VehicleIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst BoxTruckIcon: FC> = ({\r\n width = 50,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default BoxTruckIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst ContainerIcon: FC> = ({\r\n width = 50,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default ContainerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryColor } from 'theme';\r\n\r\nconst ForkliftIcon: FC> = ({\r\n width = 100,\r\n height = 21,\r\n fill = primaryColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default ForkliftIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst CraneTruckIcon: FC> = ({\r\n width = 50,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default CraneTruckIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst VanIcon: FC> = ({\r\n width = 41,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default VanIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst TailLiftTruckIcon: FC> = ({\r\n width = 50,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default TailLiftTruckIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst BoxSemitrailerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default BoxSemitrailerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst FlatbedTrailerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default FlatbedTrailerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst ContainerTruckIcon: FC> = ({\r\n width = 50,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default ContainerTruckIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst TractorUnitIcon: FC> = ({\r\n width = 50,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default TractorUnitIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst TautlinerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default TautlinerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst MegaTrailerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default MegaTrailerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst RefrigeratedTrailerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default RefrigeratedTrailerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst FullTrailerIcon: FC> = ({\r\n width = 41,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default FullTrailerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst DumpTruckIcon: FC> = ({\r\n width = 50,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default DumpTruckIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst DumpTrailerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default DumpTrailerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst WalkingFloorTrailerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default WalkingFloorTrailerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst SideLoaderTruckIcon: FC> = ({\r\n width = 50,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default SideLoaderTruckIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst SideLoaderTrailerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default SideLoaderTrailerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst InLoaderTrailerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default InLoaderTrailerIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryDarkColor } from 'theme';\r\n\r\nconst HeavyLoadTrailerIcon: FC> = ({\r\n width = 58,\r\n height = 21,\r\n fill = primaryDarkColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default HeavyLoadTrailerIcon;\r\n","import * as React from 'react';\r\nimport { ReactElement } from 'react';\r\nimport { NumberUtilities } from '../NumberUtilities';\r\nimport FleetResponseViewModel from 'App/routes/Tenant/Fleet/ViewModels/FleetResponseViewModel';\r\nimport { FleetType } from 'store/enums';\r\nimport VehicleIcon from 'components/Icons/FleetType/VehicleIcon';\r\nimport BoxTruckIcon from 'components/Icons/FleetType/BoxTruckIcon';\r\nimport ContainerIcon from 'components/Icons/FleetType/ContainerIcon';\r\nimport ForkliftIcon from 'components/Icons/FleetType/ForkliftIcon';\r\nimport CraneTruckIcon from 'components/Icons/FleetType/CraneTruckIcon';\r\nimport VanIcon from 'components/Icons/FleetType/VanIcon';\r\nimport TailLiftTruckIcon from 'components/Icons/FleetType/TailLiftTruckIcon';\r\nimport BoxSemitrailerIcon from 'components/Icons/FleetType/BoxSemitrailerIcon';\r\nimport FlatbedTrailerIcon from 'components/Icons/FleetType/FlatbedTrailerIcon';\r\nimport ContainerTruckIcon from 'components/Icons/FleetType/ContainerTruckIcon';\r\nimport TractorUnitIcon from 'components/Icons/FleetType/TractorUnitIcon';\r\nimport TautlinerIcon from 'components/Icons/FleetType/TautlinerIcon';\r\nimport MegaTrailerIcon from 'components/Icons/FleetType/MegaTrailerIcon';\r\nimport RefrigeratedTrailerIcon from 'components/Icons/FleetType/RefrigeratedTrailerIcon';\r\nimport FullTrailerIcon from 'components/Icons/FleetType/FullTrailerIcon';\r\nimport DumpTruckIcon from 'components/Icons/FleetType/DumpTruckIcon';\r\nimport DumpTrailerIcon from 'components/Icons/FleetType/DumpTrailerIcon';\r\nimport WalkingFloorTrailerIcon from 'components/Icons/FleetType/WalkingFloorTrailerIcon';\r\nimport SideLoaderTruckIcon from 'components/Icons/FleetType/SideLoaderTruckIcon';\r\nimport SideLoaderTrailerIcon from 'components/Icons/FleetType/SideLoaderTrailerIcon';\r\nimport InLoaderTrailerIcon from 'components/Icons/FleetType/InLoaderTrailerIcon';\r\nimport HeavyLoadTrailerIcon from 'components/Icons/FleetType/HeavyLoadTrailerIcon';\r\n\r\nexport default class FleetUtilities {\r\n public static formatFormValuesNumbers(formValues: FleetResponseViewModel): any {\r\n if (!formValues) {\r\n return;\r\n }\r\n formValues.height = NumberUtilities.tryFormatFloat(formValues.height?.toString());\r\n formValues.length = NumberUtilities.tryFormatFloat(formValues.length?.toString());\r\n formValues.width = NumberUtilities.tryFormatFloat(formValues.width?.toString());\r\n formValues.weight = NumberUtilities.tryFormatFloat(formValues.weight?.toString());\r\n formValues.maxWeight = NumberUtilities.tryFormatFloat(formValues.maxWeight?.toString());\r\n formValues.maxLdm = NumberUtilities.tryFormatFloat(formValues.maxLdm?.toString());\r\n formValues.maxVolume = NumberUtilities.tryFormatFloat(formValues.maxVolume?.toString());\r\n formValues.averageConsumption = NumberUtilities.tryFormatFloat(\r\n formValues.averageConsumption?.toString(),\r\n );\r\n formValues.costPerHour = NumberUtilities.tryFormatFloat(formValues.costPerHour?.toString());\r\n formValues.costPerKm = NumberUtilities.tryFormatFloat(formValues.costPerKm?.toString());\r\n }\r\n\r\n public static FleetIconByType(type: string): ReactElement {\r\n switch (type) {\r\n case FleetType.Vehicle.toString():\r\n return ;\r\n case FleetType.Forklift.toString():\r\n return ;\r\n case FleetType.CraneTruck.toString():\r\n return ;\r\n case FleetType.Van.toString():\r\n return ;\r\n case FleetType.TailLiftTruck.toString():\r\n return ;\r\n case FleetType.BoxTruck.toString():\r\n return ;\r\n case FleetType.TractorUnit.toString():\r\n return ;\r\n case FleetType.BoxSemiTrailer.toString():\r\n return ;\r\n case FleetType.FlatbedTrailer.toString():\r\n return ;\r\n case FleetType.Container.toString():\r\n return ;\r\n case FleetType.ContainerTruck.toString():\r\n return ;\r\n case FleetType.Tautliner.toString():\r\n return ;\r\n case FleetType.MegaTrailer.toString():\r\n return ;\r\n case FleetType.RefrigeratedTrailer.toString():\r\n return ;\r\n case FleetType.FullTrailer.toString():\r\n return ;\r\n case FleetType.DumpTruck.toString():\r\n return ;\r\n case FleetType.DumpTrailer.toString():\r\n return ;\r\n case FleetType.WalkingFloorTrailer.toString():\r\n return ;\r\n case FleetType.SideLoaderTruck.toString():\r\n return ;\r\n case FleetType.SideLoaderTrailer.toString():\r\n return ;\r\n case FleetType.InLoaderTrailer.toString():\r\n return ;\r\n case FleetType.HeavyLoadTrailer.toString():\r\n return ;\r\n }\r\n return <>;\r\n }\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport AccountApi from 'api/Account.api';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport AuthUtilities, { NullableLocalStorageUserModel } from 'helpers/AuthUtils/AuthUtils';\r\nimport { AppScope } from 'store/constant';\r\nimport LoginRequestViewModel from '../viewModels/LoginRequestViewModel';\r\nimport { routePaths } from 'store/api.constants';\r\nimport { Platforms } from 'store/enums';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nexport const asyncActions = actionCreator.async<\r\n { lastUsername: string | undefined; lastClientCode: string | undefined },\r\n { user: NullableLocalStorageUserModel | null },\r\n ErrorWrapper\r\n>('APP/CLIENT/LOGIN/SUBMIT');\r\n\r\nconst startAction = (formValues: LoginRequestViewModel) => async (dispatch) => {\r\n async function mainAction(): Promise {\r\n formValues.grant_type = 'password';\r\n formValues.scope = 'openid offline_access'; // for refresh token\r\n formValues.appScope = Platforms[Platforms.ClientPortal].toString();\r\n const { access_token, expires_in, refresh_token, appScope } = await AccountApi.loginUser(\r\n formValues,\r\n );\r\n const user = await AccountApi.getCurrentUser(access_token);\r\n\r\n var authUtl = new AuthUtilities();\r\n const dateData = authUtl.calculateExpirationDateAndHalfExpirationDate(expires_in);\r\n user.expiresOn = dateData.expiresOn;\r\n user.halfTimeExpiresOn = dateData.halfTimeExpiresOn;\r\n\r\n new AuthUtilities().setToken(access_token, user, refresh_token);\r\n AuthUtilities.setAppScope(AppScope[appScope]);\r\n dispatch(\r\n asyncActions.done({\r\n params: { lastUsername: undefined, lastClientCode: undefined },\r\n result: { user },\r\n }),\r\n );\r\n window.location.href = routePaths.dashboard;\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(\r\n asyncActions.failed({\r\n params: { lastUsername: undefined, lastClientCode: undefined },\r\n error: exception,\r\n }),\r\n );\r\n }\r\n\r\n dispatch(\r\n asyncActions.started({\r\n lastUsername: formValues.username,\r\n lastClientCode: formValues.clientCode,\r\n }),\r\n );\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n};\r\n\r\nexport default startAction;\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport AccountApi from 'api/Account.api';\r\nimport { ErrorType, ErrorWrapper } from 'store/base';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'PROFILE/CHANGE_PASSWORD/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nexport default function submit(formValues: any, onSuccess: Function) {\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n await AccountApi.resetPassword(formValues);\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success('Success', 'Password has been changed');\r\n if (onSuccess) {\r\n onSuccess();\r\n }\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n if (exception.type === ErrorType.InternalServerError)\r\n {\r\n toastr.error('Error', 'Password has not been changed');\r\n }\r\n CommonUtilities.scrollToTop();\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport AuthUtilities from 'helpers/AuthUtils/AuthUtils';\r\nimport { ErrorWrapper } from 'store/base';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { routePaths } from 'store/api.constants';\r\nimport { IS_CLIENT_PORTAL_URL } from 'store/constant';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'APP/LOGOUT/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nexport default function submitAsync(onSuccess: Function | null) {\r\n return async (dispatch: Dispatch) => {\r\n dispatch(asyncActions.started({}));\r\n\r\n async function mainAction(): Promise {\r\n new AuthUtilities().unsetToken();\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n if (onSuccess) {\r\n onSuccess();\r\n } else {\r\n if (!IS_CLIENT_PORTAL_URL) {\r\n window.location.href = routePaths.login;\r\n } else {\r\n window.location.href = routePaths.loginClientPortal;\r\n }\r\n }\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n}\r\n","import React from 'react';\r\n\r\nconst loader = () => {\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default loader;\r\n","const Aux = (props) => props.children;\r\n\r\nexport default Aux;\r\n","import React from 'react';\r\nimport { withRouter } from 'react-router';\r\n\r\nclass ScrollToTop extends React.Component {\r\n componentDidUpdate(prevProps) {\r\n if (this.props.location !== prevProps.location) {\r\n window.scrollTo(0, 0);\r\n }\r\n }\r\n\r\n render() {\r\n return this.props.children;\r\n }\r\n}\r\n\r\nexport default withRouter(ScrollToTop);\r\n","const route = [];\r\n\r\nexport default route;\r\n","import * as React from 'react';\r\nimport Nprogress from 'nprogress';\r\nimport ReactPlaceholder from 'react-placeholder';\r\nimport 'nprogress/nprogress.css';\r\nimport 'react-placeholder/lib/reactPlaceholder.css';\r\n\r\nexport default function asyncComponent(importComponent): any {\r\n class AsyncFunc extends React.Component {\r\n private mounted: boolean = false;\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n component: null,\r\n };\r\n }\r\n\r\n componentWillMount() {\r\n Nprogress.start();\r\n }\r\n\r\n componentWillUnmount() {\r\n this.mounted = false;\r\n }\r\n\r\n async componentDidMount() {\r\n this.mounted = true;\r\n const { default: Component } = await importComponent();\r\n Nprogress.done();\r\n if (this.mounted) {\r\n this.setState({\r\n component: ,\r\n });\r\n }\r\n }\r\n\r\n render() {\r\n const Component = this.state.component ||
;\r\n return (\r\n \r\n {Component}\r\n \r\n );\r\n }\r\n }\r\n return AsyncFunc;\r\n}\r\n","export default {\r\n defaultPath: '/',\r\n basename: '/', // only at build time to set, like ///able-pro/react/default\r\n layout: 'vertical', // vertical, horizontal\r\n subLayout: '', // horizontal-2\r\n collapseMenu: false, // mini-menu\r\n layoutType: 'menu-dark', // menu-dark, menu-light, dark\r\n headerBackColor: 'background-dark', // background-blue, background-red, background-purple, background-info, background-green, background-dark, background-grd-blue, background-grd-red, background-grd-purple, background-grd-info, background-grd-green, background-grd-dark, background-img-1, background-img-2, background-img-3, background-img-4, background-img-5, background-img-6\r\n rtlLayout: false,\r\n navFixedLayout: true,\r\n headerFixedLayout: true,\r\n boxLayout: false,\r\n};\r\n","import * as actionTypes from './actions';\r\nimport config from './../config';\r\nimport { AuthUtils } from '../helpers/AuthUtils/AuthUtils';\r\n\r\nexport const REDUCER_NAME__SETTINGS = 'settings';\r\nexport const initialState = {\r\n isOpen: [], //for active default menu\r\n isTrigger: [], //for active default menu, set blank for horizontal\r\n ...config,\r\n isFullScreen: false, // static can't change,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n let trigger = [];\r\n let open = [];\r\n switch (action.type) {\r\n case actionTypes.COLLAPSE_MENU:\r\n AuthUtils.updateThemeSettings('collapseRightMenu', !state.collapseMenu);\r\n return {\r\n ...state,\r\n collapseMenu: !state.collapseMenu,\r\n };\r\n case actionTypes.COLLAPSE_TOGGLE:\r\n if (action.menu.type === 'sub') {\r\n open = state.isOpen;\r\n trigger = state.isTrigger;\r\n\r\n const triggerIndex = trigger.indexOf(action.menu.id);\r\n if (triggerIndex > -1) {\r\n open = open.filter((item) => item !== action.menu.id);\r\n trigger = trigger.filter((item) => item !== action.menu.id);\r\n }\r\n\r\n if (triggerIndex === -1) {\r\n open = [...open, action.menu.id];\r\n trigger = [...trigger, action.menu.id];\r\n }\r\n } else {\r\n open = state.isOpen;\r\n const triggerIndex = state.isTrigger.indexOf(action.menu.id);\r\n trigger = triggerIndex === -1 ? [action.menu.id] : [];\r\n open = triggerIndex === -1 ? [action.menu.id] : [];\r\n }\r\n\r\n return {\r\n ...state,\r\n isOpen: open,\r\n isTrigger: trigger,\r\n };\r\n case actionTypes.NAV_CONTENT_LEAVE:\r\n return {\r\n ...state,\r\n isOpen: open,\r\n isTrigger: trigger,\r\n };\r\n case actionTypes.NAV_COLLAPSE_LEAVE:\r\n if (action.menu.type === 'sub') {\r\n open = state.isOpen;\r\n trigger = state.isTrigger;\r\n\r\n const triggerIndex = trigger.indexOf(action.menu.id);\r\n if (triggerIndex > -1) {\r\n open = open.filter((item) => item !== action.menu.id);\r\n trigger = trigger.filter((item) => item !== action.menu.id);\r\n }\r\n return {\r\n ...state,\r\n isOpen: open,\r\n isTrigger: trigger,\r\n };\r\n }\r\n return { ...state };\r\n case actionTypes.FULL_SCREEN:\r\n return {\r\n ...state,\r\n isFullScreen: !state.isFullScreen,\r\n };\r\n case actionTypes.FULL_SCREEN_EXIT:\r\n return {\r\n ...state,\r\n isFullScreen: false,\r\n };\r\n case actionTypes.CHANGE_LAYOUT:\r\n return {\r\n ...state,\r\n layout: action.layout,\r\n };\r\n case actionTypes.CHANGE_SUB_LAYOUT:\r\n return {\r\n ...state,\r\n subLayout: action.subLayout,\r\n };\r\n case actionTypes.LAYOUT_TYPE:\r\n return {\r\n ...state,\r\n layoutType: action.layoutType,\r\n headerBackColor: initialState.headerBackColor,\r\n };\r\n case actionTypes.NAV_BACK_COLOR:\r\n return {\r\n ...state,\r\n layoutType: state.layoutType === 'menu-light' ? 'menu-dark' : state.layoutType,\r\n };\r\n case actionTypes.HEADER_BACK_COLOR:\r\n return {\r\n ...state,\r\n headerBackColor: action.headerBackColor,\r\n };\r\n case actionTypes.RTL_LAYOUT:\r\n return {\r\n ...state,\r\n rtlLayout: !state.rtlLayout,\r\n };\r\n case actionTypes.NAV_FIXED_LAYOUT:\r\n return {\r\n ...state,\r\n navFixedLayout: !state.navFixedLayout,\r\n };\r\n case actionTypes.HEADER_FIXED_LAYOUT:\r\n return {\r\n ...state,\r\n headerFixedLayout: !state.headerFixedLayout,\r\n headerBackColor:\r\n !state.headerFixedLayout && initialState.headerBackColor === 'header-default'\r\n ? 'header-blue'\r\n : state.headerBackColor,\r\n };\r\n case actionTypes.BOX_LAYOUT:\r\n return {\r\n ...state,\r\n boxLayout: !state.boxLayout,\r\n };\r\n case actionTypes.RESET:\r\n return {\r\n ...state,\r\n layout: initialState.layout,\r\n subLayout: initialState.subLayout,\r\n collapseMenu: initialState.collapseMenu,\r\n layoutType: initialState.layoutType,\r\n headerBackColor: initialState.headerBackColor,\r\n rtlLayout: initialState.rtlLayout,\r\n navFixedLayout: initialState.navFixedLayout,\r\n headerFixedLayout: initialState.headerFixedLayout,\r\n boxLayout: initialState.boxLayout,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { combineReducers, Reducer } from 'redux';\r\nimport { default as authReducer, REDUCER_NAME__APP } from '../App/App.reducer';\r\nimport { default as appReducer, REDUCER_NAME__SETTINGS } from './app.reducer';\r\nimport { reducer as toastrReducer } from 'react-redux-toastr';\r\nimport { i18nReducer } from 'react-redux-i18n';\r\n\r\nconst conf: any = {\r\n [REDUCER_NAME__SETTINGS]: appReducer,\r\n [REDUCER_NAME__APP]: authReducer,\r\n toastr: toastrReducer,\r\n i18n: i18nReducer,\r\n};\r\n\r\nexport default function createReducer(asyncReducers: Reducer) {\r\n return combineReducers({\r\n ...conf,\r\n ...asyncReducers,\r\n });\r\n}\r\n","import { applyMiddleware, compose, createStore, Reducer, Store } from 'redux';\r\nimport createHistory from 'history/createBrowserHistory';\r\nimport thunkMiddleware from 'redux-thunk';\r\nimport { routerMiddleware } from 'react-router-redux';\r\nimport createReducer from './reducers';\r\nimport LocaleUtilities from '../helpers/LocaleUtilities';\r\nimport * as moment from 'moment';\r\nimport { IS_PRODUCTION } from './constant';\r\n\r\nconst { I18n } = require('react-i18nify');\r\nconst history = createHistory();\r\nconst routeMiddleware = routerMiddleware(history);\r\n\r\nconst middlewares = [routeMiddleware, thunkMiddleware];\r\n\r\nconst __DEV__ = true; // TODO: get development mode from environments\r\nconst asyncReducers: any = { b: () => 2 };\r\n\r\n/*\r\n * Localication configuration\r\n *\r\n */\r\n\r\nif (LocaleUtilities.getCurrentLanguage() === 'Estonian') {\r\n moment.locale('et');\r\n} else if (LocaleUtilities.getCurrentLanguage() === 'Finnish') {\r\n moment.locale('fi');\r\n} else {\r\n moment.locale('en-gb');\r\n}\r\n\r\n// How to display key if translation is missing. In this example, missing translation is surrounded with [].\r\nconst myHandleMissingTranslation = (key: any) =>\r\n !key ||\r\n (!IS_PRODUCTION ? `[[${key.split(/\\.|-/).slice(-1)[0]}]]` : `${key.split(/\\.|-/).slice(-1)[0]}`);\r\n\r\nI18n.setHandleMissingTranslation(myHandleMissingTranslation);\r\n\r\nexport default function configureStore(initialState: any = {}) {\r\n // TODO: use typedef\r\n\r\n // ======================================================\r\n // Store Enhancers\r\n // ======================================================\r\n const windowIfDefined = typeof window === 'undefined' ? null : (window as any);\r\n const enhancers: any[] = [];\r\n if (__DEV__) {\r\n const devToolsExtension: any = windowIfDefined && windowIfDefined.devToolsExtension;\r\n if (typeof devToolsExtension === 'function') {\r\n const ext: any = devToolsExtension({ shouldHotReload: false });\r\n enhancers.push(ext); // correct fix to avoid toastr endless popup\r\n }\r\n }\r\n\r\n // ======================================================\r\n // Store Instantiation\r\n // ======================================================\r\n const store = createStore(\r\n createReducer(asyncReducers),\r\n initialState,\r\n compose(applyMiddleware(...middlewares), ...enhancers),\r\n );\r\n\r\n return store;\r\n}\r\nexport function injectAsyncReducer(store: Store, name: string, asyncReducer: Reducer) {\r\n // TODO: Fix anys\r\n asyncReducers[name] = asyncReducer;\r\n // @ts-ignore\r\n store.replaceReducer(createReducer(asyncReducers));\r\n}\r\n\r\nexport { history };\r\n","import React from 'react';\r\n\r\nconst navIcon = (props) => {\r\n let navIcons = false;\r\n if (props.items.icon) {\r\n navIcons = (\r\n \r\n \r\n \r\n );\r\n }\r\n return navIcons;\r\n};\r\n\r\nexport default navIcon;\r\n","import React from 'react';\r\n\r\nconst navBadge = (props) => {\r\n let navBadges = false;\r\n if (props.items.badge) {\r\n const badgeClass = ['label', 'pcoded-badge', props.items.badge.type];\r\n\r\n navBadges = {props.items.badge.title};\r\n }\r\n return navBadges;\r\n};\r\n\r\nexport default navBadge;\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { NavLink, withRouter } from 'react-router-dom';\r\nimport windowSize from 'react-window-size';\r\n\r\nimport Aux from '../../../../../../hoc/_Aux';\r\nimport NavIcon from './../NavIcon';\r\nimport NavBadge from './../NavBadge';\r\nimport * as actionTypes from '../../../../../../store/actions';\r\nimport clsx from 'clsx';\r\nimport LocaleUtilities from '../../../../../../helpers/LocaleUtilities';\r\n\r\nclass NavItem extends Component {\r\n render() {\r\n let itemTitle = LocaleUtilities.i18n(this.props.item.title, 'sidebar', true);\r\n if (this.props.item.icon) {\r\n itemTitle = {itemTitle};\r\n }\r\n\r\n let itemTarget = '';\r\n if (this.props.item.target) {\r\n itemTarget = '_blank';\r\n }\r\n\r\n let subContent;\r\n if (this.props.item.external) {\r\n subContent = (\r\n \r\n \r\n {itemTitle}\r\n \r\n \r\n );\r\n } else {\r\n let paths = [];\r\n if (this.props.currentLink) paths = this.props.currentLink.split('/');\r\n subContent = (\r\n 2 && this.props.item.url.startsWith(`/${paths[1]}`) && 'active',\r\n )}\r\n exact={true}\r\n target={itemTarget}\r\n >\r\n \r\n {itemTitle}\r\n \r\n \r\n );\r\n }\r\n let mainContent = '';\r\n if (this.props.layout === 'horizontal') {\r\n mainContent =
  • {subContent}
  • ;\r\n } else {\r\n if (this.props.windowWidth < 992) {\r\n mainContent = (\r\n
  • \r\n {subContent}\r\n
  • \r\n );\r\n } else {\r\n mainContent =
  • {subContent}
  • ;\r\n }\r\n }\r\n\r\n return {mainContent};\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n layout: state.layout,\r\n collapseMenu: state.collapseMenu,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onItemClick: () => dispatch({ type: actionTypes.COLLAPSE_MENU }),\r\n onItemLeave: () => dispatch({ type: actionTypes.NAV_CONTENT_LEAVE }),\r\n };\r\n};\r\n\r\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(windowSize(NavItem)));\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withRouter } from 'react-router-dom';\r\n\r\nimport Aux from '../../../../../../hoc/_Aux';\r\nimport DEMO from '../../../../../../store/constant';\r\nimport * as actionTypes from '../../../../../../store/actions';\r\nimport NavIcon from './../NavIcon';\r\nimport NavBadge from './../NavBadge';\r\nimport NavItem from '../NavItem';\r\nimport LoopNavCollapse from './index';\r\n\r\nclass NavCollapse extends Component {\r\n componentDidMount() {\r\n const currentIndex = document.location.pathname\r\n .toString()\r\n .split('/')\r\n .findIndex((id) => id === this.props.collapse.id);\r\n if (currentIndex > -1) {\r\n this.props.onCollapseToggle(this.props.collapse.id, this.props.type);\r\n }\r\n }\r\n\r\n render() {\r\n const { isOpen, isTrigger, currentLink } = this.props;\r\n\r\n let navItems = '';\r\n if (this.props.collapse.children) {\r\n const collapses = this.props.collapse.children;\r\n navItems = Object.keys(collapses).map((item) => {\r\n item = collapses[item];\r\n switch (item.type) {\r\n case 'collapse':\r\n return ;\r\n case 'item':\r\n return (\r\n \r\n );\r\n default:\r\n return false;\r\n }\r\n });\r\n }\r\n\r\n let itemTitle = this.props.collapse.title;\r\n if (this.props.collapse.icon) {\r\n itemTitle = {this.props.collapse.title};\r\n }\r\n\r\n let navLinkClass = ['nav-link'];\r\n\r\n let navItemClass = ['nav-item', 'pcoded-hasmenu'];\r\n const openIndex = isOpen.findIndex((id) => id === this.props.collapse.id);\r\n if (openIndex > -1) {\r\n navItemClass = [...navItemClass, 'active'];\r\n if (this.props.layout !== 'horizontal') {\r\n navLinkClass = [...navLinkClass, 'active'];\r\n }\r\n }\r\n\r\n const triggerIndex = isTrigger.findIndex((id) => id === this.props.collapse.id);\r\n if (triggerIndex > -1) {\r\n navItemClass = [...navItemClass, 'pcoded-trigger'];\r\n }\r\n\r\n const currentIndex = document.location.pathname\r\n .toString()\r\n .split('/')\r\n .findIndex((id) => id === this.props.collapse.id);\r\n if (currentIndex > -1) {\r\n navItemClass = [...navItemClass, 'active'];\r\n if (this.props.layout !== 'horizontal') {\r\n navLinkClass = [...navLinkClass, 'active'];\r\n }\r\n }\r\n\r\n const subContent = (\r\n \r\n this.props.onCollapseToggle(this.props.collapse.id, this.props.type)}\r\n >\r\n \r\n {itemTitle}\r\n \r\n \r\n
      {navItems}
    \r\n
    \r\n );\r\n let mainContent = '';\r\n if (this.props.layout === 'horizontal') {\r\n mainContent = (\r\n \r\n this.props.onNavCollapseLeave(this.props.collapse.id, this.props.type)\r\n }\r\n onMouseEnter={() => this.props.onCollapseToggle(this.props.collapse.id, this.props.type)}\r\n >\r\n {subContent}\r\n \r\n );\r\n } else {\r\n mainContent =
  • {subContent}
  • ;\r\n }\r\n\r\n return {mainContent};\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n layout: state.layout,\r\n isOpen: state.isOpen ?? [],\r\n isTrigger: state.isTrigger ?? [],\r\n currentLink: state.currentLink,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onCollapseToggle: (id, type) =>\r\n dispatch({ type: actionTypes.COLLAPSE_TOGGLE, menu: { id: id, type: type } }),\r\n onNavCollapseLeave: (id, type) =>\r\n dispatch({ type: actionTypes.NAV_COLLAPSE_LEAVE, menu: { id: id, type: type } }),\r\n };\r\n};\r\n\r\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(NavCollapse));\r\n","import React from 'react';\r\nimport Aux from '../../../../../../hoc/_Aux';\r\nimport NavCollapse from './../NavCollapse';\r\nimport NavItem from './../NavItem';\r\n\r\nconst navGroup = (props) => {\r\n let navItems = '';\r\n if (props.group.children) {\r\n const groups = props.group.children;\r\n navItems = Object.keys(groups).map((item) => {\r\n item = groups[item];\r\n switch (item.type) {\r\n case 'collapse':\r\n return (\r\n \r\n );\r\n case 'item':\r\n return (\r\n \r\n );\r\n default:\r\n return false;\r\n }\r\n });\r\n }\r\n\r\n return (\r\n \r\n
  • \r\n \r\n
  • \r\n {navItems}\r\n
    \r\n );\r\n};\r\n\r\nexport default navGroup;\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { NavLink, withRouter } from 'react-router-dom';\r\nimport PerfectScrollbar from 'react-perfect-scrollbar';\r\nimport windowSize from 'react-window-size';\r\n\r\nimport Aux from '../../../../../hoc/_Aux';\r\nimport NavGroup from './NavGroup';\r\nimport * as actionTypes from '../../../../../store/actions';\r\nimport RouterUtilities from '../../../../../helpers/RouterUtilities';\r\nimport { ShipmentApi } from '../../../../../api/Shipment.api';\r\nimport { AuthUtils } from '../../../../../helpers/AuthUtils';\r\nimport { routePaths } from '../../../../../store/api.constants';\r\nimport LocaleUtilities from '../../../../../helpers/LocaleUtilities';\r\nimport { PriceRequestApi } from '../../../../../api/PriceRequest.api';\r\n\r\nclass NavContent extends Component {\r\n state = {\r\n scrollWidth: 0,\r\n prevDisable: true,\r\n nextDisable: false,\r\n };\r\n\r\n constructor() {\r\n super();\r\n this.state = {\r\n inboxCount: 0,\r\n priceRequestCount: 0,\r\n unreadComments: 0,\r\n };\r\n }\r\n scrollPrevHandler = () => {\r\n const wrapperWidth = document.getElementById('sidenav-wrapper').clientWidth;\r\n\r\n let scrollWidth = this.state.scrollWidth - wrapperWidth;\r\n if (scrollWidth < 0) {\r\n this.setState({ scrollWidth: 0, prevDisable: true, nextDisable: false });\r\n } else {\r\n this.setState({ scrollWidth: scrollWidth, prevDisable: false });\r\n }\r\n };\r\n\r\n scrollNextHandler = () => {\r\n const wrapperWidth = document.getElementById('sidenav-wrapper').clientWidth;\r\n const contentWidth = document.getElementById('sidenav-horizontal').clientWidth;\r\n\r\n let scrollWidth = this.state.scrollWidth + (wrapperWidth - 80);\r\n if (scrollWidth > contentWidth - wrapperWidth) {\r\n scrollWidth = contentWidth - wrapperWidth + 80;\r\n this.setState({ scrollWidth: scrollWidth, prevDisable: false, nextDisable: true });\r\n } else {\r\n this.setState({ scrollWidth: scrollWidth, prevDisable: false });\r\n }\r\n };\r\n\r\n fetchPriceRequests = async () => {\r\n try {\r\n const response = await PriceRequestApi.getOpenedRequestsCount({});\r\n if (response) {\r\n this.setState({\r\n priceRequestCount: response,\r\n });\r\n }\r\n } catch (e) {}\r\n };\r\n\r\n fetchShipment = async () => {\r\n try {\r\n const response = await ShipmentApi.getInboxShipmentsCount({});\r\n if (response) {\r\n this.setState({\r\n inboxCount: response,\r\n });\r\n }\r\n } catch (e) {}\r\n };\r\n\r\n async componentDidMount() {\r\n if (AuthUtils.isTenantUser() && !AuthUtils.isClientPortal()) {\r\n setInterval(async () => this.fetchShipment(), 60 * 1000);\r\n setInterval(async () => this.fetchPriceRequests(), 60 * 1300);\r\n await this.fetchShipment();\r\n await this.fetchPriceRequests();\r\n }\r\n }\r\n\r\n render() {\r\n let currentLink = '/';\r\n\r\n if (this.props && this.props.history?.location) {\r\n currentLink = RouterUtilities.getActiveRoute(this.props.history.location);\r\n if (currentLink.length === 0) {\r\n currentLink = 'dashboard';\r\n }\r\n }\r\n const navItems = this.props.navigation.map((item) => {\r\n item.children.forEach((navItem) => {\r\n if (navItem.id === 'inbox') {\r\n navItem.badge.title = this.state.inboxCount;\r\n }\r\n if (navItem.id === 'price-requests') {\r\n navItem.badge.title = this.state.priceRequestCount;\r\n }\r\n });\r\n\r\n switch (item.type) {\r\n case 'group':\r\n return (\r\n \r\n );\r\n default:\r\n return false;\r\n }\r\n });\r\n\r\n let scrollStyle = {\r\n marginLeft: '-' + this.state.scrollWidth + 'px',\r\n };\r\n\r\n if (this.props.layout === 'horizontal' && this.props.rtlLayout) {\r\n scrollStyle = {\r\n marginRight: '-' + this.state.scrollWidth + 'px',\r\n };\r\n }\r\n\r\n let mainContent = '';\r\n\r\n if (this.props.layout === 'horizontal' || AuthUtils.isClientPortal()) {\r\n let prevClass = ['sidenav-horizontal-prev hidden'];\r\n if (this.state.prevDisable) {\r\n prevClass = [...prevClass, 'disabled'];\r\n }\r\n let nextClass = ['sidenav-horizontal-next hidden'];\r\n if (this.state.nextDisable) {\r\n nextClass = [...nextClass, 'disabled'];\r\n }\r\n const collapseUrl = '#';\r\n mainContent = (\r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n {navItems}\r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n );\r\n } else {\r\n mainContent = (\r\n
    \r\n \r\n
      \r\n {navItems}\r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n\r\n return {mainContent};\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n layout: state.layout,\r\n rtlLayout: state.rtlLayout,\r\n collapseMenu: state.collapseMenu,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onNavContentLeave: () => dispatch({ type: actionTypes.NAV_CONTENT_LEAVE }),\r\n };\r\n};\r\n\r\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(windowSize(NavContent)));\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport windowSize from 'react-window-size';\r\n\r\nimport * as actionTypes from '../../../../../store/actions';\r\n\r\nclass OutsideClick extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.setWrapperRef = this.setWrapperRef.bind(this);\r\n this.handleOutsideClick = this.handleOutsideClick.bind(this);\r\n }\r\n\r\n UNSAFE_componentDidMount() {\r\n document.addEventListener('mousedown', this.handleOutsideClick);\r\n }\r\n\r\n UNSAFE_componentWillUnmount() {\r\n document.removeEventListener('mousedown', this.handleOutsideClick);\r\n }\r\n\r\n setWrapperRef(node) {\r\n this.wrapperRef = node;\r\n }\r\n\r\n /**\r\n * close menu if clicked on outside of element\r\n */\r\n handleOutsideClick(event) {\r\n if (this.wrapperRef && !this.wrapperRef.contains(event.target)) {\r\n if (this.props.windowWidth < 992 && this.props.collapseMenu) {\r\n this.props.onToggleNavigation();\r\n }\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n
    \r\n {this.props.children}\r\n
    \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n collapseMenu: state.collapseMenu,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onToggleNavigation: () => dispatch({ type: actionTypes.COLLAPSE_MENU }),\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(windowSize(OutsideClick));\r\n","import { routePaths } from './store/api.constants';\r\n\r\nexport default {\r\n items: [\r\n {\r\n id: 'support',\r\n title: '',\r\n type: 'group',\r\n icon: 'icon-support',\r\n children: [\r\n {\r\n id: 'dashboard',\r\n title: 'sidebar-menu-Dashboard',\r\n type: 'item',\r\n url: routePaths.dashboard1,\r\n classes: 'nav-item',\r\n icon: 'feather icon-home',\r\n },\r\n {\r\n id: 'inbox',\r\n title: 'sidebar-menu-Inbox',\r\n type: 'item',\r\n url: routePaths.inbox.list,\r\n classes: 'nav-item',\r\n icon: 'feather icon-mail',\r\n badge: {\r\n type: ' badge-light pull-right sidebar-badge sidebar-badge-inbox',\r\n title: '0',\r\n },\r\n },\r\n {\r\n id: 'price-requests',\r\n title: 'sidebar-menu-Price requests',\r\n type: 'item',\r\n url: routePaths.priceRequests.list,\r\n classes: 'nav-item',\r\n icon: 'feather icon-layers',\r\n badge: {\r\n type: ' badge-light pull-right sidebar-badge sidebar-badge-inbox',\r\n title: '0',\r\n },\r\n },\r\n {\r\n id: 'shipments',\r\n title: 'sidebar-menu-Shipments',\r\n type: 'item',\r\n url: routePaths.shipments.list,\r\n classes: 'nav-item',\r\n icon: 'fa fa-boxes',\r\n },\r\n {\r\n id: 'shipping-orders',\r\n title: 'sidebar-menu-Shipping orders',\r\n type: 'item',\r\n url: routePaths.shippingOrders.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-truck-loading',\r\n },\r\n {\r\n id: 'comments',\r\n title: 'sidebar-menu-Comments',\r\n type: 'item',\r\n url: routePaths.comments.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-comment',\r\n },\r\n {\r\n id: 'projects',\r\n title: 'sidebar-menu-Projects',\r\n type: 'item',\r\n url: routePaths.projects.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-briefcase',\r\n },\r\n {\r\n id: 'addressBook',\r\n title: 'sidebar-menu-Address book',\r\n type: 'item',\r\n url: routePaths.addressBook.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-address-card',\r\n },\r\n {\r\n id: 'companies',\r\n title: 'sidebar-menu-Companies / clients',\r\n type: 'item',\r\n url: routePaths.clients.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-building',\r\n },\r\n\r\n {\r\n id: 'terminals',\r\n title: 'sidebar-menu-Terminal / warehouses',\r\n type: 'item',\r\n url: routePaths.terminals.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-warehouse',\r\n },\r\n {\r\n id: 'fleet',\r\n title: 'sidebar-menu-Fleet / transport units',\r\n type: 'item',\r\n url: routePaths.fleet.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-truck',\r\n },\r\n {\r\n id: 'partners',\r\n title: 'sidebar-menu-Partners',\r\n type: 'item',\r\n url: routePaths.partners.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-hands-helping',\r\n },\r\n {\r\n id: 'invoices',\r\n title: 'sidebar-menu-Invoices',\r\n type: 'item',\r\n url: routePaths.invoices.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-money-bill-alt',\r\n },\r\n {\r\n id: 'controlTower',\r\n title: 'sidebar-menu-Control tower',\r\n type: 'item',\r\n url: routePaths.controlTower,\r\n classes: 'nav-item',\r\n icon: 'fa fa-map-signs',\r\n },\r\n /*\r\n {\r\n id: 'price-lists',\r\n title: LocaleUtilities.i18n('sidebar-menu-Price lists', 'sidebar', true),\r\n type: 'item',\r\n url: routePaths.priceLists.list,\r\n classes: 'nav-item',\r\n icon: 'feather icon-file-text',\r\n },\r\n {\r\n id: 'map',\r\n title: LocaleUtilities.i18n('sidebar-menu-Map', 'sidebar', true),\r\n type: 'item',\r\n url: routePaths.map.list,\r\n classes: 'nav-item',\r\n icon: 'feather icon-map',\r\n },\r\n {\r\n id: 'reports',\r\n title: LocaleUtilities.i18n('sidebar-menu-Reports', 'sidebar', true),\r\n type: 'item',\r\n url: routePaths.reports.list,\r\n classes: 'nav-item',\r\n icon: 'feather icon-pie-chart',\r\n },*/\r\n ],\r\n },\r\n ],\r\n};\r\n","import { routePaths } from './store/api.constants';\r\n\r\nexport default {\r\n items: [\r\n {\r\n id: 'menu',\r\n title: '',\r\n type: 'group',\r\n icon: 'icon-support',\r\n children: [\r\n {\r\n id: 'dashboard',\r\n title: 'Dashboard',\r\n type: 'item',\r\n url: routePaths.dashboard1,\r\n classes: 'nav-item',\r\n icon: 'feather icon-home',\r\n },\r\n {\r\n id: 'tenants',\r\n title: 'Tenants',\r\n type: 'item',\r\n url: routePaths.tenants.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-briefcase',\r\n },\r\n {\r\n id: 'translations',\r\n title: 'Translations',\r\n type: 'item',\r\n url: routePaths.translations.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-briefcase',\r\n },\r\n ],\r\n },\r\n ],\r\n};\r\n","import { routePaths } from './store/api.constants';\r\n\r\nexport default {\r\n items: [\r\n {\r\n id: 'support',\r\n title: '',\r\n type: 'group',\r\n icon: 'icon-support',\r\n children: [\r\n {\r\n id: 'dashboard',\r\n title: 'sidebar-menu-Dashboard',\r\n type: 'item',\r\n url: routePaths.dashboard,\r\n classes: 'nav-item',\r\n icon: 'feather icon-home',\r\n },\r\n {\r\n id: 'price-requests',\r\n title: 'sidebar-menu-Price requests',\r\n type: 'item',\r\n url: routePaths.priceRequests.list,\r\n classes: 'nav-item',\r\n icon: 'feather icon-layers',\r\n badge: {\r\n type: ' badge-light pull-right sidebar-badge sidebar-badge-inbox',\r\n title: '0',\r\n },\r\n },\r\n {\r\n id: 'shipments',\r\n title: 'sidebar-menu-Shipments',\r\n type: 'item',\r\n url: routePaths.shipments.list,\r\n classes: 'nav-item',\r\n icon: 'fa fa-boxes',\r\n },\r\n {\r\n id: 'addressBook',\r\n title: 'sidebar-menu-Address book',\r\n type: 'item',\r\n url: routePaths.addressBook.list,\r\n classes: 'nav-item',\r\n icon: 'fa fas fa-address-card',\r\n },\r\n ],\r\n },\r\n ],\r\n};\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withRouter } from 'react-router-dom';\r\nimport windowSize from 'react-window-size';\r\nimport { AppScope } from './../../../../store/constant';\r\nimport NavContent from './NavContent';\r\nimport OutsideClick from './OutsideClick';\r\nimport Aux from './../../../../hoc/_Aux';\r\nimport * as actionTypes from './../../../../store/actions';\r\nimport navigationTenant from '../../../../menu-items-tenant';\r\nimport navigationAdmin from '../../../../menu-items-admin';\r\nimport navigationCustomerPortal from '../../../../menu-items-customerPortal';\r\nimport { AuthUtils } from '../../../../helpers/AuthUtils';\r\nimport RouterUtilities from '../../../../helpers/RouterUtilities';\r\n\r\nclass Navigation extends Component {\r\n resize = () => {\r\n const contentWidth = document.getElementById('root').clientWidth;\r\n\r\n if (this.props.layout === 'horizontal' && contentWidth < 992) {\r\n this.props.onChangeLayout('vertical');\r\n }\r\n };\r\n\r\n componentDidMount() {\r\n this.resize();\r\n window.addEventListener('resize', this.resize);\r\n }\r\n\r\n componentWillUnmount() {\r\n window.removeEventListener('resize', this.resize);\r\n }\r\n\r\n scroll = () => {\r\n if (this.props.navFixedLayout && this.props.headerFixedLayout === false) {\r\n const el = document.querySelector('.pcoded-navbar.menupos-fixed');\r\n const scrollPosition = window.pageYOffset;\r\n if (scrollPosition > 60) {\r\n el.style.position = 'fixed';\r\n el.style.transition = 'none';\r\n el.style.marginTop = '0';\r\n } else {\r\n el.style.position = 'absolute';\r\n el.style.marginTop = '60px';\r\n }\r\n } else {\r\n document.querySelector('.pcoded-navbar').removeAttribute('style');\r\n }\r\n };\r\n\r\n render() {\r\n const scope = AuthUtils.getAppScope();\r\n var currentLink = '/';\r\n if (this.props && this.props.history) {\r\n currentLink = RouterUtilities.getActiveRoute(this.props.history.location);\r\n if (currentLink.length === 0) {\r\n currentLink = 'dashboard';\r\n }\r\n }\r\n\r\n let navClass = ['pcoded-navbar'];\r\n\r\n navClass = [...navClass, this.props.layoutType];\r\n\r\n if (this.props.layout === 'horizontal' || AuthUtils.isClientPortal()) {\r\n navClass = [...navClass, 'theme-horizontal'];\r\n } else {\r\n if (this.props.navFixedLayout) {\r\n navClass = [...navClass, 'menupos-fixed'];\r\n }\r\n\r\n if (this.props.navFixedLayout && !this.props.headerFixedLayout) {\r\n window.addEventListener('scroll', this.scroll, true);\r\n window.scrollTo(0, 0);\r\n } else {\r\n window.removeEventListener('scroll', this.scroll, false);\r\n }\r\n }\r\n\r\n if (this.props.windowWidth < 992 && this.props.collapseMenu) {\r\n navClass = [...navClass, 'mob-open'];\r\n } else if (this.props.collapseMenu) {\r\n navClass = [...navClass, 'navbar-collapsed'];\r\n }\r\n\r\n if (this.props.layoutType === 'dark') {\r\n document.body.classList.add('able-pro-dark');\r\n } else {\r\n document.body.classList.remove('able-pro-dark');\r\n }\r\n\r\n if (this.props.rtlLayout) {\r\n document.body.classList.add('able-pro-rtl');\r\n } else {\r\n document.body.classList.remove('able-pro-rtl');\r\n }\r\n\r\n if (this.props.boxLayout) {\r\n document.body.classList.add('container');\r\n document.body.classList.add('box-layout');\r\n } else {\r\n document.body.classList.remove('container');\r\n document.body.classList.remove('box-layout');\r\n }\r\n\r\n let navBarClass = ['navbar-wrapper'];\r\n if (this.props.layout === 'horizontal' && this.props.subLayout === 'horizontal-2') {\r\n navBarClass = [...navBarClass, 'container'];\r\n }\r\n\r\n let navItems = navigationTenant.items;\r\n if (scope === AppScope.superadmin) {\r\n navItems = navigationAdmin.items;\r\n } else if (scope === AppScope.clientportal) {\r\n navItems = navigationCustomerPortal.items;\r\n }\r\n\r\n let navContent = (\r\n
    \r\n \r\n
    \r\n );\r\n\r\n if (this.props.windowWidth < 992) {\r\n navContent = (\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n layout: state.layout,\r\n subLayout: state.subLayout,\r\n collapseMenu: state.settings.collapseMenu,\r\n layoutType: state.layoutType,\r\n rtlLayout: state.rtlLayout,\r\n navFixedLayout: state.navFixedLayout,\r\n headerFixedLayout: state.headerFixedLayout,\r\n boxLayout: state.boxLayout,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onToggleNavigation: () => {\r\n dispatch({ type: actionTypes.COLLAPSE_MENU });\r\n },\r\n onChangeLayout: (layout) => dispatch({ type: actionTypes.CHANGE_LAYOUT, layout: layout }),\r\n };\r\n};\r\n\r\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(windowSize(Navigation)));\r\n","import { SelectComponentApi } from 'api/SelectComponent.api';\r\nimport { SimpleRequest } from 'viewModels/common/SimpleRequest';\r\nimport { PlatformSearchIndexResult } from '../types/PlatformSearchIndexResult';\r\n\r\nconst fetchPlatformSearch = async (params: SimpleRequest): Promise => {\r\n try {\r\n const response = await SelectComponentApi.platformSearchIndex(params);\r\n if (response) {\r\n return response;\r\n }\r\n } catch {}\r\n\r\n return [];\r\n};\r\n\r\nexport default fetchPlatformSearch;\r\n","import React, { ChangeEvent, FC, ReactElement, useCallback, useState } from 'react';\r\nimport Aux from 'hoc/_Aux';\r\nimport debounce from 'lodash.debounce';\r\nimport { PlatformSearchIndexResult } from 'shared/types/PlatformSearchIndexResult';\r\nimport fetchPlatformSearch from 'shared/actions/PlatformSearch.fetch.action';\r\nimport { Collapse } from 'reactstrap';\r\nimport LoadingComponent from 'components/Form/LoadingComponent';\r\nimport { NavLink } from 'react-router-dom';\r\nimport { routePaths } from 'store/api.constants';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\n\r\nconst NavSearch: FC = (): ReactElement => {\r\n const [isSearch, setIsSearch] = useState(false);\r\n const [isLoading, setIsLoading] = useState(false);\r\n const [searchResult, setSearchResult] = useState([]);\r\n const [showSearchResult, setShowSearchResult] = useState(false);\r\n\r\n const loadResult = async (searchText?: string) => {\r\n setIsLoading(true);\r\n setShowSearchResult(true);\r\n if (!searchText) {\r\n setSearchResult([]);\r\n setShowSearchResult(false);\r\n } else {\r\n const search = await fetchPlatformSearch({\r\n keyword: searchText,\r\n includeIds: [],\r\n getAll: true,\r\n });\r\n if (search) setSearchResult(search);\r\n }\r\n setIsLoading(false);\r\n };\r\n\r\n const closeSearch = () => {\r\n setIsSearch(false);\r\n setSearchResult([]);\r\n setShowSearchResult(false);\r\n };\r\n\r\n const debouncedSave = useCallback(\r\n debounce((nextValue) => loadResult(nextValue), 750),\r\n [], // will be created only once initially\r\n );\r\n\r\n const onChangeInput = (input: ChangeEvent) => {\r\n // Even though handleChange is created on each render and executed\r\n // it references the same debouncedSave that was created initially\r\n debouncedSave(input.target.value);\r\n };\r\n\r\n const ResultComponent: FC<{ item: PlatformSearchIndexResult }> = ({ item }): ReactElement => {\r\n let path = '';\r\n if (item.object === 'Shipment') {\r\n path = routePaths.shipments.editId(item.gd);\r\n } else if (item.object === 'ShippingOrder') {\r\n path = routePaths.shippingOrders.editId(item.gd);\r\n } else if (item.object === 'Project') {\r\n path = routePaths.projects.editId(item.gd);\r\n } else if (item.object === 'Customer') {\r\n path = routePaths.clients.editId(item.gd);\r\n }\r\n const objectTranslation = LocaleUtilities.i18n(\r\n `platform-search-${item.object}`,\r\n 'platform-search',\r\n true,\r\n );\r\n return (\r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {item.label}\r\n \r\n
    \r\n

    {objectTranslation}

    \r\n
    \r\n
    \r\n );\r\n };\r\n\r\n return (\r\n \r\n setIsSearch(!isSearch)}>\r\n \r\n \r\n
    \r\n onChangeInput(e)}\r\n />\r\n \r\n \r\n \r\n
    {LocaleUtilities.i18n('platform-search-Search result', 'platform-search', true)}:
    \r\n {searchResult.map((item, key) => {\r\n return ;\r\n })}\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default NavSearch;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryColor } from 'theme';\r\n\r\nconst HouseRoundedIcon: FC> = ({\r\n width = 25,\r\n height = 25,\r\n fill = primaryColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default HouseRoundedIcon;\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport windowSize from 'react-window-size';\r\nimport NavSearch from './NavSearch';\r\nimport Aux from 'hoc/_Aux';\r\nimport * as actionTypes from 'store/actions';\r\nimport { AuthUtils } from 'helpers/AuthUtils';\r\nimport HouseRoundedIcon from 'components/Icons/House/HouseRoundedIcon';\r\nimport { Dropdown } from 'react-bootstrap';\r\nimport { NavLink } from 'react-router-dom';\r\nimport { routePaths } from 'store/api.constants';\r\nimport { Tooltip } from '@material-ui/core';\r\nimport LocaleUtilities from 'helpers/LocaleUtilities';\r\n\r\nclass NavLeft extends Component {\r\n quickLinkComponent(key: number, url: string, title: string): JSX.Element {\r\n return (\r\n <>\r\n \r\n \r\n {title}\r\n \r\n \r\n \r\n );\r\n }\r\n render() {\r\n const userData = AuthUtils.currentUserData();\r\n return (\r\n \r\n
      \r\n {!AuthUtils.isClientPortal() && (\r\n
    • \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {LocaleUtilities.i18n('base-quicklinks-Quick links', 'base', true)}\r\n \r\n {this.quickLinkComponent(\r\n 1,\r\n routePaths.shipments.new,\r\n LocaleUtilities.i18n('base-quicklinks-Add New Shipment', 'base', true),\r\n )}\r\n \r\n {this.quickLinkComponent(\r\n 1,\r\n routePaths.priceRequests.new,\r\n LocaleUtilities.i18n('base-quicklinks-Add New Price Request', 'base', true),\r\n )}\r\n \r\n {this.quickLinkComponent(\r\n 2,\r\n routePaths.clients.new,\r\n LocaleUtilities.i18n('base-quicklinks-Add New Customer', 'base', true),\r\n )}\r\n \r\n {this.quickLinkComponent(\r\n 3,\r\n routePaths.addressBook.new,\r\n LocaleUtilities.i18n('base-quicklinks-Add New Address', 'base', true),\r\n )}\r\n \r\n \r\n
    • \r\n )}\r\n {!AuthUtils.isClientPortal() && (\r\n
    • \r\n \r\n
    • \r\n )}\r\n
    • \r\n \r\n {userData?.company}{' '}\r\n {AuthUtils.isClientPortal() && (\r\n <> - {LocaleUtilities.i18n('base-Client portal', 'base', true)}\r\n )}\r\n \r\n
    • \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n isFullScreen: state.isFullScreen,\r\n rtlLayout: state.rtlLayout,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onFullScreen: () => dispatch({ type: actionTypes.FULL_SCREEN }),\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(windowSize(NavLeft));\r\n","import React from 'react';\r\nimport { Dropdown } from 'react-bootstrap';\r\nimport PerfectScrollbar from 'react-perfect-scrollbar';\r\nimport { NavLink } from 'react-router-dom';\r\nimport Aux from 'hoc/_Aux';\r\nimport DEMO, { IS_PRODUCTION, languages } from 'store/constant';\r\nimport Avatar1 from 'assets/images/user/Avatar-6.png';\r\nimport Avatar2 from 'assets/images/user/avatar-2.jpg';\r\nimport { AuthUtils, UserModelRoles } from 'helpers/AuthUtils/AuthUtils';\r\n\r\nimport { routePaths } from 'store/api.constants';\r\nimport LocaleUtilities, { ValidLanguage } from 'helpers/LocaleUtilities';\r\nimport { Tooltip } from '@material-ui/core';\r\nimport FlagComponent from 'components/Flag/FlagComponent';\r\nimport { generateKey } from 'shared/functions/generateKey';\r\n\r\nexport type NavRightProps = {\r\n rtlLayout: boolean;\r\n logOut: () => void;\r\n};\r\n\r\nclass NavRight extends React.Component {\r\n state = {\r\n listOpen: false,\r\n };\r\n\r\n switchLanguage = (lang: ValidLanguage) => {\r\n LocaleUtilities.setCurrentLanguage(lang);\r\n window.location.reload();\r\n };\r\n\r\n render() {\r\n const userData = AuthUtils.currentUserData();\r\n const currentLang = LocaleUtilities.getCurrentLanguage();\r\n const flag = languages.filter(({ name }) => name === currentLang);\r\n return (\r\n \r\n
      \r\n
    • \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n
      Notifications
      \r\n \r\n
      \r\n
      \r\n \r\n
        \r\n
      • \r\n

        NEW

        \r\n
      • \r\n
      • \r\n
        \r\n \"Generic\r\n
        \r\n

        \r\n John Doe\r\n \r\n 5 min\r\n \r\n

        \r\n

        New ticket Added

        \r\n
        \r\n
        \r\n
      • \r\n
      • \r\n

        EARLIER

        \r\n
      • \r\n
      • \r\n
        \r\n \"Generic\r\n
        \r\n

        \r\n Joseph William\r\n \r\n \r\n 10 min\r\n \r\n

        \r\n

        Prchace New Theme and make payment

        \r\n
        \r\n
        \r\n
      • \r\n
      • \r\n
        \r\n \"Generic\r\n
        \r\n

        \r\n Sara Soudein\r\n \r\n \r\n 12 min\r\n \r\n

        \r\n

        currently login

        \r\n
        \r\n
        \r\n
      • \r\n
      • \r\n
        \r\n \"Generic\r\n
        \r\n

        \r\n Joseph William\r\n \r\n \r\n 30 min\r\n \r\n

        \r\n

        Prchace New Theme and make payment

        \r\n
        \r\n
        \r\n
      • \r\n
      \r\n
      \r\n
      \r\n
      \r\n show all\r\n
      \r\n
      \r\n
      \r\n
    • \r\n {!IS_PRODUCTION && (AuthUtils.isAdmin() || AuthUtils.powerUsers()) ? (\r\n
    • \r\n \r\n {\r\n LocaleUtilities.toggleDebug();\r\n window.location.reload();\r\n }}\r\n >\r\n \r\n \r\n \r\n
    • \r\n ) : null}\r\n
    • \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n
      \r\n {LocaleUtilities.i18n(`Choose language`, 'base.language', true)}\r\n
      \r\n
      \r\n
        \r\n {languages.map((item, index) => {\r\n return (\r\n this.switchLanguage(item.name)}\r\n >\r\n {item.label}\r\n \r\n );\r\n })}\r\n
      \r\n
      \r\n \r\n
    • \r\n
    • \r\n \r\n \r\n {userData?.name}\r\n \r\n \r\n {AuthUtils.isClientPortal() && userData?.clientName && (\r\n
      \r\n {userData?.clientName}\r\n
      \r\n )}\r\n
        \r\n {!AuthUtils.isClientPortal() &&\r\n AuthUtils.hasValidRoles([UserModelRoles.tenantAdmin]) && (\r\n
      • \r\n \r\n {' '}\r\n {LocaleUtilities.i18n('menu-link-Settings', 'base', true)}\r\n \r\n
      • \r\n )}\r\n
      • \r\n \r\n {' '}\r\n {LocaleUtilities.i18n('menu-link-Profile', 'base', true)}\r\n \r\n
      • \r\n
      • \r\n \r\n My Messages\r\n \r\n
      • \r\n
      • \r\n \r\n Lock Screen\r\n \r\n
      • \r\n
      • \r\n this.props.logOut()}\r\n className=\"dropdown-item pointer\"\r\n >\r\n {' '}\r\n {LocaleUtilities.i18n('menu-link-Log out', 'base', true)}\r\n \r\n
      • \r\n
      \r\n
      \r\n \r\n
    • \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default NavRight;\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport windowSize from 'react-window-size';\r\n\r\nimport NavLeft from './NavLeft';\r\nimport NavRight from './NavRight';\r\nimport Aux from '../../../../hoc/_Aux';\r\nimport SYSTEM from '../../../../store/constant';\r\nimport * as actionTypes from '../../../../store/actions';\r\n\r\nimport logo from '../../../../assets/images/logo.png';\r\nimport { logout } from '../../../actions';\r\nimport { AuthUtils } from '../../../../helpers/AuthUtils';\r\nimport clsx from 'clsx';\r\nimport { routePaths } from '../../../../store/api.constants';\r\nimport PlusIcon from '../../../../components/Icons/Plus/PlusIcon';\r\nimport LocaleUtilities from '../../../../helpers/LocaleUtilities';\r\n\r\nclass NavBar extends Component {\r\n state = {\r\n rightToggle: false,\r\n collapseMenu: false,\r\n };\r\n\r\n render() {\r\n let headerClass = [\r\n 'navbar',\r\n 'pcoded-header',\r\n 'navbar-expand-lg',\r\n 'header-dark',\r\n 'headerpos-fixed',\r\n ];\r\n\r\n document.body.classList.remove('background-blue');\r\n document.body.classList.remove('background-red');\r\n document.body.classList.remove('background-purple');\r\n document.body.classList.remove('background-info');\r\n document.body.classList.remove('background-green');\r\n document.body.classList.remove('background-dark');\r\n\r\n document.body.classList.remove('background-grd-blue');\r\n document.body.classList.remove('background-grd-red');\r\n document.body.classList.remove('background-grd-purple');\r\n document.body.classList.remove('background-grd-info');\r\n document.body.classList.remove('background-grd-green');\r\n document.body.classList.remove('background-grd-dark');\r\n\r\n document.body.classList.remove('background-img-1');\r\n document.body.classList.remove('background-img-2');\r\n document.body.classList.remove('background-img-3');\r\n document.body.classList.remove('background-img-4');\r\n document.body.classList.remove('background-img-5');\r\n document.body.classList.remove('background-img-6');\r\n document.body.classList.add(this.props.headerBackColor);\r\n\r\n if (this.props.headerFixedLayout) {\r\n headerClass = [...headerClass, AuthUtils.isClientPortal() && 'client-portal-header'];\r\n }\r\n\r\n let toggleClass = ['mobile-menu'];\r\n if (this.props.collapseMenu) {\r\n toggleClass = [...toggleClass, 'on'];\r\n }\r\n\r\n let mainLogo = logo;\r\n\r\n let navHtml;\r\n if (!this.state.rightToggle && this.props.windowWidth < 992) {\r\n navHtml = '';\r\n } else {\r\n navHtml = (\r\n
    \r\n \r\n \r\n
    \r\n );\r\n }\r\n const collapseUrl = '#';\r\n let navBar = (\r\n \r\n
    \r\n \r\n \r\n \r\n {!AuthUtils.isClientPortal() && (\r\n <>\r\n \r\n \r\n \r\n \r\n {LocaleUtilities.i18n('sidebar-btn-Add new shipment', 'sidebar', true)}\r\n \r\n \r\n \"\"{' '}\r\n \r\n {SYSTEM.SITE_NAME}\r\n \r\n \r\n \r\n )}\r\n \r\n this.setState((prevState) => {\r\n return { rightToggle: !prevState.rightToggle };\r\n })\r\n }\r\n >\r\n \r\n \r\n
    \r\n {navHtml}\r\n
    \r\n );\r\n\r\n if (this.props.layout === 'horizontal' && this.props.subLayout === 'horizontal-2') {\r\n navBar =
    {navBar}
    ;\r\n }\r\n\r\n return (\r\n \r\n
    {navBar}
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n rtlLayout: state.settings.rtlLayout,\r\n headerBackColor: state.settings.headerBackColor,\r\n headerFixedLayout: state.settings.headerFixedLayout,\r\n collapseMenu: state.settings.collapseMenu,\r\n layout: state.settings.layout,\r\n subLayout: state.settings.subLayout,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onToggleNavigation: () => {\r\n dispatch({ type: actionTypes.COLLAPSE_MENU });\r\n },\r\n logout: () => dispatch(logout(null)),\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(windowSize(NavBar));\r\n","import React, { Component } from 'react';\r\nimport { Link } from 'react-router-dom';\r\n\r\nimport config from '../../../../config';\r\nimport navigation from '../../../../menu-items-tenant';\r\nimport DEMO from '../../../../store/constant';\r\nimport Aux from '../../../../hoc/_Aux';\r\n\r\nclass Breadcrumb extends Component {\r\n state = {\r\n main: [],\r\n item: [],\r\n };\r\n\r\n componentDidMount() {\r\n navigation.items.map((item, index) => {\r\n if (item.type && item.type === 'group') {\r\n this.getCollapse(item, index);\r\n }\r\n return false;\r\n });\r\n }\r\n\r\n UNSAFE_componentWillReceiveProps = () => {\r\n navigation.items.map((item, index) => {\r\n if (item.type && item.type === 'group') {\r\n this.getCollapse(item);\r\n }\r\n return false;\r\n });\r\n };\r\n\r\n getCollapse = (item) => {\r\n if (item.children) {\r\n item.children.filter((collapse) => {\r\n if (collapse.type && collapse.type === 'collapse') {\r\n this.getCollapse(collapse);\r\n } else if (collapse.type && collapse.type === 'item') {\r\n if (document.location.pathname === config.basename + collapse.url) {\r\n this.setState({ item: collapse, main: item });\r\n }\r\n }\r\n return false;\r\n });\r\n }\r\n };\r\n\r\n render() {\r\n let main, item;\r\n let breadcrumb = '';\r\n let title = '';\r\n if (this.state.main && this.state.main.type === 'collapse') {\r\n main = (\r\n
  • \r\n {this.state.main.title}\r\n
  • \r\n );\r\n }\r\n\r\n if (this.state.item && this.state.item.type === 'item') {\r\n title = this.state.item.title;\r\n item = (\r\n
  • \r\n {title}\r\n
  • \r\n );\r\n\r\n if (this.state.item.breadcrumbs !== false) {\r\n breadcrumb = (\r\n
    \r\n
    \r\n
    \r\n
    {title}
    \r\n
    \r\n
      \r\n
    • \r\n \r\n \r\n \r\n
    • \r\n {main}\r\n {item}\r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n }\r\n\r\n document.title = title + ' | Cargo Keep';\r\n\r\n return (\r\n \r\n
    \r\n
    {breadcrumb}
    \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default Breadcrumb;\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\n\r\nimport Aux from '../../../../../hoc/_Aux';\r\nimport DEMO from '../../../../../store/constant';\r\nimport * as actionTypes from '../../../../../store/actions';\r\n\r\nclass Layout extends Component {\r\n render() {\r\n let layoutOption = '';\r\n layoutOption = (\r\n
    \r\n
    Layouts
    \r\n
    \r\n this.props.onChangeLayoutType('menu-dark')}\r\n title=\"Default Layout\"\r\n className={this.props.layoutType === 'menu-dark' ? 'active' : ''}\r\n data-value=\"menu-dark\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeLayoutType('menu-light')}\r\n title=\"Light\"\r\n className={this.props.layoutType === 'menu-light' ? 'active' : ''}\r\n data-value=\"menu-light\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeLayoutType('dark')}\r\n title=\"Dark\"\r\n className={this.props.layoutType === 'dark' ? 'active' : ''}\r\n data-value=\"dark\"\r\n >\r\n \r\n \r\n \r\n this.props.onReset('dark')}\r\n title=\"Reset\"\r\n className={this.props.layoutType === 'reset' ? 'active' : ''}\r\n data-value=\"reset\"\r\n >\r\n Reset to Default\r\n \r\n
    \r\n
    \r\n );\r\n return {layoutOption};\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n layoutType: state.layoutType,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onChangeLayoutType: (layoutType) =>\r\n dispatch({ type: actionTypes.LAYOUT_TYPE, layoutType: layoutType }),\r\n onReset: (layoutType) => dispatch({ type: actionTypes.RESET, layoutType: layoutType }),\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Layout);\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PerfectScrollbar from 'react-perfect-scrollbar';\r\n\r\nimport Aux from '../../../../../../hoc/_Aux';\r\nimport * as actionTypes from '../../../../../../store/actions';\r\nimport DEMO from '../../../../../../store/constant';\r\n\r\nclass ColorOptions extends Component {\r\n render() {\r\n let colorOptions = '';\r\n colorOptions = (\r\n
    \r\n
    Background Color
    \r\n
    \r\n this.props.onChangeHeaderBackColor('background-blue')}\r\n className={this.props.headerBackColor === 'background-blue' ? 'active' : ''}\r\n data-value=\"background-blue\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-red')}\r\n className={this.props.headerBackColor === 'background-red' ? 'active' : ''}\r\n data-value=\"background-red\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-purple')}\r\n className={this.props.headerBackColor === 'background-purple' ? 'active' : ''}\r\n data-value=\"background-purple\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-info')}\r\n className={this.props.headerBackColor === 'background-info' ? 'active' : ''}\r\n data-value=\"background-info\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-green')}\r\n className={this.props.headerBackColor === 'background-green' ? 'active' : ''}\r\n data-value=\"background-green\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-dark')}\r\n className={this.props.headerBackColor === 'background-dark' ? 'active' : ''}\r\n data-value=\"background-dark\"\r\n >\r\n \r\n \r\n \r\n
    \r\n
    Background Gradient
    \r\n
    \r\n this.props.onChangeHeaderBackColor('background-grd-blue')}\r\n className={this.props.headerBackColor === 'background-grd-blue' ? 'active' : ''}\r\n data-value=\"background-grd-blue\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-grd-red')}\r\n className={this.props.headerBackColor === 'background-grd-red' ? 'active' : ''}\r\n data-value=\"background-grd-red\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-grd-purple')}\r\n className={this.props.headerBackColor === 'background-grd-purple' ? 'active' : ''}\r\n data-value=\"background-grd-purple\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-grd-info')}\r\n className={this.props.headerBackColor === 'background-grd-info' ? 'active' : ''}\r\n data-value=\"background-grd-info\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-grd-green')}\r\n className={this.props.headerBackColor === 'background-grd-green' ? 'active' : ''}\r\n data-value=\"background-grd-green\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-grd-dark')}\r\n className={this.props.headerBackColor === 'background-grd-dark' ? 'active' : ''}\r\n data-value=\"background-grd-dark\"\r\n >\r\n \r\n \r\n \r\n
    \r\n
    Background Image
    \r\n
    \r\n this.props.onChangeHeaderBackColor('background-img-1')}\r\n className={this.props.headerBackColor === 'background-img-1' ? 'active' : ''}\r\n data-value=\"background-img-1\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-img-2')}\r\n className={this.props.headerBackColor === 'background-img-2' ? 'active' : ''}\r\n data-value=\"background-img-2\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-img-3')}\r\n className={this.props.headerBackColor === 'background-img-3' ? 'active' : ''}\r\n data-value=\"background-img-3\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-img-4')}\r\n className={this.props.headerBackColor === 'background-img-4' ? 'active' : ''}\r\n data-value=\"background-img-4\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-img-5')}\r\n className={this.props.headerBackColor === 'background-img-5' ? 'active' : ''}\r\n data-value=\"background-img-5\"\r\n >\r\n \r\n \r\n \r\n this.props.onChangeHeaderBackColor('background-img-6')}\r\n className={this.props.headerBackColor === 'background-img-6' ? 'active' : ''}\r\n data-value=\"background-img-6\"\r\n >\r\n \r\n \r\n \r\n
    \r\n
    \r\n );\r\n\r\n return (\r\n \r\n
    \r\n {colorOptions}\r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n layout: state.layout,\r\n headerBackColor: state.headerBackColor,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onChangeHeaderBackColor: (headerBackColor) =>\r\n dispatch({ type: actionTypes.HEADER_BACK_COLOR, headerBackColor: headerBackColor }),\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(ColorOptions);\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PerfectScrollbar from 'react-perfect-scrollbar';\r\n\r\nimport Aux from '../../../../../../hoc/_Aux';\r\nimport * as actionTypes from '../../../../../../store/actions';\r\n\r\nclass LayoutOptions extends Component {\r\n render() {\r\n let layoutOption = (\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n );\r\n\r\n let layoutOptionHeaderFixWithoutBox = '';\r\n let layoutOptionNavFixWithoutBox = '';\r\n if (!this.props.boxLayout) {\r\n layoutOptionHeaderFixWithoutBox = (\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n );\r\n layoutOptionNavFixWithoutBox = (\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n );\r\n }\r\n\r\n layoutOption = (\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n {layoutOptionNavFixWithoutBox}\r\n {layoutOptionHeaderFixWithoutBox}\r\n {layoutOption}\r\n
    \r\n );\r\n\r\n return (\r\n \r\n
    \r\n {layoutOption}\r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n rtlLayout: state.rtlLayout,\r\n navFixedLayout: state.navFixedLayout,\r\n headerFixedLayout: state.headerFixedLayout,\r\n boxLayout: state.boxLayout,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onChangeRtlLayout: () => dispatch({ type: actionTypes.RTL_LAYOUT }),\r\n onChangeNavFixedLayout: () => dispatch({ type: actionTypes.NAV_FIXED_LAYOUT }),\r\n onChangeHeaderFixedLayout: () => dispatch({ type: actionTypes.HEADER_FIXED_LAYOUT }),\r\n onChangeBoxLayout: () => dispatch({ type: actionTypes.BOX_LAYOUT }),\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(LayoutOptions);\r\n","import React, { Component } from 'react';\r\nimport { connect } from 'react-redux';\r\n\r\nimport ColorOptions from './ColorOptions';\r\nimport LayoutOptions from './LayoutOptions';\r\nimport Aux from '../../../../../hoc/_Aux';\r\n\r\nclass TabConfig extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n layout: state.layout,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(TabConfig);\r\n","import React, { Component } from 'react';\r\n\r\nimport Layout from './Layout';\r\nimport TabConfig from './TabConfig';\r\nimport Aux from '../../../../hoc/_Aux';\r\n\r\nclass Configuration extends Component {\r\n state = {\r\n configOpen: false,\r\n };\r\n\r\n render() {\r\n let configClass = ['menu-styler'];\r\n if (this.state.configOpen) {\r\n configClass = [...configClass, 'open'];\r\n }\r\n\r\n return (\r\n \r\n
    \r\n {/**/}\r\n
    \r\n

    \r\n Able Pro\r\n v8.0 Customizer\r\n

    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default Configuration;\r\n","import React, { Component, Suspense } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport Fullscreen from 'react-full-screen';\r\nimport windowSize from 'react-window-size';\r\nimport Navigation from './Navigation';\r\nimport NavBar from './NavBar';\r\nimport Breadcrumb from './Breadcrumb';\r\nimport Configuration from './Configuration';\r\nimport Loader from '../Loader';\r\nimport Aux from '../../../hoc/_Aux';\r\nimport * as actionTypes from '../../../store/actions';\r\nimport { AuthUtils } from '../../../helpers/AuthUtils';\r\n\r\nclass AdminLayout extends Component {\r\n fullScreenExitHandler = () => {\r\n if (\r\n !document.fullscreenElement &&\r\n !document.webkitIsFullScreen &&\r\n !document.mozFullScreen &&\r\n !document.msFullscreenElement\r\n ) {\r\n this.props.onFullScreenExit();\r\n }\r\n };\r\n\r\n UNSAFE_componentWillMount() {\r\n if (\r\n this.props.windowWidth > 992 &&\r\n this.props.windowWidth <= 1024 &&\r\n this.props.layout !== 'horizontal'\r\n ) {\r\n this.props.onUNSAFE_componentWillMount();\r\n }\r\n }\r\n\r\n mobileOutClickHandler() {\r\n if (this.props.windowWidth < 992 && this.props.collapseMenu) {\r\n this.props.onUNSAFE_componentWillMount();\r\n }\r\n }\r\n\r\n render() {\r\n /* full screen exit call */\r\n document.addEventListener('fullscreenchange', this.fullScreenExitHandler);\r\n document.addEventListener('webkitfullscreenchange', this.fullScreenExitHandler);\r\n document.addEventListener('mozfullscreenchange', this.fullScreenExitHandler);\r\n document.addEventListener('MSFullscreenChange', this.fullScreenExitHandler);\r\n\r\n let mainClass = ['pcoded-wrapper', AuthUtils.isClientPortal() && 'client-portal'];\r\n if (this.props.layout === 'horizontal' && this.props.subLayout === 'horizontal-2') {\r\n mainClass = [...mainClass, 'container'];\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n
    this.mobileOutClickHandler}>\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n }>{this.props.children}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n defaultPath: state.defaultPath,\r\n isFullScreen: state.isFullScreen,\r\n collapseMenu: state.collapseMenu,\r\n layout: state.layout,\r\n subLayout: state.subLayout,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n onFullScreenExit: () => dispatch({ type: actionTypes.FULL_SCREEN_EXIT }),\r\n onUNSAFE_componentWillMount: () => dispatch({ type: actionTypes.COLLAPSE_MENU }),\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(windowSize(AdminLayout));\r\n","import * as React from 'react';\r\nimport LocaleUtilities from '../../helpers/LocaleUtilities';\r\nimport { NavLink } from 'react-router-dom';\r\n\r\ninterface Component_404Props {}\r\n\r\nexport default class Component404 extends React.Component {\r\n render() {\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    Oops..

    \r\n

    404

    \r\n

    \r\n {LocaleUtilities.i18n('session-error-text-Sorry page not found', 'session.error')}\r\n

    \r\n \r\n \r\n {LocaleUtilities.i18n('session-error-button-Go to dashboard', 'session.error')}\r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport { Route } from 'react-router';\r\nimport { Redirect } from 'react-router-dom';\r\nimport { UserModelRoles } from '../helpers/AuthUtils';\r\nimport AuthUtilities from '../helpers/AuthUtils/AuthUtils';\r\nimport Component404 from './Session/Component_404';\r\n\r\nconst PrivateRoute = (\r\n // TODO: fix any\r\n {\r\n component: TheComponent,\r\n currentUser = null,\r\n allowedRoles = [UserModelRoles.superAdmin],\r\n ...rest\r\n }: any,\r\n) => {\r\n const utils = new AuthUtilities();\r\n return (\r\n \r\n !utils.isCurrentUserLoggedIn(currentUser) ? (\r\n \r\n ) : !utils.hasValidRole(allowedRoles, currentUser) ? (\r\n \r\n ) : (\r\n \r\n )\r\n }\r\n />\r\n );\r\n};\r\n\r\nexport default PrivateRoute;\r\n","import * as React from 'react';\r\nimport { Route } from 'react-router-dom';\r\nimport { Switch } from 'react-router';\r\nimport { routePaths } from 'store/api.constants';\r\nimport asyncComponent from 'util/asyncComponent';\r\nimport { injectAsyncReducer } from 'store';\r\nimport { store } from 'index';\r\nimport AdminLayout from '../../layout/AdminLayout';\r\nimport PrivateRoute from 'components/PrivateRoute.component';\r\nimport { UserModelRoles } from 'helpers/AuthUtils';\r\nimport { REDUCER_NAME__TENANTS } from './Tenants/Tenant.List/TenantList.reducer';\r\nimport { REDUCER_KEY__TENANT } from './Tenants/Tenant.Display/Tenant.reducer';\r\nimport { REDUCER_NAME__TRANSLATIONS } from './Translations/Translations.List/Translations.reducer';\r\n\r\n/** REDUCERS **/\r\n\r\nclass ForAdminRoutesComponent extends React.Component {\r\n componentDidMount() {}\r\n\r\n render() {\r\n return (\r\n \r\n \r\n {[routePaths.dashboard, routePaths.dashboard1].map((path, index) => (\r\n {\r\n const container = await import('./Dashboard/Dashboard.container');\r\n const reducer = await import('./Dashboard/Dashboard.reducer');\r\n injectAsyncReducer(store, reducer.REDUCER_NAME__DASHBOARD, reducer.default);\r\n return container;\r\n })}\r\n />\r\n ))}\r\n ==========================| ====| TENANTS ==========================|\r\n {\r\n const reducer = await import('./Tenants/Tenant.List/TenantList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__TENANTS, reducer.default);\r\n return await import('./Tenants/Tenant.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Tenants/Tenant.Display/Tenant.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__TENANT, reducer.default);\r\n return await import('./Tenants/Tenant.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Tenants/Tenant.Display/Tenant.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__TENANT, reducer.default);\r\n return await import('./Tenants/Tenant.Display/Edit');\r\n })}\r\n />\r\n ==========================| ====| TRNSLATIONS ==========================|\r\n {\r\n const reducer = await import('./Translations/Translations.List/Translations.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__TRANSLATIONS, reducer.default);\r\n return await import('./Translations/Translations.List');\r\n })}\r\n />\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default ForAdminRoutesComponent;\r\n","import * as React from 'react';\r\nimport { Route } from 'react-router-dom';\r\nimport { Switch } from 'react-router';\r\nimport { routePaths } from 'store/api.constants';\r\nimport asyncComponent from 'util/asyncComponent';\r\nimport { injectAsyncReducer } from 'store';\r\nimport { store } from 'index';\r\nimport AdminLayout2 from '../../layout/AdminLayout';\r\nimport PrivateRoute from 'components/PrivateRoute.component';\r\nimport { UserModelRoles } from 'helpers/AuthUtils';\r\nimport { REDUCER_NAME__FLEETS } from './Fleet/Fleet.List/FleetList.reducer';\r\nimport { REDUCER_KEY__FLEET } from './Fleet/Fleet.Display/Fleet.reducer';\r\nimport { REDUCER_KEY__TERMINAL } from './Terminal/Terminal.Display/Terminal.reducer';\r\nimport { REDUCER_NAME__TERMINALS } from './Terminal/Terminal.List/TerminalList.reducer';\r\nimport { REDUCER_KEY__CUSTOMER } from './Customer/Customer.Display/Customer.reducer';\r\nimport { REDUCER_NAME__CUSTOMERS } from './Customer/Customer.List/CustomerList.reducer';\r\nimport { REDUCER_NAME__ADDRESS_BOOKS } from './AddressBook/AddressBook.List/AddressBook.reducer';\r\nimport { REDUCER_NAME__ADDRESS_BOOK } from './AddressBook/AddressBook.Display/AddressBookItem.reducer';\r\nimport { REDUCER_NAME__PARTNERS } from './Partner/Partner.List/PartnerList.reducer';\r\nimport { REDUCER_KEY__PARTNER } from './Partner/Partner.Display/Partner.reducer';\r\nimport { REDUCER_NAME__SHIPMENTS } from './Shipment/Shipment.List/ShipmentList.reducer';\r\nimport { REDUCER_KEY__SHIPMENT } from './Shipment/Shipment.Display/Shipment.reducer';\r\nimport { REDUCER_NAME__PROJECTS } from './Project/Project.List/ProjectList.reducer';\r\nimport { REDUCER_NAME__SHIPPING_ORDERS } from './ShippingOrder/ShippingOrder.List/ShippingOrderList.reducer';\r\nimport { REDUCER_KEY__SHIPPING_ORDER } from './ShippingOrder/ShippingOrder.Display/ShippingOrder.reducer';\r\nimport { REDUCER_NAME__EMPLOYEES } from './Settings/Employees/Employees.reducer';\r\nimport { REDUCER_NAME__INVOICES } from './Invoice/Invoice.List/InvoiceList.reducer';\r\nimport { REDUCER_KEY__INVOICE } from './Invoice/Invoice.Display/Invoice.reducer';\r\nimport { REDUCER_NAME__PROJECT } from './Project/Project.Display/ProjectDisplay.reducer';\r\nimport { REDUCER_KEY__PRICE_REQUEST } from './PriceRequest/PriceRequest.Display/PriceRequest.reducer';\r\nimport { REDUCER_NAME__PRICE_REQUESTS } from './PriceRequest/PriceRequest.List/PriceRequestList.reducer';\r\nimport { REDUCER_NAME__CONTROL_TOWER } from './ControlTower/ControlTower.reducer';\r\nimport { REDUCER_NAME__CUSTOMERS_IMPORT } from './Customer/Customer.Import/CustomerImport.reducer';\r\nimport { REDUCER_NAME__COMMENTS } from './Comment/CommentList.reducer';\r\n\r\n/** REDUCERS **/\r\n\r\nclass ForTenantRoutesComponent extends React.Component {\r\n render() {\r\n return (\r\n \r\n \r\n {[routePaths.dashboard, routePaths.dashboard1].map((path, index) => (\r\n {\r\n const container = await import('./Dashboard/Dashboard.container');\r\n const reducer = await import('./Dashboard/Dashboard.reducer');\r\n injectAsyncReducer(store, reducer.REDUCER_NAME__DASHBOARD, reducer.default);\r\n return container;\r\n })}\r\n />\r\n ))}\r\n {\r\n const container = await import('../Sessions/Profile/Profile.container');\r\n const reducer = await import('../Sessions/Profile/Profile.reducer');\r\n injectAsyncReducer(store, reducer.REDUCER_KEY__PROFILE, reducer.default);\r\n return container;\r\n })}\r\n />\r\n {[routePaths.inbox.list].map((path, index) => (\r\n {\r\n const container = await import('./Inbox/Inbox.container');\r\n const reducer = await import('./Inbox/Inbox.reducer');\r\n injectAsyncReducer(store, reducer.REDUCER_NAME__INBOX, reducer.default);\r\n return container;\r\n })}\r\n />\r\n ))}\r\n ==========================| ====| SETTINGS ==========================|\r\n {\r\n const reducer = await import('./Settings/Employees/Employees.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__EMPLOYEES, reducer.default);\r\n return await import('./Settings/Employees');\r\n })}\r\n />\r\n {\r\n return await import('./Settings/Profile');\r\n })}\r\n />\r\n {\r\n return await import('./Settings/InvoiceSettings');\r\n })}\r\n />\r\n {\r\n return await import('./Settings/PdfSettings');\r\n })}\r\n />\r\n {\r\n const container = await import(\r\n './Settings/MessageTemplate/MessageTemplate.container'\r\n );\r\n const reducer = await import('./Settings/MessageTemplate/MessageTemplate.reducer');\r\n injectAsyncReducer(\r\n store,\r\n reducer.REDUCER_NAME__MESSAGE_TEMPLATE_TYPE,\r\n reducer.default,\r\n );\r\n return container;\r\n })}\r\n />\r\n {\r\n const container = await import(\r\n './Settings/TermsAndConditions/TermsAndConditions.container'\r\n );\r\n const reducer = await import('./Settings/TermsAndConditions/TermsAndConditions.reducer');\r\n injectAsyncReducer(\r\n store,\r\n reducer.REDUCER_NAME__TERMS_AND_CONDITIONS_TYPE,\r\n reducer.default,\r\n );\r\n return container;\r\n })}\r\n />\r\n {\r\n const container = await import('./Settings/PackageType/PackageType.container');\r\n const reducer = await import('./Settings/PackageType/PackageType.reducer');\r\n injectAsyncReducer(store, reducer.REDUCER_NAME__PACKAGE_TYPE, reducer.default);\r\n return container;\r\n })}\r\n />\r\n {\r\n const container = await import('./Settings/VatRate/VatRate.container');\r\n const reducer = await import('./Settings/VatRate/VatRate.reducer');\r\n injectAsyncReducer(store, reducer.REDUCER_NAME__VAT_RATES, reducer.default);\r\n return container;\r\n })}\r\n />\r\n {\r\n const container = await import(\r\n './Settings/IpAccessManagement/IpAccessManagement.container'\r\n );\r\n const reducer = await import(\r\n './Settings/IpAccessManagement/IpAccessManagement.reducer'\r\n );\r\n injectAsyncReducer(\r\n store,\r\n reducer.REDUCER_NAME__IP_ACCESS_MANAGEMENT,\r\n reducer.default,\r\n );\r\n return container;\r\n })}\r\n />\r\n {\r\n return await import('./Settings/Preferences');;\r\n })}\r\n />\r\n ==========================| ====| FLEET ==========================|\r\n {\r\n const reducer = await import('./Fleet/Fleet.List/FleetList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__FLEETS, reducer.default);\r\n return await import('./Fleet/Fleet.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Fleet/Fleet.Display/Fleet.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__FLEET, reducer.default);\r\n return await import('./Fleet/Fleet.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Fleet/Fleet.Display/Fleet.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__FLEET, reducer.default);\r\n return await import('./Fleet/Fleet.Display/Edit');\r\n })}\r\n />\r\n ==========================| ====| TERMINAL ==========================|\r\n {\r\n const reducer = await import('./Terminal/Terminal.List/TerminalList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__TERMINALS, reducer.default);\r\n return await import('./Terminal/Terminal.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Terminal/Terminal.Display/Terminal.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__TERMINAL, reducer.default);\r\n return await import('./Terminal/Terminal.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Terminal/Terminal.Display/Terminal.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__TERMINAL, reducer.default);\r\n return await import('./Terminal/Terminal.Display/Edit');\r\n })}\r\n />\r\n ==========================| ====| SHIPMENT ==========================|\r\n {\r\n const reducer = await import('./Shipment/Shipment.List/ShipmentList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__SHIPMENTS, reducer.default);\r\n return await import('./Shipment/Shipment.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Shipment/Shipment.Display/Shipment.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__SHIPMENT, reducer.default);\r\n return await import('./Shipment/Shipment.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Shipment/Shipment.Display/Shipment.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__SHIPMENT, reducer.default);\r\n return await import('./Shipment/Shipment.Display/Edit');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Shipment/Shipment.Display/Shipment.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__SHIPMENT, reducer.default);\r\n return await import('./Shipment/Shipment.Display/Display');\r\n })}\r\n />\r\n ==========================| ====| PRICE REQUEST ==========================|\r\n {\r\n const reducer = await import(\r\n './PriceRequest/PriceRequest.List/PriceRequestList.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_NAME__PRICE_REQUESTS, reducer.default);\r\n return await import('./PriceRequest/PriceRequest.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n './PriceRequest/PriceRequest.Display/PriceRequest.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_KEY__PRICE_REQUEST, reducer.default);\r\n return await import('./PriceRequest/PriceRequest.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n './PriceRequest/PriceRequest.Display/PriceRequest.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_KEY__PRICE_REQUEST, reducer.default);\r\n return await import('./PriceRequest/PriceRequest.Display/Edit');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n './PriceRequest/PriceRequest.Display/PriceRequest.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_KEY__PRICE_REQUEST, reducer.default);\r\n return await import('./PriceRequest/PriceRequest.Display/Display');\r\n })}\r\n />\r\n ==========================| ====| CUSTOMER ==========================|\r\n {\r\n const reducer = await import('./Customer/Customer.List/CustomerList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__CUSTOMERS, reducer.default);\r\n return await import('./Customer/Customer.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Customer/Customer.Import/CustomerImport.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__CUSTOMERS_IMPORT, reducer.default);\r\n return await import('./Customer/Customer.Import');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Customer/Customer.Display/Customer.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__CUSTOMER, reducer.default);\r\n return await import('./Customer/Customer.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Customer/Customer.Display/Customer.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__CUSTOMER, reducer.default);\r\n return await import('./Customer/Customer.Display/Edit');\r\n })}\r\n />\r\n ==========================| ====| SHIPPING ORDERS ==========================|\r\n {\r\n const reducer = await import(\r\n './ShippingOrder/ShippingOrder.List/ShippingOrderList.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_NAME__SHIPPING_ORDERS, reducer.default);\r\n return await import('./ShippingOrder/ShippingOrder.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n './ShippingOrder/ShippingOrder.Display/ShippingOrder.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_KEY__SHIPPING_ORDER, reducer.default);\r\n return await import('./ShippingOrder/ShippingOrder.Display');\r\n })}\r\n />\r\n ==========================| ====| COMMENTS ==========================|\r\n {\r\n const reducer = await import('./Comment/CommentList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__COMMENTS, reducer.default);\r\n return await import('./Comment');\r\n })}\r\n />\r\n ==========================| ====| PROJECT ==========================|\r\n {\r\n const reducer = await import('./Project/Project.List/ProjectList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__PROJECTS, reducer.default);\r\n return await import('./Project/Project.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Project/Project.Display/ProjectDisplay.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__PROJECT, reducer.default);\r\n return await import('./Project/Project.Display');\r\n })}\r\n />\r\n ==========================| ====| PARTNERS ==========================|\r\n {\r\n const reducer = await import('./Partner/Partner.List/PartnerList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__PARTNERS, reducer.default);\r\n return await import('./Partner/Partner.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Partner/Partner.Display/Partner.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__PARTNER, reducer.default);\r\n return await import('./Partner/Partner.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Partner/Partner.Display/Partner.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__PARTNER, reducer.default);\r\n return await import('./Partner/Partner.Display/Edit');\r\n })}\r\n />\r\n ==========================| ====| ADDRESS BOOK ==========================|\r\n {\r\n const reducer = await import('./AddressBook/AddressBook.List/AddressBook.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__ADDRESS_BOOKS, reducer.default);\r\n return await import('./AddressBook/AddressBook.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n './AddressBook/AddressBook.Display/AddressBookItem.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_NAME__ADDRESS_BOOK, reducer.default);\r\n return await import('./AddressBook/AddressBook.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n './AddressBook/AddressBook.Display/AddressBookItem.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_NAME__ADDRESS_BOOK, reducer.default);\r\n return await import('./AddressBook/AddressBook.Display/Edit');\r\n })}\r\n />\r\n ==========================| ====| INVOICES ==========================|\r\n {\r\n const reducer = await import('./Invoice/Invoice.List/InvoiceList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__INVOICES, reducer.default);\r\n return await import('./Invoice/Invoice.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Invoice/Invoice.Display/Invoice.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__INVOICE, reducer.default);\r\n return await import('./Invoice/Invoice.Display');\r\n })}\r\n />\r\n ==========================| ====| CONTROL TOWER ==========================|\r\n {\r\n const reducer = await import('./ControlTower/ControlTower.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__CONTROL_TOWER, reducer.default);\r\n return await import('./ControlTower');\r\n })}\r\n />\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default ForTenantRoutesComponent;\r\n","import * as React from 'react';\r\nimport { Route } from 'react-router-dom';\r\nimport { Switch } from 'react-router';\r\nimport { routePaths } from 'store/api.constants';\r\nimport asyncComponent from 'util/asyncComponent';\r\nimport { injectAsyncReducer } from 'store';\r\nimport { store } from 'index';\r\nimport AdminLayout2 from '../../layout/AdminLayout';\r\nimport PrivateRoute from 'components/PrivateRoute.component';\r\nimport { UserModelRoles } from 'helpers/AuthUtils';\r\nimport { REDUCER_NAME__ADDRESS_BOOKS } from 'App/routes/Tenant/AddressBook/AddressBook.List/AddressBook.reducer';\r\nimport { REDUCER_NAME__ADDRESS_BOOK } from 'App/routes/Tenant/AddressBook/AddressBook.Display/AddressBookItem.reducer';\r\nimport { REDUCER_NAME__SHIPMENTS } from 'App/routes/Tenant/Shipment/Shipment.List/ShipmentList.reducer';\r\nimport { REDUCER_KEY__SHIPMENT } from 'App/routes/Tenant/Shipment/Shipment.Display/Shipment.reducer';\r\nimport { REDUCER_NAME__PRICE_REQUESTS } from '../Tenant/PriceRequest/PriceRequest.List/PriceRequestList.reducer';\r\nimport { REDUCER_KEY__PRICE_REQUEST } from '../Tenant/PriceRequest/PriceRequest.Display/PriceRequest.reducer';\r\n\r\n/** REDUCERS **/\r\n\r\nclass ForClientPortalRoutesComponent extends React.Component {\r\n render() {\r\n return (\r\n \r\n \r\n {[routePaths.dashboard, routePaths.dashboard1].map((path, index) => (\r\n {\r\n const container = await import('./Dashboard/Dashboard.container');\r\n const reducer = await import('./Dashboard/Dashboard.reducer');\r\n injectAsyncReducer(store, reducer.REDUCER_NAME__DASHBOARD, reducer.default);\r\n return container;\r\n })}\r\n />\r\n ))}\r\n {\r\n const container = await import('../Sessions/Profile/Profile.container');\r\n const reducer = await import('../Sessions/Profile/Profile.reducer');\r\n injectAsyncReducer(store, reducer.REDUCER_KEY__PROFILE, reducer.default);\r\n return container;\r\n })}\r\n />\r\n ==========================| ====| SHIPMENT ==========================|\r\n {\r\n const reducer = await import('./Shipment/Shipment.List/ShipmentList.reducer');\r\n injectAsyncReducer(store, REDUCER_NAME__SHIPMENTS, reducer.default);\r\n return await import('./Shipment/Shipment.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Shipment/Shipment.Display/Shipment.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__SHIPMENT, reducer.default);\r\n return await import('./Shipment/Shipment.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Shipment/Shipment.Display/Shipment.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__SHIPMENT, reducer.default);\r\n return await import('./Shipment/Shipment.Display/Edit');\r\n })}\r\n />\r\n {\r\n const reducer = await import('./Shipment/Shipment.Display/Shipment.reducer');\r\n injectAsyncReducer(store, REDUCER_KEY__SHIPMENT, reducer.default);\r\n return await import('./Shipment/Shipment.Display/Display');\r\n })}\r\n />\r\n ==========================| ====| PRICE REQUEST ==========================|\r\n {\r\n const reducer = await import(\r\n 'App/routes/Tenant/PriceRequest/PriceRequest.List/PriceRequestList.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_NAME__PRICE_REQUESTS, reducer.default);\r\n return await import('App/routes/Tenant/PriceRequest/PriceRequest.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n './PriceRequest/PriceRequest.Display/PriceRequest.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_KEY__PRICE_REQUEST, reducer.default);\r\n return await import('./PriceRequest/PriceRequest.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n './PriceRequest/PriceRequest.Display/PriceRequest.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_KEY__PRICE_REQUEST, reducer.default);\r\n return await import('./PriceRequest/PriceRequest.Display/Edit');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n './PriceRequest/PriceRequest.Display/PriceRequest.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_KEY__PRICE_REQUEST, reducer.default);\r\n return await import('./PriceRequest/PriceRequest.Display/Display');\r\n })}\r\n />\r\n ==========================| ====| ADDRESS BOOK ==========================|\r\n {\r\n const reducer = await import(\r\n 'App/routes/Tenant/AddressBook/AddressBook.List/AddressBook.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_NAME__ADDRESS_BOOKS, reducer.default);\r\n return await import('App/routes/Tenant/AddressBook/AddressBook.List');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n 'App/routes/Tenant/AddressBook/AddressBook.Display/AddressBookItem.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_NAME__ADDRESS_BOOK, reducer.default);\r\n return await import('App/routes/Tenant/AddressBook/AddressBook.Display/New');\r\n })}\r\n />\r\n {\r\n const reducer = await import(\r\n 'App/routes/Tenant/AddressBook/AddressBook.Display/AddressBookItem.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_NAME__ADDRESS_BOOK, reducer.default);\r\n return await import('App/routes/Tenant/AddressBook/AddressBook.Display/Edit');\r\n })}\r\n />\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default ForClientPortalRoutesComponent;\r\n","import * as React from 'react';\r\nimport ReduxToastr from 'react-redux-toastr';\r\nimport 'react-redux-toastr/lib/css/react-redux-toastr.min.css';\r\nimport { AuthUtils } from 'helpers/AuthUtils';\r\nimport { AppScope } from 'store/constant';\r\nimport AdminActions from './routes/Admin';\r\nimport TenantActions from './routes/Tenant';\r\nimport ForClientPortalRoutesComponent from './routes/ClientPortal';\r\nimport clsx from 'clsx';\r\n\r\nclass MainAppComponent extends React.Component<{\r\n isLoggedIn?: boolean;\r\n}> {\r\n render() {\r\n const scope: AppScope = AuthUtils.getAppScope();\r\n return (\r\n
    \r\n {scope === AppScope.superadmin ? : null}\r\n {scope === AppScope.tenant ? : null}\r\n {scope === AppScope.clientportal ? : null}\r\n \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default MainAppComponent;\r\n","import React, { Suspense } from 'react';\r\nimport { Redirect, Route, Switch } from 'react-router-dom';\r\nimport '../../node_modules/font-awesome/scss/font-awesome.scss';\r\nimport Loader from './layout/Loader';\r\nimport Aux from 'hoc/_Aux';\r\nimport ScrollToTop from './layout/ScrollToTop';\r\nimport routes from '../route';\r\nimport { routePaths } from 'store/api.constants';\r\nimport asyncComponent from 'util/asyncComponent';\r\nimport MainAppComponent from './MainApp.component';\r\nimport { injectAsyncReducer } from '../store';\r\nimport { store } from '../index';\r\nimport { REDUCER_KEY__CHANGE_PASSWORD } from './routes/Sessions/ChangePassword/ChangePassword.reducer';\r\nimport { RouteComponentProps, withRouter } from 'react-router';\r\nimport { IS_CLIENT_PORTAL_URL } from '../store/constant';\r\n\r\nexport interface AppComponentStateProps {\r\n loading: boolean;\r\n isLoggedIn: boolean;\r\n settings: any;\r\n}\r\n\r\nexport interface AppComponentDispatchProps {}\r\n\r\nconst RestrictedRoute = ({ component: Component, ...rest }) => (\r\n \r\n rest.isLoggedIn ? (\r\n \r\n ) : (\r\n \r\n )\r\n }\r\n />\r\n);\r\n\r\nclass App extends React.Component<\r\n AppComponentStateProps & AppComponentDispatchProps & RouteComponentProps\r\n> {\r\n async componentDidMount() {\r\n // @ts-ignore\r\n const location = window.location;\r\n if (!this.props.isLoggedIn && location.pathname.length <= 1) {\r\n if (!IS_CLIENT_PORTAL_URL) {\r\n this.props.history.push(routePaths.login);\r\n } else {\r\n this.props.history.push(routePaths.loginClientPortal);\r\n }\r\n }\r\n if (IS_CLIENT_PORTAL_URL) {\r\n document.title = 'Kliendiportaal -CK';\r\n }\r\n }\r\n\r\n render() {\r\n const { isLoggedIn } = this.props;\r\n const menu = routes.map((route, index) => {\r\n return route.component ? (\r\n }\r\n />\r\n ) : null;\r\n });\r\n return (\r\n \r\n \r\n }>\r\n \r\n {menu}\r\n await import('./routes/Public/Invoice'))}\r\n />\r\n {isLoggedIn ? (\r\n \r\n ) : (\r\n <>\r\n await import('./routes/Sessions/ResetPassword'),\r\n )}\r\n />\r\n {\r\n const reducer = await import(\r\n './routes/Sessions/ChangePassword/ChangePassword.reducer'\r\n );\r\n injectAsyncReducer(store, REDUCER_KEY__CHANGE_PASSWORD, reducer.default);\r\n return await import('./routes/Sessions/ChangePassword');\r\n })}\r\n />\r\n await import('./routes/Sessions/Invitation'),\r\n )}\r\n />\r\n await import('./routes/Public/SpotRequest'),\r\n )}\r\n />\r\n await import('./routes/Public/ShippingOrder'),\r\n )}\r\n />\r\n await import('./routes/Sessions/Login'))}\r\n />\r\n await import('./routes/Sessions/LoginClientPortal'),\r\n )}\r\n />\r\n await import('./routes/Errors/OfflineRoute'),\r\n )}\r\n />\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default withRouter(App);\r\n","import App from './App.container';\r\nexport default App;\r\n","import { connect } from 'react-redux';\r\nimport App, { AppComponentDispatchProps, AppComponentStateProps } from './App.component';\r\nimport { AppReduxState, REDUCER_NAME__APP } from './App.reducer';\r\nimport { AuthUtils } from '../helpers/AuthUtils';\r\n\r\nconst mapStateToProps = (state: any): AppComponentStateProps => {\r\n const currentState: AppReduxState = state[REDUCER_NAME__APP];\r\n return {\r\n loading: currentState.loading,\r\n isLoggedIn: !!AuthUtils.currentUserData(),\r\n settings: currentState.settings,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = {};\r\nexport default connect(\r\n mapStateToProps,\r\n mapDispatchToProps,\r\n)(App);\r\n","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read https://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.1/8 is considered localhost for IPv4.\r\n window.location.hostname.match(/^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/),\r\n);\r\n\r\nexport function register(config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit https://bit.ly/CRA-PWA',\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then((registration) => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.',\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch((error) => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl)\r\n .then((response) => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then((registration) => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log('No internet connection found. App is running in offline mode.');\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready.then((registration) => {\r\n registration.unregister();\r\n });\r\n }\r\n}\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { Provider } from 'react-redux';\r\nimport { BrowserRouter, Route } from 'react-router-dom';\r\nimport { start } from './App/actions';\r\nimport App from './App/index';\r\nimport * as serviceWorker from './serviceWorker';\r\nimport createStore from './store';\r\nimport config from './config';\r\nimport './assets/scss/style.scss';\r\n\r\nexport const store: any = createStore(window['__INITIAL_STATE__']);\r\nstore.dispatch(start());\r\nsetTimeout(() => {\r\n const app = (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n ReactDOM.render(app, document.getElementById('root'));\r\n\r\n // If you want your app to work offline and load faster, you can change\r\n // unregister() to register() below. Note this comes with some pitfalls.\r\n // Learn more about service workers: http://bit.ly/CRA-PWA\r\n serviceWorker.unregister();\r\n}, 450);\r\n","import moment, { Moment } from 'moment';\r\nimport addMinutes from 'date-fns/addMinutes';\r\nimport parseISO from 'date-fns/parseISO';\r\nimport LocaleUtilities from './LocaleUtilities';\r\n//import LocaleUtilities from './LocaleUtilities';\r\n\r\nexport default class DateUtilities {\r\n public static showTime(timeString: string) {\r\n if (timeString && !timeString.startsWith('00')) return true;\r\n return false;\r\n }\r\n\r\n public static toUTC = (date: Date | null | undefined): Date | null => {\r\n return date ? addMinutes(date, -date.getTimezoneOffset()) : null;\r\n };\r\n\r\n public static parseISOWithoutTimeZone = (date: string): Date | null => {\r\n return DateUtilities.toUTC(parseISO(date));\r\n };\r\n\r\n public static toISOStringWithoutTimeAndTz = (date: Date): string => {\r\n date.setUTCHours(0,0,0,0);\r\n return date.toISOString();\r\n };\r\n\r\n public static filterStringWithDelta = (daysDelta: number): string => {\r\n return DateUtilities.toISOStringWithoutTimeAndTz(DateUtilities.getTodayWithDayDelta(daysDelta))\r\n };\r\n\r\n public static toLocalDateTimeFormat(date: Date | Moment): string {\r\n if (!date) return '';\r\n const local = DateUtilities.toLocal(date);\r\n return moment(local).format(LocaleUtilities.DateTimeFormat);\r\n }\r\n\r\n public static toLocal = (date: Date | Moment): Date => {\r\n const dt = date instanceof moment ? moment(date).toDate() : new Date(date.toString());\r\n return addMinutes(dt, - dt.getTimezoneOffset());\r\n };\r\n\r\n public static todayWithOutTimeZone = (): Date => {\r\n const date = moment().format('YYYY-MM-DD') + ' 00:00:01'.toString();\r\n return DateUtilities.parseISOWithoutTimeZone(date) ?? new Date();\r\n };\r\n\r\n public static dateWithoutTime(dateTime: Date | null): Date | null {\r\n dateTime?.setHours(0,0,0,0);\r\n return dateTime;\r\n }\r\n\r\n public static getDateWithDayDelta(date: Date, daysDelta: number): Date {\r\n date.setDate(date.getDate() + daysDelta);\r\n return date;\r\n }\r\n\r\n public static getTodayWithDayDelta(daysDelta: number): Date {\r\n const dateTime = new Date();\r\n return DateUtilities.getDateWithDayDelta(dateTime, daysDelta);\r\n }\r\n\r\n public static getDateTimeDiffInSec(dateStart: Date | null, dateEnd: Date | null): number | null {\r\n if (dateStart == null || dateEnd == null) return null;\r\n var start = new Date(dateStart),\r\n end = new Date(dateEnd),\r\n diff = Math.abs(Math.round((end.getTime() - start.getTime())/1000)); \r\n return diff;\r\n } \r\n\r\n public static getSecSinceMidnight(dateTime: Date): number | null {\r\n var midnight = this.dateWithoutTime(new Date(dateTime));\r\n return (moment(dateTime).unix() - moment(midnight).unix()); \r\n } \r\n\r\n public static dateIsInPast(date: Date | Moment) {\r\n return new Date(date.toString()) < new Date();\r\n }\r\n\r\n public static dateIsToday(date: Date | Moment | undefined): boolean {\r\n if (date === undefined) return false;\r\n return moment().isSame(date, 'day');\r\n }\r\n\r\n public static isoWeekDay = (date?: Date | Moment): number | undefined => {\r\n if (date) return moment(date).isoWeekday();\r\n return undefined;\r\n };\r\n\r\n public static toFormat(date: Date, fromatString: string): string {\r\n return moment(date).format(fromatString);\r\n }\r\n\r\n /**\r\n * Filter, which goes through all properties (on level 1) and converts some typescript specific\r\n * classes to value type/string type fields so they can be sent through API\r\n * @param data\r\n * @returns {any} - object with same props as entry parameter but with normalized data\r\n */\r\n public static tryConvertAllMomentsToDates(data: any): any {\r\n try {\r\n if (!data) {\r\n return data;\r\n }\r\n\r\n const prepared = {};\r\n\r\n if (data instanceof Object) {\r\n var objectKeys = Object.keys(data);\r\n for (let key in data) {\r\n if (key in data && objectKeys.indexOf(key) >= 0) {\r\n if (!data[key]) continue;\r\n // Convert moment to Date\r\n if (moment.isMoment(data[key])) {\r\n prepared[key] = data[key].toDate();\r\n continue;\r\n }\r\n if (Array.isArray(data[key]) && data[key]) {\r\n prepared[key] = data[key].join(',');\r\n continue;\r\n }\r\n // Other cases\r\n prepared[key] = data[key];\r\n }\r\n }\r\n }\r\n\r\n return prepared;\r\n } catch (exception) {\r\n console.error('Failed to normalize data. Still proceeding...', exception);\r\n return data;\r\n }\r\n }\r\n}\r\n","import React from 'react';\r\n\r\nexport default class FlagComponent extends React.Component<{\r\n flag: string;\r\n}> {\r\n render() {\r\n const { flag } = this.props;\r\n try {\r\n return (\r\n \r\n );\r\n } catch (error) {\r\n return {flag};\r\n }\r\n }\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\n\r\nimport { ErrorWrapper } from 'store/base';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { InvitationApi } from 'api/Invitation.api';\r\nimport { InvitationRequestViewModel } from 'viewModels/common/InvitationRequestViewModel';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TENANT/USER/INVITATION/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nconst inviteNewUserAsync =\r\n (formValues: InvitationRequestViewModel, tenant: string) => async (dispatch) => {\r\n let result: boolean = false;\r\n\r\n async function mainAction(): Promise {\r\n dispatch(asyncActions.started({}));\r\n if (formValues.role === 'Administrator') {\r\n result = await InvitationApi.inviteTenantAdmin(formValues, tenant);\r\n } else if (formValues.role === 'User') {\r\n result = await InvitationApi.inviteTenantUser(formValues, tenant);\r\n } else {\r\n result = await InvitationApi.inviteTenantDriver(formValues, tenant);\r\n }\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n toastr.success('Success', 'User invited successfully');\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n toastr.error('Error', 'User not invited');\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return result;\r\n };\r\n\r\nexport default inviteNewUserAsync;\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { asyncActions as createStartActions } from './New/actions/Tenant.create.start.action';\r\nimport { asyncActions as createSubmitActions } from './New/actions/Tenant.create.submit.action';\r\nimport { asyncActions as editStartActions } from './Edit/actions/Tenant.edit.start.action';\r\nimport { asyncActions as editSubmitActions } from './Edit/actions/Tenant.edit.submit.action';\r\nimport { asyncActions as getUsersActions } from './Edit/actions/Tenant.User.get-users.action';\r\nimport { asyncActions as getUserTenantsActions } from './Edit/actions/Tenant.username.exists.action';\r\nimport { asyncActions as addExistingUserActions } from './Edit/actions/Tenant.add.existing.user.action';\r\nimport { asyncActions as invioteUserSubmitActions } from 'shared/actions/invitation/User.invitation.submit.action';\r\nimport { createCancel } from './New/actions';\r\nimport { editCancel } from './Edit/actions';\r\nimport { ErrorWrapper, TableData } from 'store/base';\r\nimport UsersResponseViewModel from 'viewModels/user/UsersResponseViewModel';\r\nimport UserAccountViewModel from 'viewModels/user/UserAccountViewModel';\r\n\r\nexport const REDUCER_KEY__TENANT = 'tenant';\r\n\r\nexport class TenantState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n errorWrapperUser?: ErrorWrapper;\r\n tenantId?: number;\r\n loading: boolean;\r\n tenantUserId: number;\r\n usersTableData: TableData;\r\n usersPagination: { total: number; current: number; pageSize: number };\r\n loadingUsers: boolean;\r\n loadingUser: boolean;\r\n existingUser?: UserAccountViewModel;\r\n}\r\n\r\nconst defaultState: TenantState = {\r\n loading: false,\r\n usersPagination: { total: 0, current: 0, pageSize: 50 },\r\n usersTableData: TableData.getDefault(),\r\n tenantUserId: 0,\r\n loadingUser: false,\r\n loadingUsers: false,\r\n existingUser: undefined,\r\n};\r\nexport default (state: TenantState = defaultState, action: Action): TenantState => {\r\n // Create actions\r\n if (isType(action, createCancel)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, createStartActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, createStartActions.done)) {\r\n return { type: action.type, ...defaultState };\r\n }\r\n if (isType(action, createStartActions.failed)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, createSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, createSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, createSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n // Edit actions\r\n if (isType(action, editCancel)) {\r\n return { ...state, type: action.type, loading: false, tenantId: undefined };\r\n }\r\n if (isType(action, editStartActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editStartActions.done)) {\r\n return { type: action.type, tenantId: action.payload.result.tenantId, ...defaultState };\r\n }\r\n if (isType(action, editStartActions.failed)) {\r\n return { ...state, type: action.type, loading: false, errorWrapper: action.payload.error };\r\n }\r\n if (isType(action, editSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, editSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n /** USERS **/\r\n\r\n if (isType(action, getUsersActions.started)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loadingUsers: true,\r\n usersTableData: TableData.getDefault(),\r\n };\r\n }\r\n\r\n if (isType(action, getUsersActions.done)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loadingUsers: false,\r\n usersTableData: action.payload.result.tableData,\r\n };\r\n }\r\n\r\n if (isType(action, getUsersActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loadingUsers: false };\r\n }\r\n\r\n /* find user exists*/\r\n if (isType(action, getUserTenantsActions.started)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loadingUser: true,\r\n errorWrapperUser: undefined,\r\n existingUser: undefined,\r\n };\r\n }\r\n if (isType(action, getUserTenantsActions.done)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loadingUser: false,\r\n existingUser: action.payload.result.existingUser,\r\n };\r\n }\r\n if (isType(action, getUserTenantsActions.failed)) {\r\n return { ...state, type: action.type, loadingUser: false, existingUser: undefined };\r\n }\r\n\r\n /* add Existing User Actions */\r\n if (isType(action, addExistingUserActions.started)) {\r\n return { ...state, type: action.type, loadingUser: true, errorWrapperUser: undefined };\r\n }\r\n if (isType(action, addExistingUserActions.done)) {\r\n return { ...state, type: action.type, loadingUser: false, existingUser: undefined };\r\n }\r\n if (isType(action, addExistingUserActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loadingUser: false,\r\n errorWrapperUser: action.payload.error,\r\n };\r\n }\r\n\r\n /* invite users Actions */\r\n if (isType(action, invioteUserSubmitActions.started)) {\r\n return { ...state, type: action.type, errorWrapperUser: undefined };\r\n }\r\n\r\n if (isType(action, invioteUserSubmitActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loadingUser: false,\r\n errorWrapperUser: action.payload.error,\r\n };\r\n }\r\n\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { asyncActions as createSubmitActions } from './New/actions/Fleet.create.submit.action';\r\nimport { asyncActions as editStartActions } from './Edit/actions/Fleet.edit.start.action';\r\nimport { asyncActions as editSubmitActions } from './Edit/actions/Fleet.edit.submit.action';\r\nimport { ErrorWrapper } from '../../../../../store/base';\r\n\r\nexport const REDUCER_KEY__FLEET = 'fleet';\r\n\r\nexport class FleetState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n errorWrapperUser?: ErrorWrapper;\r\n fleetId?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: FleetState = {\r\n loading: false,\r\n};\r\nexport default (state: FleetState = defaultState, action: Action): FleetState => {\r\n // Create actions\r\n\r\n if (isType(action, createSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, createSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n\r\n if (isType(action, createSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n // Edit actions\r\n if (isType(action, editStartActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editStartActions.done)) {\r\n return { type: action.type, fleetId: action.payload.result.fleetId, ...defaultState };\r\n }\r\n if (isType(action, editStartActions.failed)) {\r\n return { ...state, type: action.type, loading: false, errorWrapper: action.payload.error };\r\n }\r\n if (isType(action, editSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, editSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { asyncActions as createSubmitActions } from './actions/Terminal.create.submit.action';\r\nimport { asyncActions as editStartActions } from './actions/Terminal.edit.start.action';\r\nimport { asyncActions as editSubmitActions } from './actions/Terminal.edit.submit.action';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_KEY__TERMINAL = 'terminal';\r\n\r\nexport class TerminalState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n errorWrapperUser?: ErrorWrapper;\r\n terminalId?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: TerminalState = {\r\n loading: false,\r\n};\r\nexport default (state: TerminalState = defaultState, action: Action): TerminalState => {\r\n // Create actions\r\n\r\n if (isType(action, createSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, createSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n\r\n if (isType(action, createSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n // Edit actions\r\n if (isType(action, editStartActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editStartActions.done)) {\r\n return { type: action.type, terminalId: action.payload.result.terminalId, ...defaultState };\r\n }\r\n if (isType(action, editStartActions.failed)) {\r\n return { ...state, type: action.type, loading: false, errorWrapper: action.payload.error };\r\n }\r\n if (isType(action, editSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, editSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { asyncActions as createSubmitActions } from './actions/Customer.create.submit.action';\r\nimport { asyncActions as editStartActions } from './actions/Customer.edit.start.action';\r\nimport { asyncActions as editSubmitActions } from './actions/Customer.edit.submit.action';\r\nimport { asyncActions as contactSubmitActions } from './actions/Customer.contact.submit.action';\r\nimport { asyncActions as contactInviteActions } from './actions/Customer.contact.invite.action';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_KEY__CUSTOMER = 'customer';\r\n\r\nexport class CustomerState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n errorWrapperUser?: ErrorWrapper;\r\n errorInviteCustomer?: ErrorWrapper;\r\n customerId?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: CustomerState = {\r\n loading: false,\r\n};\r\nexport default (state: CustomerState = defaultState, action: Action): CustomerState => {\r\n // Create actions\r\n\r\n if (isType(action, createSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, createSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n\r\n if (isType(action, createSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n\r\n // Edit actions\r\n if (isType(action, editStartActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editStartActions.done)) {\r\n return { type: action.type, customerId: action.payload.result.customerId, ...defaultState };\r\n }\r\n if (isType(action, editStartActions.failed)) {\r\n return { ...state, type: action.type, loading: false, errorWrapper: action.payload.error };\r\n }\r\n // Edit actions\r\n if (isType(action, editSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, editSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n // Contact submit actions\r\n if (isType(action, contactSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true, errorWrapperUser: undefined };\r\n }\r\n if (isType(action, contactSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, contactSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapperUser: action.payload.error, loading: false };\r\n }\r\n\r\n // Contact invite actions\r\n if (isType(action, contactInviteActions.started)) {\r\n return { ...state, type: action.type, loading: true, errorInviteCustomer: undefined };\r\n }\r\n if (isType(action, contactInviteActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, contactInviteActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n errorInviteCustomer: action.payload.error,\r\n loading: false,\r\n };\r\n }\r\n\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { asyncActions as editSubmitActions } from './actions/Partner.submit.action';\r\nimport { asyncActions as contactSubmitActions } from './actions/Partner.contact.submit.action';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_KEY__PARTNER = 'partner';\r\n\r\nexport class PartnerState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n errorWrapperContact?: ErrorWrapper;\r\n partnerId?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: PartnerState = {\r\n loading: false,\r\n};\r\nexport default (state: PartnerState = defaultState, action: Action): PartnerState => {\r\n // Edit actions\r\n if (isType(action, editSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true };\r\n }\r\n if (isType(action, editSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, editSubmitActions.failed)) {\r\n return { ...state, type: action.type, errorWrapper: action.payload.error, loading: false };\r\n }\r\n // Contact submit actions\r\n if (isType(action, contactSubmitActions.started)) {\r\n return { ...state, type: action.type, loading: true, errorWrapperContact: undefined };\r\n }\r\n if (isType(action, contactSubmitActions.done)) {\r\n return { ...state, type: action.type, loading: false };\r\n }\r\n if (isType(action, contactSubmitActions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n errorWrapperContact: action.payload.error,\r\n loading: false,\r\n };\r\n }\r\n\r\n return state;\r\n};\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { Dispatch } from 'redux';\r\nimport { InvitationApi } from 'api/Invitation.api';\r\nimport { InvitationRequestViewModel } from 'viewModels/common/InvitationRequestViewModel';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\n\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>('APP/INVITATION/START');\r\n\r\nexport default function startInvitation(token: string, email: string) {\r\n let result: InvitationRequestViewModel = new InvitationRequestViewModel();\r\n\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n email = encodeURI(email);\r\n const data = await InvitationApi.getActiveInvitation(token, email);\r\n\r\n if (!data) {\r\n throw new NotFoundErrorWrapper(`Item not found`);\r\n }\r\n result = data;\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return result;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { InvitationSubmitRequestViewModel } from '../viewModels/InvitationSubmitRequestViewModel';\r\nimport { Dispatch } from 'redux';\r\nimport { InvitationApi } from 'api/Invitation.api';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>('APP/INVITATION/SUBMIT');\r\n\r\nexport default function submitInvitation(formValues: InvitationSubmitRequestViewModel) {\r\n let result: boolean = false;\r\n\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n formValues.email = encodeURI(formValues.email);\r\n const data = await InvitationApi.addUser(formValues);\r\n\r\n if (!data) {\r\n throw new NotFoundErrorWrapper(`Item not found`);\r\n }\r\n result = data;\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return result;\r\n };\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { Dispatch } from 'redux';\r\nimport { SpotRequestApi } from 'api/SpotRequest.api';\r\nimport SpotRequestPriceOfferViewModel from 'viewModels/spotRequest/SpotRequestPriceOfferViewModel';\r\nimport SpotRequestUtilities from 'helpers/ModelUtilities/SpotRequestUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>('APP/SPOT_REQUEST/SUBMIT');\r\n\r\nexport default function submitSpotRequest(\r\n token: string,\r\n formValues: SpotRequestPriceOfferViewModel,\r\n) {\r\n let result: boolean = false;\r\n\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n SpotRequestUtilities.formatOfferFormValuesNumbers(formValues);\r\n const data = await SpotRequestApi.submitOfferPricesForm(token, formValues);\r\n\r\n if (!data) {\r\n throw new NotFoundErrorWrapper(`Item not found`);\r\n }\r\n result = data;\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return result;\r\n };\r\n}\r\n","import { Moment } from 'moment';\r\nimport { ShipmentPackageViewModel } from 'App/routes/Tenant/Shipment/ViewModels/ShipmentResponseViewModel';\r\nimport { AddressViewModel } from '../common/AddressViewModel';\r\nimport { SpotRequestPriceOfferPriceViewModel } from './SpotRequestPriceOfferViewModel';\r\n\r\nexport default class SpotRequestPublicViewModel {\r\n number: string;\r\n tenantName: string;\r\n partner: string;\r\n partnerContact: string;\r\n contactPerson: string;\r\n contactPersonPhone: string;\r\n comment: string;\r\n status: string;\r\n shipments: SpotRequestShipmentViewModel[];\r\n validUntil?: Date | Moment;\r\n totalLdm?: number;\r\n totalWeight?: number;\r\n totalVolume?: number;\r\n canAddOffer: boolean;\r\n isExpired: boolean;\r\n prices: SpotRequestPriceOfferPriceViewModel[];\r\n contactPersonEmail: string;\r\n}\r\n\r\nexport class SpotRequestShipmentViewModel {\r\n pickUpDate?: Date | Moment;\r\n pickUpTime: string | null;\r\n pickUpTimeTo: string | null;\r\n latestPickUpDate?: Date | Moment;\r\n latestPickUpTime: string | null;\r\n latestPickUpTimeTo: string | null;\r\n deliveryDate?: Date | Moment;\r\n deliveryTime: string | null;\r\n deliveryTimeTo: string | null;\r\n latestDeliveryDate?: Date | Moment;\r\n latestDeliveryTime: string | null;\r\n latestDeliveryTimeTo: string | null;\r\n totalWeight: number | string;\r\n totalQuantity: number | string;\r\n totalVolume: number | string;\r\n ldmCorrection: number | null;\r\n collection: AddressViewModel;\r\n delivery: AddressViewModel;\r\n collectionTailLiftTruck: boolean;\r\n deliveryTailLiftTruck: boolean;\r\n packages: ShipmentPackageViewModel[];\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { Dispatch } from 'redux';\r\nimport { SpotRequestApi } from 'api/SpotRequest.api';\r\nimport SpotRequestPublicViewModel from 'viewModels/spotRequest/SpotRequestPublicViewModel';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\n\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>('APP/SPOT_REQUEST/START');\r\n\r\nexport default function startSpotRequest(token: string, saveOpenedTime: boolean) {\r\n let result: SpotRequestPublicViewModel = new SpotRequestPublicViewModel();\r\n\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n\r\n const data = await SpotRequestApi.getActiveRequest(token, saveOpenedTime);\r\n\r\n if (!data) {\r\n throw new NotFoundErrorWrapper(`Item not found`);\r\n }\r\n result = data;\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return result;\r\n };\r\n}\r\n","export class PublicInvoiceViewModel {\r\n tenantName: string;\r\n number: string;\r\n date?: Date;\r\n shipments: InvoicePublicAccessShipmentViewModel[];\r\n}\r\n\r\nexport type InvoicePublicAccessShipmentViewModel = {\r\n id: string;\r\n number: string;\r\n pickupCountry: string;\r\n deliveryCountry: string;\r\n pickupPostalCode: string;\r\n deliveryPostalCode: string;\r\n pods: InvoicePublicAccessPodViewModel[];\r\n};\r\n\r\nexport type InvoicePublicAccessPodViewModel = {\r\n fileName: string;\r\n id: string;\r\n};\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { Dispatch } from 'redux';\r\nimport { PublicApi } from 'api/Public.api';\r\nimport { PublicInvoiceViewModel } from 'viewModels/public/PublicInvoiceViewModel';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\n\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>('APP/PUBLIC_INVOICE/START');\r\n\r\nexport default function fetchPublicInvoiceRequest(tenantCode: string, invoiceId: string) {\r\n let result: PublicInvoiceViewModel = new PublicInvoiceViewModel();\r\n\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n\r\n const data = await PublicApi.getInvoiceInfo(tenantCode, invoiceId);\r\n\r\n if (!data) {\r\n throw new NotFoundErrorWrapper(`Item not found`);\r\n }\r\n result = data;\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n dispatch(asyncActions.started({}));\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return result;\r\n };\r\n}\r\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAACi0lEQVRYCe2YS2sUQRDHaxIfwcdBDBjjQQ3qxUtQEfTi4k1EiahX8SPoxbPfQAN+BNFDxNyjYE5eJD7AiwR2PSiICcnBEEkCjr/CnHbn0dvVOzNgD//fFttTVV3VvdO7iUi84grEFfgvViAJ3WWaprvJeRtuwCQcANUqLx9gFl4kSbKBbaZo4hZ00vKrjcvNxnVBUcMwDf3qEQHDjWmIYp6Ar6Yb0QjVT4FFfwi+VmszFDACndR+tUmhh4R3P0Pekf8CpzDHxH4dJ8V18FaIRrwn7wrURekacn9rbeSs+1SlnqZc1kbGSstzdxh3d+31THqH3Ed4QFN373JPvu2967HuSMhGTLmsjSyXr7Ozx5KzZ4ajtZHvGTl9h775BmqctZFXmiQQc5Y81kZeWibvig2Zqyu1w1tOrlmwasZhqsG60MEJWAVfrRA4MdgqHbNTyFXYhH6lMVccp6nGjQ5asASu+onjpWqq63MWChsF/UvxNzZPeu8xNw/2mb7Q3fsnQVFWitzD/ctwDiZA1eblHbzhp8g6NiquQFyBCldgUA/7Lno4CfthH6jWePkFizzsm9igCtIIp5SeTC0RaYnIGTgFOyFLWwx+gfcwLyLzNNbB1iOKH4P78BGsWiDBPThUWTdMdgGewQaEluZ8StLzA2uI5BfhLVSl10ykH9MwPZFsBzyELahaOucDJrU9yyTQf4nOYevWDAXkHR7lO0awJsA0Qs+LKs7dMkrXz+dCUXAN9yY5qj9lzTuUNbg9Nr5tm2SO5BVTtCOjBH0Vkb3QBK1RxFF2ZAXbo9wdIWAZ77sisg51S2u4Q02ZTWhxuTuiNxWelcPY01CnPtPEjzoLiHPHFYgrEFcg7Ar8Be2gfjAdrkvcAAAAAElFTkSuQmCC\"","module.exports = \"data:image/jpeg;base64,/9j/4QAYRXhpZg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ToKkYspsVZDcPoJvp69E0r9mJFZ4rl6v1KdTXor+d/u/x4YoNJH3vU+sfXX/AE/Dlw5fDAIC26lBp+aufjXn/DwwAOk6+g9ThTP+ateVfPDGKDX0300rlTw1U8+dMMAG/DTVo1c/+rLAASTqev5NWodTT8/Hz5fDAAUa6R9T+3U1+Nc+OAQo3/dpp4CtOFMuP2YBhTqqdNa/i+HOmACNj6H67L9d1PpuqOt0NPU6eVdGrKunhg0Ez3B7d/sL9obd+zNP6FQ6NX9/rZdX6nV6utX5q/Zli0oLj+ZT8PSp9uEM/9k=\"","import * as React from 'react';\r\nimport clsx from 'clsx';\r\n\r\ninterface Props {\r\n isLoading: boolean;\r\n centered?: boolean;\r\n showOverlayType?: string | 'white-overlay';\r\n error?: any;\r\n}\r\n\r\nclass LoadingComponent extends React.Component {\r\n render() {\r\n const { isLoading, error, centered } = this.props;\r\n if (isLoading) {\r\n return (\r\n \r\n \r\n Loading...\r\n
    \r\n
    \r\n );\r\n } else if (error) {\r\n return
    Sorry, there was a problem loading the page.
    ;\r\n } else {\r\n return null;\r\n }\r\n }\r\n}\r\n\r\nexport default LoadingComponent;\r\n","import LocaleUtilities from 'helpers/LocaleUtilities';\r\nimport etCountries from 'seed/et_countries.json';\r\n\r\nexport class CountryOption {\r\n label: string = '';\r\n value: string = '';\r\n}\r\n\r\nconst getCountries = (): Array => {\r\n const locale = LocaleUtilities.getCurrentLanguage();\r\n if (locale === 'Estonian') {\r\n return etCountries.map((item) => {\r\n return { label: item.value, value: item.code };\r\n });\r\n }\r\n return countries_en;\r\n};\r\n\r\nconst countries_en: Array = [\r\n { label: 'Afghanistan', value: 'AF' },\r\n { label: 'Ã…land Islands', value: 'AX' },\r\n { label: 'Albania', value: 'AL' },\r\n { label: 'Algeria', value: 'DZ' },\r\n { label: 'American Samoa', value: 'AS' },\r\n { label: 'AndorrA', value: 'AD' },\r\n { label: 'Angola', value: 'AO' },\r\n { label: 'Anguilla', value: 'AI' },\r\n { label: 'Antarctica', value: 'AQ' },\r\n { label: 'Antigua and Barbuda', value: 'AG' },\r\n { label: 'Argentina', value: 'AR' },\r\n { label: 'Armenia', value: 'AM' },\r\n { label: 'Aruba', value: 'AW' },\r\n { label: 'Australia', value: 'AU' },\r\n { label: 'Austria', value: 'AT' },\r\n { label: 'Azerbaijan', value: 'AZ' },\r\n { label: 'Bahamas', value: 'BS' },\r\n { label: 'Bahrain', value: 'BH' },\r\n { label: 'Bangladesh', value: 'BD' },\r\n { label: 'Barbados', value: 'BB' },\r\n { label: 'Belarus', value: 'BY' },\r\n { label: 'Belgium', value: 'BE' },\r\n { label: 'Belize', value: 'BZ' },\r\n { label: 'Benin', value: 'BJ' },\r\n { label: 'Bermuda', value: 'BM' },\r\n { label: 'Bhutan', value: 'BT' },\r\n { label: 'Bolivia', value: 'BO' },\r\n { label: 'Bosnia and Herzegovina', value: 'BA' },\r\n { label: 'Botswana', value: 'BW' },\r\n { label: 'Bouvet Island', value: 'BV' },\r\n { label: 'Brazil', value: 'BR' },\r\n { label: 'British Indian Ocean Territory', value: 'IO' },\r\n { label: 'Brunei Darussalam', value: 'BN' },\r\n { label: 'Bulgaria', value: 'BG' },\r\n { label: 'Burkina Faso', value: 'BF' },\r\n { label: 'Burundi', value: 'BI' },\r\n { label: 'Cambodia', value: 'KH' },\r\n { label: 'Cameroon', value: 'CM' },\r\n { label: 'Canada', value: 'CA' },\r\n { label: 'Cape Verde', value: 'CV' },\r\n { label: 'Cayman Islands', value: 'KY' },\r\n { label: 'Central African Republic', value: 'CF' },\r\n { label: 'Chad', value: 'TD' },\r\n { label: 'Chile', value: 'CL' },\r\n { label: 'China', value: 'CN' },\r\n { label: 'Christmas Island', value: 'CX' },\r\n { label: 'Cocos (Keeling) Islands', value: 'CC' },\r\n { label: 'Colombia', value: 'CO' },\r\n { label: 'Comoros', value: 'KM' },\r\n { label: 'Congo', value: 'CG' },\r\n { label: 'Congo, The Democratic Republic of the', value: 'CD' },\r\n { label: 'Cook Islands', value: 'CK' },\r\n { label: 'Costa Rica', value: 'CR' },\r\n { label: \"Cote D'Ivoire\", value: 'CI' },\r\n { label: 'Croatia', value: 'HR' },\r\n { label: 'Cuba', value: 'CU' },\r\n { label: 'Cyprus', value: 'CY' },\r\n { label: 'Czech Republic', value: 'CZ' },\r\n { label: 'Denmark', value: 'DK' },\r\n { label: 'Djibouti', value: 'DJ' },\r\n { label: 'Dominica', value: 'DM' },\r\n { label: 'Dominican Republic', value: 'DO' },\r\n { label: 'Ecuador', value: 'EC' },\r\n { label: 'Egypt', value: 'EG' },\r\n { label: 'El Salvador', value: 'SV' },\r\n { label: 'Equatorial Guinea', value: 'GQ' },\r\n { label: 'Eritrea', value: 'ER' },\r\n { label: 'Estonia', value: 'EE' },\r\n { label: 'Ethiopia', value: 'ET' },\r\n { label: 'Falkland Islands (Malvinas)', value: 'FK' },\r\n { label: 'Faroe Islands', value: 'FO' },\r\n { label: 'Fiji', value: 'FJ' },\r\n { label: 'Finland', value: 'FI' },\r\n { label: 'France', value: 'FR' },\r\n { label: 'French Guiana', value: 'GF' },\r\n { label: 'French Polynesia', value: 'PF' },\r\n { label: 'French Southern Territories', value: 'TF' },\r\n { label: 'Gabon', value: 'GA' },\r\n { label: 'Gambia', value: 'GM' },\r\n { label: 'Georgia', value: 'GE' },\r\n { label: 'Germany', value: 'DE' },\r\n { label: 'Ghana', value: 'GH' },\r\n { label: 'Gibraltar', value: 'GI' },\r\n { label: 'Greece', value: 'GR' },\r\n { label: 'Greenland', value: 'GL' },\r\n { label: 'Grenada', value: 'GD' },\r\n { label: 'Guadeloupe', value: 'GP' },\r\n { label: 'Guam', value: 'GU' },\r\n { label: 'Guatemala', value: 'GT' },\r\n { label: 'Guernsey', value: 'GG' },\r\n { label: 'Guinea', value: 'GN' },\r\n { label: 'Guinea-Bissau', value: 'GW' },\r\n { label: 'Guyana', value: 'GY' },\r\n { label: 'Haiti', value: 'HT' },\r\n { label: 'Heard Island and Mcdonald Islands', value: 'HM' },\r\n { label: 'Holy See (Vatican City State)', value: 'VA' },\r\n { label: 'Honduras', value: 'HN' },\r\n { label: 'Hong Kong', value: 'HK' },\r\n { label: 'Hungary', value: 'HU' },\r\n { label: 'Iceland', value: 'IS' },\r\n { label: 'India', value: 'IN' },\r\n { label: 'Indonesia', value: 'ID' },\r\n { label: 'Iran, Islamic Republic Of', value: 'IR' },\r\n { label: 'Iraq', value: 'IQ' },\r\n { label: 'Ireland', value: 'IE' },\r\n { label: 'Isle of Man', value: 'IM' },\r\n { label: 'Israel', value: 'IL' },\r\n { label: 'Italy', value: 'IT' },\r\n { label: 'Jamaica', value: 'JM' },\r\n { label: 'Japan', value: 'JP' },\r\n { label: 'Jersey', value: 'JE' },\r\n { label: 'Jordan', value: 'JO' },\r\n { label: 'Kazakhstan', value: 'KZ' },\r\n { label: 'Kenya', value: 'KE' },\r\n { label: 'Kiribati', value: 'KI' },\r\n { label: \"Korea, Democratic People'S Republic of\", value: 'KP' },\r\n { label: 'Korea, Republic of', value: 'KR' },\r\n { label: 'Kosovo', value: 'XK' },\r\n { label: 'Kuwait', value: 'KW' },\r\n { label: 'Kyrgyzstan', value: 'KG' },\r\n { label: \"Lao People'S Democratic Republic\", value: 'LA' },\r\n { label: 'Latvia', value: 'LV' },\r\n { label: 'Lebanon', value: 'LB' },\r\n { label: 'Lesotho', value: 'LS' },\r\n { label: 'Liberia', value: 'LR' },\r\n { label: 'Libyan Arab Jamahiriya', value: 'LY' },\r\n { label: 'Liechtenstein', value: 'LI' },\r\n { label: 'Lithuania', value: 'LT' },\r\n { label: 'Luxembourg', value: 'LU' },\r\n { label: 'Macao', value: 'MO' },\r\n { label: 'Macedonia, The Former Yugoslav Republic of', value: 'MK' },\r\n { label: 'Madagascar', value: 'MG' },\r\n { label: 'Malawi', value: 'MW' },\r\n { label: 'Malaysia', value: 'MY' },\r\n { label: 'Maldives', value: 'MV' },\r\n { label: 'Mali', value: 'ML' },\r\n { label: 'Malta', value: 'MT' },\r\n { label: 'Marshall Islands', value: 'MH' },\r\n { label: 'Martinique', value: 'MQ' },\r\n { label: 'Mauritania', value: 'MR' },\r\n { label: 'Mauritius', value: 'MU' },\r\n { label: 'Mayotte', value: 'YT' },\r\n { label: 'Mexico', value: 'MX' },\r\n { label: 'Micronesia, Federated States of', value: 'FM' },\r\n { label: 'Moldova, Republic of', value: 'MD' },\r\n { label: 'Monaco', value: 'MC' },\r\n { label: 'Mongolia', value: 'MN' },\r\n { label: 'Montserrat', value: 'MS' },\r\n { label: 'Morocco', value: 'MA' },\r\n { label: 'Mozambique', value: 'MZ' },\r\n { label: 'Myanmar', value: 'MM' },\r\n { label: 'Namibia', value: 'NA' },\r\n { label: 'Nauru', value: 'NR' },\r\n { label: 'Nepal', value: 'NP' },\r\n { label: 'Netherlands', value: 'NL' },\r\n { label: 'Netherlands Antilles', value: 'AN' },\r\n { label: 'New Caledonia', value: 'NC' },\r\n { label: 'New Zealand', value: 'NZ' },\r\n { label: 'Nicaragua', value: 'NI' },\r\n { label: 'Niger', value: 'NE' },\r\n { label: 'Nigeria', value: 'NG' },\r\n { label: 'Niue', value: 'NU' },\r\n { label: 'Norfolk Island', value: 'NF' },\r\n { label: 'Northern Mariana Islands', value: 'MP' },\r\n { label: 'Norway', value: 'NO' },\r\n { label: 'Oman', value: 'OM' },\r\n { label: 'Pakistan', value: 'PK' },\r\n { label: 'Palau', value: 'PW' },\r\n { label: 'Palestinian Territory, Occupied', value: 'PS' },\r\n { label: 'Panama', value: 'PA' },\r\n { label: 'Papua New Guinea', value: 'PG' },\r\n { label: 'Paraguay', value: 'PY' },\r\n { label: 'Peru', value: 'PE' },\r\n { label: 'Philippines', value: 'PH' },\r\n { label: 'Pitcairn', value: 'PN' },\r\n { label: 'Poland', value: 'PL' },\r\n { label: 'Portugal', value: 'PT' },\r\n { label: 'Puerto Rico', value: 'PR' },\r\n { label: 'Qatar', value: 'QA' },\r\n { label: 'Reunion', value: 'RE' },\r\n { label: 'Romania', value: 'RO' },\r\n { label: 'Russian Federation', value: 'RU' },\r\n { label: 'RWANDA', value: 'RW' },\r\n { label: 'Saint Helena', value: 'SH' },\r\n { label: 'Saint Kitts and Nevis', value: 'KN' },\r\n { label: 'Saint Lucia', value: 'LC' },\r\n { label: 'Saint Pierre and Miquelon', value: 'PM' },\r\n { label: 'Saint Vincent and the Grenadines', value: 'VC' },\r\n { label: 'Samoa', value: 'WS' },\r\n { label: 'San Marino', value: 'SM' },\r\n { label: 'Sao Tome and Principe', value: 'ST' },\r\n { label: 'Saudi Arabia', value: 'SA' },\r\n { label: 'Senegal', value: 'SN' },\r\n { label: 'Serbia and Montenegro', value: 'CS' },\r\n { label: 'Seychelles', value: 'SC' },\r\n { label: 'Sierra Leone', value: 'SL' },\r\n { label: 'Singapore', value: 'SG' },\r\n { label: 'Slovakia', value: 'SK' },\r\n { label: 'Slovenia', value: 'SI' },\r\n { label: 'Solomon Islands', value: 'SB' },\r\n { label: 'Somalia', value: 'SO' },\r\n { label: 'South Africa', value: 'ZA' },\r\n { label: 'South Georgia and the South Sandwich Islands', value: 'GS' },\r\n { label: 'Spain', value: 'ES' },\r\n { label: 'Sri Lanka', value: 'LK' },\r\n { label: 'Sudan', value: 'SD' },\r\n { label: 'Suriname', value: 'SR' },\r\n { label: 'Svalbard and Jan Mayen', value: 'SJ' },\r\n { label: 'Swaziland', value: 'SZ' },\r\n { label: 'Sweden', value: 'SE' },\r\n { label: 'Switzerland', value: 'CH' },\r\n { label: 'Syrian Arab Republic', value: 'SY' },\r\n { label: 'Taiwan, Province of China', value: 'TW' },\r\n { label: 'Tajikistan', value: 'TJ' },\r\n { label: 'Tanzania, United Republic of', value: 'TZ' },\r\n { label: 'Thailand', value: 'TH' },\r\n { label: 'Timor-Leste', value: 'TL' },\r\n { label: 'Togo', value: 'TG' },\r\n { label: 'Tokelau', value: 'TK' },\r\n { label: 'Tonga', value: 'TO' },\r\n { label: 'Trinidad and Tobago', value: 'TT' },\r\n { label: 'Tunisia', value: 'TN' },\r\n { label: 'Turkey', value: 'TR' },\r\n { label: 'Turkmenistan', value: 'TM' },\r\n { label: 'Turks and Caicos Islands', value: 'TC' },\r\n { label: 'Tuvalu', value: 'TV' },\r\n { label: 'Uganda', value: 'UG' },\r\n { label: 'Ukraine', value: 'UA' },\r\n { label: 'United Arab Emirates', value: 'AE' },\r\n { label: 'United Kingdom', value: 'GB' },\r\n { label: 'United States', value: 'US' },\r\n { label: 'United States Minor Outlying Islands', value: 'UM' },\r\n { label: 'Uruguay', value: 'UY' },\r\n { label: 'Uzbekistan', value: 'UZ' },\r\n { label: 'Vanuatu', value: 'VU' },\r\n { label: 'Venezuela', value: 'VE' },\r\n { label: 'Viet Nam', value: 'VN' },\r\n { label: 'Virgin Islands, British', value: 'VG' },\r\n { label: 'Virgin Islands, U.S.', value: 'VI' },\r\n { label: 'Wallis and Futuna', value: 'WF' },\r\n { label: 'Western Sahara', value: 'EH' },\r\n { label: 'Yemen', value: 'YE' },\r\n { label: 'Zambia', value: 'ZM' },\r\n { label: 'Zimbabwe', value: 'ZW' },\r\n];\r\n\r\nexport default getCountries;\r\n","import { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport { SimpleRequest } from 'viewModels/common/SimpleRequest';\r\nimport { SelectComponentValue } from 'viewModels/common/SelectComponentValue';\r\nimport { PackageTypesResponseViewModel } from 'App/routes/Tenant/Settings/PackageType/viewModels';\r\nimport { PlatformSearchIndexResult } from 'shared/types/PlatformSearchIndexResult';\r\nimport { FleetSelectComponentRequestViewModel } from 'viewModels/common/FleetSelectComponentRequestViewModel';\r\n\r\nfunction getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/selection-controls`;\r\n}\r\n\r\nexport class SelectComponentApi {\r\n public static platformSearchIndex(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/platform-search`, {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getProjects(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/project-select-component-values`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n public static getCustomers(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/customer-select-component-values`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n public static getPartners(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/partner-select-component-values`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n public static getUnits(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/unit-select-component-values`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n public static getVats(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/vat-select-component-values`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n\r\n public static getUnitsFullData(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(`${getRoot()}/units`, {\r\n ...params,\r\n });\r\n }\r\n\r\n public static getInvoices(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/invoice-select-component-values`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n\r\n public static getEmployees(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/employee-select-component-values`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n\r\n public static getFleets(\r\n params: FleetSelectComponentRequestViewModel,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/fleet-select-component-values`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n\r\n public static getTerminals(params: SimpleRequest): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/terminal-select-component-values`,\r\n {\r\n ...params,\r\n },\r\n );\r\n }\r\n}\r\n","import {\r\n ShipmentDraftPricesResponseViewModel,\r\n ShipmentResponseViewModel,\r\n} from 'App/routes/Tenant/Shipment/ViewModels';\r\nimport {\r\n ShipmentPackagesTotalViewModel,\r\n ShipmentPackageViewModel,\r\n} from 'App/routes/Tenant/Shipment/ViewModels/ShipmentResponseViewModel';\r\nimport { NumberUtilities } from '../NumberUtilities';\r\nimport { ShipmentStatus, ShipmentType } from 'store/enums';\r\nimport * as React from 'react';\r\nimport LocaleUtilities from '../LocaleUtilities';\r\nimport StatusProcessingIcon from 'components/Icons/Shipment/StatusProcessingIcon';\r\nimport StatusDraftIcon from 'components/Icons/Shipment/StatusDraftIcon';\r\nimport StatusReceivedIcon from 'components/Icons/Shipment/StatusReceivedIcon';\r\nimport StatusInTransitIcon from 'components/Icons/Shipment/StatusInTransitIcon';\r\nimport StatusDeliveredIcon from 'components/Icons/Shipment/StatusDeliveredIcon';\r\nimport StatusCanceledIcon from 'components/Icons/Shipment/StatusCanceledIcon';\r\nimport { InvoiceDraftRowViewModel } from 'viewModels/invoice/InvoiceDraftRowViewModel';\r\nimport { SelectComponentValue } from 'viewModels/common/SelectComponentValue';\r\nimport { shipmentFilterStatuses } from 'store/constant';\r\nimport Badge from 'reactstrap/lib/Badge';\r\n\r\nexport default class ShipmentUtilities {\r\n public static formatFormValuesNumbers(formValues: ShipmentResponseViewModel): any {\r\n if (!formValues) {\r\n return;\r\n }\r\n formValues.type =\r\n NumberUtilities.tryFormatFloat(formValues.type.toString()) ?? ShipmentType.Sender;\r\n if (formValues.consignor?.alternativeAddress) formValues.useAlternativeLoadingAddress = true;\r\n if (formValues.consignee?.alternativeAddress) formValues.useAlternativeDeliveryAddress = true;\r\n if (formValues.ldmCorrection) {\r\n formValues.ldmCorrection =\r\n NumberUtilities.tryFormatFloat(formValues.ldmCorrection?.toString()) ?? null;\r\n } else {\r\n formValues.ldmCorrection = null;\r\n }\r\n if (formValues.agreedPrice)\r\n formValues.agreedPrice = NumberUtilities.tryFormatFloat(formValues.agreedPrice.toString());\r\n formValues.packages.map((item) => {\r\n item.totalWeight = NumberUtilities.tryFormatFloat(item.totalWeight?.toString()) ?? null;\r\n item.volume = NumberUtilities.tryFormatFloat(item.volume?.toString()) ?? null;\r\n item.value = NumberUtilities.tryFormatFloat(item.value?.toString()) ?? null;\r\n item.height = NumberUtilities.tryFormatFloat(item.height?.toString()) ?? null;\r\n item.width = NumberUtilities.tryFormatFloat(item.width?.toString()) ?? null;\r\n item.length = NumberUtilities.tryFormatFloat(item.length?.toString()) ?? null;\r\n item.ldm = NumberUtilities.tryFormatFloat(item.ldm?.toString()) ?? null;\r\n item.quantity = NumberUtilities.tryFormatFloat(item.quantity?.toString()) ?? null;\r\n item.weight = NumberUtilities.tryFormatFloat(item.weight?.toString()) ?? null;\r\n return true;\r\n });\r\n }\r\n\r\n public static formatInvoiceDraftNumbers(formValues: ShipmentDraftPricesResponseViewModel): any {\r\n if (!formValues) {\r\n return;\r\n }\r\n const format = (values: InvoiceDraftRowViewModel[]) => {\r\n if (!values) return false;\r\n values.map((item) => {\r\n item.quantity = NumberUtilities.tryFormatFloat(item.quantity?.toString()) ?? 0;\r\n item.unitPrice = NumberUtilities.tryFormatFloat(item.unitPrice?.toString()) ?? null; \r\n item.price = NumberUtilities.tryFormatFloat(item.price?.toString()) ?? null;\r\n item.vatRate = NumberUtilities.tryFormatFloat(item.vatRate?.toString()) ?? null;\r\n item.priceType = NumberUtilities.tryFormatInt(item.priceType?.toString()) ?? null;\r\n return true;\r\n });\r\n };\r\n format(formValues.sales);\r\n format(formValues.purchase);\r\n }\r\n\r\n public static calculateTotals(\r\n packages: ShipmentPackageViewModel[],\r\n ): ShipmentPackagesTotalViewModel {\r\n let result = new ShipmentPackagesTotalViewModel();\r\n\r\n result.quantity = packages.reduce(function (acc, val) {\r\n const formattedVal = NumberUtilities.tryFormatFloat(val.quantity?.toString()) ?? 0;\r\n return acc + formattedVal;\r\n }, 0);\r\n result.volume = packages.reduce(function (acc, val) {\r\n const formattedVal = NumberUtilities.tryFormatFloat(val.volume?.toString()) ?? 0;\r\n return acc + formattedVal;\r\n }, 0);\r\n result.ldm = packages.reduce(function (acc, val) {\r\n const formattedVal = NumberUtilities.tryFormatFloat(val.ldm?.toString()) ?? 0;\r\n return acc + formattedVal;\r\n }, 0);\r\n result.weight = packages.reduce(function (acc, val) {\r\n const formattedVal = NumberUtilities.tryFormatFloat(val.totalWeight?.toString()) ?? 0;\r\n return acc + formattedVal;\r\n }, 0);\r\n\r\n return result;\r\n }\r\n\r\n public static getStatusColor(status: string) {\r\n switch (status) {\r\n case ShipmentStatus[ShipmentStatus.Processing]:\r\n return 'info';\r\n case ShipmentStatus[ShipmentStatus.Received]:\r\n return 'secondary';\r\n case ShipmentStatus[ShipmentStatus.InTransit]:\r\n return 'info';\r\n case ShipmentStatus[ShipmentStatus.Delivered]:\r\n return 'success';\r\n case ShipmentStatus[ShipmentStatus.Canceled]:\r\n return 'danger';\r\n case ShipmentStatus[ShipmentStatus.Draft]:\r\n return 'secondary';\r\n\r\n default:\r\n return 'secondary';\r\n }\r\n }\r\n\r\n public static getStatusTranslation(str: string): string {\r\n return LocaleUtilities.i18n(`shipment-status-${ShipmentStatus[str]}`, 'shipment.status', true);\r\n }\r\n\r\n public static getStatusIcon(status: string) {\r\n switch (status) {\r\n case ShipmentStatus[ShipmentStatus.Processing]:\r\n return ;\r\n case ShipmentStatus[ShipmentStatus.Received]:\r\n return ;\r\n case ShipmentStatus[ShipmentStatus.InTransit]:\r\n return ;\r\n case ShipmentStatus[ShipmentStatus.Delivered]:\r\n return ;\r\n case ShipmentStatus[ShipmentStatus.Canceled]:\r\n return ;\r\n case ShipmentStatus[ShipmentStatus.Draft]:\r\n return ;\r\n\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n public static filterStatuses(): SelectComponentValue[] {\r\n const result: SelectComponentValue[] = shipmentFilterStatuses.map((item) => {\r\n return {\r\n label: ShipmentUtilities.getStatusTranslation(ShipmentStatus[item.toString()]),\r\n value: item.toString(),\r\n };\r\n });\r\n return result;\r\n }\r\n\r\n public static statusFormat(status: string): JSX.Element {\r\n if (!status) {\r\n return
    ;\r\n }\r\n const icon = ShipmentUtilities.getStatusIcon(status);\r\n return (\r\n <>\r\n \r\n {LocaleUtilities.i18n(`shipment-status-${status}`, 'shipment.status', true)}\r\n {icon}\r\n \r\n \r\n );\r\n }\r\n\r\n public static amountColumnText(\r\n quantity?: number,\r\n ldm?: number,\r\n totalWeight?: number,\r\n ): JSX.Element {\r\n const quantityText = LocaleUtilities.getCurrentLanguage() === 'Estonian' ? 'tk' : 'pcs';\r\n return (\r\n \r\n {quantity + ' ' + quantityText} / {ldm ? ldm?.toFixed(2) : '-'} LDM
    {' '}\r\n {totalWeight ? totalWeight?.toFixed(1) : '-'} kg\r\n
    \r\n );\r\n }\r\n}\r\n","export const generateKey = (index: any, generatedWord: string): string =>\r\n `${index}_${generatedWord}`;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\n\r\nconst PlusIcon: FC> = ({\r\n width = 21,\r\n height = 20,\r\n fill = '#0A6CBA',\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default PlusIcon;\r\n","import { AddressViewModel } from 'viewModels/common/AddressViewModel';\r\nimport { OpeningHourViewModel } from 'viewModels/common/OpeningHourViewModel';\r\n\r\nexport default class AddressBookItemResponseViewModel {\r\n name: string;\r\n customer: string;\r\n address: AddressViewModel;\r\n isDefault: boolean;\r\n openingHours: OpeningHourViewModel[];\r\n}\r\n","import { PaginatedSearchBaseOptionsResult } from 'store/base';\r\nimport RouterUtilities from 'helpers/RouterUtilities';\r\n\r\nexport default class AddressBookItemsRequestViewModel extends PaginatedSearchBaseOptionsResult {\r\n keyword: string;\r\n customer: string;\r\n public parse(location: Location) {\r\n const obj = RouterUtilities.locationSearchStringParse(location);\r\n if (!obj) {\r\n return;\r\n }\r\n\r\n super.baseParse(obj);\r\n if ('keyword' in obj && typeof obj.keyword === 'string') {\r\n this.keyword = obj.keyword;\r\n }\r\n if ('customer' in obj && typeof obj.customer === 'string') {\r\n this.customer = obj.customer;\r\n }\r\n }\r\n}\r\n","import { AddressContactViewModel } from 'viewModels/common/AddressContactViewModel';\r\n\r\nexport default class AddressBookItemContactListResponseViewModel {\r\n id: number;\r\n isDefault: boolean;\r\n contact: AddressContactViewModel;\r\n}\r\n","import AddressBookItemsResponseViewModel from './AddressBookItemsResponseViewModel';\r\nimport AddressBookItemResponseViewModel from './AddressBookItemResponseViewModel';\r\nimport AddressBookItemsRequestViewModel from './AddressBookItemsRequestViewModel';\r\nimport AddressBookItemContactListResponseViewModel from './AddressBookItemContactListResponseViewModel';\r\n\r\nexport {\r\n AddressBookItemsResponseViewModel,\r\n AddressBookItemResponseViewModel,\r\n AddressBookItemsRequestViewModel,\r\n AddressBookItemContactListResponseViewModel,\r\n};\r\n","import { PaginatedSearchBaseOptionsResult } from 'store/base';\r\nimport RouterUtilities from 'helpers/RouterUtilities';\r\n\r\nexport default class ShipmentsRequestViewModel extends PaginatedSearchBaseOptionsResult {\r\n keyword: string;\r\n number: string;\r\n consignor: string;\r\n pickupPeriod?: string;\r\n pickupDateFrom?: string;\r\n pickupDateTo?: string;\r\n consignee: string;\r\n deliveryPeriod?: string;\r\n deliveryDateFrom?: string;\r\n deliveryDateTo?: string;\r\n statuses: string[];\r\n pickupCountries: string[];\r\n deliveryCountries: string[];\r\n status: string;\r\n projectId: string;\r\n operatorId: string;\r\n withOutProject: boolean;\r\n withOutInvoice: boolean;\r\n customer: string;\r\n excludeIds: string[];\r\n public parse(location: Location) {\r\n const obj = RouterUtilities.locationSearchStringParse(location);\r\n if (!obj) {\r\n return;\r\n }\r\n super.baseParse(obj);\r\n const keys = Object.keys(new ShipmentsRequestViewModel());\r\n for (let i = 0; i < keys.length; i++) {\r\n try {\r\n const classKey = keys[i];\r\n if (classKey in obj && typeof obj[classKey] === 'string') {\r\n this[classKey] = obj[classKey];\r\n }\r\n } catch (e) {}\r\n }\r\n }\r\n}\r\n","import { ShipmentResponseViewModel } from './index';\r\n\r\nexport default class ShipmentDetailResponseViewModel extends ShipmentResponseViewModel {\r\n number?: string;\r\n customer: string;\r\n statusString: string;\r\n salesPrice: number;\r\n purchasePrice: number;\r\n createdBy: string;\r\n createdOn: string;\r\n updatedBy: string;\r\n updatedOn: string;\r\n invoiceId: string;\r\n invoiceNumber: string;\r\n projectName: string;\r\n priceRequestId: string;\r\n priceRequestNumber: string;\r\n}\r\n","import { InvoiceDraftRowViewModel } from 'viewModels/invoice/InvoiceDraftRowViewModel';\r\n\r\nexport default class ShipmentDraftPricesResponseViewModel {\r\n sales: InvoiceDraftRowViewModel[];\r\n purchase: InvoiceDraftRowViewModel[];\r\n\r\n salesInvoiceId: string;\r\n salesInvoiceNumber: string;\r\n}\r\n","import ShipmentsResponseViewModel from './ShipmentsResponseViewModel';\r\nimport ShipmentsRequestViewModel from './ShipmentsRequestViewModel';\r\nimport ShipmentResponseViewModel from './ShipmentResponseViewModel';\r\nimport ShipmentDetailResponseViewModel from './ShipmentDetailResponseViewModel';\r\nimport ShipmentDraftPricesResponseViewModel from './ShipmentDraftPricesResponseViewModel';\r\nimport ShipmentEventViewModel from './ShipmentEventViewModel';\r\n\r\nexport {\r\n ShipmentsResponseViewModel,\r\n ShipmentsRequestViewModel,\r\n ShipmentResponseViewModel,\r\n ShipmentDetailResponseViewModel,\r\n ShipmentDraftPricesResponseViewModel,\r\n ShipmentEventViewModel,\r\n};\r\n","import React from 'react';\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\n\r\nexport default class FlagAndAddressComponent extends React.Component<{\r\n flag: string;\r\n address: string;\r\n tooltipText?: any;\r\n}> {\r\n render() {\r\n const { flag, address } = this.props;\r\n try {\r\n return (\r\n <>\r\n \r\n {this.props.tooltipText !== undefined && this.props.tooltipText.length > 0 ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n )}\r\n \r\n );\r\n } catch (error) {\r\n return {flag};\r\n }\r\n }\r\n}\r\n","export class SelectComponentValue {\r\n constructor(param: { label: string; value: string }) {\r\n this.label = param.label;\r\n this.value = param.value;\r\n }\r\n\r\n label: string = '';\r\n value: string = '';\r\n}\r\n","import { SpotRequestStatus } from 'store/enums';\r\nimport Badge from 'reactstrap/lib/Badge';\r\nimport LocaleUtilities from '../LocaleUtilities';\r\nimport * as React from 'react';\r\nimport SpotRequestPriceOfferViewModel from 'viewModels/spotRequest/SpotRequestPriceOfferViewModel';\r\nimport { NumberUtilities } from '../NumberUtilities';\r\n\r\nexport default class SpotRequestUtilities {\r\n public static formatOfferFormValuesNumbers(formValues: SpotRequestPriceOfferViewModel) {\r\n formValues.prices.map((item) => {\r\n item.price = NumberUtilities.tryFormatFloat(item.price?.toString()) ?? 0;\r\n return true;\r\n });\r\n }\r\n\r\n public static getInvoiceStatusColor(status: string) {\r\n switch (status) {\r\n case SpotRequestStatus[SpotRequestStatus.Rejected]:\r\n return 'danger';\r\n case SpotRequestStatus[SpotRequestStatus.WaitingPrices]:\r\n return 'secondary';\r\n case SpotRequestStatus[SpotRequestStatus.PricesOffered]:\r\n return 'primary';\r\n case SpotRequestStatus[SpotRequestStatus.Approved]:\r\n return 'success';\r\n\r\n default:\r\n return 'secondary';\r\n }\r\n }\r\n\r\n public static statusFormat(status: string): JSX.Element {\r\n if (!status) {\r\n return
    ;\r\n }\r\n return (\r\n <>\r\n \r\n {SpotRequestUtilities.getStatusTranslation(status)}\r\n \r\n \r\n );\r\n }\r\n\r\n public static getStatusTranslation(str: string): string {\r\n return LocaleUtilities.i18n(`spotRequest-status-${str}`, 'priceRequest.status', true);\r\n }\r\n}\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\n\r\nconst MobilePhoneIcon: FC> = ({\r\n width = 16,\r\n height = 20,\r\n fill = '#000000',\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default MobilePhoneIcon;\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\nimport { primaryColor } from 'theme';\r\n\r\nconst StatusInTransitIcon: FC> = ({\r\n width = 38,\r\n height = 38,\r\n fill = primaryColor,\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default StatusInTransitIcon;\r\n","import { NumberUtilities } from '../NumberUtilities';\r\nimport { PartnerResponseViewModel } from 'App/routes/Tenant/Partner/ViewModels';\r\nimport { SelectComponentValue } from '../../viewModels/common/SelectComponentValue';\r\nimport LocaleUtilities from '../LocaleUtilities';\r\nimport AddressBookItemContactListResponseViewModel from 'App/routes/Tenant/AddressBook/ViewModels/AddressBookItemContactListResponseViewModel';\r\n\r\nexport default class PartnerUtilities {\r\n public static formatFormValuesNumbers(formValues: PartnerResponseViewModel): any {\r\n if (!formValues) {\r\n return;\r\n }\r\n if (formValues.address?.lng) formValues.address.lng = formValues.address?.lng.toString();\r\n if (formValues.address?.lat) formValues.address.lat = formValues.address?.lat.toString();\r\n formValues.paymentTerms = NumberUtilities.tryFormatFloat(formValues.paymentTerms?.toString());\r\n }\r\n\r\n public static partnerContactSelectComponents(\r\n partnerContacts: AddressBookItemContactListResponseViewModel[],\r\n ): SelectComponentValue[] {\r\n const contactSelect: SelectComponentValue[] = partnerContacts.map((item) => {\r\n return { value: item.id?.toString() ?? '0', label: item.contact.name };\r\n });\r\n\r\n contactSelect.unshift({\r\n label: LocaleUtilities.i18n('form-Select', 'base.form', true),\r\n value: '',\r\n });\r\n return contactSelect;\r\n }\r\n}\r\n","import { PaginatedSearchBaseOptionsResult } from 'store/base';\r\nimport RouterUtilities from 'helpers/RouterUtilities';\r\n\r\nexport default class PriceRequestsRequestViewModel extends PaginatedSearchBaseOptionsResult {\r\n keyword: string;\r\n number: string;\r\n consignor: string;\r\n operatorId: string;\r\n pickupPeriod?: string;\r\n pickupDateFrom?: string;\r\n pickupDateTo?: string;\r\n consignee: string;\r\n deliveryPeriod?: string;\r\n deliveryDateFrom?: string;\r\n deliveryDateTo?: string;\r\n statuses: string[];\r\n pickupCountries: string[];\r\n deliveryCountries: string[];\r\n status: string;\r\n projectId: string;\r\n customer: string;\r\n\r\n public parse(location: Location) {\r\n const obj = RouterUtilities.locationSearchStringParse(location);\r\n if (!obj) {\r\n return;\r\n }\r\n super.baseParse(obj);\r\n const keys = Object.keys(new PriceRequestsRequestViewModel());\r\n for (let i = 0; i < keys.length; i++) {\r\n try {\r\n const classKey = keys[i];\r\n if (classKey in obj && typeof obj[classKey] === 'string') {\r\n this[classKey] = obj[classKey];\r\n }\r\n } catch (e) {}\r\n }\r\n }\r\n}\r\n","import { PriceRequestResponseViewModel } from './index';\r\nimport PriceRequestOfferedPriceViewModel from './PriceRequestOfferedPriceViewModel';\r\nimport { Moment } from 'moment';\r\n\r\nexport default class PriceRequestDetailResponseViewModel extends PriceRequestResponseViewModel {\r\n number?: string;\r\n customer: string;\r\n statusString: string;\r\n createdBy: string;\r\n createdOn: string;\r\n updatedBy: string;\r\n updatedOn: string;\r\n validUntilDate: Date | Moment;\r\n offeredPrices: PriceRequestOfferedPriceViewModel[];\r\n statusComment: string;\r\n shipmentNumber: string;\r\n shipmentId: string;\r\n selectedOffer: number;\r\n}\r\n","import PriceRequestsResponseViewModel from './PriceRequestsResponseViewModel';\r\nimport PriceRequestsRequestViewModel from './PriceRequestsRequestViewModel';\r\nimport PriceRequestResponseViewModel from './PriceRequestResponseViewModel';\r\nimport PriceRequestDetailResponseViewModel from './PriceRequestDetailResponseViewModel';\r\n\r\nexport {\r\n PriceRequestsResponseViewModel,\r\n PriceRequestsRequestViewModel,\r\n PriceRequestResponseViewModel,\r\n PriceRequestDetailResponseViewModel,\r\n};\r\n","var map = {\n\t\"./ad.svg\": 422,\n\t\"./ae.svg\": 423,\n\t\"./af.svg\": 424,\n\t\"./ag.svg\": 425,\n\t\"./ai.svg\": 426,\n\t\"./al.svg\": 427,\n\t\"./am.svg\": 428,\n\t\"./ao.svg\": 429,\n\t\"./aq.svg\": 430,\n\t\"./ar.svg\": 431,\n\t\"./as.svg\": 432,\n\t\"./at.svg\": 433,\n\t\"./au.svg\": 434,\n\t\"./aw.svg\": 435,\n\t\"./ax.svg\": 436,\n\t\"./az.svg\": 437,\n\t\"./ba.svg\": 438,\n\t\"./bb.svg\": 439,\n\t\"./bd.svg\": 440,\n\t\"./be.svg\": 441,\n\t\"./bf.svg\": 442,\n\t\"./bg.svg\": 443,\n\t\"./bh.svg\": 444,\n\t\"./bi.svg\": 445,\n\t\"./bj.svg\": 446,\n\t\"./bl.svg\": 447,\n\t\"./bm.svg\": 448,\n\t\"./bn.svg\": 449,\n\t\"./bo.svg\": 450,\n\t\"./bq.svg\": 451,\n\t\"./br.svg\": 452,\n\t\"./brl.svg\": 453,\n\t\"./bs.svg\": 454,\n\t\"./bt.svg\": 455,\n\t\"./bv.svg\": 456,\n\t\"./bw.svg\": 457,\n\t\"./by.svg\": 458,\n\t\"./bz.svg\": 459,\n\t\"./ca.svg\": 460,\n\t\"./cc.svg\": 461,\n\t\"./cd.svg\": 462,\n\t\"./cf.svg\": 463,\n\t\"./cg.svg\": 464,\n\t\"./ch.svg\": 465,\n\t\"./ci.svg\": 466,\n\t\"./ck.svg\": 467,\n\t\"./cl.svg\": 468,\n\t\"./cm.svg\": 469,\n\t\"./cn.svg\": 470,\n\t\"./co.svg\": 471,\n\t\"./cr.svg\": 472,\n\t\"./cu.svg\": 473,\n\t\"./cv.svg\": 474,\n\t\"./cw.svg\": 475,\n\t\"./cx.svg\": 476,\n\t\"./cy.svg\": 477,\n\t\"./cz.svg\": 478,\n\t\"./de.svg\": 479,\n\t\"./dj.svg\": 480,\n\t\"./dk.svg\": 481,\n\t\"./dm.svg\": 482,\n\t\"./do.svg\": 483,\n\t\"./dz.svg\": 484,\n\t\"./ec.svg\": 485,\n\t\"./ee.svg\": 486,\n\t\"./eg.svg\": 487,\n\t\"./eh.svg\": 488,\n\t\"./eo.svg\": 489,\n\t\"./er.svg\": 490,\n\t\"./es.svg\": 491,\n\t\"./et.svg\": 492,\n\t\"./eu.svg\": 493,\n\t\"./fi.svg\": 494,\n\t\"./fj.svg\": 495,\n\t\"./fk.svg\": 496,\n\t\"./fm.svg\": 497,\n\t\"./fo.svg\": 498,\n\t\"./fr.svg\": 499,\n\t\"./ga.svg\": 500,\n\t\"./gb.svg\": 501,\n\t\"./gd.svg\": 502,\n\t\"./ge.svg\": 503,\n\t\"./gf.svg\": 504,\n\t\"./gg.svg\": 505,\n\t\"./gh.svg\": 506,\n\t\"./gi.svg\": 507,\n\t\"./gl.svg\": 508,\n\t\"./gm.svg\": 509,\n\t\"./gn.svg\": 510,\n\t\"./gp.svg\": 511,\n\t\"./gq.svg\": 512,\n\t\"./gr.svg\": 513,\n\t\"./gs.svg\": 514,\n\t\"./gt.svg\": 515,\n\t\"./gu.svg\": 516,\n\t\"./gw.svg\": 517,\n\t\"./gy.svg\": 518,\n\t\"./hk.svg\": 519,\n\t\"./hm.svg\": 520,\n\t\"./hn.svg\": 521,\n\t\"./hr.svg\": 522,\n\t\"./ht.svg\": 523,\n\t\"./hu.svg\": 524,\n\t\"./id.svg\": 525,\n\t\"./ie.svg\": 526,\n\t\"./il.svg\": 527,\n\t\"./im.svg\": 528,\n\t\"./in.svg\": 529,\n\t\"./io.svg\": 530,\n\t\"./iq.svg\": 531,\n\t\"./ir.svg\": 532,\n\t\"./is.svg\": 533,\n\t\"./it.svg\": 534,\n\t\"./je.svg\": 535,\n\t\"./jm.svg\": 536,\n\t\"./jo.svg\": 537,\n\t\"./jp.svg\": 538,\n\t\"./ke.svg\": 539,\n\t\"./kg.svg\": 540,\n\t\"./kh.svg\": 541,\n\t\"./ki.svg\": 542,\n\t\"./km.svg\": 543,\n\t\"./kn.svg\": 544,\n\t\"./kp.svg\": 545,\n\t\"./kr.svg\": 546,\n\t\"./kw.svg\": 547,\n\t\"./ky.svg\": 548,\n\t\"./kz.svg\": 549,\n\t\"./la.svg\": 550,\n\t\"./lb.svg\": 551,\n\t\"./lc.svg\": 552,\n\t\"./li.svg\": 553,\n\t\"./lk.svg\": 554,\n\t\"./lr.svg\": 555,\n\t\"./ls.svg\": 556,\n\t\"./lt.svg\": 557,\n\t\"./lu.svg\": 558,\n\t\"./lv.svg\": 559,\n\t\"./ly.svg\": 560,\n\t\"./ma.svg\": 561,\n\t\"./mc.svg\": 562,\n\t\"./md.svg\": 563,\n\t\"./me.svg\": 564,\n\t\"./mf.svg\": 565,\n\t\"./mg.svg\": 566,\n\t\"./mh.svg\": 567,\n\t\"./mk.svg\": 568,\n\t\"./ml.svg\": 569,\n\t\"./mm.svg\": 570,\n\t\"./mn.svg\": 571,\n\t\"./mo.svg\": 572,\n\t\"./mp.svg\": 573,\n\t\"./mq.svg\": 574,\n\t\"./mr.svg\": 575,\n\t\"./ms.svg\": 576,\n\t\"./mt.svg\": 577,\n\t\"./mu.svg\": 578,\n\t\"./mv.svg\": 579,\n\t\"./mw.svg\": 580,\n\t\"./mx.svg\": 581,\n\t\"./my.svg\": 582,\n\t\"./mz.svg\": 583,\n\t\"./na.svg\": 584,\n\t\"./nc.svg\": 585,\n\t\"./ne.svg\": 586,\n\t\"./nf.svg\": 587,\n\t\"./ng.svg\": 588,\n\t\"./ni.svg\": 589,\n\t\"./nl.svg\": 590,\n\t\"./no.svg\": 591,\n\t\"./np.svg\": 592,\n\t\"./nr.svg\": 593,\n\t\"./nu.svg\": 594,\n\t\"./nz.svg\": 595,\n\t\"./om.svg\": 596,\n\t\"./pa.svg\": 597,\n\t\"./pe.svg\": 598,\n\t\"./pf.svg\": 599,\n\t\"./pg.svg\": 600,\n\t\"./ph.svg\": 601,\n\t\"./pk.svg\": 602,\n\t\"./pl.svg\": 603,\n\t\"./pm.svg\": 604,\n\t\"./pn.svg\": 605,\n\t\"./pr.svg\": 606,\n\t\"./ps.svg\": 607,\n\t\"./pt.svg\": 608,\n\t\"./pw.svg\": 609,\n\t\"./py.svg\": 610,\n\t\"./qa.svg\": 611,\n\t\"./re.svg\": 612,\n\t\"./ro.svg\": 613,\n\t\"./rs.svg\": 614,\n\t\"./ru.svg\": 615,\n\t\"./rw.svg\": 616,\n\t\"./sa.svg\": 617,\n\t\"./sb.svg\": 618,\n\t\"./sc.svg\": 619,\n\t\"./sd.svg\": 620,\n\t\"./se.svg\": 621,\n\t\"./sg.svg\": 622,\n\t\"./sh.svg\": 623,\n\t\"./si.svg\": 624,\n\t\"./sj.svg\": 625,\n\t\"./sk.svg\": 626,\n\t\"./sl.svg\": 627,\n\t\"./sm.svg\": 628,\n\t\"./sn.svg\": 629,\n\t\"./so.svg\": 630,\n\t\"./sr.svg\": 631,\n\t\"./ss.svg\": 632,\n\t\"./st.svg\": 633,\n\t\"./sv.svg\": 634,\n\t\"./sx.svg\": 635,\n\t\"./sy.svg\": 636,\n\t\"./sz.svg\": 637,\n\t\"./tc.svg\": 638,\n\t\"./td.svg\": 639,\n\t\"./tf.svg\": 640,\n\t\"./tg.svg\": 641,\n\t\"./th.svg\": 642,\n\t\"./tj.svg\": 643,\n\t\"./tk.svg\": 644,\n\t\"./tl.svg\": 645,\n\t\"./tm.svg\": 646,\n\t\"./tn.svg\": 647,\n\t\"./to.svg\": 648,\n\t\"./tr.svg\": 649,\n\t\"./tt.svg\": 650,\n\t\"./tv.svg\": 651,\n\t\"./tw.svg\": 652,\n\t\"./tz.svg\": 653,\n\t\"./ua.svg\": 654,\n\t\"./ug.svg\": 655,\n\t\"./um.svg\": 656,\n\t\"./us.svg\": 657,\n\t\"./uy.svg\": 658,\n\t\"./uz.svg\": 659,\n\t\"./va.svg\": 660,\n\t\"./vc.svg\": 661,\n\t\"./ve.svg\": 662,\n\t\"./vg.svg\": 663,\n\t\"./vi.svg\": 664,\n\t\"./vn.svg\": 665,\n\t\"./vu.svg\": 666,\n\t\"./wf.svg\": 667,\n\t\"./ws.svg\": 668,\n\t\"./ye.svg\": 669,\n\t\"./yt.svg\": 670,\n\t\"./za.svg\": 671,\n\t\"./zm.svg\": 672,\n\t\"./zw.svg\": 673,\n\t\"./zz.svg\": 674\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 244;","import actionCreatorFactory from 'typescript-fsa';\r\nconst actionCreator = actionCreatorFactory();\r\nexport default actionCreator<{}>('TENANT/EDIT/CANCEL');\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { Dispatch } from 'redux';\r\nimport { ErrorWrapper } from '../../../../../../../store/base';\r\nimport { UserApi } from '../../../../../../../api/User.api';\r\nimport { toastr } from 'react-redux-toastr';\r\n\r\nimport CommonUtilities from '../../../../../../../helpers/CommonUtilities';\r\nimport LocaleUtilities from '../../../../../../../helpers/LocaleUtilities';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nconst type = 'TENANT/USER//DELETE/SUBMIT';\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>(type);\r\n\r\nexport default function submit(userId: number, tenantId?: number) {\r\n return async (dispatch: Dispatch, getState: Function) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({ confirmLoading: true }));\r\n await UserApi.remove(userId, tenantId);\r\n toastr.success(\r\n LocaleUtilities.i18n('toastr-success-title-Successful', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data saved successfully', 'base.message', true),\r\n );\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n toastr.error(\r\n LocaleUtilities.i18n('toastr-error-title-Error', 'base.message', true),\r\n LocaleUtilities.i18n('toastr-Data not saved', 'base.message', true),\r\n );\r\n CommonUtilities.scrollToTop();\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n };\r\n}\r\n","import editCancel from './Tenant.edit.cancel.action';\r\nimport editStart from './Tenant.edit.start.action';\r\nimport editSubmit from './Tenant.edit.submit.action';\r\nimport getUsers from './Tenant.User.get-users.action';\r\nimport isUserNameExists from './Tenant.username.exists.action';\r\nimport addUserForTenant from './Tenant.add.existing.user.action';\r\nimport removeUser from './Tenant.User.delete.submit.action';\r\n\r\nexport {\r\n editCancel,\r\n editStart,\r\n editSubmit,\r\n getUsers,\r\n isUserNameExists,\r\n addUserForTenant,\r\n removeUser,\r\n};\r\n","import { PaginatedSearchBaseOptionsResult } from '../../../../../store/base';\r\nimport RouterUtilities from '../../../../../helpers/RouterUtilities';\r\n\r\nexport default class TenantsRequestViewModel extends PaginatedSearchBaseOptionsResult {\r\n keyword: string;\r\n period: string;\r\n startDate: string;\r\n endDate: string;\r\n public parse(location: Location) {\r\n const obj = RouterUtilities.locationSearchStringParse(location);\r\n if (!obj) {\r\n return;\r\n }\r\n\r\n super.baseParse(obj);\r\n if ('keyword' in obj && typeof obj.keyword === 'string') {\r\n this.keyword = obj.keyword;\r\n }\r\n }\r\n}\r\n","import React, { FC, ReactElement, SVGProps } from 'react';\r\nimport { IconBaseProps } from 'shared/types';\r\n\r\nconst StatusReceivedIcon: FC> = ({\r\n width = 38,\r\n height = 38,\r\n fill = 'black',\r\n ...restProps\r\n}): ReactElement => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default StatusReceivedIcon;\r\n","export class InvitationRequestViewModel {\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n customerPortalInvitation: boolean;\r\n tenantName: string;\r\n tenantCode: string;\r\n userExists: boolean;\r\n role: 'Administrator' | 'User' | 'Driver';\r\n customerId?: number;\r\n preferredLanguage?: string;\r\n}\r\n","import { BACKEND_HOST_MAIN } from 'store/api.constants';\r\nimport ApiUtilities from 'helpers/ApiUtils';\r\nimport { PublicInvoiceViewModel } from 'viewModels/public/PublicInvoiceViewModel';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\n\r\nexport function getRoot() {\r\n return `${BACKEND_HOST_MAIN()}api/v1`;\r\n}\r\n\r\nexport class PublicApi {\r\n public static getInvoiceInfo(\r\n tenantCode: string,\r\n invoiceId: string,\r\n ): Promise {\r\n return ApiUtilities.handleGet(\r\n `${getRoot()}/invoice/${tenantCode}/${invoiceId}`,\r\n );\r\n }\r\n\r\n public static async downloadFile(\r\n tenantCode: string,\r\n objectId: string,\r\n fileId: string,\r\n entityName: 'pod',\r\n fileName?: string,\r\n ) {\r\n const URL = `${getRoot()}/download/${tenantCode}/${objectId}/${fileId}/${entityName}`;\r\n const file = await ApiUtilities.handleFileGet(URL);\r\n CommonUtilities.downloadFile(file, true, fileName);\r\n }\r\n}\r\n","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { Dispatch } from 'redux';\r\nimport { ShippingOrderApi } from 'api/ShippingOrder.api';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>('APP/SHIPPING_ORDER/SUBMIT');\r\n\r\n\r\nexport default function submitShippingOrderConfirmation(tenantCode: string, token: string) {\r\n let result: boolean = false;\r\n\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n\r\n const data = await ShippingOrderApi.submitShippingOrderConfirmation(tenantCode, token);\r\n\r\n if (!data) {\r\n throw new NotFoundErrorWrapper(`Item not found`);\r\n }\r\n result = data;\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n }\r\n\r\n async function catchAction(exception: any): Promise {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return result;\r\n };\r\n}","import { Action } from 'redux';\r\n\r\nexport const REDUCER_NAME__TENANTS = 'tenants';\r\n\r\nexport interface TenantListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: TenantListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: TenantListReduxState = defaultState,\r\n action: Action,\r\n): TenantListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__TRANSLATIONS = 'translations';\r\n\r\nexport interface TranslationListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: TranslationListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: TranslationListReduxState = defaultState,\r\n action: Action,\r\n): TranslationListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from '../../../../../store/base';\r\n\r\nexport const REDUCER_NAME__FLEETS = 'fleets';\r\n\r\nexport interface FleetListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: FleetListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (state: FleetListReduxState = defaultState, action: Action): FleetListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__TERMINALS = 'terminals';\r\n\r\nexport interface TerminalListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: TerminalListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: TerminalListReduxState = defaultState,\r\n action: Action,\r\n): TerminalListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__CUSTOMERS = 'customers';\r\n\r\nexport interface CustomerListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: CustomerListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: CustomerListReduxState = defaultState,\r\n action: Action,\r\n): CustomerListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__PARTNERS = 'partners';\r\n\r\nexport interface PartnerListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: PartnerListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: PartnerListReduxState = defaultState,\r\n action: Action,\r\n): PartnerListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__PROJECTS = 'projects';\r\n\r\nexport interface ProjectListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: ProjectListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: ProjectListReduxState = defaultState,\r\n action: Action,\r\n): ProjectListReduxState => {\r\n return state;\r\n};\r\n","import { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__SHIPPING_ORDERS = 'shippingOrders';\r\n\r\nexport interface ShippingOrderListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: ShippingOrderListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (state: ShippingOrderListReduxState = defaultState): ShippingOrderListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_KEY__SHIPPING_ORDER = 'shippingOrder';\r\n\r\nexport class ShippingOrderState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n shippingOrderId?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: ShippingOrderState = {\r\n loading: false,\r\n};\r\nexport default (state: ShippingOrderState = defaultState, action: Action): ShippingOrderState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__EMPLOYEES = 'employees';\r\n\r\nexport interface EmployeesReduxState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: EmployeesReduxState = {\r\n loading: false,\r\n};\r\nexport default (state: EmployeesReduxState = defaultState, action: Action): EmployeesReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__INVOICES = 'invoices';\r\n\r\nexport interface InvoiceListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: InvoiceListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: InvoiceListReduxState = defaultState,\r\n action: Action,\r\n): InvoiceListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_KEY__INVOICE = 'invoice';\r\n\r\nexport class InvoiceState {\r\n type?: string;\r\n errorWrapper?: ErrorWrapper;\r\n invoiceId?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: InvoiceState = {\r\n loading: false,\r\n};\r\nexport default (state: InvoiceState = defaultState, action: Action): InvoiceState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__PROJECT = 'project';\r\n\r\nexport interface ProjectDisplayReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n projectId?: string;\r\n}\r\n\r\nconst defaultState: ProjectDisplayReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: ProjectDisplayReduxState = defaultState,\r\n action: Action,\r\n): ProjectDisplayReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\n\r\nexport const REDUCER_NAME__CONTROL_TOWER = 'controlTower';\r\n\r\nexport interface ControlTowerReduxState {\r\n type?: string;\r\n loading: boolean;\r\n}\r\n\r\nconst defaultState: ControlTowerReduxState = {\r\n loading: false,\r\n};\r\nexport default (\r\n state: ControlTowerReduxState = defaultState,\r\n action: Action,\r\n): ControlTowerReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__CUSTOMERS_IMPORT = 'customers_import';\r\n\r\nexport interface CustomerImportReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: CustomerImportReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: CustomerImportReduxState = defaultState,\r\n action: Action,\r\n): CustomerImportReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_NAME__COMMENTS = 'comments';\r\n\r\nexport interface CommentListReduxState {\r\n type?: string;\r\n loading: boolean;\r\n errorWrapper?: ErrorWrapper;\r\n}\r\n\r\nconst defaultState: CommentListReduxState = {\r\n loading: false,\r\n};\r\n\r\nexport default (\r\n state: CommentListReduxState = defaultState,\r\n action: Action,\r\n): CommentListReduxState => {\r\n return state;\r\n};\r\n","import { Action } from 'redux';\r\nimport { isType } from 'typescript-fsa';\r\nimport { asyncActions as Actions } from './actions/ChangePassword.submit.action';\r\nimport { ErrorWrapper } from 'store/base';\r\n\r\nexport const REDUCER_KEY__CHANGE_PASSWORD = 'change_password';\r\ninterface State {\r\n errorWrapper?: ErrorWrapper;\r\n}\r\nconst defaultState: State = {};\r\nexport default (state: State = defaultState, action: Action) => {\r\n if (isType(action, Actions.started)) {\r\n return { \r\n ...state, \r\n type: action.type, \r\n loading: true,\r\n errorWrapper: undefined,\r\n };\r\n }\r\n if (isType(action, Actions.done)) {\r\n return { \r\n ...state, \r\n type: action.type, \r\n loading: false,\r\n };\r\n }\r\n if (isType(action, Actions.failed)) {\r\n return {\r\n ...state,\r\n type: action.type,\r\n loading: false,\r\n errorWrapper: action.payload.error,\r\n };\r\n }\r\n\r\n return state;\r\n};\r\n","import { Moment } from 'moment';\r\n\r\nexport default class TenantResponseViewModel {\r\n clientCode: string;\r\n businessArea: string;\r\n vatNr: string;\r\n registerNr: string;\r\n name: string;\r\n email: string;\r\n phone: string;\r\n\r\n // address\r\n country: string;\r\n postalCode: string;\r\n city: string;\r\n region: string;\r\n state: string;\r\n firstAddressLine: string;\r\n secondAddressLine: string;\r\n additionalData: string;\r\n\r\n //\r\n // Personal data\r\n //\r\n contactName: string;\r\n contactPhoneNumber: string;\r\n contactEmail: string;\r\n\r\n //package info\r\n locked: boolean;\r\n isDemoAccount: boolean;\r\n bookingPortalEnabled: boolean;\r\n allowAccountingSystemIntegration: boolean;\r\n allowSendingEInvoices: boolean;\r\n\r\n maxUsers?: number;\r\n activeUntil?: Date | Moment;\r\n offeredPrice?: number;\r\n notes: string;\r\n}\r\n","import TenantCreateOrUpdateRequestViewModel from './TenantCreateOrUpdateRequestViewModel';\r\nimport TenantRequestViewModel from './TenantRequestViewModel';\r\nimport TenantsResponseViewModel from './TenantsResponseViewModel';\r\nimport TenantResponseViewModel from './TenantResponseViewModel';\r\nimport TenantsRequestViewModel from './TenantsRequestViewModel';\r\nimport TenantInvoiceSettingsViewModel from './TenantInvoiceSettingsViewModel';\r\nimport TenantPdfSettingsViewModel from './TenantPdfSettingsViewModel';\r\nimport TenantPreferencesViewModel from './TenantPreferencesViewModel';\r\n\r\nexport {\r\n TenantCreateOrUpdateRequestViewModel,\r\n TenantRequestViewModel,\r\n TenantsResponseViewModel,\r\n TenantResponseViewModel,\r\n TenantsRequestViewModel,\r\n TenantInvoiceSettingsViewModel,\r\n TenantPdfSettingsViewModel,\r\n TenantPreferencesViewModel,\r\n};","import { Moment } from 'moment';\r\n\r\nexport default class FleetResponseViewModel {\r\n type: string;\r\n regNumber: string;\r\n model: string;\r\n driverId: string;\r\n firstRegistrationDate?: Date | Moment;\r\n nextInspectionDate?: Date | Moment;\r\n insuranceUntilDate?: Date | Moment;\r\n height?: number;\r\n length?: number;\r\n width?: number;\r\n weight?: number;\r\n maxWeight?: number;\r\n maxLdm?: number;\r\n maxVolume?: number;\r\n averageConsumption?: number;\r\n costPerHour?: number;\r\n costPerKm?: number;\r\n adrEquipment: boolean;\r\n tailLift: boolean;\r\n doubleDeckLoading: boolean;\r\n sideOpening: boolean;\r\n dualTemperature: boolean;\r\n minTemp: string;\r\n maxTemp: string;\r\n isActive: boolean;\r\n}\r\n","import { PaginatedSearchBaseOptionsResult } from 'store/base';\r\nimport RouterUtilities from 'helpers/RouterUtilities';\r\n\r\nexport default class FleetsRequestViewModel extends PaginatedSearchBaseOptionsResult {\r\n keyword: string;\r\n public parse(location: Location) {\r\n const obj = RouterUtilities.locationSearchStringParse(location);\r\n if (!obj) {\r\n return;\r\n }\r\n\r\n super.baseParse(obj);\r\n const keys = Object.keys(new FleetsRequestViewModel());\r\n for (let i = 0; i < keys.length; i++) {\r\n try {\r\n const classKey = keys[i];\r\n if (classKey in obj && typeof obj[classKey] === 'string') {\r\n this[classKey] = obj[classKey];\r\n }\r\n } catch (e) {}\r\n }\r\n }\r\n}\r\n","import FleetCreateOrUpdateRequestViewModel from './FleetCreateOrUpdateRequestViewModel';\r\nimport FleetRequestViewModel from './FleetRequestViewModel';\r\nimport FleetsResponseViewModel from './FleetsResponseViewModel';\r\nimport FleetResponseViewModel from './FleetResponseViewModel';\r\nimport FleetsRequestViewModel from './FleetsRequestViewModel';\r\n\r\nexport {\r\n FleetCreateOrUpdateRequestViewModel,\r\n FleetRequestViewModel,\r\n FleetsResponseViewModel,\r\n FleetResponseViewModel,\r\n FleetsRequestViewModel,\r\n};\r\n","import { AddressViewModel } from 'viewModels/common/AddressViewModel';\r\n\r\nexport default class CustomerResponseViewModel {\r\n number: string = '';\r\n operatorId: string = '';\r\n vatNr: string = '';\r\n registerNr: string = '';\r\n name: string = '';\r\n lastName: string = '';\r\n paymentTermDays?: number | undefined = 7;\r\n address: AddressViewModel;\r\n invoiceAddress: AddressViewModel;\r\n preferredLanguage: string = 'Estonian';\r\n}\r\n","import { PaginatedSearchBaseOptionsResult } from 'store/base';\r\nimport RouterUtilities from 'helpers/RouterUtilities';\r\n\r\nexport default class CustomersRequestViewModel extends PaginatedSearchBaseOptionsResult {\r\n keyword: string;\r\n public parse(location: Location) {\r\n const obj = RouterUtilities.locationSearchStringParse(location);\r\n if (!obj) {\r\n return;\r\n }\r\n\r\n super.baseParse(obj);\r\n const keys = Object.keys(new CustomersRequestViewModel());\r\n for (let i = 0; i < keys.length; i++) {\r\n try {\r\n const classKey = keys[i];\r\n if (classKey in obj && typeof obj[classKey] === 'string') {\r\n this[classKey] = obj[classKey];\r\n }\r\n } catch (e) {}\r\n }\r\n }\r\n}\r\n","import CustomerRequestViewModel from './CustomerRequestViewModel';\r\nimport CustomersResponseViewModel from './CustomersResponseViewModel';\r\nimport CustomerResponseViewModel from './CustomerResponseViewModel';\r\nimport CustomersRequestViewModel from './CustomersRequestViewModel';\r\nimport CustomerContactListResponseViewModel from './CustomerContactListResponseViewModel';\r\n\r\nexport {\r\n CustomerRequestViewModel,\r\n CustomersResponseViewModel,\r\n CustomerResponseViewModel,\r\n CustomersRequestViewModel,\r\n CustomerContactListResponseViewModel,\r\n};\r\n","import { AddressViewModel } from 'viewModels/common/AddressViewModel';\r\nimport { OpeningHourViewModel } from 'viewModels/common/OpeningHourViewModel';\r\n\r\nexport default class TerminalResponseViewModel {\r\n code: string;\r\n loadingGateNumber: string;\r\n openFrom: string;\r\n openTo: string;\r\n address: AddressViewModel;\r\n openingHours: OpeningHourViewModel[];\r\n}\r\n","import { PaginatedSearchBaseOptionsResult } from 'store/base';\r\nimport RouterUtilities from 'helpers/RouterUtilities';\r\n\r\nexport default class TerminalsRequestViewModel extends PaginatedSearchBaseOptionsResult {\r\n keyword: string;\r\n public parse(location: Location) {\r\n const obj = RouterUtilities.locationSearchStringParse(location);\r\n if (!obj) {\r\n return;\r\n }\r\n\r\n super.baseParse(obj);\r\n const keys = Object.keys(new TerminalsRequestViewModel());\r\n for (let i = 0; i < keys.length; i++) {\r\n try {\r\n const classKey = keys[i];\r\n if (classKey in obj && typeof obj[classKey] === 'string') {\r\n this[classKey] = obj[classKey];\r\n }\r\n } catch (e) {}\r\n }\r\n }\r\n}\r\n","import TerminalRequestViewModel from './TerminalRequestViewModel';\r\nimport TerminalsResponseViewModel from './TerminalsResponseViewModel';\r\nimport TerminalResponseViewModel from './TerminalResponseViewModel';\r\nimport TerminalsRequestViewModel from './TerminalsRequestViewModel';\r\n\r\nexport {\r\n TerminalRequestViewModel,\r\n TerminalsResponseViewModel,\r\n TerminalResponseViewModel,\r\n TerminalsRequestViewModel,\r\n};\r\n","import { Moment } from 'moment';\r\n\r\nexport default class ShippingOrderPublicViewModel {\r\n id: string;\r\n number: string;\r\n purchasePrice: number;\r\n shipments: ShippingOrderPublicResponseViewModel[];\r\n partnerConfirmationDateTime?: Date | Moment;\r\n tenantName: string;\r\n};\r\n\r\nexport type ShippingOrderPublicResponseViewModel = {\r\n id: string;\r\n number: string;\r\n pickupCountry: string;\r\n pickupPostalCode: string;\r\n deliveryCountry: string;\r\n deliveryPostalCode: string;\r\n};","import actionCreatorFactory from 'typescript-fsa';\r\nimport { ErrorWrapper, NotFoundErrorWrapper } from 'store/base';\r\nimport CommonUtilities from 'helpers/CommonUtilities';\r\nimport { Dispatch } from 'redux';\r\nimport { ShippingOrderApi } from 'api/ShippingOrder.api';\r\nimport ShippingOrderPublicViewModel from 'viewModels/shippingOrder/ShippingOrderPublicViewModel';\r\n\r\nconst actionCreator = actionCreatorFactory();\r\n\r\nexport const asyncActions = actionCreator.async<{}, {}, ErrorWrapper>('APP/SHIPPING_ORDER/START');\r\n\r\nexport default function startShippingOrderConfirmation(tenantCode: string, token: string) {\r\n let result: ShippingOrderPublicViewModel = new ShippingOrderPublicViewModel();\r\n\r\n return async (dispatch: Dispatch) => {\r\n async function mainAction() {\r\n dispatch(asyncActions.started({}));\r\n\r\n const data = await ShippingOrderApi.getPublicSO(tenantCode, token);\r\n\r\n if (!data) {\r\n throw new NotFoundErrorWrapper(`Item not found`);\r\n }\r\n result = data;\r\n\r\n dispatch(asyncActions.done({ params: {}, result: {} }));\r\n }\r\n\r\n async function catchAction(exception: ErrorWrapper) {\r\n dispatch(asyncActions.failed({ params: {}, error: exception }));\r\n }\r\n\r\n await CommonUtilities.tryCatchWrapper(mainAction, catchAction);\r\n\r\n return result;\r\n };\r\n}","import actionCreatorFactory from 'typescript-fsa';\r\nconst actionCreator = actionCreatorFactory();\r\nexport default actionCreator<{}>('TENANT/CREATE/CANCEL');\r\n","import createCancel from './Tenant.create.cancel.action';\r\nimport createStart from './Tenant.create.start.action';\r\nimport createSubmit from './Tenant.create.submit.action';\r\n\r\nexport { createCancel, createStart, createSubmit };\r\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAApCAYAAABHomvIAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAASdSURBVHjavJhfiBV1FMc/39nbJkErZYQP/SXJF0utbAlkQ5Qw+qdGhVEpWUTug5attqKttYabGb5UPhSuomaQKOYaRZo+6LZqGitpBWEYZmUFGRiY63x7mHvXu3v/zZ25dmC43Jm5Zz6/c+b3Pedcff3sDcSxIBNCILABAdlPGVvDhReApmG2GXcITkR3COOBnwox8SwgndVjmgUHQHOB6xDNknLfh6T0nxBQANwH7AW9DVwz6I7hiJWSeoAp/zfgrcAmUBdwR4V7RyO2SNoK3HaxAYcDy0HdmIerfM6DiL2ClcC11fwwo7pYr+swpN2YkSmyNQRpLjAemAN0x4qgAohx/GXztKErBeBJ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VW70DWY1wn0Y06TkgIeN7QjVkdDcqlRMjbgFzZtBOwZ7C0uYNA/kUnv2HRI/r38nFsWLvdH0vc27QRsKLXMuIBngZ2W5tsciiNJLr97j9ksI6AD83dZHYyZhoPIPwCHaqGINrsFn0F5OID/BgA+kdCHmryu2QAAAABJRU5ErkJggg==\"","module.exports = __webpack_public_path__ + \"static/media/ad.4b17f06b.svg\";","module.exports = __webpack_public_path__ + \"static/media/ae.824d8671.svg\";","module.exports = __webpack_public_path__ + \"static/media/af.53193f9a.svg\";","module.exports = __webpack_public_path__ + \"static/media/ag.d024cb54.svg\";","module.exports = __webpack_public_path__ + \"static/media/ai.80d82fb2.svg\";","module.exports = __webpack_public_path__ + \"static/media/al.961951c7.svg\";","module.exports = __webpack_public_path__ + \"static/media/am.7e1538f6.svg\";","module.exports = __webpack_public_path__ + \"static/media/ao.4ad59271.svg\";","module.exports = __webpack_public_path__ + \"static/media/aq.424414e6.svg\";","module.exports = __webpack_public_path__ + \"static/media/ar.4d1c3636.svg\";","module.exports = __webpack_public_path__ + \"static/media/as.805863e4.svg\";","module.exports = __webpack_public_path__ + \"static/media/at.a8838a90.svg\";","module.exports = __webpack_public_path__ + \"static/media/au.cf30ad1f.svg\";","module.exports = __webpack_public_path__ + \"static/media/aw.a19d9d18.svg\";","module.exports = __webpack_public_path__ + \"static/media/ax.88fcc7ec.svg\";","module.exports = __webpack_public_path__ + \"static/media/az.2c050549.svg\";","module.exports = __webpack_public_path__ + \"static/media/ba.ed05e0ec.svg\";","module.exports = __webpack_public_path__ + \"static/media/bb.fdab3916.svg\";","module.exports = __webpack_public_path__ + \"static/media/bd.5b4adc1d.svg\";","module.exports = __webpack_public_path__ + \"static/media/be.2764c52c.svg\";","module.exports = __webpack_public_path__ + \"static/media/bf.34240a73.svg\";","module.exports = __webpack_public_path__ + \"static/media/bg.5212b20d.svg\";","module.exports = __webpack_public_path__ + \"static/media/bh.d525aaa2.svg\";","module.exports = __webpack_public_path__ + \"static/media/bi.58ff9c34.svg\";","module.exports = __webpack_public_path__ + \"static/media/bj.629ec6f6.svg\";","module.exports = __webpack_public_path__ + \"static/media/bl.11ef8840.svg\";","module.exports = __webpack_public_path__ + \"static/media/bm.60c6fe15.svg\";","module.exports = __webpack_public_path__ + \"static/media/bn.d38565ec.svg\";","module.exports = __webpack_public_path__ + \"static/media/bo.003b8ece.svg\";","module.exports = __webpack_public_path__ + \"static/media/bq.2317a3ae.svg\";","module.exports = __webpack_public_path__ + \"static/media/br.ed25a4b6.svg\";","module.exports = __webpack_public_path__ + \"static/media/brl.de272ba6.svg\";","module.exports = __webpack_public_path__ + \"static/media/bs.8d95c3b2.svg\";","module.exports = __webpack_public_path__ + \"static/media/bt.87b0c87f.svg\";","module.exports = __webpack_public_path__ + \"static/media/bv.9d8569a7.svg\";","module.exports = __webpack_public_path__ + \"static/media/bw.c30048fb.svg\";","module.exports = __webpack_public_path__ + \"static/media/by.52e224c1.svg\";","module.exports = __webpack_public_path__ + \"static/media/bz.6a62bd9a.svg\";","module.exports = __webpack_public_path__ + \"static/media/ca.df5de280.svg\";","module.exports = __webpack_public_path__ + \"static/media/cc.cf30ad1f.svg\";","module.exports = __webpack_public_path__ + \"static/media/cd.d277b6df.svg\";","module.exports = __webpack_public_path__ + \"static/media/cf.c96449fa.svg\";","module.exports = __webpack_public_path__ + \"static/media/cg.fcbd5c7b.svg\";","module.exports = __webpack_public_path__ + \"static/media/ch.e3f4cefa.svg\";","module.exports = __webpack_public_path__ + \"static/media/ci.01978355.svg\";","module.exports = __webpack_public_path__ + \"static/media/ck.13ec029e.svg\";","module.exports = __webpack_public_path__ + \"static/media/cl.979056b8.svg\";","module.exports = __webpack_public_path__ + \"static/media/cm.348d9271.svg\";","module.exports = __webpack_public_path__ + \"static/media/cn.30d7ee5d.svg\";","module.exports = __webpack_public_path__ + \"static/media/co.f709c74c.svg\";","module.exports = __webpack_public_path__ + \"static/media/cr.da8b9e62.svg\";","module.exports = __webpack_public_path__ + \"static/media/cu.29f55fa7.svg\";","module.exports = __webpack_public_path__ + \"static/media/cv.2392d7d9.svg\";","module.exports = __webpack_public_path__ + \"static/media/cw.c0d83bf7.svg\";","module.exports = __webpack_public_path__ + \"static/media/cx.fb1418e1.svg\";","module.exports = __webpack_public_path__ + \"static/media/cy.e4ec5ff8.svg\";","module.exports = __webpack_public_path__ + \"static/media/cz.cf1119c6.svg\";","module.exports = __webpack_public_path__ + \"static/media/de.550ac30f.svg\";","module.exports = __webpack_public_path__ + \"static/media/dj.eea96426.svg\";","module.exports = __webpack_public_path__ + \"static/media/dk.2449c778.svg\";","module.exports = __webpack_public_path__ + \"static/media/dm.b49b71b0.svg\";","module.exports = __webpack_public_path__ + \"static/media/do.54782064.svg\";","module.exports = __webpack_public_path__ + \"static/media/dz.2a9282c9.svg\";","module.exports = __webpack_public_path__ + \"static/media/ec.665ce90e.svg\";","module.exports = __webpack_public_path__ + \"static/media/ee.7e4c6071.svg\";","module.exports = __webpack_public_path__ + \"static/media/eg.0b7d4713.svg\";","module.exports = __webpack_public_path__ + \"static/media/eh.eac780d1.svg\";","module.exports = __webpack_public_path__ + \"static/media/eo.eece65ff.svg\";","module.exports = __webpack_public_path__ + \"static/media/er.53cad92e.svg\";","module.exports = __webpack_public_path__ + \"static/media/es.72e1ab1e.svg\";","module.exports = __webpack_public_path__ + \"static/media/et.cce3dc9f.svg\";","module.exports = __webpack_public_path__ + \"static/media/eu.21c3b86b.svg\";","module.exports = __webpack_public_path__ + \"static/media/fi.2558f4e4.svg\";","module.exports = __webpack_public_path__ + \"static/media/fj.e7f32bd2.svg\";","module.exports = __webpack_public_path__ + \"static/media/fk.4973e028.svg\";","module.exports = __webpack_public_path__ + \"static/media/fm.4b45aa24.svg\";","module.exports = __webpack_public_path__ + \"static/media/fo.c0132fc0.svg\";","module.exports = __webpack_public_path__ + \"static/media/fr.11ef8840.svg\";","module.exports = __webpack_public_path__ + \"static/media/ga.d41ba93e.svg\";","module.exports = __webpack_public_path__ + \"static/media/gb.4e0f70a4.svg\";","module.exports = __webpack_public_path__ + \"static/media/gd.f68f1bcc.svg\";","module.exports = __webpack_public_path__ + \"static/media/ge.e2dd6543.svg\";","module.exports = __webpack_public_path__ + \"static/media/gf.58ed92f8.svg\";","module.exports = __webpack_public_path__ + \"static/media/gg.f4456689.svg\";","module.exports = __webpack_public_path__ + \"static/media/gh.57a76774.svg\";","module.exports = __webpack_public_path__ + \"static/media/gi.a0c59870.svg\";","module.exports = __webpack_public_path__ + \"static/media/gl.841a9d98.svg\";","module.exports = __webpack_public_path__ + \"static/media/gm.a503c3d6.svg\";","module.exports = __webpack_public_path__ + \"static/media/gn.c1e0576c.svg\";","module.exports = __webpack_public_path__ + \"static/media/gp.0b958f6c.svg\";","module.exports = __webpack_public_path__ + \"static/media/gq.fd80fdd6.svg\";","module.exports = __webpack_public_path__ + \"static/media/gr.a2a75ea9.svg\";","module.exports = __webpack_public_path__ + \"static/media/gs.51eef8e4.svg\";","module.exports = __webpack_public_path__ + \"static/media/gt.bac56288.svg\";","module.exports = __webpack_public_path__ + \"static/media/gu.b6bb445b.svg\";","module.exports = __webpack_public_path__ + \"static/media/gw.0c13655a.svg\";","module.exports = __webpack_public_path__ + \"static/media/gy.b1f77541.svg\";","module.exports = __webpack_public_path__ + \"static/media/hk.e6b2ad32.svg\";","module.exports = __webpack_public_path__ + \"static/media/hm.b63e422b.svg\";","module.exports = __webpack_public_path__ + \"static/media/hn.d5440b3d.svg\";","module.exports = __webpack_public_path__ + \"static/media/hr.d1381487.svg\";","module.exports = __webpack_public_path__ + \"static/media/ht.ac7fed1d.svg\";","module.exports = __webpack_public_path__ + \"static/media/hu.00e7c406.svg\";","module.exports = __webpack_public_path__ + \"static/media/id.464311b5.svg\";","module.exports = __webpack_public_path__ + \"static/media/ie.7d4d2d90.svg\";","module.exports = __webpack_public_path__ + \"static/media/il.8c2a3212.svg\";","module.exports = __webpack_public_path__ + \"static/media/im.d310b7af.svg\";","module.exports = __webpack_public_path__ + \"static/media/in.2be01d63.svg\";","module.exports = __webpack_public_path__ + \"static/media/io.0b7d5f23.svg\";","module.exports = __webpack_public_path__ + \"static/media/iq.0815360b.svg\";","module.exports = __webpack_public_path__ + \"static/media/ir.9dfd3f96.svg\";","module.exports = __webpack_public_path__ + \"static/media/is.3039e314.svg\";","module.exports = __webpack_public_path__ + \"static/media/it.99136d7f.svg\";","module.exports = __webpack_public_path__ + \"static/media/je.ac2ed887.svg\";","module.exports = __webpack_public_path__ + \"static/media/jm.c24b8612.svg\";","module.exports = __webpack_public_path__ + \"static/media/jo.6d688120.svg\";","module.exports = __webpack_public_path__ + \"static/media/jp.d139773b.svg\";","module.exports = __webpack_public_path__ + \"static/media/ke.d122fe38.svg\";","module.exports = __webpack_public_path__ + \"static/media/kg.dfa46db1.svg\";","module.exports = __webpack_public_path__ + \"static/media/kh.7d145a4c.svg\";","module.exports = __webpack_public_path__ + \"static/media/ki.b5e25261.svg\";","module.exports = __webpack_public_path__ + \"static/media/km.9bb079c7.svg\";","module.exports = __webpack_public_path__ + \"static/media/kn.7304fe45.svg\";","module.exports = __webpack_public_path__ + \"static/media/kp.4cd9243a.svg\";","module.exports = __webpack_public_path__ + \"static/media/kr.50960802.svg\";","module.exports = __webpack_public_path__ + \"static/media/kw.6d73a9fa.svg\";","module.exports = __webpack_public_path__ + \"static/media/ky.cfcc8bbf.svg\";","module.exports = __webpack_public_path__ + \"static/media/kz.ba53d21a.svg\";","module.exports = __webpack_public_path__ + \"static/media/la.9abefa41.svg\";","module.exports = __webpack_public_path__ + \"static/media/lb.ac8aeffb.svg\";","module.exports = __webpack_public_path__ + \"static/media/lc.46775d93.svg\";","module.exports = __webpack_public_path__ + \"static/media/li.4182b42d.svg\";","module.exports = __webpack_public_path__ + \"static/media/lk.05b3389e.svg\";","module.exports = __webpack_public_path__ + \"static/media/lr.12422cd4.svg\";","module.exports = __webpack_public_path__ + \"static/media/ls.bc85c1bf.svg\";","module.exports = __webpack_public_path__ + \"static/media/lt.fc57a52e.svg\";","module.exports = __webpack_public_path__ + \"static/media/lu.5e532e8a.svg\";","module.exports = __webpack_public_path__ + \"static/media/lv.2553e491.svg\";","module.exports = __webpack_public_path__ + \"static/media/ly.a6d11461.svg\";","module.exports = __webpack_public_path__ + \"static/media/ma.892db39b.svg\";","module.exports = __webpack_public_path__ + \"static/media/mc.6281222a.svg\";","module.exports = __webpack_public_path__ + \"static/media/md.8c3ffd4e.svg\";","module.exports = __webpack_public_path__ + \"static/media/me.10773c16.svg\";","module.exports = __webpack_public_path__ + \"static/media/mf.3a548eed.svg\";","module.exports = __webpack_public_path__ + \"static/media/mg.cbca1706.svg\";","module.exports = __webpack_public_path__ + \"static/media/mh.b656bda1.svg\";","module.exports = __webpack_public_path__ + \"static/media/mk.4cba3707.svg\";","module.exports = __webpack_public_path__ + \"static/media/ml.fa46e43f.svg\";","module.exports = __webpack_public_path__ + \"static/media/mm.39d2c078.svg\";","module.exports = __webpack_public_path__ + \"static/media/mn.42fcfde0.svg\";","module.exports = __webpack_public_path__ + \"static/media/mo.44b9a0c4.svg\";","module.exports = __webpack_public_path__ + \"static/media/mp.529201ee.svg\";","module.exports = __webpack_public_path__ + \"static/media/mq.9bf53e1d.svg\";","module.exports = __webpack_public_path__ + \"static/media/mr.20308621.svg\";","module.exports = __webpack_public_path__ + \"static/media/ms.bcc70c7e.svg\";","module.exports = __webpack_public_path__ + \"static/media/mt.02e68159.svg\";","module.exports = __webpack_public_path__ + \"static/media/mu.c7bd1436.svg\";","module.exports = __webpack_public_path__ + \"static/media/mv.85a2f7bd.svg\";","module.exports = __webpack_public_path__ + \"static/media/mw.0b965195.svg\";","module.exports = __webpack_public_path__ + \"static/media/mx.e54f7846.svg\";","module.exports = __webpack_public_path__ + \"static/media/my.9bc65a4c.svg\";","module.exports = __webpack_public_path__ + \"static/media/mz.1c91e7d5.svg\";","module.exports = __webpack_public_path__ + \"static/media/na.7dd0f798.svg\";","module.exports = __webpack_public_path__ + \"static/media/nc.4ff146bc.svg\";","module.exports = __webpack_public_path__ + \"static/media/ne.c885e8f2.svg\";","module.exports = __webpack_public_path__ + \"static/media/nf.7c6364a0.svg\";","module.exports = __webpack_public_path__ + \"static/media/ng.ccd73943.svg\";","module.exports = __webpack_public_path__ + \"static/media/ni.1b322089.svg\";","module.exports = __webpack_public_path__ + \"static/media/nl.6571ea3d.svg\";","module.exports = __webpack_public_path__ + \"static/media/no.24f55351.svg\";","module.exports = __webpack_public_path__ + \"static/media/np.b77457a9.svg\";","module.exports = __webpack_public_path__ + \"static/media/nr.225d3216.svg\";","module.exports = __webpack_public_path__ + \"static/media/nu.9fdf1a8f.svg\";","module.exports = __webpack_public_path__ + \"static/media/nz.ffdb4930.svg\";","module.exports = __webpack_public_path__ + \"static/media/om.3ff0c074.svg\";","module.exports = __webpack_public_path__ + \"static/media/pa.6a64fb9f.svg\";","module.exports = __webpack_public_path__ + \"static/media/pe.49d2163f.svg\";","module.exports = __webpack_public_path__ + \"static/media/pf.c5df4022.svg\";","module.exports = __webpack_public_path__ + \"static/media/pg.e5877087.svg\";","module.exports = __webpack_public_path__ + \"static/media/ph.e8a85fdb.svg\";","module.exports = __webpack_public_path__ + \"static/media/pk.8c402ecf.svg\";","module.exports = __webpack_public_path__ + \"static/media/pl.f4c20439.svg\";","module.exports = __webpack_public_path__ + \"static/media/pm.1bed419b.svg\";","module.exports = __webpack_public_path__ + \"static/media/pn.c41603f3.svg\";","module.exports = __webpack_public_path__ + \"static/media/pr.2253d22a.svg\";","module.exports = __webpack_public_path__ + \"static/media/ps.72a58ce1.svg\";","module.exports = __webpack_public_path__ + \"static/media/pt.e9bf31ab.svg\";","module.exports = __webpack_public_path__ + \"static/media/pw.ed066a4f.svg\";","module.exports = __webpack_public_path__ + \"static/media/py.cc9aa61d.svg\";","module.exports = __webpack_public_path__ + \"static/media/qa.6038ec14.svg\";","module.exports = __webpack_public_path__ + \"static/media/re.253d75a9.svg\";","module.exports = __webpack_public_path__ + \"static/media/ro.0ab28634.svg\";","module.exports = __webpack_public_path__ + \"static/media/rs.fd7f2205.svg\";","module.exports = __webpack_public_path__ + \"static/media/ru.3f61c2dd.svg\";","module.exports = __webpack_public_path__ + \"static/media/rw.c9d69761.svg\";","module.exports = __webpack_public_path__ + \"static/media/sa.6ea34317.svg\";","module.exports = __webpack_public_path__ + \"static/media/sb.69f5bc89.svg\";","module.exports = __webpack_public_path__ + \"static/media/sc.606d4b06.svg\";","module.exports = __webpack_public_path__ + \"static/media/sd.22afffa1.svg\";","module.exports = __webpack_public_path__ + \"static/media/se.fabe0b69.svg\";","module.exports = __webpack_public_path__ + \"static/media/sg.dda65e68.svg\";","module.exports = __webpack_public_path__ + \"static/media/sh.2469dbfa.svg\";","module.exports = __webpack_public_path__ + \"static/media/si.761af351.svg\";","module.exports = __webpack_public_path__ + \"static/media/sj.620e896d.svg\";","module.exports = __webpack_public_path__ + \"static/media/sk.ad667891.svg\";","module.exports = __webpack_public_path__ + \"static/media/sl.ba135116.svg\";","module.exports = __webpack_public_path__ + \"static/media/sm.c9e2a43c.svg\";","module.exports = __webpack_public_path__ + \"static/media/sn.4c526809.svg\";","module.exports = __webpack_public_path__ + \"static/media/so.cb906202.svg\";","module.exports = __webpack_public_path__ + \"static/media/sr.024ce0be.svg\";","module.exports = __webpack_public_path__ + \"static/media/ss.29ec746c.svg\";","module.exports = __webpack_public_path__ + \"static/media/st.0d633624.svg\";","module.exports = __webpack_public_path__ + \"static/media/sv.65b5b93a.svg\";","module.exports = __webpack_public_path__ + \"static/media/sx.3a548eed.svg\";","module.exports = __webpack_public_path__ + \"static/media/sy.3c2655e9.svg\";","module.exports = __webpack_public_path__ + \"static/media/sz.fa23d5aa.svg\";","module.exports = __webpack_public_path__ + \"static/media/tc.006015e5.svg\";","module.exports = __webpack_public_path__ + \"static/media/td.98d51272.svg\";","module.exports = __webpack_public_path__ + \"static/media/tf.ab4296aa.svg\";","module.exports = __webpack_public_path__ + \"static/media/tg.6ae42837.svg\";","module.exports = __webpack_public_path__ + \"static/media/th.2cd15b0f.svg\";","module.exports = __webpack_public_path__ + \"static/media/tj.3b8083ea.svg\";","module.exports = __webpack_public_path__ + \"static/media/tk.90381c85.svg\";","module.exports = __webpack_public_path__ + \"static/media/tl.0041b17f.svg\";","module.exports = __webpack_public_path__ + \"static/media/tm.383a04ae.svg\";","module.exports = __webpack_public_path__ + \"static/media/tn.e1d69255.svg\";","module.exports = __webpack_public_path__ + \"static/media/to.7bd331f3.svg\";","module.exports = __webpack_public_path__ + \"static/media/tr.d1252e53.svg\";","module.exports = __webpack_public_path__ + \"static/media/tt.d4f9a958.svg\";","module.exports = __webpack_public_path__ + \"static/media/tv.e96bd701.svg\";","module.exports = __webpack_public_path__ + \"static/media/tw.89968289.svg\";","module.exports = __webpack_public_path__ + \"static/media/tz.9e509eeb.svg\";","module.exports = __webpack_public_path__ + \"static/media/ua.5516d9ea.svg\";","module.exports = __webpack_public_path__ + \"static/media/ug.37868e51.svg\";","module.exports = __webpack_public_path__ + \"static/media/um.eafc7245.svg\";","module.exports = __webpack_public_path__ + \"static/media/us.dfe23289.svg\";","module.exports = __webpack_public_path__ + \"static/media/uy.513b6266.svg\";","module.exports = __webpack_public_path__ + \"static/media/uz.ca461bb1.svg\";","module.exports = __webpack_public_path__ + \"static/media/va.04b194d1.svg\";","module.exports = __webpack_public_path__ + \"static/media/vc.8661a371.svg\";","module.exports = __webpack_public_path__ + \"static/media/ve.37f8a279.svg\";","module.exports = __webpack_public_path__ + \"static/media/vg.b19b54ab.svg\";","module.exports = __webpack_public_path__ + \"static/media/vi.b19b54ab.svg\";","module.exports = __webpack_public_path__ + \"static/media/vn.a9aa6a08.svg\";","module.exports = __webpack_public_path__ + \"static/media/vu.1610dfa2.svg\";","module.exports = __webpack_public_path__ + \"static/media/wf.5d5da639.svg\";","module.exports = __webpack_public_path__ + \"static/media/ws.2d920c55.svg\";","module.exports = __webpack_public_path__ + \"static/media/ye.593b8c90.svg\";","module.exports = __webpack_public_path__ + \"static/media/yt.f8597fad.svg\";","module.exports = __webpack_public_path__ + \"static/media/za.c5e7b3a3.svg\";","module.exports = __webpack_public_path__ + \"static/media/zm.38742fa2.svg\";","module.exports = __webpack_public_path__ + \"static/media/zw.bbb9fe47.svg\";","module.exports = __webpack_public_path__ + \"static/media/zz.aa00a55e.svg\";"],"sourceRoot":""}